@zernio/node 0.2.196 → 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 +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +17 -1
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;
|
|
@@ -15712,6 +15713,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
15712
15713
|
* Distinct people who clicked a tracked link.
|
|
15713
15714
|
*/
|
|
15714
15715
|
uniqueClicks?: number;
|
|
15716
|
+
/**
|
|
15717
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
15718
|
+
*/
|
|
15719
|
+
delivered?: number;
|
|
15720
|
+
/**
|
|
15721
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
15722
|
+
*/
|
|
15723
|
+
read?: number;
|
|
15715
15724
|
};
|
|
15716
15725
|
createdAt?: string;
|
|
15717
15726
|
}>;
|
|
@@ -15727,7 +15736,11 @@ type CreateCommentAutomationData = {
|
|
|
15727
15736
|
*/
|
|
15728
15737
|
accountId: string;
|
|
15729
15738
|
/**
|
|
15730
|
-
*
|
|
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.
|
|
15731
15744
|
*/
|
|
15732
15745
|
platformPostId?: string;
|
|
15733
15746
|
/**
|
|
@@ -15775,6 +15788,7 @@ type CreateCommentAutomationResponse = ({
|
|
|
15775
15788
|
id?: string;
|
|
15776
15789
|
name?: string;
|
|
15777
15790
|
platform?: string;
|
|
15791
|
+
trigger?: 'comment' | 'story_reply';
|
|
15778
15792
|
platformPostId?: string;
|
|
15779
15793
|
keywords?: Array<(string)>;
|
|
15780
15794
|
matchMode?: 'exact' | 'contains';
|
|
@@ -15809,6 +15823,7 @@ type GetCommentAutomationResponse = ({
|
|
|
15809
15823
|
id?: string;
|
|
15810
15824
|
name?: string;
|
|
15811
15825
|
platform?: string;
|
|
15826
|
+
trigger?: 'comment' | 'story_reply';
|
|
15812
15827
|
accountId?: string;
|
|
15813
15828
|
platformPostId?: string;
|
|
15814
15829
|
postId?: string;
|
|
@@ -16539,6 +16554,7 @@ type GetAdAnalyticsResponse = ({
|
|
|
16539
16554
|
id?: string;
|
|
16540
16555
|
name?: string;
|
|
16541
16556
|
platform?: string;
|
|
16557
|
+
trigger?: 'comment' | 'story_reply';
|
|
16542
16558
|
status?: string;
|
|
16543
16559
|
/**
|
|
16544
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;
|
|
@@ -15712,6 +15713,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
15712
15713
|
* Distinct people who clicked a tracked link.
|
|
15713
15714
|
*/
|
|
15714
15715
|
uniqueClicks?: number;
|
|
15716
|
+
/**
|
|
15717
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
15718
|
+
*/
|
|
15719
|
+
delivered?: number;
|
|
15720
|
+
/**
|
|
15721
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
15722
|
+
*/
|
|
15723
|
+
read?: number;
|
|
15715
15724
|
};
|
|
15716
15725
|
createdAt?: string;
|
|
15717
15726
|
}>;
|
|
@@ -15727,7 +15736,11 @@ type CreateCommentAutomationData = {
|
|
|
15727
15736
|
*/
|
|
15728
15737
|
accountId: string;
|
|
15729
15738
|
/**
|
|
15730
|
-
*
|
|
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.
|
|
15731
15744
|
*/
|
|
15732
15745
|
platformPostId?: string;
|
|
15733
15746
|
/**
|
|
@@ -15775,6 +15788,7 @@ type CreateCommentAutomationResponse = ({
|
|
|
15775
15788
|
id?: string;
|
|
15776
15789
|
name?: string;
|
|
15777
15790
|
platform?: string;
|
|
15791
|
+
trigger?: 'comment' | 'story_reply';
|
|
15778
15792
|
platformPostId?: string;
|
|
15779
15793
|
keywords?: Array<(string)>;
|
|
15780
15794
|
matchMode?: 'exact' | 'contains';
|
|
@@ -15809,6 +15823,7 @@ type GetCommentAutomationResponse = ({
|
|
|
15809
15823
|
id?: string;
|
|
15810
15824
|
name?: string;
|
|
15811
15825
|
platform?: string;
|
|
15826
|
+
trigger?: 'comment' | 'story_reply';
|
|
15812
15827
|
accountId?: string;
|
|
15813
15828
|
platformPostId?: string;
|
|
15814
15829
|
postId?: string;
|
|
@@ -16539,6 +16554,7 @@ type GetAdAnalyticsResponse = ({
|
|
|
16539
16554
|
id?: string;
|
|
16540
16555
|
name?: string;
|
|
16541
16556
|
platform?: string;
|
|
16557
|
+
trigger?: 'comment' | 'story_reply';
|
|
16542
16558
|
status?: string;
|
|
16543
16559
|
/**
|
|
16544
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.
|
|
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.
|
|
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
|
@@ -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;
|
|
@@ -16057,6 +16058,14 @@ export type ListCommentAutomationsResponse = ({
|
|
|
16057
16058
|
* Distinct people who clicked a tracked link.
|
|
16058
16059
|
*/
|
|
16059
16060
|
uniqueClicks?: number;
|
|
16061
|
+
/**
|
|
16062
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
16063
|
+
*/
|
|
16064
|
+
delivered?: number;
|
|
16065
|
+
/**
|
|
16066
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
16067
|
+
*/
|
|
16068
|
+
read?: number;
|
|
16060
16069
|
};
|
|
16061
16070
|
createdAt?: string;
|
|
16062
16071
|
}>;
|
|
@@ -16074,7 +16083,11 @@ export type CreateCommentAutomationData = {
|
|
|
16074
16083
|
*/
|
|
16075
16084
|
accountId: string;
|
|
16076
16085
|
/**
|
|
16077
|
-
*
|
|
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.
|
|
16078
16091
|
*/
|
|
16079
16092
|
platformPostId?: string;
|
|
16080
16093
|
/**
|
|
@@ -16123,6 +16136,7 @@ export type CreateCommentAutomationResponse = ({
|
|
|
16123
16136
|
id?: string;
|
|
16124
16137
|
name?: string;
|
|
16125
16138
|
platform?: string;
|
|
16139
|
+
trigger?: 'comment' | 'story_reply';
|
|
16126
16140
|
platformPostId?: string;
|
|
16127
16141
|
keywords?: Array<(string)>;
|
|
16128
16142
|
matchMode?: 'exact' | 'contains';
|
|
@@ -16160,6 +16174,7 @@ export type GetCommentAutomationResponse = ({
|
|
|
16160
16174
|
id?: string;
|
|
16161
16175
|
name?: string;
|
|
16162
16176
|
platform?: string;
|
|
16177
|
+
trigger?: 'comment' | 'story_reply';
|
|
16163
16178
|
accountId?: string;
|
|
16164
16179
|
platformPostId?: string;
|
|
16165
16180
|
postId?: string;
|
|
@@ -16944,6 +16959,7 @@ export type GetAdAnalyticsResponse = ({
|
|
|
16944
16959
|
id?: string;
|
|
16945
16960
|
name?: string;
|
|
16946
16961
|
platform?: string;
|
|
16962
|
+
trigger?: 'comment' | 'story_reply';
|
|
16947
16963
|
status?: string;
|
|
16948
16964
|
/**
|
|
16949
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.
|