/* Options: Date: 2025-12-10 20:49:16 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.dev.86degrees.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ConfirmOtp.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ApiServiceRequest implements IServiceRequest, IHasApiKey, IHasDeviceInfo, IHasClientId { /** * The API Key required for authentication */ // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) public ApiKey: string; /** * Latitude of the user making this request */ // @ApiMember(DataType="double", Description="Latitude of the user making this request") public Latitude: number; /** * Longitude of the user making this request */ // @ApiMember(DataType="double", Description="Longitude of the user making this request") public Longitude: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IServiceRequest { } export interface IHasApiKey { ApiKey: string; } export interface IHasDeviceInfo { } export interface IHasClientId { } export class DependentData { public DependentId: number; public FirstName: string; public Surname: string; public MobileNumber: string; public Email: string; public IdNumber: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Flags() export enum IntegrationProviderType { None = 0, EA = 1, IlluminaHubProtectMe = 2, MyLegalHand = 3, AccidentAngels = 4, EmergencyServices = 5, MightyMobile = 6, Pulsit = 7, Bolt = 8, } export class SystemUserProductAttachmentData { public Id: number; 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 SystemUserProductData { public IntegrationType: IntegrationProviderType; public ProductId: number; public Name: string; public NameAfrikaans: string; public PanicId: number; public UserHasProduct: boolean; public CanActivate: boolean; public Enquired: boolean; public DashImage: string; public ShowOnDash: boolean; public ActionUrl: string; public Attachments: SystemUserProductAttachmentData[]; public DescriptionEng: string; public SummaryEng: string; public DescriptionAfr: string; public SummaryAfr: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class LoginData { public SystemUserId: number; public RefreshToken: string; public FirstName: string; public IsDependent: boolean; public FullName: string; public AllProducts: SystemUserProductData[]; public UserProducts: SystemUserProductData[]; public OtherProducts: SystemUserProductData[]; public ContactNumber: string; public Dependents: DependentData[]; public UnreadMessageCount: number; public PendingFeedbackIds: number[]; 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 ConfirmOtpResponse extends ApiServiceResponse { public Data: LoginData; public MustSetPin: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class ConfirmOtp extends ApiServiceRequest implements IReturn { public SystemUserId: number; public Otp: string; public UtcOffset: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'ConfirmOtp'; } public getMethod() { return 'POST'; } public createResponse() { return new ConfirmOtpResponse(); } }