@zernio/node 0.2.830 → 0.2.832

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.d.mts CHANGED
@@ -16188,6 +16188,14 @@ type GetTikTokCreatorInfoError = ({
16188
16188
  type VerifyCredentialResponse = ({
16189
16189
  valid?: boolean;
16190
16190
  userId?: string;
16191
+ /**
16192
+ * Display name of the credential's owner.
16193
+ */
16194
+ name?: (string) | null;
16195
+ /**
16196
+ * Email of the credential's owner.
16197
+ */
16198
+ email?: (string) | null;
16191
16199
  authType?: 'api_key' | 'oauth' | 'session';
16192
16200
  /**
16193
16201
  * Granted OAuth scopes, space-separated. Null for API keys.
@@ -16426,7 +16434,7 @@ type GetConnectUrlData = {
16426
16434
  *
16427
16435
  * WhatsApp:
16428
16436
  * whatsapp_error, one_whatsapp_per_profile, whatsapp_number_already_connected,
16429
- * whatsapp_number_pinned_to_profile, connection_cancelled
16437
+ * whatsapp_number_pinned_to_profile, whatsapp_coexistence_not_registered, connection_cancelled
16430
16438
  *
16431
16439
  * Google Ads (platform=googleads):
16432
16440
  * google_ads_auth_failed, google_ads_invalid_state, google_ads_config_error,
@@ -16472,8 +16480,8 @@ type GetConnectUrlData = {
16472
16480
  * side and no domain setup: send the user to `authUrl`, and they come back to `redirect_url` with the
16473
16481
  * same params as the redirect flow. Success: `connected=whatsapp`, `profileId`, `accountId`, `username`
16474
16482
  * (plus `connect_token` for API-key callers). Failure: `error` and `platform=whatsapp`, with the same
16475
- * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`
16476
- * and `whatsapp_number_pinned_to_profile` with `is_user_fixable=true`; `payment_required` with `reason`
16483
+ * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`,
16484
+ * `whatsapp_number_pinned_to_profile` and `whatsapp_coexistence_not_registered` with `is_user_fixable=true`; `payment_required` with `reason`
16477
16485
  * and `dashboard_url`; `whatsapp_error` with `error_message` when Meta reported one), plus two of its own:
16478
16486
  * `connection_cancelled` when the popup was closed before finishing (`error_message` carries Meta's last
16479
16487
  * reported step or error when there is one) and `session_expired` when the user took longer than the
package/dist/index.d.ts CHANGED
@@ -16188,6 +16188,14 @@ type GetTikTokCreatorInfoError = ({
16188
16188
  type VerifyCredentialResponse = ({
16189
16189
  valid?: boolean;
16190
16190
  userId?: string;
16191
+ /**
16192
+ * Display name of the credential's owner.
16193
+ */
16194
+ name?: (string) | null;
16195
+ /**
16196
+ * Email of the credential's owner.
16197
+ */
16198
+ email?: (string) | null;
16191
16199
  authType?: 'api_key' | 'oauth' | 'session';
16192
16200
  /**
16193
16201
  * Granted OAuth scopes, space-separated. Null for API keys.
@@ -16426,7 +16434,7 @@ type GetConnectUrlData = {
16426
16434
  *
16427
16435
  * WhatsApp:
16428
16436
  * whatsapp_error, one_whatsapp_per_profile, whatsapp_number_already_connected,
16429
- * whatsapp_number_pinned_to_profile, connection_cancelled
16437
+ * whatsapp_number_pinned_to_profile, whatsapp_coexistence_not_registered, connection_cancelled
16430
16438
  *
16431
16439
  * Google Ads (platform=googleads):
16432
16440
  * google_ads_auth_failed, google_ads_invalid_state, google_ads_config_error,
@@ -16472,8 +16480,8 @@ type GetConnectUrlData = {
16472
16480
  * side and no domain setup: send the user to `authUrl`, and they come back to `redirect_url` with the
16473
16481
  * same params as the redirect flow. Success: `connected=whatsapp`, `profileId`, `accountId`, `username`
16474
16482
  * (plus `connect_token` for API-key callers). Failure: `error` and `platform=whatsapp`, with the same
16475
- * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`
16476
- * and `whatsapp_number_pinned_to_profile` with `is_user_fixable=true`; `payment_required` with `reason`
16483
+ * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`,
16484
+ * `whatsapp_number_pinned_to_profile` and `whatsapp_coexistence_not_registered` with `is_user_fixable=true`; `payment_required` with `reason`
16477
16485
  * and `dashboard_url`; `whatsapp_error` with `error_message` when Meta reported one), plus two of its own:
16478
16486
  * `connection_cancelled` when the popup was closed before finishing (`error_message` carries Meta's last
16479
16487
  * reported step or error when there is one) and `session_expired` when the user took longer than the
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.830",
39
+ version: "0.2.832",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.830",
8
+ version: "0.2.832",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.830",
3
+ "version": "0.2.832",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15234,6 +15234,14 @@ export type GetTikTokCreatorInfoError = ({
15234
15234
  export type VerifyCredentialResponse = ({
15235
15235
  valid?: boolean;
15236
15236
  userId?: string;
15237
+ /**
15238
+ * Display name of the credential's owner.
15239
+ */
15240
+ name?: (string) | null;
15241
+ /**
15242
+ * Email of the credential's owner.
15243
+ */
15244
+ email?: (string) | null;
15237
15245
  authType?: 'api_key' | 'oauth' | 'session';
15238
15246
  /**
15239
15247
  * Granted OAuth scopes, space-separated. Null for API keys.
@@ -15490,7 +15498,7 @@ export type GetConnectUrlData = {
15490
15498
  *
15491
15499
  * WhatsApp:
15492
15500
  * whatsapp_error, one_whatsapp_per_profile, whatsapp_number_already_connected,
15493
- * whatsapp_number_pinned_to_profile, connection_cancelled
15501
+ * whatsapp_number_pinned_to_profile, whatsapp_coexistence_not_registered, connection_cancelled
15494
15502
  *
15495
15503
  * Google Ads (platform=googleads):
15496
15504
  * google_ads_auth_failed, google_ads_invalid_state, google_ads_config_error,
@@ -15536,8 +15544,8 @@ export type GetConnectUrlData = {
15536
15544
  * side and no domain setup: send the user to `authUrl`, and they come back to `redirect_url` with the
15537
15545
  * same params as the redirect flow. Success: `connected=whatsapp`, `profileId`, `accountId`, `username`
15538
15546
  * (plus `connect_token` for API-key callers). Failure: `error` and `platform=whatsapp`, with the same
15539
- * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`
15540
- * and `whatsapp_number_pinned_to_profile` with `is_user_fixable=true`; `payment_required` with `reason`
15547
+ * values and extras as the redirect flow (`one_whatsapp_per_profile`, `whatsapp_number_already_connected`,
15548
+ * `whatsapp_number_pinned_to_profile` and `whatsapp_coexistence_not_registered` with `is_user_fixable=true`; `payment_required` with `reason`
15541
15549
  * and `dashboard_url`; `whatsapp_error` with `error_message` when Meta reported one), plus two of its own:
15542
15550
  * `connection_cancelled` when the popup was closed before finishing (`error_message` carries Meta's last
15543
15551
  * reported step or error when there is one) and `session_expired` when the user took longer than the