(* Options: Date: 2024-11-21 13:21:39 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: UpdateUser.* //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 KeyCloakRealm = | BookMore = 1 | BookMoreAdmin = 2 | SuperAdmin = 3 [] type UpdateCustomerProfile() = 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 [] type UpdateAdminProfile() = 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 [] type UserProfileResponse() = 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 [] type AdminProfile() = member val CompanyId:Guid = new Guid() with get,set 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 Email:String = null with get,set member val WorkerId:String = null with get,set member val Phone:String = null with get,set [] type UpdateUserResponse() = member val ResponseStatus:Object = null with get,set /// ///The user id for your profile. /// [] member val UserId:Nullable = new Nullable() with get,set member val UserProfile:UserProfileResponse = null with get,set member val AdminProfile:AdminProfile = null with get,set member val IsSentConfirmationUpdateEmail:Nullable = new Nullable() with get,set [] [] [] [] [] type UpdateUser() = interface IReturn /// ///The user id for your profile. /// [] member val UserId:Nullable = new Nullable() with get,set member val NewEmail:String = null with get,set member val UserProfile:UpdateCustomerProfile = null with get,set member val AdminProfile:UpdateAdminProfile = null with get,set /// ///The user realm for identity server. BookMore = 1, BookMoreAdmin = 2 /// [] member val Realm:KeyCloakRealm = new KeyCloakRealm() with get,set