/* Options: Date: 2024-12-23 11:20:15 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: GetSavedSearchesRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } 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 CategoryDto { 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 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 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 PriceMainDishDto { public title: string; public slug?: PriceMainDish|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 FilterDetails { public categories: CategoryDto[]; public barSpecialities: BarSpecialityDto[]; public barTypes: BarTypeDto[]; public brands: BrandDto[]; public cuisines: CuisineDto[]; public mealTypes: MealTypeDto[]; public parking: ParkingDto[]; public paymentOptions: PaymentOptionDto[]; public priceMainDishes: PriceMainDishDto[]; public eatingSuitability: EatingSuitabilityDto[]; public takeAways: TakeAwayDto[]; public wearPriceProfiles: WearPriceProfileDto[]; public rootCategories: CategoryDto[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SavedSearchDto { public id?: number|null; public name: string; public filter: QueryFilterDto; public location: QueryLocationDto; public filterDetails: FilterDetails; public createdAt?: string|null; public updatedAt?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetSavedSearchesResponse { public searches: SavedSearchDto[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/searches/GetSavedSearches", "GET") export class GetSavedSearchesRequest implements IReturn, IGet { public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetSavedSearchesRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new GetSavedSearchesResponse(); } } }