@gpt-core/client 0.8.27 → 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,8 +368,6 @@ __export(index_exports, {
370
368
  postObjectsCopy: () => postObjectsCopy,
371
369
  postObjectsMove: () => postObjectsMove,
372
370
  postObjectsRegister: () => postObjectsRegister,
373
- postPaymentMethods: () => postPaymentMethods,
374
- postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
375
371
  postPayments: () => postPayments,
376
372
  postSearchBatch: () => postSearchBatch,
377
373
  postSearchReindex: () => postSearchReindex,
@@ -449,7 +445,6 @@ __export(sdk_gen_exports, {
449
445
  deleteNotificationMethodsById: () => deleteNotificationMethodsById,
450
446
  deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
451
447
  deleteObjectsById: () => deleteObjectsById,
452
- deletePaymentMethodsById: () => deletePaymentMethodsById,
453
448
  deleteSearchSavedById: () => deleteSearchSavedById,
454
449
  deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
455
450
  deleteTenantsById: () => deleteTenantsById,
@@ -461,6 +456,8 @@ __export(sdk_gen_exports, {
461
456
  deleteWebhookConfigsById: () => deleteWebhookConfigsById,
462
457
  deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
463
458
  deleteWorkspacesById: () => deleteWorkspacesById,
459
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
460
+ getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
464
461
  getAgentVersions: () => getAgentVersions,
465
462
  getAgentVersionsById: () => getAgentVersionsById,
466
463
  getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
@@ -543,8 +540,6 @@ __export(sdk_gen_exports, {
543
540
  getNotificationPreferencesById: () => getNotificationPreferencesById,
544
541
  getObjects: () => getObjects,
545
542
  getObjectsById: () => getObjectsById,
546
- getPaymentMethods: () => getPaymentMethods,
547
- getPaymentMethodsById: () => getPaymentMethodsById,
548
543
  getPermissions: () => getPermissions,
549
544
  getPermissionsById: () => getPermissionsById,
550
545
  getPermissionsMeta: () => getPermissionsMeta,
@@ -596,7 +591,6 @@ __export(sdk_gen_exports, {
596
591
  getUsersMeTenants: () => getUsersMeTenants,
597
592
  getWallet: () => getWallet,
598
593
  getWalletInvoices: () => getWalletInvoices,
599
- getWalletPlanPreview: () => getWalletPlanPreview,
600
594
  getWatcherClaims: () => getWatcherClaims,
601
595
  getWatcherClaimsById: () => getWatcherClaimsById,
602
596
  getWatcherClaimsStatus: () => getWatcherClaimsStatus,
@@ -659,8 +653,6 @@ __export(sdk_gen_exports, {
659
653
  patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
660
654
  patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
661
655
  patchNotificationPreferencesById: () => patchNotificationPreferencesById,
662
- patchPaymentMethodsById: () => patchPaymentMethodsById,
663
- patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
664
656
  patchSearchSavedById: () => patchSearchSavedById,
665
657
  patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
666
658
  patchTenantsById: () => patchTenantsById,
@@ -691,6 +683,7 @@ __export(sdk_gen_exports, {
691
683
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
692
684
  patchWorkspacesById: () => patchWorkspacesById,
693
685
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
686
+ patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
694
687
  patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
695
688
  postAgentTestResults: () => postAgentTestResults,
696
689
  postAgentVersionComparisons: () => postAgentVersionComparisons,
@@ -731,6 +724,7 @@ __export(sdk_gen_exports, {
731
724
  postExtractionBatches: () => postExtractionBatches,
732
725
  postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
733
726
  postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
727
+ postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
734
728
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
735
729
  postExtractionResults: () => postExtractionResults,
736
730
  postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
@@ -745,8 +739,6 @@ __export(sdk_gen_exports, {
745
739
  postObjectsCopy: () => postObjectsCopy,
746
740
  postObjectsMove: () => postObjectsMove,
747
741
  postObjectsRegister: () => postObjectsRegister,
748
- postPaymentMethods: () => postPaymentMethods,
749
- postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
750
742
  postPayments: () => postPayments,
751
743
  postSearchBatch: () => postSearchBatch,
752
744
  postSearchReindex: () => postSearchReindex,
@@ -1742,28 +1734,6 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1742
1734
  ...options.headers
1743
1735
  }
1744
1736
  });
1745
- var getPaymentMethods = (options) => (options.client ?? client).get({
1746
- querySerializer: {
1747
- parameters: {
1748
- filter: { object: { style: "form" } },
1749
- page: { object: { style: "form" } },
1750
- fields: { object: { style: "form" } }
1751
- }
1752
- },
1753
- security: [{ scheme: "bearer", type: "http" }],
1754
- url: "/payment-methods",
1755
- ...options
1756
- });
1757
- var postPaymentMethods = (options) => (options.client ?? client).post({
1758
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1759
- security: [{ scheme: "bearer", type: "http" }],
1760
- url: "/payment-methods",
1761
- ...options,
1762
- headers: {
1763
- "Content-Type": "application/vnd.api+json",
1764
- ...options.headers
1765
- }
1766
- });
1767
1737
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1768
1738
  security: [{ scheme: "bearer", type: "http" }],
1769
1739
  url: "/agents/{id}/stats",
@@ -2043,6 +2013,17 @@ var postConfigs = (options) => (options.client ?? client).post({
2043
2013
  ...options.headers
2044
2014
  }
2045
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
+ });
2046
2027
  var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2047
2028
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2048
2029
  security: [{ scheme: "bearer", type: "http" }],
@@ -2190,6 +2171,16 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
2190
2171
  url: "/agents/usage",
2191
2172
  ...options
2192
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
+ });
2193
2184
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
2194
2185
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2195
2186
  security: [{ scheme: "bearer", type: "http" }],
@@ -3147,13 +3138,7 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
3147
3138
  }
3148
3139
  });
3149
3140
  var getWalletInvoices = (options) => (options.client ?? client).get({
3150
- querySerializer: {
3151
- parameters: {
3152
- filter: { object: { style: "form" } },
3153
- page: { object: { style: "form" } },
3154
- fields: { object: { style: "form" } }
3155
- }
3156
- },
3141
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3157
3142
  security: [{ scheme: "bearer", type: "http" }],
3158
3143
  url: "/wallet/invoices",
3159
3144
  ...options
@@ -3220,6 +3205,12 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
3220
3205
  ...options.headers
3221
3206
  }
3222
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
+ });
3223
3214
  var getTrainingExamples = (options) => (options.client ?? client).get({
3224
3215
  querySerializer: {
3225
3216
  parameters: {
@@ -3284,16 +3275,6 @@ var postBuckets = (options) => (options.client ?? client).post({
3284
3275
  ...options.headers
3285
3276
  }
3286
3277
  });
3287
- var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
3288
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3289
- security: [{ scheme: "bearer", type: "http" }],
3290
- url: "/payment-methods/tokenize",
3291
- ...options,
3292
- headers: {
3293
- "Content-Type": "application/vnd.api+json",
3294
- ...options.headers
3295
- }
3296
- });
3297
3278
  var getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).get({
3298
3279
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3299
3280
  security: [{ scheme: "bearer", type: "http" }],
@@ -3599,6 +3580,16 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3599
3580
  ...options.headers
3600
3581
  }
3601
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
+ });
3602
3593
  var getTransactions = (options) => (options.client ?? client).get({
3603
3594
  querySerializer: {
3604
3595
  parameters: {
@@ -4002,28 +3993,6 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
4002
3993
  url: "/agents/{id}/schema_versions/{version_id}/activate",
4003
3994
  ...options
4004
3995
  });
4005
- var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
4006
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4007
- security: [{ scheme: "bearer", type: "http" }],
4008
- url: "/payment-methods/{id}",
4009
- ...options
4010
- });
4011
- var getPaymentMethodsById = (options) => (options.client ?? client).get({
4012
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4013
- security: [{ scheme: "bearer", type: "http" }],
4014
- url: "/payment-methods/{id}",
4015
- ...options
4016
- });
4017
- var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
4018
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4019
- security: [{ scheme: "bearer", type: "http" }],
4020
- url: "/payment-methods/{id}",
4021
- ...options,
4022
- headers: {
4023
- "Content-Type": "application/vnd.api+json",
4024
- ...options.headers
4025
- }
4026
- });
4027
3996
  var deleteBucketsById = (options) => (options.client ?? client).delete({
4028
3997
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4029
3998
  security: [{ scheme: "bearer", type: "http" }],
@@ -4351,12 +4320,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
4351
4320
  ...options.headers
4352
4321
  }
4353
4322
  });
4354
- var getWalletPlanPreview = (options) => (options.client ?? client).get({
4355
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4356
- security: [{ scheme: "bearer", type: "http" }],
4357
- url: "/wallet/plan/preview",
4358
- ...options
4359
- });
4360
4323
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
4361
4324
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4362
4325
  security: [{ scheme: "bearer", type: "http" }],
@@ -4721,16 +4684,6 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4721
4684
  ...options.headers
4722
4685
  }
4723
4686
  });
4724
- var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4725
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4726
- security: [{ scheme: "bearer", type: "http" }],
4727
- url: "/payment-methods/{id}/default",
4728
- ...options,
4729
- headers: {
4730
- "Content-Type": "application/vnd.api+json",
4731
- ...options.headers
4732
- }
4733
- });
4734
4687
  var postAgentsByIdExport = (options) => (options.client ?? client).post({
4735
4688
  security: [{ scheme: "bearer", type: "http" }],
4736
4689
  url: "/agents/{id}/export",
@@ -5456,7 +5409,6 @@ var index_default = gptCore;
5456
5409
  deleteNotificationMethodsById,
5457
5410
  deleteNotificationPreferencesById,
5458
5411
  deleteObjectsById,
5459
- deletePaymentMethodsById,
5460
5412
  deleteSearchSavedById,
5461
5413
  deleteTenantMembershipsByTenantIdByUserId,
5462
5414
  deleteTenantsById,
@@ -5468,6 +5420,8 @@ var index_default = gptCore;
5468
5420
  deleteWebhookConfigsById,
5469
5421
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
5470
5422
  deleteWorkspacesById,
5423
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
5424
+ getAgentVersionRevisionsById,
5471
5425
  getAgentVersions,
5472
5426
  getAgentVersionsById,
5473
5427
  getAgentVersionsByIdMetrics,
@@ -5550,8 +5504,6 @@ var index_default = gptCore;
5550
5504
  getNotificationPreferencesById,
5551
5505
  getObjects,
5552
5506
  getObjectsById,
5553
- getPaymentMethods,
5554
- getPaymentMethodsById,
5555
5507
  getPermissions,
5556
5508
  getPermissionsById,
5557
5509
  getPermissionsMeta,
@@ -5603,7 +5555,6 @@ var index_default = gptCore;
5603
5555
  getUsersMeTenants,
5604
5556
  getWallet,
5605
5557
  getWalletInvoices,
5606
- getWalletPlanPreview,
5607
5558
  getWatcherClaims,
5608
5559
  getWatcherClaimsById,
5609
5560
  getWatcherClaimsStatus,
@@ -5670,8 +5621,6 @@ var index_default = gptCore;
5670
5621
  patchNotificationMethodsByIdSetPrimary,
5671
5622
  patchNotificationMethodsByIdVerify,
5672
5623
  patchNotificationPreferencesById,
5673
- patchPaymentMethodsById,
5674
- patchPaymentMethodsByIdDefault,
5675
5624
  patchSearchSavedById,
5676
5625
  patchTenantMembershipsByTenantIdByUserId,
5677
5626
  patchTenantsById,
@@ -5702,6 +5651,7 @@ var index_default = gptCore;
5702
5651
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
5703
5652
  patchWorkspacesById,
5704
5653
  patchWorkspacesByIdAllocate,
5654
+ patchWorkspacesByIdPopulateHashes,
5705
5655
  patchWorkspacesByIdStorageSettings,
5706
5656
  postAgentTestResults,
5707
5657
  postAgentVersionComparisons,
@@ -5742,6 +5692,7 @@ var index_default = gptCore;
5742
5692
  postExtractionBatches,
5743
5693
  postExtractionDocumentsBeginUpload,
5744
5694
  postExtractionDocumentsBulkReprocess,
5695
+ postExtractionDocumentsFindOrBeginUpload,
5745
5696
  postExtractionDocumentsUpload,
5746
5697
  postExtractionResults,
5747
5698
  postExtractionSchemaDiscoveries,
@@ -5756,8 +5707,6 @@ var index_default = gptCore;
5756
5707
  postObjectsCopy,
5757
5708
  postObjectsMove,
5758
5709
  postObjectsRegister,
5759
- postPaymentMethods,
5760
- postPaymentMethodsTokenize,
5761
5710
  postPayments,
5762
5711
  postSearchBatch,
5763
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,8 +318,6 @@ __export(sdk_gen_exports, {
320
318
  postObjectsCopy: () => postObjectsCopy,
321
319
  postObjectsMove: () => postObjectsMove,
322
320
  postObjectsRegister: () => postObjectsRegister,
323
- postPaymentMethods: () => postPaymentMethods,
324
- postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
325
321
  postPayments: () => postPayments,
326
322
  postSearchBatch: () => postSearchBatch,
327
323
  postSearchReindex: () => postSearchReindex,
@@ -1317,28 +1313,6 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1317
1313
  ...options.headers
1318
1314
  }
1319
1315
  });
1320
- var getPaymentMethods = (options) => (options.client ?? client).get({
1321
- querySerializer: {
1322
- parameters: {
1323
- filter: { object: { style: "form" } },
1324
- page: { object: { style: "form" } },
1325
- fields: { object: { style: "form" } }
1326
- }
1327
- },
1328
- security: [{ scheme: "bearer", type: "http" }],
1329
- url: "/payment-methods",
1330
- ...options
1331
- });
1332
- var postPaymentMethods = (options) => (options.client ?? client).post({
1333
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1334
- security: [{ scheme: "bearer", type: "http" }],
1335
- url: "/payment-methods",
1336
- ...options,
1337
- headers: {
1338
- "Content-Type": "application/vnd.api+json",
1339
- ...options.headers
1340
- }
1341
- });
1342
1316
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1343
1317
  security: [{ scheme: "bearer", type: "http" }],
1344
1318
  url: "/agents/{id}/stats",
@@ -1618,6 +1592,17 @@ var postConfigs = (options) => (options.client ?? client).post({
1618
1592
  ...options.headers
1619
1593
  }
1620
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
+ });
1621
1606
  var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
