""" Options: Date: 2025-05-04 23:11:34 Version: 8.71 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://team.evovoice.io #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: NewBillable.* #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 # @Route("/billables", "POST") # @Api(Description="Report/create a new billable") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class NewBillable(IReturnVoid, IPost): """ Report/create a new billable """ # @ApiMember(Description="The account to associate the billable with") account_id: Optional[str] = None """ The account to associate the billable with """ # @ApiMember(Description="The customer to associate the billable with") customer_id: Optional[str] = None """ The customer to associate the billable with """ # @ApiMember(Description="The session ID to associate the billable with. You must specify either this or (AccountId + CustomerID)") session_id: Optional[str] = None """ The session ID to associate the billable with. You must specify either this or (AccountId + CustomerID) """ # @ApiMember(Description="The call SID to report") call_sid: Optional[str] = None """ The call SID to report """