/* Options: Date: 2024-12-23 12:09:42 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: UserCreateRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IPost { } 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 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 UserCreateResponse { public sentVerificationEmailWithRequestId: string; public passwordScore?: number|null; public userGuid?: string|null; public referFriendAwarded?: boolean|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/signup/create_user", "POST") export class UserCreateRequest implements IReturn, IPost { public token: string; public firstName: string; public lastName: string; public sex?: Sex|null; public dateOfBirth: DateOfBirth; public email: string; public password: string; public passwordConfirmation: string; public home: HomeLocation; public acceptTermsOfService?: boolean|null; public referFriendToken?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UserCreateRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new UserCreateResponse(); } } }