1622
1607
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1623
1608
  security: [{ scheme: "bearer", type: "http" }],
@@ -1765,6 +1750,16 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
1765
1750
  url: "/agents/usage",
1766
1751
  ...options
1767
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
+ });
1768
1763
  var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
1769
1764
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1770
1765
  security: [{ scheme: "bearer", type: "http" }],
@@ -2722,13 +2717,7 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
2722
2717
  }
2723
2718
  });
2724
2719
  var getWalletInvoices = (options) => (options.client ?? client).get({
2725
- querySerializer: {
2726
- parameters: {
2727
- filter: { object: { style: "form" } },
2728
- page: { object: { style: "form" } },
2729
- fields: { object: { style: "form" } }
2730
- }
2731
- },
2720
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2732
2721
  security: [{ scheme: "bearer", type: "http" }],
2733
2722
  url: "/wallet/invoices",
2734
2723
  ...options
@@ -2795,6 +2784,12 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
2795
2784
  ...options.headers
2796
2785
  }
2797
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
+ });
2798
2793
  var getTrainingExamples = (options) => (options.client ?? client).get({
2799
2794
  querySerializer: {
2800
2795
  parameters: {
@@ -2859,16 +2854,6 @@ var postBuckets = (options) => (options.client ?? client).post({
2859
2854
  ...options.headers
2860
2855
  }
2861
2856
  });
2862
- var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
2863
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2864
- security: [{ scheme: "bearer", type: "http" }],
2865
- url: "/payment-methods/tokenize",
2866
- ...options,
2867
- headers: {
2868
- "Content-Type": "application/vnd.api+json",
2869
- ...options.headers
2870
- }
2871
- });
2872
2857
  var getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).get({
2873
2858
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2874
2859
  security: [{ scheme: "bearer", type: "http" }],
@@ -3174,6 +3159,16 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3174
3159
  ...options.headers
3175
3160
  }
3176
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
+ });
3177
3172
  var getTransactions = (options) => (options.client ?? client).get({
3178
3173
  querySerializer: {
3179
3174
  parameters: {
@@ -3577,28 +3572,6 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
3577
3572
  url: "/agents/{id}/schema_versions/{version_id}/activate",
3578
3573
  ...options
3579
3574
  });
3580
- var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
3581
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3582
- security: [{ scheme: "bearer", type: "http" }],
3583
- url: "/payment-methods/{id}",
3584
- ...options
3585
- });
3586
- var getPaymentMethodsById = (options) => (options.client ?? client).get({
3587
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3588
- security: [{ scheme: "bearer", type: "http" }],
3589
- url: "/payment-methods/{id}",
3590
- ...options
3591
- });
3592
- var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
3593
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3594
- security: [{ scheme: "bearer", type: "http" }],
3595
- url: "/payment-methods/{id}",
3596
- ...options,
3597
- headers: {
3598
- "Content-Type": "application/vnd.api+json",
3599
- ...options.headers
3600
- }
3601
- });
3602
3575
  var deleteBucketsById = (options) => (options.client ?? client).delete({
3603
3576
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3604
3577
  security: [{ scheme: "bearer", type: "http" }],
@@ -3926,12 +3899,6 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
3926
3899
  ...options.headers
3927
3900
  }
3928
3901
  });
