@gpt-core/client 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4043 -0
- package/dist/index.d.mts +2112 -1318
- package/dist/index.d.ts +2112 -1318
- package/dist/index.js +147 -74
- package/dist/index.mjs +135 -68
- 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" } } } },
|
|
@@ -4496,7 +4554,6 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
|
|
|
4496
4554
|
}
|
|
4497
4555
|
});
|
|
4498
4556
|
var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
|
|
4499
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4500
4557
|
security: [{ scheme: "bearer", type: "http" }],
|
|
4501
4558
|
url: "/agents/{id}/publish_version",
|
|
4502
4559
|
...options,
|
|
@@ -4684,6 +4741,16 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
|
|
|
4684
4741
|
...options.headers
|
|
4685
4742
|
}
|
|
4686
4743
|
});
|
|
4744
|
+
var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
|
|
4745
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
4746
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
4747
|
+
url: "/payment-methods/{id}/default",
|
|
4748
|
+
...options,
|
|
4749
|
+
headers: {
|
|
4750
|
+
"Content-Type": "application/vnd.api+json",
|
|
4751
|
+
...options.headers
|
|
4752
|
+
}
|
|
4753
|
+
});
|
|
4687
4754
|
var postAgentsByIdExport = (options) => (options.client ?? client).post({
|
|
4688
4755
|
security: [{ scheme: "bearer", type: "http" }],
|
|
4689
4756
|
url: "/agents/{id}/export",
|
|
@@ -5404,11 +5471,13 @@ var index_default = gptCore;
|
|
|
5404
5471
|
deleteBucketsById,
|
|
5405
5472
|
deleteExtractionBatchesById,
|
|
5406
5473
|
deleteExtractionDocumentsById,
|
|
5474
|
+
deleteExtractionResultsById,
|
|
5407
5475
|
deleteFieldTemplatesById,
|
|
5408
5476
|
deleteMessagesById,
|
|
5409
5477
|
deleteNotificationMethodsById,
|
|
5410
5478
|
deleteNotificationPreferencesById,
|
|
5411
5479
|
deleteObjectsById,
|
|
5480
|
+
deletePaymentMethodsById,
|
|
5412
5481
|
deleteSearchSavedById,
|
|
5413
5482
|
deleteTenantMembershipsByTenantIdByUserId,
|
|
5414
5483
|
deleteTenantsById,
|
|
@@ -5420,8 +5489,6 @@ var index_default = gptCore;
|
|
|
5420
5489
|
deleteWebhookConfigsById,
|
|
5421
5490
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
5422
5491
|
deleteWorkspacesById,
|
|
5423
|
-
getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions,
|
|
5424
|
-
getAgentVersionRevisionsById,
|
|
5425
5492
|
getAgentVersions,
|
|
5426
5493
|
getAgentVersionsById,
|
|
5427
5494
|
getAgentVersionsByIdMetrics,
|
|
@@ -5475,6 +5542,7 @@ var index_default = gptCore;
|
|
|
5475
5542
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
5476
5543
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrained,
|
|
5477
5544
|
getExtractionDocumentsWorkspaceByWorkspaceIdTrashed,
|
|
5545
|
+
getExtractionResults,
|
|
5478
5546
|
getExtractionResultsById,
|
|
5479
5547
|
getExtractionResultsDocumentByDocumentId,
|
|
5480
5548
|
getExtractionResultsWorkspaceByWorkspaceId,
|
|
@@ -5504,6 +5572,8 @@ var index_default = gptCore;
|
|
|
5504
5572
|
getNotificationPreferencesById,
|
|
5505
5573
|
getObjects,
|
|
5506
5574
|
getObjectsById,
|
|
5575
|
+
getPaymentMethods,
|
|
5576
|
+
getPaymentMethodsById,
|
|
5507
5577
|
getPermissions,
|
|
5508
5578
|
getPermissionsById,
|
|
5509
5579
|
getPermissionsMeta,
|
|
@@ -5555,6 +5625,7 @@ var index_default = gptCore;
|
|
|
5555
5625
|
getUsersMeTenants,
|
|
5556
5626
|
getWallet,
|
|
5557
5627
|
getWalletInvoices,
|
|
5628
|
+
getWalletPlanPreview,
|
|
5558
5629
|
getWatcherClaims,
|
|
5559
5630
|
getWatcherClaimsById,
|
|
5560
5631
|
getWatcherClaimsStatus,
|
|
@@ -5608,8 +5679,9 @@ var index_default = gptCore;
|
|
|
5608
5679
|
patchExtractionDocumentsByIdRestore,
|
|
5609
5680
|
patchExtractionDocumentsByIdStatus,
|
|
5610
5681
|
patchExtractionDocumentsByIdVerification,
|
|
5611
|
-
|
|
5682
|
+
patchExtractionResultsById,
|
|
5612
5683
|
patchExtractionResultsByIdRegenerate,
|
|
5684
|
+
patchExtractionResultsByIdSaveCorrections,
|
|
5613
5685
|
patchInvitationsByIdAccept,
|
|
5614
5686
|
patchInvitationsByIdAcceptByUser,
|
|
5615
5687
|
patchInvitationsByIdDecline,
|
|
@@ -5621,6 +5693,8 @@ var index_default = gptCore;
|
|
|
5621
5693
|
patchNotificationMethodsByIdSetPrimary,
|
|
5622
5694
|
patchNotificationMethodsByIdVerify,
|
|
5623
5695
|
patchNotificationPreferencesById,
|
|
5696
|
+
patchPaymentMethodsById,
|
|
5697
|
+
patchPaymentMethodsByIdDefault,
|
|
5624
5698
|
patchSearchSavedById,
|
|
5625
5699
|
patchTenantMembershipsByTenantIdByUserId,
|
|
5626
5700
|
patchTenantsById,
|
|
@@ -5651,7 +5725,6 @@ var index_default = gptCore;
|
|
|
5651
5725
|
patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
5652
5726
|
patchWorkspacesById,
|
|
5653
5727
|
patchWorkspacesByIdAllocate,
|
|
5654
|
-
patchWorkspacesByIdPopulateHashes,
|
|
5655
5728
|
patchWorkspacesByIdStorageSettings,
|
|
5656
5729
|
postAgentTestResults,
|
|
5657
5730
|
postAgentVersionComparisons,
|
|
@@ -5692,9 +5765,7 @@ var index_default = gptCore;
|
|
|
5692
5765
|
postExtractionBatches,
|
|
5693
5766
|
postExtractionDocumentsBeginUpload,
|
|
5694
5767
|
postExtractionDocumentsBulkReprocess,
|
|
5695
|
-
postExtractionDocumentsFindOrBeginUpload,
|
|
5696
5768
|
postExtractionDocumentsUpload,
|
|
5697
|
-
postExtractionResults,
|
|
5698
5769
|
postExtractionSchemaDiscoveries,
|
|
5699
5770
|
postFieldTemplates,
|
|
5700
5771
|
postInvitations,
|
|
@@ -5707,6 +5778,8 @@ var index_default = gptCore;
|
|
|
5707
5778
|
postObjectsCopy,
|
|
5708
5779
|
postObjectsMove,
|
|
5709
5780
|
postObjectsRegister,
|
|
5781
|
+
postPaymentMethods,
|
|
5782
|
+
postPaymentMethodsTokenize,
|
|
5710
5783
|
postPayments,
|
|
5711
5784
|
postSearchBatch,
|
|
5712
5785
|
postSearchReindex,
|