@gpt-core/client 0.7.54 → 0.7.60

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
@@ -201,6 +201,7 @@ __export(index_exports, {
201
201
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
202
202
  patchBucketsById: () => patchBucketsById,
203
203
  patchConfigsByKey: () => patchConfigsByKey,
204
+ patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
204
205
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
205
206
  patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
206
207
  patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
@@ -471,6 +472,7 @@ __export(sdk_gen_exports, {
471
472
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
472
473
  patchBucketsById: () => patchBucketsById,
473
474
  patchConfigsByKey: () => patchConfigsByKey,
475
+ patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
474
476
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
475
477
  patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
476
478
  patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
@@ -1441,6 +1443,15 @@ var postThreads = (options) => (options.client ?? client).post({
1441
1443
  ...options.headers
1442
1444
  }
1443
1445
  });
1446
+ var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client).patch({
1447
+ security: [{ scheme: "bearer", type: "http" }],
1448
+ url: "/extraction/documents/{id}/cancel",
1449
+ ...options,
1450
+ headers: {
1451
+ "Content-Type": "application/vnd.api+json",
1452
+ ...options.headers
1453
+ }
1454
+ });
1444
1455
  var getExtractionSchemasWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1445
1456
  security: [{ scheme: "bearer", type: "http" }],
1446
1457
  url: "/extraction/schemas/workspace/{workspace_id}",
@@ -3938,6 +3949,7 @@ var index_default = gptCore;
3938
3949
  patchApplicationsByIdGrantCredits,
3939
3950
  patchBucketsById,
3940
3951
  patchConfigsByKey,
3952
+ patchExtractionDocumentsByIdCancel,
3941
3953
  patchExtractionDocumentsByIdDismiss,
3942
3954
  patchExtractionDocumentsByIdDismissTraining,
3943
3955
  patchExtractionDocumentsByIdExclude,
package/dist/index.mjs CHANGED
@@ -151,6 +151,7 @@ __export(sdk_gen_exports, {
151
151
  patchApplicationsByIdGrantCredits: () => patchApplicationsByIdGrantCredits,
152
152
  patchBucketsById: () => patchBucketsById,
153
153
  patchConfigsByKey: () => patchConfigsByKey,
154
+ patchExtractionDocumentsByIdCancel: () => patchExtractionDocumentsByIdCancel,
154
155
  patchExtractionDocumentsByIdDismiss: () => patchExtractionDocumentsByIdDismiss,
155
156
  patchExtractionDocumentsByIdDismissTraining: () => patchExtractionDocumentsByIdDismissTraining,
156
157
  patchExtractionDocumentsByIdExclude: () => patchExtractionDocumentsByIdExclude,
@@ -1121,6 +1122,15 @@ var postThreads = (options) => (options.client ?? client).post({
1121
1122
  ...options.headers
1122
1123
  }
1123
1124
  });
1125
+ var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client).patch({
1126
+ security: [{ scheme: "bearer", type: "http" }],
1127
+ url: "/extraction/documents/{id}/cancel",
1128
+ ...options,
1129
+ headers: {
1130
+ "Content-Type": "application/vnd.api+json",
1131
+ ...options.headers
1132
+ }
1133
+ });
1124
1134
  var getExtractionSchemasWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1125
1135
  security: [{ scheme: "bearer", type: "http" }],
1126
1136
  url: "/extraction/schemas/workspace/{workspace_id}",
@@ -3618,6 +3628,7 @@ export {
3618
3628
  patchApplicationsByIdGrantCredits,
3619
3629
  patchBucketsById,
3620
3630
  patchConfigsByKey,
3631
+ patchExtractionDocumentsByIdCancel,
3621
3632
  patchExtractionDocumentsByIdDismiss,
3622
3633
  patchExtractionDocumentsByIdDismissTraining,
3623
3634
  patchExtractionDocumentsByIdExclude,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.54",
3
+ "version": "0.7.60",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",