3929
- var getWalletPlanPreview = (options) => (options.client ?? client).get({
3930
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3931
- security: [{ scheme: "bearer", type: "http" }],
3932
- url: "/wallet/plan/preview",
3933
- ...options
3934
- });
3935
3902
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3936
3903
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3937
3904
  security: [{ scheme: "bearer", type: "http" }],
@@ -4296,16 +4263,6 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4296
4263
  ...options.headers
4297
4264
  }
4298
4265
  });
4299
- var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4300
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4301
- security: [{ scheme: "bearer", type: "http" }],
4302
- url: "/payment-methods/{id}/default",
4303
- ...options,
4304
- headers: {
4305
- "Content-Type": "application/vnd.api+json",
4306
- ...options.headers
4307
- }
4308
- });
4309
4266
  var postAgentsByIdExport = (options) => (options.client ?? client).post({
4310
4267
  security: [{ scheme: "bearer", type: "http" }],
4311
4268
  url: "/agents/{id}/export",
@@ -5031,7 +4988,6 @@ export {
5031
4988
  deleteNotificationMethodsById,
5032
4989
  deleteNotificationPreferencesById,
5033
4990
  deleteObjectsById,
5034
- deletePaymentMethodsById,
5035
4991
  deleteSearchSavedById,
5036
4992
  deleteTenantMembershipsByTenantIdByUserId,
5037
4993
  deleteTenantsById,
@@ -5043,6 +4999,8 @@ export {
5043
4999
  deleteWebhookConfigsById,
5044
5000
  deleteWorkspaceMembershipsByWorkspaceIdByUserId,
5045
5001
  deleteWorkspacesById,
5002
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
5003
+ getAgentVersionRevisionsById,
5046
5004
  getAgentVersions,
5047
5005
  getAgentVersionsById,
5048
5006
  getAgentVersionsByIdMetrics,
@@ -5125,8 +5083,6 @@ export {
5125
5083
  getNotificationPreferencesById,
5126
5084
  getObjects,
5127
5085
  getObjectsById,
5128
- getPaymentMethods,
5129
- getPaymentMethodsById,
5130
5086
  getPermissions,
5131
5087
  getPermissionsById,
5132
5088
  getPermissionsMeta,
@@ -5178,7 +5134,6 @@ export {
5178
5134
  getUsersMeTenants,
5179
5135
  getWallet,
5180
5136
  getWalletInvoices,
5181
- getWalletPlanPreview,
5182
5137
  getWatcherClaims,
5183
5138
  getWatcherClaimsById,
5184
5139
  getWatcherClaimsStatus,
@@ -5245,8 +5200,6 @@ export {
5245
5200
  patchNotificationMethodsByIdSetPrimary,
5246
5201
  patchNotificationMethodsByIdVerify,
5247
5202
  patchNotificationPreferencesById,
5248
- patchPaymentMethodsById,
5249
- patchPaymentMethodsByIdDefault,
5250
5203
  patchSearchSavedById,
5251
5204
  patchTenantMembershipsByTenantIdByUserId,
5252
5205
  patchTenantsById,
@@ -5277,6 +5230,7 @@ export {
5277
5230
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
5278
5231
  patchWorkspacesById,
5279
5232
  patchWorkspacesByIdAllocate,
5233
+ patchWorkspacesByIdPopulateHashes,
5280
5234
  patchWorkspacesByIdStorageSettings,
5281
5235
  postAgentTestResults,
5282
5236
  postAgentVersionComparisons,
@@ -5317,6 +5271,7 @@ export {
5317
5271
  postExtractionBatches,
5318
5272
  postExtractionDocumentsBeginUpload,
5319
5273
  postExtractionDocumentsBulkReprocess,
5274
+ postExtractionDocumentsFindOrBeginUpload,
5320
5275
  postExtractionDocumentsUpload,
5321
5276
  postExtractionResults,
5322
5277
  postExtractionSchemaDiscoveries,
@@ -5331,8 +5286,6 @@ export {
5331
5286
  postObjectsCopy,
5332
5287
  postObjectsMove,
5333
5288
  postObjectsRegister,
5334
- postPaymentMethods,
5335
- postPaymentMethodsTokenize,
5336
5289
  postPayments,
5337
5290
  postSearchBatch,
5338
5291
  postSearchReindex,