@gpt-core/client 0.8.21 → 0.8.23
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 +93 -1
- package/dist/index.d.ts +93 -1
- package/dist/index.js +8 -0
- package/dist/index.mjs +7 -0
- package/llms.txt +1 -0
- package/package.json +1 -1
- package/dist/index.cjs +0 -4043
package/dist/index.js
CHANGED
|
@@ -89,6 +89,7 @@ __export(index_exports, {
|
|
|
89
89
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
90
90
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
91
91
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
92
|
+
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
92
93
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
93
94
|
getAiConversations: () => getAiConversations,
|
|
94
95
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -451,6 +452,7 @@ __export(sdk_gen_exports, {
|
|
|
451
452
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
452
453
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
453
454
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
455
|
+
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
454
456
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
455
457
|
getAiConversations: () => getAiConversations,
|
|
456
458
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -2974,6 +2976,11 @@ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
|
|
|
2974
2976
|
...options.headers
|
|
2975
2977
|
}
|
|
2976
2978
|
});
|
|
2979
|
+
var getAgentsByIdUsage = (options) => (options.client ?? client).get({
|
|
2980
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2981
|
+
url: "/agents/{id}/usage",
|
|
2982
|
+
...options
|
|
2983
|
+
});
|
|
2977
2984
|
var deleteApiKeysById = (options) => (options.client ?? client).delete({
|
|
2978
2985
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2979
2986
|
url: "/api_keys/{id}",
|
|
@@ -4597,6 +4604,7 @@ var index_default = gptCore;
|
|
|
4597
4604
|
getAgentsByIdSchemaVersions,
|
|
4598
4605
|
getAgentsByIdStats,
|
|
4599
4606
|
getAgentsByIdTrainingStats,
|
|
4607
|
+
getAgentsByIdUsage,
|
|
4600
4608
|
getAiChunksDocumentByDocumentId,
|
|
4601
4609
|
getAiConversations,
|
|
4602
4610
|
getAiConversationsById,
|
package/dist/index.mjs
CHANGED
|
@@ -43,6 +43,7 @@ __export(sdk_gen_exports, {
|
|
|
43
43
|
getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
|
|
44
44
|
getAgentsByIdStats: () => getAgentsByIdStats,
|
|
45
45
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
46
|
+
getAgentsByIdUsage: () => getAgentsByIdUsage,
|
|
46
47
|
getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
|
|
47
48
|
getAiConversations: () => getAiConversations,
|
|
48
49
|
getAiConversationsById: () => getAiConversationsById,
|
|
@@ -2566,6 +2567,11 @@ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
|
|
|
2566
2567
|
...options.headers
|
|
2567
2568
|
}
|
|
2568
2569
|
});
|
|
2570
|
+
var getAgentsByIdUsage = (options) => (options.client ?? client).get({
|
|
2571
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2572
|
+
url: "/agents/{id}/usage",
|
|
2573
|
+
...options
|
|
2574
|
+
});
|
|
2569
2575
|
var deleteApiKeysById = (options) => (options.client ?? client).delete({
|
|
2570
2576
|
security: [{ scheme: "bearer", type: "http" }],
|
|
2571
2577
|
url: "/api_keys/{id}",
|
|
@@ -4189,6 +4195,7 @@ export {
|
|
|
4189
4195
|
getAgentsByIdSchemaVersions,
|
|
4190
4196
|
getAgentsByIdStats,
|
|
4191
4197
|
getAgentsByIdTrainingStats,
|
|
4198
|
+
getAgentsByIdUsage,
|
|
4192
4199
|
getAiChunksDocumentByDocumentId,
|
|
4193
4200
|
getAiConversations,
|
|
4194
4201
|
getAiConversationsById,
|
package/llms.txt
CHANGED
|
@@ -37,6 +37,7 @@ client.setConfig({
|
|
|
37
37
|
- `getAgentsByIdSchemaVersions()` - Get schema versions
|
|
38
38
|
- `getAgentsByIdStats()` - Get stats
|
|
39
39
|
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
40
|
+
- `getAgentsByIdUsage()` - Get usage
|
|
40
41
|
- `getAgentVersions()` - List agent versions
|
|
41
42
|
- `getAgentVersionsById()` - Get agent versions
|
|
42
43
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
package/package.json
CHANGED