/* Options: Date: 2024-12-23 11:22:16 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: ProfileGetRequest.* //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 class ProfileGetResponse { public userProfile: UserProfileDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/profile", "GET") export class ProfileGetRequest implements IReturn, IGet { public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ProfileGetRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new ProfileGetResponse(); } } }