From aa38e82698581026858f27806c3e2cb10b0b46b7 Mon Sep 17 00:00:00 2001 From: Chuma McPhoy Date: Mon, 19 Aug 2024 09:38:06 +0200 Subject: [PATCH] refactor: add hotel scope to service token fetch & enable hotel API --- server/routers/hotels/query.ts | 46 +- server/routers/hotels/tempHotelData.json | 2519 ---------------------- server/tokenManager.ts | 1 + server/utils.ts | 3 +- 4 files changed, 21 insertions(+), 2548 deletions(-) delete mode 100644 server/routers/hotels/tempHotelData.json diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index fd541d7ae..5069945b4 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -1,4 +1,4 @@ -// import * as api from "@/lib/api" +import * as api from "@/lib/api" import { badRequestError } from "@/server/errors/trpc" import { publicProcedure, router, serviceProcedure } from "@/server/trpc" import { toApiLang } from "@/server/utils" @@ -15,7 +15,6 @@ import { RoomSchema, } from "./output" import tempFilterData from "./tempFilterData.json" -import tempHotelData from "./tempHotelData.json" import tempRatesData from "./tempRatesData.json" export const hotelQueryRouter = router({ @@ -33,39 +32,32 @@ export const hotelQueryRouter = router({ params.set("include", include.join(",")) } - // Enable once Hotel API has support for service token. - // const apiResponse = await api.get( - // `${api.endpoints.v1.hotels}/${hotelId}`, - // { - // cache: "no-store", - // headers: { - // Authorization: `Bearer ${ctx.serviceToken}`, - // }, - // }, - // params - // ) - - // if (!apiResponse.ok) { - // console.info(`API Response Failed - Getting Hotel`) - // console.error(apiResponse) - // return null - // } - // const apiJson = await apiResponse.json() - // const validatedHotelData = getHotelDataSchema.safeParse(apiJson) - - const { included, ...apiJsonWithoutIncluded } = tempHotelData - - const validatedHotelData = getHotelDataSchema.safeParse( - apiJsonWithoutIncluded + const apiResponse = await api.get( + `${api.endpoints.v1.hotels}/${hotelId}`, + { + cache: "no-store", + headers: { + Authorization: `Bearer ${ctx.serviceToken}`, + }, + }, + params ) + if (!apiResponse.ok) { + console.info(`API Response Failed - Getting Hotel`) + console.error(apiResponse) + return null + } + const apiJson = await apiResponse.json() + const validatedHotelData = getHotelDataSchema.safeParse(apiJson) + if (!validatedHotelData.success) { console.error(`Get Individual Hotel Data - Verified Data Error`) console.error(validatedHotelData.error) throw badRequestError() } - // const included = validatedHotelData.data.included || [] + const included = validatedHotelData.data.included || [] const roomCategories = included ? included diff --git a/server/routers/hotels/tempHotelData.json b/server/routers/hotels/tempHotelData.json deleted file mode 100644 index 78f2098ec..000000000 --- a/server/routers/hotels/tempHotelData.json +++ /dev/null @@ -1,2519 +0,0 @@ -{ - "data": { - "attributes": { - "name": "Scandic Continental", - "operaId": "811", - "keywords": ["stockholm", "continental"], - "isPublished": true, - "cityId": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", - "cityName": "Stockholm", - "ratings": { - "tripAdvisor": { - "numberOfReviews": 2776, - "rating": 4.0, - "ratingImageUrl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.5-15458-5.svg", - "webUrl": "https://www.tripadvisor.com/Hotel_Review-g189852-d229383-Reviews-Scandic_Continental-Stockholm.html", - "awards": [ - { - "displayName": "Travelers Choice", - "images": { - "small": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2024_L.png", - "medium": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2024_L.png", - "large": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2024_L.png" - } - }, - { - "displayName": "Travelers Choice", - "images": { - "small": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2023_L.png", - "medium": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2023_L.png", - "large": "https://static.tacdn.com/img2/travelers_choice/widgets/tchotel_2023_L.png" - } - } - ], - "reviews": { - "widgetHtmlTagId": "TA_cdspropertydetail", - "widgetScriptEmbedUrlIframe": "//www.tripadvisor.com/WidgetEmbed-cdspropertydetail?locationId=12441627&partnerId=FDF3F5CC73C349C0A5AB94C0DD86BB76&lang=en&display=true", - "widgetScriptEmbedUrlJavaScript": "//www.tripadvisor.com/WidgetEmbed-cdspropertydetail?locationId=12441627&partnerId=FDF3F5CC73C349C0A5AB94C0DD86BB76&lang=en&display=false" - } - } - }, - "address": { - "streetAddress": "Vasagatan 22", - "city": "Stockholm", - "zipCode": "111 20", - "country": "Sweden" - }, - "contactInformation": { - "phoneNumber": "+46 8 51734200", - "email": "continental@scandichotels.com", - "websiteUrl": "https://test3.scandichotels.com/hotels/sweden/stockholm/scandic-continental" - }, - "hotelFacts": { - "checkin": { - "checkInTime": "15:00", - "checkOutTime": "12:00", - "onlineCheckout": false - }, - "ecoLabels": { - "euEcoLabel": false, - "greenGlobeLabel": false, - "nordicEcoLabel": true, - "svanenEcoLabelCertificateNumber": "3055 0468" - }, - "hotelFacilityDetail": { - "breakfast": { - "heading": "Breakfast", - "description": "Breakfast buffet is always included. It’s a tasty mix with healthy and allergy friendly alternatives." - }, - "checkout": { - "heading": "Check out", - "description": "The room is yours until 12:00 on your day of departure. If you wish to check out later than 12:00, please contact the reception (dial 9). \\r\\n \\r\\nWant to avoid queuing at check-out? Look out for an email or text on how to check out easily online." - }, - "gym": { - "heading": "Gym", - "description": "Our beds are comfy, but a workout will cheer you up as well. Have a run on the treadmill or work out in our well-equipped gym – it’s free when staying with us." - }, - "internet": { - "heading": "Internet", - "description": "Free Wi-Fi: Scandic easy. Open your web browser and click to connect!" - }, - "laundry": { - "heading": "Laundry", - "description": "Got laundry that needs taking care of? Just dial 9 for the reception, and we’ll take care of it." - }, - "luggage": { - "heading": "Luggage", - "description": "Do you need to store any luggage after check out? Speak to the reception and we’ll store it for you." - }, - "shop": { - "heading": "Shop", - "description": "When the craving sets in, there’s freshly brewed coffee and lighter meals in our shop to bring up to your room. You can also find necessities such as a toothbrush. \\r\\n \\r\\nOur shop is open around the clock, you will find it next to the reception." - }, - "telephone": { - "heading": "Telephone", - "description": "In case of emergency dial 112 (police, ambulance, fire)." - } - }, - "hotelInformation": { - "accessibility": { - "heading": "Accessibility", - "description": "With the help of smart solutions, we design hotels where all of our guests can be happy. We prioritize accessibility in both our newly built and renovated hotels, constantly improving the standard of what we can offer. As well as technical solutions and practical matters, we believe in care and consideration.", - "link": "https://www.youtube.com/v/7CC38NXYgQk" - }, - "safety": { - "heading": "Safety Information", - "description": "


