Skip to content

Variable: EmailTemplateTypesSchema ​

ts
const EmailTemplateTypesSchema: ZodObject<{
  emailTypes: ZodOptional<ZodArray<ZodObject<{
     active: ZodOptional<ZodBoolean>;
     batchedNotification: ZodOptional<ZodBoolean>;
     eventName: ZodOptional<ZodString>;
     html: ZodOptional<ZodBoolean>;
     id: ZodOptional<ZodNumber>;
     templateName: ZodOptional<ZodString>;
     text: ZodOptional<ZodBoolean>;
  }, ApiObjectConfig<undefined>>>>;
  userEmailAddress: ZodOptional<ZodString>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/emailTemplateTypes.ts:4