@getlatedev/node 0.2.1151 → 0.2.1152
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 +2 -2
- package/src/generated/types.gen.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -15152,7 +15152,7 @@ type WebhookPayloadMessage = {
|
|
|
15152
15152
|
*/
|
|
15153
15153
|
metadata?: {
|
|
15154
15154
|
/**
|
|
15155
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
15155
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
15156
15156
|
*/
|
|
15157
15157
|
standby?: boolean;
|
|
15158
15158
|
/**
|
|
@@ -29409,7 +29409,7 @@ type SetConversationThreadControlData = {
|
|
|
29409
29409
|
*/
|
|
29410
29410
|
accountId: string;
|
|
29411
29411
|
/**
|
|
29412
|
-
* `request` is Facebook and Instagram only.
|
|
29412
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
29413
29413
|
*/
|
|
29414
29414
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
29415
29415
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -15152,7 +15152,7 @@ type WebhookPayloadMessage = {
|
|
|
15152
15152
|
*/
|
|
15153
15153
|
metadata?: {
|
|
15154
15154
|
/**
|
|
15155
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
15155
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
15156
15156
|
*/
|
|
15157
15157
|
standby?: boolean;
|
|
15158
15158
|
/**
|
|
@@ -29409,7 +29409,7 @@ type SetConversationThreadControlData = {
|
|
|
29409
29409
|
*/
|
|
29410
29410
|
accountId: string;
|
|
29411
29411
|
/**
|
|
29412
|
-
* `request` is Facebook and Instagram only.
|
|
29412
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
29413
29413
|
*/
|
|
29414
29414
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
29415
29415
|
/**
|
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.1152",
|
|
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.1152",
|
|
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
|
@@ -4244,8 +4244,8 @@ export const sendTypingIndicator = <ThrowOnError extends boolean = false>(option
|
|
|
4244
4244
|
*
|
|
4245
4245
|
* **Facebook and Instagram** (Messenger Platform handover between the apps on the Page, such as Page Inbox):
|
|
4246
4246
|
* - `pass` with `targetAppId`: give the thread to another app (`pass_thread_control`). Page Inbox is 263902037430900.
|
|
4247
|
-
* - `take`: take the thread back (`take_thread_control`); Meta allows it only to the Page's primary receiver.
|
|
4248
|
-
* - `request`: ask the current owner to pass the thread (`request_thread_control`); nothing changes until it does.
|
|
4247
|
+
* - `take`: take the thread back (`take_thread_control`); Meta allows it only to the Page's primary receiver, and only on accounts connected through a Facebook Page. On an Instagram Login connection it answers 400 `platform_not_supported`.
|
|
4248
|
+
* - `request`: ask the current owner to pass the thread (`request_thread_control`); nothing changes until it does. Not available on Instagram Login connections (400 `platform_not_supported`).
|
|
4249
4249
|
* - `release`: give the thread back to the primary receiver (`release_thread_control`).
|
|
4250
4250
|
*
|
|
4251
4251
|
* While another app owns a Facebook or Instagram thread, inbound arrive with `metadata.standby: true` and a send answers 409 `not_thread_owner`. The conversation's `threadControl` follows the result; a `conversation.control_changed` webhook fires when Meta later reports the change.
|
|
@@ -13727,7 +13727,7 @@ export type WebhookPayloadMessage = {
|
|
|
13727
13727
|
*/
|
|
13728
13728
|
metadata?: {
|
|
13729
13729
|
/**
|
|
13730
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
13730
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
13731
13731
|
*/
|
|
13732
13732
|
standby?: boolean;
|
|
13733
13733
|
/**
|
|
@@ -28807,7 +28807,7 @@ export type SetConversationThreadControlData = {
|
|
|
28807
28807
|
*/
|
|
28808
28808
|
accountId: string;
|
|
28809
28809
|
/**
|
|
28810
|
-
* `request` is Facebook and Instagram only.
|
|
28810
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
28811
28811
|
*/
|
|
28812
28812
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
28813
28813
|
/**
|