/* Options:
Date: 2025-09-15 16:20:17
Version: 8.80
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bookmore.com
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: UpdateBookingSettings.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using System.Net;
using System.Net.Http.Headers;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
using BokaMera.API.ServiceModel.Db;
namespace BokaMera.API.ServiceModel.Db
{
public partial class BookingStatusOptions
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual string Description { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Dtos
{
public partial class BookingSettingResponse
{
public virtual Guid CompanyId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int BookingStatusId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int ScheduleViewId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int BookingTemplateId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int CalendarTypeId { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool AllowBookingOnUnbookedTimes { get; set; }
///
///
///
[DataMember(Name="SendEmailReminder")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool SendEmailReminder { get; set; }
///
///
///
[DataMember(Name="SendSmsReminder")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool SendSmsReminder { get; set; }
///
///
///
[DataMember(Name="SendEmailConfirmation")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool SendEmailConfirmation { get; set; }
///
///
///
[DataMember(Name="SendSmsConfirmation")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool SendSmsConfirmation { get; set; }
///
///If the customer should receive Push notification when booked
///
[ApiMember(DataType="boolean", Description="If the customer should receive Push notification when booked")]
public virtual bool SendPushNotification { get; set; }
///
///If the customer should receive Push notification reminders on bookings
///
[ApiMember(DataType="boolean", Description="If the customer should receive Push notification reminders on bookings")]
public virtual bool SendPushNotificationReminder { get; set; }
///
///How many minutes before booking starts the customer should receive the notification
///
[ApiMember(DataType="int", Description="How many minutes before booking starts the customer should receive the notification")]
public virtual int PushNotificationReminderTime { get; set; }
///
///Message text field that could be used inside message templates using [MessageText].
///
[ApiMember(DataType="string", Description="Message text field that could be used inside message templates using [MessageText].")]
public virtual string MessageText { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int EmailReminderTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int SmsReminderTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int MaxActiveBookings { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool SendNotifications { get; set; }
///
///
///
[ApiMember(DataType="string", Description="")]
public virtual string SendNotificationsEmail { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool EnableMobileApp { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual TimeSpan? ScheduleStartTime { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual TimeSpan? ScheduleEndTime { get; set; }
///
///The admin scheduler if each resources should be shown in a separate group
///
[ApiMember(DataType="boolean", Description="The admin scheduler if each resources should be shown in a separate group")]
public virtual bool ScheduleGroupResources { get; set; }
///
///The admin scheduler if the horizontal scrolling should be turned off
///
[ApiMember(DataType="boolean", Description="The admin scheduler if the horizontal scrolling should be turned off")]
public virtual bool SchedulerDisableHorizontalScrolling { get; set; }
///
///
///
[ApiMember(DataType="string", Description="")]
public virtual string ReceiptTemplate { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int ScheduleTimeSlotMinutes { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool ShowFreeTimesLeft { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int FreeSpotTextsId { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool EnableICalGroupBookings { get; set; }
///
///Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#
///
[ApiMember(DataType="string", Description="Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#")]
public virtual string AgreementTemplate { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool ScheduleShowTimeExeptions { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool EnableBookingsOnSameTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int ShowWeekNumberSettingId { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool EnableShowBookedTimes { get; set; }
///
///
///
[ApiMember(DataType="", Description="")]
public virtual int? BookSpotUserResponseMinutes { get; set; }
///
///
///
[ApiMember(DataType="", Description="")]
public virtual bool IsBookSpotDirectly { get; set; }
///
///
///
[ApiMember(DataType="", Description="")]
public virtual int BookSpotDirectlyTimeLeftMinutes { get; set; }
///
///
///
[ApiMember(DataType="", Description="")]
public virtual bool? SendEmailNotificationQueue { get; set; }
///
///
///
[ApiMember(DataType="", Description="")]
public virtual bool? SendSMSNotificationQueue { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool EnableSendFollowUpMessage { get; set; }
///
///When follow up message should be sent in hours after the booking.
///
[ApiMember(Description="When follow up message should be sent in hours after the booking.")]
public virtual int FollowUpMessageTime { get; set; }
///
///If it's only allowed for existing customers to book
///
[ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")]
public virtual bool BookOnlyOnExistingCustomers { get; set; }
///
///If a unique pin code should be generated for the customer
///
[ApiMember(DataType="boolean", Description="If a unique pin code should be generated for the customer")]
public virtual bool AutoGenerateUniquePinCode { get; set; }
///
///If a user profile should be created when customer is booking time. With the property customer can login.
///
[ApiMember(DataType="boolean", Description="If a user profile should be created when customer is booking time. With the property customer can login.")]
public virtual bool AutoCreateUserProfile { get; set; }
///
///The available schedule view options to choose from
///
[ApiMember(Description="The available schedule view options to choose from")]
public virtual List ScheduleViewOptions { get; set; }
///
///The available week number options to choose from
///
[ApiMember(Description="The available week number options to choose from")]
public virtual List WeekNumberOptions { get; set; }
///
///The booking template options to choose from
///
[ApiMember(Description="The booking template options to choose from")]
public virtual List BookingTemplateOptions { get; set; }
///
///The calendar type options to choose from
///
[ApiMember(Description="The calendar type options to choose from")]
public virtual List CalendarTypeOptions { get; set; }
///
///The booking status options to choose from
///
[ApiMember(Description="The booking status options to choose from")]
public virtual List BookingStatusOptions { get; set; }
///
///The free spot text options to choose from
///
[ApiMember(Description="The free spot text options to choose from")]
public virtual List FreeSpotTextOptions { get; set; }
///
///If you have different prices over different times per day and want it to calculate the weighted price for the booked time.
///
[ApiMember(DataType="boolean", Description="If you have different prices over different times per day and want it to calculate the weighted price for the booked time.")]
public virtual bool WeightedPrices { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool ShowMultiDayAsTime { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool ShowMultipleResourcesAsOne { get; set; }
///
///If booking should be restricted by a pin code
///
[ApiMember(Description="If booking should be restricted by a pin code")]
public virtual string BookingPinCodeRestriction { get; set; }
///
///If checked customer invoice will be required when creating booking
///
[ApiMember(Description="If checked customer invoice will be required when creating booking")]
public virtual bool CustomerInvoiceAdressRequired { get; set; }
}
public partial class BookingTemplateResponse
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual string Description { get; set; }
public virtual string UsedByApplication { get; set; }
}
public partial class CalendarTypeResponse
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual string Description { get; set; }
public virtual bool Active { get; set; }
}
public partial class FreeSpotTextsResponse
{
public virtual int Id { get; set; }
public virtual string TextSingular { get; set; }
public virtual string TextPlural { get; set; }
}
public partial class ScheduleViewResponse
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
}
[Route("/settings", "PUT")]
[ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)]
[ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)]
[ValidateRequest("IsAuthenticated")]
public partial class UpdateBookingSettings
: IReturn, ICompany
{
///
///The company id, if empty will use the company id for the user you are logged in with.
///
[ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")]
public virtual Guid? CompanyId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? BookingStatusId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? ScheduleViewId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? BookingTemplateId { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? CalendarTypeId { get; set; }
///
///
///
[ApiMember(DataType="bool", Description="")]
public virtual bool? AllowBookingOnUnbookedTimes { get; set; }
///
///
///
[DataMember(Name="SendEmailReminder")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool? SendEmailReminder { get; set; }
///
///
///
[DataMember(Name="SendSmsReminder")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool? SendSmsReminder { get; set; }
///
///
///
[DataMember(Name="SendEmailConfirmation")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool? SendEmailConfirmation { get; set; }
///
///
///
[DataMember(Name="SendSmsConfirmation")]
[ApiMember(DataType="boolean", Description="")]
public virtual bool? SendSmsConfirmation { get; set; }
///
///If the customer should receive Push notification when booked
///
[ApiMember(DataType="boolean", Description="If the customer should receive Push notification when booked")]
public virtual bool? SendPushNotification { get; set; }
///
///If the customer should receive Push notification reminders on bookings
///
[ApiMember(DataType="boolean", Description="If the customer should receive Push notification reminders on bookings")]
public virtual bool? SendPushNotificationReminder { get; set; }
///
///How many minutes before booking starts the customer should receive the notification
///
[ApiMember(DataType="int", Description="How many minutes before booking starts the customer should receive the notification")]
public virtual int PushNotificationReminderTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? EmailReminderTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? SmsReminderTime { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? MaxActiveBookings { get; set; }
///
///
///
[ApiMember(DataType="bool", Description="")]
public virtual bool? SendNotifications { get; set; }
///
///
///
[ApiMember(DataType="string", Description="")]
public virtual string SendNotificationsEmail { get; set; }
///
///Message text field that could be used inside message templates using [MessageText].
///
[ApiMember(DataType="string", Description="Message text field that could be used inside message templates using [MessageText].")]
public virtual string MessageText { get; set; }
///
///
///
[ApiMember(DataType="bool", Description="")]
public virtual bool? EnableMobileApp { get; set; }
///
///The admin scheduler start time to show as default
///
[ApiMember(Description="The admin scheduler start time to show as default")]
public virtual TimeSpan? ScheduleStartTime { get; set; }
///
///The admin scheduler end time to show as default
///
[ApiMember(Description="The admin scheduler end time to show as default")]
public virtual TimeSpan? ScheduleEndTime { get; set; }
///
///Booking receipt text.
///
[ApiMember(DataType="string", Description="Booking receipt text.")]
public virtual string ReceiptTemplate { get; set; }
///
///The admin scheduler minutes of each timeslot
///
[ApiMember(Description="The admin scheduler minutes of each timeslot")]
public virtual int? ScheduleTimeSlotMinutes { get; set; }
///
///The admin scheduler if each resources should be shown in a separate group
///
[ApiMember(Description="The admin scheduler if each resources should be shown in a separate group")]
public virtual bool? ScheduleGroupResources { get; set; }
///
///The admin scheduler if the horizontal scrolling should be turned off
///
[ApiMember(DataType="boolean", Description="The admin scheduler if the horizontal scrolling should be turned off")]
public virtual bool? SchedulerDisableHorizontalScrolling { get; set; }
///
///If it's only allowed for existing customers to book
///
[ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")]
public virtual bool? BookOnlyOnExistingCustomers { get; set; }
///
///If a unique pin code should be generated for the customer
///
[ApiMember(DataType="boolean", Description="If a unique pin code should be generated for the customer")]
public virtual bool? AutoGenerateUniquePinCode { get; set; }
///
///If a user profile should be created when customer is booking time. With the property customer can login.
///
[ApiMember(DataType="boolean", Description="If a user profile should be created when customer is booking time. With the property customer can login.")]
public virtual bool? AutoCreateUserProfile { get; set; }
///
///When follow up message should be sent in hours after the booking.
///
[ApiMember(Description="When follow up message should be sent in hours after the booking.")]
public virtual int? FollowUpMessageTime { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? ShowFreeTimesLeft { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual int? FreeSpotTextsId { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? EnableICalGroupBookings { get; set; }
///
///Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#
///
[ApiMember(DataType="string", Description="Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#")]
public virtual string AgreementTemplate { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? ScheduleShowTimeExeptions { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? EnableBookingsOnSameTime { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual int? ShowWeekNumberSettingId { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? EnableShowBookedTimes { get; set; }
///
///
///
[ApiMember(Description="")]
public virtual bool? EnableSendFollowUpMessage { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? BookSpotUserResponseMinutes { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool? IsBookSpotDirectly { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual int? BookSpotDirectlyTimeLeftMinutes { get; set; }
///
///
///
[ApiMember(DataType="int", Description="")]
public virtual bool? SendEmailNotificationQueue { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool? SendSMSNotificationQueue { get; set; }
///
///If you have different prices over different times per day and want it to calculate the weighted price for the booked time.
///
[ApiMember(DataType="boolean", Description="If you have different prices over different times per day and want it to calculate the weighted price for the booked time.")]
public virtual bool? WeightedPrices { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool? ShowMultiDayAsTime { get; set; }
///
///
///
[ApiMember(DataType="boolean", Description="")]
public virtual bool? ShowMultipleResourcesAsOne { get; set; }
///
///If booking should be restricted by a pin code
///
[ApiMember(DataType="string", Description="If booking should be restricted by a pin code")]
public virtual string BookingPinCodeRestriction { get; set; }
///
///Customer Invoice Address will be required when creating booking
///
[ApiMember(Description="Customer Invoice Address will be required when creating booking")]
public virtual bool? CustomerInvoiceAdressRequired { get; set; }
}
public partial class WeekNumberSettingResponse
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual string Description { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}