@zernio/node 0.2.1030 → 0.2.1031
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 +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +18 -2
package/dist/index.d.mts
CHANGED
|
@@ -8386,7 +8386,7 @@ type InboxWebhookMessage = {
|
|
|
8386
8386
|
*/
|
|
8387
8387
|
parentBusinessScopedUserId?: string;
|
|
8388
8388
|
/**
|
|
8389
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
8389
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
8390
8390
|
* stable identifier, because users can change it. Useful for display, not
|
|
8391
8391
|
* recommended as an identity anchor.
|
|
8392
8392
|
*
|
|
@@ -13981,7 +13981,7 @@ type WebhookPayloadMessage = {
|
|
|
13981
13981
|
*/
|
|
13982
13982
|
parentBusinessScopedUserId?: string;
|
|
13983
13983
|
/**
|
|
13984
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
13984
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
13985
13985
|
* stable identifier, because users can change it. Useful for display,
|
|
13986
13986
|
* not recommended as an identity anchor.
|
|
13987
13987
|
*
|
|
@@ -26074,6 +26074,14 @@ type ListInboxConversationsResponse = ({
|
|
|
26074
26074
|
* X verified badge type. Only present for X conversations.
|
|
26075
26075
|
*/
|
|
26076
26076
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
26077
|
+
/**
|
|
26078
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
26079
|
+
*/
|
|
26080
|
+
businessScopedUserId?: string;
|
|
26081
|
+
/**
|
|
26082
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
26083
|
+
*/
|
|
26084
|
+
whatsappUsername?: string;
|
|
26077
26085
|
lastMessage?: string;
|
|
26078
26086
|
updatedTime?: string;
|
|
26079
26087
|
status?: 'active' | 'archived';
|
|
@@ -26570,6 +26578,14 @@ type GetInboxConversationResponse = ({
|
|
|
26570
26578
|
* X verified badge type. Only present for X conversations.
|
|
26571
26579
|
*/
|
|
26572
26580
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
26581
|
+
/**
|
|
26582
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
26583
|
+
*/
|
|
26584
|
+
businessScopedUserId?: string;
|
|
26585
|
+
/**
|
|
26586
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
26587
|
+
*/
|
|
26588
|
+
whatsappUsername?: string;
|
|
26573
26589
|
lastMessage?: string;
|
|
26574
26590
|
lastMessageAt?: string;
|
|
26575
26591
|
updatedTime?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -8386,7 +8386,7 @@ type InboxWebhookMessage = {
|
|
|
8386
8386
|
*/
|
|
8387
8387
|
parentBusinessScopedUserId?: string;
|
|
8388
8388
|
/**
|
|
8389
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
8389
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
8390
8390
|
* stable identifier, because users can change it. Useful for display, not
|
|
8391
8391
|
* recommended as an identity anchor.
|
|
8392
8392
|
*
|
|
@@ -13981,7 +13981,7 @@ type WebhookPayloadMessage = {
|
|
|
13981
13981
|
*/
|
|
13982
13982
|
parentBusinessScopedUserId?: string;
|
|
13983
13983
|
/**
|
|
13984
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
13984
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
13985
13985
|
* stable identifier, because users can change it. Useful for display,
|
|
13986
13986
|
* not recommended as an identity anchor.
|
|
13987
13987
|
*
|
|
@@ -26074,6 +26074,14 @@ type ListInboxConversationsResponse = ({
|
|
|
26074
26074
|
* X verified badge type. Only present for X conversations.
|
|
26075
26075
|
*/
|
|
26076
26076
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
26077
|
+
/**
|
|
26078
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
26079
|
+
*/
|
|
26080
|
+
businessScopedUserId?: string;
|
|
26081
|
+
/**
|
|
26082
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
26083
|
+
*/
|
|
26084
|
+
whatsappUsername?: string;
|
|
26077
26085
|
lastMessage?: string;
|
|
26078
26086
|
updatedTime?: string;
|
|
26079
26087
|
status?: 'active' | 'archived';
|
|
@@ -26570,6 +26578,14 @@ type GetInboxConversationResponse = ({
|
|
|
26570
26578
|
* X verified badge type. Only present for X conversations.
|
|
26571
26579
|
*/
|
|
26572
26580
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
26581
|
+
/**
|
|
26582
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
26583
|
+
*/
|
|
26584
|
+
businessScopedUserId?: string;
|
|
26585
|
+
/**
|
|
26586
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
26587
|
+
*/
|
|
26588
|
+
whatsappUsername?: string;
|
|
26573
26589
|
lastMessage?: string;
|
|
26574
26590
|
lastMessageAt?: string;
|
|
26575
26591
|
updatedTime?: string;
|
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.1031",
|
|
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.1031",
|
|
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
|
@@ -6710,7 +6710,7 @@ export type InboxWebhookMessage = {
|
|
|
6710
6710
|
*/
|
|
6711
6711
|
parentBusinessScopedUserId?: string;
|
|
6712
6712
|
/**
|
|
6713
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
6713
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
6714
6714
|
* stable identifier, because users can change it. Useful for display, not
|
|
6715
6715
|
* recommended as an identity anchor.
|
|
6716
6716
|
*
|
|
@@ -12557,7 +12557,7 @@ export type WebhookPayloadMessage = {
|
|
|
12557
12557
|
*/
|
|
12558
12558
|
parentBusinessScopedUserId?: string;
|
|
12559
12559
|
/**
|
|
12560
|
-
* WhatsApp only. User's WhatsApp username (e.g.
|
|
12560
|
+
* WhatsApp only. User's WhatsApp username (e.g. `jane.shop`). Not a
|
|
12561
12561
|
* stable identifier, because users can change it. Useful for display,
|
|
12562
12562
|
* not recommended as an identity anchor.
|
|
12563
12563
|
*
|
|
@@ -25414,6 +25414,14 @@ export type ListInboxConversationsResponse = ({
|
|
|
25414
25414
|
* X verified badge type. Only present for X conversations.
|
|
25415
25415
|
*/
|
|
25416
25416
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
25417
|
+
/**
|
|
25418
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
25419
|
+
*/
|
|
25420
|
+
businessScopedUserId?: string;
|
|
25421
|
+
/**
|
|
25422
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
25423
|
+
*/
|
|
25424
|
+
whatsappUsername?: string;
|
|
25417
25425
|
lastMessage?: string;
|
|
25418
25426
|
updatedTime?: string;
|
|
25419
25427
|
status?: 'active' | 'archived';
|
|
@@ -25919,6 +25927,14 @@ export type GetInboxConversationResponse = ({
|
|
|
25919
25927
|
* X verified badge type. Only present for X conversations.
|
|
25920
25928
|
*/
|
|
25921
25929
|
participantVerifiedType?: ('blue' | 'government' | 'business' | 'none') | null;
|
|
25930
|
+
/**
|
|
25931
|
+
* WhatsApp only. Meta business-scoped user ID (BSUID), the stable identity anchor; present when Meta has sent it for this participant.
|
|
25932
|
+
*/
|
|
25933
|
+
businessScopedUserId?: string;
|
|
25934
|
+
/**
|
|
25935
|
+
* WhatsApp only. The participant's WhatsApp username (e.g. `jane.shop`, no leading @). Not a stable identifier, because users can change it: useful for display, not recommended as an identity anchor. Captured from inbound messages, so older threads fill in on their next inbound.
|
|
25936
|
+
*/
|
|
25937
|
+
whatsappUsername?: string;
|
|
25922
25938
|
lastMessage?: string;
|
|
25923
25939
|
lastMessageAt?: string;
|
|
25924
25940
|
updatedTime?: string;
|