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
19 lines
562 B
TypeScript
19 lines
562 B
TypeScript
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"
|
|
import { unlinkAccount } from "./unlinkAccount"
|
|
|
|
export const sasRouter = router({
|
|
verifyOtp,
|
|
requestOtp,
|
|
linkAccount,
|
|
unlinkAccount,
|
|
performLevelUpgrade,
|
|
transferPoints,
|
|
getEuroBonusProfile,
|
|
})
|