@zernio/node 0.2.197 → 0.2.198

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 CHANGED
@@ -15679,6 +15679,7 @@ type ListCommentAutomationsResponse = ({
15679
15679
  id?: string;
15680
15680
  name?: string;
15681
15681
  platform?: 'instagram' | 'facebook';
15682
+ trigger?: 'comment' | 'story_reply';
15682
15683
  accountId?: string;
15683
15684
  platformPostId?: string;
15684
15685
  postTitle?: string;
@@ -15735,7 +15736,11 @@ type CreateCommentAutomationData = {
15735
15736
  */
15736
15737
  accountId: string;
15737
15738
  /**
15738
- * Platform media/post ID. Omit for an account-wide (any-post) automation.
15739
+ * What fires the automation. 'comment' (keyword comment on a post) or 'story_reply' (keyword reply to an Instagram story). For 'story_reply', platformPostId is the story media id (omit for any story).
15740
+ */
15741
+ trigger?: 'comment' | 'story_reply';
15742
+ /**
15743
+ * Platform media/post ID (or story media id when trigger=story_reply). Omit for an account-wide (any-post / any-story) automation.
15739
15744
  */
15740
15745
  platformPostId?: string;
15741
15746
  /**
@@ -15783,6 +15788,7 @@ type CreateCommentAutomationResponse = ({
15783
15788
  id?: string;
15784
15789
  name?: string;
15785
15790
  platform?: string;
15791
+ trigger?: 'comment' | 'story_reply';
15786
15792
  platformPostId?: string;
15787
15793
  keywords?: Array<(string)>;
15788
15794
  matchMode?: 'exact' | 'contains';
@@ -15817,6 +15823,7 @@ type GetCommentAutomationResponse = ({
15817
15823
  id?: string;
15818
15824
  name?: string;
15819
15825
  platform?: string;
15826
+ trigger?: 'comment' | 'story_reply';
15820
15827
  accountId?: string;
15821
15828
  platformPostId?: string;
15822
15829
  postId?: string;
@@ -16547,6 +16554,7 @@ type GetAdAnalyticsResponse = ({
16547
16554
  id?: string;
16548
16555
  name?: string;
16549
16556
  platform?: string;
16557
+ trigger?: 'comment' | 'story_reply';
16550
16558
  status?: string;
16551
16559
  /**
16552
16560
  * ISO 4217 code of the ad account that owns this ad (e.g. USD, THB, INR). All money values in `summary` and `daily` are in this currency. Null only on legacy ads synced before currency was persisted.
package/dist/index.d.ts CHANGED
@@ -15679,6 +15679,7 @@ type ListCommentAutomationsResponse = ({
15679
15679
  id?: string;
15680
15680
  name?: string;
15681
15681
  platform?: 'instagram' | 'facebook';
15682
+ trigger?: 'comment' | 'story_reply';
15682
15683
  accountId?: string;
15683
15684
  platformPostId?: string;
15684
15685
  postTitle?: string;
@@ -15735,7 +15736,11 @@ type CreateCommentAutomationData = {
15735
15736
  */
15736
15737
  accountId: string;
15737
15738
  /**
15738
- * Platform media/post ID. Omit for an account-wide (any-post) automation.
15739
+ * What fires the automation. 'comment' (keyword comment on a post) or 'story_reply' (keyword reply to an Instagram story). For 'story_reply', platformPostId is the story media id (omit for any story).
15740
+ */
15741
+ trigger?: 'comment' | 'story_reply';
15742
+ /**
15743
+ * Platform media/post ID (or story media id when trigger=story_reply). Omit for an account-wide (any-post / any-story) automation.
15739
15744
  */
15740
15745
  platformPostId?: string;
15741
15746
  /**
@@ -15783,6 +15788,7 @@ type CreateCommentAutomationResponse = ({
15783
15788
  id?: string;
15784
15789
  name?: string;
15785
15790
  platform?: string;
15791
+ trigger?: 'comment' | 'story_reply';
15786
15792
  platformPostId?: string;
15787
15793
  keywords?: Array<(string)>;
15788
15794
  matchMode?: 'exact' | 'contains';
@@ -15817,6 +15823,7 @@ type GetCommentAutomationResponse = ({
15817
15823
  id?: string;
15818
15824
  name?: string;
15819
15825
  platform?: string;
15826
+ trigger?: 'comment' | 'story_reply';
15820
15827
  accountId?: string;
15821
15828
  platformPostId?: string;
15822
15829
  postId?: string;
@@ -16547,6 +16554,7 @@ type GetAdAnalyticsResponse = ({
16547
16554
  id?: string;
16548
16555
  name?: string;
16549
16556
  platform?: string;
16557
+ trigger?: 'comment' | 'story_reply';
16550
16558
  status?: string;
16551
16559
  /**
16552
16560
  * ISO 4217 code of the ad account that owns this ad (e.g. USD, THB, INR). All money values in `summary` and `daily` are in this currency. Null only on legacy ads synced before currency was persisted.
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.197",
39
+ version: "0.2.198",
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.197",
8
+ version: "0.2.198",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.197",
3
+ "version": "0.2.198",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16024,6 +16024,7 @@ export type ListCommentAutomationsResponse = ({
16024
16024
  id?: string;
16025
16025
  name?: string;
16026
16026
  platform?: 'instagram' | 'facebook';
16027
+ trigger?: 'comment' | 'story_reply';
16027
16028
  accountId?: string;
16028
16029
  platformPostId?: string;
16029
16030
  postTitle?: string;
@@ -16082,7 +16083,11 @@ export type CreateCommentAutomationData = {
16082
16083
  */
16083
16084
  accountId: string;
16084
16085
  /**
16085
- * Platform media/post ID. Omit for an account-wide (any-post) automation.
16086
+ * What fires the automation. 'comment' (keyword comment on a post) or 'story_reply' (keyword reply to an Instagram story). For 'story_reply', platformPostId is the story media id (omit for any story).
16087
+ */
16088
+ trigger?: 'comment' | 'story_reply';
16089
+ /**
16090
+ * Platform media/post ID (or story media id when trigger=story_reply). Omit for an account-wide (any-post / any-story) automation.
16086
16091
  */
16087
16092
  platformPostId?: string;
16088
16093
  /**
@@ -16131,6 +16136,7 @@ export type CreateCommentAutomationResponse = ({
16131
16136
  id?: string;
16132
16137
  name?: string;
16133
16138
  platform?: string;
16139
+ trigger?: 'comment' | 'story_reply';
16134
16140
  platformPostId?: string;
16135
16141
  keywords?: Array<(string)>;
16136
16142
  matchMode?: 'exact' | 'contains';
@@ -16168,6 +16174,7 @@ export type GetCommentAutomationResponse = ({
16168
16174
  id?: string;
16169
16175
  name?: string;
16170
16176
  platform?: string;
16177
+ trigger?: 'comment' | 'story_reply';
16171
16178
  accountId?: string;
16172
16179
  platformPostId?: string;
16173
16180
  postId?: string;
@@ -16952,6 +16959,7 @@ export type GetAdAnalyticsResponse = ({
16952
16959
  id?: string;
16953
16960
  name?: string;
16954
16961
  platform?: string;
16962
+ trigger?: 'comment' | 'story_reply';
16955
16963
  status?: string;
16956
16964
  /**
16957
16965
  * ISO 4217 code of the ad account that owns this ad (e.g. USD, THB, INR). All money values in `summary` and `daily` are in this currency. Null only on legacy ads synced before currency was persisted.