@zernio/node 0.2.529 → 0.2.530
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11844,7 +11844,7 @@ type GetConnectUrlData = {
|
|
|
11844
11844
|
*/
|
|
11845
11845
|
headless?: boolean;
|
|
11846
11846
|
/**
|
|
11847
|
-
* Your Zernio profile ID (get from /v1/profiles)
|
|
11847
|
+
* Your Zernio profile ID (get from /v1/profiles). For WhatsApp, a Zernio-provisioned number can only be connected on the profile it was provisioned to; connecting from any other profile is rejected with a 409.
|
|
11848
11848
|
*/
|
|
11849
11849
|
profileId: string;
|
|
11850
11850
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -11844,7 +11844,7 @@ type GetConnectUrlData = {
|
|
|
11844
11844
|
*/
|
|
11845
11845
|
headless?: boolean;
|
|
11846
11846
|
/**
|
|
11847
|
-
* Your Zernio profile ID (get from /v1/profiles)
|
|
11847
|
+
* Your Zernio profile ID (get from /v1/profiles). For WhatsApp, a Zernio-provisioned number can only be connected on the profile it was provisioned to; connecting from any other profile is rejected with a 409.
|
|
11848
11848
|
*/
|
|
11849
11849
|
profileId: string;
|
|
11850
11850
|
/**
|
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.
|
|
39
|
+
version: "0.2.530",
|
|
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.
|
|
8
|
+
version: "0.2.530",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -5486,9 +5486,9 @@ export const createWhatsAppNumberKycLink = <ThrowOnError extends boolean = false
|
|
|
5486
5486
|
* Use this instead of `PATCH /v1/accounts/{accountId}`: that one moves the
|
|
5487
5487
|
* social account only and leaves the number itself pinned to its original
|
|
5488
5488
|
* profile, which splits the number across two profiles. Connecting a
|
|
5489
|
-
* provisioned number
|
|
5490
|
-
* `
|
|
5491
|
-
*
|
|
5489
|
+
* Zernio-provisioned number from any profile but its own is rejected with a
|
|
5490
|
+
* `409` (`WHATSAPP_NUMBER_PINNED_TO_PROFILE`). This endpoint is how you
|
|
5491
|
+
* re-home the number first, so it can then be connected from the new profile.
|
|
5492
5492
|
*
|
|
5493
5493
|
* `id` is the number record id from `GET /v1/phone-numbers`, not an account id.
|
|
5494
5494
|
*
|
|
@@ -11151,7 +11151,7 @@ export type GetConnectUrlData = {
|
|
|
11151
11151
|
*/
|
|
11152
11152
|
headless?: boolean;
|
|
11153
11153
|
/**
|
|
11154
|
-
* Your Zernio profile ID (get from /v1/profiles)
|
|
11154
|
+
* Your Zernio profile ID (get from /v1/profiles). For WhatsApp, a Zernio-provisioned number can only be connected on the profile it was provisioned to; connecting from any other profile is rejected with a 409.
|
|
11155
11155
|
*/
|
|
11156
11156
|
profileId: string;
|
|
11157
11157
|
/**
|