Variable LeadSearchParamsSchemaConst
LeadSearchParamsSchema: ZodObject<
{
page: ZodDefault<ZodNumber>;
limit: ZodDefault<ZodNumber>;
search: ZodOptional<ZodString>;
status: ZodDefault<
ZodEnum<["ALL", "NEW", "CONTACTED", "QUALIFIED", "CONVERTED", "LOST"]>,
>;
source: ZodOptional<ZodString>;
isActive: ZodOptional<ZodBoolean>;
sortBy: ZodDefault<ZodString>;
sortOrder: ZodDefault<ZodEnum<["asc", "desc"]>>;
},
"strip",
ZodTypeAny,
{
page: number;
limit: number;
search?: string;
status: "CONVERTED"
| "LOST"
| "NEW"
| "ALL"
| "CONTACTED"
| "QUALIFIED";
source?: string;
isActive?: boolean;
sortBy: string;
sortOrder: "asc" | "desc";
},
{
page?: number;
limit?: number;
search?: string;
status?: "CONVERTED"
| "LOST"
| "NEW"
| "ALL"
| "CONTACTED"
| "QUALIFIED";
source?: string;
isActive?: boolean;
sortBy?: string;
sortOrder?: "asc" | "desc";
},
> = ...