""" Options: Date: 2025-05-04 22:17:43 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: GetUniqueEndpointValue.* #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 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetUniqueEndpointValueResponse: value: Optional[str] = None # @Route("/values/endpoint/unique", "GET") # @Api(Description="Get a unique number string value for an endpoint field") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetUniqueEndpointValue(IReturn[GetUniqueEndpointValueResponse]): """ Get a unique number string value for an endpoint field """ # @ApiMember(Description="The account ID you are interested in") account_id: Optional[str] = None """ The account ID you are interested in """ # @ApiMember(Description="The endpoint field you want a unique value for") field_name: Optional[str] = None """ The endpoint field you want a unique value for """ # @ApiMember(Description="The prefix to use for the value") prefix: Optional[str] = None """ The prefix to use for the value """ # @ApiMember(Description="The length of the value") length: int = 0 """ The length of the value """