/* Options: Date: 2026-01-26 18:22:06 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserLogin.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/user/login", Verbs="POST") open class UserLogin : ApiServiceRequest(), IReturn { var username:String? = null var password:String? = null var utcOffset:Int? = null companion object { private val responseType = UserLoginResponse::class.java } override fun getResponseType(): Any? = UserLogin.responseType } open class UserLoginResponse : ApiServiceResponse() { var allowAttendanceOnLaptop:Boolean? = null var profileImageUrl:String? = null var friendlyName:String? = null var systemUserId:Int? = null var username:String? = null var permissions:SystemUserPermission? = null var settings:AppSettings? = null var startLatitude:Double? = null var startLongitude:Double? = null var hasStartLocation:Boolean? = null var endLatitude:Double? = null var endLongitude:Double? = null var hasEndLocation:Boolean? = null var isSalesPerson:Boolean? = null var feelingStatusMappings:ArrayList? = null var hasAiPermissions:Boolean? = null var refreshToken:String? = null var isManagerOrPromotedTo:Boolean? = null var isTemplateApprover:Boolean? = null var outstandingApprovals:Int? = null } open class ApiServiceRequest : IServiceRequest, IHasApiKey, IHasDeviceInfo { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) var apiKey:String? = null /** * Latitude of the user making this request */ @ApiMember(DataType="double", Description="Latitude of the user making this request") var latitude:Double? = null /** * Longitude of the user making this request */ @ApiMember(DataType="double", Description="Longitude of the user making this request") var longitude:Double? = null } open interface IServiceRequest { } open interface IHasApiKey { var apiKey:String? } open interface IHasDeviceInfo { } open class SystemUserPermission { var meeting:Boolean? = null var journey:Boolean? = null var attendance:Boolean? = null var notificationCenter:Boolean? = null var internalRating:Boolean? = null var debrief:Boolean? = null var thunderBoltActions:Boolean? = null var onTheMove:Boolean? = null } open class AppSettings { var allowAbstainRatings:Boolean? = null var showMoodIndicatorOnApp:Boolean? = null var takePhotoForAnalysis:Boolean? = null } open class ApiServiceResponse : IServiceResponse { var description:String? = null var heading:String? = null var wasSuccessful:Boolean? = null var modelState:Object? = null }