' Options: 'Date: 2024-11-21 11:38:19 '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: SettingQuery.* '''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.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 SettingQuery Implements IReturn(Of SettingResponse) ''' '''If you want to include the schedule views to select from ''' Public Overridable Property IncludeScheduleViewOptions As Boolean ''' '''If you want to include the week number settings to select from ''' Public Overridable Property IncludeWeekNumberOptions As Boolean ''' '''If you want to include the booking template options to select from ''' Public Overridable Property IncludeBookingTemplateOptions As Boolean ''' '''If you want to include the calendar type options to select from ''' Public Overridable Property IncludeCalendarTypeOptions As Boolean ''' '''If you want to include the booking status options to select from ''' Public Overridable Property IncludeBookingStatusOptions As Boolean ''' '''If you want to include the Free spot text options to select from ''' Public Overridable Property IncludeFreeSpotTextOptions As Boolean 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 WeekNumberSettingResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String End Class End Namespace End Namespace