@getlatedev/node 0.2.887 → 0.2.889
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +9 -0
- package/src/generated/types.gen.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10143,7 +10143,7 @@ type Webhook = {
|
|
|
10143
10143
|
*/
|
|
10144
10144
|
profileIds?: Array<(string)>;
|
|
10145
10145
|
/**
|
|
10146
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10146
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10147
10147
|
*/
|
|
10148
10148
|
accountIds?: Array<(string)>;
|
|
10149
10149
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -10143,7 +10143,7 @@ type Webhook = {
|
|
|
10143
10143
|
*/
|
|
10144
10144
|
profileIds?: Array<(string)>;
|
|
10145
10145
|
/**
|
|
10146
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10146
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10147
10147
|
*/
|
|
10148
10148
|
accountIds?: Array<(string)>;
|
|
10149
10149
|
};
|
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.889",
|
|
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.889",
|
|
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
|
@@ -8318,6 +8318,15 @@ export const listCommentAutomations = <ThrowOnError extends boolean = false>(opt
|
|
|
8318
8318
|
* When someone comments a matching keyword (or, with `trigger: story_reply`, replies
|
|
8319
8319
|
* to your Instagram story with one), they automatically receive a DM.
|
|
8320
8320
|
*
|
|
8321
|
+
* To continue into a specific workflow after the recipient taps a button, use
|
|
8322
|
+
* `{"type":"postback","title":"Send it","payload":"zernio:workflow:<workflowId>"}`.
|
|
8323
|
+
* The target must be active and belong to the same account and profile. This also
|
|
8324
|
+
* works for product-card buttons. The tap starts that workflow directly, without
|
|
8325
|
+
* matching its keyword or first-message condition. A different live workflow in
|
|
8326
|
+
* the conversation is exited; tapping the same live workflow does not restart it
|
|
8327
|
+
* or consume a pending reply. Stale or invalid targets do nothing. The initial
|
|
8328
|
+
* comment DM alone does not start the workflow: the recipient must tap.
|
|
8329
|
+
*
|
|
8321
8330
|
* Triggers (`trigger`):
|
|
8322
8331
|
* * `comment` (default): fires on keyword comments on a post or reel.
|
|
8323
8332
|
* * `story_reply`: fires when someone replies to your Instagram story with a keyword,
|
|
@@ -8807,7 +8807,7 @@ export type Webhook = {
|
|
|
8807
8807
|
*/
|
|
8808
8808
|
profileIds?: Array<(string)>;
|
|
8809
8809
|
/**
|
|
8810
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
8810
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
8811
8811
|
*/
|
|
8812
8812
|
accountIds?: Array<(string)>;
|
|
8813
8813
|
};
|