/* Options: Date: 2026-05-19 09:52:04 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateSellOut.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CreateSellOutResponse { /** @description Unique Identifier of the Sell-out item created in Booster */ // @ApiMember(Description="Unique Identifier of the Sell-out item created in Booster") public saleDetailId?: number; /** @description Unique Identifiers of the Sell-out items created in Booster if more than one */ // @ApiMember(Description="Unique Identifiers of the Sell-out items created in Booster if more than one") public saleDetailIds: number[]; /** @description Unique Identifier of the Sell-out header created in Booster */ // @ApiMember(Description="Unique Identifier of the Sell-out header created in Booster", IsRequired=true) public saleId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/warranty", "POST") export class CreateSellOut implements IReturn { /** @description Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided */ // @ApiMember(Description="Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided") public brand: string; /** @description Richemont POS code */ // @ApiMember(Description="Richemont POS code", IsRequired=true) public posCode: string; /** @description Receipt or Invoice Number */ // @ApiMember(Description="Receipt or Invoice Number") public documentNumber: string; /** @description Date of the Sell-out */ // @ApiMember(Description="Date of the Sell-out", IsRequired=true) public documentDate: string; /** @description Position Number */ // @ApiMember(Description="Position Number") public documentLineNumber?: number; /** @description Richemont Reference Code of the item */ // @ApiMember(Description="Richemont Reference Code of the item", IsRequired=true) public articleCode: string; /** @description Serial Number of the item */ // @ApiMember(Description="Serial Number of the item") public serialNumber: string; /** @description Use positive for standard Sell-out and negative quantity for return */ // @ApiMember(Description="Use positive for standard Sell-out and negative quantity for return", IsRequired=true) public quantity: number; /** @description Sold Price */ // @ApiMember(Description="Sold Price") public unitPrice?: number; /** @description Currency of the sold price */ // @ApiMember(Description="Currency of the sold price") public currencyCode: string; /** @description Booster Customer Id */ // @ApiMember(Description="Booster Customer Id") public boosterCustomerId?: number; /** @description Sale Representative Email e.g. rauf.aliyev@richemont.com */ // @ApiMember(Description="Sale Representative Email e.g. rauf.aliyev@richemont.com") public saleRepresentativeEmails: string[]; /** @description Promoter Type ID, e.g. DAI, FIT, GRT */ // @ApiMember(Description="Promoter Type ID, e.g. DAI, FIT, GRT") public promoterTypeId: string; /** @description Return Reason ID, e.g ADM, CLR, EXC, DEF, OTH */ // @ApiMember(Description="Return Reason ID, e.g ADM, CLR, EXC, DEF, OTH") public returnReasonId: string; /** @description Sale related comments */ // @ApiMember(Description="Sale related comments") public comments: string; /** @description Original Sale Detail Id */ // @ApiMember(Description="Original Sale Detail Id") public originalSaleDetailId?: number; /** @description To have the piece back in stock as consignment in case of consignment sellout return */ // @ApiMember(Description="To have the piece back in stock as consignment in case of consignment sellout return") public consSelloutReturnInStock?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreateSellOut'; } public getMethod() { return 'POST'; } public createResponse() { return new CreateSellOutResponse(); } }