@zernio/node 0.2.194 → 0.2.196

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
@@ -15690,12 +15690,28 @@ type ListCommentAutomationsResponse = ({
15690
15690
  */
15691
15691
  buttons?: Array<DmButton>;
15692
15692
  commentReply?: string;
15693
+ /**
15694
+ * Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
15695
+ */
15696
+ linkTracking?: boolean;
15697
+ /**
15698
+ * Tag applied to a contact when they click a tracked link.
15699
+ */
15700
+ clickTag?: string;
15693
15701
  isActive?: boolean;
15694
15702
  stats?: {
15695
15703
  triggered?: number;
15696
15704
  dmsSent?: number;
15697
15705
  dmsFailed?: number;
15698
15706
  uniqueContacts?: number;
15707
+ /**
15708
+ * Total clicks on tracked links (bots/prefetch excluded).
15709
+ */
15710
+ linkClicks?: number;
15711
+ /**
15712
+ * Distinct people who clicked a tracked link.
15713
+ */
15714
+ uniqueClicks?: number;
15699
15715
  };
15700
15716
  createdAt?: string;
15701
15717
  }>;
@@ -15743,6 +15759,14 @@ type CreateCommentAutomationData = {
15743
15759
  * Optional public reply to the comment
15744
15760
  */
15745
15761
  commentReply?: string;
15762
+ /**
15763
+ * 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.
15764
+ */
15765
+ linkTracking?: boolean;
15766
+ /**
15767
+ * Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
15768
+ */
15769
+ clickTag?: string;
15746
15770
  };
15747
15771
  };
