' Options: 'Date: 2024-11-21 11:45:54 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: UpdateSetting.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Imports BokaMera.API.ServiceModel.Db Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BookingStatusOptions Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class BookingTemplateResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property UsedByApplication As String End Class Public Partial Class CalendarTypeResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Active As Boolean End Class Public Partial Class FreeSpotTextsResponse Public Overridable Property Id As Integer Public Overridable Property TextSingular As String Public Overridable Property TextPlural As String End Class Public Partial Class ScheduleViewResponse Public Overridable Property Id As Integer Public Overridable Property Name As String End Class Public Partial Class SettingResponse Public Sub New() ScheduleViewOptions = New List(Of ScheduleViewResponse) WeekNumberOptions = New List(Of WeekNumberSettingResponse) BookingTemplateOptions = New List(Of BookingTemplateResponse) CalendarTypeOptions = New List(Of CalendarTypeResponse) BookingStatusOptions = New List(Of BookingStatusOptions) FreeSpotTextOptions = New List(Of FreeSpotTextsResponse) End Sub Public Overridable Property CompanyId As Guid ''' ''' ''' Public Overridable Property BookingStatusId As Integer ''' ''' ''' Public Overridable Property ScheduleViewId As Integer ''' ''' ''' Public Overridable Property BookingTemplateId As Integer ''' ''' ''' Public Overridable Property CalendarTypeId As Integer ''' ''' ''' Public Overridable Property AllowBookingOnUnbookedTimes As Boolean ''' ''' ''' Public Overridable Property SendEmailReminder As Boolean ''' ''' ''' Public Overridable Property SendSmsReminder As Boolean ''' ''' ''' Public Overridable Property SendEmailConfirmation As Boolean ''' ''' ''' Public Overridable Property SendSmsConfirmation As Boolean ''' '''Message text field that could be used inside message templates using [MessageText]. ''' Public Overridable Property MessageText As String ''' ''' ''' Public Overridable Property EmailReminderTime As Integer ''' ''' ''' Public Overridable Property SmsReminderTime As Integer ''' ''' ''' Public Overridable Property MaxActiveBookings As Integer ''' ''' ''' Public Overridable Property SendNotifications As Boolean ''' ''' ''' Public Overridable Property SendNotificationsEmail As String ''' ''' ''' Public Overridable Property EnableMobileApp As Boolean ''' ''' ''' Public Overridable Property ScheduleStartTime As Nullable(Of TimeSpan) ''' ''' ''' Public Overridable Property ScheduleEndTime As Nullable(Of TimeSpan) ''' '''The admin scheduler if each resources should be shown in a seperate group ''' Public Overridable Property ScheduleGroupResources As Boolean ''' '''The admin scheduler if the horizontal scrolling should be turned off ''' Public Overridable Property SchedulerDisableHorizontalScrolling As Boolean ''' ''' ''' Public Overridable Property ReceiptTemplate As String ''' ''' ''' Public Overridable Property ScheduleTimeSlotMinutes As Integer ''' ''' ''' Public Overridable Property ShowFreeTimesLeft As Boolean ''' ''' ''' Public Overridable Property FreeSpotTextsId As Integer ''' ''' ''' Public Overridable Property EnableICalGroupBookings As Boolean ''' '''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 Overridable Property AgreementTemplate As String ''' ''' ''' Public Overridable Property ScheduleShowTimeExeptions As Boolean ''' ''' ''' Public Overridable Property EnableBookingsOnSameTime As Boolean ''' ''' ''' Public Overridable Property ShowWeekNumberSettingId As Integer ''' ''' ''' Public Overridable Property EnableShowBookedTimes As Boolean ''' ''' ''' Public Overridable Property BookSpotUserResponseMinutes As Nullable(Of Integer) ''' ''' ''' Public Overridable Property IsBookSpotDirectly As Boolean ''' ''' ''' Public Overridable Property BookSpotDirectlyTimeLeftMinutes As Integer ''' ''' ''' Public Overridable Property SendEmailNotificationQueue As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendSMSNotificationQueue As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property EnableSendFollowUpMessage As Boolean ''' '''When follow up message should be sent in hours after the booking. ''' Public Overridable Property FollowUpMessageTime As Integer ''' '''If it's only allowed for existing customers to book ''' Public Overridable Property BookOnlyOnExistingCustomers As Boolean ''' '''If a unique pin code should be generated for the customer ''' Public Overridable Property AutoGenerateUniquePinCode As Boolean ''' '''If a user profile should be created when customer is booking time. With the property customer can login. ''' Public Overridable Property AutoCreateUserProfile As Boolean ''' '''The available schedule view options to choose from ''' Public Overridable Property ScheduleViewOptions As List(Of ScheduleViewResponse) ''' '''The available week number options to choose from ''' Public Overridable Property WeekNumberOptions As List(Of WeekNumberSettingResponse) ''' '''The booking template options to choose from ''' Public Overridable Property BookingTemplateOptions As List(Of BookingTemplateResponse) ''' '''The calendar type options to choose from ''' Public Overridable Property CalendarTypeOptions As List(Of CalendarTypeResponse) ''' '''The booking status options to choose from ''' Public Overridable Property BookingStatusOptions As List(Of BookingStatusOptions) ''' '''The free spot text options to choose from ''' Public Overridable Property FreeSpotTextOptions As List(Of FreeSpotTextsResponse) ''' '''If you have different prices over different times per day and want it to calculate the weighted price for the booked time. ''' Public Overridable Property WeightedPrices As Boolean ''' ''' ''' Public Overridable Property ShowMultiDayAsTime As Boolean ''' ''' ''' Public Overridable Property ShowMultipleResourcesAsOne As Boolean End Class Public Partial Class UpdateSetting Implements IReturn(Of SettingResponse) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' ''' ''' Public Overridable Property BookingStatusId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property ScheduleViewId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property BookingTemplateId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property CalendarTypeId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property AllowBookingOnUnbookedTimes As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendEmailReminder As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendSmsReminder As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendEmailConfirmation As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendSmsConfirmation As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property EmailReminderTime As Nullable(Of Integer) ''' ''' ''' Public Overridable Property SmsReminderTime As Nullable(Of Integer) ''' ''' ''' Public Overridable Property MaxActiveBookings As Nullable(Of Integer) ''' ''' ''' Public Overridable Property SendNotifications As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendNotificationsEmail As String ''' '''Message text field that could be used inside message templates using [MessageText]. ''' Public Overridable Property MessageText As String ''' ''' ''' Public Overridable Property EnableMobileApp As Nullable(Of Boolean) ''' '''The admin scheduler start time to show as default ''' Public Overridable Property ScheduleStartTime As Nullable(Of TimeSpan) ''' '''The admin scheduler end time to show as default ''' Public Overridable Property ScheduleEndTime As Nullable(Of TimeSpan) ''' '''Booking receipt text. ''' Public Overridable Property ReceiptTemplate As String ''' '''The admin scheduler minutes of each timeslot ''' Public Overridable Property ScheduleTimeSlotMinutes As Nullable(Of Integer) ''' '''The admin scheduler if each resources should be shown in a seperate group ''' Public Overridable Property ScheduleGroupResources As Nullable(Of Boolean) ''' '''The admin scheduler if the horizontal scrolling should be turned off ''' Public Overridable Property SchedulerDisableHorizontalScrolling As Nullable(Of Boolean) ''' '''If it's only allowed for existing customers to book ''' Public Overridable Property BookOnlyOnExistingCustomers As Nullable(Of Boolean) ''' '''If a unique pin code should be generated for the customer ''' Public Overridable Property AutoGenerateUniquePinCode As Nullable(Of Boolean) ''' '''If a user profile should be created when customer is booking time. With the property customer can login. ''' Public Overridable Property AutoCreateUserProfile As Nullable(Of Boolean) ''' '''When follow up message should be sent in hours after the booking. ''' Public Overridable Property FollowUpMessageTime As Nullable(Of Integer) ''' ''' ''' Public Overridable Property ShowFreeTimesLeft As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property FreeSpotTextsId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property EnableICalGroupBookings As Nullable(Of Boolean) ''' '''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 Overridable Property AgreementTemplate As String ''' ''' ''' Public Overridable Property ScheduleShowTimeExeptions As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property EnableBookingsOnSameTime As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property ShowWeekNumberSettingId As Nullable(Of Integer) ''' ''' ''' Public Overridable Property EnableShowBookedTimes As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property EnableSendFollowUpMessage As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property BookSpotUserResponseMinutes As Nullable(Of Integer) ''' ''' ''' Public Overridable Property IsBookSpotDirectly As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property BookSpotDirectlyTimeLeftMinutes As Nullable(Of Integer) ''' ''' ''' Public Overridable Property SendEmailNotificationQueue As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property SendSMSNotificationQueue As Nullable(Of Boolean) ''' '''If you have different prices over different times per day and want it to calculate the weighted price for the booked time. ''' Public Overridable Property WeightedPrices As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property ShowMultiDayAsTime As Nullable(Of Boolean) ''' ''' ''' Public Overridable Property ShowMultipleResourcesAsOne As Nullable(Of Boolean) End Class Public Partial Class WeekNumberSettingResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace