(* Options: Date: 2026-06-13 00:58:52 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CreateApiKey.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos 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 ApiKeyResponse() = /// ///The company the API key belongs to /// [] member val CompanyId:Guid = new Guid() with get,set /// ///The API key value to send in the x-api-key header /// [] member val ApiKey:Guid = new Guid() with get,set /// ///Whether the key is active /// [] member val Active:Boolean = new Boolean() with get,set /// ///When the key was created /// [] member val CreatedDate:DateTime = new DateTime() with get,set /// ///When the key expires, if ever /// [] member val ExpiryDate:Nullable = new Nullable() with get,set /// ///Contact email registered for the key /// [] member val ContactEmail:String = null with get,set /// ///Free text notes for the key /// [] member val Notes:String = null with get,set /// ///Comma separated list of IP addresses the key is restricted to, if any /// [] member val AllowedIpAddresses:String = null with get,set [] [] [] [] type CreateApiKey() = interface IReturn /// ///The company to create the API key for. Defaults to the logged in user's company. Only a SuperAdmin may specify a company other than their own; for other roles this value is ignored. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Optional contact email to register for the key. Defaults to the logged in user's email. /// [] member val ContactEmail:String = null with get,set /// ///Optional free text note for the key. /// [] member val Notes:String = null with get,set