Variable sendEmailInputSchemaConst
sendEmailInputSchema: ZodObject<
{
attachments: ZodOptional<
ZodArray<
ZodUnion<
readonly [
ZodObject<
{
content: ZodString;
contentType: ZodString;
filename: ZodString;
size: ZodOptional<ZodNumber>;
},
$strip,
>,
ZodObject<
{
disk: ZodOptional<ZodString>;
filename: ZodString;
storageKey: ZodString;
},
$strip,
>,
],
>,
>,
>;
bcc: ZodOptional<ZodArray<ZodString>>;
cc: ZodOptional<ZodArray<ZodString>>;
from: ZodOptional<
ZodObject<{ email: ZodString; name: ZodOptional<ZodString> }, $strip>,
>;
html: ZodOptional<ZodString>;
metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
replyTo: ZodOptional<ZodString>;
subject: ZodString;
text: ZodOptional<ZodString>;
to: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
},
$strip,
> = ...
Send Email Input Schema
Input schema for sending emails through the EmailService. Extends the base email message with optional metadata. Uses safeExtend() because emailMessageSchema contains refinements.