@getlatedev/node 0.2.1269 → 0.2.1271
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/README.md +3 -0
- package/dist/index.d.mts +121 -1
- package/dist/index.d.ts +121 -1
- package/dist/index.js +23 -2
- package/dist/index.mjs +23 -2
- package/package.json +1 -1
- package/src/client.ts +6 -0
- package/src/generated/sdk.gen.ts +62 -1
- package/src/generated/types.gen.ts +128 -0
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.1271",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1440,6 +1440,18 @@ var listInstagramTaggedMedia = (options) => {
|
|
|
1440
1440
|
url: "/v1/accounts/{accountId}/instagram/tags"
|
|
1441
1441
|
});
|
|
1442
1442
|
};
|
|
1443
|
+
var getInstagramMentionedMedia = (options) => {
|
|
1444
|
+
return (options?.client ?? client).get({
|
|
1445
|
+
...options,
|
|
1446
|
+
url: "/v1/accounts/{accountId}/instagram/mentions/media/{mediaId}"
|
|
1447
|
+
});
|
|
1448
|
+
};
|
|
1449
|
+
var getInstagramMentionedComment = (options) => {
|
|
1450
|
+
return (options?.client ?? client).get({
|
|
1451
|
+
...options,
|
|
1452
|
+
url: "/v1/accounts/{accountId}/instagram/mentions/comments/{commentId}"
|
|
1453
|
+
});
|
|
1454
|
+
};
|
|
1443
1455
|
var getInstagramStoryInsights = (options) => {
|
|
1444
1456
|
return (options?.client ?? client).get({
|
|
1445
1457
|
...options,
|
|
@@ -6330,6 +6342,12 @@ var downloadTikTokVideo = (options) => {
|
|
|
6330
6342
|
url: "/v1/tools/tiktok/download"
|
|
6331
6343
|
});
|
|
6332
6344
|
};
|
|
6345
|
+
var prepareMedia = (options) => {
|
|
6346
|
+
return (options?.client ?? client).post({
|
|
6347
|
+
...options,
|
|
6348
|
+
url: "/v1/media/prepare"
|
|
6349
|
+
});
|
|
6350
|
+
};
|
|
6333
6351
|
var listChangelog = (options) => {
|
|
6334
6352
|
return (options?.client ?? client).get({
|
|
6335
6353
|
...options,
|
|
@@ -6514,7 +6532,8 @@ var Zernio = class _Zernio {
|
|
|
6514
6532
|
* Media API - Upload and manage media files
|
|
6515
6533
|
*/
|
|
6516
6534
|
this.media = {
|
|
6517
|
-
getMediaPresignedUrl: this._bind(getMediaPresignedUrl)
|
|
6535
|
+
getMediaPresignedUrl: this._bind(getMediaPresignedUrl),
|
|
6536
|
+
prepareMedia: this._bind(prepareMedia)
|
|
6518
6537
|
};
|
|
6519
6538
|
/**
|
|
6520
6539
|
* Reddit API - Search and feed
|
|
@@ -6832,6 +6851,8 @@ var Zernio = class _Zernio {
|
|
|
6832
6851
|
listInstagramMediaCollaborators: this._bind(listInstagramMediaCollaborators),
|
|
6833
6852
|
listInstagramLiveMedia: this._bind(listInstagramLiveMedia),
|
|
6834
6853
|
listInstagramTaggedMedia: this._bind(listInstagramTaggedMedia),
|
|
6854
|
+
getInstagramMentionedMedia: this._bind(getInstagramMentionedMedia),
|
|
6855
|
+
getInstagramMentionedComment: this._bind(getInstagramMentionedComment),
|
|
6835
6856
|
getInstagramStoryInsights: this._bind(getInstagramStoryInsights)
|
|
6836
6857
|
};
|
|
6837
6858
|
/**
|
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.1271",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1409,6 +1409,18 @@ var listInstagramTaggedMedia = (options) => {
|
|
|
1409
1409
|
url: "/v1/accounts/{accountId}/instagram/tags"
|
|
1410
1410
|
});
|
|
1411
1411
|
};
|
|
1412
|
+
var getInstagramMentionedMedia = (options) => {
|
|
1413
|
+
return (options?.client ?? client).get({
|
|
1414
|
+
...options,
|
|
1415
|
+
url: "/v1/accounts/{accountId}/instagram/mentions/media/{mediaId}"
|
|
1416
|
+
});
|
|
1417
|
+
};
|
|
1418
|
+
var getInstagramMentionedComment = (options) => {
|
|
1419
|
+
return (options?.client ?? client).get({
|
|
1420
|
+
...options,
|
|
1421
|
+
url: "/v1/accounts/{accountId}/instagram/mentions/comments/{commentId}"
|
|
1422
|
+
});
|
|
1423
|
+
};
|
|
1412
1424
|
var getInstagramStoryInsights = (options) => {
|
|
1413
1425
|
return (options?.client ?? client).get({
|
|
1414
1426
|
...options,
|
|
@@ -6299,6 +6311,12 @@ var downloadTikTokVideo = (options) => {
|
|
|
6299
6311
|
url: "/v1/tools/tiktok/download"
|
|
6300
6312
|
});
|
|
6301
6313
|
};
|
|
6314
|
+
var prepareMedia = (options) => {
|
|
6315
|
+
return (options?.client ?? client).post({
|
|
6316
|
+
...options,
|
|
6317
|
+
url: "/v1/media/prepare"
|
|
6318
|
+
});
|
|
6319
|
+
};
|
|
6302
6320
|
var listChangelog = (options) => {
|
|
6303
6321
|
return (options?.client ?? client).get({
|
|
6304
6322
|
...options,
|
|
@@ -6483,7 +6501,8 @@ var Zernio = class _Zernio {
|
|
|
6483
6501
|
* Media API - Upload and manage media files
|
|
6484
6502
|
*/
|
|
6485
6503
|
this.media = {
|
|
6486
|
-
getMediaPresignedUrl: this._bind(getMediaPresignedUrl)
|
|
6504
|
+
getMediaPresignedUrl: this._bind(getMediaPresignedUrl),
|
|
6505
|
+
prepareMedia: this._bind(prepareMedia)
|
|
6487
6506
|
};
|
|
6488
6507
|
/**
|
|
6489
6508
|
* Reddit API - Search and feed
|
|
@@ -6801,6 +6820,8 @@ var Zernio = class _Zernio {
|
|
|
6801
6820
|
listInstagramMediaCollaborators: this._bind(listInstagramMediaCollaborators),
|
|
6802
6821
|
listInstagramLiveMedia: this._bind(listInstagramLiveMedia),
|
|
6803
6822
|
listInstagramTaggedMedia: this._bind(listInstagramTaggedMedia),
|
|
6823
|
+
getInstagramMentionedMedia: this._bind(getInstagramMentionedMedia),
|
|
6824
|
+
getInstagramMentionedComment: this._bind(getInstagramMentionedComment),
|
|
6804
6825
|
getInstagramStoryInsights: this._bind(getInstagramStoryInsights)
|
|
6805
6826
|
};
|
|
6806
6827
|
/**
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -404,6 +404,8 @@ import {
|
|
|
404
404
|
getInstagramFollowStatus,
|
|
405
405
|
getInstagramFollowerHistory,
|
|
406
406
|
getInstagramIceBreakers,
|
|
407
|
+
getInstagramMentionedComment,
|
|
408
|
+
getInstagramMentionedMedia,
|
|
407
409
|
getInstagramOnlineFollowers,
|
|
408
410
|
getInstagramPublishingLimit,
|
|
409
411
|
getInstagramStoryInsights,
|
|
@@ -715,6 +717,7 @@ import {
|
|
|
715
717
|
pinInboxComment,
|
|
716
718
|
preflightBrandedCallingIdentity,
|
|
717
719
|
preflightSmsRegistration,
|
|
720
|
+
prepareMedia,
|
|
718
721
|
previewQueue,
|
|
719
722
|
publishWhatsAppFlow,
|
|
720
723
|
purchasePhoneNumber,
|
|
@@ -1206,6 +1209,7 @@ export class Zernio {
|
|
|
1206
1209
|
*/
|
|
1207
1210
|
media = {
|
|
1208
1211
|
getMediaPresignedUrl: this._bind(getMediaPresignedUrl),
|
|
1212
|
+
prepareMedia: this._bind(prepareMedia),
|
|
1209
1213
|
};
|
|
1210
1214
|
|
|
1211
1215
|
/**
|
|
@@ -1543,6 +1547,8 @@ export class Zernio {
|
|
|
1543
1547
|
listInstagramMediaCollaborators: this._bind(listInstagramMediaCollaborators),
|
|
1544
1548
|
listInstagramLiveMedia: this._bind(listInstagramLiveMedia),
|
|
1545
1549
|
listInstagramTaggedMedia: this._bind(listInstagramTaggedMedia),
|
|
1550
|
+
getInstagramMentionedMedia: this._bind(getInstagramMentionedMedia),
|
|
1551
|
+
getInstagramMentionedComment: this._bind(getInstagramMentionedComment),
|
|
1546
1552
|
getInstagramStoryInsights: this._bind(getInstagramStoryInsights),
|
|
1547
1553
|
};
|
|
1548
1554
|
|