/* Options: Date: 2024-12-23 11:33:45 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: FindBoundedMapAdMessagesRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export interface IPost { } export enum Parking { StreetParking = 'StreetParking', ParkingGarageNearby = 'ParkingGarageNearby', } export enum PaymentOption { Visa = 'Visa', MasterCard = 'MasterCard', AmericanExpress = 'AmericanExpress', Diners = 'Diners', Vipps = 'Vipps', } export enum PriceMainDish { Value = 'Value', Medium = 'Medium', High = 'High', FineDining = 'FineDining', } export enum DayOfWeek { Sunday = 'Sunday', Monday = 'Monday', Tuesday = 'Tuesday', Wednesday = 'Wednesday', Thursday = 'Thursday', Friday = 'Friday', Saturday = 'Saturday', } export class OpenAtTimeDto { public weekDay?: DayOfWeek|null; public hour?: number|null; public minute?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class QueryFilterDto { public term?: string|null; public placeGuid?: string|null; public adMessageGuid?: string|null; public categoryAbsoluteSlugs?: string[]|null; public barSpecialitySlugs?: string[]|null; public barTypeSlugs?: string[]|null; public brandNames?: string[]|null; public cuisineSlugs?: string[]|null; public mealTypeSlugs?: string[]|null; public parking?: Parking[]|null; public paymentOptions?: PaymentOption[]|null; public priceMainDishes?: PriceMainDish[]|null; public eatingSuitabilitySlugs?: string[]|null; public takeAwaySlugs?: string[]|null; public wearPriceProfileSlugs?: string[]|null; public wheelChairAccessible?: boolean|null; public wifi?: boolean|null; public outdoorSeating?: boolean|null; public saveFoodAndMoney?: boolean|null; public openAt?: OpenAtTimeDto|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface ICacheable { cacheVersion?: number|null; } export class MapBoundsDto { public north?: number|null; public south?: number|null; public east?: number|null; public west?: number|null; public clusterZoomLevel?: 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 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 enum PlaceType { Mall = 'Mall', Regular = 'Regular', } 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 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 class WearPriceProfileDto { public slug: string; public label: 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 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 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 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 enum CategoryFacetTreeType { Parent = 'Parent', Selected = 'Selected', Available = 'Available', } export class CategoryFacetTreeDto { public name: string; public slug: string; public absoluteSlug: string; public featureTypes?: FeatureType[]|null; public type?: CategoryFacetTreeType|null; public count?: number|null; public imageUrl?: string|null; public allImageUrl?: string|null; public iconImageUrl?: string|null; public position?: number|null; public children?: CategoryFacetTreeDto[]|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindBoundedMapPinCluster { public count?: number|null; public latitude?: number|null; public longitude?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Position { public longitude?: number|null; public latitude?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdMessageWithDisplayLocationDto { public adMessage: AdMessageDto; public crowdedMapDisplayLocation: Position; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindBoundedMapAdMessagesResponse { public clusters: FindBoundedMapPinCluster[]; public adMessagesWithDisplayLocation: AdMessageWithDisplayLocationDto[]; public categoryFacetTrees: CategoryFacetTreeDto[]; public placeCount?: number|null; public adMessageSaveFoodAndMoneyCount?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindBoundedMapAdMessagesRequest implements IReturn, IGet, IPost, ICacheable { public cacheVersion?: number|null; public filter?: QueryFilterDto|null; public bounds: MapBoundsDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'FindBoundedMapAdMessagesRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new FindBoundedMapAdMessagesResponse(); } } }