/* Options: Date: 2025-09-13 22:48:01 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteServiceRecurringSchedule.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/services/{Id}/recurringschedules/{RecurringScheduleId}", Verbs="DELETE") @ValidateRequest(Validator="IsAuthenticated") open class DeleteServiceRecurringSchedule : IReturn, ICompany { /** * Delete a schedules connected to service. */ @ApiMember(Description="Delete a schedules connected to service.") override var CompanyId:UUID? = null /** * Id of the service */ @ApiMember(Description="Id of the service", IsRequired=true, ParameterType="path") open var Id:Int? = null /** * Ids of Recurring schedules of the service to remove */ @ApiMember(Description="Ids of Recurring schedules of the service to remove", IsRequired=true, ParameterType="path") open var RecurringScheduleId:Int? = null companion object { private val responseType = ServiceQueryResponse::class.java } override fun getResponseType(): Any? = DeleteServiceRecurringSchedule.responseType } open class ServiceQueryResponse { open var Id:Int? = null open var Name:String? = null open var Description:String? = null open var ImageUrl:Uri? = null open var TotalSpots:Int? = null /** * If this setting is turned on the remaining spots (if Totalspots > 1) is locked from be booked by another customer. */ @ApiMember(Description="If this setting is turned on the remaining spots (if Totalspots > 1) is locked from be booked by another customer.") open var LockSpotsToBooking:Boolean? = null open var MinNumberOfSpotsPerBooking:Int? = null open var MaxNumberOfSpotsPerBooking:Int? = null open var MinNumberOfResourcesToBook:Int? = null open var MaxNumberOfResourcesToBook:Int? = null open var UnbookBeforeDays:Int? = null open var UnbookBeforeHours:Int? = null open var UnbookBeforeMinutes:Int? = null /** * What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2 */ @ApiMember(Description="What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2") open var ScheduleType:ScheduleType? = null /** * What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2 */ @ApiMember(Description="What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2") open var ScheduleTypeId:Int? = null open var BookBeforeDays:Int? = null open var BookBeforeHours:Int? = null open var BookBeforeMinutes:Int? = null open var Group:String? = null open var EnableBookingQueue:Boolean? = null open var EnableCodeLockSync:Boolean? = null open var EnableCustomerManualPayment:Boolean? = null open var SortOrder:Int? = null open var Active:Boolean? = null open var IsGroupBooking:Boolean? = null open var GroupBooking:GroupBookingSettings? = null open var MultipleResource:MultipleResourceSettings? = null open var IsPaymentEnabled:Boolean? = null /** * Maximum numbers of minutes the booking payment must be completed before automatically unbooked */ @ApiMember(Description="Maximum numbers of minutes the booking payment must be completed before automatically unbooked") open var MaxPaymentTime:Int? = null /** * If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked. */ @ApiMember(Description="If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.") open var BookingStatusId:Int? = null open var OnlyVisibleByAdmin:Boolean? = null open var LengthInMinutes:Int? = null open var DurationTypeId:Int? = null open var Duration:Int? = null open var MinDuration:Int? = null open var MaxDuration:Int? = null open var DurationInterval:Int? = null open var PauseAfterBooking:Int? = null open var CustomFields:ArrayList? = null open var CustomFieldValues:ArrayList? = null open var BookingCustomFields:ArrayList? = null open var CustomerCustomFields:ArrayList? = null /** * The booking status options to choose from */ @ApiMember(Description="The booking status options to choose from") open var BookingStatusOptions:ArrayList? = null open var Prices:ArrayList? = null open var Schedules:ServiceSchedules? = null open var RatingSummary:CompanyRatingSummary? = null open var Reviews:ArrayList? = null open var ResourceTypes:ArrayList? = null open var ResponseStatus:ResponseStatus? = null open var PriceViewTypeId:Int? = null } interface ICompany { var CompanyId:UUID? } enum class BookingStatusEnum(val value:Int) { Booked(1), Unbooked(2), Reserved(3), Canceled(4), AwaitingPayment(5), AwaitingPaymentNoTimeLimit(6), Payed(7), AwaitingPaymentRequestFromAdmin(8), AwaitingPaymentFromProvider(9), Invoiced(10), } interface IInterval { var From:Date? var To:Date? } open class CustomFieldConfig : BaseModel() { @Ignore() open var Values:ArrayList? = null open var CustomField:CustomField? = null @Ignore() open var RegEx:RegEx? = null @Ignore() open var Services:ArrayList? = null open var CustomFieldServiceRelation:ArrayList? = null @Required() open var CompanyId:UUID? = null open var Id:Int? = null open var GroupId:Int? = null @Required() open var FieldId:Int? = null @Required() open var IconId:Int? = null open var RegExId:Int? = null @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Datatype:String? = null @Required() open var MaxLength:Int? = null @Required() open var IsPublic:Boolean? = null @Required() open var IsHidden:Boolean? = null @Required() open var IsMandatory:Boolean? = null open var DefaultValue:String? = null open var RegExErrorMessage:String? = null open var MandatoryErrorMessage:String? = null open var Width:Int? = null @Required() open var MultipleLineText:Boolean? = null open var ModifiedDate:Date? = null } open class RatingReviewResponse { /** * The title for the review */ @ApiMember(Description="The title for the review") open var Title:String? = null /** * The description for the review */ @ApiMember(Description="The description for the review") open var Description:String? = null /** * The rating score */ @ApiMember(Description="The rating score") open var RatingScore:Int? = null /** * The review author */ @ApiMember(Description="The review author") open var Author:String? = null /** * The created date */ @ApiMember(Description="The created date") open var Created:Date? = null /** * The review answer from the company */ @ApiMember(Description="The review answer from the company") open var ReviewAnswer:String? = null } open class Resource : BaseModel(), ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated { @Ignore() open var Priority:Int? = null @Ignore() open var Schedules:IList? = null @Ignore() open var Exceptions:IList? = null @Ignore() open var Bookings:IList? = null @Ignore() override var CustomFieldsConfig:IList? = null @Ignore() override var CustomFieldsData:IList? = null @Required() open var CompanyId:UUID? = null open var Id:Int? = null @Required() open var Name:String? = null @Required() open var Active:Boolean? = null open var Description:String? = null open var ImageUrl:String? = null @Required() override var UpdatedDate:Date? = null @Required() override var CreatedDate:Date? = null @Required() open var Color:String? = null open var Email:String? = null open var MobilePhone:String? = null open var EmailNotification:Boolean? = null open var SMSNotification:Boolean? = null @Required() open var SendSMSReminder:Boolean? = null @Required() open var SendEmailReminder:Boolean? = null open var ModifiedDate:Date? = null open var AccessGroup:String? = null override var TextField1:String? = null override var TextField2:String? = null override var TextField3:String? = null override var TextField4:String? = null override var TextField5:String? = null override var TextField6:String? = null override var TextField7:String? = null override var TextField8:String? = null override var TextField9:String? = null override var TextField10:String? = null override var TextField11:String? = null override var TextField12:String? = null override var TextField13:String? = null override var TextField14:String? = null override var TextField15:String? = null override var TextField16:String? = null override var TextField17:String? = null override var TextField18:String? = null override var TextField19:String? = null override var TextField20:String? = null } open class GroupBookingSettings { open var Active:Boolean? = null open var Min:Int? = null open var Max:Int? = null } open class MultipleResourceSettings { open var Active:Boolean? = null open var Min:Int? = null open var Max:Int? = null } open class CustomFieldConfigData { /** * Custom field id */ @ApiMember(Description="Custom field id") open var Id:Int? = null /** * Configuration name. Example: 'Number of persons'. */ @ApiMember(Description="Configuration name. Example: 'Number of persons'.") open var Name:String? = null /** * Custom field description. Example: 'For how many persons is this booking?' */ @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'") open var Description:String? = null /** * Field width. Example: 20 for 20px */ @ApiMember(Description="Field width. Example: 20 for 20px") open var Width:Int? = null /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") open var DataType:String? = null /** * Default value of the field. Example: '3' */ @ApiMember(Description="Default value of the field. Example: '3'") open var DefaultValue:String? = null /** * Determines if the field is required to have a value or not */ @ApiMember(Description="Determines if the field is required to have a value or not") open var IsMandatory:Boolean? = null /** * Error message shown to the user if the field data is required but not entered */ @ApiMember(Description="Error message shown to the user if the field data is required but not entered") open var MandatoryErrorMessage:String? = null /** * Max lenght of the field */ @ApiMember(Description="Max lenght of the field") open var MaxLength:Int? = null /** * If the field should have multiple lines */ @ApiMember(Description="If the field should have multiple lines") open var MultipleLineText:Boolean? = null /** * Regular expression used for validation of the field */ @ApiMember(Description="Regular expression used for validation of the field") open var RegEx:String? = null /** * Error message shown if the regular expression validation failed */ @ApiMember(Description="Error message shown if the regular expression validation failed") open var RegExErrorMessage:String? = null /** * The values to select from if Datatype is DropDown for this custom field */ @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field") open var Values:ArrayList? = null } open class CustomFieldDataResponse { open var Id:Int? = null open var Column:String? = null open var Name:String? = null open var Description:String? = null open var Value:String? = null /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") open var DataType:String? = null } open class BookedCustomer { open var Id:UUID? = null open var Firstname:String? = null open var Lastname:String? = null open var Email:String? = null open var Phone:String? = null open var FacebookUserName:String? = null open var ImageUrl:String? = null open var CorporateIdentityNumber:String? = null open var InvoiceAddress1:String? = null open var InvoiceAddress2:String? = null open var InvoiceCity:String? = null open var InvoicePostalCode:String? = null open var InvoiceCountryCode:String? = null } open class CompanyRatingSummary { /** * The average rating score */ @ApiMember(Description="The average rating score") open var AverageScore:Double? = null /** * The number of ratings of score 1 */ @ApiMember(Description="The number of ratings of score 1") open var RatingScore1Count:Int? = null /** * The number of ratings of score 2 */ @ApiMember(Description="The number of ratings of score 2") open var RatingScore2Count:Int? = null /** * The number of ratings of score 3 */ @ApiMember(Description="The number of ratings of score 3") open var RatingScore3Count:Int? = null /** * The number of ratings of score 4 */ @ApiMember(Description="The number of ratings of score 4") open var RaingScore4Count:Int? = null /** * The number of ratings of score 5 */ @ApiMember(Description="The number of ratings of score 5") open var RatingScore5Count:Int? = null /** * The number of ratings */ @ApiMember(Description="The number of ratings") open var Count:Int? = null } enum class ScheduleType { NotDefined, RecurringSchedule, DateSchedule, } open class BookingStatusOptionsResponse { open var Id:Int? = null open var Name:String? = null open var Description:String? = null } open class ServiceSchedules { open var ScheduleType:ScheduleType? = null open var RecurringSchedules:ArrayList? = null open var DateSchedules:ArrayList? = null } open class ServiceResourceTypeResponse { /** * The resourcetype id */ @ApiMember(Description="The resourcetype id") open var Id:Int? = null /** * The resourcetype is selectable by customer */ @ApiMember(Description="The resourcetype is selectable by customer") open var SelectableByUser:Boolean? = null /** * The resourcetype name */ @ApiMember(Description="The resourcetype name") open var Name:String? = null /** * The resourcetype description */ @ApiMember(Description="The resourcetype description") open var Description:String? = null /** * The resources in the resourcetype. Only shows active resources if not admin. */ @ApiMember(Description="The resources in the resourcetype. Only shows active resources if not admin.") open var Resources:ArrayList? = null } open class BaseModel { } interface IBaseModelCreated { var CreatedDate:Date? } interface IBaseModelUpdated { var UpdatedDate:Date? } interface ICustomFieldTable { var CustomFieldsConfig:IList? var CustomFieldsData:IList? var TextField1:String? var TextField2:String? var TextField3:String? var TextField4:String? var TextField5:String? var TextField6:String? var TextField7:String? var TextField8:String? var TextField9:String? var TextField10:String? var TextField11:String? var TextField12:String? var TextField13:String? var TextField14:String? var TextField15:String? var TextField16:String? var TextField17:String? var TextField18:String? var TextField19:String? var TextField20:String? } open class CustomFieldValue : BaseModel() { @Required() open var CompanyId:UUID? = null open var Id:Int? = null @Required() open var Value:String? = null @Required() open var Active:Boolean? = null open var SortOrder:Short? = null open var ModifiedDate:Date? = null } open class CustomField : BaseModel() { @Required() open var Table:String? = null @Required() open var Column:String? = null @Required() open var DataType:String? = null @Required() open var Description:String? = null @Required() open var Active:Boolean? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class RegEx : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var RegExCode:String? = null open var ErrorMessage:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class CustomFieldServiceRelation : BaseModel() { @Required() open var CompanyId:UUID? = null open var Id:Int? = null @Required() open var CustomFieldConfigId:Int? = null @Required() open var ServiceId:Int? = null open var ModifiedDate:Date? = null } interface ISchedule { var CompanyId:UUID? var Resources:IList? var Type:ScheduleType? var Active:Boolean? var IsResourceSpecific:Boolean? } interface ITimeException : IInterval { var Id:Int? var ReasonText:String? var IsBlock:Boolean? var ReasonTextPublic:String? var IsRecurring:Boolean? var ResourceIds:ArrayList? } interface IBookedTime : IInterval { var Id:Int? var ServiceId:Int? var BookedSpots:Int? var TotalSpots:Int? var PauseAfterInMinutes:Int? var Status:BookingStatusEnum? var StatusId:Int? var Customer:BookedCustomer? } open class CustomFieldValueResponse { open var Value:String? = null } open class ServiceResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") open var Id:Int? = null /** * The resource name */ @ApiMember(Description="The resource name") open var Name:String? = null /** * The resource description */ @ApiMember(Description="The resource description") open var Description:String? = null /** * The resource email */ @ApiMember(Description="The resource email") open var Email:String? = null /** * The resource phone */ @ApiMember(Description="The resource phone") open var Phone:String? = null /** * The resource color */ @ApiMember(Description="The resource color") open var Color:String? = null /** * The resource image */ @ApiMember(Description="The resource image") open var ImageUrl:Uri? = null /** * The priority of the resource */ @ApiMember(Description="The priority of the resource") open var Priority:Int? = null /** * If the resource want to receive email notifications */ @ApiMember(Description="If the resource want to receive email notifications") open var EmailNotification:Boolean? = null /** * If the resource want to receive sms notifications */ @ApiMember(Description="If the resource want to receive sms notifications") open var SMSNotification:Boolean? = null /** * If the resource want to receive email reminders */ @ApiMember(Description="If the resource want to receive email reminders") open var EmailReminder:Boolean? = null /** * If the resource want to receive sms reminders */ @ApiMember(Description="If the resource want to receive sms reminders") open var SMSReminder:Boolean? = null } open class ServicePriceResponse { /** * The company id */ @ApiMember(Description="The company id") open var CompanyId:UUID? = null /** * The price id */ @ApiMember(Description="The price id") open var Id:Int? = null /** * The service id */ @ApiMember(Description="The service id") open var ServiceId:Int? = null /** * The price */ @ApiMember(Description="The price") open var Price:Double? = null /** * The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day */ @ApiMember(Description="The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day") open var CalculationTypeId:Int? = null /** * The price currency */ @ApiMember(Description="The price currency") open var CurrencyId:String? = null /** * The price sign */ @ApiMember(Description="The price sign") open var PriceSign:String? = null /** * The price VAT in percent */ @ApiMember(Description="The price VAT in percent") open var VAT:BigDecimal? = null /** * The price category if price has a category */ @ApiMember(Description="The price category if price has a category") open var Category:String? = null /** * The price text to display */ @ApiMember(Description="The price text to display") open var PriceText:String? = null /** * The valid from date for the price. */ @ApiMember(Description="The valid from date for the price.") open var From:Date? = null /** * The valid to date for the price. */ @ApiMember(Description="The valid to date for the price.") open var To:Date? = null /** * If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. */ @ApiMember(Description="If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.") open var DaysOfWeek:ArrayList? = null /** * If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. */ @ApiMember(Description="If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.") open var FromTime:TimeSpan? = null /** * If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters. */ @ApiMember(Description="If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.") open var ToTime:TimeSpan? = null open var Service:ServiceInfoResponse? = null /** * If the price is only valid for a specific time span */ @ApiMember(Description="If the price is only valid for a specific time span") open var IsTimeSpecific:Boolean? = null /** * If the price is only valid for specific days of week */ @ApiMember(Description="If the price is only valid for specific days of week") open var IsDaysOfWeekSpecific:Boolean? = null }