Variable CreateLeadSchemaConst
CreateLeadSchema: ZodObject<
{
code: ZodOptional<ZodString>;
name: ZodString;
companyName: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
phone: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
email: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
website: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
source: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
status: ZodDefault<
ZodEnum<["NEW", "CONTACTED", "QUALIFIED", "CONVERTED", "LOST"]>,
>;
notes: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
isActive: ZodDefault<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
code?: string;
name: string;
companyName?: string;
phone?: string;
email?: string;
website?: string;
source?: string;
status: "CONVERTED"
| "LOST"
| "NEW"
| "CONTACTED"
| "QUALIFIED";
notes?: string;
isActive: boolean;
},
{
code?: string;
name: string;
companyName?: string;
phone?: string;
email?: string;
website?: string;
source?: string;
status?: "CONVERTED"
| "LOST"
| "NEW"
| "CONTACTED"
| "QUALIFIED";
notes?: string;
isActive?: boolean;
},
> = ...