Fix/STAY-73 opt in email
* fix: let user opt-in for modification email when adding ancillaries
* fix: add toast when successfully removing an ancillary
Approved-by: Erik Tiekstra
Approved-by: Elin Svedin
fix(SW-3549): update social session management functions for clarity and consistency
* refactor(SW-3549): rename session management functions for clarity and consistency
* merge
Approved-by: Hrishikesh Vaipurkar
feat(SW-3541): Do social login after login to SAS
* feat(auth): wip social login via curity
* Setup social login auth flow
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* Added support for getting scandic tokens and refresh them
* feat: Enhance social login and session management with auto-refresh and improved error handling
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* wrap layout in suspense
* revert app/layout.tsx
* fix import
* cleanup
* merge
* merge
* dont pass client_secret in the url to curity
* add state validation when doing social login through /authorize
* remove debug logging
Approved-by: Anton Gunnarsson
feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526) Optimized points currency code
* feat(SW-3526) Removed extra multiplication for token expiry after rebase
* feat(SW-3526): Updated to exhaustive check and thow if type error
Approved-by: Anton Gunnarsson
fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
* fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
Approved-by: Erik Tiekstra
Fix/getProfile
* fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
* Merge branch 'master' into fix/getProfile
* feat(profile): revert and dont mask data :O
Approved-by: Anton Gunnarsson
fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
* fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
Approved-by: Anton Gunnarsson
* feat(SW-3516): Include partnerLoyaltyNumber on bookings
- Added user context to BookingFlowProviders for user state management.
- Updated booking input and output schemas to accommodate new user data.
- Refactored booking mutation logic to include user-related information.
- Improved type definitions for better TypeScript support across booking components.
Approved-by: Anton Gunnarsson
feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated UI as per design
* feat(SW-2782): Optimised code with use of Popover and modal from RAC
Approved-by: Anton Gunnarsson
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(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
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