(* Options: Date: 2024-12-03 17:56:48 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: StatisticQuery.* //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 [] type ICompany = abstract CompanyId:Nullable with get,set [] type BookedByDay() = member val Date:DateTime = new DateTime() with get,set member val Value:Int32 = new Int32() with get,set [] type StatisticQueryResponse() = member val NumberOfOccuringBookings:Int32 = new Int32() with get,set member val NumberOfCanceledBookings:Int32 = new Int32() with get,set member val NumberOfCreatedBookings:Int32 = new Int32() with get,set member val NumberOfCreatedCustomers:Int32 = new Int32() with get,set member val OccuringBookingsByDay:ResizeArray = new ResizeArray() with get,set member val CanceledBookingsByDay:ResizeArray = new ResizeArray() with get,set member val CreatedBookingsByDay:ResizeArray = new ResizeArray() with get,set member val CreatedCustomersByDay:ResizeArray = new ResizeArray() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] [] type StatisticQuery() = interface IReturn /// ///Enter the company id, if blank company id and you are an admin, your company id will be used. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Start of interval to get bookings and customers /// [] [] member val From:DateTime = new DateTime() with get,set /// ///End of interval to get bookings and customers /// [] member val To:DateTime = new DateTime() with get,set /// ///Set true if you want to include booked events by day /// [] member val IncludeOccuringBookingsByDay:Boolean = new Boolean() with get,set /// ///Set true if you want to include canceled booked events by day /// [] member val IncludeBookingsCanceledByDay:Boolean = new Boolean() with get,set /// ///Set true if you want to include booking created by day /// [] member val IncludeCreatedBookingsByDay:Boolean = new Boolean() with get,set /// ///Set true if you want to include customers created by day /// [] member val IncludeCreatedCustomersByDay:Boolean = new Boolean() with get,set