Variable CreateMeetingSchemaConst
CreateMeetingSchema: ZodObject<
{
mainClientId: ZodString;
salespersonId: ZodString;
meetingDate: ZodUnion<[ZodString, ZodDate]>;
meetingType: ZodEnum<
["SUR_SITE_CLIENT", "VIDEO_CONFERENCE", "TELEPHONE", "SALON"],
>;
meetingLocation: ZodOptional<ZodString>;
context: ZodOptional<ZodString>;
subjectsDiscussed: ZodOptional<ZodString>;
comments: ZodOptional<ZodString>;
nextSteps: ZodOptional<ZodString>;
sentiment: ZodOptional<ZodEnum<["positive", "neutral", "risk"]>>;
visitedCompanyIds: ZodOptional<ZodArray<ZodString, "many">>;
participants: ZodOptional<
ZodArray<
ZodObject<
{
userId: ZodOptional<ZodString>;
firstName: ZodOptional<ZodString>;
lastName: ZodOptional<ZodString>;
email: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>;
function: ZodOptional<ZodString>;
company: ZodOptional<ZodString>;
participantType: ZodEnum<["INTERNAL", "EXTERNAL"]>;
},
"strip",
ZodTypeAny,
{
userId?: string;
firstName?: string;
lastName?: string;
email?: string;
function?: string;
company?: string;
participantType: "INTERNAL"
| "EXTERNAL";
},
{
userId?: string;
firstName?: string;
lastName?: string;
email?: string;
function?: string;
company?: string;
participantType: "INTERNAL"
| "EXTERNAL";
},
>,
"many",
>,
>;
reportRecipientIds: ZodOptional<ZodArray<ZodString, "many">>;
},
"strip",
ZodTypeAny,
{
mainClientId: string;
salespersonId: string;
meetingDate: string
| Date;
meetingType:
| "SUR_SITE_CLIENT"
| "VIDEO_CONFERENCE"
| "TELEPHONE"
| "SALON";
meetingLocation?: string;
context?: string;
subjectsDiscussed?: string;
comments?: string;
nextSteps?: string;
sentiment?: "positive"
| "neutral"
| "risk";
visitedCompanyIds?: string[];
participants?: {
userId?: string;
firstName?: string;
lastName?: string;
email?: string;
function?: string;
company?: string;
participantType: "INTERNAL" | "EXTERNAL";
}[];
reportRecipientIds?: string[];
},
{
mainClientId: string;
salespersonId: string;
meetingDate: string
| Date;
meetingType:
| "SUR_SITE_CLIENT"
| "VIDEO_CONFERENCE"
| "TELEPHONE"
| "SALON";
meetingLocation?: string;
context?: string;
subjectsDiscussed?: string;
comments?: string;
nextSteps?: string;
sentiment?: "positive"
| "neutral"
| "risk";
visitedCompanyIds?: string[];
participants?: {
userId?: string;
firstName?: string;
lastName?: string;
email?: string;
function?: string;
company?: string;
participantType: "INTERNAL" | "EXTERNAL";
}[];
reportRecipientIds?: string[];
},
> = ...