@gpt-core/client 0.6.92 → 0.6.94
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.d.mts +282 -1
- package/dist/index.d.ts +282 -1
- package/dist/index.js +37 -0
- package/dist/index.mjs +34 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -107,6 +107,7 @@ __export(index_exports, {
|
|
|
107
107
|
getExtractionDocumentsByIdStatus: () => getExtractionDocumentsByIdStatus,
|
|
108
108
|
getExtractionDocumentsByIdView: () => getExtractionDocumentsByIdView,
|
|
109
109
|
getExtractionDocumentsWorkspaceByWorkspaceId: () => getExtractionDocumentsWorkspaceByWorkspaceId,
|
|
110
|
+
getExtractionDocumentsWorkspaceByWorkspaceIdExcluded: () => getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
|
|
110
111
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: () => getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
111
112
|
getExtractionResultsById: () => getExtractionResultsById,
|
|
112
113
|
getExtractionResultsDocumentByDocumentId: () => getExtractionResultsDocumentByDocumentId,
|
|
@@ -197,6 +198,7 @@ __export(index_exports, {
|
|
|
197
198
|
patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
|
|
198
199
|
patchExtractionDocumentsByIdFinishUpload: () => patchExtractionDocumentsByIdFinishUpload,
|
|
199
200
|
patchExtractionDocumentsByIdInclude: () => patchExtractionDocumentsByIdInclude,
|
|
201
|
+
patchExtractionDocumentsByIdRestore: () => patchExtractionDocumentsByIdRestore,
|
|
200
202
|
patchExtractionDocumentsByIdStatus: () => patchExtractionDocumentsByIdStatus,
|
|
201
203
|
patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
|
|
202
204
|
patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
|
|
@@ -288,6 +290,7 @@ __export(index_exports, {
|
|
|
288
290
|
postTrainingExamples: () => postTrainingExamples,
|
|
289
291
|
postTrainingExamplesBulk: () => postTrainingExamplesBulk,
|
|
290
292
|
postTrainingExamplesBulkDelete: () => postTrainingExamplesBulkDelete,
|
|
293
|
+
postTrainingExamplesSearch: () => postTrainingExamplesSearch,
|
|
291
294
|
postUserProfiles: () => postUserProfiles,
|
|
292
295
|
postUsersAuthConfirm: () => postUsersAuthConfirm,
|
|
293
296
|
postUsersAuthLogin: () => postUsersAuthLogin,
|
|
@@ -2374,6 +2377,15 @@ var patchApiKeysById = (options) => (options.client ?? client).patch({
|
|
|
2374
2377
|
...options.headers
|
|
2375
2378
|
}
|
|
2376
2379
|
});
|
|
2380
|
+
var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
|
|
2381
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2382
|
+
url: "/training_examples/search",
|
|
2383
|
+
...options,
|
|
2384
|
+
headers: {
|
|
2385
|
+
"Content-Type": "application/vnd.api+json",
|
|
2386
|
+
...options.headers
|
|
2387
|
+
}
|
|
2388
|
+
});
|
|
2377
2389
|
var getAiConversations = (options) => (options.client ?? client).get({
|
|
2378
2390
|
querySerializer: {
|
|
2379
2391
|
parameters: {
|
|
@@ -2520,6 +2532,16 @@ var getPlansSlugBySlug = (options) => (options.client ?? client).get({
|
|
|
2520
2532
|
url: "/plans/slug/{slug}",
|
|
2521
2533
|
...options
|
|
2522
2534
|
});
|
|
2535
|
+
var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
|
|
2536
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2537
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2538
|
+
url: "/extraction/documents/{id}/restore",
|
|
2539
|
+
...options,
|
|
2540
|
+
headers: {
|
|
2541
|
+
"Content-Type": "application/vnd.api+json",
|
|
2542
|
+
...options.headers
|
|
2543
|
+
}
|
|
2544
|
+
});
|
|
2523
2545
|
var getLlmAnalyticsById = (options) => (options.client ?? client).get({
|
|
2524
2546
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2525
2547
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3108,6 +3130,18 @@ var getObjectsById = (options) => (options.client ?? client).get({
|
|
|
3108
3130
|
url: "/objects/{id}",
|
|
3109
3131
|
...options
|
|
3110
3132
|
});
|
|
3133
|
+
var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
|
|
3134
|
+
querySerializer: {
|
|
3135
|
+
parameters: {
|
|
3136
|
+
filter: { object: { style: "form" } },
|
|
3137
|
+
page: { object: { style: "form" } },
|
|
3138
|
+
fields: { object: { style: "form" } }
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
3142
|
+
url: "/extraction/documents/workspace/{workspace_id}/excluded",
|
|
3143
|
+
...options
|
|
3144
|
+
});
|
|
3111
3145
|
var getWebhookConfigs = (options) => (options.client ?? client).get({
|
|
3112
3146
|
querySerializer: {
|
|
3113
3147
|
parameters: {
|
|
@@ -3803,6 +3837,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3803
3837
|
getExtractionDocumentsByIdStatus,
|
|
3804
3838
|
getExtractionDocumentsByIdView,
|
|
3805
3839
|
getExtractionDocumentsWorkspaceByWorkspaceId,
|
|
3840
|
+
getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
|
|
3806
3841
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
3807
3842
|
getExtractionResultsById,
|
|
3808
3843
|
getExtractionResultsDocumentByDocumentId,
|
|
@@ -3893,6 +3928,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3893
3928
|
patchExtractionDocumentsByIdExclude,
|
|
3894
3929
|
patchExtractionDocumentsByIdFinishUpload,
|
|
3895
3930
|
patchExtractionDocumentsByIdInclude,
|
|
3931
|
+
patchExtractionDocumentsByIdRestore,
|
|
3896
3932
|
patchExtractionDocumentsByIdStatus,
|
|
3897
3933
|
patchExtractionResultsByIdCorrections,
|
|
3898
3934
|
patchExtractionResultsByIdRegenerate,
|
|
@@ -3984,6 +4020,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3984
4020
|
postTrainingExamples,
|
|
3985
4021
|
postTrainingExamplesBulk,
|
|
3986
4022
|
postTrainingExamplesBulkDelete,
|
|
4023
|
+
postTrainingExamplesSearch,
|
|
3987
4024
|
postUserProfiles,
|
|
3988
4025
|
postUsersAuthConfirm,
|
|
3989
4026
|
postUsersAuthLogin,
|
package/dist/index.mjs
CHANGED
|
@@ -2062,6 +2062,15 @@ var patchApiKeysById = (options) => (options.client ?? client).patch({
|
|
|
2062
2062
|
...options.headers
|
|
2063
2063
|
}
|
|
2064
2064
|
});
|
|
2065
|
+
var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
|
|
2066
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2067
|
+
url: "/training_examples/search",
|
|
2068
|
+
...options,
|
|
2069
|
+
headers: {
|
|
2070
|
+
"Content-Type": "application/vnd.api+json",
|
|
2071
|
+
...options.headers
|
|
2072
|
+
}
|
|
2073
|
+
});
|
|
2065
2074
|
var getAiConversations = (options) => (options.client ?? client).get({
|
|
2066
2075
|
querySerializer: {
|
|
2067
2076
|
parameters: {
|
|
@@ -2208,6 +2217,16 @@ var getPlansSlugBySlug = (options) => (options.client ?? client).get({
|
|
|
2208
2217
|
url: "/plans/slug/{slug}",
|
|
2209
2218
|
...options
|
|
2210
2219
|
});
|
|
2220
|
+
var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
|
|
2221
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2222
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2223
|
+
url: "/extraction/documents/{id}/restore",
|
|
2224
|
+
...options,
|
|
2225
|
+
headers: {
|
|
2226
|
+
"Content-Type": "application/vnd.api+json",
|
|
2227
|
+
...options.headers
|
|
2228
|
+
}
|
|
2229
|
+
});
|
|
2211
2230
|
var getLlmAnalyticsById = (options) => (options.client ?? client).get({
|
|
2212
2231
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2213
2232
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2796,6 +2815,18 @@ var getObjectsById = (options) => (options.client ?? client).get({
|
|
|
2796
2815
|
url: "/objects/{id}",
|
|
2797
2816
|
...options
|
|
2798
2817
|
});
|
|
2818
|
+
var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
|
|
2819
|
+
querySerializer: {
|
|
2820
|
+
parameters: {
|
|
2821
|
+
filter: { object: { style: "form" } },
|
|
2822
|
+
page: { object: { style: "form" } },
|
|
2823
|
+
fields: { object: { style: "form" } }
|
|
2824
|
+
}
|
|
2825
|
+
},
|
|
2826
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2827
|
+
url: "/extraction/documents/workspace/{workspace_id}/excluded",
|
|
2828
|
+
...options
|
|
2829
|
+
});
|
|
2799
2830
|
var getWebhookConfigs = (options) => (options.client ?? client).get({
|
|
2800
2831
|
querySerializer: {
|
|
2801
2832
|
parameters: {
|
|
@@ -3490,6 +3521,7 @@ export {
|
|
|
3490
3521
|
getExtractionDocumentsByIdStatus,
|
|
3491
3522
|
getExtractionDocumentsByIdView,
|
|
3492
3523
|
getExtractionDocumentsWorkspaceByWorkspaceId,
|
|
3524
|
+
getExtractionDocumentsWorkspaceByWorkspaceIdExcluded,
|
|
3493
3525
|
getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,
|
|
3494
3526
|
getExtractionResultsById,
|
|
3495
3527
|
getExtractionResultsDocumentByDocumentId,
|
|
@@ -3580,6 +3612,7 @@ export {
|
|
|
3580
3612
|
patchExtractionDocumentsByIdExclude,
|
|
3581
3613
|
patchExtractionDocumentsByIdFinishUpload,
|
|
3582
3614
|
patchExtractionDocumentsByIdInclude,
|
|
3615
|
+
patchExtractionDocumentsByIdRestore,
|
|
3583
3616
|
patchExtractionDocumentsByIdStatus,
|
|
3584
3617
|
patchExtractionResultsByIdCorrections,
|
|
3585
3618
|
patchExtractionResultsByIdRegenerate,
|
|
@@ -3671,6 +3704,7 @@ export {
|
|
|
3671
3704
|
postTrainingExamples,
|
|
3672
3705
|
postTrainingExamplesBulk,
|
|
3673
3706
|
postTrainingExamplesBulkDelete,
|
|
3707
|
+
postTrainingExamplesSearch,
|
|
3674
3708
|
postUserProfiles,
|
|
3675
3709
|
postUsersAuthConfirm,
|
|
3676
3710
|
postUsersAuthLogin,
|
package/package.json
CHANGED