/* Options: Date: 2024-11-21 11:54:24 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SuperAdminSupportCaseQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/superadmin/support/cases", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class SuperAdminSupportCaseQuery : 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.") 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") var Active:Boolean? = null /** * Support Case Id */ @ApiMember(DataType="int", Description="Support Case Id", ParameterType="query") 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") 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") 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") 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") 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") 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") 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") 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") 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") var IncludeCaseAreaOptions:Boolean? = null var ResponseStatus:ResponseStatus? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = SuperAdminSupportCaseQuery.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) var Offset:Int? = null @DataMember(Order=2) var Total:Int? = null @DataMember(Order=3) var Results:ArrayList = ArrayList() @DataMember(Order=4) var Meta:HashMap = HashMap() @DataMember(Order=5) var ResponseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open 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), } open interface IInterval { var From:Date? var To:Date? } open class CompanyCategory : BaseModel() { @Required() var Name:String? = null @Required() var Header:String? = null @Required() var Description:String? = null var ImageUrl:Uri? = null @Required() var Active:Boolean? = null var SortOrder:Int? = null var ModifiedDate:Date? = null var Id:Int? = null } open class CompanyType : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class Company : BaseModel() { @Ignore() var Status:CompanyStatus? = null @Ignore() var Active:Boolean? = null @Ignore() var CustomerCustomFieldsConfig:IList? = null @Ignore() var BookingAgreements:String? = null @Ignore() var BookingSettings:BookingSettings? = null @Ignore() var CompanyType:CompanyType? = null @Ignore() var CodeLockSettings:CodeLockSetting? = null @Ignore() var PaymentSettings:PaymentSetting? = null @Ignore() var Settings:CompanySetting? = null @Ignore() var WidgetSettings:HomepageWidgetSetting? = null @Ignore() var HomepageSettings:HomepageSetting? = null @Ignore() var RatingScore:AverageRatingScore? = null @Ignore() var Ratings:ArrayList = ArrayList() @Ignore() var Distance:Double? = null @Ignore() var Licenses:ArrayList = ArrayList() @Ignore() var ActiveLicenses:ArrayList = ArrayList() @Ignore() var CurrentLicense:License? = null @Ignore() var IsFreeAccount:Boolean? = null @Ignore() var DefaultLanguage:CultureInfo? = null var Category:CompanyCategory? = null @Ignore() var Lat:Double? = null @Ignore() var Lon:Double? = null @Ignore() var IsFavorite:Boolean? = null @Ignore() var ExternalReferences:IList? = null @Required() var OrganisationNumber:String? = null @Required() var StatusId:Int? = null @Required() var CategoryId:Int? = null @Required() var SitePath:String? = null @Required() var Name:String? = null var Street1:String? = null var Street2:String? = null var ZipCode:String? = null var City:String? = null var OpeningHours:String? = null var FaxNumber:String? = null @Required() var Email:String? = null var Phone:String? = null var Details:String? = null var LogoType:String? = null @Required() var ApprovedByAdmin:Boolean? = null @Required() var Updated:Date? = null @Required() var Created:Date? = null var IpAddress:String? = null var Homepage:String? = null var DomainName:String? = null @Required() var CountryId:String? = null @Required() var CompanyOwnerId:Int? = null var TypeId:Int? = null var ModifiedDate:Date? = null @Required() var Id:UUID? = null } open class CompanyUser : BaseModel(), IUser, IBaseModelCreated, IBaseModelUpdated { var Resource:Resource? = null @Ignore() var Roles:ArrayList = ArrayList() var Email:String? = null var ResourceId:Int? = null var WorkerId:String? = null @Required() var Active:Boolean? = null @Required() var IsSuperAdmin:Boolean? = null @Required() var CreatedDate:Date? = null @Required() var UpdatedDate:Date? = null var ModifiedDate:Date? = null @Required() var CompanyId:UUID? = null @Required() var Id:UUID? = null var UserId:UUID? = null var Firstname:String? = null var Lastname:String? = null var Phone:String? = null } open class Country : BaseModel() { @References(Currency.class) var CurrencyId:String? = null var CurrencyInfo:Currency? = null @Required() var Name:String? = null var Culture:String? = null var TimeZone:String? = null var ModifiedDate:Date? = null @Required() var Id:String? = null } open class Currency : BaseModel() { @Required() var Name:String? = null @Required() var CurrencySign:String? = null @Required() var Active:Boolean? = null var ModifiedDate:Date? = null @Required() var Id:String? = null } open class CustomFieldConfig : BaseModel() { @Ignore() var Values:ArrayList = ArrayList() var CustomField:CustomField? = null @Ignore() var RegEx:RegEx? = null @Ignore() var Services:ArrayList = ArrayList() var CustomFieldServiceRelation:ArrayList = ArrayList() @Required() var CompanyId:UUID? = null var Id:Int? = null var GroupId:Int? = null @Required() var FieldId:Int? = null @Required() var IconId:Int? = null var RegExId:Int? = null @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Datatype:String? = null @Required() var MaxLength:Int? = null @Required() var IsPublic:Boolean? = null @Required() var IsHidden:Boolean? = null @Required() var IsMandatory:Boolean? = null var DefaultValue:String? = null var RegExErrorMessage:String? = null var MandatoryErrorMessage:String? = null var Width:Int? = null @Required() var MultipleLineText:Boolean? = null var ModifiedDate:Date? = null } open class License : BaseModel() { var Type:LicenseType? = null @Required() var CompanyId:UUID? = null var Id:Int? = null @Required() var TypeId:Int? = null @Required() var ValidFrom:Date? = null @Required() var ValidTo:Date? = null @Required() var Active:Boolean? = null @Required() var Updated:Date? = null @Required() var Created:Date? = null var ModifiedDate:Date? = null var MetaData:String? = null } open class LicenseType : BaseModel() { @Ignore() var LicenseItems:IList? = null @Ignore() var Prices:IList? = null @Ignore() var PeriodOfNoticeDays:Int? = null @Ignore() var NextLicenseOption:LicenseType? = null @Required() var Name:String? = null @Required() var Description:String? = null @Required() var ExtraLicenseOption:Boolean? = null var ModifiedDate:Date? = null var Active:Boolean? = null var Id:Int? = null } open class Rating : BaseModel() { var ReviewId:UUID? = null var Review:Review? = null @Required() var CompanyId:UUID? = null @Required() var BookingId:Int? = null @Required() var RatingScore:Int? = null @Required() var Status:Int? = null @Required() var Created:Date? = null @Required() var Updated:Date? = null var ModifiedDate:Date? = null } open class Review : BaseModel() { var ReviewId:UUID? = null @Required() var CompanyId:UUID? = null @Required() var Title:String? = null @Required() var Description:String? = null @Required() var Author:String? = null @Required() var Status:Int? = null @Required() var Created:Date? = null @Required() var Updated:Date? = null var ModifiedDate:Date? = null var ReviewAnswer:String? = null } open class ExternalReference : BaseModel() { @Required() var CompanyId:UUID? = null @Required() var Id:UUID? = null @Required() var OwnerId:UUID? = null @Required() var ReferenceType:String? = null var ExternalData:String? = null var CreatedBy:String? = null @Required() var Updated:Date? = null @Required() var Created:Date? = null var ModifiedDate:Date? = null } open class Resource : BaseModel(), ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated { @Ignore() var Priority:Int? = null @Ignore() var Schedules:IList? = null @Ignore() var Exceptions:IList? = null @Ignore() var Bookings:IList? = null @Ignore() var CustomFieldsConfig:IList? = null @Ignore() var CustomFieldsData:IList? = null @Required() var CompanyId:UUID? = null var Id:Int? = null @Required() var Name:String? = null @Required() var Active:Boolean? = null var Description:String? = null var ImageUrl:String? = null @Required() var UpdatedDate:Date? = null @Required() var CreatedDate:Date? = null @Required() var Color:String? = null var Email:String? = null var MobilePhone:String? = null var EmailNotification:Boolean? = null var SMSNotification:Boolean? = null @Required() var SendSMSReminder:Boolean? = null @Required() var SendEmailReminder:Boolean? = null var ModifiedDate:Date? = null var AccessGroup:String? = null var TextField1:String? = null var TextField2:String? = null var TextField3:String? = null var TextField4:String? = null var TextField5:String? = null var TextField6:String? = null var TextField7:String? = null var TextField8:String? = null var TextField9:String? = null var TextField10:String? = null var TextField11:String? = null var TextField12:String? = null var TextField13:String? = null var TextField14:String? = null var TextField15:String? = null var TextField16:String? = null var TextField17:String? = null var TextField18:String? = null var TextField19:String? = null var TextField20:String? = null } open class CaseStatus : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Color:String? = null @Required() var Icon:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class SupportCaseStatusResponse { /** * The status id */ @ApiMember(Description="The status id") var Id:Int? = null /** * The status name */ @ApiMember(Description="The status name") var Name:String? = null /** * The status description */ @ApiMember(Description="The status description") var Description:String? = null /** * The status icon */ @ApiMember(Description="The status icon") var Icon:String? = null /** * The status color */ @ApiMember(Description="The status color") var Color:String? = null } open class CaseType : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class SupportCaseTypeResponse { /** * The type id */ @ApiMember(Description="The type id") var Id:Int? = null /** * The type name */ @ApiMember(Description="The type name") var Name:String? = null /** * The type description */ @ApiMember(Description="The type description") var Description:String? = null } open class CaseArea : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class SupportCaseAreaResponse { /** * The area id */ @ApiMember(Description="The area id") var Id:Int? = null /** * The area name */ @ApiMember(Description="The area name") var Name:String? = null /** * The area description */ @ApiMember(Description="The area description") var Description:String? = null } open class CaseComment : BaseModel() { @Required() var CompanyId:UUID? = null @Required() var SupportCaseId:Int? = null var Id:Int? = null @Required() var Comment:String? = null @Required() var Deleted:Boolean? = null @Required() var CreatedBy:String? = null @Required() var Created:Date? = null var ModifiedDate:Date? = null } open class CaseAttachment : BaseModel() { @Required() var CompanyId:UUID? = null var Id:Int? = null @Required() var FileUrl:String? = null var ModifiedDate:Date? = null } open class SupportCase : BaseModel() { @References(CaseArea.class) var CaseAreaId:Int? = null var CaseArea:CaseArea? = null @References(CaseType.class) var CaseTypeId:Int? = null var CaseType:CaseType? = null @References(CaseStatus.class) var CaseStatusId:Int? = null var CaseStatus:CaseStatus? = null @Ignore() var Comments:IList? = null @Ignore() var CaseAreaOptions:IList? = null @Ignore() var CaseTypeOptions:IList? = null @Ignore() var CaseStatusOptions:IList? = null @Ignore() var Attachments:IList? = null var AttachmentRelation:ArrayList = ArrayList() var CompanyUser:CompanyUser? = null var Company:Company? = null @Ignore() var Active:Boolean? = null @Required() var CompanyId:UUID? = null var Id:Int? = null var CompanyUserId:UUID? = null @Required() var Title:String? = null @Required() var Description:String? = null @Required() var CreatedBy:String? = null @Required() var UpdatedBy:String? = null var SolvedBy:String? = null @Required() var Updated:Date? = null @Required() var Created:Date? = null var CaseOwner:String? = null var ModifiedDate:Date? = null } open class CustomFieldDataResponse { var Id:Int? = null var Column:String? = null var Name:String? = null var Description:String? = null 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'") var DataType:String? = null } open class BookedCustomer { var Id:UUID? = null var Firstname:String? = null var Lastname:String? = null var Email:String? = null var Phone:String? = null var FacebookUserName:String? = null var ImageUrl:String? = null var CorporateIdentityNumber:String? = null var InvoiceAddress1:String? = null var InvoiceAddress2:String? = null var InvoiceCity:String? = null var InvoicePostalCode:String? = null var InvoiceCountryCode:String? = null } enum class ScheduleType { NotDefined, RecurringSchedule, DateSchedule, } open class BookingStatusOptions { var Id:Int? = null var Name:String? = null var Description:String? = null } open class LanguageResponse { var Id:String? = null 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) 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) 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) 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) 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) var Include:String? = null @DataMember(Order=6) var Fields:String? = null @DataMember(Order=7) var Meta:HashMap = HashMap() } open class BaseModel { } open interface IBaseModelCreated { var CreatedDate:Date? } open interface IBaseModelUpdated { var UpdatedDate:Date? } open 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(FreeSpotTexts.class) var FreeSpotTextsId:Int? = null @Ignore() var SendEmailConfirmation:Boolean? = null @Ignore() var ScheduleViewOptions:ArrayList = ArrayList() @Ignore() var WeekNumberSettingOptions:ArrayList = ArrayList() @Ignore() var BookingTemplateOptions:ArrayList = ArrayList() @Ignore() var CalendarTypeOptions:ArrayList = ArrayList() @Ignore() var FreeSpotTextOptions:ArrayList = ArrayList() @Ignore() var BookingStatusOptions:ArrayList = ArrayList() var FreeSpotTextsInfo:FreeSpotTexts? = null @Ignore() var FreeSpotsTextSingular:String? = null @Ignore() var FreeSpotsTextPlural:String? = null @Required() var BookingStatusId:Int? = null @Required() var ScheduleViewId:Int? = null @Required() var BookingTemplateId:Int? = null @Required() var CalendarTypeId:Int? = null @Required() var AllowBookingOnUnbookedTimes:Boolean? = null @Required() var SendEmailReminder:Boolean? = null @Required() var SendSmsReminder:Boolean? = null @Required() var SendSmsConfirmation:Boolean? = null @Required() var EmailReminderTime:Int? = null @Required() var SmsReminderTime:Int? = null @Required() var MaxActiveBookings:Int? = null @Required() var SendNotifications:Boolean? = null var SendNotificationsEmail:String? = null @Required() var EnableMobileApp:Boolean? = null var ScheduleStartTime:TimeSpan? = null var ScheduleEndTime:TimeSpan? = null var ReceiptTemplate:String? = null @Required() var ScheduleTimeSlotMinutes:Int? = null @Required() var ShowFreeTimesLeft:Boolean? = null @Required() var EnableICalGroupBookings:Boolean? = null var AgreementTemplate:String? = null @Required() var ScheduleShowTimeExeptions:Boolean? = null @Required() var EnableBookingsOnSameTime:Boolean? = null @Required() var ShowWeekNumberSettingId:Int? = null @Required() var EnableShowBookedTimes:Boolean? = null @Required() var EnableSendFollowUpMessage:Boolean? = null @Required() var FollowUpMessageTime:Int? = null var MessageText:String? = null @Required() var ScheduleGroupResources:Boolean? = null @Required() var BookSpotUserResponseMinutes:Int? = null @Required() var IsBookSpotDirectly:Boolean? = null @Required() var BookSpotDirectlyTimeLeftMinutes:Int? = null @Required() var SendEmailNotificationQueue:Boolean? = null @Required() var SendSMSNotificationQueue:Boolean? = null @Required() var SchedulerDisableHorizontalScrolling:Boolean? = null @Required() var BookOnlyOnExistingCustomers:Boolean? = null @Required() var AutoGenerateUniquePinCode:Boolean? = null @Required() var WeightedPrices:Boolean? = null var ModifiedDate:Date? = null @Required() var AutoCreateUserProfile:Boolean? = null var ShowMultipleResourcesAsOne:Boolean? = null var ShowMultiDayAsTime:Boolean? = null @Required() var Id:UUID? = null } open class CodeLockSetting : BaseModel() { @Ignore() var CodeLockSystemOptions:ArrayList = ArrayList() @Required() var Active:Boolean? = null @Required() var CodeLockSystemsId:Int? = null @Required() var ValidBeforeMinutes:Int? = null @Required() var ValidAfterMinutes:Int? = null @Required() var DeleteOldBySchedule:Boolean? = null @Required() var Created:Date? = null @Required() var Updated:Date? = null var ModifiedDate:Date? = null @Required() var SendEmailNotification:Boolean? = null @Required() var SendSMSNotification:Boolean? = null @Required() var EmailNotificationTime:Short? = null @Required() var SMSNotificationTime:Short? = null @Required() var Id:UUID? = null } open class PaymentSetting : BaseModel() { var AdminPaymentOption:AdminPaymentOptions? = null @Ignore() var AdminPaymentOptions:ArrayList = ArrayList() @Ignore() var PaymentProviderOptions:ArrayList = ArrayList() @Required() var Enabled:Boolean? = null @Required() var InvoiceFee:Int? = null @Required() var AllowCreditCardPayment:Boolean? = null @Required() var AllowInvoicePayment:Boolean? = null @Required() var AllowBankPayment:Boolean? = null @Required() var GuaranteeOffered:Boolean? = null @Required() var RefundOnCancelBooking:Boolean? = null var DefaultPaymentOptionId:Int? = null @Required() var PaymentProviderId:Int? = null @Required() var SendPaymentRequestDirectly:Boolean? = null var ModifiedDate:Date? = null @Required() var Id:UUID? = null } open class CompanySetting : BaseModel() { @Ignore() var Languages:ArrayList = ArrayList() @Required() var Active:Boolean? = null var InactiveMessage:String? = null @Required() var Searchable:Boolean? = null var GATrackingId:String? = null var FacebookPixelId:String? = null @Required() var MultiLanguage:Boolean? = null @Required() var EnableAPITranslation:Boolean? = null @Required() var DefaultLanguage:String? = null var ModifiedDate:Date? = null var GTMTrackingId:String? = null @Required() var ShowOnMarketPlace:Boolean? = null var GoogleAdsConversionId:String? = null var LinkedinTagId:String? = null var GoogleAdsConversionLabel:String? = null var SendCustomerInformationToExternalProviders:Boolean? = null @Required() var Id:UUID? = null } open class HomepageWidgetSetting : BaseModel() { @Ignore() var WidgetServiceLayoutOptions:ArrayList = ArrayList() @Ignore() var WidgetTimeLayoutOptions:ArrayList = ArrayList() @Ignore() var WidgetBookingLayoutOptions:ArrayList = ArrayList() @Ignore() var WidgetBookingMethodOptions:ArrayList = ArrayList() @Required() var ServiceLayoutId:Int? = null @Required() var TimeLayoutId:Int? = null @Required() var BookingLayoutId:Int? = null @Required() var PrimaryColor:String? = null @Required() var ShowServiceImage:Boolean? = null @Required() var ShowNextAvailableTime:Boolean? = null @Required() var ShowEndTime:Boolean? = null var BookedTimeSlotText:String? = null @Required() var DarkTheme:Boolean? = null @Required() var ShowRebateCodeField:Boolean? = null var ModifiedDate:Date? = null @Required() var EnableCreateAccount:Boolean? = null @Required() var EnableLogin:Boolean? = null @Required() var EnableDirectBooking:Boolean? = null @Required() var EnableFacebookLogin:Boolean? = null @Required() var ShowSubscribeToNewsletter:Boolean? = null @Required() var Id:UUID? = null } open class HomepageSetting : BaseModel(), ICompany { @Ignore() var HomepageTemplateOptions:ArrayList = ArrayList() @Ignore() var HomepageHeroSectionStyleOptions:ArrayList = ArrayList() @Ignore() var CompanyId:UUID? = null var WelcomePageHeading:String? = null var WelcomePageBody:String? = null var AboutUsPageHeading:String? = null var AboutUsPageBody:String? = null @Required() var HomePageTemplateId:Int? = null var ImageUrl:String? = null @Required() var Updated:Date? = null @Required() var Created:Date? = null var HomepageHeading:String? = null @Required() var HeroSectionStyleId:Int? = null var ModifiedDate:Date? = null @Required() var ShowRating:Boolean? = null @Required() var EnableHomepage:Boolean? = null @Required() var Id:UUID? = null } open class AverageRatingScore { var AverageScore:Double? = null var Score1Count:Int? = null var Score2Count:Int? = null var Score3Count:Int? = null var Score4Count:Int? = null var Score5Count:Int? = null var Count:Int? = null } open class KeyCloakRole { var Id:UUID? = null var Name:String? = null } open 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() var CompanyId:UUID? = null var Id:Int? = null @Required() var Value:String? = null @Required() var Active:Boolean? = null var SortOrder:Short? = null var ModifiedDate:Date? = null } open class CustomField : BaseModel() { @Required() var Table:String? = null @Required() var Column:String? = null @Required() var DataType:String? = null @Required() var Description:String? = null @Required() var Active:Boolean? = null var ModifiedDate:Date? = null var Id:Int? = null } open class RegEx : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var RegExCode:String? = null var ErrorMessage:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class CustomFieldServiceRelation : BaseModel() { @Required() var CompanyId:UUID? = null var Id:Int? = null @Required() var CustomFieldConfigId:Int? = null @Required() var ServiceId:Int? = null var ModifiedDate:Date? = null } open class LicensePrice : BaseModel() { @Ignore() var Country:Country? = null @Ignore() var MonthlyPayment:Boolean? = null @Required() var LicenseTypeId:Int? = null @Required() var CountryId:String? = null @Required() var Price:Int? = null var ModifiedDate:Date? = null } open class LicenseTypeItem : BaseModel() { @Ignore() var Name:String? = null @Ignore() var LicenseType:LicenseType? = null @Required() var LicenseTypesId:Int? = null @Required() var LicenseItemsId:Int? = null @Required() var NumberOfItems:Int? = null var Id:Int? = null var ModifiedDate:Date? = null } open interface ISchedule { var Resources:IList? var Type:ScheduleType? var Active:Boolean? var IsResourceSpecific:Boolean? } open interface ITimeException : IInterval { var Id:Int? var ReasonText:String? var IsBlock:Boolean? var ReasonTextPublic:String? var IsRecurring:Boolean? var ResourceIds:ArrayList? } open 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() var CompanyId:UUID? = null @Required() var CaseAttachmentId:Int? = null @Required() var SupportCaseId:Int? = null var Id:Int? = null var ModifiedDate:Date? = null } open class ScheduleView : BaseModel() { @Required() var Name:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class WeekNumberSetting : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class BookingTemplate : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var UsedByApplication:String? = null var ModifiedDate:Date? = null var Id:Int? = null } open class CalendarType : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Active:Boolean? = null var ModifiedDate:Date? = null var Id:Int? = null } open class FreeSpotTexts : BaseModel() { @Required() var TextSingular:String? = null @Required() var TextPlural:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class CodeLockSystem : BaseModel() { @Required() var Name:String? = null @Required() var Supplier:String? = null var LogoType:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class AdminPaymentOptions : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class PaymentProviders : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Category:String? = null var Url:String? = null @Required() var Active:Boolean? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class WidgetServiceLayouts : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Code:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class WidgetTimeLayouts : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Code:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class WidgetBookingLayouts : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Code:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class WidgetBookingMethods : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null @Required() var Code:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } open class HomepageTemplate : BaseModel() { @Required() var Name:String? = null @Required() var Description:String? = null var ImageUrl:Uri? = null @Required() var Premium:Boolean? = null var ModifiedDate:Date? = null var Id:Int? = null } open class HeroSectionStyle : BaseModel() { @Required() var Name:String? = null var Description:String? = null var ModifiedDate:Date? = null @Required() var Id:Int? = null } enum class Currency(val value:Int) { Sek(1), Eur(2), } open class SupportCaseQueryResponse { /** * The support case id */ @ApiMember(Description="The support case id") var Id:Int? = null /** * The company user id */ @ApiMember(Description="The company user id") var CompanyUserId:UUID? = null /** * The case title. */ @ApiMember(Description="The case title.") var Title:String? = null /** * The case description. */ @ApiMember(Description="The case description.") var Description:String? = null /** * The case status id. */ @ApiMember(Description="The case status id.") var CaseStatusId:Int? = null /** * If the case type id. */ @ApiMember(Description="If the case type id.") var CaseTypeId:Int? = null /** * If the case area id. */ @ApiMember(Description="If the case area id.") var CaseAreaId:Int? = null /** * The case created by. */ @ApiMember(Description="The case created by.") var CreatedBy:String? = null /** * The case updated by. */ @ApiMember(Description="The case updated by.") var UpdatedBy:String? = null /** * The case solved by. */ @ApiMember(Description="The case solved by.") var SolvedBy:String? = null /** * If case updated date. */ @ApiMember(Description="If case updated date.") var Updated:Date? = null /** * If case created date. */ @ApiMember(Description="If case created date.") var Created:Date? = null /** * Who owns the support case. */ @ApiMember(Description="Who owns the support case.") var CaseOwner:String? = null /** * The case status information. */ @ApiMember(Description="The case status information.") var CaseStatus:SupportCaseStatusResponse? = null /** * The case type information. */ @ApiMember(Description="The case type information.") var CaseType:SupportCaseTypeResponse? = null /** * The case area information. */ @ApiMember(Description="The case area information.") var CaseArea:SupportCaseAreaResponse? = null /** * The case comments. */ @ApiMember(Description="The case comments.") var Comments:ArrayList = ArrayList() /** * The case attachments. */ @ApiMember(Description="The case attachments.") var Attachments:ArrayList = ArrayList() /** * The case status options to select from. */ @ApiMember(Description="The case status options to select from.") var CaseStatusOptions:ArrayList = ArrayList() /** * The case type options to select from. */ @ApiMember(Description="The case type options to select from.") var CaseTypeOptions:ArrayList = ArrayList() /** * The case area options to select from. */ @ApiMember(Description="The case area options to select from.") var CaseAreaOptions:ArrayList = ArrayList() } open class SupportCaseCommentsResponse { /** * The case id */ @ApiMember(Description="The case id") var SupportCaseId:Int? = null /** * The comments id */ @ApiMember(Description="The comments id") var Id:Int? = null /** * The case comment */ @ApiMember(Description="The case comment") var Comment:String? = null /** * The case comment created by */ @ApiMember(Description="The case comment created by") var CreatedBy:String? = null /** * The case comment created date */ @ApiMember(Description="The case comment created date") var Created:Date? = null } open class SupportCaseAttachmentResponse { /** * The attachment id */ @ApiMember(Description="The attachment id") var Id:Int? = null /** * The attachment file url */ @ApiMember(Description="The attachment file url") var FileUrl:String? = null }