/* Options: Date: 2024-11-21 12:13:20 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NewsletterResendMessage.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class NewsletterLogQueryResponse { /** @description The message log id */ // @ApiMember(Description="The message log id") public Id: number; /** @description The message receiver. Either a email or a mobile phone number. */ // @ApiMember(Description="The message receiver. Either a email or a mobile phone number.") public Receiver: string; /** @description Nessage Title. */ // @ApiMember(Description="Nessage Title.") public MessageTitle: string; /** @description Nessage Body. */ // @ApiMember(Description="Nessage Body.") public MessageBody: string; /** @description When message was created. */ // @ApiMember(Description="When message was created.") public Created: string; /** @description When the message will be sent. */ // @ApiMember(Description="When the message will be sent.") public ToSendDate: string; /** @description When the message was sent. */ // @ApiMember(Description="When the message was sent.") public SentDate?: string; /** @description If Message is sent */ // @ApiMember(Description="If Message is sent") public Sent: boolean; /** @description Number of retries to send the message */ // @ApiMember(Description="Number of retries to send the message") public MessageRetries: number; /** @description Send Method. 1 = Email, 2 = SMS */ // @ApiMember(Description="Send Method. 1 = Email, 2 = SMS") public SendMethodId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/newsletter/log/{Id}/resend", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class NewsletterResendMessage implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.", ParameterType="path") public CompanyId?: string; /** @description Newsletter message Id */ // @ApiMember(DataType="int", Description="Newsletter message Id", ParameterType="path") public Id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'NewsletterResendMessage'; } public getMethod() { return 'PUT'; } public createResponse() { return new NewsletterLogQueryResponse(); } }