@zernio/node 0.2.194 → 0.2.195

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,24 @@ 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;
15693
15697
  isActive?: boolean;
15694
15698
  stats?: {
15695
15699
  triggered?: number;
15696
15700
  dmsSent?: number;
15697
15701
  dmsFailed?: number;
15698
15702
  uniqueContacts?: number;
15703
+ /**
15704
+ * Total clicks on tracked links (bots/prefetch excluded).
15705
+ */
15706
+ linkClicks?: number;
15707
+ /**
15708
+ * Distinct people who clicked a tracked link.
15709
+ */
15710
+ uniqueClicks?: number;
15699
15711
  };
15700
15712
  createdAt?: string;
15701
15713
  }>;
@@ -15743,6 +15755,10 @@ type CreateCommentAutomationData = {
15743
15755
  * Optional public reply to the comment
15744
15756
  */
15745
15757
  commentReply?: string;
15758
+ /**
15759
+ * 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
+ */
15761
+ linkTracking?: boolean;
15746
15762
  };
15747
15763
  };
15748
15764
  type CreateCommentAutomationResponse = ({
@@ -15760,6 +15776,7 @@ type CreateCommentAutomationResponse = ({
15760
15776
  */
15761
15777
  buttons?: Array<DmButton>;
15762
15778
  commentReply?: string;
15779
+ linkTracking?: boolean;
15763
15780
  isActive?: boolean;
15764
15781
  stats?: {
15765
15782
  totalTriggered?: number;
@@ -15795,6 +15812,7 @@ type GetCommentAutomationResponse = ({
15795
15812
  */
15796
15813
  buttons?: Array<DmButton>;
15797
15814
  commentReply?: string;
15815
+ linkTracking?: boolean;
15798
15816
  isActive?: boolean;
15799
15817
  stats?: {
15800
15818
  totalTriggered?: number;
@@ -15843,6 +15861,10 @@ type UpdateCommentAutomationData = {
15843
15861
  */
15844
15862
  buttons?: Array<DmButton>;
15845
15863
  commentReply?: string;
15864
+ /**
15865
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
15866
+ */
15867
+ linkTracking?: boolean;
15846
15868
  isActive?: boolean;
15847
15869
  };
15848
15870
  path: {
package/dist/index.d.ts CHANGED
@@ -15690,12 +15690,24 @@ 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;
15693
15697
  isActive?: boolean;
15694
15698
  stats?: {
15695
15699
  triggered?: number;
15696
15700
  dmsSent?: number;
15697
15701
  dmsFailed?: number;
15698
15702
  uniqueContacts?: number;
15703
+ /**
15704
+ * Total clicks on tracked links (bots/prefetch excluded).
15705
+ */
15706
+ linkClicks?: number;
15707
+ /**
15708
+ * Distinct people who clicked a tracked link.
15709
+ */
15710
+ uniqueClicks?: number;
15699
15711
  };
15700
15712
  createdAt?: string;
15701
15713
  }>;
@@ -15743,6 +15755,10 @@ type CreateCommentAutomationData = {
15743
15755
  * Optional public reply to the comment
15744
15756
  */
15745
15757
  commentReply?: string;
15758
+ /**
15759
+ * 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
+ */
15761
+ linkTracking?: boolean;
15746
15762
  };
15747
15763
  };
15748
15764
  type CreateCommentAutomationResponse = ({
@@ -15760,6 +15776,7 @@ type CreateCommentAutomationResponse = ({
15760
15776
  */
15761
15777
  buttons?: Array<DmButton>;
15762
15778
  commentReply?: string;
15779
+ linkTracking?: boolean;
15763
15780
  isActive?: boolean;
15764
15781
  stats?: {
15765
15782
  totalTriggered?: number;
@@ -15795,6 +15812,7 @@ type GetCommentAutomationResponse = ({
15795
15812
  */
15796
15813
  buttons?: Array<DmButton>;
15797
15814
  commentReply?: string;
15815
+ linkTracking?: boolean;
15798
15816
  isActive?: boolean;
15799
15817
  stats?: {
15800
15818
  totalTriggered?: number;
@@ -15843,6 +15861,10 @@ type UpdateCommentAutomationData = {
15843
15861
  */
15844
15862
  buttons?: Array<DmButton>;
15845
15863
  commentReply?: string;
15864
+ /**
15865
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
15866
+ */
15867
+ linkTracking?: boolean;
15846
15868
  isActive?: boolean;
15847
15869
  };
15848
15870
  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.195",
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.195",
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.195",
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,24 @@ 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;
16038
16042
  isActive?: boolean;
16039
16043
  stats?: {
16040
16044
  triggered?: number;
16041
16045
  dmsSent?: number;
16042
16046
  dmsFailed?: number;
16043
16047
  uniqueContacts?: number;
16048
+ /**
16049
+ * Total clicks on tracked links (bots/prefetch excluded).
16050
+ */
16051
+ linkClicks?: number;
16052
+ /**
16053
+ * Distinct people who clicked a tracked link.
16054
+ */
16055
+ uniqueClicks?: number;
16044
16056
  };
16045
16057
  createdAt?: string;
16046
16058
  }>;
@@ -16090,6 +16102,10 @@ export type CreateCommentAutomationData = {
16090
16102
  * Optional public reply to the comment
16091
16103
  */
16092
16104
  commentReply?: string;
16105
+ /**
16106
+ * 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
+ */
16108
+ linkTracking?: boolean;
16093
16109
  };
16094
16110
  };
16095
16111
 
@@ -16108,6 +16124,7 @@ export type CreateCommentAutomationResponse = ({
16108
16124
  */
16109
16125
  buttons?: Array<DmButton>;
16110
16126
  commentReply?: string;
16127
+ linkTracking?: boolean;
16111
16128
  isActive?: boolean;
16112
16129
  stats?: {
16113
16130
  totalTriggered?: number;
@@ -16146,6 +16163,7 @@ export type GetCommentAutomationResponse = ({
16146
16163
  */
16147
16164
  buttons?: Array<DmButton>;
16148
16165
  commentReply?: string;
16166
+ linkTracking?: boolean;
16149
16167
  isActive?: boolean;
16150
16168
  stats?: {
16151
16169
  totalTriggered?: number;
@@ -16196,6 +16214,10 @@ export type UpdateCommentAutomationData = {
16196
16214
  */
16197
16215
  buttons?: Array<DmButton>;
16198
16216
  commentReply?: string;
16217
+ /**
16218
+ * Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
16219
+ */
16220
+ linkTracking?: boolean;
16199
16221
  isActive?: boolean;
16200
16222
  };
16201
16223
  path: {