(* Options: Date: 2026-10-14 20:31:41 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: EndAllLicenses.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.Net open System.Net.Http.Headers [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type Currency() = inherit BaseModel() [] member val Name:String = null with get,set [] member val CurrencySign:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type Country() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val Name:String = null with get,set member val Culture:String = null with get,set member val TimeZone:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type LicenseItemsResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val AllowedItems:Int32 = new Int32() with get,set [] type LicensePriceResponse() = member val LicenseTypeId:Int32 = new Int32() with get,set member val CountryId:String = null with get,set member val Price:Int32 = new Int32() with get,set member val Country:Country = null with get,set member val LicensePlanId:Int32 = new Int32() with get,set [] type LicenseTypeQueryResponse() = /// ///The license type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The license type name /// [] member val Name:String = null with get,set /// ///The license type description /// [] member val Description:String = null with get,set /// ///If the license type is not a standard license but instead an extra license option. An example would be sending newsletter license. /// [] member val IsExtraLicenseOption:Boolean = new Boolean() with get,set /// ///The period of notice for the license in days. /// [] member val PeriodOfNoticeDays:Int32 = new Int32() with get,set /// ///The license items for the license type /// [] member val Items:ResizeArray = null with get,set /// ///The license prices in each country for the license type /// [] member val Prices:ResizeArray = null with get,set [] type ProductGroupResponse() = member val Id:Guid = new Guid() with get,set member val Name:String = null with get,set member val TierId:Guid = new Guid() with get,set [] type TierResponse() = member val Id:Guid = new Guid() with get,set member val Name:String = null with get,set member val ProductGroups:ResizeArray = null with get,set [] type VossSubscriptionResponse() = member val SubscriptionBillingPeriodStartDate:DateTime = new DateTime() with get,set member val SubscriptionBillingPeriodEndDate:DateTime = new DateTime() with get,set member val BindingPeriodEndDate:Nullable = new Nullable() with get,set member val Tier:TierResponse = null with get,set [] type CompanyLicenseQueryResponse() = member val Id:Int32 = new Int32() with get,set member val TypeId:Int32 = new Int32() with get,set member val Type:LicenseTypeQueryResponse = null with get,set member val ValidFrom:DateTime = new DateTime() with get,set member val ValidTo:DateTime = new DateTime() with get,set member val VossSubscriptionId:Nullable = new Nullable() with get,set member val VossSubscription:VossSubscriptionResponse = null with get,set member val MetaData:String = null with get,set member val Active:Boolean = new Boolean() with get,set member val LicenseStatus:String = null with get,set member val Canceled:Boolean = new Boolean() with get,set member val LicensePlanId:Nullable = new Nullable() with get,set member val Updated:DateTime = new DateTime() with get,set member val Created:DateTime = new DateTime() with get,set [] [] [] [] type EndAllLicenses() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///If true, all licenses and the booking system are terminated today. If false (default), the licenses stay active and are billed until the end of the current billing period, and each license's ValidTo is set to that date. /// [] member val Deactivate:Boolean = new Boolean() with get,set /// ///Questionaire with answers from customer why ending license. /// [] member val Questionnaire:Questionnaire[] = null with get,set