@gpt-core/client 0.8.23 → 0.8.24
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 +76 -104
- package/dist/index.d.ts +76 -104
- package/dist/index.js +0 -8
- package/dist/index.mjs +0 -7
- package/llms.txt +1 -2
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -89,7 +89,6 @@ __export(index_exports, {
|
|
|
89
89
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
90
90
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
91
91
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
92
|
-
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
93
92
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
94
93
|
getAiConversations: () => getAiConversations,
|
|
95
94
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -452,7 +451,6 @@ __export(sdk_gen_exports, {
|
|
|
452
451
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
453
452
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
454
453
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
455
|
-
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
456
454
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
457
455
|
getAiConversations: () => getAiConversations,
|
|
458
456
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -2976,11 +2974,6 @@ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
|
|
|
2976
2974
|
...options.headers
|
|
2977
2975
|
}
|
|
2978
2976
|
});
|
|
2979
|
-
var getAgentsByIdUsage = (options) => (options.client ?? client).get({
|
|
2980
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
2981
|
-
url: "/agents/{id}/usage",
|
|
2982
|
-
...options
|
|
2983
|
-
});
|
|
2984
2977
|
var deleteApiKeysById = (options) => (options.client ?? client).delete({
|
|
2985
2978
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2986
2979
|
url: "/api_keys/{id}",
|
|
@@ -4604,7 +4597,6 @@ var index_default = gptCore;
|
|
|
4604
4597
|
getAgentsByIdSchemaVersions,
|
|
4605
4598
|
getAgentsByIdStats,
|
|
4606
4599
|
getAgentsByIdTrainingStats,
|
|
4607
|
-
getAgentsByIdUsage,
|
|
4608
4600
|
getAiChunksDocumentByDocumentId,
|
|
4609
4601
|
getAiConversations,
|
|
4610
4602
|
getAiConversationsById,
|
package/dist/index.mjs
CHANGED
|
@@ -43,7 +43,6 @@ __export(sdk_gen_exports, {
|
|
|
43
43
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
44
44
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
45
45
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
46
|
-
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
47
46
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
48
47
|
getAiConversations: () => getAiConversations,
|
|
49
48
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -2567,11 +2566,6 @@ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
|
|
|
2567
2566
|
...options.headers
|
|
2568
2567
|
}
|
|
2569
2568
|
});
|
|
2570
|
-
var getAgentsByIdUsage = (options) => (options.client ?? client).get({
|
|
2571
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
2572
|
-
url: "/agents/{id}/usage",
|
|
2573
|
-
...options
|
|
2574
|
-
});
|
|
2575
2569
|
var deleteApiKeysById = (options) => (options.client ?? client).delete({
|
|
2576
2570
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2577
2571
|
url: "/api_keys/{id}",
|
|
@@ -4195,7 +4189,6 @@ export {
|
|
|
4195
4189
|
getAgentsByIdSchemaVersions,
|
|
4196
4190
|
getAgentsByIdStats,
|
|
4197
4191
|
getAgentsByIdTrainingStats,
|
|
4198
|
-
getAgentsByIdUsage,
|
|
4199
4192
|
getAiChunksDocumentByDocumentId,
|
|
4200
4193
|
getAiConversations,
|
|
4201
4194
|
getAiConversationsById,
|
package/llms.txt
CHANGED
|
@@ -37,7 +37,6 @@ client.setConfig({
|
|
|
37
37
|
- `getAgentsByIdSchemaVersions()` - Get schema versions
|
|
38
38
|
- `getAgentsByIdStats()` - Get stats
|
|
39
39
|
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
40
|
-
- `getAgentsByIdUsage()` - Get usage
|
|
41
40
|
- `getAgentVersions()` - List agent versions
|
|
42
41
|
- `getAgentVersionsById()` - Get agent versions
|
|
43
42
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
@@ -315,6 +314,7 @@ client.setConfig({
|
|
|
315
314
|
|
|
316
315
|
- `getPermissions()` - List permissions
|
|
317
316
|
- `getPermissionsById()` - Get permissions
|
|
317
|
+
- `getPermissionsPresets()` - List presets
|
|
318
318
|
|
|
319
319
|
## Permission meta
|
|
320
320
|
|
|
@@ -322,7 +322,6 @@ client.setConfig({
|
|
|
322
322
|
|
|
323
323
|
## Permission preset
|
|
324
324
|
|
|
325
|
-
- `getPermissionsPresets()` - List presets
|
|
326
325
|
- `getPermissionsPresetsById()` - Get presets
|
|
327
326
|
|
|
328
327
|
## Presigned url
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.24",
|
|
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",
|
|
@@ -52,15 +52,6 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"generate": "openapi-ts",
|
|
57
|
-
"typecheck": "tsc --noEmit",
|
|
58
|
-
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
59
|
-
"test": "vitest run",
|
|
60
|
-
"test:watch": "vitest",
|
|
61
|
-
"test:ui": "vitest --ui",
|
|
62
|
-
"test:coverage": "vitest run --coverage"
|
|
63
|
-
},
|
|
64
55
|
"dependencies": {
|
|
65
56
|
"eventsource-parser": "^3.0.6",
|
|
66
57
|
"zod": "^3.25.76"
|
|
@@ -72,5 +63,14 @@
|
|
|
72
63
|
"tsup": "^8.5.1",
|
|
73
64
|
"typescript": "^5.9.3",
|
|
74
65
|
"vitest": "^4.0.15"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"generate": "openapi-ts",
|
|
69
|
+
"typecheck": "tsc --noEmit",
|
|
70
|
+
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
71
|
+
"test": "vitest run",
|
|
72
|
+
"test:watch": "vitest",
|
|
73
|
+
"test:ui": "vitest --ui",
|
|
74
|
+
"test:coverage": "vitest run --coverage"
|
|
75
75
|
}
|
|
76
|
-
}
|
|
76
|
+
}
|