@getlatedev/node 0.2.350 → 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 +56 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +56 -0
package/dist/index.d.mts
CHANGED
|
@@ -1567,6 +1567,10 @@ type AnalyticsListResponse = {
|
|
|
1567
1567
|
* Thumbnail URL (same as url for images)
|
|
1568
1568
|
*/
|
|
1569
1569
|
thumbnail?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Accessibility alt text set on the media, when present.
|
|
1572
|
+
*/
|
|
1573
|
+
altText?: string;
|
|
1570
1574
|
}>;
|
|
1571
1575
|
}>;
|
|
1572
1576
|
pagination?: Pagination;
|
|
@@ -1636,6 +1640,10 @@ type AnalyticsSinglePostResponse = {
|
|
|
1636
1640
|
* Thumbnail URL (same as url for images)
|
|
1637
1641
|
*/
|
|
1638
1642
|
thumbnail?: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* Accessibility alt text set on the media, when present.
|
|
1645
|
+
*/
|
|
1646
|
+
altText?: string;
|
|
1639
1647
|
}>;
|
|
1640
1648
|
};
|
|
1641
1649
|
/**
|
|
@@ -21472,6 +21480,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
21472
21480
|
*/
|
|
21473
21481
|
buttons?: Array<DmButton>;
|
|
21474
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)>;
|
|
21475
21491
|
/**
|
|
21476
21492
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
21477
21493
|
*/
|
|
@@ -21557,6 +21573,14 @@ type CreateCommentAutomationData = {
|
|
|
21557
21573
|
* Optional public reply to the comment
|
|
21558
21574
|
*/
|
|
21559
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)>;
|
|
21560
21584
|
/**
|
|
21561
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.
|
|
21562
21586
|
*/
|
|
@@ -21583,6 +21607,14 @@ type CreateCommentAutomationResponse = ({
|
|
|
21583
21607
|
*/
|
|
21584
21608
|
buttons?: Array<DmButton>;
|
|
21585
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)>;
|
|
21586
21618
|
linkTracking?: boolean;
|
|
21587
21619
|
clickTag?: string;
|
|
21588
21620
|
isActive?: boolean;
|
|
@@ -21621,6 +21653,14 @@ type GetCommentAutomationResponse = ({
|
|
|
21621
21653
|
*/
|
|
21622
21654
|
buttons?: Array<DmButton>;
|
|
21623
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)>;
|
|
21624
21664
|
linkTracking?: boolean;
|
|
21625
21665
|
clickTag?: string;
|
|
21626
21666
|
isActive?: boolean;
|
|
@@ -21671,6 +21711,14 @@ type UpdateCommentAutomationData = {
|
|
|
21671
21711
|
*/
|
|
21672
21712
|
buttons?: Array<DmButton>;
|
|
21673
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)>;
|
|
21674
21722
|
/**
|
|
21675
21723
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
21676
21724
|
*/
|
|
@@ -21698,6 +21746,14 @@ type UpdateCommentAutomationResponse = ({
|
|
|
21698
21746
|
*/
|
|
21699
21747
|
buttons?: Array<DmButton>;
|
|
21700
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)>;
|
|
21701
21757
|
isActive?: boolean;
|
|
21702
21758
|
updatedAt?: string;
|
|
21703
21759
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1567,6 +1567,10 @@ type AnalyticsListResponse = {
|
|
|
1567
1567
|
* Thumbnail URL (same as url for images)
|
|
1568
1568
|
*/
|
|
1569
1569
|
thumbnail?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Accessibility alt text set on the media, when present.
|
|
1572
|
+
*/
|
|
1573
|
+
altText?: string;
|
|
1570
1574
|
}>;
|
|
1571
1575
|
}>;
|
|
1572
1576
|
pagination?: Pagination;
|
|
@@ -1636,6 +1640,10 @@ type AnalyticsSinglePostResponse = {
|
|
|
1636
1640
|
* Thumbnail URL (same as url for images)
|
|
1637
1641
|
*/
|
|
1638
1642
|
thumbnail?: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* Accessibility alt text set on the media, when present.
|
|
1645
|
+
*/
|
|
1646
|
+
altText?: string;
|
|
1639
1647
|
}>;
|
|
1640
1648
|
};
|
|
1641
1649
|
/**
|
|
@@ -21472,6 +21480,14 @@ type ListCommentAutomationsResponse = ({
|
|
|
21472
21480
|
*/
|
|
21473
21481
|
buttons?: Array<DmButton>;
|
|
21474
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)>;
|
|
21475
21491
|
/**
|
|
21476
21492
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
21477
21493
|
*/
|
|
@@ -21557,6 +21573,14 @@ type CreateCommentAutomationData = {
|
|
|
21557
21573
|
* Optional public reply to the comment
|
|
21558
21574
|
*/
|
|
21559
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)>;
|
|
21560
21584
|
/**
|
|
21561
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.
|
|
21562
21586
|
*/
|
|
@@ -21583,6 +21607,14 @@ type CreateCommentAutomationResponse = ({
|
|
|
21583
21607
|
*/
|
|
21584
21608
|
buttons?: Array<DmButton>;
|
|
21585
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)>;
|
|
21586
21618
|
linkTracking?: boolean;
|
|
21587
21619
|
clickTag?: string;
|
|
21588
21620
|
isActive?: boolean;
|
|
@@ -21621,6 +21653,14 @@ type GetCommentAutomationResponse = ({
|
|
|
21621
21653
|
*/
|
|
21622
21654
|
buttons?: Array<DmButton>;
|
|
21623
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)>;
|
|
21624
21664
|
linkTracking?: boolean;
|
|
21625
21665
|
clickTag?: string;
|
|
21626
21666
|
isActive?: boolean;
|
|
@@ -21671,6 +21711,14 @@ type UpdateCommentAutomationData = {
|
|
|
21671
21711
|
*/
|
|
21672
21712
|
buttons?: Array<DmButton>;
|
|
21673
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)>;
|
|
21674
21722
|
/**
|
|
21675
21723
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
21676
21724
|
*/
|
|
@@ -21698,6 +21746,14 @@ type UpdateCommentAutomationResponse = ({
|
|
|
21698
21746
|
*/
|
|
21699
21747
|
buttons?: Array<DmButton>;
|
|
21700
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)>;
|
|
21701
21757
|
isActive?: boolean;
|
|
21702
21758
|
updatedAt?: string;
|
|
21703
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
|
@@ -713,6 +713,10 @@ export type AnalyticsListResponse = {
|
|
|
713
713
|
* Thumbnail URL (same as url for images)
|
|
714
714
|
*/
|
|
715
715
|
thumbnail?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Accessibility alt text set on the media, when present.
|
|
718
|
+
*/
|
|
719
|
+
altText?: string;
|
|
716
720
|
}>;
|
|
717
721
|
}>;
|
|
718
722
|
pagination?: Pagination;
|
|
@@ -784,6 +788,10 @@ export type AnalyticsSinglePostResponse = {
|
|
|
784
788
|
* Thumbnail URL (same as url for images)
|
|
785
789
|
*/
|
|
786
790
|
thumbnail?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Accessibility alt text set on the media, when present.
|
|
793
|
+
*/
|
|
794
|
+
altText?: string;
|
|
787
795
|
}>;
|
|
788
796
|
};
|
|
789
797
|
|
|
@@ -22025,6 +22033,14 @@ export type ListCommentAutomationsResponse = ({
|
|
|
22025
22033
|
*/
|
|
22026
22034
|
buttons?: Array<DmButton>;
|
|
22027
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)>;
|
|
22028
22044
|
/**
|
|
22029
22045
|
* Whether link buttons in the DM are wrapped in a tracked redirect to count clicks.
|
|
22030
22046
|
*/
|
|
@@ -22112,6 +22128,14 @@ export type CreateCommentAutomationData = {
|
|
|
22112
22128
|
* Optional public reply to the comment
|
|
22113
22129
|
*/
|
|
22114
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)>;
|
|
22115
22139
|
/**
|
|
22116
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.
|
|
22117
22141
|
*/
|
|
@@ -22139,6 +22163,14 @@ export type CreateCommentAutomationResponse = ({
|
|
|
22139
22163
|
*/
|
|
22140
22164
|
buttons?: Array<DmButton>;
|
|
22141
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)>;
|
|
22142
22174
|
linkTracking?: boolean;
|
|
22143
22175
|
clickTag?: string;
|
|
22144
22176
|
isActive?: boolean;
|
|
@@ -22180,6 +22212,14 @@ export type GetCommentAutomationResponse = ({
|
|
|
22180
22212
|
*/
|
|
22181
22213
|
buttons?: Array<DmButton>;
|
|
22182
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)>;
|
|
22183
22223
|
linkTracking?: boolean;
|
|
22184
22224
|
clickTag?: string;
|
|
22185
22225
|
isActive?: boolean;
|
|
@@ -22232,6 +22272,14 @@ export type UpdateCommentAutomationData = {
|
|
|
22232
22272
|
*/
|
|
22233
22273
|
buttons?: Array<DmButton>;
|
|
22234
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)>;
|
|
22235
22283
|
/**
|
|
22236
22284
|
* Wrap link buttons in a tracked redirect to count clicks. Pass false to send links untouched.
|
|
22237
22285
|
*/
|
|
@@ -22260,6 +22308,14 @@ export type UpdateCommentAutomationResponse = ({
|
|
|
22260
22308
|
*/
|
|
22261
22309
|
buttons?: Array<DmButton>;
|
|
22262
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)>;
|
|
22263
22319
|
isActive?: boolean;
|
|
22264
22320
|
updatedAt?: string;
|
|
22265
22321
|
};
|