@mentio-dev/sdk 0.17.4 → 0.18.1

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.js CHANGED
@@ -796,6 +796,8 @@ __export(sdk_gen_exports, {
796
796
  createApiKey: () => createApiKey,
797
797
  createAutomation: () => createAutomation,
798
798
  createChannel: () => createChannel,
799
+ createExport: () => createExport,
800
+ createExportSchedule: () => createExportSchedule,
799
801
  createFeed: () => createFeed,
800
802
  createGroup: () => createGroup,
801
803
  createInvitation: () => createInvitation,
@@ -807,6 +809,8 @@ __export(sdk_gen_exports, {
807
809
  deleteAlert: () => deleteAlert,
808
810
  deleteAutomation: () => deleteAutomation,
809
811
  deleteChannel: () => deleteChannel,
812
+ deleteExport: () => deleteExport,
813
+ deleteExportSchedule: () => deleteExportSchedule,
810
814
  deleteFeed: () => deleteFeed,
811
815
  deleteGroup: () => deleteGroup,
812
816
  deleteKeyword: () => deleteKeyword,
@@ -825,6 +829,9 @@ __export(sdk_gen_exports, {
825
829
  getAutomation: () => getAutomation,
826
830
  getChannel: () => getChannel,
827
831
  getCompany: () => getCompany,
832
+ getExport: () => getExport,
833
+ getExportFile: () => getExportFile,
834
+ getExportSchedule: () => getExportSchedule,
828
835
  getFeed: () => getFeed,
829
836
  getFilters: () => getFilters,
830
837
  getGroup: () => getGroup,
@@ -849,6 +856,8 @@ __export(sdk_gen_exports, {
849
856
  listAutomations: () => listAutomations,
850
857
  listChannelDeliveries: () => listChannelDeliveries,
851
858
  listChannels: () => listChannels,
859
+ listExportSchedules: () => listExportSchedules,
860
+ listExports: () => listExports,
852
861
  listFeeds: () => listFeeds,
853
862
  listGroups: () => listGroups,
854
863
  listInvitations: () => listInvitations,
@@ -877,11 +886,13 @@ __export(sdk_gen_exports, {
877
886
  splitPerson: () => splitPerson,
878
887
  testAlert: () => testAlert,
879
888
  testChannel: () => testChannel,
889
+ testExportSchedule: () => testExportSchedule,
880
890
  unmuteAlertAuthors: () => unmuteAlertAuthors,
881
891
  updateAlert: () => updateAlert,
882
892
  updateAutomation: () => updateAutomation,
883
893
  updateChannel: () => updateChannel,
884
894
  updateCompany: () => updateCompany,
895
+ updateExportSchedule: () => updateExportSchedule,
885
896
  updateFeed: () => updateFeed,
886
897
  updateFilters: () => updateFilters,
887
898
  updateGroup: () => updateGroup,
@@ -1197,6 +1208,73 @@ var listSearchResults = (options) => (options.client ?? client).get({
1197
1208
  url: "/v1/searches/{id}/results",
1198
1209
  ...options
1199
1210
  });
1211
+ var listExports = (options) => (options?.client ?? client).get({
1212
+ security: [{ scheme: "bearer", type: "http" }],
1213
+ url: "/v1/exports",
1214
+ ...options
1215
+ });
1216
+ var createExport = (options) => (options.client ?? client).post({
1217
+ security: [{ scheme: "bearer", type: "http" }],
1218
+ url: "/v1/exports",
1219
+ ...options,
1220
+ headers: {
1221
+ "Content-Type": "application/json",
1222
+ ...options.headers
1223
+ }
1224
+ });
1225
+ var deleteExport = (options) => (options.client ?? client).delete({
1226
+ security: [{ scheme: "bearer", type: "http" }],
1227
+ url: "/v1/exports/{id}",
1228
+ ...options
1229
+ });
1230
+ var getExport = (options) => (options.client ?? client).get({
1231
+ security: [{ scheme: "bearer", type: "http" }],
1232
+ url: "/v1/exports/{id}",
1233
+ ...options
1234
+ });
1235
+ var getExportFile = (options) => (options.client ?? client).get({
1236
+ security: [{ scheme: "bearer", type: "http" }],
1237
+ url: "/v1/exports/{id}/file",
1238
+ ...options
1239
+ });
1240
+ var listExportSchedules = (options) => (options?.client ?? client).get({
1241
+ security: [{ scheme: "bearer", type: "http" }],
1242
+ url: "/v1/export-schedules",
1243
+ ...options
1244
+ });
1245
+ var createExportSchedule = (options) => (options.client ?? client).post({
1246
+ security: [{ scheme: "bearer", type: "http" }],
1247
+ url: "/v1/export-schedules",
1248
+ ...options,
1249
+ headers: {
1250
+ "Content-Type": "application/json",
1251
+ ...options.headers
1252
+ }
1253
+ });
1254
+ var deleteExportSchedule = (options) => (options.client ?? client).delete({
1255
+ security: [{ scheme: "bearer", type: "http" }],
1256
+ url: "/v1/export-schedules/{id}",
1257
+ ...options
1258
+ });
1259
+ var getExportSchedule = (options) => (options.client ?? client).get({
1260
+ security: [{ scheme: "bearer", type: "http" }],
1261
+ url: "/v1/export-schedules/{id}",
1262
+ ...options
1263
+ });
1264
+ var updateExportSchedule = (options) => (options.client ?? client).patch({
1265
+ security: [{ scheme: "bearer", type: "http" }],
1266
+ url: "/v1/export-schedules/{id}",
1267
+ ...options,
1268
+ headers: {
1269
+ "Content-Type": "application/json",
1270
+ ...options.headers
1271
+ }
1272
+ });
1273
+ var testExportSchedule = (options) => (options.client ?? client).post({
1274
+ security: [{ scheme: "bearer", type: "http" }],
1275
+ url: "/v1/export-schedules/{id}/test",
1276
+ ...options
1277
+ });
1200
1278
  var listAutomations = (options) => (options?.client ?? client).get({
1201
1279
  security: [{ scheme: "bearer", type: "http" }],
1202
1280
  url: "/v1/automations",
@@ -1546,6 +1624,8 @@ export {
1546
1624
  createChannel,
1547
1625
  createClient,
1548
1626
  createConfig,
1627
+ createExport,
1628
+ createExportSchedule,
1549
1629
  createFeed,
1550
1630
  createGroup,
1551
1631
  createInvitation,
@@ -1558,6 +1638,8 @@ export {
1558
1638
  deleteAlert,
1559
1639
  deleteAutomation,
1560
1640
  deleteChannel,
1641
+ deleteExport,
1642
+ deleteExportSchedule,
1561
1643
  deleteFeed,
1562
1644
  deleteGroup,
1563
1645
  deleteKeyword,
@@ -1576,6 +1658,9 @@ export {
1576
1658
  getAutomation,
1577
1659
  getChannel,
1578
1660
  getCompany,
1661
+ getExport,
1662
+ getExportFile,
1663
+ getExportSchedule,
1579
1664
  getFeed,
1580
1665
  getFilters,
1581
1666
  getGroup,
@@ -1600,6 +1685,8 @@ export {
1600
1685
  listAutomations,
1601
1686
  listChannelDeliveries,
1602
1687
  listChannels,
1688
+ listExportSchedules,
1689
+ listExports,
1603
1690
  listFeeds,
1604
1691
  listGroups,
1605
1692
  listInvitations,
@@ -1628,11 +1715,13 @@ export {
1628
1715
  splitPerson,
1629
1716
  testAlert,
1630
1717
  testChannel,
1718
+ testExportSchedule,
1631
1719
  unmuteAlertAuthors,
1632
1720
  updateAlert,
1633
1721
  updateAutomation,
1634
1722
  updateChannel,
1635
1723
  updateCompany,
1724
+ updateExportSchedule,
1636
1725
  updateFeed,
1637
1726
  updateFilters,
1638
1727
  updateGroup,