/* Options:
Date: 2025-09-18 00:56:24
Version: 8.80
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bokamera.se
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: UpdateSystemSetting.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using System.Net;
using System.Net.Http.Headers;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
public partial class LanguageResponse
{
public virtual string Id { get; set; }
public virtual string Name { get; set; }
}
public partial class SystemSettingsResponse
{
///
///The country options to choose from
///
[ApiMember(Description="The country options to choose from")]
public virtual List LanguageOptions { get; set; }
///
///If the booking is active or not
///
[ApiMember(DataType="bool", Description="If the booking is active or not")]
public virtual bool Active { get; set; }
///
///If the booking is not active, what message to show to the customers
///
[ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")]
public virtual string InactiveMessage { get; set; }
///
///If the company should be visible in search results on homepage
///
[ApiMember(DataType="bool", Description="If the company should be visible in search results on homepage")]
public virtual bool Searchable { get; set; }
///
///If you have a Google Analytics account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Analytics account and want to track your customers behaviors.")]
public virtual string GATrackingId { get; set; }
///
///If you have a Google Ads Conversion Id account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Ads Conversion Id account and want to track your customers behaviors.")]
public virtual string GoogleAdsConversionId { get; set; }
///
///If you have a LinkedIn account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")]
public virtual string LinkedinTagId { get; set; }
///
///If you have a Google Ads Conversion Label and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")]
public virtual string GoogleAdsConversionLabel { get; set; }
///
///If you have a Google Tag Manager account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Tag Manager account and want to track your customers behaviors.")]
public virtual string GTMTrackingId { get; set; }
///
///If you have a Facebook account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Facebook account and want to track your customers behaviors.")]
public virtual string FacebookPixelId { get; set; }
///
///If the company should be visible on the marketplace
///
[ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")]
public virtual bool ShowOnMarketplace { get; set; }
///
///If you want your customers to be able to change language on your homepage
///
[ApiMember(DataType="bool", Description="If you want your customers to be able to change language on your homepage")]
public virtual bool MultiLanguage { get; set; }
///
///If you want your own written text on your homepage to be translated using Google Translate when a user changes language
///
[ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using Google Translate when a user changes language")]
public virtual bool EnableAPITranslation { get; set; }
///
///What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN
///
[ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN")]
public virtual string DefaultLanguage { get; set; }
///
///If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR.
///
[ApiMember(Description="If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ")]
public virtual bool SendCustomerInformationToExternalProviders { get; set; }
}
[Route("/settings/system", "PUT")]
[ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)]
[ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)]
[ValidateRequest("IsAuthenticated")]
public partial class UpdateSystemSetting
: 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.")]
public virtual Guid? CompanyId { get; set; }
///
///If the booking is active or not
///
[ApiMember(DataType="bool", Description="If the booking is active or not")]
public virtual bool? Active { get; set; }
///
///If the booking is not active, what message to show to the customers
///
[ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers")]
public virtual string InactiveMessage { get; set; }
///
///If the company should be visible in search results on homepage
///
[ApiMember(DataType="bool", Description="If the company should be visible in search results on homepage")]
public virtual bool? Searchable { get; set; }
///
///If you have a Google Analytics account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Analytics account and want to track your customers behaviors.")]
public virtual string GATrackingId { get; set; }
///
///If you have a Google Ads Conversion Id account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Ads Conversion Id account and want to track your customers behaviors.")]
public virtual string GoogleAdsConversionId { get; set; }
///
///If you have a LinkedIn account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.")]
public virtual string LinkedinTagId { get; set; }
///
///If you have a Google Ads Conversion Label and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.")]
public virtual string GoogleAdsConversionLabel { get; set; }
///
///If you have a Google Tag Manager account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Google Tag Manager account and want to track your customers behaviors.")]
public virtual string GTMTrackingId { get; set; }
///
///If you have a Facebook account and want to track your customers behaviors.
///
[ApiMember(DataType="string", Description="If you have a Facebook account and want to track your customers behaviors.")]
public virtual string FacebookPixelId { get; set; }
///
///If the company should be visible on the marketplace
///
[ApiMember(DataType="bool", Description="If the company should be visible on the marketplace")]
public virtual bool? ShowOnMarketplace { get; set; }
///
///If you want your customers to be able to change language on your homepage
///
[ApiMember(DataType="bool", Description="If you want your customers to be able to change language on your homepage")]
public virtual bool? MultiLanguage { get; set; }
///
///If you want your own written text on your homepage to be translated using Google Translate when a user changes language
///
[ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using Google Translate when a user changes language")]
public virtual bool? EnableAPITranslation { get; set; }
///
///What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN
///
[ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, i.e. SE,NO,EN")]
public virtual string DefaultLanguage { get; set; }
///
///If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR.
///
[ApiMember(Description="If you want to allow to send customer information in the tracking events to the external providers. Note you as a company are responsible for informing your customers and handling the data in terms of GDPR. ")]
public virtual bool? SendCustomerInformationToExternalProviders { get; set; }
///
///The maximum number of SMS messages that can be sent per day.
///
[ApiMember(Description="The maximum number of SMS messages that can be sent per day.")]
public virtual int? SMSMessageDailySendLimit { get; set; }
///
///The maximum number of email messages that can be sent per day.
///
[ApiMember(Description="The maximum number of email messages that can be sent per day.")]
public virtual int? EmailMessageDailySendLimit { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}