Merged in feature/SW-3505-fetch-eurobonus-points (pull request #2847)

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
This commit is contained in:
Joakim Jäderberg
2025-09-23 12:13:20 +00:00
parent 8cd6f1d3a5
commit c46e71d76e
6 changed files with 90 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import { router } from "../../.."
import { requestOtp } from "./otp/request/requestOtp"
import { verifyOtp } from "./otp/verify/verifyOtp"
import { getEuroBonusProfile } from "./getEuroBonusProfile"
import { linkAccount } from "./linkAccount"
import { performLevelUpgrade } from "./performLevelUpgrade"
import { transferPoints } from "./transferPoints"
@@ -13,4 +14,5 @@ export const sasRouter = router({
unlinkAccount,
performLevelUpgrade,
transferPoints,
getEuroBonusProfile,
})