@zernio/node 0.2.1037 → 0.2.1038
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 +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +10 -2
package/dist/index.d.mts
CHANGED
|
@@ -19220,7 +19220,7 @@ type GetAllAccountsHealthResponse = ({
|
|
|
19220
19220
|
needsReconnect?: boolean;
|
|
19221
19221
|
issues?: Array<(string)>;
|
|
19222
19222
|
/**
|
|
19223
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
19223
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
19224
19224
|
*/
|
|
19225
19225
|
messagingRestriction?: {
|
|
19226
19226
|
/**
|
|
@@ -19234,6 +19234,10 @@ type GetAllAccountsHealthResponse = ({
|
|
|
19234
19234
|
message?: (string) | null;
|
|
19235
19235
|
firstSeenAt?: string;
|
|
19236
19236
|
lastSeenAt?: string;
|
|
19237
|
+
/**
|
|
19238
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
19239
|
+
*/
|
|
19240
|
+
pausedUntil?: (string) | null;
|
|
19237
19241
|
} | null;
|
|
19238
19242
|
}>;
|
|
19239
19243
|
});
|
|
@@ -19372,7 +19376,7 @@ type GetAccountHealthResponse = ({
|
|
|
19372
19376
|
*/
|
|
19373
19377
|
recommendations?: Array<(string)>;
|
|
19374
19378
|
/**
|
|
19375
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
19379
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
19376
19380
|
*/
|
|
19377
19381
|
messagingRestriction?: {
|
|
19378
19382
|
/**
|
|
@@ -19386,6 +19390,10 @@ type GetAccountHealthResponse = ({
|
|
|
19386
19390
|
message?: (string) | null;
|
|
19387
19391
|
firstSeenAt?: string;
|
|
19388
19392
|
lastSeenAt?: string;
|
|
19393
|
+
/**
|
|
19394
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
19395
|
+
*/
|
|
19396
|
+
pausedUntil?: (string) | null;
|
|
19389
19397
|
} | null;
|
|
19390
19398
|
/**
|
|
19391
19399
|
* WhatsApp accounts only. Live probe of the Meta link behind the channel, performed at request time (the same read as GET /v1/whatsapp/number-info).
|
package/dist/index.d.ts
CHANGED
|
@@ -19220,7 +19220,7 @@ type GetAllAccountsHealthResponse = ({
|
|
|
19220
19220
|
needsReconnect?: boolean;
|
|
19221
19221
|
issues?: Array<(string)>;
|
|
19222
19222
|
/**
|
|
19223
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
19223
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
19224
19224
|
*/
|
|
19225
19225
|
messagingRestriction?: {
|
|
19226
19226
|
/**
|
|
@@ -19234,6 +19234,10 @@ type GetAllAccountsHealthResponse = ({
|
|
|
19234
19234
|
message?: (string) | null;
|
|
19235
19235
|
firstSeenAt?: string;
|
|
19236
19236
|
lastSeenAt?: string;
|
|
19237
|
+
/**
|
|
19238
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
19239
|
+
*/
|
|
19240
|
+
pausedUntil?: (string) | null;
|
|
19237
19241
|
} | null;
|
|
19238
19242
|
}>;
|
|
19239
19243
|
});
|
|
@@ -19372,7 +19376,7 @@ type GetAccountHealthResponse = ({
|
|
|
19372
19376
|
*/
|
|
19373
19377
|
recommendations?: Array<(string)>;
|
|
19374
19378
|
/**
|
|
19375
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
19379
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
19376
19380
|
*/
|
|
19377
19381
|
messagingRestriction?: {
|
|
19378
19382
|
/**
|
|
@@ -19386,6 +19390,10 @@ type GetAccountHealthResponse = ({
|
|
|
19386
19390
|
message?: (string) | null;
|
|
19387
19391
|
firstSeenAt?: string;
|
|
19388
19392
|
lastSeenAt?: string;
|
|
19393
|
+
/**
|
|
19394
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
19395
|
+
*/
|
|
19396
|
+
pausedUntil?: (string) | null;
|
|
19389
19397
|
} | null;
|
|
19390
19398
|
/**
|
|
19391
19399
|
* WhatsApp accounts only. Live probe of the Meta link behind the channel, performed at request time (the same read as GET /v1/whatsapp/number-info).
|
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.1038",
|
|
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.1038",
|
|
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
|
@@ -18098,7 +18098,7 @@ export type GetAllAccountsHealthResponse = ({
|
|
|
18098
18098
|
needsReconnect?: boolean;
|
|
18099
18099
|
issues?: Array<(string)>;
|
|
18100
18100
|
/**
|
|
18101
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
18101
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
18102
18102
|
*/
|
|
18103
18103
|
messagingRestriction?: {
|
|
18104
18104
|
/**
|
|
@@ -18112,6 +18112,10 @@ export type GetAllAccountsHealthResponse = ({
|
|
|
18112
18112
|
message?: (string) | null;
|
|
18113
18113
|
firstSeenAt?: string;
|
|
18114
18114
|
lastSeenAt?: string;
|
|
18115
|
+
/**
|
|
18116
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
18117
|
+
*/
|
|
18118
|
+
pausedUntil?: (string) | null;
|
|
18115
18119
|
} | null;
|
|
18116
18120
|
}>;
|
|
18117
18121
|
});
|
|
@@ -18262,7 +18266,7 @@ export type GetAccountHealthResponse = ({
|
|
|
18262
18266
|
*/
|
|
18263
18267
|
recommendations?: Array<(string)>;
|
|
18264
18268
|
/**
|
|
18265
|
-
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction.
|
|
18269
|
+
* Observed from Meta's own errors on our own sends, not a live probe. Facebook/Instagram: error subcodes 2534122, 1893063, 2534029, set on the first refused send and cleared when a later send succeeds. WhatsApp: Cloud API error codes 131042 (payment or eligibility issue), 131031 (Business Account locked) and 368 (policy block), set when a send or a delivery status fails with one and cleared when a later message is delivered. It lags reality by one message in each direction. After subcode 1893063 (Meta refusing the Page's messages), comment automation DMs are held and one is retried at `pausedUntil`: 30 minutes, doubling per refused retry up to 4 hours; held DMs stay pending and are sent once Meta accepts again, within the 7-day private-reply window.
|
|
18266
18270
|
*/
|
|
18267
18271
|
messagingRestriction?: {
|
|
18268
18272
|
/**
|
|
@@ -18276,6 +18280,10 @@ export type GetAccountHealthResponse = ({
|
|
|
18276
18280
|
message?: (string) | null;
|
|
18277
18281
|
firstSeenAt?: string;
|
|
18278
18282
|
lastSeenAt?: string;
|
|
18283
|
+
/**
|
|
18284
|
+
* When held automation DMs are next retried. Null when nothing is held.
|
|
18285
|
+
*/
|
|
18286
|
+
pausedUntil?: (string) | null;
|
|
18279
18287
|
} | null;
|
|
18280
18288
|
/**
|
|
18281
18289
|
* WhatsApp accounts only. Live probe of the Meta link behind the channel, performed at request time (the same read as GET /v1/whatsapp/number-info).
|