@getlatedev/node 0.2.351 → 0.2.352
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 +48 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +48 -0
package/dist/index.d.mts
CHANGED
|
@@ -21480,6 +21480,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
21480
21480
|
*/
|
|
21481
21481
|
buttons?: Array<DmButton>;
|
|
21482
21482
|
commentReply?: string;
|
|
21483
|
+
/**
|
|
21484
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21485
|
+
*/
|
|
21486
|
+
dmMessageVariations?: Array<(string)>;
|
|
21487
|
+
/**
|
|
21488
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21489
|
+
*/
|
|
21490
|
+
commentReplyVariations?: Array<(string)>;
|
|
21483
21491
|
/**
|
|
21484
21492
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
21485
21493
|
*/
|
|
@@ -21565,6 +21573,14 @@ type CreateCommentAutomationData = {
|
|
|
21565
21573
|
* Optional public reply to the comment
|
|
21566
21574
|
*/
|
|
21567
21575
|
commentReply?: string;
|
|
21576
|
+
/**
|
|
21577
|
+
* Optional alternate DM texts for random rotation. When set, each triggered comment sends one picked at random from [dmMessage, ...dmMessageVariations], so repeat commenters get slightly different DMs (helps avoid identical-message patterns). Up to 5. Buttons are attached to whichever text is picked, not varied.
|
|
21578
|
+
*/
|
|
21579
|
+
dmMessageVariations?: Array<(string)>;
|
|
21580
|
+
/**
|
|
21581
|
+
* Optional alternate public replies, rotated at random alongside commentReply (picked independently of the DM). Up to 5.
|
|
21582
|
+
*/
|
|
21583
|
+
commentReplyVariations?: Array<(string)>;
|
|
21568
21584
|
/**
|
|
21569
21585
|
* 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.
|
|
21570
21586
|
*/
|
|
@@ -21591,6 +21607,14 @@ type CreateCommentAutomationResponse = ({
|
|
|
21591
21607
|
*/
|
|
21592
21608
|
buttons?: Array<DmButton>;
|
|
21593
21609
|
commentReply?: string;
|
|
21610
|
+
/**
|
|
21611
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21612
|
+
*/
|
|
21613
|
+
dmMessageVariations?: Array<(string)>;
|
|
21614
|
+
/**
|
|
21615
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21616
|
+
*/
|
|
21617
|
+
commentReplyVariations?: Array<(string)>;
|
|
21594
21618
|
linkTracking?: boolean;
|
|
21595
21619
|
clickTag?: string;
|
|
21596
21620
|
isActive?: boolean;
|
|
@@ -21629,6 +21653,14 @@ type GetCommentAutomationResponse = ({
|
|
|
21629
21653
|
*/
|
|
21630
21654
|
buttons?: Array<DmButton>;
|
|
21631
21655
|
commentReply?: string;
|
|
21656
|
+
/**
|
|
21657
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21658
|
+
*/
|
|
21659
|
+
dmMessageVariations?: Array<(string)>;
|
|
21660
|
+
/**
|
|
21661
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21662
|
+
*/
|
|
21663
|
+
commentReplyVariations?: Array<(string)>;
|
|
21632
21664
|
linkTracking?: boolean;
|
|
21633
21665
|
clickTag?: string;
|
|
21634
21666
|
isActive?: boolean;
|
|
@@ -21679,6 +21711,14 @@ type UpdateCommentAutomationData = {
|
|
|
21679
21711
|
*/
|
|
21680
21712
|
buttons?: Array<DmButton>;
|
|
21681
21713
|
commentReply?: string;
|
|
21714
|
+
/**
|
|
21715
|
+
* Alternate DM texts for random rotation (see create). Pass [] to clear.
|
|
21716
|
+
*/
|
|
21717
|
+
dmMessageVariations?: Array<(string)>;
|
|
21718
|
+
/**
|
|
21719
|
+
* Alternate public replies for random rotation. Pass [] to clear.
|
|
21720
|
+
*/
|
|
21721
|
+
commentReplyVariations?: Array<(string)>;
|
|
21682
21722
|
/**
|
|
21683
21723
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
21684
21724
|
*/
|
|
@@ -21706,6 +21746,14 @@ type UpdateCommentAutomationResponse = ({
|
|
|
21706
21746
|
*/
|
|
21707
21747
|
buttons?: Array<DmButton>;
|
|
21708
21748
|
commentReply?: string;
|
|
21749
|
+
/**
|
|
21750
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21751
|
+
*/
|
|
21752
|
+
dmMessageVariations?: Array<(string)>;
|
|
21753
|
+
/**
|
|
21754
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21755
|
+
*/
|
|
21756
|
+
commentReplyVariations?: Array<(string)>;
|
|
21709
21757
|
isActive?: boolean;
|
|
21710
21758
|
updatedAt?: string;
|
|
21711
21759
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -21480,6 +21480,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
21480
21480
|
*/
|
|
21481
21481
|
buttons?: Array<DmButton>;
|
|
21482
21482
|
commentReply?: string;
|
|
21483
|
+
/**
|
|
21484
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21485
|
+
*/
|
|
21486
|
+
dmMessageVariations?: Array<(string)>;
|
|
21487
|
+
/**
|
|
21488
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21489
|
+
*/
|
|
21490
|
+
commentReplyVariations?: Array<(string)>;
|
|
21483
21491
|
/**
|
|
21484
21492
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
21485
21493
|
*/
|
|
@@ -21565,6 +21573,14 @@ type CreateCommentAutomationData = {
|
|
|
21565
21573
|
* Optional public reply to the comment
|
|
21566
21574
|
*/
|
|
21567
21575
|
commentReply?: string;
|
|
21576
|
+
/**
|
|
21577
|
+
* Optional alternate DM texts for random rotation. When set, each triggered comment sends one picked at random from [dmMessage, ...dmMessageVariations], so repeat commenters get slightly different DMs (helps avoid identical-message patterns). Up to 5. Buttons are attached to whichever text is picked, not varied.
|
|
21578
|
+
*/
|
|
21579
|
+
dmMessageVariations?: Array<(string)>;
|
|
21580
|
+
/**
|
|
21581
|
+
* Optional alternate public replies, rotated at random alongside commentReply (picked independently of the DM). Up to 5.
|
|
21582
|
+
*/
|
|
21583
|
+
commentReplyVariations?: Array<(string)>;
|
|
21568
21584
|
/**
|
|
21569
21585
|
* 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.
|
|
21570
21586
|
*/
|
|
@@ -21591,6 +21607,14 @@ type CreateCommentAutomationResponse = ({
|
|
|
21591
21607
|
*/
|
|
21592
21608
|
buttons?: Array<DmButton>;
|
|
21593
21609
|
commentReply?: string;
|
|
21610
|
+
/**
|
|
21611
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21612
|
+
*/
|
|
21613
|
+
dmMessageVariations?: Array<(string)>;
|
|
21614
|
+
/**
|
|
21615
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21616
|
+
*/
|
|
21617
|
+
commentReplyVariations?: Array<(string)>;
|
|
21594
21618
|
linkTracking?: boolean;
|
|
21595
21619
|
clickTag?: string;
|
|
21596
21620
|
isActive?: boolean;
|
|
@@ -21629,6 +21653,14 @@ type GetCommentAutomationResponse = ({
|
|
|
21629
21653
|
*/
|
|
21630
21654
|
buttons?: Array<DmButton>;
|
|
21631
21655
|
commentReply?: string;
|
|
21656
|
+
/**
|
|
21657
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21658
|
+
*/
|
|
21659
|
+
dmMessageVariations?: Array<(string)>;
|
|
21660
|
+
/**
|
|
21661
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21662
|
+
*/
|
|
21663
|
+
commentReplyVariations?: Array<(string)>;
|
|
21632
21664
|
linkTracking?: boolean;
|
|
21633
21665
|
clickTag?: string;
|
|
21634
21666
|
isActive?: boolean;
|
|
@@ -21679,6 +21711,14 @@ type UpdateCommentAutomationData = {
|
|
|
21679
21711
|
*/
|
|
21680
21712
|
buttons?: Array<DmButton>;
|
|
21681
21713
|
commentReply?: string;
|
|
21714
|
+
/**
|
|
21715
|
+
* Alternate DM texts for random rotation (see create). Pass [] to clear.
|
|
21716
|
+
*/
|
|
21717
|
+
dmMessageVariations?: Array<(string)>;
|
|
21718
|
+
/**
|
|
21719
|
+
* Alternate public replies for random rotation. Pass [] to clear.
|
|
21720
|
+
*/
|
|
21721
|
+
commentReplyVariations?: Array<(string)>;
|
|
21682
21722
|
/**
|
|
21683
21723
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
21684
21724
|
*/
|
|
@@ -21706,6 +21746,14 @@ type UpdateCommentAutomationResponse = ({
|
|
|
21706
21746
|
*/
|
|
21707
21747
|
buttons?: Array<DmButton>;
|
|
21708
21748
|
commentReply?: string;
|
|
21749
|
+
/**
|
|
21750
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
21751
|
+
*/
|
|
21752
|
+
dmMessageVariations?: Array<(string)>;
|
|
21753
|
+
/**
|
|
21754
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
21755
|
+
*/
|
|
21756
|
+
commentReplyVariations?: Array<(string)>;
|
|
21709
21757
|
isActive?: boolean;
|
|
21710
21758
|
updatedAt?: string;
|
|
21711
21759
|
};
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.352",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.352",
|
|
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
|
@@ -22033,6 +22033,14 @@ export type ListCommentAutomationsResponse = ({
|
|
|
22033
22033
|
*/
|
|
22034
22034
|
buttons?: Array<DmButton>;
|
|
22035
22035
|
commentReply?: string;
|
|
22036
|
+
/**
|
|
22037
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
22038
|
+
*/
|
|
22039
|
+
dmMessageVariations?: Array<(string)>;
|
|
22040
|
+
/**
|
|
22041
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
22042
|
+
*/
|
|
22043
|
+
commentReplyVariations?: Array<(string)>;
|
|
22036
22044
|
/**
|
|
22037
22045
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
22038
22046
|
*/
|
|
@@ -22120,6 +22128,14 @@ export type CreateCommentAutomationData = {
|
|
|
22120
22128
|
* Optional public reply to the comment
|
|
22121
22129
|
*/
|
|
22122
22130
|
commentReply?: string;
|
|
22131
|
+
/**
|
|
22132
|
+
* Optional alternate DM texts for random rotation. When set, each triggered comment sends one picked at random from [dmMessage, ...dmMessageVariations], so repeat commenters get slightly different DMs (helps avoid identical-message patterns). Up to 5. Buttons are attached to whichever text is picked, not varied.
|
|
22133
|
+
*/
|
|
22134
|
+
dmMessageVariations?: Array<(string)>;
|
|
22135
|
+
/**
|
|
22136
|
+
* Optional alternate public replies, rotated at random alongside commentReply (picked independently of the DM). Up to 5.
|
|
22137
|
+
*/
|
|
22138
|
+
commentReplyVariations?: Array<(string)>;
|
|
22123
22139
|
/**
|
|
22124
22140
|
* 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.
|
|
22125
22141
|
*/
|
|
@@ -22147,6 +22163,14 @@ export type CreateCommentAutomationResponse = ({
|
|
|
22147
22163
|
*/
|
|
22148
22164
|
buttons?: Array<DmButton>;
|
|
22149
22165
|
commentReply?: string;
|
|
22166
|
+
/**
|
|
22167
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
22168
|
+
*/
|
|
22169
|
+
dmMessageVariations?: Array<(string)>;
|
|
22170
|
+
/**
|
|
22171
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
22172
|
+
*/
|
|
22173
|
+
commentReplyVariations?: Array<(string)>;
|
|
22150
22174
|
linkTracking?: boolean;
|
|
22151
22175
|
clickTag?: string;
|
|
22152
22176
|
isActive?: boolean;
|
|
@@ -22188,6 +22212,14 @@ export type GetCommentAutomationResponse = ({
|
|
|
22188
22212
|
*/
|
|
22189
22213
|
buttons?: Array<DmButton>;
|
|
22190
22214
|
commentReply?: string;
|
|
22215
|
+
/**
|
|
22216
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
22217
|
+
*/
|
|
22218
|
+
dmMessageVariations?: Array<(string)>;
|
|
22219
|
+
/**
|
|
22220
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
22221
|
+
*/
|
|
22222
|
+
commentReplyVariations?: Array<(string)>;
|
|
22191
22223
|
linkTracking?: boolean;
|
|
22192
22224
|
clickTag?: string;
|
|
22193
22225
|
isActive?: boolean;
|
|
@@ -22240,6 +22272,14 @@ export type UpdateCommentAutomationData = {
|
|
|
22240
22272
|
*/
|
|
22241
22273
|
buttons?: Array<DmButton>;
|
|
22242
22274
|
commentReply?: string;
|
|
22275
|
+
/**
|
|
22276
|
+
* Alternate DM texts for random rotation (see create). Pass [] to clear.
|
|
22277
|
+
*/
|
|
22278
|
+
dmMessageVariations?: Array<(string)>;
|
|
22279
|
+
/**
|
|
22280
|
+
* Alternate public replies for random rotation. Pass [] to clear.
|
|
22281
|
+
*/
|
|
22282
|
+
commentReplyVariations?: Array<(string)>;
|
|
22243
22283
|
/**
|
|
22244
22284
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
22245
22285
|
*/
|
|
@@ -22268,6 +22308,14 @@ export type UpdateCommentAutomationResponse = ({
|
|
|
22268
22308
|
*/
|
|
22269
22309
|
buttons?: Array<DmButton>;
|
|
22270
22310
|
commentReply?: string;
|
|
22311
|
+
/**
|
|
22312
|
+
* Alternate DM texts rotated at random with dmMessage. Omitted when none.
|
|
22313
|
+
*/
|
|
22314
|
+
dmMessageVariations?: Array<(string)>;
|
|
22315
|
+
/**
|
|
22316
|
+
* Alternate public replies rotated at random with commentReply. Omitted when none.
|
|
22317
|
+
*/
|
|
22318
|
+
commentReplyVariations?: Array<(string)>;
|
|
22271
22319
|
isActive?: boolean;
|
|
22272
22320
|
updatedAt?: string;
|
|
22273
22321
|
};
|