/* Options: Date: 2025-12-06 06:18:29 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: AddDependent.* //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 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 AddDependentResponse extends ApiServiceResponse { /** @description Updated list of the user's dependents. */ // @ApiMember(Description="Updated list of the user's dependents.") public Dependents: DependentData[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/dependent", "POST") export class AddDependent extends ApiServiceRequest implements IReturn { /** @description ID Number of the primary user you wish to add a dependent onto. */ // @ApiMember(Description="ID Number of the primary user you wish to add a dependent onto.", IsRequired=true) public IdNumber: string; /** @description Data of the dependent. */ // @ApiMember(Description="Data of the dependent.", IsRequired=true) public DependentData: DependentData; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'AddDependent'; } public getMethod() { return 'POST'; } public createResponse() { return new AddDependentResponse(); } }