Once you have settled into your room – make sure you know where you are in the building!
• Study the evacuation plan on the back of the door.
• Check where your nearest emergency exit is
located, for example stairs leading outside.
• Count how many doors there are between your
room and the nearest emergency exit – so you
can find your way even in the dark.
• Check where the fire alarm button and fire
extinguishers are located.

If you discover a fire or smell burning
• If the corridor is full of smoke – stay in your room.
Alert reception or call the emergency number 112.
• Always take a room key with you when you leave
your room. You may come across smoke and need
to go back.
• If the fire is small and limited – use one of the fire
extinguishers located in the corridor.
• If you cannot put out the fire, close the door to the
room that is on fire.

If you hear the fire alarm
• Leave your room if the corridor is free from smoke.
• Take your room key with you and go to the
assembly point via the nearest emergency exit.
• Never use the elevator.

If you cannot leave your room
• Call reception or 112 and explain that you are
stuck in your room. Give them your room number.
• Seal ventilation openings and gaps around the
door with wet towels.
• Move all flammable material away from the
window.
• Go to the window and try to attract attention.
• If the room becomes smoky – open the window
to get some air in.
• Do not jump – wait for instructions from the
rescue services.
• You will see best and breathe most easily near
the floor in a smoke-filled room.

First aid
• A defibrillator (AED) and a first aid kit are available
in reception.

