@getlatedev/node 0.2.245 → 0.2.246
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 +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -1
- package/src/generated/types.gen.ts +15 -0
package/dist/index.d.mts
CHANGED
|
@@ -14852,6 +14852,21 @@ type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
14852
14852
|
regulatoryDeclineReason?: (string) | null;
|
|
14853
14853
|
createdAt?: string;
|
|
14854
14854
|
}>;
|
|
14855
|
+
/**
|
|
14856
|
+
* Connected (bring-your-own) WhatsApp numbers — your own WABA
|
|
14857
|
+
* numbers linked via Embedded Signup. Not provisioned or billed
|
|
14858
|
+
* by Zernio, so they are not in `numbers`; `accountId` is the
|
|
14859
|
+
* social-account id used by the messaging and inbox endpoints.
|
|
14860
|
+
* Included only on the default and `status=active` views.
|
|
14861
|
+
*
|
|
14862
|
+
*/
|
|
14863
|
+
connected?: Array<{
|
|
14864
|
+
accountId?: string;
|
|
14865
|
+
phoneNumber?: (string) | null;
|
|
14866
|
+
displayName?: (string) | null;
|
|
14867
|
+
profileId?: (string) | null;
|
|
14868
|
+
connectedAt?: (string) | null;
|
|
14869
|
+
}>;
|
|
14855
14870
|
/**
|
|
14856
14871
|
* The shared WhatsApp sandbox (one Zernio-owned number, all users test
|
|
14857
14872
|
* against it). Present when the sandbox is configured; null otherwise.
|
package/dist/index.d.ts
CHANGED
|
@@ -14852,6 +14852,21 @@ type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
14852
14852
|
regulatoryDeclineReason?: (string) | null;
|
|
14853
14853
|
createdAt?: string;
|
|
14854
14854
|
}>;
|
|
14855
|
+
/**
|
|
14856
|
+
* Connected (bring-your-own) WhatsApp numbers — your own WABA
|
|
14857
|
+
* numbers linked via Embedded Signup. Not provisioned or billed
|
|
14858
|
+
* by Zernio, so they are not in `numbers`; `accountId` is the
|
|
14859
|
+
* social-account id used by the messaging and inbox endpoints.
|
|
14860
|
+
* Included only on the default and `status=active` views.
|
|
14861
|
+
*
|
|
14862
|
+
*/
|
|
14863
|
+
connected?: Array<{
|
|
14864
|
+
accountId?: string;
|
|
14865
|
+
phoneNumber?: (string) | null;
|
|
14866
|
+
displayName?: (string) | null;
|
|
14867
|
+
profileId?: (string) | null;
|
|
14868
|
+
connectedAt?: (string) | null;
|
|
14869
|
+
}>;
|
|
14855
14870
|
/**
|
|
14856
14871
|
* The shared WhatsApp sandbox (one Zernio-owned number, all users test
|
|
14857
14872
|
* against it). Present when the sandbox is configured; null otherwise.
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.246",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.246",
|
|
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
|
@@ -3249,7 +3249,9 @@ export const createWhatsAppDataset = <ThrowOnError extends boolean = false>(opti
|
|
|
3249
3249
|
/**
|
|
3250
3250
|
* List phone numbers
|
|
3251
3251
|
* List all WhatsApp phone numbers purchased by the authenticated user.
|
|
3252
|
-
* By default, released numbers are excluded.
|
|
3252
|
+
* By default, released numbers are excluded. Connected (bring-your-own)
|
|
3253
|
+
* numbers are returned in the separate `connected` array — they are not
|
|
3254
|
+
* billed and have no provisioning lifecycle.
|
|
3253
3255
|
*
|
|
3254
3256
|
*/
|
|
3255
3257
|
export const getWhatsAppPhoneNumbers = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetWhatsAppPhoneNumbersData, ThrowOnError>) => {
|
|
@@ -15008,6 +15008,21 @@ export type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
15008
15008
|
regulatoryDeclineReason?: (string) | null;
|
|
15009
15009
|
createdAt?: string;
|
|
15010
15010
|
}>;
|
|
15011
|
+
/**
|
|
15012
|
+
* Connected (bring-your-own) WhatsApp numbers — your own WABA
|
|
15013
|
+
* numbers linked via Embedded Signup. Not provisioned or billed
|
|
15014
|
+
* by Zernio, so they are not in `numbers`; `accountId` is the
|
|
15015
|
+
* social-account id used by the messaging and inbox endpoints.
|
|
15016
|
+
* Included only on the default and `status=active` views.
|
|
15017
|
+
*
|
|
15018
|
+
*/
|
|
15019
|
+
connected?: Array<{
|
|
15020
|
+
accountId?: string;
|
|
15021
|
+
phoneNumber?: (string) | null;
|
|
15022
|
+
displayName?: (string) | null;
|
|
15023
|
+
profileId?: (string) | null;
|
|
15024
|
+
connectedAt?: (string) | null;
|
|
15025
|
+
}>;
|
|
15011
15026
|
/**
|
|
15012
15027
|
* The shared WhatsApp sandbox (one Zernio-owned number, all users test
|
|
15013
15028
|
* against it). Present when the sandbox is configured; null otherwise.
|