@gpt-core/client 0.8.26 → 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.js CHANGED
@@ -70,7 +70,6 @@ __export(index_exports, {
70
70
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
71
71
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
72
72
  deleteObjectsById: () => deleteObjectsById,
73
- deletePaymentMethodsById: () => deletePaymentMethodsById,
74
73
  deleteSearchSavedById: () => deleteSearchSavedById,
75
74
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
76
75
  deleteTenantsById: () => deleteTenantsById,
@@ -82,6 +81,8 @@ __export(index_exports, {
82
81
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
83
82
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
84
83
  deleteWorkspacesById: () => deleteWorkspacesById,
84
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
85
+ getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
85
86
  getAgentVersions: () => getAgentVersions,
86
87
  getAgentVersionsById: () => getAgentVersionsById,
87
88
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
@@ -164,8 +165,6 @@ __export(index_exports, {
164
165
  getNotificationPreferencesById: () => getNotificationPreferencesById,
165
166
  getObjects: () => getObjects,
166
167
  getObjectsById: () => getObjectsById,
167
- getPaymentMethods: () => getPaymentMethods,
168
- getPaymentMethodsById: () => getPaymentMethodsById,
169
168
  getPermissions: () => getPermissions,
170
169
  getPermissionsById: () => getPermissionsById,
171
170
  getPermissionsMeta: () => getPermissionsMeta,
@@ -217,7 +216,6 @@ __export(index_exports, {
217
216
  getUsersMeTenants: () => getUsersMeTenants,
218
217
  getWallet: () => getWallet,
219
218
  getWalletInvoices: () => getWalletInvoices,
220
- getWalletPlanPreview: () => getWalletPlanPreview,
221
219
  getWatcherClaims: () => getWatcherClaims,
222
220
  getWatcherClaimsById: () => getWatcherClaimsById,
223
221
  getWatcherClaimsStatus: () => getWatcherClaimsStatus,
@@ -284,8 +282,6 @@ __export(index_exports, {
284
282
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
285
283
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
286
284
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
287
- patchPaymentMethodsById: () => patchPaymentMethodsById,
288
- patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
289
285
  patchSearchSavedById: () => patchSearchSavedById,
290
286
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
291
287
  patchTenantsById: () => patchTenantsById,
@@ -316,6 +312,7 @@ __export(index_exports, {
316
312
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
317
313
  patchWorkspacesById: () => patchWorkspacesById,
318
314
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
315
+ patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
319
316
  patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
320
317
  postAgentTestResults: () => postAgentTestResults,
321
318
  postAgentVersionComparisons: () => postAgentVersionComparisons,
@@ -356,6 +353,7 @@ __export(index_exports, {
356
353
  postExtractionBatches: () => postExtractionBatches,
357
354
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
358
355
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
356
+ postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
359
357
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
360
358
  postExtractionResults: () => postExtractionResults,
361
359
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
@@ -370,7 +368,6 @@ __export(index_exports, {
370
368
  postObjectsCopy: () => postObjectsCopy,
371
369
  postObjectsMove: () => postObjectsMove,
372
370
  postObjectsRegister: () => postObjectsRegister,
373
- postPaymentMethods: () => postPaymentMethods,
374
371
  postPayments: () => postPayments,
375
372
  postSearchBatch: () => postSearchBatch,
376
373
  postSearchReindex: () => postSearchReindex,
@@ -448,7 +445,6 @@ __export(sdk_gen_exports, {
448
445
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
449
446
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
450
447
  deleteObjectsById: () => deleteObjectsById,
451
- deletePaymentMethodsById: () => deletePaymentMethodsById,
452
448
  deleteSearchSavedById: () => deleteSearchSavedById,
453
449
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
454
450
  deleteTenantsById: () => deleteTenantsById,
@@ -460,6 +456,8 @@ __export(sdk_gen_exports, {
460
456
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
461
457
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
462
458
  deleteWorkspacesById: () => deleteWorkspacesById,
459
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
460
+ getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
463
461
  getAgentVersions: () => getAgentVersions,
464
462
  getAgentVersionsById: () => getAgentVersionsById,
465
463
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
@@ -542,8 +540,6 @@ __export(sdk_gen_exports, {
542
540
  getNotificationPreferencesById: () => getNotificationPreferencesById,
543
541
  getObjects: () => getObjects,
544
542
  getObjectsById: () => getObjectsById,
545
- getPaymentMethods: () => getPaymentMethods,
546
- getPaymentMethodsById: () => getPaymentMethodsById,
547
543
  getPermissions: () => getPermissions,
548
544
  getPermissionsById: () => getPermissionsById,
549
545
  getPermissionsMeta: () => getPermissionsMeta,
@@ -595,7 +591,6 @@ __export(sdk_gen_exports, {
595
591
  getUsersMeTenants: () => getUsersMeTenants,
596
592
  getWallet: () => getWallet,
597
593
  getWalletInvoices: () => getWalletInvoices,
598
- getWalletPlanPreview: () => getWalletPlanPreview,
599
594
  getWatcherClaims: () => getWatcherClaims,
600
595
  getWatcherClaimsById: () => getWatcherClaimsById,
601
596
  getWatcherClaimsStatus: () => getWatcherClaimsStatus,
@@ -658,8 +653,6 @@ __export(sdk_gen_exports, {
658
653
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
659
654
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
660
655
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
661
- patchPaymentMethodsById: () => patchPaymentMethodsById,
662
- patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
663
656
  patchSearchSavedById: () => patchSearchSavedById,
664
657
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
665
658
  patchTenantsById: () => patchTenantsById,
@@ -690,6 +683,7 @@ __export(sdk_gen_exports, {
690
683
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
691
684
  patchWorkspacesById: () => patchWorkspacesById,
692
685
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
686
+ patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
693
687
  patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
694
688
  postAgentTestResults: () => postAgentTestResults,
695
689
  postAgentVersionComparisons: () => postAgentVersionComparisons,
@@ -730,6 +724,7 @@ __export(sdk_gen_exports, {
730
724
  postExtractionBatches: () => postExtractionBatches,
731
725
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
732
726
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
727
+ postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
733
728
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
734
729
  postExtractionResults: () => postExtractionResults,
735
730
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
@@ -744,7 +739,6 @@ __export(sdk_gen_exports, {
744
739
  postObjectsCopy: () => postObjectsCopy,
745
740
  postObjectsMove: () => postObjectsMove,
746
741
  postObjectsRegister: () => postObjectsRegister,
747
- postPaymentMethods: () => postPaymentMethods,
748
742
  postPayments: () => postPayments,
749
743
  postSearchBatch: () => postSearchBatch,
750
744
  postSearchReindex: () => postSearchReindex,
@@ -1740,28 +1734,6 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1740
1734
  ...options.headers
1741
1735
  }
1742
1736
  });
1743
- var getPaymentMethods = (options) => (options.client ?? client).get({
1744
- querySerializer: {
1745
- parameters: {
1746
- filter: { object: { style: "form" } },
1747
- page: { object: { style: "form" } },
1748
- fields: { object: { style: "form" } }
1749
- }
1750
- },
1751
- security: [{ scheme: "bearer", type: "http" }],
1752
- url: "/payment-methods",
1753
- ...options
1754
- });
1755
- var postPaymentMethods = (options) => (options.client ?? client).post({
1756
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1757
- security: [{ scheme: "bearer", type: "http" }],
1758
- url: "/payment-methods",
1759
- ...options,
1760
- headers: {
1761
- "Content-Type": "application/vnd.api+json",
1762
- ...options.headers
1763
- }
1764
- });
1765
1737
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1766
1738
  security: [{ scheme: "bearer", type: "http" }],
1767
1739
  url: "/agents/{id}/stats",
@@ -2041,6 +2013,17 @@ var postConfigs = (options) => (options.client ?? client).post({
2041
2013
  ...options.headers
2042
2014
  }
2043
2015
  });
2016
+ var getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions = (options) => (options.client ?? client).get({
2017
+ querySerializer: {
2018
+ parameters: {
2019
+ filter: { object: { style: "form" } },
2020
+ fields: { object: { style: "form" } }
2021
+ }
2022
+ },
2023
+ security: [{ scheme: "bearer", type: "http" }],
2024
+ url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions",
2025
+ ...options
2026
+ });
2044
2027
  var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2045
2028
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2046
2029
  security: [{ scheme: "bearer", type: "http" }],
@@ -2188,6 +2171,16 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
2188
2171
  url: "/agents/usage",
2189
2172
  ...options
2190
2173
  });
2174
+ var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).patch({
2175
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2176
+ security: [{ scheme: "bearer", type: "http" }],
2177
+ url: "/workspaces/{id}/populate-hashes",
2178
+ ...options,
2179
+ headers: {
2180
+ "Content-Type": "application/vnd.api+json",
2181
+ ...options.headers
2182
+ }
2183
+ });
2191
2184
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
2192
2185
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2193
2186
  security: [{ scheme: "bearer", type: "http" }],
@@ -3145,13 +3138,7 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
3145
3138
  }
3146
3139
  });
3147
3140
  var getWalletInvoices = (options) => (options.client ?? client).get({
3148
- querySerializer: {
3149
- parameters: {
3150
- filter: { object: { style: "form" } },
3151
- page: { object: { style: "form" } },
3152
- fields: { object: { style: "form" } }
3153
- }
3154
- },
3141
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3155
3142
  security: [{ scheme: "bearer", type: "http" }],
3156
3143
  url: "/wallet/invoices",
3157
3144
  ...options
@@ -3218,6 +3205,12 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
3218
3205
  ...options.headers
3219
3206
  }
3220
3207
  });
3208
+ var getAgentVersionRevisionsById = (options) => (options.client ?? client).get({
3209
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3210
+ security: [{ scheme: "bearer", type: "http" }],
3211
+ url: "/agent_version_revisions/{id}",
3212
+ ...options
3213
+ });
3221
3214
  var getTrainingExamples = (options) => (options.client ?? client).get({
3222
3215
  querySerializer: {
3223
3216
  parameters: {
@@ -3587,6 +3580,16 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3587
3580
  ...options.headers
3588
3581
  }
3589
3582
  });
3583
+ var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? client).post({
3584
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3585
+ security: [{ scheme: "bearer", type: "http" }],
3586
+ url: "/extraction/documents/find_or_begin_upload",
3587
+ ...options,
3588
+ headers: {
3589
+ "Content-Type": "application/vnd.api+json",
3590
+ ...options.headers
3591
+ }
3592
+ });
3590
3593
  var getTransactions = (options) => (options.client ?? client).get({
3591
3594
  querySerializer: {
3592
3595
  parameters: {
@@ -3990,28 +3993,6 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
3990
3993
  url: "/agents/{id}/schema_versions/{version_id}/activate",
3991
3994
  ...options
3992
3995
  });
3993
- var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
3994
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3995
- security: [{ scheme: "bearer", type: "http" }],
3996
- url: "/payment-methods/{id}",
3997
- ...options
3998
- });
3999
- var getPaymentMethodsById = (options) => (options.client ?? client).get({
4000
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4001
- security: [{ scheme: "bearer", type: "http" }],
4002
- url: "/payment-methods/{id}",
4003
- ...options
4004
- });
4005
- var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
4006
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4007
- security: [{ scheme: "bearer", type: "http" }],
4008
- url: "/payment-methods/{id}",
4009
- ...options,
4010
- headers: {
4011
- "Content-Type": "application/vnd.api+json",
4012
- ...options.headers
4013
- }
4014
- });
4015
3996
  var deleteBucketsById = (options) => (options.client ?? client).delete({
4016
3997
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4017
3998
  security: [{ scheme: "bearer", type: "http" }],
@@ -4339,12 +4320,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
4339
4320
  ...options.headers
4340
4321
  }
4341
4322
  });
4342
- var getWalletPlanPreview = (options) => (options.client ?? client).get({
4343
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4344
- security: [{ scheme: "bearer", type: "http" }],
4345
- url: "/wallet/plan/preview",
4346
- ...options
4347
- });
4348
4323
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
4349
4324
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4350
4325
  security: [{ scheme: "bearer", type: "http" }],
@@ -4709,16 +4684,6 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4709
4684
  ...options.headers
4710
4685
  }
4711
4686
  });
4712
- var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4713
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4714
- security: [{ scheme: "bearer", type: "http" }],
4715
- url: "/payment-methods/{id}/default",
4716
- ...options,
4717
- headers: {
4718
- "Content-Type": "application/vnd.api+json",
4719
- ...options.headers
4720
- }
4721
- });
4722
4687
  var postAgentsByIdExport = (options) => (options.client ?? client).post({
4723
4688
  security: [{ scheme: "bearer", type: "http" }],
4724
4689
  url: "/agents/{id}/export",
@@ -5444,7 +5409,6 @@ var index_default = gptCore;
5444
5409
  deleteNotificationMethodsById,
5445
5410
  deleteNotificationPreferencesById,
5446
5411
  deleteObjectsById,
5447
- deletePaymentMethodsById,
5448
5412
  deleteSearchSavedById,
5449
5413
  deleteTenantMembershipsByTenantIdByUserId,
5450
5414
  deleteTenantsById,
@@ -5456,6 +5420,8 @@ var index_default = gptCore;
5456
5420
  deleteWebhookConfigsById,
5457
5421
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
5458
5422
  deleteWorkspacesById,
5423
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
5424
+ getAgentVersionRevisionsById,
5459
5425
  getAgentVersions,
5460
5426
  getAgentVersionsById,
5461
5427
  getAgentVersionsByIdMetrics,
@@ -5538,8 +5504,6 @@ var index_default = gptCore;
5538
5504
  getNotificationPreferencesById,
5539
5505
  getObjects,
5540
5506
  getObjectsById,
5541
- getPaymentMethods,
5542
- getPaymentMethodsById,
5543
5507
  getPermissions,
5544
5508
  getPermissionsById,
5545
5509
  getPermissionsMeta,
@@ -5591,7 +5555,6 @@ var index_default = gptCore;
5591
5555
  getUsersMeTenants,
5592
5556
  getWallet,
5593
5557
  getWalletInvoices,
5594
- getWalletPlanPreview,
5595
5558
  getWatcherClaims,
5596
5559
  getWatcherClaimsById,
5597
5560
  getWatcherClaimsStatus,
@@ -5658,8 +5621,6 @@ var index_default = gptCore;
5658
5621
  patchNotificationMethodsByIdSetPrimary,
5659
5622
  patchNotificationMethodsByIdVerify,
5660
5623
  patchNotificationPreferencesById,
5661
- patchPaymentMethodsById,
5662
- patchPaymentMethodsByIdDefault,
5663
5624
  patchSearchSavedById,
5664
5625
  patchTenantMembershipsByTenantIdByUserId,
5665
5626
  patchTenantsById,
@@ -5690,6 +5651,7 @@ var index_default = gptCore;
5690
5651
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
5691
5652
  patchWorkspacesById,
5692
5653
  patchWorkspacesByIdAllocate,
5654
+ patchWorkspacesByIdPopulateHashes,
5693
5655
  patchWorkspacesByIdStorageSettings,
5694
5656
  postAgentTestResults,
5695
5657
  postAgentVersionComparisons,
@@ -5730,6 +5692,7 @@ var index_default = gptCore;
5730
5692
  postExtractionBatches,
5731
5693
  postExtractionDocumentsBeginUpload,
5732
5694
  postExtractionDocumentsBulkReprocess,
5695
+ postExtractionDocumentsFindOrBeginUpload,
5733
5696
  postExtractionDocumentsUpload,
5734
5697
  postExtractionResults,
5735
5698
  postExtractionSchemaDiscoveries,
@@ -5744,7 +5707,6 @@ var index_default = gptCore;
5744
5707
  postObjectsCopy,
5745
5708
  postObjectsMove,
5746
5709
  postObjectsRegister,
5747
- postPaymentMethods,
5748
5710
  postPayments,
5749
5711
  postSearchBatch,
5750
5712
  postSearchReindex,
package/dist/index.mjs CHANGED
@@ -24,7 +24,6 @@ __export(sdk_gen_exports, {
24
24
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
25
25
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
26
26
  deleteObjectsById: () => deleteObjectsById,
27
- deletePaymentMethodsById: () => deletePaymentMethodsById,
28
27
  deleteSearchSavedById: () => deleteSearchSavedById,
29
28
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
30
29
  deleteTenantsById: () => deleteTenantsById,
@@ -36,6 +35,8 @@ __export(sdk_gen_exports, {
36
35
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
37
36
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
38
37
  deleteWorkspacesById: () => deleteWorkspacesById,
38
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
39
+ getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
39
40
  getAgentVersions: () => getAgentVersions,
40
41
  getAgentVersionsById: () => getAgentVersionsById,
41
42
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
@@ -118,8 +119,6 @@ __export(sdk_gen_exports, {
118
119
  getNotificationPreferencesById: () => getNotificationPreferencesById,
119
120
  getObjects: () => getObjects,
120
121
  getObjectsById: () => getObjectsById,
121
- getPaymentMethods: () => getPaymentMethods,
122
- getPaymentMethodsById: () => getPaymentMethodsById,
123
122
  getPermissions: () => getPermissions,
124
123
  getPermissionsById: () => getPermissionsById,
125
124
  getPermissionsMeta: () => getPermissionsMeta,
@@ -171,7 +170,6 @@ __export(sdk_gen_exports, {
171
170
  getUsersMeTenants: () => getUsersMeTenants,
172
171
  getWallet: () => getWallet,
173
172
  getWalletInvoices: () => getWalletInvoices,
174
- getWalletPlanPreview: () => getWalletPlanPreview,
175
173
  getWatcherClaims: () => getWatcherClaims,
176
174
  getWatcherClaimsById: () => getWatcherClaimsById,
177
175
  getWatcherClaimsStatus: () => getWatcherClaimsStatus,
@@ -234,8 +232,6 @@ __export(sdk_gen_exports, {
234
232
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
235
233
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
236
234
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
237
- patchPaymentMethodsById: () => patchPaymentMethodsById,
238
- patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
239
235
  patchSearchSavedById: () => patchSearchSavedById,
240
236
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
241
237
  patchTenantsById: () => patchTenantsById,
@@ -266,6 +262,7 @@ __export(sdk_gen_exports, {
266
262
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
267
263
  patchWorkspacesById: () => patchWorkspacesById,
268
264
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
265
+ patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
269
266
  patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
270
267
  postAgentTestResults: () => postAgentTestResults,
271
268
  postAgentVersionComparisons: () => postAgentVersionComparisons,
@@ -306,6 +303,7 @@ __export(sdk_gen_exports, {
306
303
  postExtractionBatches: () => postExtractionBatches,
307
304
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
308
305
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
306
+ postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
309
307
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
310
308
  postExtractionResults: () => postExtractionResults,
311
309
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
@@ -320,7 +318,6 @@ __export(sdk_gen_exports, {
320
318
  postObjectsCopy: () => postObjectsCopy,
321
319
  postObjectsMove: () => postObjectsMove,
322
320
  postObjectsRegister: () => postObjectsRegister,
323
- postPaymentMethods: () => postPaymentMethods,
324
321
  postPayments: () => postPayments,
325
322
  postSearchBatch: () => postSearchBatch,
326
323
  postSearchReindex: () => postSearchReindex,
@@ -1316,28 +1313,6 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1316
1313
  ...options.headers
1317
1314
  }
1318
1315
  });
1319
- var getPaymentMethods = (options) => (options.client ?? client).get({
1320
- querySerializer: {
1321
- parameters: {
1322
- filter: { object: { style: "form" } },
1323
- page: { object: { style: "form" } },
1324
- fields: { object: { style: "form" } }
1325
- }
1326
- },
1327
- security: [{ scheme: "bearer", type: "http" }],
1328
- url: "/payment-methods",
1329
- ...options
1330
- });
1331
- var postPaymentMethods = (options) => (options.client ?? client).post({
1332
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1333
- security: [{ scheme: "bearer", type: "http" }],
1334
- url: "/payment-methods",
1335
- ...options,
1336
- headers: {
1337
- "Content-Type": "application/vnd.api+json",
1338
- ...options.headers
1339
- }
1340
- });
1341
1316
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1342
1317
  security: [{ scheme: "bearer", type: "http" }],
1343
1318
  url: "/agents/{id}/stats",
@@ -1617,6 +1592,17 @@ var postConfigs = (options) => (options.client ?? client).post({
1617
1592
  ...options.headers
1618
1593
  }
1619
1594
  });
1595
+ var getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions = (options) => (options.client ?? client).get({
1596
+ querySerializer: {
1597
+ parameters: {
1598
+ filter: { object: { style: "form" } },
1599
+ fields: { object: { style: "form" } }
1600
+ }
1601
+ },
1602
+ security: [{ scheme: "bearer", type: "http" }],
1603
+ url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions",
1604
+ ...options
1605
+ });
1620
1606
  var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
1621
1607
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1622
1608
  security: [{ scheme: "bearer", type: "http" }],
@@ -1764,6 +1750,16 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
1764
1750
  url: "/agents/usage",
1765
1751
  ...options
1766
1752
  });
1753
+ var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).patch({
1754
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1755
+ security: [{ scheme: "bearer", type: "http" }],
1756
+ url: "/workspaces/{id}/populate-hashes",
1757
+ ...options,
1758
+ headers: {
1759
+ "Content-Type": "application/vnd.api+json",
1760
+ ...options.headers
1761
+ }
1762
+ });
1767
1763
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1768
1764
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1769
1765
  security: [{ scheme: "bearer", type: "http" }],
@@ -2721,13 +2717,7 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
2721
2717
  }
2722
2718
  });
2723
2719
  var getWalletInvoices = (options) => (options.client ?? client).get({
2724
- querySerializer: {
2725
- parameters: {
2726
- filter: { object: { style: "form" } },
2727
- page: { object: { style: "form" } },
2728
- fields: { object: { style: "form" } }
2729
- }
2730
- },
2720
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2731
2721
  security: [{ scheme: "bearer", type: "http" }],
2732
2722
  url: "/wallet/invoices",
2733
2723
  ...options
@@ -2794,6 +2784,12 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
2794
2784
  ...options.headers
2795
2785
  }
2796
2786
  });
2787
+ var getAgentVersionRevisionsById = (options) => (options.client ?? client).get({
2788
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2789
+ security: [{ scheme: "bearer", type: "http" }],
2790
+ url: "/agent_version_revisions/{id}",
2791
+ ...options
2792
+ });
2797
2793
  var getTrainingExamples = (options) => (options.client ?? client).get({
2798
2794
  querySerializer: {
2799
2795
  parameters: {
@@ -3163,6 +3159,16 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3163
3159
  ...options.headers
3164
3160
  }
3165
3161
  });
3162
+ var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? client).post({
3163
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3164
+ security: [{ scheme: "bearer", type: "http" }],
3165
+ url: "/extraction/documents/find_or_begin_upload",
3166
+ ...options,
3167
+ headers: {
3168
+ "Content-Type": "application/vnd.api+json",
3169
+ ...options.headers
3170
+ }
3171
+ });
3166
3172
  var getTransactions = (options) => (options.client ?? client).get({
3167
3173
  querySerializer: {
3168
3174
  parameters: {
@@ -3566,28 +3572,6 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
3566
3572
  url: "/agents/{id}/schema_versions/{version_id}/activate",
3567
3573
  ...options
3568
3574
  });
3569
- var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
3570
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3571
- security: [{ scheme: "bearer", type: "http" }],
3572
- url: "/payment-methods/{id}",
3573
- ...options
3574
- });
3575
- var getPaymentMethodsById = (options) => (options.client ?? client).get({
3576
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3577
- security: [{ scheme: "bearer", type: "http" }],
3578
- url: "/payment-methods/{id}",
3579
- ...options
3580
- });
3581
- var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
3582
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3583
- security: [{ scheme: "bearer", type: "http" }],
3584
- url: "/payment-methods/{id}",
3585
- ...options,
3586
- headers: {
3587
- "Content-Type": "application/vnd.api+json",
3588
- ...options.headers
3589
- }
3590
- });
3591
3575
  var deleteBucketsById = (options) => (options.client ?? client).delete({
3592
3576
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3593
3577
  security: [{ scheme: "bearer", type: "http" }],
@@ -3915,12 +3899,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
3915
3899
  ...options.headers
3916
3900
  }
3917
3901
  });
3918
- var getWalletPlanPreview = (options) => (options.client ?? client).get({
3919
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3920
- security: [{ scheme: "bearer", type: "http" }],
3921
- url: "/wallet/plan/preview",
3922
- ...options
3923
- });
3924
3902
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3925
3903
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3926
3904
  security: [{ scheme: "bearer", type: "http" }],
@@ -4285,16 +4263,6 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4285
4263
  ...options.headers
4286
4264
  }
4287
4265
  });
4288
- var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4289
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4290
- security: [{ scheme: "bearer", type: "http" }],
4291
- url: "/payment-methods/{id}/default",
4292
- ...options,
4293
- headers: {
4294
- "Content-Type": "application/vnd.api+json",
4295
- ...options.headers
4296
- }
4297
- });
4298
4266
  var postAgentsByIdExport = (options) => (options.client ?? client).post({
4299
4267
  security: [{ scheme: "bearer", type: "http" }],
4300
4268
  url: "/agents/{id}/export",
@@ -5020,7 +4988,6 @@ export {
5020
4988
  deleteNotificationMethodsById,
5021
4989
  deleteNotificationPreferencesById,
5022
4990
  deleteObjectsById,
5023
- deletePaymentMethodsById,
5024
4991
  deleteSearchSavedById,
5025
4992
  deleteTenantMembershipsByTenantIdByUserId,
5026
4993
  deleteTenantsById,
@@ -5032,6 +4999,8 @@ export {
5032
4999
  deleteWebhookConfigsById,
5033
5000
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
5034
5001
  deleteWorkspacesById,
5002
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
5003
+ getAgentVersionRevisionsById,
5035
5004
  getAgentVersions,
5036
5005
  getAgentVersionsById,
5037
5006
  getAgentVersionsByIdMetrics,
@@ -5114,8 +5083,6 @@ export {
5114
5083
  getNotificationPreferencesById,
5115
5084
  getObjects,
5116
5085
  getObjectsById,
5117
- getPaymentMethods,
5118
- getPaymentMethodsById,
5119
5086
  getPermissions,
5120
5087
  getPermissionsById,
5121
5088
  getPermissionsMeta,
@@ -5167,7 +5134,6 @@ export {
5167
5134
  getUsersMeTenants,
5168
5135
  getWallet,
5169
5136
  getWalletInvoices,
5170
- getWalletPlanPreview,
5171
5137
  getWatcherClaims,
5172
5138
  getWatcherClaimsById,
5173
5139
  getWatcherClaimsStatus,
@@ -5234,8 +5200,6 @@ export {
5234
5200
  patchNotificationMethodsByIdSetPrimary,
5235
5201
  patchNotificationMethodsByIdVerify,
5236
5202
  patchNotificationPreferencesById,
5237
- patchPaymentMethodsById,
5238
- patchPaymentMethodsByIdDefault,
5239
5203
  patchSearchSavedById,
5240
5204
  patchTenantMembershipsByTenantIdByUserId,
5241
5205
  patchTenantsById,
@@ -5266,6 +5230,7 @@ export {
5266
5230
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
5267
5231
  patchWorkspacesById,
5268
5232
  patchWorkspacesByIdAllocate,
5233
+ patchWorkspacesByIdPopulateHashes,
5269
5234
  patchWorkspacesByIdStorageSettings,
5270
5235
  postAgentTestResults,
5271
5236
  postAgentVersionComparisons,
@@ -5306,6 +5271,7 @@ export {
5306
5271
  postExtractionBatches,
5307
5272
  postExtractionDocumentsBeginUpload,
5308
5273
  postExtractionDocumentsBulkReprocess,
5274
+ postExtractionDocumentsFindOrBeginUpload,
5309
5275
  postExtractionDocumentsUpload,
5310
5276
  postExtractionResults,
5311
5277
  postExtractionSchemaDiscoveries,
@@ -5320,7 +5286,6 @@ export {
5320
5286
  postObjectsCopy,
5321
5287
  postObjectsMove,
5322
5288
  postObjectsRegister,
5323
- postPaymentMethods,
5324
5289
  postPayments,
5325
5290
  postSearchBatch,
5326
5291
  postSearchReindex,