""" Options: Date: 2026-10-22 05:40:21 Version: 10.08 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://dev-api-booster.richemont.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: PatchSellout.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum Object = TypeVar('Object') @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SaleItem: # @ApiMember(Description="Unique Identifier of the Sell-out item created in Booster", IsRequired=true) sale_detail_id: int = 0 """ Unique Identifier of the Sell-out item created in Booster """ # @ApiMember(Description="Sold Price to the end-client") unit_price: Optional[Decimal] = None """ Sold Price to the end-client """ # @ApiMember(Description="Currency of the sold price to the end-client") currency_code: Optional[str] = None """ Currency of the sold price to the end-client """ @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class PatchSelloutResponse: pass # @Route("/warranty/{saleId}", "PATCH") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class PatchSellout(IReturn[PatchSelloutResponse]): # @ApiMember(Description="Unique Identifier of the Sell-out created in Booster", IsRequired=true) sale_id: int = 0 """ Unique Identifier of the Sell-out created in Booster """ # @ApiMember(Description="Emails of Sale Representatives") sale_representative_emails: Optional[List[str]] = None """ Emails of Sale Representatives """ # @ApiMember(Description="Promoter Type ID") promoter_type_id: Optional[str] = None """ Promoter Type ID """ # @ApiMember(Description="Items list of the sale") sale_items: Optional[List[SaleItem]] = None """ Items list of the sale """