createMarketingEmailSchema: ZodObject<{
    body: ZodObject<{
        allUsers: ZodOptional<ZodBoolean>;
        html: ZodString;
        specificUsers: ZodOptional<ZodArray<ZodString, "many">>;
        subject: ZodString;
    }, "strip", ZodTypeAny, {
        allUsers: undefined | boolean;
        html: string;
        specificUsers: undefined | string[];
        subject: string;
    }, {
        allUsers: undefined | boolean;
        html: string;
        specificUsers: undefined | string[];
        subject: string;
    }>;
}, "strip", ZodTypeAny, {
    body: { specificUsers?: string[] | undefined; allUsers?: boolean | undefined; subject: string; html: string; };
}, {
    body: { specificUsers?: string[] | undefined; allUsers?: boolean | undefined; subject: string; html: string; };
}> = ...

This schema is used to validate POST /marketing request

Author

tharun634, aayushchugh

Generated using TypeDoc