@getlatedev/node 0.2.326 → 0.2.327
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 +14 -0
- package/dist/index.d.mts +501 -7
- package/dist/index.d.ts +501 -7
- package/dist/index.js +101 -3
- package/dist/index.mjs +101 -3
- package/package.json +1 -1
- package/src/client.ts +28 -0
- package/src/generated/sdk.gen.ts +279 -5
- package/src/generated/types.gen.ts +529 -6
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.327",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1121,6 +1121,12 @@ var listInstagramStories = (options) => {
|
|
|
1121
1121
|
url: "/v1/accounts/{accountId}/instagram/stories"
|
|
1122
1122
|
});
|
|
1123
1123
|
};
|
|
1124
|
+
var getInstagramPublishingLimit = (options) => {
|
|
1125
|
+
return (options?.client ?? client).get({
|
|
1126
|
+
...options,
|
|
1127
|
+
url: "/v1/accounts/{accountId}/instagram/publishing-limit"
|
|
1128
|
+
});
|
|
1129
|
+
};
|
|
1124
1130
|
var getInstagramStoryInsights = (options) => {
|
|
1125
1131
|
return (options?.client ?? client).get({
|
|
1126
1132
|
...options,
|
|
@@ -1163,6 +1169,12 @@ var updateGmbLocation = (options) => {
|
|
|
1163
1169
|
url: "/v1/accounts/{accountId}/gmb-locations"
|
|
1164
1170
|
});
|
|
1165
1171
|
};
|
|
1172
|
+
var getFacebookPostReactions = (options) => {
|
|
1173
|
+
return (options?.client ?? client).get({
|
|
1174
|
+
...options,
|
|
1175
|
+
url: "/v1/accounts/{accountId}/facebook-post-reactions"
|
|
1176
|
+
});
|
|
1177
|
+
};
|
|
1166
1178
|
var getRedditSubreddits = (options) => {
|
|
1167
1179
|
return (options?.client ?? client).get({
|
|
1168
1180
|
...options,
|
|
@@ -1175,12 +1187,30 @@ var updateRedditSubreddits = (options) => {
|
|
|
1175
1187
|
url: "/v1/accounts/{accountId}/reddit-subreddits"
|
|
1176
1188
|
});
|
|
1177
1189
|
};
|
|
1190
|
+
var getSubredditRules = (options) => {
|
|
1191
|
+
return (options?.client ?? client).get({
|
|
1192
|
+
...options,
|
|
1193
|
+
url: "/v1/accounts/{accountId}/reddit-subreddits/{subreddit}/rules"
|
|
1194
|
+
});
|
|
1195
|
+
};
|
|
1196
|
+
var voteRedditThing = (options) => {
|
|
1197
|
+
return (options?.client ?? client).post({
|
|
1198
|
+
...options,
|
|
1199
|
+
url: "/v1/accounts/{accountId}/reddit-vote"
|
|
1200
|
+
});
|
|
1201
|
+
};
|
|
1178
1202
|
var getRedditFlairs = (options) => {
|
|
1179
1203
|
return (options?.client ?? client).get({
|
|
1180
1204
|
...options,
|
|
1181
1205
|
url: "/v1/accounts/{accountId}/reddit-flairs"
|
|
1182
1206
|
});
|
|
1183
1207
|
};
|
|
1208
|
+
var setRedditPostFlair = (options) => {
|
|
1209
|
+
return (options?.client ?? client).post({
|
|
1210
|
+
...options,
|
|
1211
|
+
url: "/v1/accounts/{accountId}/reddit-flairs"
|
|
1212
|
+
});
|
|
1213
|
+
};
|
|
1184
1214
|
var getDiscordSettings = (options) => {
|
|
1185
1215
|
return (options?.client ?? client).get({
|
|
1186
1216
|
...options,
|
|
@@ -1211,6 +1241,24 @@ var listDiscordGuildRoles = (options) => {
|
|
|
1211
1241
|
url: "/v1/discord/guilds/{guildId}/roles"
|
|
1212
1242
|
});
|
|
1213
1243
|
};
|
|
1244
|
+
var createDiscordGuildRole = (options) => {
|
|
1245
|
+
return (options?.client ?? client).post({
|
|
1246
|
+
...options,
|
|
1247
|
+
url: "/v1/discord/guilds/{guildId}/roles"
|
|
1248
|
+
});
|
|
1249
|
+
};
|
|
1250
|
+
var editDiscordGuildRole = (options) => {
|
|
1251
|
+
return (options?.client ?? client).patch({
|
|
1252
|
+
...options,
|
|
1253
|
+
url: "/v1/discord/guilds/{guildId}/roles/{roleId}"
|
|
1254
|
+
});
|
|
1255
|
+
};
|
|
1256
|
+
var deleteDiscordGuildRole = (options) => {
|
|
1257
|
+
return (options?.client ?? client).delete({
|
|
1258
|
+
...options,
|
|
1259
|
+
url: "/v1/discord/guilds/{guildId}/roles/{roleId}"
|
|
1260
|
+
});
|
|
1261
|
+
};
|
|
1214
1262
|
var listDiscordGuildMembers = (options) => {
|
|
1215
1263
|
return (options?.client ?? client).get({
|
|
1216
1264
|
...options,
|
|
@@ -1229,6 +1277,24 @@ var removeDiscordMemberRole = (options) => {
|
|
|
1229
1277
|
url: "/v1/discord/guilds/{guildId}/members/{userId}/roles/{roleId}"
|
|
1230
1278
|
});
|
|
1231
1279
|
};
|
|
1280
|
+
var deleteDiscordMessage = (options) => {
|
|
1281
|
+
return (options?.client ?? client).delete({
|
|
1282
|
+
...options,
|
|
1283
|
+
url: "/v1/discord/channels/{channelId}/messages/{messageId}"
|
|
1284
|
+
});
|
|
1285
|
+
};
|
|
1286
|
+
var crosspostDiscordMessage = (options) => {
|
|
1287
|
+
return (options?.client ?? client).post({
|
|
1288
|
+
...options,
|
|
1289
|
+
url: "/v1/discord/channels/{channelId}/messages/{messageId}/crosspost"
|
|
1290
|
+
});
|
|
1291
|
+
};
|
|
1292
|
+
var createDiscordThread = (options) => {
|
|
1293
|
+
return (options?.client ?? client).post({
|
|
1294
|
+
...options,
|
|
1295
|
+
url: "/v1/discord/channels/{channelId}/threads"
|
|
1296
|
+
});
|
|
1297
|
+
};
|
|
1232
1298
|
var listDiscordPinnedMessages = (options) => {
|
|
1233
1299
|
return (options?.client ?? client).get({
|
|
1234
1300
|
...options,
|
|
@@ -1522,6 +1588,18 @@ var deleteInboxComment = (options) => {
|
|
|
1522
1588
|
url: "/v1/inbox/comments/{postId}"
|
|
1523
1589
|
});
|
|
1524
1590
|
};
|
|
1591
|
+
var editInboxComment = (options) => {
|
|
1592
|
+
return (options?.client ?? client).patch({
|
|
1593
|
+
...options,
|
|
1594
|
+
url: "/v1/inbox/comments/{postId}/{commentId}"
|
|
1595
|
+
});
|
|
1596
|
+
};
|
|
1597
|
+
var setCommentModeration = (options) => {
|
|
1598
|
+
return (options?.client ?? client).post({
|
|
1599
|
+
...options,
|
|
1600
|
+
url: "/v1/inbox/comments/{postId}/{commentId}/moderation"
|
|
1601
|
+
});
|
|
1602
|
+
};
|
|
1525
1603
|
var hideInboxComment = (options) => {
|
|
1526
1604
|
return (options?.client ?? client).post({
|
|
1527
1605
|
...options,
|
|
@@ -1594,6 +1672,12 @@ var listInboxMentions = (options) => {
|
|
|
1594
1672
|
url: "/v1/inbox/mentions"
|
|
1595
1673
|
});
|
|
1596
1674
|
};
|
|
1675
|
+
var replyToMention = (options) => {
|
|
1676
|
+
return (options?.client ?? client).post({
|
|
1677
|
+
...options,
|
|
1678
|
+
url: "/v1/inbox/mentions/reply"
|
|
1679
|
+
});
|
|
1680
|
+
};
|
|
1597
1681
|
var listInboxReviews = (options) => {
|
|
1598
1682
|
return (options?.client ?? client).get({
|
|
1599
1683
|
...options,
|
|
@@ -3199,7 +3283,8 @@ var Zernio = class {
|
|
|
3199
3283
|
syncExternalPosts,
|
|
3200
3284
|
getLinkedInAggregateAnalytics,
|
|
3201
3285
|
getLinkedInPostAnalytics,
|
|
3202
|
-
getLinkedInPostReactions
|
|
3286
|
+
getLinkedInPostReactions,
|
|
3287
|
+
getFacebookPostReactions
|
|
3203
3288
|
};
|
|
3204
3289
|
/**
|
|
3205
3290
|
* inboxanalytics API
|
|
@@ -3333,7 +3418,10 @@ var Zernio = class {
|
|
|
3333
3418
|
updateGmbLocation,
|
|
3334
3419
|
getRedditSubreddits,
|
|
3335
3420
|
updateRedditSubreddits,
|
|
3421
|
+
getSubredditRules,
|
|
3422
|
+
voteRedditThing,
|
|
3336
3423
|
getRedditFlairs,
|
|
3424
|
+
setRedditPostFlair,
|
|
3337
3425
|
facebook: {
|
|
3338
3426
|
listFacebookPages,
|
|
3339
3427
|
selectFacebookPage
|
|
@@ -3423,6 +3511,7 @@ var Zernio = class {
|
|
|
3423
3511
|
*/
|
|
3424
3512
|
this.instagram = {
|
|
3425
3513
|
listInstagramStories,
|
|
3514
|
+
getInstagramPublishingLimit,
|
|
3426
3515
|
getInstagramStoryInsights
|
|
3427
3516
|
};
|
|
3428
3517
|
/**
|
|
@@ -3434,9 +3523,15 @@ var Zernio = class {
|
|
|
3434
3523
|
getDiscordChannels,
|
|
3435
3524
|
sendDiscordDirectMessage,
|
|
3436
3525
|
listDiscordGuildRoles,
|
|
3526
|
+
createDiscordGuildRole,
|
|
3527
|
+
editDiscordGuildRole,
|
|
3528
|
+
deleteDiscordGuildRole,
|
|
3437
3529
|
listDiscordGuildMembers,
|
|
3438
3530
|
addDiscordMemberRole,
|
|
3439
3531
|
removeDiscordMemberRole,
|
|
3532
|
+
deleteDiscordMessage,
|
|
3533
|
+
crosspostDiscordMessage,
|
|
3534
|
+
createDiscordThread,
|
|
3440
3535
|
listDiscordPinnedMessages,
|
|
3441
3536
|
pinDiscordMessage,
|
|
3442
3537
|
unpinDiscordMessage,
|
|
@@ -3515,6 +3610,8 @@ var Zernio = class {
|
|
|
3515
3610
|
getInboxPostComments,
|
|
3516
3611
|
replyToInboxPost,
|
|
3517
3612
|
deleteInboxComment,
|
|
3613
|
+
editInboxComment,
|
|
3614
|
+
setCommentModeration,
|
|
3518
3615
|
hideInboxComment,
|
|
3519
3616
|
unhideInboxComment,
|
|
3520
3617
|
likeInboxComment,
|
|
@@ -3536,7 +3633,8 @@ var Zernio = class {
|
|
|
3536
3633
|
* mentions API
|
|
3537
3634
|
*/
|
|
3538
3635
|
this.mentions = {
|
|
3539
|
-
listInboxMentions
|
|
3636
|
+
listInboxMentions,
|
|
3637
|
+
replyToMention
|
|
3540
3638
|
};
|
|
3541
3639
|
/**
|
|
3542
3640
|
* reviews API
|
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.327",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1090,6 +1090,12 @@ var listInstagramStories = (options) => {
|
|
|
1090
1090
|
url: "/v1/accounts/{accountId}/instagram/stories"
|
|
1091
1091
|
});
|
|
1092
1092
|
};
|
|
1093
|
+
var getInstagramPublishingLimit = (options) => {
|
|
1094
|
+
return (options?.client ?? client).get({
|
|
1095
|
+
...options,
|
|
1096
|
+
url: "/v1/accounts/{accountId}/instagram/publishing-limit"
|
|
1097
|
+
});
|
|
1098
|
+
};
|
|
1093
1099
|
var getInstagramStoryInsights = (options) => {
|
|
1094
1100
|
return (options?.client ?? client).get({
|
|
1095
1101
|
...options,
|
|
@@ -1132,6 +1138,12 @@ var updateGmbLocation = (options) => {
|
|
|
1132
1138
|
url: "/v1/accounts/{accountId}/gmb-locations"
|
|
1133
1139
|
});
|
|
1134
1140
|
};
|
|
1141
|
+
var getFacebookPostReactions = (options) => {
|
|
1142
|
+
return (options?.client ?? client).get({
|
|
1143
|
+
...options,
|
|
1144
|
+
url: "/v1/accounts/{accountId}/facebook-post-reactions"
|
|
1145
|
+
});
|
|
1146
|
+
};
|
|
1135
1147
|
var getRedditSubreddits = (options) => {
|
|
1136
1148
|
return (options?.client ?? client).get({
|
|
1137
1149
|
...options,
|
|
@@ -1144,12 +1156,30 @@ var updateRedditSubreddits = (options) => {
|
|
|
1144
1156
|
url: "/v1/accounts/{accountId}/reddit-subreddits"
|
|
1145
1157
|
});
|
|
1146
1158
|
};
|
|
1159
|
+
var getSubredditRules = (options) => {
|
|
1160
|
+
return (options?.client ?? client).get({
|
|
1161
|
+
...options,
|
|
1162
|
+
url: "/v1/accounts/{accountId}/reddit-subreddits/{subreddit}/rules"
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
var voteRedditThing = (options) => {
|
|
1166
|
+
return (options?.client ?? client).post({
|
|
1167
|
+
...options,
|
|
1168
|
+
url: "/v1/accounts/{accountId}/reddit-vote"
|
|
1169
|
+
});
|
|
1170
|
+
};
|
|
1147
1171
|
var getRedditFlairs = (options) => {
|
|
1148
1172
|
return (options?.client ?? client).get({
|
|
1149
1173
|
...options,
|
|
1150
1174
|
url: "/v1/accounts/{accountId}/reddit-flairs"
|
|
1151
1175
|
});
|
|
1152
1176
|
};
|
|
1177
|
+
var setRedditPostFlair = (options) => {
|
|
1178
|
+
return (options?.client ?? client).post({
|
|
1179
|
+
...options,
|
|
1180
|
+
url: "/v1/accounts/{accountId}/reddit-flairs"
|
|
1181
|
+
});
|
|
1182
|
+
};
|
|
1153
1183
|
var getDiscordSettings = (options) => {
|
|
1154
1184
|
return (options?.client ?? client).get({
|
|
1155
1185
|
...options,
|
|
@@ -1180,6 +1210,24 @@ var listDiscordGuildRoles = (options) => {
|
|
|
1180
1210
|
url: "/v1/discord/guilds/{guildId}/roles"
|
|
1181
1211
|
});
|
|
1182
1212
|
};
|
|
1213
|
+
var createDiscordGuildRole = (options) => {
|
|
1214
|
+
return (options?.client ?? client).post({
|
|
1215
|
+
...options,
|
|
1216
|
+
url: "/v1/discord/guilds/{guildId}/roles"
|
|
1217
|
+
});
|
|
1218
|
+
};
|
|
1219
|
+
var editDiscordGuildRole = (options) => {
|
|
1220
|
+
return (options?.client ?? client).patch({
|
|
1221
|
+
...options,
|
|
1222
|
+
url: "/v1/discord/guilds/{guildId}/roles/{roleId}"
|
|
1223
|
+
});
|
|
1224
|
+
};
|
|
1225
|
+
var deleteDiscordGuildRole = (options) => {
|
|
1226
|
+
return (options?.client ?? client).delete({
|
|
1227
|
+
...options,
|
|
1228
|
+
url: "/v1/discord/guilds/{guildId}/roles/{roleId}"
|
|
1229
|
+
});
|
|
1230
|
+
};
|
|
1183
1231
|
var listDiscordGuildMembers = (options) => {
|
|
1184
1232
|
return (options?.client ?? client).get({
|
|
1185
1233
|
...options,
|
|
@@ -1198,6 +1246,24 @@ var removeDiscordMemberRole = (options) => {
|
|
|
1198
1246
|
url: "/v1/discord/guilds/{guildId}/members/{userId}/roles/{roleId}"
|
|
1199
1247
|
});
|
|
1200
1248
|
};
|
|
1249
|
+
var deleteDiscordMessage = (options) => {
|
|
1250
|
+
return (options?.client ?? client).delete({
|
|
1251
|
+
...options,
|
|
1252
|
+
url: "/v1/discord/channels/{channelId}/messages/{messageId}"
|
|
1253
|
+
});
|
|
1254
|
+
};
|
|
1255
|
+
var crosspostDiscordMessage = (options) => {
|
|
1256
|
+
return (options?.client ?? client).post({
|
|
1257
|
+
...options,
|
|
1258
|
+
url: "/v1/discord/channels/{channelId}/messages/{messageId}/crosspost"
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
var createDiscordThread = (options) => {
|
|
1262
|
+
return (options?.client ?? client).post({
|
|
1263
|
+
...options,
|
|
1264
|
+
url: "/v1/discord/channels/{channelId}/threads"
|
|
1265
|
+
});
|
|
1266
|
+
};
|
|
1201
1267
|
var listDiscordPinnedMessages = (options) => {
|
|
1202
1268
|
return (options?.client ?? client).get({
|
|
1203
1269
|
...options,
|
|
@@ -1491,6 +1557,18 @@ var deleteInboxComment = (options) => {
|
|
|
1491
1557
|
url: "/v1/inbox/comments/{postId}"
|
|
1492
1558
|
});
|
|
1493
1559
|
};
|
|
1560
|
+
var editInboxComment = (options) => {
|
|
1561
|
+
return (options?.client ?? client).patch({
|
|
1562
|
+
...options,
|
|
1563
|
+
url: "/v1/inbox/comments/{postId}/{commentId}"
|
|
1564
|
+
});
|
|
1565
|
+
};
|
|
1566
|
+
var setCommentModeration = (options) => {
|
|
1567
|
+
return (options?.client ?? client).post({
|
|
1568
|
+
...options,
|
|
1569
|
+
url: "/v1/inbox/comments/{postId}/{commentId}/moderation"
|
|
1570
|
+
});
|
|
1571
|
+
};
|
|
1494
1572
|
var hideInboxComment = (options) => {
|
|
1495
1573
|
return (options?.client ?? client).post({
|
|
1496
1574
|
...options,
|
|
@@ -1563,6 +1641,12 @@ var listInboxMentions = (options) => {
|
|
|
1563
1641
|
url: "/v1/inbox/mentions"
|
|
1564
1642
|
});
|
|
1565
1643
|
};
|
|
1644
|
+
var replyToMention = (options) => {
|
|
1645
|
+
return (options?.client ?? client).post({
|
|
1646
|
+
...options,
|
|
1647
|
+
url: "/v1/inbox/mentions/reply"
|
|
1648
|
+
});
|
|
1649
|
+
};
|
|
1566
1650
|
var listInboxReviews = (options) => {
|
|
1567
1651
|
return (options?.client ?? client).get({
|
|
1568
1652
|
...options,
|
|
@@ -3168,7 +3252,8 @@ var Zernio = class {
|
|
|
3168
3252
|
syncExternalPosts,
|
|
3169
3253
|
getLinkedInAggregateAnalytics,
|
|
3170
3254
|
getLinkedInPostAnalytics,
|
|
3171
|
-
getLinkedInPostReactions
|
|
3255
|
+
getLinkedInPostReactions,
|
|
3256
|
+
getFacebookPostReactions
|
|
3172
3257
|
};
|
|
3173
3258
|
/**
|
|
3174
3259
|
* inboxanalytics API
|
|
@@ -3302,7 +3387,10 @@ var Zernio = class {
|
|
|
3302
3387
|
updateGmbLocation,
|
|
3303
3388
|
getRedditSubreddits,
|
|
3304
3389
|
updateRedditSubreddits,
|
|
3390
|
+
getSubredditRules,
|
|
3391
|
+
voteRedditThing,
|
|
3305
3392
|
getRedditFlairs,
|
|
3393
|
+
setRedditPostFlair,
|
|
3306
3394
|
facebook: {
|
|
3307
3395
|
listFacebookPages,
|
|
3308
3396
|
selectFacebookPage
|
|
@@ -3392,6 +3480,7 @@ var Zernio = class {
|
|
|
3392
3480
|
*/
|
|
3393
3481
|
this.instagram = {
|
|
3394
3482
|
listInstagramStories,
|
|
3483
|
+
getInstagramPublishingLimit,
|
|
3395
3484
|
getInstagramStoryInsights
|
|
3396
3485
|
};
|
|
3397
3486
|
/**
|
|
@@ -3403,9 +3492,15 @@ var Zernio = class {
|
|
|
3403
3492
|
getDiscordChannels,
|
|
3404
3493
|
sendDiscordDirectMessage,
|
|
3405
3494
|
listDiscordGuildRoles,
|
|
3495
|
+
createDiscordGuildRole,
|
|
3496
|
+
editDiscordGuildRole,
|
|
3497
|
+
deleteDiscordGuildRole,
|
|
3406
3498
|
listDiscordGuildMembers,
|
|
3407
3499
|
addDiscordMemberRole,
|
|
3408
3500
|
removeDiscordMemberRole,
|
|
3501
|
+
deleteDiscordMessage,
|
|
3502
|
+
crosspostDiscordMessage,
|
|
3503
|
+
createDiscordThread,
|
|
3409
3504
|
listDiscordPinnedMessages,
|
|
3410
3505
|
pinDiscordMessage,
|
|
3411
3506
|
unpinDiscordMessage,
|
|
@@ -3484,6 +3579,8 @@ var Zernio = class {
|
|
|
3484
3579
|
getInboxPostComments,
|
|
3485
3580
|
replyToInboxPost,
|
|
3486
3581
|
deleteInboxComment,
|
|
3582
|
+
editInboxComment,
|
|
3583
|
+
setCommentModeration,
|
|
3487
3584
|
hideInboxComment,
|
|
3488
3585
|
unhideInboxComment,
|
|
3489
3586
|
likeInboxComment,
|
|
@@ -3505,7 +3602,8 @@ var Zernio = class {
|
|
|
3505
3602
|
* mentions API
|
|
3506
3603
|
*/
|
|
3507
3604
|
this.mentions = {
|
|
3508
|
-
listInboxMentions
|
|
3605
|
+
listInboxMentions,
|
|
3606
|
+
replyToMention
|
|
3509
3607
|
};
|
|
3510
3608
|
/**
|
|
3511
3609
|
* reviews API
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -43,7 +43,9 @@ import {
|
|
|
43
43
|
createConversionDestination,
|
|
44
44
|
createCtwaAd,
|
|
45
45
|
createCustomField,
|
|
46
|
+
createDiscordGuildRole,
|
|
46
47
|
createDiscordScheduledEvent,
|
|
48
|
+
createDiscordThread,
|
|
47
49
|
createGoogleBusinessMedia,
|
|
48
50
|
createGoogleBusinessPlaceAction,
|
|
49
51
|
createInboxConversation,
|
|
@@ -69,6 +71,7 @@ import {
|
|
|
69
71
|
createWhatsAppSandboxSession,
|
|
70
72
|
createWhatsAppTemplate,
|
|
71
73
|
createWorkflow,
|
|
74
|
+
crosspostDiscordMessage,
|
|
72
75
|
deleteAccount,
|
|
73
76
|
deleteAccountGroup,
|
|
74
77
|
deleteAd,
|
|
@@ -80,6 +83,8 @@ import {
|
|
|
80
83
|
deleteContact,
|
|
81
84
|
deleteConversionDestination,
|
|
82
85
|
deleteCustomField,
|
|
86
|
+
deleteDiscordGuildRole,
|
|
87
|
+
deleteDiscordMessage,
|
|
83
88
|
deleteDiscordScheduledEvent,
|
|
84
89
|
deleteGoogleBusinessMedia,
|
|
85
90
|
deleteGoogleBusinessPlaceAction,
|
|
@@ -109,6 +114,8 @@ import {
|
|
|
109
114
|
disableWhatsAppCallingLegacy,
|
|
110
115
|
duplicateAdCampaign,
|
|
111
116
|
duplicateWorkflow,
|
|
117
|
+
editDiscordGuildRole,
|
|
118
|
+
editInboxComment,
|
|
112
119
|
editInboxMessage,
|
|
113
120
|
editPost,
|
|
114
121
|
enableSmsOnNumber,
|
|
@@ -150,6 +157,7 @@ import {
|
|
|
150
157
|
getDiscordSettings,
|
|
151
158
|
getFacebookPageInsights,
|
|
152
159
|
getFacebookPages,
|
|
160
|
+
getFacebookPostReactions,
|
|
153
161
|
getFollowerStats,
|
|
154
162
|
getGmbAttributeMetadata,
|
|
155
163
|
getGmbLocations,
|
|
@@ -174,6 +182,7 @@ import {
|
|
|
174
182
|
getInstagramDemographics,
|
|
175
183
|
getInstagramFollowerHistory,
|
|
176
184
|
getInstagramIceBreakers,
|
|
185
|
+
getInstagramPublishingLimit,
|
|
177
186
|
getInstagramStoryInsights,
|
|
178
187
|
getLeadForm,
|
|
179
188
|
getLinkedInAggregateAnalytics,
|
|
@@ -200,6 +209,7 @@ import {
|
|
|
200
209
|
getSequence,
|
|
201
210
|
getSmsRegistration,
|
|
202
211
|
getSmsUsage,
|
|
212
|
+
getSubredditRules,
|
|
203
213
|
getTelegramCommands,
|
|
204
214
|
getTelegramConnectStatus,
|
|
205
215
|
getTikTokAccountInsights,
|
|
@@ -344,6 +354,7 @@ import {
|
|
|
344
354
|
replyToGoogleBusinessReview,
|
|
345
355
|
replyToInboxPost,
|
|
346
356
|
replyToInboxReview,
|
|
357
|
+
replyToMention,
|
|
347
358
|
restoreWorkflowVersion,
|
|
348
359
|
retryPost,
|
|
349
360
|
retweetPost,
|
|
@@ -370,9 +381,11 @@ import {
|
|
|
370
381
|
sendTypingIndicator,
|
|
371
382
|
sendWhatsAppConversion,
|
|
372
383
|
sendWhatsAppFlowMessage,
|
|
384
|
+
setCommentModeration,
|
|
373
385
|
setContactFieldValue,
|
|
374
386
|
setInstagramIceBreakers,
|
|
375
387
|
setMessengerMenu,
|
|
388
|
+
setRedditPostFlair,
|
|
376
389
|
setTelegramCommands,
|
|
377
390
|
setWhatsappBusinessUsername,
|
|
378
391
|
shareSmsRegistration,
|
|
@@ -448,6 +461,7 @@ import {
|
|
|
448
461
|
validateSubreddit,
|
|
449
462
|
validateWhatsAppNumberKycAddress,
|
|
450
463
|
verifySmsRegistrationOtp,
|
|
464
|
+
voteRedditThing,
|
|
451
465
|
} from './generated/sdk.gen';
|
|
452
466
|
|
|
453
467
|
import { ZernioApiError, parseApiError } from './errors';
|
|
@@ -548,6 +562,7 @@ export class Zernio {
|
|
|
548
562
|
getLinkedInAggregateAnalytics: getLinkedInAggregateAnalytics,
|
|
549
563
|
getLinkedInPostAnalytics: getLinkedInPostAnalytics,
|
|
550
564
|
getLinkedInPostReactions: getLinkedInPostReactions,
|
|
565
|
+
getFacebookPostReactions: getFacebookPostReactions,
|
|
551
566
|
};
|
|
552
567
|
|
|
553
568
|
/**
|
|
@@ -693,7 +708,10 @@ export class Zernio {
|
|
|
693
708
|
updateGmbLocation: updateGmbLocation,
|
|
694
709
|
getRedditSubreddits: getRedditSubreddits,
|
|
695
710
|
updateRedditSubreddits: updateRedditSubreddits,
|
|
711
|
+
getSubredditRules: getSubredditRules,
|
|
712
|
+
voteRedditThing: voteRedditThing,
|
|
696
713
|
getRedditFlairs: getRedditFlairs,
|
|
714
|
+
setRedditPostFlair: setRedditPostFlair,
|
|
697
715
|
facebook: {
|
|
698
716
|
listFacebookPages: listFacebookPages,
|
|
699
717
|
selectFacebookPage: selectFacebookPage,
|
|
@@ -791,6 +809,7 @@ export class Zernio {
|
|
|
791
809
|
*/
|
|
792
810
|
instagram = {
|
|
793
811
|
listInstagramStories: listInstagramStories,
|
|
812
|
+
getInstagramPublishingLimit: getInstagramPublishingLimit,
|
|
794
813
|
getInstagramStoryInsights: getInstagramStoryInsights,
|
|
795
814
|
};
|
|
796
815
|
|
|
@@ -803,9 +822,15 @@ export class Zernio {
|
|
|
803
822
|
getDiscordChannels: getDiscordChannels,
|
|
804
823
|
sendDiscordDirectMessage: sendDiscordDirectMessage,
|
|
805
824
|
listDiscordGuildRoles: listDiscordGuildRoles,
|
|
825
|
+
createDiscordGuildRole: createDiscordGuildRole,
|
|
826
|
+
editDiscordGuildRole: editDiscordGuildRole,
|
|
827
|
+
deleteDiscordGuildRole: deleteDiscordGuildRole,
|
|
806
828
|
listDiscordGuildMembers: listDiscordGuildMembers,
|
|
807
829
|
addDiscordMemberRole: addDiscordMemberRole,
|
|
808
830
|
removeDiscordMemberRole: removeDiscordMemberRole,
|
|
831
|
+
deleteDiscordMessage: deleteDiscordMessage,
|
|
832
|
+
crosspostDiscordMessage: crosspostDiscordMessage,
|
|
833
|
+
createDiscordThread: createDiscordThread,
|
|
809
834
|
listDiscordPinnedMessages: listDiscordPinnedMessages,
|
|
810
835
|
pinDiscordMessage: pinDiscordMessage,
|
|
811
836
|
unpinDiscordMessage: unpinDiscordMessage,
|
|
@@ -890,6 +915,8 @@ export class Zernio {
|
|
|
890
915
|
getInboxPostComments: getInboxPostComments,
|
|
891
916
|
replyToInboxPost: replyToInboxPost,
|
|
892
917
|
deleteInboxComment: deleteInboxComment,
|
|
918
|
+
editInboxComment: editInboxComment,
|
|
919
|
+
setCommentModeration: setCommentModeration,
|
|
893
920
|
hideInboxComment: hideInboxComment,
|
|
894
921
|
unhideInboxComment: unhideInboxComment,
|
|
895
922
|
likeInboxComment: likeInboxComment,
|
|
@@ -914,6 +941,7 @@ export class Zernio {
|
|
|
914
941
|
*/
|
|
915
942
|
mentions = {
|
|
916
943
|
listInboxMentions: listInboxMentions,
|
|
944
|
+
replyToMention: replyToMention,
|
|
917
945
|
};
|
|
918
946
|
|
|
919
947
|
/**
|