/* Options: Date: 2026-02-14 09:58:18 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCreditNote.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICommandResponse { } export class InvoiceMessage { public header: Header; public invoice: InvoiceClass; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class TokenDto implements ICommandResponse { public token: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Credit Note */ // @Route("/creditNote", "POST") // @Api(Description="Credit Note") // @ApiResponse(Description="Add credit note request received", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Credit note not accepted, Confirm Sender GLN", ResponseType="typeof(System.UnauthorizedAccessException)", StatusCode=403) export class AddCreditNote implements IReturn { /** @description Credit Note model containing all of the Credit Note data */ // @ApiMember(Description="Credit Note model containing all of the Credit Note data", ParameterType="model") public creditNote: InvoiceMessage; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddCreditNote'; } public getMethod() { return 'POST'; } public createResponse() { return new TokenDto(); } }