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
Handle invalid tier expiry 1900-01-01 from SAS
* Handle invalid tier expiry 1900-01-01 from SAS
* Set correct sasTierExpirationDate
Approved-by: Linus Flood
* feat(SW-2152): Added improved meta descriptions for hotel pages
* feat(SW-2152): Added improved meta descriptions for destination pages
* feat(SW-2152): Refactoring metadata description functionality
* feat(SW-2152): Improved truncate function and added cities check to country page description
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
SW-2527 - Fix boosted toast when tier matching
* Compare levels to ensure toast is only displayed when actually boosted
* Fix 200 name
* Update naming
Approved-by: Linus Flood
Feat/SW-2220 destination list
* fix(SW-2220): remove old hotels
* fix(SW-2220): add filtering of cities without urls
* fix(SW-2220): destinations English
* fix(SW-2220): update all country files
* refactor(SW-2220): cleanup
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra