You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
442 B
14 lines
442 B
import { z } from "zod";
|
|
|
|
export const flockPricingOptionsSchema = z.object({
|
|
customer_id: z.string().min(1, "请填写客户标识"),
|
|
quote_id: z.string().min(1, "请填写报价单号").max(64),
|
|
preferred_tier: z.enum(["flock_direct", "standard"], {
|
|
errorMap: () => ({ message: "请选择 FlockDirect® 或 Standard 报价档" }),
|
|
}),
|
|
});
|
|
|
|
export type FlockPricingOptionsRequest = z.infer<
|
|
typeof flockPricingOptionsSchema
|
|
>;
|