""" Options: Date: 2025-12-15 18:43:51 Version: 6.50 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://www.clubready.com/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: UserFindByLoginRequest.* #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 RestrictedResourceType(str, Enum): STORE = 'Store' CHAIN = 'Chain' USER = 'User' UNDEFINED = 'Undefined' class IApiDtoBase: api_key: Optional[str] = None store_id: Optional[int] = None chain_id: Optional[int] = None class IRestrictedApiRequest(IApiKeyEndpoint): restricted_id: Optional[int] = None restricted_resource_type: Optional[RestrictedResourceType] = None class IApiKeyEndpoint: api_key: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ApiDtoBase(IApiDtoBase): api_key: Optional[str] = None store_id: Optional[int] = None chain_id: Optional[int] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UserFindByLoginRequestDto(ApiDtoBase): user_id: int = 0 user_name: Optional[str] = None password: Optional[str] = None class AuthenticationResult(IntEnum): INVALID_PASSWORD = 0 SUCCESS_EXPIRED = 11 SUCCESS_CHANGE_PASSWORD = 12 SUCCESS_WEAK_PASSWORD = 21 SUCCESS = 31 CRYPTOGRAPHIC_ERROR = -100 DISABLED = -22 LOCKED = -21 FAILED_PASSWORD_HISTORY = -15 FAILED_WEAK_PASSWORD = -12 INVALID_CONFIRMATION = -11 ERROR = -1 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ApiResponseBase: success: bool = False message: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UserFindByLoginResponseDto(ApiResponseBase): home_store_id: Optional[int] = None user_id: int = 0 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UserFindByLoginResponse(UserFindByLoginResponseDto): authentication_result: Optional[AuthenticationResult] = None home_store_id: Optional[int] = None user_id: int = 0 # @Route("/users/find/login-details", "GET") # @ApiResponse(Description="
AuthenticationResponse Values
\r\n| Text | Numerical |
| An error occurred (-100) | -100 |
| Account is disabled. | -11 |
| Account is locked. | -10 |
| Your password must be of sufficient length and should contain letters, numbers and special characters. | -3 |
| Invalid confirmation. | -2 |
| Invalid confirmation. | -1 |
| An error occurred. | 0 |
| Your password has expired and must be changed. | 1 |
| Your must change your password. | 2 |
| Login Successful. Please consider changing your password because it does not meet current complexity requirements | 3 |
| Login successful. | 10 |