" - }, - "sustainability": { - "heading": "Sustainability Information", - "description": "In 1993, Scandic decided to become a leader in sustainability and drive the development of sustainability in the hotel sector. It was at Scandic that the idea to “hang up your towel if you want to use it again” was formed – an idea that is now the standard in the hotel industry around the world. Sustainability is a part of our values – an integral element of all of the operations that Scandic’s team members manifest in daily work.", - "link": "https://www.youtube.com/watch?v=0td9PfNfT1A" - } - }, - "interior": { - "numberOfBeds": 834, - "numberOfCribs": 15, - "numberOfFloors": 12, - "numberOfRooms": { - "connected": 60, - "forAllergics": 0, - "forDisabled": 45, - "nonSmoking": 392, - "pet": 2, - "withExtraBeds": 8, - "total": 392 - } - }, - "receptionHours": { - "alwaysOpen": true, - "isClosed": false, - "openingTime": "", - "closingTime": "" - }, - "yearBuilt": "2016" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.33099, - "longitude": 18.05926 - }, - "hotelContent": { - "images": { - "metaData": { - "title": "Exterior", - "altText": "Exterior", - "altText_En": "Exterior", - "copyRight": "Karl Gabor " - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/aupkdfhjyb8mqthexqvy/Scandic_Continental_Exterior_Vasagatan_Day.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/zefxj4esv8kpgaeilajr/Scandic_Continental_Exterior_Vasagatan_Day.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/lpls3ybmao3taz7gbs9n/Scandic_Continental_Exterior_Vasagatan_Day.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/bcmz15xjw2azcvnp7ofw/Scandic_Continental_Exterior_Vasagatan_Day.jpg" - } - }, - "texts": { - "facilityInformation": "Relax with your favorite mixed drink in the bar on our roof terrace. Work out in our gym or relax in our sauna. At Scandic Continental we offer meeting rooms for up to 900 participants.", - "surroundingInformation": "Explore popular attractions such as the Old Town, the Opera, City Hall and Royal Palace. You are close to public transport, buses and trams and within walking distance of all that the city centre has to offer.", - "descriptions": { - "short": "Scandic Continental enjoys a fantastic location in Stockholm city centre. Close to shopping areas, culture, attractions and restaurants. ", - "medium": "Scandic Continental enjoys a fantastic location in Stockholm city centre. Close to shopping areas, culture, attractions and restaurants. Popular attractions such as the Old Town, the Opera, City Hall and Royal Palace are all close by." - } - }, - "restaurantsOverviewPage": { - "restaurantsOverviewPageLinkText": "", - "restaurantsOverviewPageLink": "https://test3.scandichotels.com/hotels/sweden/stockholm/scandic-continental/restaurant-bar", - "restaurantsContentDescriptionShort": "Enjoy our breakfast buffet in the morning as well as our tasty lunch buffet. Our hotel also offers a roof terrace and open-air café during the summer.", - "restaurantsContentDescriptionMedium": "Enjoy good food and beverage at Scandic Continental in central Stockholm. During the summer months our open-air café facing Klarabergsgatan is open, and our bar on the roof terrace offers deliciously cold drinks along with an awesome city view." - } - }, - "detailedFacilities": [ - { - "id": 5550, - "name": "Bikes for loan", - "applyToAllHotels": false, - "public": true, - "icon": "BikesForLoan", - "sortOrder": 700 - }, - { - "id": 1829, - "name": "Gym", - "code": "HEA - TRAI", - "applyToAllHotels": false, - "public": true, - "icon": "Gym", - "iconName": "Gym", - "sortOrder": 1700 - }, - { - "id": 1833, - "name": "Free WiFi", - "code": "IHF", - "applyToAllHotels": false, - "public": true, - "icon": "FreeWiFi", - "sortOrder": 1900 - }, - { - "id": 1834, - "name": "Laundry service", - "code": "LAU", - "applyToAllHotels": false, - "public": true, - "icon": "LaundryService", - "sortOrder": 200 - }, - { - "id": 1406, - "name": "Parking - additional cost", - "code": "PAR", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 2665, - "name": "Parking - garage", - "code": "GAR", - "applyToAllHotels": false, - "public": true, - "icon": "Parking", - "iconName": "Garage", - "sortOrder": 1400 - }, - { - "id": 1835, - "name": "Pet-friendly rooms", - "code": "PET", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 1379, - "name": "Sauna", - "code": "SAU - RELX", - "applyToAllHotels": false, - "public": true, - "icon": "Sauna", - "sortOrder": 2000 - }, - { - "id": 1017, - "name": "Meeting rooms", - "code": "MEE", - "applyToAllHotels": false, - "public": true, - "icon": "Meeting", - "sortOrder": 9000 - }, - { - "id": 1382, - "name": "Outdoor terrace", - "code": "-", - "applyToAllHotels": false, - "public": true, - "icon": "OutdoorTerrace", - "sortOrder": 1000 - }, - { - "id": 1408, - "name": "Scandic Shop 24 hrs", - "code": "SHOP", - "applyToAllHotels": false, - "public": true, - "icon": "Shop", - "sortOrder": 100 - }, - { - "id": 1606, - "name": "Sky bar", - "code": "-", - "applyToAllHotels": false, - "public": true, - "icon": "Skybar", - "iconName": "Sky Bar / Rooftop Bar", - "sortOrder": 1100 - }, - { - "id": 5806, - "name": "Meeting / conference facilities", - "code": "MEE - MEETING ", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 1500 - }, - { - "id": 1607, - "name": "Golf course (0-30 km)", - "code": "GOLF", - "applyToAllHotels": false, - "public": false, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 971, - "name": "Shopping", - "code": "-", - "applyToAllHotels": false, - "public": false, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 1911, - "name": "24 hours security", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 1913, - "name": "Overnight security", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 162583, - "name": "Laundry service - express", - "applyToAllHotels": false, - "public": true, - "icon": "ExpressLaundryService", - "iconName": "Express dry cleaning", - "sortOrder": 300 - }, - { - "id": 229144, - "name": "TV with Chromecast", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 1407, - "name": "Serves breakfast (always included)", - "code": "-", - "applyToAllHotels": false, - "public": true, - "icon": "None", - "sortOrder": 0 - }, - { - "id": 1378, - "name": "Room service", - "code": "ROO - R/S", - "applyToAllHotels": false, - "public": true, - "icon": "RoomService", - "sortOrder": 400 - } - ], - "healthFacilities": [ - { - "type": "Gym", - "content": { - "images": [ - { - "metaData": { - "title": "Gym", - "altText": "Gym of Scandic Continental in Stockholm", - "altText_En": "Gym of Scandic Continental in Stockholm", - "copyRight": "Elin Sylwan © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/ic6077yovsoxdmj9545r/scandic_continental_gym.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/uhhqrnb8wzy9xlr42zn8/scandic_continental_gym.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/iqor5zd7owsll42z59vh/scandic_continental_gym.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/5v5o0bbopf9t7r95sp2o/scandic_continental_gym.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "", - "medium": "" - } - } - }, - "openingDetails": { - "useManualOpeningHours": false, - "openingHours": { - "ordinary": { - "alwaysOpen": true, - "isClosed": false - }, - "weekends": { - "alwaysOpen": true, - "isClosed": false - } - } - }, - "details": [ - { - "name": "ExternalGym", - "type": "Boolean", - "value": "False" - }, - { - "name": "NameOfExternalGym", - "type": "String" - }, - { - "name": "DistanceToExternalGym", - "type": "Int32", - "value": "0" - } - ] - }, - { - "type": "Sauna", - "content": { - "images": [ - { - "metaData": { - "title": "Relax area, sauna", - "altText": "Relax area, sauna", - "altText_En": "Relax area, sauna", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/swyeotcf0oxpmg4ogbau/scandic-continental-relax-sauna.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/5ouzrfo95u65iahptnti/scandic-continental-relax-sauna.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/m90dj7uweu01b6dglb0g/scandic-continental-relax-sauna.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/x424p6e45bybr1nae2bj/scandic-continental-relax-sauna.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "", - "medium": "" - } - } - }, - "openingDetails": { - "useManualOpeningHours": false, - "openingHours": { - "ordinary": { - "alwaysOpen": false, - "isClosed": false, - "openingTime": "06:00", - "closingTime": "22:00" - }, - "weekends": { - "alwaysOpen": false, - "isClosed": false, - "openingTime": "06:00", - "closingTime": "22:00" - } - } - }, - "details": [ - { - "name": "SeparateMenAndWomen", - "type": "Boolean", - "value": "True" - } - ] - } - ], - "rewardNight": { - "points": 40000, - "campaign": { - "start": "02/14/2021 23:00:00", - "end": "03/30/2021 22:00:00", - "points": 40000 - } - }, - "pointsOfInterest": [ - { - "name": "Stockholm Central Station", - "distance": 0, - "category": { - "name": "Transportations", - "group": "Trains" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.330296, - "longitude": 18.058298 - }, - "isHighlighted": true - }, - { - "name": "Airport Bus/Shuttle", - "distance": 0.1, - "category": { - "name": "Transportations", - "group": "Trains" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.331173, - "longitude": 18.056545 - }, - "isHighlighted": true - }, - { - "name": "Cityterminalen", - "distance": 0.1, - "category": { - "name": "Transportations", - "group": "Trains" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.330624, - "longitude": 18.058636 - }, - "isHighlighted": true - }, - { - "name": "Arlanda Express", - "distance": 0.1, - "category": { - "name": "Transportations", - "group": "Trains" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.33238, - "longitude": 18.055481 - }, - "isHighlighted": true - }, - { - "name": "Hamngatan", - "distance": 1.1, - "category": { - "name": "Tourist", - "group": "Star" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.332775, - "longitude": 18.071386 - }, - "isHighlighted": true - }, - { - "name": "Gallerian, Stockholm", - "distance": 1.2, - "category": { - "name": "Shopping", - "group": "Shopping" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.3323, - "longitude": 18.06723 - }, - "isHighlighted": true - }, - { - "name": "Old Town of Stockholm", - "distance": 1.2, - "category": { - "name": "Tourist", - "group": "Star" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.3257, - "longitude": 18.071878 - }, - "isHighlighted": true - }, - { - "name": "Royal Opera, Stockholm", - "distance": 1.3, - "category": { - "name": "Theatre", - "group": "Theatre" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.32973, - "longitude": 18.070482 - }, - "isHighlighted": true - }, - { - "name": "Royal Castle", - "distance": 1.9, - "category": { - "name": "Tourist", - "group": "Star" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.32682, - "longitude": 18.071718 - }, - "isHighlighted": true - }, - { - "name": "Bromma Airport", - "distance": 8.7, - "category": { - "name": "Airport", - "group": "Airport" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.354813, - "longitude": 17.942717 - }, - "isHighlighted": true - }, - { - "name": "Arlanda Airport", - "distance": 42, - "category": { - "name": "Airport", - "group": "Airport" - }, - "location": { - "distanceToCentre": 0, - "latitude": 59.64976, - "longitude": 17.92378 - }, - "isHighlighted": true - } - ], - "parking": [ - { - "type": "Garage", - "name": "Continental garage", - "address": "Vasagatan 22", - "numberOfParkingSpots": 16, - "numberOfChargingSpaces": 0, - "distanceToHotel": 20, - "canMakeReservation": true, - "pricing": { - "freeParking": false, - "paymentType": "MustBePaidAtTheHotel", - "localCurrency": { - "currency": "SEK", - "range": { - "min": 395 - }, - "ordinary": [ - { - "period": "Hour", - "startTime": "", - "endTime": "" - }, - { - "period": "Day", - "startTime": "", - "endTime": "" - }, - { - "period": "Night", - "amount": 395, - "startTime": "", - "endTime": "" - }, - { - "period": "AllDay", - "startTime": "00:00", - "endTime": "23:59" - } - ], - "weekend": [ - { - "period": "Hour", - "startTime": "", - "endTime": "" - }, - { - "period": "Day", - "startTime": "", - "endTime": "" - }, - { - "period": "Night", - "amount": 395, - "startTime": "", - "endTime": "" - }, - { - "period": "AllDay", - "startTime": "00:00", - "endTime": "23:59" - } - ] - } - } - } - ], - "specialNeedGroups": [ - { - "name": "Entrance", - "specialNeeds": [ - { - "name": "Wide main entrance door (non revolving) with minimum width of 80 cm", - "details": "" - }, - { - "name": "Door/s can be opened automatically at main entrance (All Scandic)", - "details": "" - }, - { - "name": "Night time door bell accessible from wheelchair (max height 120 cm) (All Scandic)", - "details": "" - }, - { - "name": "No threshold at entrance door (All Scandic)", - "details": "" - }, - { - "name": "Seating available close to main entrance (All Scandic)", - "details": "" - }, - { - "name": "Wheelchair access by ramp or lift at main entrance", - "details": "" - } - ] - }, - { - "name": "Public areas - Other", - "specialNeeds": [ - { - "name": "At least one computer work station that is accessible for wheelchair users (All Scandic)", - "details": "" - }, - { - "name": "Clear passage to the Scandic Shop with wheelchair (All Scandic)", - "details": "" - }, - { - "name": "Corridors in hotel accessible with wheelchair", - "details": "" - }, - { - "name": "Service / guide dogs allowed in hotel (All Scandic)", - "details": "" - } - ] - }, - { - "name": "Meeting areas", - "specialNeeds": [ - { - "name": "Clear signage of hearing loop in meeting and conference areas (All Scandic)", - "details": "" - }, - { - "name": "Disability toilet available in meeting and conference areas", - "details": "" - }, - { - "name": "Meeting and conference floor / area accessible with wheelchair", - "details": "" - }, - { - "name": "Meeting room door with minimum 80 cm width", - "details": "" - }, - { - "name": "Number of disability toilets available", - "details": "5" - }, - { - "name": "Portable hearing loop available for meeting rooms (All Scandic)", - "details": "" - }, - { - "name": "Seating available outside meeting room/s", - "details": "" - } - ] - }, - { - "name": "Disability rooms", - "specialNeeds": [ - { - "name": "Bed can be adjusted for legs and back", - "details": "" - }, - { - "name": "Bed on legs", - "details": "" - }, - { - "name": "TV with subtitles or closed captions", - "details": "" - }, - { - "name": "Wardrobe without doors or with sliding doors", - "details": "" - }, - { - "name": "Light switch reachable from wheelchair", - "details": "" - }, - { - "name": "Space under desk accessible for wheelchairs (All Scandic)", - "details": "" - }, - { - "name": "Minimum of 80 cm free floor space around the bed", - "details": "" - }, - { - "name": "Rail for coat hanger at max height 120 cm (All Scandic)", - "details": "" - }, - { - "name": "Wooden floors in room", - "details": "" - }, - { - "name": "Number of disability rooms", - "details": "40" - }, - { - "name": "Other width of room door when open", - "details": "90 cm" - }, - { - "name": "TV remote on side table (all scandic hotels)", - "details": "" - }, - { - "name": "Wardrobe shelf accessible from wheelchair (All Scandic)", - "details": "" - }, - { - "name": "Width of corridor in room is at least 80 cm (All Scandic)", - "details": "" - }, - { - "name": "Width of disability room door minimum of 80 cm when open", - "details": "" - } - ] - }, - { - "name": "Disability rooms - bathroom", - "specialNeeds": [ - { - "name": "Accessible bathtubs", - "details": "" - }, - { - "name": "Alarm / Emergency codes or buttons in bathroom", - "details": "" - }, - { - "name": "Bathroom towels reachable from wheelchair (All Scandic)", - "details": "" - }, - { - "name": "Handrail on the inside of the bathroom door if door opens outwards (All Scandic)", - "details": "" - }, - { - "name": "Hooks reachable from wheelchair (All Scandic)", - "details": "" - }, - { - "name": "No threshold into bathroom", - "details": "" - }, - { - "name": "Shower glass wall", - "details": "" - }, - { - "name": "Shower handle placed in its lowest position when guest arrives (All Scandic)", - "details": "" - }, - { - "name": "Shower stool available (All Scandic)", - "details": "" - }, - { - "name": "Single lever basin mixer", - "details": "" - }, - { - "name": "Space under wash basin accessible for wheelchairs (All Scandic)", - "details": "" - }, - { - "name": "Thermostatic mixer in shower", - "details": "" - }, - { - "name": "Toilet paper reachable from toilet (All Scandic)", - "details": "" - }, - { - "name": "View in mirror from wheelchair (All Scandic)", - "details": "" - }, - { - "name": "Wash basin minimum height 78 cm", - "details": "" - }, - { - "name": "Width of bathroom door is at least 80 cm wide", - "details": "" - }, - { - "name": "Shower creme / shampoo dispenser in shower reachable from wheelchair (All Scandic)", - "details": "" - } - ] - }, - { - "name": "Public areas - Reception", - "specialNeeds": [ - { - "name": "Cane holders at front desk (All Scandic)", - "details": "" - }, - { - "name": "Clear signs of hearing loop and wake up alarm (All Scandic)", - "details": "" - }, - { - "name": "Clear walkway between reception and lifts (All Scandic)", - "details": "" - }, - { - "name": "Clear walkway to reception from entrance (All Scandic)", - "details": "" - }, - { - "name": "Hearing induction loop in reception desk (All Scandic)", - "details": "" - }, - { - "name": "One part of reception counter is of appropriate height for guests in wheelchairs", - "details": "" - }, - { - "name": "Seating and table available close to front desk", - "details": "" - }, - { - "name": "Vibrating wake up/fire alarm device can be borrowed from hotel reception (All Scandic)", - "details": "" - } - ] - }, - { - "name": "Public areas - Restaurant and bar", - "specialNeeds": [ - { - "name": "Access ramp or lift in restaurant", - "details": "" - }, - { - "name": "Buffet breakfast has appropriate height (max 90 cm) for guests in wheelchairs", - "details": "" - }, - { - "name": "Walkway to bar is at least 100 cm wide", - "details": "" - }, - { - "name": "Walkway to restaurant is at least 100 cm wide", - "details": "" - } - ] - }, - { - "name": "Public areas - Lifts and stairs", - "specialNeeds": [ - { - "name": "At least one lift with door widht of 80 cm when open", - "details": "" - }, - { - "name": "Door opener or automatic door/s avaliable for lift", - "details": "" - }, - { - "name": "Control panel buttons marked in Braille inside lift", - "details": "" - }, - { - "name": "Voice announciation for floor indication and direction of travel", - "details": "" - }, - { - "name": "First and last steps in stairs are clearly marked (contrasting colours or grooved steps)", - "details": "" - } - ] - }, - { - "name": "Public areas - Public toilets", - "specialNeeds": [ - { - "name": "Accessible bathroom/s available in public areas", - "details": "" - }, - { - "name": "Alarm / Emergency codes or buttons in bathroom", - "details": "" - }, - { - "name": "Bathroom door is at least 80 cm wide", - "details": "" - }, - { - "name": "Foldable armrests by the toilet", - "details": "" - }, - { - "name": "Hooks reachable from wheelchair", - "details": "" - }, - { - "name": "Number of disability bathrooms available", - "details": "5" - }, - { - "name": "Space under wash basin accessible for wheelchairs", - "details": "" - }, - { - "name": "Wash basin minimum height of 78 cm", - "details": "" - }, - { - "name": "Handrail on inside of bathroom door/s if door/s open outwards", - "details": "" - } - ] - }, - { - "name": "Parking", - "specialNeeds": [ - { - "name": "Level differences in path from parking to hotel", - "details": "" - } - ] - }, - { - "name": "Other", - "specialNeeds": [ - { - "name": "Staff trained to cater for disabled guests (All Scandic)", - "details": "" - } - ] - } - ], - "socialMedia": { - "instagram": "https://www.instagram.com/scandiccontinental/", - "facebook": "https://www.facebook.com/scandiccontinental/" - }, - "isActive": true - }, - "relationships": { - "restaurants": { - "links": { - "related": "http://aks-dev.scandichotels.com/hotel/v1/Hotels/811/restaurants?language=En" - } - }, - "nearbyHotels": { - "links": { - "related": "http://aks-dev.scandichotels.com/hotel/v1/Hotels/811/nearbyHotels?language=En" - } - }, - "roomCategories": { - "links": { - "related": "http://aks-dev.scandichotels.com/hotel/v1/Hotels/811/roomCategories?language=En" - } - }, - "meetingRooms": { - "links": { - "related": "http://aks-dev.scandichotels.com/hotel/v1/Hotels/811/meetingRooms?language=En" - } - } - }, - "id": "811", - "language": "En", - "type": "hotels" - }, - "included": [ - { - "attributes": { - "name": "Superior", - "sortOrder": 1, - "content": { - "images": [ - { - "metaData": { - "title": "Superior room", - "altText": "Superior room", - "altText_En": "Superior room", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/ua90zyt55m78boiphfk2/scandic-continental-room-superior.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/yc1srr1nxr8gdh9qoy93/scandic-continental-room-superior.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/hwstp7bdl7abi0y49g5u/scandic-continental-room-superior.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/b70obq14hxucrxr0ay6o/scandic-continental-room-superior.jpg" - } - }, - { - "metaData": { - "title": "Superior bathroom", - "altText": "Superior bathroom", - "altText_En": "Superior bathroom", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/0q5iu4yu2s0euq9rhrvh/scandic-continental-room-superior-bathroom.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/x7lmq8aptk0s7n5wwauj/scandic-continental-room-superior-bathroom.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/jla5z196iwnz1q9qlo5v/scandic-continental-room-superior-bathroom.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/uc26yeqyb7mbktjm8juh/scandic-continental-room-superior-bathroom.jpg" - } - }, - { - "metaData": { - "title": "Superior room, detail", - "altText": "Superior room, detail", - "altText_En": "Superior room, detail", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/6jjitns74k9nutn9v9tz/scandic-continental-room-superior-detail.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/ft3se6waag20lx6hxtn9/scandic-continental-room-superior-detail.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/wsfl5usd8qbdm929dvxu/scandic-continental-room-superior-detail.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/duedba0io5xew6almv7l/scandic-continental-room-superior-detail.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "Admire the view or watch some TV before enjoying a good night's sleep in the comfortable bed. You can use the desk if you need to get some work done.", - "medium": "Admire the view or watch some TV before enjoying a good night's sleep in the comfortable bed. You can use the desk if you need to get some work done. Guests under 18 must be accompanied by a parent/guardian when staying here. Parental/guardian permission form is not valid. " - } - } - }, - "roomTypes": [ - { - "name": "TS - Twin Superior", - "description": "Twin beds", - "code": "TS", - "roomCount": 61, - "mainBed": { - "type": "Twin", - "description": "Twin beds", - "widthRange": { - "min": 160, - "max": 200 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 16, - "max": 31 - }, - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - }, - { - "name": "QS - Queen Superior", - "description": "Queen-size bed", - "code": "QS", - "roomCount": 28, - "mainBed": { - "type": "Queen", - "description": "Queen-size bed", - "widthRange": { - "min": 160, - "max": 160 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 16, - "max": 31 - }, - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - }, - { - "name": "QT - Queen Superior Plus", - "description": "Queen-size bed", - "code": "QT", - "roomCount": 20, - "mainBed": { - "type": "Queen", - "description": "Queen-size bed", - "widthRange": { - "min": 180, - "max": 200 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 20, - "max": 25 - }, - "occupancy": { - "total": 4, - "adults": 2, - "children": 4 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - }, - { - "name": "TT - Twin Superior Plus", - "description": "Twin beds", - "code": "TT", - "roomCount": 20, - "mainBed": { - "type": "Twin", - "description": "Twin beds", - "widthRange": { - "min": 180, - "max": 200 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 20, - "max": 25 - }, - "occupancy": { - "total": 5, - "adults": 2, - "children": 3 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - } - ], - "roomFacilities": [ - { - "availableInAllRooms": true, - "name": "Free WiFi", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Hairdryer", - "isUniqueSellingPoint": true, - "sortOrder": 19 - }, - { - "availableInAllRooms": true, - "name": "Bathroom with shower", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Toiletries", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Wooden floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Cosmetic mirror", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk and chair", - "isUniqueSellingPoint": true, - "sortOrder": 18 - }, - { - "availableInAllRooms": true, - "name": "Safety box", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "Connecting rooms", - "isUniqueSellingPoint": true, - "sortOrder": 5 - }, - { - "availableInAllRooms": false, - "name": "Spacious room", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "View", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "View - city view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Non smoking", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "View - street view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "High floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Blackout curtains", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "Adjustable beds", - "isUniqueSellingPoint": true, - "sortOrder": 12 - }, - { - "availableInAllRooms": false, - "name": "View - panoramic view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "View - atrium view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Air cooling", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV with Chromecast", - "isUniqueSellingPoint": true, - "sortOrder": 9 - } - ], - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "roomSize": { - "min": 16, - "max": 31 - } - }, - "id": "741189ed-f419-42d1-a2f8-42cb2bbf5dad", - "type": "roomcategories" - }, - { - "attributes": { - "name": "Standard", - "sortOrder": 0, - "content": { - "images": [ - { - "metaData": { - "title": "Standard room", - "altText": "Standard room", - "altText_En": "Standard room", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/qj2en3cqvvadxe5y5b6y/scandic-continental-room-standard.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/16kz0cyxngrwe7880gjh/scandic-continental-room-standard.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/x8r0of336j2rsrhvwlqy/scandic-continental-room-standard.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/co3h6nr4p28j2tn641sz/scandic-continental-room-standard.jpg" - } - }, - { - "metaData": { - "title": "Standard room, detail", - "altText": "Standard room, detail", - "altText_En": "Standard room, detail", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/z3uxmb692kxztlj6fixp/scandic-continental-room-standard-detail.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/55rwo9fd0s2g1u77ohuh/scandic-continental-room-standard-detail.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/bce6b8nd5oj47u760hjn/scandic-continental-room-standard-detail.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/3bev1uel0m2v0tyxbfws/scandic-continental-room-standard-detail.jpg" - } - }, - { - "metaData": { - "title": "Standard room, bathroom", - "altText": "Standard room, bathroom", - "altText_En": "Standard room, bathroom", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/7kyxw6jua2mtk6v395bg/scandic-continental-room-standard-bathroom.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/e4h07hgxa9hpq8ueky1i/scandic-continental-room-standard-bathroom.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/xkokmg3ipbl8uxqm0rny/scandic-continental-room-standard-bathroom.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/fr8da4s0p0m9dodbovfz/scandic-continental-room-standard-bathroom.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "Relax with a good film before enjoying a good night's sleep in your comfortable bed. You can use the desk if you need to get some work done.", - "medium": "Relax with a good film before enjoying a good night's sleep in your comfortable bed. You can use the desk if you need to get some work done." - } - } - }, - "roomTypes": [ - { - "name": "QR - Queen Room", - "description": "Queen-size bed", - "code": "QR", - "roomCount": 58, - "mainBed": { - "type": "Queen", - "description": "Queen-size bed", - "widthRange": { - "min": 140, - "max": 160 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 15, - "max": 20 - }, - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - }, - { - "name": "TR - Twin Room", - "description": "Twin beds", - "code": "TR", - "roomCount": 110, - "mainBed": { - "type": "Twin", - "description": "Twin beds", - "widthRange": { - "min": 180, - "max": 200 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 15, - "max": 25 - }, - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - } - ], - "roomFacilities": [ - { - "availableInAllRooms": true, - "name": "Free WiFi", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Hairdryer", - "isUniqueSellingPoint": true, - "sortOrder": 19 - }, - { - "availableInAllRooms": false, - "name": "Bathroom with shower", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Toiletries", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Wooden floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Cosmetic mirror", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk and chair", - "isUniqueSellingPoint": true, - "sortOrder": 18 - }, - { - "availableInAllRooms": true, - "name": "Safety box", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "Connecting rooms", - "isUniqueSellingPoint": true, - "sortOrder": 5 - }, - { - "availableInAllRooms": true, - "name": "View", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "View - city view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Non smoking", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "View - street view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "High floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Blackout curtains", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Chair / chairs", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "Adjustable beds", - "isUniqueSellingPoint": true, - "sortOrder": 12 - }, - { - "availableInAllRooms": false, - "name": "Bathroom with bathtub", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "View - atrium view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Iron and ironing board", - "isUniqueSellingPoint": true, - "sortOrder": 15 - }, - { - "availableInAllRooms": true, - "name": "Air cooling", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV with Chromecast", - "isUniqueSellingPoint": true, - "sortOrder": 9 - } - ], - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "roomSize": { - "min": 15, - "max": 25 - } - }, - "id": "7c2db908-62d3-4b03-a4c0-9801bdbc02c5", - "type": "roomcategories" - }, - { - "attributes": { - "name": "Cabin", - "sortOrder": 3, - "content": { - "images": [ - { - "metaData": { - "title": "Cabin double room", - "altText": "Cabin double room at Scandic Continental, overview of room", - "altText_En": "Cabin double room at Scandic Continental, overview of room", - "copyRight": "Karl Gabor " - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/pjlwmpojaw025pha6un4/scandic-continental-QC-double-cabin-bed.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/pnx7lpd4vrvqzd5dy1bk/scandic-continental-QC-double-cabin-bed.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/julhkhszuahgc2ga7exz/scandic-continental-QC-double-cabin-bed.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/59vik2jgpporui3zhv2m/scandic-continental-QC-double-cabin-bed.jpg" - } - }, - { - "metaData": { - "title": "Cabin double ", - "altText": "Cabin double ", - "altText_En": "Cabin double ", - "copyRight": "Karl Gabor " - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/btq5myajl2hv5kv0u74n/Scandic_Continental_Double_Cabin_4.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/gr4djxt88dve3k02y2gn/Scandic_Continental_Double_Cabin_4.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/k6pgyzhmxaxtz8853shp/Scandic_Continental_Double_Cabin_4.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/k26puim9wbfxc1mnzisb/Scandic_Continental_Double_Cabin_4.jpg" - } - }, - { - "metaData": { - "title": "Cabin bathroom ", - "altText": "Cabin bathroom ", - "altText_En": "Cabin bathroom ", - "copyRight": "Karl Gabor " - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/es0j37mw6p7u78wbywts/Scandic_Continental_Double_Cabin_Bathroom.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/by1ujsqeqt1ango9hyww/Scandic_Continental_Double_Cabin_Bathroom.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/jqujg255mzhztz8vqowh/Scandic_Continental_Double_Cabin_Bathroom.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/6vjxnrkbnu0pwr7n4a9v/Scandic_Continental_Double_Cabin_Bathroom.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "Enjoy a great night's sleep in our cosy, tranquil cabin. The rooms are without a window, but have been specially built to give an airy and spacious feel. \n", - "medium": "Enjoy a great night's sleep in our cosy, tranquil cabin. The rooms are without a window, but have been specially built to give an airy and spacious feel. " - } - } - }, - "roomTypes": [ - { - "name": "QC - Queen Cabin", - "description": "Queen-size bed", - "code": "QC", - "roomCount": 43, - "mainBed": { - "type": "Queen", - "description": "Queen-size bed", - "widthRange": { - "min": 160, - "max": 160 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 11, - "max": 13 - }, - "occupancy": { - "total": 2, - "adults": 2, - "children": 0 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - }, - { - "name": "SCS - Single Cabin", - "description": "Single bed", - "code": "SCS", - "roomCount": 20, - "mainBed": { - "type": "Single", - "description": "Single bed", - "widthRange": { - "min": 90, - "max": 120 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 14, - "max": 16 - }, - "occupancy": { - "total": 1, - "adults": 1, - "children": 1 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - } - ], - "roomFacilities": [ - { - "availableInAllRooms": true, - "name": "Free WiFi", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Hairdryer", - "isUniqueSellingPoint": true, - "sortOrder": 19 - }, - { - "availableInAllRooms": true, - "name": "Bathroom with shower", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Wooden floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Cosmetic mirror", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Safety box", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "No window", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Non smoking", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "High floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Iron and ironing board", - "isUniqueSellingPoint": true, - "sortOrder": 15 - }, - { - "availableInAllRooms": true, - "name": "Kettle with coffee / tea", - "isUniqueSellingPoint": true, - "sortOrder": 16 - }, - { - "availableInAllRooms": true, - "name": "Air cooling", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV with Chromecast", - "isUniqueSellingPoint": true, - "sortOrder": 9 - }, - { - "availableInAllRooms": true, - "name": "Toiletries", - "isUniqueSellingPoint": false, - "sortOrder": -1 - } - ], - "occupancy": { - "total": 1, - "adults": 1, - "children": 0 - }, - "roomSize": { - "min": 11, - "max": 16 - } - }, - "id": "1e9f0176-0d33-4527-aaf9-ba309ecb24f0", - "type": "roomcategories" - }, - { - "attributes": { - "name": "Junior Suite", - "sortOrder": 2, - "content": { - "images": [ - { - "metaData": { - "title": "Junior suite", - "altText": "Junior suite", - "altText_En": "Junior suite", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/up2mtawmhg6mgntblx56/scandic-continental-room-juniorsuite.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/vub92hkp944wzj349nxd/scandic-continental-room-juniorsuite.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/zaf1alq5zrejie3i1cn4/scandic-continental-room-juniorsuite.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/j2fobtay7wle7dd6oqs3/scandic-continental-room-juniorsuite.jpg" - } - }, - { - "metaData": { - "title": "Junior suite, bathroom", - "altText": "Junior suite, bathroom", - "altText_En": "Junior suite, bathroom", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/2cpdxrywepicqnp9eoob/scandic-continental-room-juniorsuite-bathroom-1.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/ynkzimfaldgef0ukj7q5/scandic-continental-room-juniorsuite-bathroom-1.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/jrhqe8vbm91vegd02bjh/scandic-continental-room-juniorsuite-bathroom-1.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/93ag11udgjefz6qwa8st/scandic-continental-room-juniorsuite-bathroom-1.jpg" - } - }, - { - "metaData": { - "title": "Junior suite, bathroom", - "altText": "Junior suite, bathroom", - "altText_En": "Junior suite, bathroom", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/ev4x9tlgljwa6adaimgz/scandic-continental-room-juniorsuite-bathroom-2.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/gv7lw0vw3yl9y6niq33m/scandic-continental-room-juniorsuite-bathroom-2.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/iw3vdjxg9dbgrvagh78n/scandic-continental-room-juniorsuite-bathroom-2.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/na0xp013ch123shad8ps/scandic-continental-room-juniorsuite-bathroom-2.jpg" - } - }, - { - "metaData": { - "title": "Junior suite", - "altText": "Junior suite, detail", - "altText_En": "Junior suite, detail", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/tijveokv1qmnmy964iv9/scandic-continental-room-juniorsuite-detail-1.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/i7h3u2x6a9ta46jxb2tg/scandic-continental-room-juniorsuite-detail-1.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/hv4on6ec8qlcxmcd0enl/scandic-continental-room-juniorsuite-detail-1.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/3eakprn9n0zwyjpzpy6p/scandic-continental-room-juniorsuite-detail-1.jpg" - } - }, - { - "metaData": { - "title": "Junior suite", - "altText": "Junior suite, detail", - "altText_En": "Junior suite, detail", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/k2qykzzasc3rzsg7s6ek/scandic-continental-room-juniorsuite-detail-2.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/vbozc7fbao2tzfghpojd/scandic-continental-room-juniorsuite-detail-2.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/j5ktcny5bhz64igz4p35/scandic-continental-room-juniorsuite-detail-2.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/6tc1ubf9c5xs6q6bk6vx/scandic-continental-room-juniorsuite-detail-2.jpg" - } - }, - { - "metaData": { - "title": "Junior suite", - "altText": "Junior suite, detail", - "altText_En": "Junior suite, detail", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/d00l4biukbzm63f8i3xg/scandic-continental-room-juniorsuite-detail-3.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/jy1og2fe15mgkpeonnh9/scandic-continental-room-juniorsuite-detail-3.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/dyyi9rgc0fpw9j0wpuj3/scandic-continental-room-juniorsuite-detail-3.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/be068r17ord9emss43vs/scandic-continental-room-juniorsuite-detail-3.jpg" - } - }, - { - "metaData": { - "title": "Junior suite, view", - "altText": "Junior suite, view", - "altText_En": "Junior suite, view", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/n9hg8oqkejje6p6epgib/scandic-continental-room-juniorsuite-view.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/ojrm2iaf110llzzfthgq/scandic-continental-room-juniorsuite-view.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/usqmvy9ukyyyw4gpyrcy/scandic-continental-room-juniorsuite-view.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/kbb92deeuyl8ivkamwfl/scandic-continental-room-juniorsuite-view.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "Plenty of room for one – or more. Wrap up in the bathrobe with a cup of tea and enjoy the view. Or pick something fun to watch from the film channels.", - "medium": "Plenty of room for one – or more. Wrap up in the bathrobe with a cup of tea and enjoy the view. Or pick something fun to watch from the film channels." - } - } - }, - "roomTypes": [ - { - "name": "ZJ - Junior Suite", - "description": "Beds for up to 4 people", - "code": "ZJ", - "roomCount": 9, - "mainBed": { - "type": "CustomOccupancy", - "description": "Beds for up to 4 people", - "widthRange": { - "min": 90, - "max": 90 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 27, - "max": 34 - }, - "occupancy": { - "total": 4, - "adults": 3, - "children": 2 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - } - ], - "roomFacilities": [ - { - "availableInAllRooms": true, - "name": "Adjustable beds", - "isUniqueSellingPoint": true, - "sortOrder": 12 - }, - { - "availableInAllRooms": true, - "name": "Free WiFi", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Hairdryer", - "isUniqueSellingPoint": true, - "sortOrder": 19 - }, - { - "availableInAllRooms": true, - "name": "Bathroom with shower", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Toiletries", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Wooden floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Cosmetic mirror", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk and chair", - "isUniqueSellingPoint": true, - "sortOrder": 18 - }, - { - "availableInAllRooms": true, - "name": "Bathrobes", - "isUniqueSellingPoint": true, - "sortOrder": 17 - }, - { - "availableInAllRooms": true, - "name": "Safety box", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Kettle with coffee / tea", - "isUniqueSellingPoint": true, - "sortOrder": 16 - }, - { - "availableInAllRooms": true, - "name": "Spacious room", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Sofabed", - "isUniqueSellingPoint": true, - "sortOrder": 6 - }, - { - "availableInAllRooms": true, - "name": "View", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "View - city view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Non smoking", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "View - street view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": false, - "name": "High floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Blackout curtains", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Iron and ironing board", - "isUniqueSellingPoint": true, - "sortOrder": 15 - }, - { - "availableInAllRooms": true, - "name": "Air cooling", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Slippers", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV with Chromecast", - "isUniqueSellingPoint": true, - "sortOrder": 9 - } - ], - "occupancy": { - "total": 4, - "adults": 3, - "children": 2 - }, - "roomSize": { - "min": 27, - "max": 34 - } - }, - "id": "087fff57-67eb-4964-af53-187febad640b", - "type": "roomcategories" - }, - { - "attributes": { - "name": "Master Suite", - "sortOrder": 4, - "content": { - "images": [ - { - "metaData": { - "title": "Junior Suite", - "altText": "Junior Suite", - "altText_En": "Junior Suite", - "copyRight": "Ulf Hinds" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/p5amth4z7octv02uycf0/scandic-continental-room-2.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/uh16bbd2dqbp4e2i27zo/scandic-continental-room-2.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/q20g0s1pccqrp8hr2a5c/scandic-continental-room-2.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/q0icp7u2wsjvh20ungfz/scandic-continental-room-2.jpg" - } - }, - { - "metaData": { - "title": "Accessibility bathroom", - "altText": "Accessibility bathroom", - "altText_En": "Accessibility bathroom", - "copyRight": "Elin Strömberg © 2016" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/2t6k9or4ls4gqt5bljq6/scandic-continental-room-disabled-bathroom-1.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/v05cqsike7c01hqd0750/scandic-continental-room-disabled-bathroom-1.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/0kuv0bzh3s6w6ihiq7z0/scandic-continental-room-disabled-bathroom-1.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/iabbv3f307m0yhq9xbmx/scandic-continental-room-disabled-bathroom-1.jpg" - } - }, - { - "metaData": { - "title": "Master Suite", - "altText": "master suite at scandic continental in stockholm", - "altText_En": "master suite at scandic continental in stockholm", - "copyRight": "Robin Hayes Photography" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/rfzhspai2ovn6uqeqz7a/scandic-continental-zx-01.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/wb23yqvcjm1916pbt1qp/scandic-continental-zx-01.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/iu20pft3j0ahbbqzpalv/scandic-continental-zx-01.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/2osokk32wyxrjazx3du5/scandic-continental-zx-01.jpg" - } - }, - { - "metaData": { - "title": "Master Suite", - "altText": "master suite at scandic continental in stockholm", - "altText_En": "master suite at scandic continental in stockholm", - "copyRight": "Robin Hayes Photography" - }, - "imageSizes": { - "tiny": "https://test3.scandichotels.com/imagevault/publishedmedia/7eg0ltx0ncf0hrzs24x7/scandic-continental-zx-06.jpg", - "small": "https://test3.scandichotels.com/imagevault/publishedmedia/ppeqwbtzzbgwe0mm6i5m/scandic-continental-zx-06.jpg", - "medium": "https://test3.scandichotels.com/imagevault/publishedmedia/x37zarbg3cw8gc191sl7/scandic-continental-zx-06.jpg", - "large": "https://test3.scandichotels.com/imagevault/publishedmedia/lta8j47slbbcsoi2sla5/scandic-continental-zx-06.jpg" - } - } - ], - "texts": { - "descriptions": { - "short": "Wind down in the sofa for a moment with a cup of freshly brewed Espresso. Enjoy the most beautiful views of Stockholm through the panorama windows. Watch TV a while before getting a good night's sleep in the comfortable king size bed.", - "medium": "Wind down in the sofa for a moment with a cup of freshly brewed Espresso. Enjoy the most beautiful views of Stockholm through the panorama windows. Watch TV a while before getting a good night's sleep in the comfortable king size bed. When you book a Master Suite you can always expect access to free pre-booking of garage space, room service at no cost (valid for both breakfast and bar), welcome gift and Espresso machine in the room." - } - } - }, - "roomTypes": [ - { - "name": "ZX - Master Suite", - "description": "Beds for up to 3 people", - "code": "ZX", - "roomCount": 10, - "mainBed": { - "type": "CustomOccupancy", - "description": "Beds for up to 3 people", - "widthRange": { - "min": 180, - "max": 200 - } - }, - "fixedExtraBed": { - "type": "None", - "description": "", - "widthRange": { - "min": 0, - "max": 0 - } - }, - "roomSize": { - "min": 27, - "max": 30 - }, - "occupancy": { - "total": 3, - "adults": 3, - "children": 2 - }, - "isLackingCribs": false, - "isLackingExtraBeds": false - } - ], - "roomFacilities": [ - { - "availableInAllRooms": true, - "name": "Air cooling", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Armchair / armchairs", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Bathrobes", - "isUniqueSellingPoint": true, - "sortOrder": 17 - }, - { - "availableInAllRooms": true, - "name": "Bathroom with shower", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Blackout curtains", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Chair / chairs", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Coffee Machine", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Desk and chair", - "isUniqueSellingPoint": true, - "sortOrder": 18 - }, - { - "availableInAllRooms": true, - "name": "Free WiFi", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Hairdryer", - "isUniqueSellingPoint": true, - "sortOrder": 19 - }, - { - "availableInAllRooms": true, - "name": "High floor", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Iron and ironing board", - "isUniqueSellingPoint": true, - "sortOrder": 15 - }, - { - "availableInAllRooms": true, - "name": "Kettle with coffee / tea", - "isUniqueSellingPoint": true, - "sortOrder": 16 - }, - { - "availableInAllRooms": true, - "name": "Non smoking", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Safety box", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Seating area", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Set of two pillows", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Slippers", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Sofa / sofas", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Sofabed", - "isUniqueSellingPoint": true, - "sortOrder": 6 - }, - { - "availableInAllRooms": true, - "name": "Spacious room", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "TV with Chromecast", - "isUniqueSellingPoint": true, - "sortOrder": 9 - }, - { - "availableInAllRooms": true, - "name": "Ventilation in room", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "View - panoramic view", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Sofa with table", - "isUniqueSellingPoint": false, - "sortOrder": -1 - }, - { - "availableInAllRooms": true, - "name": "Toiletries", - "isUniqueSellingPoint": false, - "sortOrder": -1 - } - ], - "occupancy": { - "total": 3, - "adults": 3, - "children": 2 - }, - "roomSize": { - "min": 27, - "max": 30 - } - }, - "id": "daa91b95-7071-4a25-b97a-6bda6d7856b1", - "type": "roomcategories" - } - ] -} diff --git a/server/tokenManager.ts b/server/tokenManager.ts index 873862956..9f4e48a80 100644 --- a/server/tokenManager.ts +++ b/server/tokenManager.ts @@ -16,6 +16,7 @@ export async function fetchServiceToken(): Promise { grant_type: "client_credentials", client_id: env.CURITY_CLIENT_ID_SERVICE, client_secret: env.CURITY_CLIENT_SECRET_SERVICE, + scope: ["hotel"].join(","), }), next: { revalidate: SERVICE_TOKEN_REVALIDATE_SECONDS, diff --git a/server/utils.ts b/server/utils.ts index a104d3407..0179ddf93 100644 --- a/server/utils.ts +++ b/server/utils.ts @@ -7,8 +7,7 @@ export const langInput = z.object({ }) /** - * Helper function to convert Lang enum to uppercase - * Needed for the Hotel endpoint. + * Helper function to convert Lang enum to API lang enum. */ export const toApiLang = (lang: Lang): string => { const result = toApiLangMap[lang]