fix: add error handling for hotel room availability
* fix: add error handling for hotel room availability
* fix: update error codes
* fix: have one error message to rule them all. them as in permutations of invalid dates
Approved-by: Linus Flood
fix: return [] when we get a 404 for meeting rooms for a hotel
* fix: return [] when we get a 404 for meeting rooms for a hotel
Approved-by: Linus Flood
fix: default page settings when invalid or missing
* fix: default page settings when invalid or missing since most pages don't have pageSettings
Approved-by: Anton Gunnarsson
fix: Allow component to be nullish in dynamic content schemas
* fix: Allow component to be nullish in dynamic content schemas
Approved-by: Erik Tiekstra
SW-2526 - Update error handling for link SAS account
* Update error handling for link SAS account
* Capture schema validation error and send to Sentry
* Add cases for unhandled otp errors
Approved-by: Joakim Jäderberg
fix: null does not default to empty array causing sanitize error
* fix: null does not default to empty array causing sanitize error
Approved-by: Michael Zetterberg
Approved-by: Anton Gunnarsson
feat(LOY-188): dynamic content support in content pages headers & use in DTMC employee benefits page
* feat(LOY-188): add dynamic content handling for DTMC employee benefits page header
* fix(LOY-188): change section to div in EmployeeBenefitsCallToActions component
* refactor(LOY-188): switch to ButtonLink
* refactor(LOY-188): replace enum with as const objects in DynamicContentEnum
* chore(LOY-188): change ComponentValue type exports to internal scope in DynamicContentEnum
* fix(EmployeeBenefitsCallToActions): replace div with fragment
* chore(LOY-188): update translations
Approved-by: Christian Andolf
fix(SW-2631): check if session is valid otherwise use service token
* fix: check if session is valid otherwise use service token
* fix: only use service token for queries and updated mutations to check for valid user token
Approved-by: Michael Zetterberg
Fix/explore all hotels
* fix: update lists
* fix: adds Scandic Nuremberg after api fix
* fix: add sorting based on city name
Approved-by: Erik Tiekstra
Fix(SW-2513): Explore all hotels - country page links not showing
* fix: fix issue with country page urls
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
We were missing the language param on some endpoints. We are still
missing it on some, but I left those without when we don't need it, e.g.
when only caring about the IDs in the response.
fix(LOY-235): update pagination params for getPreviousStays and getUpcomingStays
* fix(LOY-235): update pagination parameters for getPreviousStays and getUpcomingStays functions
Approved-by: Erik Tiekstra
Ending up doing some extra things:
Consolidated booking queries: We had both cancel and cancelMany, but functionally they’re the same, only one accepts an array and the other doesn’t. Didn’t see much point in keeping the single cancel as it wasn’t used anywhere. Thus, I could rename cancelMany to be the one stop method.
remove method for API now properly supports body so we don’t have to hijack the typing in certain places
* fix(SW-2508): now sending additional params to cancel api for new contract
Approved-by: Niclas Edenvin