15748
15772
  type CreateCommentAutomationResponse = ({
@@ -15760,6 +15784,8 @@ type CreateCommentAutomationResponse = ({
15760
15784
  */
15761
15785
  buttons?: Array<DmButton>;
15762
15786
  commentReply?: string;
15787
+ linkTracking?: boolean;
15788
+ clickTag?: string;
15763
15789
  isActive?: boolean;
15764
15790
  stats?: {
15765
15791
  totalTriggered?: number;
@@ -15795,6 +15821,8 @@ type GetCommentAutomationResponse = ({
15795
15821
  */
15796
15822
  buttons?: Array<DmButton>;
15797
15823
  commentReply?: string;
15824
+ linkTracking?: boolean;
15825
+ clickTag?: string;
15798
15826
  isActive?: boolean;
15799
15827
  stats?: {
15800
15828
  totalTriggered?: number;
@@ -15843,6 +15871,14 @@ type UpdateCommentAutomationData = {
15843
15871
  */
15844
15872
  buttons?: Array<DmButton>;
15845
15873
  commentReply?: string;
15874
+ /**
15875
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
15876
+ */
15877
+ linkTracking?: boolean;
15878
+ /**
15879
+ * Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
15880
+ */
15881
+ clickTag?: string;
15846
15882
  isActive?: boolean;
15847
15883
  };
15848
15884
  path: {
package/dist/index.d.ts CHANGED
@@ -15690,12 +15690,28 @@ type ListCommentAutomationsResponse = ({
15690
15690
  */
15691
15691
  buttons?: Array<DmButton>;
15692
15692
  commentReply?: string;
15693
+ /**
15694
+ * Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
15695
+ */
15696
+ linkTracking?: boolean;
15697
+ /**
15698
+ * Tag applied to a contact when they click a tracked link.
15699
+ */
15700
+ clickTag?: string;
15693
15701
  isActive?: boolean;
15694
15702
  stats?: {
15695
15703
  triggered?: number;
15696
15704
  dmsSent?: number;
15697
15705
  dmsFailed?: number;
15698
15706
  uniqueContacts?: number;
15707
+ /**
15708
+ * Total clicks on tracked links (bots/prefetch excluded).
15709
+ */
15710
+ linkClicks?: number;
15711
+ /**
15712
+ * Distinct people who clicked a tracked link.
15713
+ */
15714
+ uniqueClicks?: number;
15699
15715
  };
15700
15716
  createdAt?: string;
15701
15717
  }>;
@@ -15743,6 +15759,14 @@ type CreateCommentAutomationData = {
15743
15759
  * Optional public reply to the comment
15744
15760
  */
15745
15761
  commentReply?: string;
15762
+ /**
15763
+ * 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.
15764
+ */
15765
+ linkTracking?: boolean;
15766
+ /**
15767
+ * Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
15768
+ */
15769
+ clickTag?: string;
15746
15770
  };
15747
15771
  };
15748
15772
  type CreateCommentAutomationResponse = ({
@@ -15760,6 +15784,8 @@ type CreateCommentAutomationResponse = ({
15760
15784
  */
15761
15785
  buttons?: Array<DmButton>;
15762
15786
  commentReply?: string;
15787
+ linkTracking?: boolean;
15788
+ clickTag?: string;
15763
15789
  isActive?: boolean;
15764
15790
  stats?: {
15765
15791
  totalTriggered?: number;
@@ -15795,6 +15821,8 @@ type GetCommentAutomationResponse = ({
15795
15821
  */
15796
15822
  buttons?: Array<DmButton>;
15797
15823
  commentReply?: string;
15824
+ linkTracking?: boolean;
15825
+ clickTag?: string;
15798
15826
  isActive?: boolean;
15799
15827
  stats?: {
15800
15828
  totalTriggered?: number;
@@ -15843,6 +15871,14 @@ type UpdateCommentAutomationData = {
15843
15871
  */
15844
15872
  buttons?: Array<DmButton>;
15845
15873
  commentReply?: string;
15874
+ /**
15875
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
15876
+ */
15877
+ linkTracking?: boolean;
15878
+ /**
15879
+ * Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
15880
+ */
15881
+ clickTag?: string;
15846
15882
  isActive?: boolean;
15847
15883
  };
15848
15884
  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.194",
39
+ version: "0.2.196",
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.194",
8
+ version: "0.2.196",
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.194",
3
+ "version": "0.2.196",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16035,12 +16035,28 @@ export type ListCommentAutomationsResponse = ({
16035
16035
  */
16036
16036
  buttons?: Array<DmButton>;
16037
16037
  commentReply?: string;
16038
+ /**
16039
+ * Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
16040
+ */
16041
+ linkTracking?: boolean;
16042
+ /**
16043
+ * Tag applied to a contact when they click a tracked link.
16044
+ */
16045
+ clickTag?: string;
16038
16046
  isActive?: boolean;
16039
16047
  stats?: {
16040
16048
  triggered?: number;
16041
16049
  dmsSent?: number;
16042
16050
  dmsFailed?: number;
16043
16051
  uniqueContacts?: number;
16052
+ /**
16053
+ * Total clicks on tracked links (bots/prefetch excluded).
16054
+ */
16055
+ linkClicks?: number;
16056
+ /**
16057
+ * Distinct people who clicked a tracked link.
16058
+ */
16059
+ uniqueClicks?: number;
16044
16060
  };
16045
16061
  createdAt?: string;
16046
16062
  }>;
@@ -16090,6 +16106,14 @@ export type CreateCommentAutomationData = {
16090
16106
  * Optional public reply to the comment
16091
16107
  */
16092
16108
  commentReply?: string;
16109
+ /**
16110
+ * 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.
16111
+ */
16112
+ linkTracking?: boolean;
16113
+ /**
16114
+ * Optional tag applied to a contact when they click a tracked link (requires linkTracking). Lets you segment clickers for broadcasts/sequences.
16115
+ */
16116
+ clickTag?: string;
16093
16117
  };
16094
16118
  };
16095
16119
 
@@ -16108,6 +16132,8 @@ export type CreateCommentAutomationResponse = ({
16108
16132
  */
16109
16133
  buttons?: Array<DmButton>;
16110
16134
  commentReply?: string;
16135
+ linkTracking?: boolean;
16136
+ clickTag?: string;
16111
16137
  isActive?: boolean;
16112
16138
  stats?: {
16113
16139
  totalTriggered?: number;
@@ -16146,6 +16172,8 @@ export type GetCommentAutomationResponse = ({
16146
16172
  */
16147
16173
  buttons?: Array<DmButton>;
16148
16174
  commentReply?: string;
16175
+ linkTracking?: boolean;
16176
+ clickTag?: string;
16149
16177
  isActive?: boolean;
16150
16178
  stats?: {
16151
16179
  totalTriggered?: number;
@@ -16196,6 +16224,14 @@ export type UpdateCommentAutomationData = {
16196
16224
  */
16197
16225
  buttons?: Array<DmButton>;
16198
16226
  commentReply?: string;
16227
+ /**
16228
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
16229
+ */
16230
+ linkTracking?: boolean;
16231
+ /**
16232
+ * Tag applied to a contact when they click a tracked link (requires linkTracking). Empty string clears it.
16233
+ */
16234
+ clickTag?: string;
16199
16235
  isActive?: boolean;
16200
16236
  };
16201
16237
  path: {