/* 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:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: UserLoginRequest.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using WebService.ClientServiceModel.Base;
using CommonService.Api.Operations.Base;
using CommonService.Api.Operations;
using WebService.ClientServiceModel.User;
using BusinessLogic.Entities;
using CommonService.Api.Models.Base;
namespace BusinessLogic.Entities
{
public enum IntegrationProviderType
{
None = 0,
EA = 1,
IlluminaHubProtectMe = 2,
MyLegalHand = 3,
AccidentAngels = 4,
EmergencyServices = 5,
MightyMobile = 6,
Pulsit = 7,
Bolt = 8,
}
}
namespace CommonService.Api.Models.Base
{
public partial class ApiServiceResponse
: IServiceResponse
{
public virtual string Description { get; set; }
public virtual string Heading { get; set; }
public virtual bool WasSuccessful { get; set; }
public virtual Object ModelState { get; set; }
}
}
namespace CommonService.Api.Operations
{
public partial interface IHasApiKey
{
string ApiKey { get; set; }
}
}
namespace CommonService.Api.Operations.Base
{
public partial interface IServiceRequest
{
}
}
namespace WebService.ClientServiceModel.Base
{
public partial class ApiServiceRequest
: IServiceRequest, IHasApiKey
{
///
///The API Key required for authentication
///
[ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)]
public virtual string ApiKey { get; set; }
}
}
namespace WebService.ClientServiceModel.User
{
public partial class DependentData
{
///
///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 virtual int DependentId { get; set; }
///
///Dependent's first name.
///
[ApiMember(Description="Dependent's first name.", IsRequired=true)]
public virtual string FirstName { get; set; }
///
///Dependent's surname.
///
[ApiMember(Description="Dependent's surname.", IsRequired=true)]
public virtual string Surname { get; set; }
///
///Dependent's mobile contact number.
///
[ApiMember(Description="Dependent's mobile contact number.", IsRequired=true)]
public virtual string MobileNumber { get; set; }
///
///Dependent's email address.
///
[ApiMember(Description="Dependent's email address.", IsRequired=true)]
public virtual string Email { get; set; }
///
///Depdendent's ID number.
///
[ApiMember(Description="Depdendent's ID number.", IsRequired=true)]
public virtual string IdNumber { get; set; }
}
[Route("/user/login", "POST")]
public partial class UserLoginRequest
: ApiServiceRequest, IReturn
{
///
///ID Number of the user to log in.
///
[ApiMember(Description="ID Number of the user to log in.", IsRequired=true)]
public virtual string IdNumber { get; set; }
}
public partial class UserLoginResponse
: ApiServiceResponse
{
public UserLoginResponse()
{
UserProductInformation = new List{};
Dependents = new List{};
}
///
///List of products the user has access to.
///
[ApiMember(Description="List of products the user has access to.")]
public virtual List UserProductInformation { get; set; }
///
///List of all dependents linked to this user.
///
[ApiMember(Description="List of all dependents linked to this user.")]
public virtual List Dependents { get; set; }
}
public partial class UserProductAttachmentData
{
public virtual string FileName { get; set; }
public virtual string MainFileUrl { get; set; }
public virtual string ThumbnailUrl { get; set; }
public virtual bool IsVideo { get; set; }
public virtual bool IsImage { get; set; }
public virtual bool IsPdf { get; set; }
}
public partial class UserProductData
{
public UserProductData()
{
Attachments = new List{};
}
public virtual IntegrationProviderType IntegrationType { get; set; }
public virtual int ProductId { get; set; }
public virtual string Name { get; set; }
public virtual string NameAfrikaans { get; set; }
public virtual string DashImageUrl { get; set; }
public virtual string ActionUrl { get; set; }
public virtual List Attachments { get; set; }
public virtual string DescriptionEng { get; set; }
public virtual string SummaryEng { get; set; }
public virtual string DescriptionAfr { get; set; }
public virtual string SummaryAfr { get; set; }
}
}