@mentio-dev/sdk 0.8.0 → 0.9.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 +408 -11
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -795,6 +795,7 @@ __export(sdk_gen_exports, {
|
|
|
795
795
|
createAlert: () => createAlert,
|
|
796
796
|
createApiKey: () => createApiKey,
|
|
797
797
|
createChannel: () => createChannel,
|
|
798
|
+
createGroup: () => createGroup,
|
|
798
799
|
createInvitation: () => createInvitation,
|
|
799
800
|
createKeyword: () => createKeyword,
|
|
800
801
|
createSegment: () => createSegment,
|
|
@@ -802,6 +803,7 @@ __export(sdk_gen_exports, {
|
|
|
802
803
|
createView: () => createView,
|
|
803
804
|
deleteAlert: () => deleteAlert,
|
|
804
805
|
deleteChannel: () => deleteChannel,
|
|
806
|
+
deleteGroup: () => deleteGroup,
|
|
805
807
|
deleteKeyword: () => deleteKeyword,
|
|
806
808
|
deletePersonActivity: () => deletePersonActivity,
|
|
807
809
|
deleteSegment: () => deleteSegment,
|
|
@@ -815,6 +817,7 @@ __export(sdk_gen_exports, {
|
|
|
815
817
|
getChannel: () => getChannel,
|
|
816
818
|
getCompany: () => getCompany,
|
|
817
819
|
getFilters: () => getFilters,
|
|
820
|
+
getGroup: () => getGroup,
|
|
818
821
|
getHealth: () => getHealth,
|
|
819
822
|
getInvoiceUrl: () => getInvoiceUrl,
|
|
820
823
|
getKeyword: () => getKeyword,
|
|
@@ -830,6 +833,7 @@ __export(sdk_gen_exports, {
|
|
|
830
833
|
listApiKeys: () => listApiKeys,
|
|
831
834
|
listChannelDeliveries: () => listChannelDeliveries,
|
|
832
835
|
listChannels: () => listChannels,
|
|
836
|
+
listGroups: () => listGroups,
|
|
833
837
|
listInvitations: () => listInvitations,
|
|
834
838
|
listInvoices: () => listInvoices,
|
|
835
839
|
listKeywords: () => listKeywords,
|
|
@@ -856,6 +860,7 @@ __export(sdk_gen_exports, {
|
|
|
856
860
|
updateChannel: () => updateChannel,
|
|
857
861
|
updateCompany: () => updateCompany,
|
|
858
862
|
updateFilters: () => updateFilters,
|
|
863
|
+
updateGroup: () => updateGroup,
|
|
859
864
|
updateKeyword: () => updateKeyword,
|
|
860
865
|
updateMention: () => updateMention,
|
|
861
866
|
updatePerson: () => updatePerson,
|
|
@@ -1063,6 +1068,39 @@ var updateView = (options) => (options.client ?? client).patch({
|
|
|
1063
1068
|
...options.headers
|
|
1064
1069
|
}
|
|
1065
1070
|
});
|
|
1071
|
+
var listGroups = (options) => (options?.client ?? client).get({
|
|
1072
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1073
|
+
url: "/v1/groups",
|
|
1074
|
+
...options
|
|
1075
|
+
});
|
|
1076
|
+
var createGroup = (options) => (options.client ?? client).post({
|
|
1077
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1078
|
+
url: "/v1/groups",
|
|
1079
|
+
...options,
|
|
1080
|
+
headers: {
|
|
1081
|
+
"Content-Type": "application/json",
|
|
1082
|
+
...options.headers
|
|
1083
|
+
}
|
|
1084
|
+
});
|
|
1085
|
+
var deleteGroup = (options) => (options.client ?? client).delete({
|
|
1086
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1087
|
+
url: "/v1/groups/{id}",
|
|
1088
|
+
...options
|
|
1089
|
+
});
|
|
1090
|
+
var getGroup = (options) => (options.client ?? client).get({
|
|
1091
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1092
|
+
url: "/v1/groups/{id}",
|
|
1093
|
+
...options
|
|
1094
|
+
});
|
|
1095
|
+
var updateGroup = (options) => (options.client ?? client).patch({
|
|
1096
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1097
|
+
url: "/v1/groups/{id}",
|
|
1098
|
+
...options,
|
|
1099
|
+
headers: {
|
|
1100
|
+
"Content-Type": "application/json",
|
|
1101
|
+
...options.headers
|
|
1102
|
+
}
|
|
1103
|
+
});
|
|
1066
1104
|
var getCompany = (options) => (options?.client ?? client).get({
|
|
1067
1105
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1068
1106
|
url: "/v1/company",
|
|
@@ -1325,6 +1363,7 @@ export {
|
|
|
1325
1363
|
createChannel,
|
|
1326
1364
|
createClient,
|
|
1327
1365
|
createConfig,
|
|
1366
|
+
createGroup,
|
|
1328
1367
|
createInvitation,
|
|
1329
1368
|
createKeyword,
|
|
1330
1369
|
createMentio,
|
|
@@ -1333,6 +1372,7 @@ export {
|
|
|
1333
1372
|
createView,
|
|
1334
1373
|
deleteAlert,
|
|
1335
1374
|
deleteChannel,
|
|
1375
|
+
deleteGroup,
|
|
1336
1376
|
deleteKeyword,
|
|
1337
1377
|
deletePersonActivity,
|
|
1338
1378
|
deleteSegment,
|
|
@@ -1346,6 +1386,7 @@ export {
|
|
|
1346
1386
|
getChannel,
|
|
1347
1387
|
getCompany,
|
|
1348
1388
|
getFilters,
|
|
1389
|
+
getGroup,
|
|
1349
1390
|
getHealth,
|
|
1350
1391
|
getInvoiceUrl,
|
|
1351
1392
|
getKeyword,
|
|
@@ -1361,6 +1402,7 @@ export {
|
|
|
1361
1402
|
listApiKeys,
|
|
1362
1403
|
listChannelDeliveries,
|
|
1363
1404
|
listChannels,
|
|
1405
|
+
listGroups,
|
|
1364
1406
|
listInvitations,
|
|
1365
1407
|
listInvoices,
|
|
1366
1408
|
listKeywords,
|
|
@@ -1387,6 +1429,7 @@ export {
|
|
|
1387
1429
|
updateChannel,
|
|
1388
1430
|
updateCompany,
|
|
1389
1431
|
updateFilters,
|
|
1432
|
+
updateGroup,
|
|
1390
1433
|
updateKeyword,
|
|
1391
1434
|
updateMention,
|
|
1392
1435
|
updatePerson,
|