@gpt-core/client 0.9.0 → 0.9.11
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.cjs +4043 -0
- package/dist/index.d.mts +1787 -996
- package/dist/index.d.ts +1787 -996
- package/dist/index.js +147 -73
- package/dist/index.mjs +135 -67
- package/llms.txt +28 -4
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -65,11 +65,13 @@ __export(index_exports, {
|
|
|
65
65
|
deleteBucketsById: () => deleteBucketsById,
|
|
66
66
|
deleteExtractionBatchesById: () => deleteExtractionBatchesById,
|
|
67
67
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
68
|
+
deleteExtractionResultsById: () => deleteExtractionResultsById,
|
|
68
69
|
deleteFieldTemplatesById: () => deleteFieldTemplatesById,
|
|
69
70
|
deleteMessagesById: () => deleteMessagesById,
|
|
70
71
|
deleteNotificationMethodsById: () => deleteNotificationMethodsById,
|
|
71
72
|
deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
|
|
72
73
|
deleteObjectsById: () => deleteObjectsById,
|
|
74
|
+
deletePaymentMethodsById: () => deletePaymentMethodsById,
|
|
73
75
|
deleteSearchSavedById: () => deleteSearchSavedById,
|
|
74
76
|
deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
|
|
75
77
|
deleteTenantsById: () => deleteTenantsById,
|
|
@@ -81,8 +83,6 @@ __export(index_exports, {
|
|
|
81
83
|
deleteWebhookConfigsById: () => deleteWebhookConfigsById,
|
|
82
84
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
83
85
|
deleteWorkspacesById: () => deleteWorkspacesById,
|
|
84
|
-
getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
|
|
85
|
-
getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
|
|
86
86
|
getAgentVersions: () => getAgentVersions,
|
|
87
87
|
getAgentVersionsById: () => getAgentVersionsById,
|
|
88
88
|
getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
|
|
@@ -136,6 +136,7 @@ __export(index_exports, {
|
|
|
136
136
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
137
137
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
|
|
138
138
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
|
|
139
|
+
getExtractionResults: () => getExtractionResults,
|
|
139
140
|
getExtractionResultsById: () => getExtractionResultsById,
|
|
140
141
|
getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
|
|
141
142
|
getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
|
|
@@ -165,6 +166,8 @@ __export(index_exports, {
|
|
|
165
166
|
getNotificationPreferencesById: () => getNotificationPreferencesById,
|
|
166
167
|
getObjects: () => getObjects,
|
|
167
168
|
getObjectsById: () => getObjectsById,
|
|
169
|
+
getPaymentMethods: () => getPaymentMethods,
|
|
170
|
+
getPaymentMethodsById: () => getPaymentMethodsById,
|
|
168
171
|
getPermissions: () => getPermissions,
|
|
169
172
|
getPermissionsById: () => getPermissionsById,
|
|
170
173
|
getPermissionsMeta: () => getPermissionsMeta,
|
|
@@ -216,6 +219,7 @@ __export(index_exports, {
|
|
|
216
219
|
getUsersMeTenants: () => getUsersMeTenants,
|
|
217
220
|
getWallet: () => getWallet,
|
|
218
221
|
getWalletInvoices: () => getWalletInvoices,
|
|
222
|
+
getWalletPlanPreview: () => getWalletPlanPreview,
|
|
219
223
|
getWatcherClaims: () => getWatcherClaims,
|
|
220
224
|
getWatcherClaimsById: () => getWatcherClaimsById,
|
|
221
225
|
getWatcherClaimsStatus: () => getWatcherClaimsStatus,
|
|
@@ -269,8 +273,9 @@ __export(index_exports, {
|
|
|
269
273
|
patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
|
|
270
274
|
patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
|
|
271
275
|
patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
|
|
272
|
-
|
|
276
|
+
patchExtractionResultsById: () => patchExtractionResultsById,
|
|
273
277
|
patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
|
|
278
|
+
patchExtractionResultsByIdSaveCorrections: () => patchExtractionResultsByIdSaveCorrections,
|
|
274
279
|
patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
|
|
275
280
|
patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
|
|
276
281
|
patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
|
|
@@ -282,6 +287,8 @@ __export(index_exports, {
|
|
|
282
287
|
patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
|
|
283
288
|
patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
|
|
284
289
|
patchNotificationPreferencesById: () => patchNotificationPreferencesById,
|
|
290
|
+
patchPaymentMethodsById: () => patchPaymentMethodsById,
|
|
291
|
+
patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
|
|
285
292
|
patchSearchSavedById: () => patchSearchSavedById,
|
|
286
293
|
patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
|
|
287
294
|
patchTenantsById: () => patchTenantsById,
|
|
@@ -312,7 +319,6 @@ __export(index_exports, {
|
|
|
312
319
|
patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
313
320
|
patchWorkspacesById: () => patchWorkspacesById,
|
|
314
321
|
patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
|
|
315
|
-
patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
|
|
316
322
|
patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
|
|
317
323
|
postAgentTestResults: () => postAgentTestResults,
|
|
318
324
|
postAgentVersionComparisons: () => postAgentVersionComparisons,
|
|
@@ -353,9 +359,7 @@ __export(index_exports, {
|
|
|
353
359
|
postExtractionBatches: () => postExtractionBatches,
|
|
354
360
|
postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
|
|
355
361
|
postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
|
|
356
|
-
postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
|
|
357
362
|
postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
|
|
358
|
-
postExtractionResults: () => postExtractionResults,
|
|
359
363
|
postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
|
|
360
364
|
postFieldTemplates: () => postFieldTemplates,
|
|
361
365
|
postInvitations: () => postInvitations,
|
|
@@ -368,6 +372,8 @@ __export(index_exports, {
|
|
|
368
372
|
postObjectsCopy: () => postObjectsCopy,
|
|
369
373
|
postObjectsMove: () => postObjectsMove,
|
|
370
374
|
postObjectsRegister: () => postObjectsRegister,
|
|
375
|
+
postPaymentMethods: () => postPaymentMethods,
|
|
376
|
+
postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
|
|
371
377
|
postPayments: () => postPayments,
|
|
372
378
|
postSearchBatch: () => postSearchBatch,
|
|
373
379
|
postSearchReindex: () => postSearchReindex,
|
|
@@ -440,11 +446,13 @@ __export(sdk_gen_exports, {
|
|
|
440
446
|
deleteBucketsById: () => deleteBucketsById,
|
|
441
447
|
deleteExtractionBatchesById: () => deleteExtractionBatchesById,
|
|
442
448
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
449
|
+
deleteExtractionResultsById: () => deleteExtractionResultsById,
|
|
443
450
|
deleteFieldTemplatesById: () => deleteFieldTemplatesById,
|
|
444
451
|
deleteMessagesById: () => deleteMessagesById,
|
|
445
452
|
deleteNotificationMethodsById: () => deleteNotificationMethodsById,
|
|
446
453
|
deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
|
|
447
454
|
deleteObjectsById: () => deleteObjectsById,
|
|
455
|
+
deletePaymentMethodsById: () => deletePaymentMethodsById,
|
|
448
456
|
deleteSearchSavedById: () => deleteSearchSavedById,
|
|
449
457
|
deleteTenantMembershipsByTenantIdByUserId: () => deleteTenantMembershipsByTenantIdByUserId,
|
|
450
458
|
deleteTenantsById: () => deleteTenantsById,
|
|
@@ -456,8 +464,6 @@ __export(sdk_gen_exports, {
|
|
|
456
464
|
deleteWebhookConfigsById: () => deleteWebhookConfigsById,
|
|
457
465
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
458
466
|
deleteWorkspacesById: () => deleteWorkspacesById,
|
|
459
|
-
getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: () => getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
|
|
460
|
-
getAgentVersionRevisionsById: () => getAgentVersionRevisionsById,
|
|
461
467
|
getAgentVersions: () => getAgentVersions,
|
|
462
468
|
getAgentVersionsById: () => getAgentVersionsById,
|
|
463
469
|
getAgentVersionsByIdMetrics: () => getAgentVersionsByIdMetrics,
|
|
@@ -511,6 +517,7 @@ __export(sdk_gen_exports, {
|
|
|
511
517
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
512
518
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrained: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
|
|
513
519
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrashed: () => getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
|
|
520
|
+
getExtractionResults: () => getExtractionResults,
|
|
514
521
|
getExtractionResultsById: () => getExtractionResultsById,
|
|
515
522
|
getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
|
|
516
523
|
getExtractionResultsWorkspaceByWorkspaceId: () => getExtractionResultsWorkspaceByWorkspaceId,
|
|
@@ -540,6 +547,8 @@ __export(sdk_gen_exports, {
|
|
|
540
547
|
getNotificationPreferencesById: () => getNotificationPreferencesById,
|
|
541
548
|
getObjects: () => getObjects,
|
|
542
549
|
getObjectsById: () => getObjectsById,
|
|
550
|
+
getPaymentMethods: () => getPaymentMethods,
|
|
551
|
+
getPaymentMethodsById: () => getPaymentMethodsById,
|
|
543
552
|
getPermissions: () => getPermissions,
|
|
544
553
|
getPermissionsById: () => getPermissionsById,
|
|
545
554
|
getPermissionsMeta: () => getPermissionsMeta,
|
|
@@ -591,6 +600,7 @@ __export(sdk_gen_exports, {
|
|
|
591
600
|
getUsersMeTenants: () => getUsersMeTenants,
|
|
592
601
|
getWallet: () => getWallet,
|
|
593
602
|
getWalletInvoices: () => getWalletInvoices,
|
|
603
|
+
getWalletPlanPreview: () => getWalletPlanPreview,
|
|
594
604
|
getWatcherClaims: () => getWatcherClaims,
|
|
595
605
|
getWatcherClaimsById: () => getWatcherClaimsById,
|
|
596
606
|
getWatcherClaimsStatus: () => getWatcherClaimsStatus,
|
|
@@ -640,8 +650,9 @@ __export(sdk_gen_exports, {
|
|
|
640
650
|
patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
|
|
641
651
|
patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
|
|
642
652
|
patchExtractionDocumentsByIdVerification: () => patchExtractionDocumentsByIdVerification,
|
|
643
|
-
|
|
653
|
+
patchExtractionResultsById: () => patchExtractionResultsById,
|
|
644
654
|
patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
|
|
655
|
+
patchExtractionResultsByIdSaveCorrections: () => patchExtractionResultsByIdSaveCorrections,
|
|
645
656
|
patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
|
|
646
657
|
patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
|
|
647
658
|
patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
|
|
@@ -653,6 +664,8 @@ __export(sdk_gen_exports, {
|
|
|
653
664
|
patchNotificationMethodsByIdSetPrimary: () => patchNotificationMethodsByIdSetPrimary,
|
|
654
665
|
patchNotificationMethodsByIdVerify: () => patchNotificationMethodsByIdVerify,
|
|
655
666
|
patchNotificationPreferencesById: () => patchNotificationPreferencesById,
|
|
667
|
+
patchPaymentMethodsById: () => patchPaymentMethodsById,
|
|
668
|
+
patchPaymentMethodsByIdDefault: () => patchPaymentMethodsByIdDefault,
|
|
656
669
|
patchSearchSavedById: () => patchSearchSavedById,
|
|
657
670
|
patchTenantMembershipsByTenantIdByUserId: () => patchTenantMembershipsByTenantIdByUserId,
|
|
658
671
|
patchTenantsById: () => patchTenantsById,
|
|
@@ -683,7 +696,6 @@ __export(sdk_gen_exports, {
|
|
|
683
696
|
patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
684
697
|
patchWorkspacesById: () => patchWorkspacesById,
|
|
685
698
|
patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
|
|
686
|
-
patchWorkspacesByIdPopulateHashes: () => patchWorkspacesByIdPopulateHashes,
|
|
687
699
|
patchWorkspacesByIdStorageSettings: () => patchWorkspacesByIdStorageSettings,
|
|
688
700
|
postAgentTestResults: () => postAgentTestResults,
|
|
689
701
|
postAgentVersionComparisons: () => postAgentVersionComparisons,
|
|
@@ -724,9 +736,7 @@ __export(sdk_gen_exports, {
|
|
|
724
736
|
postExtractionBatches: () => postExtractionBatches,
|
|
725
737
|
postExtractionDocumentsBeginUpload: () => postExtractionDocumentsBeginUpload,
|
|
726
738
|
postExtractionDocumentsBulkReprocess: () => postExtractionDocumentsBulkReprocess,
|
|
727
|
-
postExtractionDocumentsFindOrBeginUpload: () => postExtractionDocumentsFindOrBeginUpload,
|
|
728
739
|
postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
|
|
729
|
-
postExtractionResults: () => postExtractionResults,
|
|
730
740
|
postExtractionSchemaDiscoveries: () => postExtractionSchemaDiscoveries,
|
|
731
741
|
postFieldTemplates: () => postFieldTemplates,
|
|
732
742
|
postInvitations: () => postInvitations,
|
|
@@ -739,6 +749,8 @@ __export(sdk_gen_exports, {
|
|
|
739
749
|
postObjectsCopy: () => postObjectsCopy,
|
|
740
750
|
postObjectsMove: () => postObjectsMove,
|
|
741
751
|
postObjectsRegister: () => postObjectsRegister,
|
|
752
|
+
postPaymentMethods: () => postPaymentMethods,
|
|
753
|
+
postPaymentMethodsTokenize: () => postPaymentMethodsTokenize,
|
|
742
754
|
postPayments: () => postPayments,
|
|
743
755
|
postSearchBatch: () => postSearchBatch,
|
|
744
756
|
postSearchReindex: () => postSearchReindex,
|
|
@@ -1734,6 +1746,28 @@ var postWorkspaces = (options) => (options.client ?? client).post({
|
|
|
1734
1746
|
...options.headers
|
|
1735
1747
|
}
|
|
1736
1748
|
});
|
|
1749
|
+
var getPaymentMethods = (options) => (options.client ?? client).get({
|
|
1750
|
+
querySerializer: {
|
|
1751
|
+
parameters: {
|
|
1752
|
+
filter: { object: { style: "form" } },
|
|
1753
|
+
page: { object: { style: "form" } },
|
|
1754
|
+
fields: { object: { style: "form" } }
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1758
|
+
url: "/payment-methods",
|
|
1759
|
+
...options
|
|
1760
|
+
});
|
|
1761
|
+
var postPaymentMethods = (options) => (options.client ?? client).post({
|
|
1762
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1763
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1764
|
+
url: "/payment-methods",
|
|
1765
|
+
...options,
|
|
1766
|
+
headers: {
|
|
1767
|
+
"Content-Type": "application/vnd.api+json",
|
|
1768
|
+
...options.headers
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1737
1771
|
var getAgentsByIdStats = (options) => (options.client ?? client).get({
|
|
1738
1772
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1739
1773
|
url: "/agents/{id}/stats",
|
|
@@ -2013,17 +2047,6 @@ var postConfigs = (options) => (options.client ?? client).post({
|
|
|
2013
2047
|
...options.headers
|
|
2014
2048
|
}
|
|
2015
2049
|
});
|
|
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
|
-
});
|
|
2027
2050
|
var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
|
|
2028
2051
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2029
2052
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2171,16 +2194,6 @@ var getAgentsUsage = (options) => (options.client ?? client).get({
|
|
|
2171
2194
|
url: "/agents/usage",
|
|
2172
2195
|
...options
|
|
2173
2196
|
});
|
|
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
|
-
});
|
|
2184
2197
|
var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
|
|
2185
2198
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2186
2199
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2485,12 +2498,28 @@ var getUsersById = (options) => (options.client ?? client).get({
|
|
|
2485
2498
|
url: "/users/{id}",
|
|
2486
2499
|
...options
|
|
2487
2500
|
});
|
|
2501
|
+
var deleteExtractionResultsById = (options) => (options.client ?? client).delete({
|
|
2502
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2503
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2504
|
+
url: "/extraction/results/{id}",
|
|
2505
|
+
...options
|
|
2506
|
+
});
|
|
2488
2507
|
var getExtractionResultsById = (options) => (options.client ?? client).get({
|
|
2489
2508
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2490
2509
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2491
2510
|
url: "/extraction/results/{id}",
|
|
2492
2511
|
...options
|
|
2493
2512
|
});
|
|
2513
|
+
var patchExtractionResultsById = (options) => (options.client ?? client).patch({
|
|
2514
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2515
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2516
|
+
url: "/extraction/results/{id}",
|
|
2517
|
+
...options,
|
|
2518
|
+
headers: {
|
|
2519
|
+
"Content-Type": "application/vnd.api+json",
|
|
2520
|
+
...options.headers
|
|
2521
|
+
}
|
|
2522
|
+
});
|
|
2494
2523
|
var getWebhookDeliveriesStats = (options) => (options.client ?? client).get({
|
|
2495
2524
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2496
2525
|
url: "/webhook_deliveries/stats",
|
|
@@ -3047,16 +3076,6 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
|
|
|
3047
3076
|
...options.headers
|
|
3048
3077
|
}
|
|
3049
3078
|
});
|
|
3050
|
-
var patchExtractionResultsByIdCorrections = (options) => (options.client ?? client).patch({
|
|
3051
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3052
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
3053
|
-
url: "/extraction/results/{id}/corrections",
|
|
3054
|
-
...options,
|
|
3055
|
-
headers: {
|
|
3056
|
-
"Content-Type": "application/vnd.api+json",
|
|
3057
|
-
...options.headers
|
|
3058
|
-
}
|
|
3059
|
-
});
|
|
3060
3079
|
var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client).patch({
|
|
3061
3080
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3062
3081
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3138,11 +3157,27 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
|
|
|
3138
3157
|
}
|
|
3139
3158
|
});
|
|
3140
3159
|
var getWalletInvoices = (options) => (options.client ?? client).get({
|
|
3141
|
-
querySerializer: {
|
|
3160
|
+
querySerializer: {
|
|
3161
|
+
parameters: {
|
|
3162
|
+
filter: { object: { style: "form" } },
|
|
3163
|
+
page: { object: { style: "form" } },
|
|
3164
|
+
fields: { object: { style: "form" } }
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3142
3167
|
security: [{ scheme: "bearer", type: "http" }],
|
|
3143
3168
|
url: "/wallet/invoices",
|
|
3144
3169
|
...options
|
|
3145
3170
|
});
|
|
3171
|
+
var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ?? client).patch({
|
|
3172
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3173
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3174
|
+
url: "/extraction/results/{id}/save_corrections",
|
|
3175
|
+
...options,
|
|
3176
|
+
headers: {
|
|
3177
|
+
"Content-Type": "application/vnd.api+json",
|
|
3178
|
+
...options.headers
|
|
3179
|
+
}
|
|
3180
|
+
});
|
|
3146
3181
|
var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client).patch({
|
|
3147
3182
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3148
3183
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3205,12 +3240,6 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
|
|
|
3205
3240
|
...options.headers
|
|
3206
3241
|
}
|
|
3207
3242
|
});
|
|
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
|
-
});
|
|
3214
3243
|
var getTrainingExamples = (options) => (options.client ?? client).get({
|
|
3215
3244
|
querySerializer: {
|
|
3216
3245
|
parameters: {
|
|
@@ -3275,6 +3304,16 @@ var postBuckets = (options) => (options.client ?? client).post({
|
|
|
3275
3304
|
...options.headers
|
|
3276
3305
|
}
|
|
3277
3306
|
});
|
|
3307
|
+
var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
|
|
3308
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3309
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3310
|
+
url: "/payment-methods/tokenize",
|
|
3311
|
+
...options,
|
|
3312
|
+
headers: {
|
|
3313
|
+
"Content-Type": "application/vnd.api+json",
|
|
3314
|
+
...options.headers
|
|
3315
|
+
}
|
|
3316
|
+
});
|
|
3278
3317
|
var getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).get({
|
|
3279
3318
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3280
3319
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3580,16 +3619,6 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
|
|
|
3580
3619
|
...options.headers
|
|
3581
3620
|
}
|
|
3582
3621
|
});
|
|
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
|
-
});
|
|
3593
3622
|
var getTransactions = (options) => (options.client ?? client).get({
|
|
3594
3623
|
querySerializer: {
|
|
3595
3624
|
parameters: {
|
|
@@ -3993,6 +4022,28 @@ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.clie
|
|
|
3993
4022
|
url: "/agents/{id}/schema_versions/{version_id}/activate",
|
|
3994
4023
|
...options
|
|
3995
4024
|
});
|
|
4025
|
+
var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
|
|
4026
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4027
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4028
|
+
url: "/payment-methods/{id}",
|
|
4029
|
+
...options
|
|
4030
|
+
});
|
|
4031
|
+
var getPaymentMethodsById = (options) => (options.client ?? client).get({
|
|
4032
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4033
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4034
|
+
url: "/payment-methods/{id}",
|
|
4035
|
+
...options
|
|
4036
|
+
});
|
|
4037
|
+
var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
|
|
4038
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4039
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4040
|
+
url: "/payment-methods/{id}",
|
|
4041
|
+
...options,
|
|
4042
|
+
headers: {
|
|
4043
|
+
"Content-Type": "application/vnd.api+json",
|
|
4044
|
+
...options.headers
|
|
4045
|
+
}
|
|
4046
|
+
});
|
|
3996
4047
|
var deleteBucketsById = (options) => (options.client ?? client).delete({
|
|
3997
4048
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
3998
4049
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -4320,6 +4371,12 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
|
|
|
4320
4371
|
...options.headers
|
|
4321
4372
|
}
|
|
4322
4373
|
});
|
|
4374
|
+
var getWalletPlanPreview = (options) => (options.client ?? client).get({
|
|
4375
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4376
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4377
|
+
url: "/wallet/plan/preview",
|
|
4378
|
+
...options
|
|
4379
|
+
});
|
|
4323
4380
|
var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
|
|
4324
4381
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4325
4382
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -4350,15 +4407,16 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
|
|
|
4350
4407
|
...options.headers
|
|
4351
4408
|
}
|
|
4352
4409
|
});
|
|
4353
|
-
var
|
|
4354
|
-
querySerializer: {
|
|
4410
|
+
var getExtractionResults = (options) => (options.client ?? client).get({
|
|
4411
|
+
querySerializer: {
|
|
4412
|
+
parameters: {
|
|
4413
|
+
filter: { object: { style: "form" } },
|
|
4414
|
+
fields: { object: { style: "form" } }
|
|
4415
|
+
}
|
|
4416
|
+
},
|
|
4355
4417
|
security: [{ scheme: "bearer", type: "http" }],
|
|
4356
4418
|
url: "/extraction/results",
|
|
4357
|
-
...options
|
|
4358
|
-
headers: {
|
|
4359
|
-
"Content-Type": "application/vnd.api+json",
|
|
4360
|
-
...options.headers
|
|
4361
|
-
}
|
|
4419
|
+
...options
|
|
4362
4420
|
});
|
|
4363
4421
|
var postAgentsByIdClone = (options) => (options.client ?? client).post({
|
|
4364
4422
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
@@ -4684,6 +4742,16 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
|
|
|
4684
4742
|
...options.headers
|
|
4685
4743
|
}
|
|
4686
4744
|
});
|
|
4745
|
+
var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
|
|
4746
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4747
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4748
|
+
url: "/payment-methods/{id}/default",
|
|
4749
|
+
...options,
|
|
4750
|
+
headers: {
|
|
4751
|
+
"Content-Type": "application/vnd.api+json",
|
|
4752
|
+
...options.headers
|
|
4753
|
+
}
|
|
4754
|
+
});
|
|
4687
4755
|
var postAgentsByIdExport = (options) => (options.client ?? client).post({
|
|
4688
4756
|
security: [{ scheme: "bearer", type: "http" }],
|
|
4689
4757
|
url: "/agents/{id}/export",
|
|
@@ -5404,11 +5472,13 @@ var index_default = gptCore;
|
|
|
5404
5472
|
deleteBucketsById,
|
|
5405
5473
|
deleteExtractionBatchesById,
|
|
5406
5474
|
deleteExtractionDocumentsById,
|
|
5475
|
+
deleteExtractionResultsById,
|
|
5407
5476
|
deleteFieldTemplatesById,
|
|
5408
5477
|
deleteMessagesById,
|
|
5409
5478
|
deleteNotificationMethodsById,
|
|
5410
5479
|
deleteNotificationPreferencesById,
|
|
5411
5480
|
deleteObjectsById,
|
|
5481
|
+
deletePaymentMethodsById,
|
|
5412
5482
|
deleteSearchSavedById,
|
|
5413
5483
|
deleteTenantMembershipsByTenantIdByUserId,
|
|
5414
5484
|
deleteTenantsById,
|
|
@@ -5420,8 +5490,6 @@ var index_default = gptCore;
|
|
|
5420
5490
|
deleteWebhookConfigsById,
|
|
5421
5491
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
5422
5492
|
deleteWorkspacesById,
|
|
5423
|
-
getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
|
|
5424
|
-
getAgentVersionRevisionsById,
|
|
5425
5493
|
getAgentVersions,
|
|
5426
5494
|
getAgentVersionsById,
|
|
5427
5495
|
getAgentVersionsByIdMetrics,
|
|
@@ -5475,6 +5543,7 @@ var index_default = gptCore;
|
|
|
5475
5543
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
5476
5544
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
|
|
5477
5545
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
|
|
5546
|
+
getExtractionResults,
|
|
5478
5547
|
getExtractionResultsById,
|
|
5479
5548
|
getExtractionResultsDocumentByDocumentId,
|
|
5480
5549
|
getExtractionResultsWorkspaceByWorkspaceId,
|
|
@@ -5504,6 +5573,8 @@ var index_default = gptCore;
|
|
|
5504
5573
|
getNotificationPreferencesById,
|
|
5505
5574
|
getObjects,
|
|
5506
5575
|
getObjectsById,
|
|
5576
|
+
getPaymentMethods,
|
|
5577
|
+
getPaymentMethodsById,
|
|
5507
5578
|
getPermissions,
|
|
5508
5579
|
getPermissionsById,
|
|
5509
5580
|
getPermissionsMeta,
|
|
@@ -5555,6 +5626,7 @@ var index_default = gptCore;
|
|
|
5555
5626
|
getUsersMeTenants,
|
|
5556
5627
|
getWallet,
|
|
5557
5628
|
getWalletInvoices,
|
|
5629
|
+
getWalletPlanPreview,
|
|
5558
5630
|
getWatcherClaims,
|
|
5559
5631
|
getWatcherClaimsById,
|
|
5560
5632
|
getWatcherClaimsStatus,
|
|
@@ -5608,8 +5680,9 @@ var index_default = gptCore;
|
|
|
5608
5680
|
patchExtractionDocumentsByIdRestore,
|
|
5609
5681
|
patchExtractionDocumentsByIdStatus,
|
|
5610
5682
|
patchExtractionDocumentsByIdVerification,
|
|
5611
|
-
|
|
5683
|
+
patchExtractionResultsById,
|
|
5612
5684
|
patchExtractionResultsByIdRegenerate,
|
|
5685
|
+
patchExtractionResultsByIdSaveCorrections,
|
|
5613
5686
|
patchInvitationsByIdAccept,
|
|
5614
5687
|
patchInvitationsByIdAcceptByUser,
|
|
5615
5688
|
patchInvitationsByIdDecline,
|
|
@@ -5621,6 +5694,8 @@ var index_default = gptCore;
|
|
|
5621
5694
|
patchNotificationMethodsByIdSetPrimary,
|
|
5622
5695
|
patchNotificationMethodsByIdVerify,
|
|
5623
5696
|
patchNotificationPreferencesById,
|
|
5697
|
+
patchPaymentMethodsById,
|
|
5698
|
+
patchPaymentMethodsByIdDefault,
|
|
5624
5699
|
patchSearchSavedById,
|
|
5625
5700
|
patchTenantMembershipsByTenantIdByUserId,
|
|
5626
5701
|
patchTenantsById,
|
|
@@ -5651,7 +5726,6 @@ var index_default = gptCore;
|
|
|
5651
5726
|
patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
5652
5727
|
patchWorkspacesById,
|
|
5653
5728
|
patchWorkspacesByIdAllocate,
|
|
5654
|
-
patchWorkspacesByIdPopulateHashes,
|
|
5655
5729
|
patchWorkspacesByIdStorageSettings,
|
|
5656
5730
|
postAgentTestResults,
|
|
5657
5731
|
postAgentVersionComparisons,
|
|
@@ -5692,9 +5766,7 @@ var index_default = gptCore;
|
|
|
5692
5766
|
postExtractionBatches,
|
|
5693
5767
|
postExtractionDocumentsBeginUpload,
|
|
5694
5768
|
postExtractionDocumentsBulkReprocess,
|
|
5695
|
-
postExtractionDocumentsFindOrBeginUpload,
|
|
5696
5769
|
postExtractionDocumentsUpload,
|
|
5697
|
-
postExtractionResults,
|
|
5698
5770
|
postExtractionSchemaDiscoveries,
|
|
5699
5771
|
postFieldTemplates,
|
|
5700
5772
|
postInvitations,
|
|
@@ -5707,6 +5779,8 @@ var index_default = gptCore;
|
|
|
5707
5779
|
postObjectsCopy,
|
|
5708
5780
|
postObjectsMove,
|
|
5709
5781
|
postObjectsRegister,
|
|
5782
|
+
postPaymentMethods,
|
|
5783
|
+
postPaymentMethodsTokenize,
|
|
5710
5784
|
postPayments,
|
|
5711
5785
|
postSearchBatch,
|
|
5712
5786
|
postSearchReindex,
|