' Options: 'Date: 2026-05-14 01:16:38 'Version: 10.05 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: CreateWidgetConfiguration.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class CreateWidgetConfiguration Implements IReturn(Of WidgetConfigurationResponse) 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 Guid? Implements ICompany.CompanyId ''' '''The widget configuration name. ''' Public Overridable Property Name As String ''' '''Optional slug (URL-friendly identifier). The API will append the last 3 characters of the company ID. Example: 'hairsalon' becomes 'hairsalon-001'. ''' Public Overridable Property Slug As String ''' '''Optional description. ''' Public Overridable Property Description As String ''' '''The widget configuration as a JSON string. Must validate against the schema for SchemaVersion. ''' Public Overridable Property Configuration As String ''' '''Version of the configuration schema this Configuration adheres to. ''' Public Overridable Property SchemaVersion As Integer End Class Public Partial Class WidgetConfigurationResponse Public Overridable Property Id As String Public Overridable Property CompanyId As Guid Public Overridable Property Name As String Public Overridable Property Slug As String Public Overridable Property Description As String Public Overridable Property Configuration As String Public Overridable Property SchemaVersion As Integer Public Overridable Property CreatedDate As Date Public Overridable Property UpdatedDate As DateTimeOffset? Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace