/* Options: Date: 2024-12-23 12:09:24 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: GetAdMessageRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export interface ICacheable { cacheVersion?: number|null; } 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 enum PriceMainDish { Value = 'Value', Medium = 'Medium', High = 'High', FineDining = 'FineDining', } 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 class GetAdMessageResponse { public adMessageDto: AdMessageDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/admessage/{AdMessageGuid}", "GET") export class GetAdMessageRequest implements IReturn, IGet, ICacheable { public adMessageGuid?: string|null; public cacheVersion?: number|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAdMessageRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new GetAdMessageResponse(); } } }