/* Options: Date: 2025-12-06 12:25:56 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SupportCaseQuery.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/support/cases", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class SupportCaseQuery : QueryDb(), 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.") override var CompanyId:UUID? = null /** * If you want to search on active support cases */ @ApiMember(DataType="boolean", Description="If you want to search on active support cases", ParameterType="query") open var Active:Boolean? = null /** * Support Case Id */ @ApiMember(DataType="int", Description="Support Case Id", ParameterType="query") open var Id:Int? = null /** * If you want to include the support case comments */ @ApiMember(DataType="boolean", Description="If you want to include the support case comments", ParameterType="query") open var IncludeComments:Boolean? = null /** * If you want to include the support case status information */ @ApiMember(DataType="boolean", Description="If you want to include the support case status information", ParameterType="query") open var IncludeCaseStatusInformation:Boolean? = null /** * If you want to include the support case type information */ @ApiMember(DataType="boolean", Description="If you want to include the support case type information", ParameterType="query") open var IncludeCaseTypeInformation:Boolean? = null /** * If you want to include the support case area information */ @ApiMember(DataType="boolean", Description="If you want to include the support case area information", ParameterType="query") open var IncludeCaseAreaInformation:Boolean? = null /** * If you want to include the support case comments */ @ApiMember(DataType="boolean", Description="If you want to include the support case comments", ParameterType="query") open var IncludeCaseComments:Boolean? = null /** * If you want to include the support case attachments */ @ApiMember(DataType="boolean", Description="If you want to include the support case attachments", ParameterType="query") open var IncludeCaseAttachments:Boolean? = null /** * If you want to include the support case status options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the support case status options to select from", ParameterType="query") open var IncludeCaseStatusOptions:Boolean? = null /** * If you want to include the support case type options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the support case type options to select from", ParameterType="query") open var IncludeCaseTypeOptions:Boolean? = null /** * If you want to include the support case area options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the support case area options to select from", ParameterType="query") open var IncludeCaseAreaOptions:Boolean? = null open var ResponseStatus:ResponseStatus? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = SupportCaseQuery.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var Offset:Int? = null @DataMember(Order=2) open var Total:Int? = null @DataMember(Order=3) open var Results:ArrayList? = null @DataMember(Order=4) open var Meta:HashMap? = null @DataMember(Order=5) open var ResponseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } interface ICompany { var CompanyId:UUID? } open class BillingMethod : BaseModel() { open var BillingMethodCountriesRelation:ArrayList = ArrayList() @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class BillingInformation : BaseModel(), IBaseModelCreated, IBaseModelUpdated { open var BillingMethod:BillingMethod? = null @Required() open var BillingMethodId:Int? = null @Required() open var Name:String? = null open var FirstName:String? = null open var LastName:String? = null open var PhoneNumber:String? = null open var Attention:String? = null open var Street1:String? = null open var Street2:String? = null open var ZipCode:String? = null open var City:String? = null open var Email:String? = null open var CreditCard:String? = null open var CreditCardHolder:String? = null open var CreditCardNumber:String? = null open var ValidToYear:Short? = null open var ValidToMonth:Short? = null open var CSV:String? = null @Required() override var UpdatedDate:Date? = null @Required() override var CreatedDate:Date? = null @Required() open var CountryId:String? = null @Required() open var PaymentTermsDays:Int? = null open var VatRegistrationNumber:String? = null open var LicensePlanId:Int? = null open var GLN:String? = null open var ReferenceLine1:String? = null open var ReferenceLine2:String? = null open var ModifiedDate:Date? = null @Required() open var Id:UUID? = null } 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 CompanyCategory : BaseModel() { @Required() open var Name:String? = null @Required() open var Active:Boolean? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class CompanyType : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class Company : BaseModel() { @Ignore() open var Status:CompanyStatus? = null @Ignore() open var Active:Boolean? = null @Ignore() open var CustomerCustomFieldsConfig:IList? = null @Ignore() open var BookingAgreements:String? = null @Ignore() open var BookingSettings:BookingSettings? = null @Ignore() open var CompanyType:CompanyType? = null @Ignore() open var CodeLockSettings:CodeLockSetting? = null @Ignore() open var PaymentSettings:PaymentSettings? = null @Ignore() open var Settings:CompanySetting? = null @Ignore() open var WidgetSettings:HomepageWidgetSetting? = null @Ignore() open var HomepageSettings:HomepageSetting? = null @Ignore() open var RatingScore:AverageRatingScore? = null @Ignore() open var Ratings:ArrayList = ArrayList() @Ignore() open var Distance:Double? = null @Ignore() open var Licenses:ArrayList = ArrayList() @Ignore() open var VossCustomers:CustomApiResult? = null @Ignore() open var BillingInformation:BillingInformation? = null @Ignore() open var CompanyUsers:ArrayList = ArrayList() @Ignore() open var CompanyOwner:CompanyOwner? = null @Ignore() open var ActiveLicenses:ArrayList = ArrayList() @Ignore() open var CurrentLicense:License? = null @Ignore() open var IsFreeAccount:Boolean? = null @Ignore() open var DefaultLanguage:CultureInfo? = null open var Category:CompanyCategory? = null @Ignore() open var Lat:Double? = null @Ignore() open var Lon:Double? = null @Ignore() open var IsFavorite:Boolean? = null @Ignore() open var ExternalReferences:IList? = null @Required() open var OrganisationNumber:String? = null @Required() open var StatusId:Int? = null @Required() open var CategoryId:Int? = null @Required() open var SitePath:String? = null @Required() open var Name:String? = null open var Street1:String? = null open var Street2:String? = null open var ZipCode:String? = null open var City:String? = null open var OpeningHours:String? = null open var FaxNumber:String? = null @Required() open var Email:String? = null open var Phone:String? = null open var Details:String? = null open var LogoType:String? = null @Required() open var ApprovedByAdmin:Boolean? = null @Required() open var Updated:Date? = null @Required() open var Created:Date? = null open var IpAddress:String? = null open var Homepage:String? = null open var DomainName:String? = null @Required() open var CountryId:String? = null open var TypeId:Int? = null open var ModifiedDate:Date? = null @Required() open var Id:UUID? = null open var CompanyOwnerId:Int? = null open var DeletionNotificationDate:Date? = null } open class CompanyUser : BaseModel(), IUser, IBaseModelCreated, IBaseModelUpdated { open var Resource:Resource? = null @Ignore() open var Roles:ArrayList = ArrayList() @Ignore() open var Company:Company? = null override var Email:String? = null @Ignore() open var FullName:String? = null open var ResourceId:Int? = null open var WorkerId:String? = null @Required() open var Active:Boolean? = null @Required() open var IsSuperAdmin:Boolean? = null @Required() override var CreatedDate:Date? = null @Required() override var UpdatedDate:Date? = null open var ModifiedDate:Date? = null @Required() open var CompanyId:UUID? = null @Required() override var Id:UUID? = null override var UserId:UUID? = null override var Firstname:String? = null override var Lastname:String? = null @Required() open var SendPushNotification:Boolean? = null @Required() open var SendPushNotificationReminder:Boolean? = null override var Phone:String? = null } open class Country : BaseModel() { @References(Type=Currency::class) open var CurrencyId:String? = null open var CurrencyInfo:Currency? = null @Required() open var Name:String? = null open var Culture:String? = null open var TimeZone:String? = null open var ModifiedDate:Date? = null @Required() open var Id:String? = null } open class Currency : BaseModel() { @Required() open var Name:String? = null @Required() open var CurrencySign:String? = null @Required() open var Active:Boolean? = null open var ModifiedDate:Date? = null @Required() open var Id:String? = null } open class CustomFieldConfig : BaseModel() { @Ignore() open var Values:ArrayList = ArrayList() open var CustomField:CustomField? = null @Ignore() open var RegEx:RegEx? = null @Ignore() open var Services:ArrayList = ArrayList() open var CustomFieldServiceRelation:ArrayList = ArrayList() @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 License : BaseModel() { @Ignore() open var VossSubscription:VossSubscriptionResponse? = null @Ignore() open var Company:Company? = null open var Type:LicenseTypes? = null @Required() open var CompanyId:UUID? = null open var Id:Int? = null @Required() open var TypeId:Int? = null open var VossSubscriptionId:UUID? = null @Required() open var ValidFrom:Date? = null @Required() open var ValidTo:Date? = null @Required() open var Active:Boolean? = null @Required() open var UpdatedDate:Date? = null @Required() open var CreatedDate:Date? = null open var ModifiedDate:Date? = null open var MetaData:String? = null } open class LicenseTypes : BaseModel() { @Ignore() open var LicenseItems:IList? = null @Ignore() open var Prices:IList? = null @Ignore() open var IsFree:Boolean? = null @Ignore() open var PeriodOfNoticeDays:Int? = null @Ignore() open var NextLicenseOption:LicenseTypes? = null @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var ExtraLicenseOption:Boolean? = null open var ModifiedDate:Date? = null open var Active:Boolean? = null open var VossTierId:UUID? = null open var Id:Int? = null } open class Rating : BaseModel() { open var ReviewId:UUID? = null open var Review:Review? = null @Required() open var CompanyId:UUID? = null @Required() open var BookingId:Int? = null @Required() open var RatingScore:Int? = null @Required() open var Status:Int? = null @Required() open var Created:Date? = null @Required() open var Updated:Date? = null open var ModifiedDate:Date? = null } open class Review : BaseModel() { open var ReviewId:UUID? = null @Required() open var CompanyId:UUID? = null @Required() open var Title:String? = null @Required() open var Description:String? = null @Required() open var Author:String? = null @Required() open var Status:Int? = null @Required() open var Created:Date? = null @Required() open var Updated:Date? = null open var ModifiedDate:Date? = null open var ReviewAnswer:String? = null } open class ExternalReference : BaseModel(), IBaseModelCreated, IBaseModelUpdated { @Required() open var CompanyId:UUID? = null @Required() open var Id:UUID? = null @Required() open var OwnerId:UUID? = null @Required() open var ReferenceType:String? = null @Required() open var ReferenceTypeId:Int? = null open var ExternalData:String? = null open var InternalData:String? = null open var CreatedBy:String? = null @Required() override var UpdatedDate:Date? = null @Required() override var CreatedDate:Date? = null open var ModifiedDate:Date? = 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 CaseStatus : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Color:String? = null @Required() open var Icon:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class SupportCaseStatusResponse { /** * The status id */ @ApiMember(Description="The status id") open var Id:Int? = null /** * The status name */ @ApiMember(Description="The status name") open var Name:String? = null /** * The status description */ @ApiMember(Description="The status description") open var Description:String? = null /** * The status icon */ @ApiMember(Description="The status icon") open var Icon:String? = null /** * The status color */ @ApiMember(Description="The status color") open var Color:String? = null } open class CaseType : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class SupportCaseTypeResponse { /** * The type id */ @ApiMember(Description="The type id") open var Id:Int? = null /** * The type name */ @ApiMember(Description="The type name") open var Name:String? = null /** * The type description */ @ApiMember(Description="The type description") open var Description:String? = null } open class CaseArea : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class SupportCaseAreaResponse { /** * The area id */ @ApiMember(Description="The area id") open var Id:Int? = null /** * The area name */ @ApiMember(Description="The area name") open var Name:String? = null /** * The area description */ @ApiMember(Description="The area description") open var Description:String? = null } open class CaseComment : BaseModel() { @Required() open var CompanyId:UUID? = null @Required() open var SupportCaseId:Int? = null open var Id:Int? = null @Required() open var Comment:String? = null @Required() open var Deleted:Boolean? = null @Required() open var CreatedBy:String? = null @Required() open var Created:Date? = null open var ModifiedDate:Date? = null } open class CaseAttachment : BaseModel() { @Required() open var CompanyId:UUID? = null open var Id:Int? = null @Required() open var FileUrl:String? = null open var ModifiedDate:Date? = null } open class SupportCase : BaseModel() { @References(Type=CaseArea::class) open var CaseAreaId:Int? = null open var CaseArea:CaseArea? = null @References(Type=CaseType::class) open var CaseTypeId:Int? = null open var CaseType:CaseType? = null @References(Type=CaseStatus::class) open var CaseStatusId:Int? = null open var CaseStatus:CaseStatus? = null @Ignore() open var Comments:IList? = null @Ignore() open var CaseAreaOptions:IList? = null @Ignore() open var CaseTypeOptions:IList? = null @Ignore() open var CaseStatusOptions:IList? = null @Ignore() open var Attachments:IList? = null open var AttachmentRelation:ArrayList = ArrayList() open var CompanyUser:CompanyUser? = null open var Company:Company? = null @Ignore() open var Active:Boolean? = null @Required() open var CompanyId:UUID? = null open var Id:Int? = null open var CompanyUserId:UUID? = null @Required() open var Title:String? = null @Required() open var Description:String? = null @Required() open var CreatedBy:String? = null @Required() open var UpdatedBy:String? = null open var SolvedBy:String? = null @Required() open var Updated:Date? = null @Required() open var Created:Date? = null open var CaseOwner:String? = null open var ModifiedDate:Date? = 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 PersonalIdentityNumber: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 VossSubscriptionResponse { open var SubscriptionBillingPeriodStartDate:Date? = null open var SubscriptionBillingPeriodEndDate:Date? = null open var Tier:TierResponse? = null } enum class ScheduleType { NotDefined, RecurringSchedule, DateSchedule, } open class BookingStatusOptions { open var Id:Int? = null open var Name:String? = null open var Description:String? = null } open class LanguageResponse { open var Id:String? = null open var Name:String? = null } @DataContract open class QueryBase { /** * Skip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.

Example:
?skip=10&orderBy=Id */ @DataMember(Order=1) open var Skip:Int? = null /** * Return a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.

Example:
?take=20 */ @DataMember(Order=2) open var Take:Int? = null /** * Comma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderBy=Id,-Age,FirstName */ @DataMember(Order=3) open var OrderBy:String? = null /** * Comma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderByDesc=Id,-Age,FirstName */ @DataMember(Order=4) open var OrderByDesc:String? = null /** * Include any of the aggregates AVG, COUNT, FIRST, LAST, MAX, MIN, SUM in your result set. The results will be returned in the meta field.

Example:
?include=COUNT(*) as Total

or multiple fields with
?include=Count(*) Total, Min(Age), AVG(Age) AverageAge

or unique with
?include=COUNT(DISTINCT LivingStatus) as UniqueStatus */ @DataMember(Order=5) open var Include:String? = null @DataMember(Order=6) open var Fields:String? = null @DataMember(Order=7) open var Meta:HashMap? = null } open class BaseModel { } interface IBaseModelCreated { var CreatedDate:Date? } interface IBaseModelUpdated { var UpdatedDate:Date? } open class BillingMethodCountriesRelation : BaseModel() { @Required() open var BillingMethodId:Int? = null @Required() open var CountryId:String? = null open var ModifiedDate:Date? = null } 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? } enum class CompanyStatus(val value:Int) { Registered(1), AwaitingApproval(2), Approved(3), Inactive(4), ClosedDown(5), NotApproved(6), } open class BookingSettings : BaseModel() { @References(Type=FreeSpotTexts::class) open var FreeSpotTextsId:Int? = null @Ignore() open var SendEmailConfirmation:Boolean? = null @Ignore() open var ScheduleViewOptions:ArrayList = ArrayList() @Ignore() open var WeekNumberSettingOptions:ArrayList = ArrayList() @Ignore() open var BookingTemplateOptions:ArrayList = ArrayList() @Ignore() open var CalendarTypeOptions:ArrayList = ArrayList() @Ignore() open var FreeSpotTextOptions:ArrayList = ArrayList() @Ignore() open var BookingStatusOptions:ArrayList = ArrayList() open var FreeSpotTextsInfo:FreeSpotTexts? = null @Ignore() open var FreeSpotsTextSingular:String? = null @Ignore() open var FreeSpotsTextPlural:String? = null @Required() open var BookingStatusId:Int? = null @Required() open var ScheduleViewId:Int? = null @Required() open var BookingTemplateId:Int? = null @Required() open var CalendarTypeId:Int? = null @Required() open var AllowBookingOnUnbookedTimes:Boolean? = null @Required() open var SendEmailReminder:Boolean? = null @Required() open var SendSmsReminder:Boolean? = null @Required() open var SendSmsConfirmation:Boolean? = null @Required() open var EmailReminderTime:Int? = null @Required() open var SmsReminderTime:Int? = null @Required() open var SendPushNotification:Boolean? = null @Required() open var SendPushNotificationReminder:Boolean? = null @Required() open var PushNotificationReminderTime:Int? = null @Required() open var MaxActiveBookings:Int? = null @Required() open var SendNotifications:Boolean? = null open var SendNotificationsEmail:String? = null @Required() open var EnableMobileApp:Boolean? = null open var ScheduleStartTime:TimeSpan? = null open var ScheduleEndTime:TimeSpan? = null open var ReceiptTemplate:String? = null @Required() open var ScheduleTimeSlotMinutes:Int? = null @Required() open var ShowFreeTimesLeft:Boolean? = null @Required() open var EnableICalGroupBookings:Boolean? = null open var AgreementTemplate:String? = null @Required() open var ScheduleShowTimeExeptions:Boolean? = null @Required() open var EnableBookingsOnSameTime:Boolean? = null @Required() open var ShowWeekNumberSettingId:Int? = null @Required() open var EnableShowBookedTimes:Boolean? = null @Required() open var EnableSendFollowUpMessage:Boolean? = null @Required() open var FollowUpMessageTime:Int? = null open var MessageText:String? = null @Required() open var ScheduleGroupResources:Boolean? = null @Required() open var BookSpotUserResponseMinutes:Int? = null @Required() open var IsBookSpotDirectly:Boolean? = null @Required() open var BookSpotDirectlyTimeLeftMinutes:Int? = null @Required() open var SendEmailNotificationQueue:Boolean? = null @Required() open var SendSMSNotificationQueue:Boolean? = null @Required() open var SchedulerDisableHorizontalScrolling:Boolean? = null @Required() open var BookOnlyOnExistingCustomers:Boolean? = null @Required() open var AutoGenerateUniquePinCode:Boolean? = null @Required() open var WeightedPrices:Boolean? = null open var ModifiedDate:Date? = null @Required() open var AutoCreateUserProfile:Boolean? = null open var ShowMultipleResourcesAsOne:Boolean? = null open var ShowPersonalIdentityNumber:Boolean? = null open var PersonalIdentityNumberRequired:Boolean? = null open var ShowMultiDayAsTime:Boolean? = null open var BookingPinCodeRestriction:String? = null open var CustomerInvoiceAdressRequired:Boolean? = null @Required() open var Id:UUID? = null } open class CodeLockSetting : BaseModel() { @Ignore() open var CodeLockSystemOptions:ArrayList = ArrayList() @Required() open var Active:Boolean? = null @Required() open var CodeLockSystemsId:Int? = null @Required() open var ValidBeforeMinutes:Int? = null @Required() open var ValidAfterMinutes:Int? = null @Required() open var DeleteOldBySchedule:Boolean? = null @Required() open var Created:Date? = null @Required() open var Updated:Date? = null open var ModifiedDate:Date? = null @Required() open var SendEmailNotification:Boolean? = null @Required() open var SendSMSNotification:Boolean? = null @Required() open var EmailNotificationTime:Short? = null @Required() open var SMSNotificationTime:Short? = null @Required() open var Id:UUID? = null } open class PaymentSettings : BaseModel(), IBaseModelUpdated { @Ignore() open var AdminPaymentOption:AdminPaymentOptions? = null @Ignore() open var AdminPaymentOptions:ArrayList = ArrayList() @Ignore() open var PaymentProviderOptions:ArrayList = ArrayList() @Required() open var Id:UUID? = null @Required() open var Enabled:Boolean? = null @Required() open var RefundOnCancelBooking:Boolean? = null open var DefaultPaymentOptionId:Int? = null @Required() open var PaymentProviderId:Int? = null override var UpdatedDate:Date? = null } open class CompanySetting : BaseModel() { @Ignore() open var Languages:ArrayList = ArrayList() @Required() open var Active:Boolean? = null open var InactiveMessage:String? = null @Required() open var Searchable:Boolean? = null open var GATrackingId:String? = null open var FacebookPixelId:String? = null @Required() open var MultiLanguage:Boolean? = null @Required() open var EnableAPITranslation:Boolean? = null @Required() open var DefaultLanguage:String? = null open var ModifiedDate:Date? = null open var GTMTrackingId:String? = null @Required() open var ShowOnMarketPlace:Boolean? = null open var GoogleAdsConversionId:String? = null open var LinkedinTagId:String? = null open var GoogleAdsConversionLabel:String? = null open var SendCustomerInformationToExternalProviders:Boolean? = null @Required() open var Id:UUID? = null open var IsWebhookFeatureEnabled:Boolean? = null open var SmsMessageSendLimit:Int? = null open var EmailMessageSendLimit:Int? = null } open class HomepageWidgetSetting : BaseModel() { @Ignore() open var WidgetServiceLayoutOptions:ArrayList = ArrayList() @Ignore() open var WidgetTimeLayoutOptions:ArrayList = ArrayList() @Ignore() open var WidgetBookingLayoutOptions:ArrayList = ArrayList() @Ignore() open var WidgetBookingMethodOptions:ArrayList = ArrayList() @Required() open var ServiceLayoutId:Int? = null @Required() open var TimeLayoutId:Int? = null @Required() open var BookingLayoutId:Int? = null @Required() open var PrimaryColor:String? = null @Required() open var ShowServiceImage:Boolean? = null @Required() open var ShowNextAvailableTime:Boolean? = null @Required() open var ShowEndTime:Boolean? = null open var BookedTimeSlotText:String? = null @Required() open var DarkTheme:Boolean? = null @Required() open var ShowRebateCodeField:Boolean? = null open var ModifiedDate:Date? = null @Required() open var EnableCreateAccount:Boolean? = null @Required() open var EnableLogin:Boolean? = null @Required() open var EnableDirectBooking:Boolean? = null @Required() open var EnableFacebookLogin:Boolean? = null @Required() open var ShowSubscribeToNewsletter:Boolean? = null @Required() open var Id:UUID? = null } open class HomepageSetting : BaseModel(), ICompany { @Ignore() open var HomepageTemplateOptions:ArrayList = ArrayList() @Ignore() open var HomepageHeroSectionStyleOptions:ArrayList = ArrayList() @Ignore() override var CompanyId:UUID? = null open var WelcomePageHeading:String? = null open var WelcomePageBody:String? = null open var AboutUsPageHeading:String? = null open var AboutUsPageBody:String? = null @Required() open var HomePageTemplateId:Int? = null open var ImageUrl:String? = null @Required() open var Updated:Date? = null @Required() open var Created:Date? = null open var HomepageHeading:String? = null @Required() open var HeroSectionStyleId:Int? = null open var ModifiedDate:Date? = null @Required() open var ShowRating:Boolean? = null @Required() open var EnableHomepage:Boolean? = null @Required() open var Id:UUID? = null } open class AverageRatingScore { open var AverageScore:Double? = null open var Score1Count:Int? = null open var Score2Count:Int? = null open var Score3Count:Int? = null open var Score4Count:Int? = null open var Score5Count:Int? = null open var Count:Int? = null } open class CustomApiResult { open var Data:TResult? = null open var Success:Boolean? = null open var ErrorMessage:String? = null open var StatusCode:HttpStatusCode? = null open var RawResponse:String? = null } @DataContract(Name="CustomerResult") open class CustomerResult { @DataMember(Name="countryCode") @SerializedName("countryCode") open var CountryCode:CountryCodeEnum? = null @DataMember(Name="id", IsRequired=true) @SerializedName("id") open var Id:UUID? = null @DataMember(Name="name", IsRequired=true) @SerializedName("name") open var Name:String? = null @DataMember(Name="customerNumber") @SerializedName("customerNumber") open var CustomerNumber:Int? = null @DataMember(Name="organizationNumber") @SerializedName("organizationNumber") open var OrganizationNumber:String? = null @DataMember(Name="email") @SerializedName("email") open var Email:String? = null @DataMember(Name="careOf") @SerializedName("careOf") open var CareOf:String? = null @DataMember(Name="address") @SerializedName("address") open var Address:String? = null @DataMember(Name="postalCode") @SerializedName("postalCode") open var PostalCode:String? = null @DataMember(Name="city") @SerializedName("city") open var City:String? = null @DataMember(Name="electronicInvoiceOperatorCode") @SerializedName("electronicInvoiceOperatorCode") open var ElectronicInvoiceOperatorCode:String? = null @DataMember(Name="electronicInvoiceAddress") @SerializedName("electronicInvoiceAddress") open var ElectronicInvoiceAddress:String? = null @DataMember(Name="customerGroup") @SerializedName("customerGroup") open var CustomerGroup:Int? = null @DataMember(Name="contactPerson") @SerializedName("contactPerson") open var ContactPerson:CustomerContactPersonDto? = null @DataMember(Name="targetGroups", EmitDefaultValue=false) @SerializedName("targetGroups") open var TargetGroups:ArrayList = ArrayList() @DataMember(Name="expiryDate") @SerializedName("expiryDate") open var ExpiryDate:Date? = null @DataMember(Name="created", IsRequired=true) @SerializedName("created") open var Created:Date? = null @DataMember(Name="externalId") @SerializedName("externalId") open var ExternalId:String? = null } open class CompanyOwner : BaseModel() { open var Company:Company? = null open var Id:Int? = null @Required() open var Name:String? = null open var Description:String? = null open var LogoTypeUrl:String? = null @Required() open var BillingCompanyId:UUID? = null open var ModifiedDate:Date? = null } open class KeyCloakRole { open var Id:UUID? = null open var Name:String? = null } interface IUser { var Id:UUID? var UserId:UUID? var Email:String? var Firstname:String? var Lastname:String? var Phone: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 } open class LicensePrice : BaseModel() { @Ignore() open var Country:Country? = null @Required() open var LicenseTypeId:Int? = null @Required() open var CountryId:String? = null @Required() open var Price:Int? = null open var ModifiedDate:Date? = null open var LicensePlanId:Int? = null } open class LicenseTypeItem : BaseModel() { @Ignore() open var Name:String? = null @Ignore() open var LicenseType:LicenseTypes? = null @Required() open var LicenseTypesId:Int? = null @Required() open var LicenseItemsId:Int? = null @Required() open var NumberOfItems:Int? = null open var Id: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 = 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 CaseAttachmentRelation : BaseModel() { @Required() open var CompanyId:UUID? = null @Required() open var CaseAttachmentId:Int? = null @Required() open var SupportCaseId:Int? = null open var Id:Int? = null open var ModifiedDate:Date? = null } open class TierResponse { open var Id:UUID? = null open var Name:String? = null open var ProductGroups:ArrayList = ArrayList() } open class ScheduleView : BaseModel() { @Required() open var Name:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class WeekNumberSetting : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class BookingTemplate : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var UsedByApplication:String? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class CalendarType : BaseModel() { @Required() open var Name: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 FreeSpotTexts : BaseModel() { @Required() open var TextSingular:String? = null @Required() open var TextPlural:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class CodeLockSystem : BaseModel() { @Required() open var Name:String? = null @Required() open var Supplier:String? = null open var LogoType:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class AdminPaymentOptions : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class PaymentProviders : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Category:String? = null open var Url:String? = null @Required() open var Active:Boolean? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class WidgetServiceLayouts : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Code:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class WidgetTimeLayouts : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Code:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class WidgetBookingLayouts : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Code:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class WidgetBookingMethods : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null @Required() open var Code:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } open class HomepageTemplate : BaseModel() { @Required() open var Name:String? = null @Required() open var Description:String? = null open var ImageUrl:Uri? = null @Required() open var Premium:Boolean? = null open var ModifiedDate:Date? = null open var Id:Int? = null } open class HeroSectionStyle : BaseModel() { @Required() open var Name:String? = null open var Description:String? = null open var ModifiedDate:Date? = null @Required() open var Id:Int? = null } enum class CountryCodeEnum { Ad, Ae, Af, Ag, Ai, Al, Am, Ao, Aq, Ar, As, At, Au, Aw, Ax, Az, Ba, Bb, Bd, Be, Bf, Bg, Bh, Bi, Bj, Bl, Bm, Bn, Bo, Bq, Br, Bs, Bt, Bv, Bw, By, Bz, Ca, Cc, Cd, Cf, Cg, Ch, Ci, Ck, Cl, Cm, Cn, Co, Cr, Cu, Cv, Cw, Cx, Cy, Cz, De, Dj, Dk, Dm, Do, Dz, Ec, Ee, Eg, Eh, Er, Es, Et, Fi, Fj, Fk, Fm, Fo, Fr, Ga, Gb, Gd, Ge, Gf, Gg, Gh, Gi, Gl, Gm, Gn, Gp, Gq, Gr, Gs, Gt, Gu, Gw, Gy, Hk, Hm, Hn, Hr, Ht, Hu, Id, Ie, Il, Im, In, Io, Iq, Ir, Is, It, Je, Jm, Jo, Jp, Ke, Kg, Kh, Ki, Km, Kn, Kp, Kr, Kw, Ky, Kz, La, Lb, Lc, Li, Lk, Lr, Ls, Lt, Lu, Lv, Ly, Ma, Mc, Md, Me, Mf, Mg, Mh, Mk, Ml, Mm, Mn, Mo, Mp, Mq, Mr, Ms, Mt, Mu, Mv, Mw, Mx, My, Mz, Na, Nc, Ne, Nf, Ng, Ni, Nl, No, Np, Nr, Nu, Nz, Om, Pa, Pe, Pf, Pg, Ph, Pk, Pl, Pm, Pn, Pr, Ps, Pt, Pw, Py, Qa, Re, Ro, Rs, Ru, Rw, Sa, Sb, Sc, Sd, Se, Sg, Sh, Si, Sj, Sk, Sl, Sm, Sn, So, Sr, Ss, St, Sv, Sx, Sy, Sz, Tc, Td, Tf, Tg, Th, Tj, Tk, Tl, Tm, Tn, To, Tr, Tt, Tv, Tw, Tz, Ua, Ug, Um, Us, Uy, Uz, Va, Vc, Ve, Vg, Vi, Vn, Vu, Wf, Ws, Ye, Yt, Za, Zm, Zw, } @DataContract(Name="CustomerContactPersonDto") open class CustomerContactPersonDto { @DataMember(Name="email", IsRequired=true) @SerializedName("email") open var Email:String? = null @DataMember(Name="firstName", IsRequired=true) @SerializedName("firstName") open var FirstName:String? = null @DataMember(Name="lastName", IsRequired=true) @SerializedName("lastName") open var LastName:String? = null @DataMember(Name="phoneNumber") @SerializedName("phoneNumber") open var PhoneNumber:String? = null } @DataContract(Name="CustomerTargetGroupDto") open class CustomerTargetGroupDto { @DataMember(Name="id", IsRequired=true) @SerializedName("id") open var Id:UUID? = null @DataMember(Name="name", IsRequired=true) @SerializedName("name") open var Name:String? = null @DataMember(Name="isDefault") @SerializedName("isDefault") open var IsDefault:Boolean? = null @DataMember(Name="externalId") @SerializedName("externalId") open var ExternalId:String? = null } open class ProductGroupResponse { open var Id:UUID? = null open var Name:String? = null open var TierId:UUID? = null } open class SupportCaseQueryResponse { /** * The support case id */ @ApiMember(Description="The support case id") open var Id:Int? = null /** * The company user id */ @ApiMember(Description="The company user id") open var CompanyUserId:UUID? = null /** * The case title. */ @ApiMember(Description="The case title.") open var Title:String? = null /** * The case description. */ @ApiMember(Description="The case description.") open var Description:String? = null /** * The case status id. */ @ApiMember(Description="The case status id.") open var CaseStatusId:Int? = null /** * If the case type id. */ @ApiMember(Description="If the case type id.") open var CaseTypeId:Int? = null /** * If the case area id. */ @ApiMember(Description="If the case area id.") open var CaseAreaId:Int? = null /** * The case created by. */ @ApiMember(Description="The case created by.") open var CreatedBy:String? = null /** * The case updated by. */ @ApiMember(Description="The case updated by.") open var UpdatedBy:String? = null /** * The case solved by. */ @ApiMember(Description="The case solved by.") open var SolvedBy:String? = null /** * If case updated date. */ @ApiMember(Description="If case updated date.") open var Updated:Date? = null /** * If case created date. */ @ApiMember(Description="If case created date.") open var Created:Date? = null /** * Who owns the support case. */ @ApiMember(Description="Who owns the support case.") open var CaseOwner:String? = null /** * The case status information. */ @ApiMember(Description="The case status information.") open var CaseStatus:SupportCaseStatusResponse? = null /** * The case type information. */ @ApiMember(Description="The case type information.") open var CaseType:SupportCaseTypeResponse? = null /** * The case area information. */ @ApiMember(Description="The case area information.") open var CaseArea:SupportCaseAreaResponse? = null /** * The case comments. */ @ApiMember(Description="The case comments.") open var Comments:ArrayList = ArrayList() /** * The case attachments. */ @ApiMember(Description="The case attachments.") open var Attachments:ArrayList = ArrayList() /** * The case status options to select from. */ @ApiMember(Description="The case status options to select from.") open var CaseStatusOptions:ArrayList = ArrayList() /** * The case type options to select from. */ @ApiMember(Description="The case type options to select from.") open var CaseTypeOptions:ArrayList = ArrayList() /** * The case area options to select from. */ @ApiMember(Description="The case area options to select from.") open var CaseAreaOptions:ArrayList = ArrayList() } open class SupportCaseCommentsResponse { /** * The case id */ @ApiMember(Description="The case id") open var SupportCaseId:Int? = null /** * The comments id */ @ApiMember(Description="The comments id") open var Id:Int? = null /** * The case comment */ @ApiMember(Description="The case comment") open var Comment:String? = null /** * The case comment created by */ @ApiMember(Description="The case comment created by") open var CreatedBy:String? = null /** * The case comment created date */ @ApiMember(Description="The case comment created date") open var Created:Date? = null } open class SupportCaseAttachmentResponse { /** * The attachment id */ @ApiMember(Description="The attachment id") open var Id:Int? = null /** * The attachment file url */ @ApiMember(Description="The attachment file url") open var FileUrl:String? = null }