@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.d.cts
CHANGED
|
@@ -25779,7 +25779,7 @@ interface AuthEmailVerificationApiSendEmailVerificationOperationRequest {
|
|
|
25779
25779
|
*/
|
|
25780
25780
|
interface AuthEmailVerificationApiInterface {
|
|
25781
25781
|
/**
|
|
25782
|
-
* Verify the user\'s email using
|
|
25782
|
+
* 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.
|
|
25783
25783
|
* @summary Confirm email verification
|
|
25784
25784
|
* @param {ConfirmEmailVerificationRequest} confirmEmailVerificationRequest
|
|
25785
25785
|
* @param {*} [options] Override http request option.
|
|
@@ -25788,7 +25788,7 @@ interface AuthEmailVerificationApiInterface {
|
|
|
25788
25788
|
*/
|
|
25789
25789
|
confirmEmailVerificationRaw(requestParameters: AuthEmailVerificationApiConfirmEmailVerificationOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ConfirmEmailVerificationResponse>>;
|
|
25790
25790
|
/**
|
|
25791
|
-
* Verify the user\'s email using
|
|
25791
|
+
* 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.
|
|
25792
25792
|
* Confirm email verification
|
|
25793
25793
|
*/
|
|
25794
25794
|
confirmEmailVerification(confirmEmailVerificationRequest: ConfirmEmailVerificationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ConfirmEmailVerificationResponse>;
|
|
@@ -25826,12 +25826,12 @@ interface AuthEmailVerificationApiInterface {
|
|
|
25826
25826
|
*/
|
|
25827
25827
|
declare class AuthEmailVerificationApi extends BaseAPI implements AuthEmailVerificationApiInterface {
|
|
25828
25828
|
/**
|
|
25829
|
-
* Verify the user\'s email using
|
|
25829
|
+
* 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.
|
|
25830
25830
|
* Confirm email verification
|
|
25831
25831
|
*/
|
|
25832
25832
|
confirmEmailVerificationRaw(requestParameters: AuthEmailVerificationApiConfirmEmailVerificationOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ConfirmEmailVerificationResponse>>;
|
|
25833
25833
|
/**
|
|
25834
|
-
* Verify the user\'s email using
|
|
25834
|
+
* 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.
|
|
25835
25835
|
* Confirm email verification
|
|
25836
25836
|
*/
|
|
25837
25837
|
confirmEmailVerification(confirmEmailVerificationRequest: ConfirmEmailVerificationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ConfirmEmailVerificationResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -25779,7 +25779,7 @@ interface AuthEmailVerificationApiSendEmailVerificationOperationRequest {
|
|
|
25779
25779
|
*/
|
|
25780
25780
|
interface AuthEmailVerificationApiInterface {
|
|
25781
25781
|
/**
|
|
25782
|
-
* Verify the user\'s email using
|
|
25782
|
+
* 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.
|
|
25783
25783
|
* @summary Confirm email verification
|
|
25784
25784
|
* @param {ConfirmEmailVerificationRequest} confirmEmailVerificationRequest
|
|
25785
25785
|
* @param {*} [options] Override http request option.
|
|
@@ -25788,7 +25788,7 @@ interface AuthEmailVerificationApiInterface {
|
|
|
25788
25788
|
*/
|
|
25789
25789
|
confirmEmailVerificationRaw(requestParameters: AuthEmailVerificationApiConfirmEmailVerificationOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ConfirmEmailVerificationResponse>>;
|
|
25790
25790
|
/**
|
|
25791
|
-
* Verify the user\'s email using
|
|
25791
|
+
* 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.
|
|
25792
25792
|
* Confirm email verification
|
|
25793
25793
|
*/
|
|
25794
25794
|
confirmEmailVerification(confirmEmailVerificationRequest: ConfirmEmailVerificationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ConfirmEmailVerificationResponse>;
|
|
@@ -25826,12 +25826,12 @@ interface AuthEmailVerificationApiInterface {
|
|
|
25826
25826
|
*/
|
|
25827
25827
|
declare class AuthEmailVerificationApi extends BaseAPI implements AuthEmailVerificationApiInterface {
|
|
25828
25828
|
/**
|
|
25829
|
-
* Verify the user\'s email using
|
|
25829
|
+
* 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.
|
|
25830
25830
|
* Confirm email verification
|
|
25831
25831
|
*/
|
|
25832
25832
|
confirmEmailVerificationRaw(requestParameters: AuthEmailVerificationApiConfirmEmailVerificationOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ConfirmEmailVerificationResponse>>;
|
|
25833
25833
|
/**
|
|
25834
|
-
* Verify the user\'s email using
|
|
25834
|
+
* 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.
|
|
25835
25835
|
* Confirm email verification
|
|
25836
25836
|
*/
|
|
25837
25837
|
confirmEmailVerification(confirmEmailVerificationRequest: ConfirmEmailVerificationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ConfirmEmailVerificationResponse>;
|
package/dist/index.js
CHANGED
|
@@ -17842,7 +17842,7 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17842
17842
|
// src/src/apis/AuthEmailVerificationApi.ts
|
|
17843
17843
|
var AuthEmailVerificationApi = class extends BaseAPI {
|
|
17844
17844
|
/**
|
|
17845
|
-
* Verify the user\'s email using
|
|
17845
|
+
* 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.
|
|
17846
17846
|
* Confirm email verification
|
|
17847
17847
|
*/
|
|
17848
17848
|
async confirmEmailVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -17881,7 +17881,7 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17881
17881
|
return new JSONApiResponse(response, (jsonValue) => ConfirmEmailVerificationResponseFromJSON(jsonValue));
|
|
17882
17882
|
}
|
|
17883
17883
|
/**
|
|
17884
|
-
* Verify the user\'s email using
|
|
17884
|
+
* 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.
|
|
17885
17885
|
* Confirm email verification
|
|
17886
17886
|
*/
|
|
17887
17887
|
async confirmEmailVerification(confirmEmailVerificationRequest, initOverrides) {
|