""" Options: Date: 2024-11-23 09:00:51 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: DeleteServicePricesMapping.* #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 class ICompany: company_id: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ServicePriceMappingResponse: # @ApiMember(Description="The company id") company_id: Optional[str] = None """ The company id """ id: Optional[str] = None # @ApiMember(Description="The price id") price_id: int = 0 """ The price id """ # @ApiMember(Description="The external reference") external_reference: Optional[str] = None """ The external reference """ # @ApiMember(Description="The Reference Type") reference_type: Optional[str] = None """ The Reference Type """ # @Route("/services/prices/mappings/{Id}", "DELETE") # @ValidateRequest(Validator="IsAuthenticated") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DeleteServicePricesMapping(IReturn[ServicePriceMappingResponse], ICompany): # @ApiMember(Description="Company to delete price for") company_id: Optional[str] = None """ Company to delete price for """ # @ApiMember(Description="Id of the service", IsRequired=true, ParameterType="path") id: Optional[str] = None """ Id of the service """