(* Options: Date: 2024-11-21 11:29:50 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: CollidingBookingQuery.* //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 BookingStatusEnum = | Booked = 1 | Unbooked = 2 | Reserved = 3 | Canceled = 4 | AwaitingPayment = 5 | AwaitingPaymentNoTimeLimit = 6 | Payed = 7 | AwaitingPaymentRequestFromAdmin = 8 | AwaitingPaymentFromProvider = 9 | Invoiced = 10 [] type GroupBookingSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type MultipleResourceSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type ServiceInfoResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val ImageUrl:Uri = null with get,set member val LengthInMinutes:Nullable = new Nullable() with get,set member val MaxNumberOfSpotsPerBooking:Int32 = new Int32() with get,set member val MinNumberOfSpotsPerBooking:Int32 = new Int32() with get,set member val GroupBooking:GroupBookingSettings = null with get,set member val MultipleResource:MultipleResourceSettings = null with get,set member val IsGroupBooking:Boolean = new Boolean() with get,set member val IsPaymentEnabled:Boolean = new Boolean() with get,set [] type BookedCustomer() = 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 Phone:String = null with get,set member val FacebookUserName:String = null with get,set member val ImageUrl:String = null with get,set member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] type BookingIntervalResponse() = member val Id:Int32 = new Int32() with get,set member val CompanyId:Guid = new Guid() with get,set member val From:DateTime = new DateTime() with get,set member val To:DateTime = new DateTime() with get,set member val Status:BookingStatusEnum = new BookingStatusEnum() with get,set member val StatusId:Int32 = new Int32() with get,set member val StatusName:String = null with get,set member val Customer:BookedCustomer = null with get,set member val Service:ServiceInfoResponse = null with get,set member val CreatedDate:DateTime = new DateTime() with get,set [] type CollidingBookingQueryResponse() = /// ///Resource id of the resource that owns this exception /// [] member val ResourceIds:Int32[] = [||] with get,set /// ///A list of bookings that would collide with the time exception /// [] member val Bookings:ResizeArray = new ResizeArray() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] [] [] type CollidingBookingQuery() = 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 /// ///Resource ids of the resource that should be matched against booked events /// [] member val ResourceIds:Int32[] = [||] with get,set /// ///Time exception starting date /// [] member val From:DateTime = new DateTime() with get,set /// ///Time exception ending date /// [] member val To:DateTime = new DateTime() with get,set /// ///This value indicates the time of day when the time exception begins. Example: 10:00. If Recurring this will be the startime for each recurring day. /// [] member val FromTime:TimeSpan = new TimeSpan() with get,set /// ///This value indicates the time of day when the time exception ends. Example: 12:00. If Recurring this will be the endtime for each recurring day. /// [] member val ToTime:TimeSpan = new TimeSpan() with get,set /// ///A comma separated list of which days this day exception belongs to, 1 = Monday .. 7 = Sunday /// [] member val DaysOfWeek:Int32[] = [||] with get,set /// ///If you want to include the service information for the booking /// [] member val IncludeServiceInformation:Boolean = new Boolean() with get,set /// ///If you want to include the customer information for the booking /// [] member val IncludeCustomerInformation:Boolean = new Boolean() with get,set