/* Options: Date: 2024-12-23 11:26:55 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://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: UserStatusRequest.* //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 ConsumerApi; namespace ConsumerApi { 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 ManagesPlacesInBusinessWeb { get; set; } public long PointsTotal { get; set; } } public enum UserStatus { LoginOrSignup, CompleteProfile, Ready, } [Route("/user/status", "GET")] public partial class UserStatusRequest : IReturn, IGet { [Validate("NotNull")] public bool? FromPwa { get; set; } } public partial class UserStatusResponse { public UserStatus Status { get; set; } public bool SuggestPwaInstallation { get; set; } public UserProfileDto? UserProfile { 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; } } }