(* Options: Date: 2024-12-03 18:08:40 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: SuperAdminUpdateCompanyUser.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type AddCompanyUserRolesResponse() = member val RoleId:Guid = new Guid() with get,set [] type CompanyUserRolesQueryResponse() = member val RoleId:Guid = new Guid() with get,set member val Name:String = null with get,set member val Description:String = null with get,set [] type CompanyUserResource() = /// ///The resource id /// [] member val Id:Int32 = new Int32() with get,set /// ///The resource name /// [] member val Name:String = null with get,set /// ///The resource status /// [] member val Active:Boolean = new Boolean() with get,set /// ///The resource description /// [] member val Description:String = null with get,set /// ///The resource email /// [] member val Email:String = null with get,set /// ///The resource phone /// [] member val Phone:String = null with get,set /// ///The resource color /// [] member val Color:String = null with get,set /// ///The resource image /// [] member val ImageUrl:Uri = null with get,set /// ///If the resource want to receive email notifications /// [] member val EmailNotification:Boolean = new Boolean() with get,set /// ///If the resource want to receive sms notifications /// [] member val SMSNotification:Boolean = new Boolean() with get,set /// ///If the resource want to receive email reminders /// [] member val EmailReminder:Boolean = new Boolean() with get,set /// ///If the resource want to receive sms reminders /// [] member val SMSReminder:Boolean = new Boolean() with get,set [] type CompanyUserQueryResponse() = member val Id:Guid = new Guid() with get,set member val CompanyId:Guid = new Guid() with get,set member val Firstname:String = null with get,set member val Lastname:String = null with get,set member val Email:String = null with get,set member val Phone:String = null with get,set member val WorkerId:String = null with get,set member val ResourceId:Nullable = new Nullable() with get,set /// ///The resource information connected to the administrator. /// [] member val Resource:CompanyUserResource = null with get,set /// ///The roles that are connected to the administrator. /// [] member val Roles:ResizeArray = new ResizeArray() with get,set member val Active:Boolean = new Boolean() with get,set member val Created:DateTime = new DateTime() with get,set member val Updated:DateTime = new DateTime() with get,set [] [] [] [] type SuperAdminUpdateCompanyUser() = interface IReturn /// ///Enter the company and id for the application user, if blank company id and you are an admin, your company id will be used. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Enter the user id for the administrator. /// [] member val Id:Guid = new Guid() with get,set [] member val Firstname:String = null with get,set [] member val Lastname:String = null with get,set [] member val Phone:String = null with get,set [] member val Email:String = null with get,set [] member val ResourceId:Nullable = new Nullable() with get,set [] member val Roles:ResizeArray = new ResizeArray() with get,set [] member val WorkerId:Nullable = new Nullable() with get,set