/* Options: Date: 2024-12-23 11:21:34 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserStatusRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export class DateOfBirth { public year?: number|null; public month?: number|null; public dayOfMonth?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum Sex { Male = 'Male', Female = 'Female', } export enum DistanceUnit { Kilometer = 'Kilometer', Mile = 'Mile', } export enum Locale { EnUs = 'EnUs', NbNo = 'NbNo', } export class UserAddress { public streetName: string; public streetNumber: string; public postalCode: string; public region: string; public countryCode: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class HomeLocation { public address: UserAddress; public latitude?: number|null; public longitude?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UserProfileDto { public locale?: Locale|null; public userGuid?: string|null; public firstName?: string|null; public lastName?: string|null; public profilePhotoUrl?: string|null; public mobilePhone: string; public mobilePhoneVerified?: boolean|null; public email?: string|null; public emailVerified?: boolean|null; public hasPassword?: boolean|null; public dateOfBirth: DateOfBirth; public sex?: Sex|null; public home: HomeLocation; public showDistancesIn?: DistanceUnit|null; public managesPlacesInBusinessWeb?: boolean|null; public pointsTotal?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum UserStatus { LoginOrSignup = 'LoginOrSignup', CompleteProfile = 'CompleteProfile', Ready = 'Ready', } export class UserStatusResponse { public status?: UserStatus|null; public suggestPwaInstallation?: boolean|null; public userProfile?: UserProfileDto|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/user/status", "GET") export class UserStatusRequest implements IReturn, IGet { // @Validate(Validator="NotNull") public fromPwa: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UserStatusRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new UserStatusResponse(); } } }