/* Options: Date: 2024-11-21 21:34:07 SwiftVersion: 5.0 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: PreviewHtmlEmail.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/emails/order-confirmation/preview") public class PreviewHtmlEmail : IReturn, Codable { public typealias Return = PreviewHtmlEmailResponse public var emailTemplate:String public var htmlTemplate:String public var previewCustomerId:String required public init(){} } public class PreviewHtmlEmailResponse : Codable { public var htmlEmail:String public var textEmail:String required public init(){} }