@7365admin1/core 3.129.3-staging.460 → 3.129.3-staging.461
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/test/e2e/harness.mjs +19 -1
package/package.json
CHANGED
package/test/e2e/harness.mjs
CHANGED
|
@@ -503,9 +503,27 @@ function buildApp(nsu, core) {
|
|
|
503
503
|
const authV2 = express.Router();
|
|
504
504
|
{
|
|
505
505
|
const { signUp } = core.useAuthControllerV2();
|
|
506
|
-
const {
|
|
506
|
+
const {
|
|
507
|
+
verify,
|
|
508
|
+
createInviteSignUp,
|
|
509
|
+
verifyInviteCode,
|
|
510
|
+
verifyInvitePassword,
|
|
511
|
+
getInviteAccount,
|
|
512
|
+
getOnboarding,
|
|
513
|
+
updateOnboarding,
|
|
514
|
+
resendSignUpVerification,
|
|
515
|
+
} = core.useVerificationControllerV2();
|
|
507
516
|
authV2.post("/sign-up", signUp);
|
|
508
517
|
authV2.get("/verify/:verificationCode", verify);
|
|
518
|
+
// auth-v2.route.ts:29-46 - the organisation-owner invitation pages
|
|
519
|
+
// (web-app-main sign-up-invite/org-owner) and the e-mailed code resend.
|
|
520
|
+
authV2.post("/invite/:id/sign-up", createInviteSignUp);
|
|
521
|
+
authV2.post("/invite/:id/verify-code", verifyInviteCode);
|
|
522
|
+
authV2.post("/invite/:id/verify-password", verifyInvitePassword);
|
|
523
|
+
authV2.get("/invite/:id/account", getInviteAccount);
|
|
524
|
+
authV2.get("/onboarding", requireAuth, getOnboarding);
|
|
525
|
+
authV2.patch("/onboarding/:id", requireAuth, updateOnboarding);
|
|
526
|
+
authV2.post("/resend-verification", resendSignUpVerification);
|
|
509
527
|
}
|
|
510
528
|
|
|
511
529
|
// mirrors iservice365-API-core/src/routes/user-v2.route.ts
|