/* Options: Date: 2024-12-23 11:27:39 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: FindPlaceRequest.* //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 class QueryLocationDto { public longitude?: number|null; public latitude?: number|null; public searchRadiusInKm?: number|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 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 class ParkingDto { public label: string; public slug?: Parking|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } 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 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 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 FindPlaceResponse { public places: PlaceDto[]; public placeCount?: number|null; public resultAt?: string|null; public categoryFacetTrees: CategoryFacetTreeDto[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/find/place", "GET") export class FindPlaceRequest implements IReturn, IGet, IPost { public offset?: number|null; public size?: number|null; public resultAt?: string|null; public filter?: QueryFilterDto|null; public location: QueryLocationDto; public cacheVersion?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'FindPlaceRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new FindPlaceResponse(); } } }