@mentio-dev/sdk 0.16.0 → 0.17.0
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.ts +836 -22
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -800,6 +800,7 @@ __export(sdk_gen_exports, {
|
|
|
800
800
|
createGroup: () => createGroup,
|
|
801
801
|
createInvitation: () => createInvitation,
|
|
802
802
|
createKeyword: () => createKeyword,
|
|
803
|
+
createSearch: () => createSearch,
|
|
803
804
|
createSegment: () => createSegment,
|
|
804
805
|
createTopUp: () => createTopUp,
|
|
805
806
|
createView: () => createView,
|
|
@@ -834,6 +835,7 @@ __export(sdk_gen_exports, {
|
|
|
834
835
|
getMention: () => getMention,
|
|
835
836
|
getPerson: () => getPerson,
|
|
836
837
|
getReviewsReport: () => getReviewsReport,
|
|
838
|
+
getSearch: () => getSearch,
|
|
837
839
|
getSegment: () => getSegment,
|
|
838
840
|
getShareOfVoice: () => getShareOfVoice,
|
|
839
841
|
getUsage: () => getUsage,
|
|
@@ -858,6 +860,8 @@ __export(sdk_gen_exports, {
|
|
|
858
860
|
listMentionComments: () => listMentionComments,
|
|
859
861
|
listPeople: () => listPeople,
|
|
860
862
|
listPersonActivities: () => listPersonActivities,
|
|
863
|
+
listSearchResults: () => listSearchResults,
|
|
864
|
+
listSearches: () => listSearches,
|
|
861
865
|
listSegmentPresets: () => listSegmentPresets,
|
|
862
866
|
listSegments: () => listSegments,
|
|
863
867
|
listViews: () => listViews,
|
|
@@ -1169,6 +1173,30 @@ var updateView = (options) => (options.client ?? client).patch({
|
|
|
1169
1173
|
...options.headers
|
|
1170
1174
|
}
|
|
1171
1175
|
});
|
|
1176
|
+
var listSearches = (options) => (options?.client ?? client).get({
|
|
1177
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1178
|
+
url: "/v1/searches",
|
|
1179
|
+
...options
|
|
1180
|
+
});
|
|
1181
|
+
var createSearch = (options) => (options.client ?? client).post({
|
|
1182
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1183
|
+
url: "/v1/searches",
|
|
1184
|
+
...options,
|
|
1185
|
+
headers: {
|
|
1186
|
+
"Content-Type": "application/json",
|
|
1187
|
+
...options.headers
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
var getSearch = (options) => (options.client ?? client).get({
|
|
1191
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1192
|
+
url: "/v1/searches/{id}",
|
|
1193
|
+
...options
|
|
1194
|
+
});
|
|
1195
|
+
var listSearchResults = (options) => (options.client ?? client).get({
|
|
1196
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1197
|
+
url: "/v1/searches/{id}/results",
|
|
1198
|
+
...options
|
|
1199
|
+
});
|
|
1172
1200
|
var listAutomations = (options) => (options?.client ?? client).get({
|
|
1173
1201
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1174
1202
|
url: "/v1/automations",
|
|
@@ -1523,6 +1551,7 @@ export {
|
|
|
1523
1551
|
createInvitation,
|
|
1524
1552
|
createKeyword,
|
|
1525
1553
|
createMentio,
|
|
1554
|
+
createSearch,
|
|
1526
1555
|
createSegment,
|
|
1527
1556
|
createTopUp,
|
|
1528
1557
|
createView,
|
|
@@ -1557,6 +1586,7 @@ export {
|
|
|
1557
1586
|
getMention,
|
|
1558
1587
|
getPerson,
|
|
1559
1588
|
getReviewsReport,
|
|
1589
|
+
getSearch,
|
|
1560
1590
|
getSegment,
|
|
1561
1591
|
getShareOfVoice,
|
|
1562
1592
|
getUsage,
|
|
@@ -1581,6 +1611,8 @@ export {
|
|
|
1581
1611
|
listMentionComments,
|
|
1582
1612
|
listPeople,
|
|
1583
1613
|
listPersonActivities,
|
|
1614
|
+
listSearchResults,
|
|
1615
|
+
listSearches,
|
|
1584
1616
|
listSegmentPresets,
|
|
1585
1617
|
listSegments,
|
|
1586
1618
|
listViews,
|