/* Options: Date: 2024-07-03 12:53:03 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HomepageSettingsQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export interface ICompanyRequest { CompanyId?: string; SitePath: string; } export class HomepageTemplateResponse { /** @description The template id */ // @ApiMember(Description="The template id") public Id: number; /** @description The template name */ // @ApiMember(Description="The template name") public Name: string; /** @description The template description */ // @ApiMember(Description="The template description") public Description: string; /** @description The template image url */ // @ApiMember(Description="The template image url") public ImageUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class HomepageHeroSectionStyleResponse { /** @description The hero section style id */ // @ApiMember(Description="The hero section style id") public Id: number; /** @description The hero section style name */ // @ApiMember(Description="The hero section style name") public Name: string; /** @description The hero section style description */ // @ApiMember(Description="The hero section style description") public Description: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class HomepageSettingsQueryResponse { /** @description The company id */ // @ApiMember(Description="The company id") public CompanyId: string; /** @description The text for homepage heading */ // @ApiMember(Description="The text for homepage heading") public HomepageHeading: string; /** @description The text for homepage startpage heading */ // @ApiMember(Description="The text for homepage startpage heading") public WelcomePageHeading: string; /** @description The text for homepage startpage body */ // @ApiMember(Description="The text for homepage startpage body") public WelcomePageBody: string; /** @description The text for homepage about us page heading */ // @ApiMember(Description="The text for homepage about us page heading") public AboutUsPageHeading: string; /** @description The text for homepage about us page body */ // @ApiMember(Description="The text for homepage about us page body") public AboutUsPageBody: string; /** @description The startpage image url */ // @ApiMember(Description="The startpage image url") public ImageUrl: string; /** @description The template for the homepage */ // @ApiMember(Description="The template for the homepage") public HomePageTemplateId: number; /** @description The hero section style for the homepage */ // @ApiMember(Description="The hero section style for the homepage") public HeroSectionStyleId: number; /** @description Show rating on the page */ // @ApiMember(Description="Show rating on the page") public ShowRating: boolean; /** @description Enable the BokaMera Homepage */ // @ApiMember(Description="Enable the BokaMera Homepage") public EnableHomepage: boolean; /** @description Will show when the homepage settings was created, note it will only be shown if your logged in as admin for the company. */ // @ApiMember(DataType="datetime", Description="Will show when the homepage settings was created, note it will only be shown if your logged in as admin for the company.") public Updated?: string; /** @description Will show when the homepage settings was updated, note it will only be shown if your logged in as admin for the company. */ // @ApiMember(DataType="datetime", Description="Will show when the homepage settings was updated, note it will only be shown if your logged in as admin for the company.") public Created?: string; /** @description The homepage templates options to select from */ // @ApiMember(DataType="boolean", Description="The homepage templates options to select from", ParameterType="query") public HomePageTemplateOptions: HomepageTemplateResponse[]; /** @description The homepage hero section style options to select from */ // @ApiMember(DataType="boolean", Description="The homepage hero section style options to select from", ParameterType="query") public HomepageHeroSectionStyleOptions: HomepageHeroSectionStyleResponse[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/homepage/settings", "GET") export class HomepageSettingsQuery implements IReturn, ICompany, ICompanyRequest { /** @description 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.", ParameterType="path") public CompanyId?: string; /** @description If you want to include the homepage template options to select from */ // @ApiMember(DataType="boolean", Description="If you want to include the homepage template options to select from", ParameterType="query") public IncludeHomePageTemplateOptions: boolean; /** @description If you want to include the homepage hero section style options to select from */ // @ApiMember(DataType="boolean", Description="If you want to include the homepage hero section style options to select from", ParameterType="query") public IncludeHomePageHeroSectionStyleOptions: boolean; /** @description The homeage sitepath. */ // @ApiMember(Description="The homeage sitepath.") public SitePath: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'HomepageSettingsQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new HomepageSettingsQueryResponse(); } }