@getlatedev/node 0.2.1765 → 0.2.1767
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -63818,7 +63818,7 @@ type CreateWorkflowData = {
|
|
|
63818
63818
|
body: {
|
|
63819
63819
|
profileId: string;
|
|
63820
63820
|
accountId: string;
|
|
63821
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
|
|
63821
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
|
|
63822
63822
|
name: string;
|
|
63823
63823
|
description?: string;
|
|
63824
63824
|
nodes?: Array<WorkflowNode>;
|
|
@@ -64264,7 +64264,7 @@ type CreateSequenceData = {
|
|
|
64264
64264
|
body: {
|
|
64265
64265
|
profileId: string;
|
|
64266
64266
|
accountId: string;
|
|
64267
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
|
|
64267
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
|
|
64268
64268
|
name: string;
|
|
64269
64269
|
description?: string;
|
|
64270
64270
|
steps?: Array<{
|
package/dist/index.d.ts
CHANGED
|
@@ -63818,7 +63818,7 @@ type CreateWorkflowData = {
|
|
|
63818
63818
|
body: {
|
|
63819
63819
|
profileId: string;
|
|
63820
63820
|
accountId: string;
|
|
63821
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
|
|
63821
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
|
|
63822
63822
|
name: string;
|
|
63823
63823
|
description?: string;
|
|
63824
63824
|
nodes?: Array<WorkflowNode>;
|
|
@@ -64264,7 +64264,7 @@ type CreateSequenceData = {
|
|
|
64264
64264
|
body: {
|
|
64265
64265
|
profileId: string;
|
|
64266
64266
|
accountId: string;
|
|
64267
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
|
|
64267
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
|
|
64268
64268
|
name: string;
|
|
64269
64269
|
description?: string;
|
|
64270
64270
|
steps?: Array<{
|
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.1767",
|
|
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.1767",
|
|
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
|
@@ -3057,6 +3057,7 @@ export const verifyWhatsAppNumber = <ThrowOnError extends boolean = false>(optio
|
|
|
3057
3057
|
* - When Meta reports that the number's inbound message webhook does not reach Zernio, or subscribing the number's WhatsApp Business Account to Zernio's webhooks failed at connect, `platformConnection.inboundWebhookSubscribed` is `false`, an entry is added to `issues`, and the overall `status` is at least `warning`.
|
|
3058
3058
|
* - When `platformConnection.phoneStatus` is anything other than `CONNECTED`, an entry is added to `issues` and the overall `status` is at least `warning`; `BANNED` makes it `error`. `disconnectReason` stays null, since reconnecting does not lift a Meta status.
|
|
3059
3059
|
* - When Meta reports `platformConnection.canSendMessage` as `BLOCKED` (for example a payment-method error on the WhatsApp Business Account), an entry is added to `issues` with Meta's own reason, the recommendation is Meta's suggested fix, and the overall `status` is at least `warning`. `LIMITED` does not change `status`. Reconnecting does not lift it.
|
|
3060
|
+
* - When sends to one country keep failing with error 130497 (3 failures within 7 days, none delivered there since), an entry naming the country is added to `issues` and `status` is at least `warning`. The recommendation says how Meta lifts it. A delivered send there clears it.
|
|
3060
3061
|
*
|
|
3061
3062
|
* ### LINE
|
|
3062
3063
|
*
|
|
@@ -8604,6 +8605,8 @@ export const getInboxConversationMessages = <ThrowOnError extends boolean = fals
|
|
|
8604
8605
|
*
|
|
8605
8606
|
* Only successful (2xx) responses are stored for replay. If the request throws or returns a non-2xx status, the key is released so the same key can be retried once the problem is fixed. The header therefore protects the "request succeeded but the response was lost" case.
|
|
8606
8607
|
*
|
|
8608
|
+
* Exception: a WhatsApp send that Meta answers with a server error (5xx, e.g. code 131000) is stored and replayed as its `502`, since the message may have been delivered. Send it again with a new key only if a duplicate is acceptable.
|
|
8609
|
+
*
|
|
8607
8610
|
* For an ambiguous failure (a 5xx or a network timeout), reconcile before retrying. A failure after the platform already accepted the message also releases the key, so a blind retry could send it twice.
|
|
8608
8611
|
*
|
|
8609
8612
|
* List the conversation's messages first. Treat an empty result as inconclusive rather than as proof nothing was sent, since a send that failed while being recorded leaves no trace on our side.
|
|
@@ -64851,7 +64851,7 @@ export type CreateWorkflowData = {
|
|
|
64851
64851
|
body: {
|
|
64852
64852
|
profileId: string;
|
|
64853
64853
|
accountId: string;
|
|
64854
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
|
|
64854
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
|
|
64855
64855
|
name: string;
|
|
64856
64856
|
description?: string;
|
|
64857
64857
|
nodes?: Array<WorkflowNode>;
|
|
@@ -65345,7 +65345,7 @@ export type CreateSequenceData = {
|
|
|
65345
65345
|
body: {
|
|
65346
65346
|
profileId: string;
|
|
65347
65347
|
accountId: string;
|
|
65348
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
|
|
65348
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
|
|
65349
65349
|
name: string;
|
|
65350
65350
|
description?: string;
|
|
65351
65351
|
steps?: Array<{
|