/* Options: Date: 2024-12-23 11:24:20 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SharePlaceLinkUsedRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IPost { } export enum Locale { EnUs = 'EnUs', NbNo = 'NbNo', } export class SharingUser { public firstName: string; public lastName: string; public profilePhotoUrl?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class OpeningHour { public openAtHour?: number|null; public openAtMinute?: number|null; public closeAtHour?: number|null; public closeAtMinute?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class WeeklyOpeningHours { public monday?: OpeningHour|null; public tuesday?: OpeningHour|null; public wednesday?: OpeningHour|null; public thursday?: OpeningHour|null; public friday?: OpeningHour|null; public saturday?: OpeningHour|null; public sunday?: OpeningHour|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class OpeningHours { public weekly: WeeklyOpeningHours; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class TimeZoneDto { public baseUtcOffset?: string|null; public daylightName: string; public displayName: string; public id: string; public standardName: string; public supportsDaylightSavingTime?: boolean|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SharedRootCategory { public name: string; public absoluteSlug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum PriceMainDish { Value = 'Value', Medium = 'Medium', High = 'High', FineDining = 'FineDining', } export class SharePriceMainDish { public label: string; public slug?: PriceMainDish|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ShareWearPriceProfile { public label: string; public slug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SharedPlace { public id?: number|null; public guid?: string|null; public name: string; public logoUrl?: string|null; public imageUrl?: string|null; public openingHours?: OpeningHours|null; public timeZoneDto: TimeZoneDto; public rootCategories: SharedRootCategory[]; public priceMainDish?: SharePriceMainDish|null; public wearPriceProfiles: ShareWearPriceProfile[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum SharingState { Teaser = 'Teaser', Awarded = 'Awarded', SelfShare = 'SelfShare', Expired = 'Expired', } export class SharePlaceLinkUsedResponse { public sharingUser?: SharingUser|null; public place?: SharedPlace|null; public expiresAt?: string|null; public state?: SharingState|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/share/share-place-link-used", "POST") export class SharePlaceLinkUsedRequest implements IReturn, IPost { public sharePlaceToken: string; public locale?: Locale|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SharePlaceLinkUsedRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new SharePlaceLinkUsedResponse(); } } }