@zernio/node 0.2.195 → 0.2.197
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 +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +22 -0
package/dist/index.d.mts
CHANGED
|
@@ -15694,6 +15694,10 @@ type ListCommentAutomationsResponse = ({
|
|
|
15694
15694
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
15695
15695
|
*/
|
|
15696
15696
|
linkTracking?: boolean;
|
|
15697
|
+
/**
|
|
15698
|
+
* Tag applied to a contact when they click a tracked link.
|
|
15699
|
+
*/
|
|
15700
|
+
clickTag?: string;
|
|
15697
15701
|
isActive?: boolean;
|
|
15698
15702
|
stats?: {
|
|
15699
15703
|
triggered?: number;
|
|
@@ -15708,6 +15712,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
15708
15712
|
* Distinct people who clicked a tracked link.
|
|
15709
15713
|
*/
|
|
15710
15714
|
uniqueClicks?: number;
|
|
15715
|
+
/**
|
|
15716
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
15717
|
+
*/
|
|
15718
|
+
delivered?: number;
|
|
15719
|
+
/**
|
|
15720
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
15721
|
+
*/
|
|
15722
|
+
read?: number;
|
|
15711
15723
|
};
|
|
15712
15724
|
createdAt?: string;
|
|
15713
15725
|
}>;
|
|
@@ -15759,6 +15771,10 @@ type CreateCommentAutomationData = {
|
|
|
15759
15771
|
* Wrap link buttons in the DM in a tracked redirect so clicks are counted (Link Clicks / CTR). Pass false to send links exactly as written. Defaults to on.
|
|
15760
15772
|
*/
|
|
15761
15773
|
linkTracking?: boolean;
|
|
15774
|
+
/**
|
|
15775
|
+
* Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
|
|
15776
|
+
*/
|
|
15777
|
+
clickTag?: string;
|
|
15762
15778
|
};
|
|
15763
15779
|
};
|
|
15764
15780
|
type CreateCommentAutomationResponse = ({
|
|
@@ -15777,6 +15793,7 @@ type CreateCommentAutomationResponse = ({
|
|
|
15777
15793
|
buttons?: Array<DmButton>;
|
|
15778
15794
|
commentReply?: string;
|
|
15779
15795
|
linkTracking?: boolean;
|
|
15796
|
+
clickTag?: string;
|
|
15780
15797
|
isActive?: boolean;
|
|
15781
15798
|
stats?: {
|
|
15782
15799
|
totalTriggered?: number;
|
|
@@ -15813,6 +15830,7 @@ type GetCommentAutomationResponse = ({
|
|
|
15813
15830
|
buttons?: Array<DmButton>;
|
|
15814
15831
|
commentReply?: string;
|
|
15815
15832
|
linkTracking?: boolean;
|
|
15833
|
+
clickTag?: string;
|
|
15816
15834
|
isActive?: boolean;
|
|
15817
15835
|
stats?: {
|
|
15818
15836
|
totalTriggered?: number;
|
|
@@ -15865,6 +15883,10 @@ type UpdateCommentAutomationData = {
|
|
|
15865
15883
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
15866
15884
|
*/
|
|
15867
15885
|
linkTracking?: boolean;
|
|
15886
|
+
/**
|
|
15887
|
+
* Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
|
|
15888
|
+
*/
|
|
15889
|
+
clickTag?: string;
|
|
15868
15890
|
isActive?: boolean;
|
|
15869
15891
|
};
|
|
15870
15892
|
path: {
|
package/dist/index.d.ts
CHANGED
|
@@ -15694,6 +15694,10 @@ type ListCommentAutomationsResponse = ({
|
|
|
15694
15694
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
15695
15695
|
*/
|
|
15696
15696
|
linkTracking?: boolean;
|
|
15697
|
+
/**
|
|
15698
|
+
* Tag applied to a contact when they click a tracked link.
|
|
15699
|
+
*/
|
|
15700
|
+
clickTag?: string;
|
|
15697
15701
|
isActive?: boolean;
|
|
15698
15702
|
stats?: {
|
|
15699
15703
|
triggered?: number;
|
|
@@ -15708,6 +15712,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
15708
15712
|
* Distinct people who clicked a tracked link.
|
|
15709
15713
|
*/
|
|
15710
15714
|
uniqueClicks?: number;
|
|
15715
|
+
/**
|
|
15716
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
15717
|
+
*/
|
|
15718
|
+
delivered?: number;
|
|
15719
|
+
/**
|
|
15720
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
15721
|
+
*/
|
|
15722
|
+
read?: number;
|
|
15711
15723
|
};
|
|
15712
15724
|
createdAt?: string;
|
|
15713
15725
|
}>;
|
|
@@ -15759,6 +15771,10 @@ type CreateCommentAutomationData = {
|
|
|
15759
15771
|
* Wrap link buttons in the DM in a tracked redirect so clicks are counted (Link Clicks / CTR). Pass false to send links exactly as written. Defaults to on.
|
|
15760
15772
|
*/
|
|
15761
15773
|
linkTracking?: boolean;
|
|
15774
|
+
/**
|
|
15775
|
+
* Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
|
|
15776
|
+
*/
|
|
15777
|
+
clickTag?: string;
|
|
15762
15778
|
};
|
|
15763
15779
|
};
|
|
15764
15780
|
type CreateCommentAutomationResponse = ({
|
|
@@ -15777,6 +15793,7 @@ type CreateCommentAutomationResponse = ({
|
|
|
15777
15793
|
buttons?: Array<DmButton>;
|
|
15778
15794
|
commentReply?: string;
|
|
15779
15795
|
linkTracking?: boolean;
|
|
15796
|
+
clickTag?: string;
|
|
15780
15797
|
isActive?: boolean;
|
|
15781
15798
|
stats?: {
|
|
15782
15799
|
totalTriggered?: number;
|
|
@@ -15813,6 +15830,7 @@ type GetCommentAutomationResponse = ({
|
|
|
15813
15830
|
buttons?: Array<DmButton>;
|
|
15814
15831
|
commentReply?: string;
|
|
15815
15832
|
linkTracking?: boolean;
|
|
15833
|
+
clickTag?: string;
|
|
15816
15834
|
isActive?: boolean;
|
|
15817
15835
|
stats?: {
|
|
15818
15836
|
totalTriggered?: number;
|
|
@@ -15865,6 +15883,10 @@ type UpdateCommentAutomationData = {
|
|
|
15865
15883
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
15866
15884
|
*/
|
|
15867
15885
|
linkTracking?: boolean;
|
|
15886
|
+
/**
|
|
15887
|
+
* Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
|
|
15888
|
+
*/
|
|
15889
|
+
clickTag?: string;
|
|
15868
15890
|
isActive?: boolean;
|
|
15869
15891
|
};
|
|
15870
15892
|
path: {
|
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.197",
|
|
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.197",
|
|
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
|
@@ -16039,6 +16039,10 @@ export type ListCommentAutomationsResponse = ({
|
|
|
16039
16039
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
16040
16040
|
*/
|
|
16041
16041
|
linkTracking?: boolean;
|
|
16042
|
+
/**
|
|
16043
|
+
* Tag applied to a contact when they click a tracked link.
|
|
16044
|
+
*/
|
|
16045
|
+
clickTag?: string;
|
|
16042
16046
|
isActive?: boolean;
|
|
16043
16047
|
stats?: {
|
|
16044
16048
|
triggered?: number;
|
|
@@ -16053,6 +16057,14 @@ export type ListCommentAutomationsResponse = ({
|
|
|
16053
16057
|
* Distinct people who clicked a tracked link.
|
|
16054
16058
|
*/
|
|
16055
16059
|
uniqueClicks?: number;
|
|
16060
|
+
/**
|
|
16061
|
+
* DMs confirmed delivered (Messenger; IG emits no delivery receipt).
|
|
16062
|
+
*/
|
|
16063
|
+
delivered?: number;
|
|
16064
|
+
/**
|
|
16065
|
+
* DMs confirmed read (IG messaging_seen / Messenger message_reads).
|
|
16066
|
+
*/
|
|
16067
|
+
read?: number;
|
|
16056
16068
|
};
|
|
16057
16069
|
createdAt?: string;
|
|
16058
16070
|
}>;
|
|
@@ -16106,6 +16118,10 @@ export type CreateCommentAutomationData = {
|
|
|
16106
16118
|
* Wrap link buttons in the DM in a tracked redirect so clicks are counted (Link Clicks / CTR). Pass false to send links exactly as written. Defaults to on.
|
|
16107
16119
|
*/
|
|
16108
16120
|
linkTracking?: boolean;
|
|
16121
|
+
/**
|
|
16122
|
+
* Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
|
|
16123
|
+
*/
|
|
16124
|
+
clickTag?: string;
|
|
16109
16125
|
};
|
|
16110
16126
|
};
|
|
16111
16127
|
|
|
@@ -16125,6 +16141,7 @@ export type CreateCommentAutomationResponse = ({
|
|
|
16125
16141
|
buttons?: Array<DmButton>;
|
|
16126
16142
|
commentReply?: string;
|
|
16127
16143
|
linkTracking?: boolean;
|
|
16144
|
+
clickTag?: string;
|
|
16128
16145
|
isActive?: boolean;
|
|
16129
16146
|
stats?: {
|
|
16130
16147
|
totalTriggered?: number;
|
|
@@ -16164,6 +16181,7 @@ export type GetCommentAutomationResponse = ({
|
|
|
16164
16181
|
buttons?: Array<DmButton>;
|
|
16165
16182
|
commentReply?: string;
|
|
16166
16183
|
linkTracking?: boolean;
|
|
16184
|
+
clickTag?: string;
|
|
16167
16185
|
isActive?: boolean;
|
|
16168
16186
|
stats?: {
|
|
16169
16187
|
totalTriggered?: number;
|
|
@@ -16218,6 +16236,10 @@ export type UpdateCommentAutomationData = {
|
|
|
16218
16236
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
16219
16237
|
*/
|
|
16220
16238
|
linkTracking?: boolean;
|
|
16239
|
+
/**
|
|
16240
|
+
* Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
|
|
16241
|
+
*/
|
|
16242
|
+
clickTag?: string;
|
|
16221
16243
|
isActive?: boolean;
|
|
16222
16244
|
};
|
|
16223
16245
|
path: {
|