/* Options: Date: 2025-12-15 18:17:15 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: UserFindByLoginRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ClubReady.Web.Api; using ClubReady.Core.Api; using ClubReady.Core.Api.Models; using ClubReady.Identity; using ClubReady.Web.Api.Members.Model; namespace ClubReady.Core.Api { public partial class ApiDtoBase : IApiDtoBase { public virtual string ApiKey { get; set; } public virtual int? StoreId { get; set; } public virtual int? ChainId { get; set; } } public partial interface IApiDtoBase { string ApiKey { get; set; } int? StoreId { get; set; } int? ChainId { get; set; } } } namespace ClubReady.Core.Api.Models { public partial class ApiResponseBase { public virtual bool Success { get; set; } public virtual string Message { get; set; } } public partial class UserFindByLoginRequestDto : ApiDtoBase { public virtual int UserId { get; set; } public virtual string UserName { get; set; } public virtual string Password { get; set; } } public partial class UserFindByLoginResponseDto : ApiResponseBase { public virtual int? HomeStoreId { get; set; } public virtual int UserId { get; set; } } } namespace ClubReady.Identity { public enum AuthenticationResult { InvalidPassword = 0, SuccessExpired = 11, SuccessChangePassword = 12, SuccessWeakPassword = 21, Success = 31, CryptographicError = -100, Disabled = -22, Locked = -21, FailedPasswordHistory = -15, FailedWeakPassword = -12, InvalidConfirmation = -11, Error = -1, } } namespace ClubReady.Web.Api { public partial interface IApiKeyEndpoint { string ApiKey { get; set; } } public partial interface IRestrictedApiRequest : IApiKeyEndpoint { int? RestrictedId { get; set; } RestrictedResourceType RestrictedResourceType { get; set; } } public enum RestrictedResourceType { Store, Chain, User, Undefined, } } namespace ClubReady.Web.Api.Members.Model { [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 |