/* Options: Date: 2024-12-23 12:05:09 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: GetPlaceRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export interface ICacheable { cacheVersion?: number|null; } 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 CategoryTreeDto { public name: string; public slug: string; public absoluteSlug: string; public imageUrl?: string|null; public allImageUrl?: string|null; public iconImageUrl?: string|null; public position?: number|null; public children?: CategoryTreeDto[]|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum FeatureType { BarSpeciality = 'BarSpeciality', BarType = 'BarType', Cuisine = 'Cuisine', SaveFoodAndMoney = 'SaveFoodAndMoney', MealType = 'MealType', Menu = 'Menu', OutdoorSeating = 'OutdoorSeating', Parking = 'Parking', PaymentOptions = 'PaymentOptions', PriceMainDish = 'PriceMainDish', SubCategories = 'SubCategories', SubCategoriesAndBrands = 'SubCategoriesAndBrands', EatingSuitabilities = 'EatingSuitabilities', TakeAway = 'TakeAway', WearPriceProfile = 'WearPriceProfile', WheelChairAccessible = 'WheelChairAccessible', Wifi = 'Wifi', WebShop = 'WebShop', Filtering = 'Filtering', } export class IndividualFeatureDataDto { public slug?: FeatureType|null; public label: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BarSpecialityDto { public slug: string; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BarTypeDto { public slug: string; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BrandDto { public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PlaceCustomBrandDto { public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PlaceSelectedBrandDto { public brand?: BrandDto|null; public categoryAbsoluteSlugs?: string[]|null; public placeCustomBrand?: PlaceCustomBrandDto|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CuisineDto { public label: string; public slug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class MealTypeDto { public label: string; public slug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum Parking { StreetParking = 'StreetParking', ParkingGarageNearby = 'ParkingGarageNearby', } export class ParkingDto { public label: string; public slug?: Parking|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum PaymentOption { Visa = 'Visa', MasterCard = 'MasterCard', AmericanExpress = 'AmericanExpress', Diners = 'Diners', Vipps = 'Vipps', } export class PaymentOptionDto { public label: string; public slug?: PaymentOption|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class EatingSuitabilityDto { public label: string; public slug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class TakeAwayDto { public label: string; public slug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class WearPriceProfileDto { public slug: string; public label: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class MenuDto { public name: string; public url: string; public position?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ImageUrls { public preview: string; public small: string; public medium: string; public large: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum PlaceType { Mall = 'Mall', Regular = 'Regular', } export enum PriceMainDish { Value = 'Value', Medium = 'Medium', High = 'High', FineDining = 'FineDining', } export class PriceMainDishDto { public title: string; public slug?: PriceMainDish|null; 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 PlaceContact { public phone?: string|null; public email?: string|null; public website?: string|null; public webShop?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PlaceAddress { public street: string; public postalCode: string; public region: string; public countryCode: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PlaceBasicDto { public id?: number|null; public guid?: string|null; public overview?: string|null; public name: string; public longitude?: number|null; public latitude?: number|null; public claimed?: boolean|null; public organizationNumber?: string|null; public countryCode: string; public openingHours?: OpeningHours|null; public wheelchairAccessible?: boolean|null; public wifi?: boolean|null; public outdoorSeating?: boolean|null; public saveFoodAndMoney?: boolean|null; public placeType?: PlaceType|null; public priceMainDish?: PriceMainDishDto|null; public timeZoneDto: TimeZoneDto; public businessId?: number|null; public contact: PlaceContact; public address: PlaceAddress; public categories: CategoryTreeDto[]; public logoUrl?: ImageUrls|null; public imageUrl?: ImageUrls|null; public wearPriceProfiles: WearPriceProfileDto[]; public brands: PlaceSelectedBrandDto[]; public floor?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class MallOtherServiceDto { public serviceName: string; public floor: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PlaceDto { public id?: number|null; public guid?: string|null; public overview?: string|null; public name: string; public longitude?: number|null; public latitude?: number|null; public claimed?: boolean|null; public organizationNumber?: string|null; public countryCode: string; public placeState: string; public followersCount?: number|null; public openingHours?: OpeningHours|null; public categories: CategoryTreeDto[]; public featureData: IndividualFeatureDataDto[]; public barSpecialities: BarSpecialityDto[]; public barTypes: BarTypeDto[]; public brands: PlaceSelectedBrandDto[]; public cuisines: CuisineDto[]; public mealTypes: MealTypeDto[]; public parking: ParkingDto[]; public paymentOptions: PaymentOptionDto[]; public eatingSuitabilities: EatingSuitabilityDto[]; public takeAways: TakeAwayDto[]; public wearPriceProfiles: WearPriceProfileDto[]; public menus: MenuDto[]; public logoUrl?: ImageUrls|null; public imageUrl?: ImageUrls|null; public wheelchairAccessible?: boolean|null; public wifi?: boolean|null; public outdoorSeating?: boolean|null; public saveFoodAndMoney?: boolean|null; public placeType?: PlaceType|null; public mall?: PlaceBasicDto|null; public priceMainDish?: PriceMainDishDto|null; public places?: PlaceBasicDto[]|null; public otherServices?: MallOtherServiceDto[]|null; public floor?: string|null; public timeZoneDto: TimeZoneDto; public businessId?: number|null; public contact: PlaceContact; public address: PlaceAddress; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdMessageDetailsBase { public description?: string|null; public moreInformation?: string[]|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdMessageDetailsPercentageDiscountOnAllMerchandise extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsPercentageDiscountRangeOnAllMerchandise extends AdMessageDetailsBase { public start?: number|null; public stop?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsPercentageDiscountOnSelectedMerchandise extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise extends AdMessageDetailsBase { public start?: number|null; public stop?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsTotalAmountOverXgivesYdiscount extends AdMessageDetailsBase { public ifTotalAmountMoreThanX?: number|null; public thenYouGetDiscountPercentageY?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsXforYdiscount extends AdMessageDetailsBase { public ifYouBuyX?: number|null; public thenYouGetY?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsNewArrivals extends AdMessageDetailsBase { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsFreetext extends AdMessageDetailsBase { public title: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsTodaysBreakFastOffer extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsTodaysLunchOffer extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsTodaysDinnerOffer extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsSaveFoodAndMoney extends AdMessageDetailsBase { public value?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsPercentageOffYourFoodBill extends AdMessageDetailsBase { public percentage?: number|null; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsHappyHour extends AdMessageDetailsBase { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsSomeFreeTablesLeftToday extends AdMessageDetailsBase { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsTwoDishesForThePriceOfOne extends AdMessageDetailsBase { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class AdMessageDetailsUnion { public percentageOnAllMerchandise?: AdMessageDetailsPercentageDiscountOnAllMerchandise|null; public percentageRangeOnAllMerchandise?: AdMessageDetailsPercentageDiscountRangeOnAllMerchandise|null; public percentageOnSelectedMerchandise?: AdMessageDetailsPercentageDiscountOnSelectedMerchandise|null; public absoluteOnSelectedMerchandise?: AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise|null; public absoluteRangeOnAllMerchandise?: AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise|null; public totalAmountOverXgivesYdiscount?: AdMessageDetailsTotalAmountOverXgivesYdiscount|null; public xforY?: AdMessageDetailsXforYdiscount|null; public newArrivals?: AdMessageDetailsNewArrivals|null; public freetext?: AdMessageDetailsFreetext|null; public todaysBreakFastOffer?: AdMessageDetailsTodaysBreakFastOffer|null; public todaysLunchOffer?: AdMessageDetailsTodaysLunchOffer|null; public todaysDinnerOffer?: AdMessageDetailsTodaysDinnerOffer|null; public saveFoodAndMoney?: AdMessageDetailsSaveFoodAndMoney|null; public percentageOfYourFoodBill?: AdMessageDetailsPercentageOffYourFoodBill|null; public happyHour?: AdMessageDetailsHappyHour|null; public someFreeTablesLeftToday?: AdMessageDetailsSomeFreeTablesLeftToday|null; public twoDishesForThePriceOfOne?: AdMessageDetailsTwoDishesForThePriceOfOne|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdMessageDto { public id?: number|null; public guid?: string|null; public title: string; public startAt?: string|null; public stopAt?: string|null; public publishAt?: string|null; public imageUrls: ImageUrls[]; public place: PlaceBasicDto; public detailsUnion: AdMessageDetailsUnion; public starredCount?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetPlaceResponse { public placeDto: PlaceDto; public adMessages: AdMessageDto[]; public topCategoriesSlug: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/place/GetPlace", "GET") export class GetPlaceRequest implements IReturn, IGet, ICacheable { public placeGuid?: string|null; public cacheVersion?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetPlaceRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new GetPlaceResponse(); } } }