/* Options: Date: 2025-05-06 20:27:26 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://unstable-consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: ResetPasswordRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ConsumerApi; namespace ConsumerApi { [Route("/recovery/reset_password", "POST")] public partial class ResetPasswordRequest : IReturn, IPost { [Validate("NotEmpty")] public string VerifiedToken { get; set; } [Validate("NotEmpty")] public string NewPassword { get; set; } [Validate("NotEmpty")] public string NewPasswordConfirmation { get; set; } } public partial class ResetPasswordResponse { public UserProfileDto? UserProfile { get; set; } public int? PasswordScore { get; set; } } public partial class UserProfileDto { public Locale Locale { get; set; } public Guid UserGuid { get; set; } public string? FirstName { get; set; } public string? LastName { get; set; } public string? ProfilePhotoUrl { get; set; } public string MobilePhone { get; set; } public bool MobilePhoneVerified { get; set; } public string? Email { get; set; } public bool EmailVerified { get; set; } public bool HasPassword { get; set; } public DateOfBirth DateOfBirth { get; set; } public Sex? Sex { get; set; } public HomeLocation Home { get; set; } public DistanceUnit ShowDistancesIn { get; set; } public bool LegalIdentityVerified { get; set; } public bool ManagesPlacesInBusinessWeb { get; set; } public long PointsTotal { get; set; } } public partial class DateOfBirth { public int Year { get; set; } public int Month { get; set; } public int DayOfMonth { get; set; } } public enum DistanceUnit { Kilometer, Mile, } public partial class HomeLocation { public UserAddress Address { get; set; } public float Latitude { get; set; } public float Longitude { get; set; } } public enum Locale { EnUs, NbNo, } public enum Sex { Male, Female, } public partial class UserAddress { public string StreetName { get; set; } public string StreetNumber { get; set; } public string PostalCode { get; set; } public string Region { get; set; } public string CountryCode { get; set; } } }