/* Options: Date: 2024-12-23 11:24:38 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: AddSavedSearchRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } 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 AddSavedSearchResponse { public savedSearchId?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/searches/AddSavedSearch", "POST") export class AddSavedSearchRequest implements IReturn, IPost { public name: string; public filter: QueryFilterDto; public location: QueryLocationDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddSavedSearchRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new AddSavedSearchResponse(); } } }