/* Options: Date: 2026-01-20 17:59:30 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.client.prod.86degrees.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserLoginRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ApiServiceRequest implements IServiceRequest, IHasApiKey { /** @description The API Key required for authentication */ // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) public ApiKey: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IServiceRequest { } export interface IHasApiKey { ApiKey: string; } export class DependentData { /** @description Dependent's Galaxy Id used for referring to or deleting. */ // @ApiMember(Description="Dependent's Galaxy Id used for referring to or deleting.", IsRequired=true) public DependentId: number; /** @description Dependent's first name. */ // @ApiMember(Description="Dependent's first name.", IsRequired=true) public FirstName: string; /** @description Dependent's surname. */ // @ApiMember(Description="Dependent's surname.", IsRequired=true) public Surname: string; /** @description Dependent's mobile contact number. */ // @ApiMember(Description="Dependent's mobile contact number.", IsRequired=true) public MobileNumber: string; /** @description Dependent's email address. */ // @ApiMember(Description="Dependent's email address.", IsRequired=true) public Email: string; /** @description Depdendent's ID number. */ // @ApiMember(Description="Depdendent's ID number.", IsRequired=true) public IdNumber: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum IntegrationProviderType { None = 0, EA = 1, IlluminaHubProtectMe = 2, MyLegalHand = 3, AccidentAngels = 4, EmergencyServices = 5, MightyMobile = 6, Pulsit = 7, Bolt = 8, } export class UserProductAttachmentData { public FileName: string; public MainFileUrl: string; public ThumbnailUrl: string; public IsVideo: boolean; public IsImage: boolean; public IsPdf: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UserProductData { public IntegrationType: IntegrationProviderType; public ProductId: number; public Name: string; public NameAfrikaans: string; public DashImageUrl: string; public ActionUrl: string; public Attachments: UserProductAttachmentData[]; public DescriptionEng: string; public SummaryEng: string; public DescriptionAfr: string; public SummaryAfr: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ApiServiceResponse implements IServiceResponse { public Description: string; public Heading: string; public WasSuccessful: boolean; public ModelState: Object; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UserLoginResponse extends ApiServiceResponse { /** @description List of products the user has access to. */ // @ApiMember(Description="List of products the user has access to.") public UserProductInformation: UserProductData[]; /** @description List of all dependents linked to this user. */ // @ApiMember(Description="List of all dependents linked to this user.") public Dependents: DependentData[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/user/login", "POST") export class UserLoginRequest extends ApiServiceRequest implements IReturn { /** @description ID Number of the user to log in. */ // @ApiMember(Description="ID Number of the user to log in.", IsRequired=true) public IdNumber: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'UserLoginRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new UserLoginResponse(); } }