@zyphr-dev/node-sdk 0.1.57 → 0.1.58
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/src/apis/AuthEmailVerificationApi.ts +4 -4
package/dist/index.cjs
CHANGED
|
@@ -20535,7 +20535,7 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
20535
20535
|
// src/src/apis/AuthEmailVerificationApi.ts
|
|
20536
20536
|
var AuthEmailVerificationApi = class extends BaseAPI {
|
|
20537
20537
|
/**
|
|
20538
|
-
* Verify the user\'s email using
|
|
20538
|
+
* Verify the user\'s email using the token from the emailed link. Zyphr does NOT host auth pages and never redeems the token itself. The emailed link points at YOUR `redirect_url` with `?token=<raw>`; your app reads that token and posts it here. Nothing is verified until this call. This endpoint is idempotent: re-posting an already-redeemed token returns `200` with `already_verified: true` rather than an error, so a double submit or a link opened twice is safe. Only a genuinely invalid / expired / unknown token returns `400`. Note `redirect_url` is REQUIRED (snake_case) when sending the verification email — there is no hosted fallback page.
|
|
20539
20539
|
* Confirm email verification
|
|
20540
20540
|
*/
|
|
20541
20541
|
async confirmEmailVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -20574,7 +20574,7 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
20574
20574
|
return new JSONApiResponse(response, (jsonValue) => ConfirmEmailVerificationResponseFromJSON(jsonValue));
|
|
20575
20575
|
}
|
|
20576
20576
|
/**
|
|
20577
|
-
* Verify the user\'s email using
|
|
20577
|
+
* Verify the user\'s email using the token from the emailed link. Zyphr does NOT host auth pages and never redeems the token itself. The emailed link points at YOUR `redirect_url` with `?token=<raw>`; your app reads that token and posts it here. Nothing is verified until this call. This endpoint is idempotent: re-posting an already-redeemed token returns `200` with `already_verified: true` rather than an error, so a double submit or a link opened twice is safe. Only a genuinely invalid / expired / unknown token returns `400`. Note `redirect_url` is REQUIRED (snake_case) when sending the verification email — there is no hosted fallback page.
|
|
20578
20578
|
* Confirm email verification
|
|
20579
20579
|
*/
|
|
20580
20580
|
async confirmEmailVerification(confirmEmailVerificationRequest, initOverrides) {
|