(* Options: Date: 2026-06-12 23:08:49 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: GetAiChatUsage.* //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 AiChatUsageResponse() = /// ///The company the usage applies to. /// [] member val CompanyId:Guid = new Guid() with get,set /// ///Tokens consumed within the current rolling window. /// [] member val TokensUsed:Int64 = new Int64() with get,set /// ///The company's token limit for the window. /// [] member val TokenLimit:Int32 = new Int32() with get,set /// ///Tokens remaining before the limit is reached (never negative). /// [] member val TokensRemaining:Int64 = new Int64() with get,set /// ///True while the company is still below its token limit. /// [] member val IsWithinBudget:Boolean = new Boolean() with get,set /// ///Length of the rolling usage window, in days. /// [] member val WindowDays:Int32 = new Int32() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] type GetAiChatUsage() = interface IReturn /// ///The company id. Defaults to the logged-in user's company when omitted. /// [] member val CompanyId:Nullable = new Nullable() with get,set