@gpt-core/client 0.8.0 → 0.8.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
@@ -97,6 +97,7 @@ __export(index_exports, {
97
97
  getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
98
98
  getApplicationsById: () => getApplicationsById,
99
99
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
100
+ getApplicationsCurrent: () => getApplicationsCurrent,
100
101
  getAuditLogs: () => getAuditLogs,
101
102
  getBuckets: () => getBuckets,
102
103
  getBucketsById: () => getBucketsById,
@@ -251,13 +252,16 @@ __export(index_exports, {
251
252
  postAgents: () => postAgents,
252
253
  postAgentsByIdClone: () => postAgentsByIdClone,
253
254
  postAgentsByIdDiscoverSchema: () => postAgentsByIdDiscoverSchema,
255
+ postAgentsByIdExport: () => postAgentsByIdExport,
254
256
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
255
257
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
256
258
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
259
+ postAgentsByIdStats: () => postAgentsByIdStats,
257
260
  postAgentsByIdTeach: () => postAgentsByIdTeach,
258
261
  postAgentsByIdTest: () => postAgentsByIdTest,
259
262
  postAgentsByIdValidate: () => postAgentsByIdValidate,
260
263
  postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
264
+ postAgentsImport: () => postAgentsImport,
261
265
  postAgentsPredict: () => postAgentsPredict,
262
266
  postAiChunksSearch: () => postAiChunksSearch,
263
267
  postAiConversations: () => postAiConversations,
@@ -317,8 +321,13 @@ __export(index_exports, {
317
321
  postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
318
322
  postUsersRegisterIsv: () => postUsersRegisterIsv,
319
323
  postWebhookConfigs: () => postWebhookConfigs,
324
+ postWebhookConfigsBulkDisable: () => postWebhookConfigsBulkDisable,
325
+ postWebhookConfigsBulkEnable: () => postWebhookConfigsBulkEnable,
320
326
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
327
+ postWebhookConfigsStats: () => postWebhookConfigsStats,
328
+ postWebhookDeliveriesBulkRetry: () => postWebhookDeliveriesBulkRetry,
321
329
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
330
+ postWebhookDeliveriesStats: () => postWebhookDeliveriesStats,
322
331
  postWorkspaceMemberships: () => postWorkspaceMemberships,
323
332
  postWorkspaces: () => postWorkspaces,
324
333
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
@@ -379,6 +388,7 @@ __export(sdk_gen_exports, {
379
388
  getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
380
389
  getApplicationsById: () => getApplicationsById,
381
390
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
391
+ getApplicationsCurrent: () => getApplicationsCurrent,
382
392
  getAuditLogs: () => getAuditLogs,
383
393
  getBuckets: () => getBuckets,
384
394
  getBucketsById: () => getBucketsById,
@@ -529,13 +539,16 @@ __export(sdk_gen_exports, {
529
539
  postAgents: () => postAgents,
530
540
  postAgentsByIdClone: () => postAgentsByIdClone,
531
541
  postAgentsByIdDiscoverSchema: () => postAgentsByIdDiscoverSchema,
542
+ postAgentsByIdExport: () => postAgentsByIdExport,
532
543
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
533
544
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
534
545
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
546
+ postAgentsByIdStats: () => postAgentsByIdStats,
535
547
  postAgentsByIdTeach: () => postAgentsByIdTeach,
536
548
  postAgentsByIdTest: () => postAgentsByIdTest,
537
549
  postAgentsByIdValidate: () => postAgentsByIdValidate,
538
550
  postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
551
+ postAgentsImport: () => postAgentsImport,
539
552
  postAgentsPredict: () => postAgentsPredict,
540
553
  postAiChunksSearch: () => postAiChunksSearch,
541
554
  postAiConversations: () => postAiConversations,
@@ -595,8 +608,13 @@ __export(sdk_gen_exports, {
595
608
  postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
596
609
  postUsersRegisterIsv: () => postUsersRegisterIsv,
597
610
  postWebhookConfigs: () => postWebhookConfigs,
611
+ postWebhookConfigsBulkDisable: () => postWebhookConfigsBulkDisable,
612
+ postWebhookConfigsBulkEnable: () => postWebhookConfigsBulkEnable,
598
613
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
614
+ postWebhookConfigsStats: () => postWebhookConfigsStats,
615
+ postWebhookDeliveriesBulkRetry: () => postWebhookDeliveriesBulkRetry,
599
616
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
617
+ postWebhookDeliveriesStats: () => postWebhookDeliveriesStats,
600
618
  postWorkspaceMemberships: () => postWorkspaceMemberships,
601
619
  postWorkspaces: () => postWorkspaces,
602
620
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
@@ -1511,6 +1529,22 @@ var patchWalletCredits = (options) => (options.client ?? client).patch({
1511
1529
  ...options.headers
1512
1530
  }
1513
1531
  });
1532
+ var postWebhookConfigsStats = (options) => (options.client ?? client).post({
1533
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1534
+ security: [{ scheme: "bearer", type: "http" }],
1535
+ url: "/webhook_configs/stats",
1536
+ ...options,
1537
+ headers: {
1538
+ "Content-Type": "application/vnd.api+json",
1539
+ ...options.headers
1540
+ }
1541
+ });
1542
+ var getApplicationsCurrent = (options) => (options.client ?? client).get({
1543
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1544
+ security: [{ scheme: "bearer", type: "http" }],
1545
+ url: "/applications/current",
1546
+ ...options
1547
+ });
1514
1548
  var getWorkspaces = (options) => (options.client ?? client).get({
1515
1549
  querySerializer: {
1516
1550
  parameters: {
@@ -1532,6 +1566,16 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1532
1566
  ...options.headers
1533
1567
  }
1534
1568
  });
1569
+ var postAgentsByIdStats = (options) => (options.client ?? client).post({
1570
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1571
+ security: [{ scheme: "bearer", type: "http" }],
1572
+ url: "/agents/{id}/stats",
1573
+ ...options,
1574
+ headers: {
1575
+ "Content-Type": "application/vnd.api+json",
1576
+ ...options.headers
1577
+ }
1578
+ });
1535
1579
  var getDocumentsStats = (options) => (options.client ?? client).get({
1536
1580
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1537
1581
  security: [{ scheme: "bearer", type: "http" }],
@@ -1585,6 +1629,16 @@ var getSearchIndexes = (options) => (options.client ?? client).get({
1585
1629
  url: "/search/indexes",
1586
1630
  ...options
1587
1631
  });
1632
+ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post({
1633
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1634
+ security: [{ scheme: "bearer", type: "http" }],
1635
+ url: "/webhook_configs/bulk-disable",
1636
+ ...options,
1637
+ headers: {
1638
+ "Content-Type": "application/vnd.api+json",
1639
+ ...options.headers
1640
+ }
1641
+ });
1588
1642
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1589
1643
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1590
1644
  security: [{ scheme: "bearer", type: "http" }],
@@ -1637,6 +1691,16 @@ var postPayments = (options) => (options.client ?? client).post({
1637
1691
  ...options.headers
1638
1692
  }
1639
1693
  });
1694
+ var postAgentsImport = (options) => (options.client ?? client).post({
1695
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1696
+ security: [{ scheme: "bearer", type: "http" }],
1697
+ url: "/agents/import",
1698
+ ...options,
1699
+ headers: {
1700
+ "Content-Type": "application/vnd.api+json",
1701
+ ...options.headers
1702
+ }
1703
+ });
1640
1704
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1641
1705
  querySerializer: {
1642
1706
  parameters: {
@@ -1762,6 +1826,16 @@ var postTokens = (options) => (options.client ?? client).post({
1762
1826
  ...options.headers
1763
1827
  }
1764
1828
  });
1829
+ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post({
1830
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1831
+ security: [{ scheme: "bearer", type: "http" }],
1832
+ url: "/webhook_configs/bulk-enable",
1833
+ ...options,
1834
+ headers: {
1835
+ "Content-Type": "application/vnd.api+json",
1836
+ ...options.headers
1837
+ }
1838
+ });
1765
1839
  var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
1766
1840
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1767
1841
  security: [{ scheme: "bearer", type: "http" }],
@@ -1794,6 +1868,16 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1794
1868
  ...options.headers
1795
1869
  }
1796
1870
  });
1871
+ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
1872
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1873
+ security: [{ scheme: "bearer", type: "http" }],
1874
+ url: "/webhook_deliveries/bulk-retry",
1875
+ ...options,
1876
+ headers: {
1877
+ "Content-Type": "application/vnd.api+json",
1878
+ ...options.headers
1879
+ }
1880
+ });
1797
1881
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1798
1882
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1799
1883
  security: [{ scheme: "bearer", type: "http" }],
@@ -2080,6 +2164,16 @@ var getExtractionResultsById = (options) => (options.client ?? client).get({
2080
2164
  url: "/extraction/results/{id}",
2081
2165
  ...options
2082
2166
  });
2167
+ var postWebhookDeliveriesStats = (options) => (options.client ?? client).post({
2168
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2169
+ security: [{ scheme: "bearer", type: "http" }],
2170
+ url: "/webhook_deliveries/stats",
2171
+ ...options,
2172
+ headers: {
2173
+ "Content-Type": "application/vnd.api+json",
2174
+ ...options.headers
2175
+ }
2176
+ });
2083
2177
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2084
2178
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2085
2179
  security: [{ scheme: "bearer", type: "http" }],
@@ -3732,6 +3826,16 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
3732
3826
  ...options.headers
3733
3827
  }
3734
3828
  });
3829
+ var postAgentsByIdExport = (options) => (options.client ?? client).post({
3830
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3831
+ security: [{ scheme: "bearer", type: "http" }],
3832
+ url: "/agents/{id}/export",
3833
+ ...options,
3834
+ headers: {
3835
+ "Content-Type": "application/vnd.api+json",
3836
+ ...options.headers
3837
+ }
3838
+ });
3735
3839
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3736
3840
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3737
3841
  security: [{ scheme: "bearer", type: "http" }],
@@ -4460,6 +4564,7 @@ var index_default = gptCore;
4460
4564
  getApplicationsByApplicationIdEmailTemplatesBySlug,
4461
4565
  getApplicationsById,
4462
4566
  getApplicationsBySlugBySlug,
4567
+ getApplicationsCurrent,
4463
4568
  getAuditLogs,
4464
4569
  getBuckets,
4465
4570
  getBucketsById,
@@ -4614,13 +4719,16 @@ var index_default = gptCore;
4614
4719
  postAgents,
4615
4720
  postAgentsByIdClone,
4616
4721
  postAgentsByIdDiscoverSchema,
4722
+ postAgentsByIdExport,
4617
4723
  postAgentsByIdPublishVersion,
4618
4724
  postAgentsByIdSchemaVersions,
4619
4725
  postAgentsByIdSchemaVersionsByVersionIdActivate,
4726
+ postAgentsByIdStats,
4620
4727
  postAgentsByIdTeach,
4621
4728
  postAgentsByIdTest,
4622
4729
  postAgentsByIdValidate,
4623
4730
  postAgentsCloneForWorkspace,
4731
+ postAgentsImport,
4624
4732
  postAgentsPredict,
4625
4733
  postAiChunksSearch,
4626
4734
  postAiConversations,
@@ -4680,8 +4788,13 @@ var index_default = gptCore;
4680
4788
  postUsersAuthResendConfirmation,
4681
4789
  postUsersRegisterIsv,
4682
4790
  postWebhookConfigs,
4791
+ postWebhookConfigsBulkDisable,
4792
+ postWebhookConfigsBulkEnable,
4683
4793
  postWebhookConfigsByIdTest,
4794
+ postWebhookConfigsStats,
4795
+ postWebhookDeliveriesBulkRetry,
4684
4796
  postWebhookDeliveriesByIdRetry,
4797
+ postWebhookDeliveriesStats,
4685
4798
  postWorkspaceMemberships,
4686
4799
  postWorkspaces,
4687
4800
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
package/dist/index.mjs CHANGED
@@ -51,6 +51,7 @@ __export(sdk_gen_exports, {
51
51
  getApplicationsByApplicationIdEmailTemplatesBySlug: () => getApplicationsByApplicationIdEmailTemplatesBySlug,
52
52
  getApplicationsById: () => getApplicationsById,
53
53
  getApplicationsBySlugBySlug: () => getApplicationsBySlugBySlug,
54
+ getApplicationsCurrent: () => getApplicationsCurrent,
54
55
  getAuditLogs: () => getAuditLogs,
55
56
  getBuckets: () => getBuckets,
56
57
  getBucketsById: () => getBucketsById,
@@ -201,13 +202,16 @@ __export(sdk_gen_exports, {
201
202
  postAgents: () => postAgents,
202
203
  postAgentsByIdClone: () => postAgentsByIdClone,
203
204
  postAgentsByIdDiscoverSchema: () => postAgentsByIdDiscoverSchema,
205
+ postAgentsByIdExport: () => postAgentsByIdExport,
204
206
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
205
207
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
206
208
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
209
+ postAgentsByIdStats: () => postAgentsByIdStats,
207
210
  postAgentsByIdTeach: () => postAgentsByIdTeach,
208
211
  postAgentsByIdTest: () => postAgentsByIdTest,
209
212
  postAgentsByIdValidate: () => postAgentsByIdValidate,
210
213
  postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
214
+ postAgentsImport: () => postAgentsImport,
211
215
  postAgentsPredict: () => postAgentsPredict,
212
216
  postAiChunksSearch: () => postAiChunksSearch,
213
217
  postAiConversations: () => postAiConversations,
@@ -267,8 +271,13 @@ __export(sdk_gen_exports, {
267
271
  postUsersAuthResendConfirmation: () => postUsersAuthResendConfirmation,
268
272
  postUsersRegisterIsv: () => postUsersRegisterIsv,
269
273
  postWebhookConfigs: () => postWebhookConfigs,
274
+ postWebhookConfigsBulkDisable: () => postWebhookConfigsBulkDisable,
275
+ postWebhookConfigsBulkEnable: () => postWebhookConfigsBulkEnable,
270
276
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
277
+ postWebhookConfigsStats: () => postWebhookConfigsStats,
278
+ postWebhookDeliveriesBulkRetry: () => postWebhookDeliveriesBulkRetry,
271
279
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
280
+ postWebhookDeliveriesStats: () => postWebhookDeliveriesStats,
272
281
  postWorkspaceMemberships: () => postWorkspaceMemberships,
273
282
  postWorkspaces: () => postWorkspaces,
274
283
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: () => postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
@@ -1183,6 +1192,22 @@ var patchWalletCredits = (options) => (options.client ?? client).patch({
1183
1192
  ...options.headers
1184
1193
  }
1185
1194
  });
1195
+ var postWebhookConfigsStats = (options) => (options.client ?? client).post({
1196
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1197
+ security: [{ scheme: "bearer", type: "http" }],
1198
+ url: "/webhook_configs/stats",
1199
+ ...options,
1200
+ headers: {
1201
+ "Content-Type": "application/vnd.api+json",
1202
+ ...options.headers
1203
+ }
1204
+ });
1205
+ var getApplicationsCurrent = (options) => (options.client ?? client).get({
1206
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1207
+ security: [{ scheme: "bearer", type: "http" }],
1208
+ url: "/applications/current",
1209
+ ...options
1210
+ });
1186
1211
  var getWorkspaces = (options) => (options.client ?? client).get({
1187
1212
  querySerializer: {
1188
1213
  parameters: {
@@ -1204,6 +1229,16 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1204
1229
  ...options.headers
1205
1230
  }
1206
1231
  });
1232
+ var postAgentsByIdStats = (options) => (options.client ?? client).post({
1233
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1234
+ security: [{ scheme: "bearer", type: "http" }],
1235
+ url: "/agents/{id}/stats",
1236
+ ...options,
1237
+ headers: {
1238
+ "Content-Type": "application/vnd.api+json",
1239
+ ...options.headers
1240
+ }
1241
+ });
1207
1242
  var getDocumentsStats = (options) => (options.client ?? client).get({
1208
1243
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1209
1244
  security: [{ scheme: "bearer", type: "http" }],
@@ -1257,6 +1292,16 @@ var getSearchIndexes = (options) => (options.client ?? client).get({
1257
1292
  url: "/search/indexes",
1258
1293
  ...options
1259
1294
  });
1295
+ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post({
1296
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1297
+ security: [{ scheme: "bearer", type: "http" }],
1298
+ url: "/webhook_configs/bulk-disable",
1299
+ ...options,
1300
+ headers: {
1301
+ "Content-Type": "application/vnd.api+json",
1302
+ ...options.headers
1303
+ }
1304
+ });
1260
1305
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1261
1306
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1262
1307
  security: [{ scheme: "bearer", type: "http" }],
@@ -1309,6 +1354,16 @@ var postPayments = (options) => (options.client ?? client).post({
1309
1354
  ...options.headers
1310
1355
  }
1311
1356
  });
1357
+ var postAgentsImport = (options) => (options.client ?? client).post({
1358
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1359
+ security: [{ scheme: "bearer", type: "http" }],
1360
+ url: "/agents/import",
1361
+ ...options,
1362
+ headers: {
1363
+ "Content-Type": "application/vnd.api+json",
1364
+ ...options.headers
1365
+ }
1366
+ });
1312
1367
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1313
1368
  querySerializer: {
1314
1369
  parameters: {
@@ -1434,6 +1489,16 @@ var postTokens = (options) => (options.client ?? client).post({
1434
1489
  ...options.headers
1435
1490
  }
1436
1491
  });
1492
+ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post({
1493
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1494
+ security: [{ scheme: "bearer", type: "http" }],
1495
+ url: "/webhook_configs/bulk-enable",
1496
+ ...options,
1497
+ headers: {
1498
+ "Content-Type": "application/vnd.api+json",
1499
+ ...options.headers
1500
+ }
1501
+ });
1437
1502
  var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
1438
1503
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1439
1504
  security: [{ scheme: "bearer", type: "http" }],
@@ -1466,6 +1531,16 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
1466
1531
  ...options.headers
1467
1532
  }
1468
1533
  });
1534
+ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
1535
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1536
+ security: [{ scheme: "bearer", type: "http" }],
1537
+ url: "/webhook_deliveries/bulk-retry",
1538
+ ...options,
1539
+ headers: {
1540
+ "Content-Type": "application/vnd.api+json",
1541
+ ...options.headers
1542
+ }
1543
+ });
1469
1544
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
1470
1545
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1471
1546
  security: [{ scheme: "bearer", type: "http" }],
@@ -1752,6 +1827,16 @@ var getExtractionResultsById = (options) => (options.client ?? client).get({
1752
1827
  url: "/extraction/results/{id}",
1753
1828
  ...options
1754
1829
  });
1830
+ var postWebhookDeliveriesStats = (options) => (options.client ?? client).post({
1831
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1832
+ security: [{ scheme: "bearer", type: "http" }],
1833
+ url: "/webhook_deliveries/stats",
1834
+ ...options,
1835
+ headers: {
1836
+ "Content-Type": "application/vnd.api+json",
1837
+ ...options.headers
1838
+ }
1839
+ });
1755
1840
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
1756
1841
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1757
1842
  security: [{ scheme: "bearer", type: "http" }],
@@ -3404,6 +3489,16 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
3404
3489
  ...options.headers
3405
3490
  }
3406
3491
  });
3492
+ var postAgentsByIdExport = (options) => (options.client ?? client).post({
3493
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3494
+ security: [{ scheme: "bearer", type: "http" }],
3495
+ url: "/agents/{id}/export",
3496
+ ...options,
3497
+ headers: {
3498
+ "Content-Type": "application/vnd.api+json",
3499
+ ...options.headers
3500
+ }
3501
+ });
3407
3502
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3408
3503
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3409
3504
  security: [{ scheme: "bearer", type: "http" }],
@@ -4132,6 +4227,7 @@ export {
4132
4227
  getApplicationsByApplicationIdEmailTemplatesBySlug,
4133
4228
  getApplicationsById,
4134
4229
  getApplicationsBySlugBySlug,
4230
+ getApplicationsCurrent,
4135
4231
  getAuditLogs,
4136
4232
  getBuckets,
4137
4233
  getBucketsById,
@@ -4286,13 +4382,16 @@ export {
4286
4382
  postAgents,
4287
4383
  postAgentsByIdClone,
4288
4384
  postAgentsByIdDiscoverSchema,
4385
+ postAgentsByIdExport,
4289
4386
  postAgentsByIdPublishVersion,
4290
4387
  postAgentsByIdSchemaVersions,
4291
4388
  postAgentsByIdSchemaVersionsByVersionIdActivate,
4389
+ postAgentsByIdStats,
4292
4390
  postAgentsByIdTeach,
4293
4391
  postAgentsByIdTest,
4294
4392
  postAgentsByIdValidate,
4295
4393
  postAgentsCloneForWorkspace,
4394
+ postAgentsImport,
4296
4395
  postAgentsPredict,
4297
4396
  postAiChunksSearch,
4298
4397
  postAiConversations,
@@ -4352,8 +4451,13 @@ export {
4352
4451
  postUsersAuthResendConfirmation,
4353
4452
  postUsersRegisterIsv,
4354
4453
  postWebhookConfigs,
4454
+ postWebhookConfigsBulkDisable,
4455
+ postWebhookConfigsBulkEnable,
4355
4456
  postWebhookConfigsByIdTest,
4457
+ postWebhookConfigsStats,
4458
+ postWebhookDeliveriesBulkRetry,
4356
4459
  postWebhookDeliveriesByIdRetry,
4460
+ postWebhookDeliveriesStats,
4357
4461
  postWorkspaceMemberships,
4358
4462
  postWorkspaces,
4359
4463
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",