/* Options: Date: 2024-12-23 13:07:56 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: FindSearchCompletionRequest.* //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 FindSearchCompletionCategory { public name: string; public absoluteSlug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindSearchCompletionBrand { public name: string; public categoryAbsoluteSlug: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindSearchCompletionPlace { public name: string; public guid?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindSearchCompletionFreeText { public term: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindSearchCompletionEntry { public category?: FindSearchCompletionCategory|null; public brand?: FindSearchCompletionBrand|null; public place?: FindSearchCompletionPlace|null; public freeText?: FindSearchCompletionFreeText|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FindSearchCompletionResponse { public suggestions: FindSearchCompletionEntry[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/find/completion", "GET") export class FindSearchCompletionRequest implements IReturn, IGet, IPost { public filter: QueryFilterDto; public location: QueryLocationDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'FindSearchCompletionRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new FindSearchCompletionResponse(); } } }