/* Options: Date: 2025-05-06 21:09:20 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://unstable-consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: FindPlaceRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ConsumerApi; namespace ConsumerApi { public partial class BarSpecialityEsDto { public string Slug { get; set; } public string Title { get; set; } } public partial class BarTypeEsDto { public string Slug { get; set; } public string Title { get; set; } } public partial class BrandApiDto { public string Name { get; set; } } public partial class CategoryTreeApiDto { public string Name { get; set; } public string Slug { get; set; } public string AbsoluteSlug { get; set; } public string? ImageUrl { get; set; } public string? AllImageUrl { get; set; } public string? IconImageUrl { get; set; } public int Position { get; set; } public List? Children { get; set; } = []; } public partial class CuisineEsDto { public string Label { get; set; } public string Slug { get; set; } } public partial class EatingSuitabilityApiDto { public string Label { get; set; } public string Slug { get; set; } } public partial class IndividualFeatureDataApiDto { public FeatureType Slug { get; set; } public string Label { get; set; } } public partial class MallOtherServiceApiDto { public string ServiceName { get; set; } public string Floor { get; set; } } public partial class MealTypeApiDto { public string Label { get; set; } public string Slug { get; set; } } public partial class MenuEsDto { public string Name { get; set; } public string Url { get; set; } public int Position { get; set; } } public partial class ParkingApiDto { public string Label { get; set; } public Parking Slug { get; set; } } public partial class PaymentOptionApiDto { public string Label { get; set; } public PaymentOption Slug { get; set; } } public partial class PlaceApiDto { public long Id { get; set; } public Guid Guid { get; set; } public string? Overview { get; set; } public string Name { get; set; } public float Longitude { get; set; } public float Latitude { get; set; } public bool Claimed { get; set; } public string? OrganizationNumber { get; set; } public string CountryCode { get; set; } public string PlaceState { get; set; } public long FollowersCount { get; set; } public OpeningHours? OpeningHours { get; set; } public List Categories { get; set; } = []; public List FeatureData { get; set; } = []; public List BarSpecialities { get; set; } = []; public List BarTypes { get; set; } = []; public List Brands { get; set; } = []; public List Cuisines { get; set; } = []; public List MealTypes { get; set; } = []; public List Parking { get; set; } = []; public List PaymentOptions { get; set; } = []; public List EatingSuitabilities { get; set; } = []; public List TakeAways { get; set; } = []; public List WearPriceProfiles { get; set; } = []; public List Menus { get; set; } = []; public ImageUrls? LogoUrl { get; set; } public ImageUrls? ImageUrl { get; set; } public bool? WheelchairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public PlaceType PlaceType { get; set; } public PlaceBasicApiDto? Mall { get; set; } public PriceMainDishApiDto? PriceMainDish { get; set; } public List? Places { get; set; } = []; public List? OtherServices { get; set; } = []; public string? Floor { get; set; } public TimeZoneDto TimeZoneDto { get; set; } public long? BusinessId { get; set; } public PlaceContact Contact { get; set; } public PlaceAddress Address { get; set; } } public partial class PlaceBasicApiDto { public long Id { get; set; } public Guid Guid { get; set; } public string? Overview { get; set; } public string Name { get; set; } public float Longitude { get; set; } public float Latitude { get; set; } public bool Claimed { get; set; } public string? OrganizationNumber { get; set; } public string CountryCode { get; set; } public OpeningHours? OpeningHours { get; set; } public bool? WheelchairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public PlaceType PlaceType { get; set; } public PriceMainDishApiDto? PriceMainDish { get; set; } public TimeZoneDto TimeZoneDto { get; set; } public long? BusinessId { get; set; } public PlaceContact Contact { get; set; } public PlaceAddress Address { get; set; } public List Categories { get; set; } = []; public ImageUrls? LogoUrl { get; set; } public ImageUrls? ImageUrl { get; set; } public List WearPriceProfiles { get; set; } = []; public List Brands { get; set; } = []; public string? Floor { get; set; } } public partial class PlaceCustomBrandApiDto { public string Name { get; set; } } public partial class PlaceSelectedBrandApiDto { public BrandApiDto? Brand { get; set; } public string[]? CategoryAbsoluteSlugs { get; set; } = []; public PlaceCustomBrandApiDto? PlaceCustomBrand { get; set; } } public partial class PriceMainDishApiDto { public string Title { get; set; } public PriceMainDish Slug { get; set; } } public partial class TakeAwayApiDto { public string Label { get; set; } public string Slug { get; set; } } public partial class WearPriceProfileEsDto { public string Slug { get; set; } public string Label { get; set; } } public partial class CategoryFacetTreeDto { public string Name { get; set; } public string Slug { get; set; } public string AbsoluteSlug { get; set; } public List? FeatureTypes { get; set; } = []; public CategoryFacetTreeType Type { get; set; } public long? Count { get; set; } public string? ImageUrl { get; set; } public string? AllImageUrl { get; set; } public string? IconImageUrl { get; set; } public int Position { get; set; } public List? Children { get; set; } = []; } public enum CategoryFacetTreeType { Parent, Selected, Available, } [Route("/find/place", "GET")] public partial class FindPlaceRequest : IReturn, IGet, IPost { public int? Offset { get; set; } public int? Size { get; set; } public DateTime? ResultAt { get; set; } public QueryFilterDto? Filter { get; set; } public QueryLocationDto Location { get; set; } public long? CacheVersion { get; set; } } public partial class FindPlaceResponse { public List Places { get; set; } = []; public long PlaceCount { get; set; } public DateTime? ResultAt { get; set; } public List CategoryFacetTrees { get; set; } = []; } public partial class QueryFilterDto { public string? Term { get; set; } public Guid? PlaceGuid { get; set; } public Guid? AdMessageGuid { get; set; } public List? CategoryAbsoluteSlugs { get; set; } = []; public List? BarSpecialitySlugs { get; set; } = []; public List? BarTypeSlugs { get; set; } = []; public List? BrandNames { get; set; } = []; public List? CuisineSlugs { get; set; } = []; public List? MealTypeSlugs { get; set; } = []; public List? Parking { get; set; } = []; public List? PaymentOptions { get; set; } = []; public List? PriceMainDishes { get; set; } = []; public List? EatingSuitabilitySlugs { get; set; } = []; public List? TakeAwaySlugs { get; set; } = []; public List? WearPriceProfileSlugs { get; set; } = []; public bool? WheelChairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public OpenAtTimeDto? OpenAt { get; set; } } public partial class QueryLocationDto { public float? Longitude { get; set; } public float? Latitude { get; set; } public float? SearchRadiusInKm { get; set; } } public enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, } public partial class ImageUrls { public string Preview { get; set; } public string Small { get; set; } public string Medium { get; set; } public string Large { get; set; } } public partial class OpenAtTimeDto { public DayOfWeek WeekDay { get; set; } public int Hour { get; set; } public int Minute { get; set; } } public partial class OpeningHour { public int OpenAtHour { get; set; } public int OpenAtMinute { get; set; } public int CloseAtHour { get; set; } public int CloseAtMinute { get; set; } } public partial class OpeningHours { public WeeklyOpeningHours Weekly { get; set; } } public partial class PlaceAddress { public string Street { get; set; } public string PostalCode { get; set; } public string Region { get; set; } public string CountryCode { get; set; } } public partial class PlaceContact { public string? Phone { get; set; } public string? Email { get; set; } public string? Website { get; set; } public string? WebShop { get; set; } } public enum PlaceType { Mall, Regular, } public partial class TimeZoneDto { public TimeSpan BaseUtcOffset { get; set; } public string DaylightName { get; set; } public string DisplayName { get; set; } public string Id { get; set; } public string StandardName { get; set; } public bool SupportsDaylightSavingTime { get; set; } } public partial class WeeklyOpeningHours { public OpeningHour? Monday { get; set; } public OpeningHour? Tuesday { get; set; } public OpeningHour? Wednesday { get; set; } public OpeningHour? Thursday { get; set; } public OpeningHour? Friday { get; set; } public OpeningHour? Saturday { get; set; } public OpeningHour? Sunday { get; set; } } public enum FeatureType { BarSpeciality, BarType, Cuisine, SaveFoodAndMoney, MealType, Menu, OutdoorSeating, Parking, PaymentOptions, PriceMainDish, SubCategories, SubCategoriesAndBrands, EatingSuitabilities, TakeAway, WearPriceProfile, WheelChairAccessible, Wifi, WebShop, Filtering, } public enum Parking { StreetParking, ParkingGarageNearby, } public enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } public enum PriceMainDish { Value, Medium, High, FineDining, } }