/* Options: Date: 2025-10-27 22:15:29 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendMailRequest.* //ExcludeTypes: //DefaultImports: */ // @Route("/communication/sendmail", "POST") export class SendMailRequest { /** @description Email address of sender. If it is not set the a default address will be used. */ // @ApiMember(Description="Email address of sender. If it is not set the a default address will be used.") public FromAddress: string; /** @description List of recipient email addresses */ // @ApiMember(Description="List of recipient email addresses", IsRequired=true) public Recipients: string[]; /** @description Email subject */ // @ApiMember(Description="Email subject", IsRequired=true) public Subject: string; /** @description Plain text body. Either this or HtmlBody is required */ // @ApiMember(Description="Plain text body. Either this or HtmlBody is required") public Body: string; /** @description Html body. Either this or Body is required */ // @ApiMember(Description="Html body. Either this or Body is required") public HtmlBody: string; /** @description Email attachments */ // @ApiMember(Description="Email attachments") public Attachments: string[]; /** @description Email attachments */ // @ApiMember(Description="Email attachments") public AttachmentsObject: Attachment[]; /** @description Attachment streams */ // @ApiMember(Description="Attachment streams") public AttachmentStreams: AttachmentStream[]; /** @description Template substitutions */ // @ApiMember(Description="Template substitutions") public TemplateSubstitutions: { [index:string]: string; }; /** @description Template Id */ // @ApiMember(Description="Template Id") public TemplateId: string; /** @description List of BCC email addresses */ // @ApiMember(Description="List of BCC email addresses") public Bcc: string[]; /** @description List of CC email addresses */ // @ApiMember(Description="List of CC email addresses") public Cc: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SendMailRequest'; } public getMethod() { return 'POST'; } public createResponse() {} }