/* Options: Date: 2026-02-14 10:10:07 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: AddCustomerMaster.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICommandResponse { } export class CustomerMasterMessage { public dataSource: TransactionalParty; public dataRecipient: TransactionalParty; public customerMasterIdentification: string; public customer: CustomerMasterType[] = []; public documentStatusCode: string; public documentActionCode: string; public creationDateTime: string; public lastUpdateDateTime: string; 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 Customer Master */ // @Route("/customerMaster", "POST") // @Api(Description="Customer Master") // @ApiResponse(Description="Add customer master request received", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Customer master request not accepted, Confirm Sender GLN", ResponseType="typeof(System.UnauthorizedAccessException)", StatusCode=403) export class AddCustomerMaster implements IReturn { /** @description Customer Master model containing all of the Customer Master data */ // @ApiMember(Description="Customer Master model containing all of the Customer Master data", ParameterType="model") public customerMaster: CustomerMasterMessage; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddCustomerMaster'; } public getMethod() { return 'POST'; } public createResponse() { return new TokenDto(); } }