""" Options: Date: 2025-05-04 22:19:45 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: RecoverPassword.* #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("/auth/recover", "POST") # @Api(Description="Reset an account's password using the token sent via email") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class RecoverPassword(IReturnVoid, IPost): """ Reset an account's password using the token sent via email """ # @ApiMember(Description="The email address being recovered") email_address: Optional[str] = None """ The email address being recovered """ # @ApiMember(Description="The token sent via email") token: Optional[str] = None """ The token sent via email """ # @ApiMember(Description="New Password") new_password: Optional[str] = None """ New Password """