feat(LOY-291): New claim points flow for logged in users
* wip new flow
* More wip
* More wip
* Wip styling
* wip with a mutation
* Actually fetch booking data
* More styling wip
* Fix toast duration
* fix loading a11y maybe
* More stuff
* Add feature flag
* Add invalid state
* Clean up
* Add fields for missing user info
* Restructure files
* Add todos
* Disable warning
* Fix icon and border radius
Approved-by: Emma Zettervall
Approved-by: Matilda Landström
feat(BOOK-750): refactor booking endpoints
* WIP
* wip
* wip
* parse dates in UTC
* wip
* no more errors
* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/refactor-trpc-booking-routes
* .
* cleanup
* import named z from zod
* fix(BOOK-750): updateBooking api endpoint expects dateOnly, we passed ISO date
Approved-by: Anton Gunnarsson
Include more details when throwing errors for debugging in Sentry
* WIP throw errors with more details for debugging in Sentry
* Fix throwing response-data
* Clearer message when a response fails
* Add message to errors
* better typings
* .
* Try to send profileID and membershipNumber to Sentry when we fail to parse the apiResponse
* rename notFound -> notFoundError
* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/add-error-details-for-sentry
Approved-by: Linus Flood
* fix(BOOK-607): updated to read from base URL env and contentstack slug instead
* made url optional on interface
* added url to findBooking query
* added the correct (new) link in the confirmation header, add to calendar
Approved-by: Erik Tiekstra
Counter name is now searchable and add counter for redirects
* refactor: createCounter() only takes one argument, the name of the counter. Makes it easier to search for
* feat: add counter when we do a redirect from redirect-service
Approved-by: Linus Flood
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-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-2358): Use personal token if logged in
* feat(SW-2903): Use personal token if logged in
* Avoid encoding values in cookie
* Fix tests
Approved-by: Anton Gunnarsson