@delopay/sdk 0.22.0 → 0.23.0
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/dist/{chunk-4PBWNLYU.js → chunk-ZGDBGVGC.js} +14 -1
- package/dist/{chunk-4PBWNLYU.js.map → chunk-ZGDBGVGC.js.map} +1 -1
- package/dist/index.cjs +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -1
- package/dist/internal.cjs +13 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
|
@@ -2019,6 +2019,19 @@ var Users = class {
|
|
|
2019
2019
|
async acceptInvitation(params) {
|
|
2020
2020
|
return this.request("POST", "/user/user/invite/accept", { body: params });
|
|
2021
2021
|
}
|
|
2022
|
+
/**
|
|
2023
|
+
* Accept an invitation via the email-link flow.
|
|
2024
|
+
*
|
|
2025
|
+
* Caller must already hold a `SinglePurposeToken` with
|
|
2026
|
+
* `purpose: accept_invitation_from_email` (obtained via `fromEmail` + any
|
|
2027
|
+
* required TOTP step) and have set it on the client via `setJwtToken`.
|
|
2028
|
+
* `body.token` must still be the original `EmailToken` from the
|
|
2029
|
+
* invite-link URL — the handler decodes it a second time to find the
|
|
2030
|
+
* invitee and the entity lineage.
|
|
2031
|
+
*/
|
|
2032
|
+
async acceptInviteFromEmail(params) {
|
|
2033
|
+
return this.request("POST", "/user/accept_invite_from_email", { body: params });
|
|
2034
|
+
}
|
|
2022
2035
|
/**
|
|
2023
2036
|
* Start TOTP setup (or no-op if already set).
|
|
2024
2037
|
*
|
|
@@ -3633,4 +3646,4 @@ export {
|
|
|
3633
3646
|
applyBrandingVariables,
|
|
3634
3647
|
shadowFor
|
|
3635
3648
|
};
|
|
3636
|
-
//# sourceMappingURL=chunk-
|
|
3649
|
+
//# sourceMappingURL=chunk-ZGDBGVGC.js.map
|