fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state
* fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state
* PR fixes: reuse types and include local dev error message
Approved-by: Anton Gunnarsson
Approved-by: Linus Flood
feat(LOY-365): Add support for eligible levels for promo campaign pages
* feat(LOY-365): Add support for eligible levels for promo campaign pages
* fix(LOY-365): update to most recent copy
* fix(LOY-365): cleanup css
* fix(LOY-365): Move ineligible message to the bottom
* fix(LOY-365): remove uneeded type
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
fix(BOOK-381): Added nullish() to top primary button to avoid schema failures
* fix(BOOK-381): Added nullish() to top primary button to avoid schema failures
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
fix(BOOK-130): update booking code filtering on map view and filter and sort modal
* fix(BOOK-130): update booking code filtering on map view and filter and sort modal
* fix(BOOK-130): change name of filteredIds
* fix(BOOK-130): add initial value reduce
Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
Feat/book 245 preferred lang redirect
* added cookie to save preferredLang and middleware to route accordingly
* Cleaned up code, added noValidLang.ts middleware
* cleaned a little more
* Added headers in languageRedirect and set language cookie maxAge to 1 year
Approved-by: Linus Flood
fix(LOY-359): Always use scandic native tier data for all level related data
* fix(LOY-359): Always use scandic native tier data for all level related data
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
feat(BOOK-224): Added " | Scandic Hotels" suffix to meta title on campaign pages
* feat(BOOK-224): Added " | Scandic Hotels" suffix to meta title on campaign pages
Approved-by: Bianca Widstam
Approved-by: Linus Flood
SW-3505: Fix getEuroBonusProfile schema to match OpenAPI spec
* update getEuroBonusProfile schema to match OpenAPI spec
* update getEuroBonusProfile schema to match OpenAPI spec
* update getEuroBonusProfile schema to match OpenAPI spec
Approved-by: Anton Gunnarsson
feat(SW-3505): add endpoint for getting eurobonus profile
* feat(SW-3505): add endpoint for getting eurobonus profile
* make sure we add loginType to session
* no need to run zod parsing twice
* Make SAS environment variables mandatory
Approved-by: Anton Gunnarsson
fix(BOOK-210): add local charges for Finland and update design for hotel card
* fix(BOOK-210): add local charges for Finland and update design for hotel card
* feat(BOOK-210): change variant to conditional classname
* fix(BOOK-210): update link with icon
* fix(BOOK-210): update buttonlink tripadvisor
* fix(BOOK-210): switch wrapper logic
* fix(BOOK-210): update variants tripadvisor
Approved-by: Erik Tiekstra
fix: (SW-3495): Update booking-flow links in partner-sas
* Update links to scandic web in booking-flow
* Fix routeToScandicWeb util function
Approved-by: Hrishikesh Vaipurkar
Feat/SW-3461 setup auth with sas eurobonus
* feat(SW-3461): Setup auth for sas eurobonus
* .
* feat: setup auth towards SAS
* Fix auth via SAS and add logout route
* .
* merge
* auth via SAS
* fix powered by scandic logo
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3461-setup-auth-with-sas-eurobonus
* Include access_token in jwt after successful login
* merge
Approved-by: Anton Gunnarsson
fix(LOY-369): Able to redeem tier rewards
* fix(LOY-369): able to redeem on site tier rewards
* fix(LOY-369): single mutation call
* fix(LOY-369): apply coupon check for all tier rewards
Approved-by: Linus Flood
Approved-by: Matilda Landström
feat(SW-3494): removed properties that we dont need in the tracking
* feat(SW-3494): removed properties that we dont need in the tracking
* Fixed waiting on user response before tracking
* Refactor and cleanup
* Cleanup
Approved-by: Joakim Jäderberg
Fix/webview auth fix
* Test
* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/webview-auth-fix
* Setting cookie instead of headers
Approved-by: Anton Gunnarsson