@gpt-core/client 0.9.13 → 0.9.15
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 +14656 -2176
- package/dist/index.d.ts +14656 -2176
- package/dist/index.js +121 -777
- package/dist/index.mjs +109 -771
- package/llms.txt +48 -9
- package/package.json +11 -11
package/llms.txt
CHANGED
|
@@ -22,10 +22,23 @@ client.setConfig({
|
|
|
22
22
|
});
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
## Agent stats
|
|
26
|
+
|
|
27
|
+
- `getAgentsByIdStats()` - Get stats
|
|
28
|
+
|
|
25
29
|
## Agent test result
|
|
26
30
|
|
|
27
31
|
- `postAgentTestResults()` - Create agent test results
|
|
28
32
|
|
|
33
|
+
## Agent training stats
|
|
34
|
+
|
|
35
|
+
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
36
|
+
|
|
37
|
+
## Agent usage
|
|
38
|
+
|
|
39
|
+
- `getAgentsByIdUsage()` - Get usage
|
|
40
|
+
- `getAgentsUsage()` - List usage
|
|
41
|
+
|
|
29
42
|
## Agent version comparison
|
|
30
43
|
|
|
31
44
|
- `postAgentVersionComparisons()` - Create agent version comparisons
|
|
@@ -35,9 +48,6 @@ client.setConfig({
|
|
|
35
48
|
- `getAgents()` - List agents
|
|
36
49
|
- `getAgentsById()` - Get agents
|
|
37
50
|
- `getAgentsByIdSchemaVersions()` - Get schema versions
|
|
38
|
-
- `getAgentsByIdStats()` - Get stats
|
|
39
|
-
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
40
|
-
- `getAgentsByIdUsage()` - Get usage
|
|
41
51
|
- `getAgentVersions()` - List agent versions
|
|
42
52
|
- `getAgentVersionsById()` - Get agent versions
|
|
43
53
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
@@ -55,6 +65,9 @@ client.setConfig({
|
|
|
55
65
|
- `postAgentsImport()` - Create import
|
|
56
66
|
- `postAgentsPredict()` - Create predict
|
|
57
67
|
- `postAgentVersions()` - Create agent versions
|
|
68
|
+
- `postAgentVersionsByIdAddSystemField()` - Create add system field
|
|
69
|
+
- `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
|
|
70
|
+
- `postAgentVersionsByIdSetSystemFields()` - Create set system fields
|
|
58
71
|
- `patchAgentsById()` - Update agents
|
|
59
72
|
- `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
|
|
60
73
|
- `deleteAgentsById()` - Delete agents
|
|
@@ -126,7 +139,7 @@ client.setConfig({
|
|
|
126
139
|
- `getPlansById()` - Get plans
|
|
127
140
|
- `getPlansSlugBySlug()` - Get slug
|
|
128
141
|
- `getWallet()` - List wallet
|
|
129
|
-
- `
|
|
142
|
+
- `getWalletPlanPreview()` - List preview
|
|
130
143
|
- `postPayments()` - Create payments
|
|
131
144
|
- `patchWalletAddons()` - Update addons
|
|
132
145
|
- `patchWalletAddonsByAddonSlugCancel()` - Update cancel
|
|
@@ -222,12 +235,14 @@ client.setConfig({
|
|
|
222
235
|
|
|
223
236
|
## Extraction Results
|
|
224
237
|
|
|
238
|
+
- `getExtractionResults()` - List results
|
|
225
239
|
- `getExtractionResultsById()` - Get results
|
|
226
240
|
- `getExtractionResultsDocumentByDocumentId()` - Get document
|
|
227
241
|
- `getExtractionResultsWorkspaceByWorkspaceId()` - Get workspace
|
|
228
|
-
- `
|
|
229
|
-
- `patchExtractionResultsByIdCorrections()` - Update corrections
|
|
242
|
+
- `patchExtractionResultsById()` - Update results
|
|
230
243
|
- `patchExtractionResultsByIdRegenerate()` - Update regenerate
|
|
244
|
+
- `patchExtractionResultsByIdSaveCorrections()` - Update save corrections
|
|
245
|
+
- `deleteExtractionResultsById()` - Delete results
|
|
231
246
|
|
|
232
247
|
## Field mapping confirmation
|
|
233
248
|
|
|
@@ -257,6 +272,10 @@ client.setConfig({
|
|
|
257
272
|
- `patchInvitationsByIdResend()` - Update resend
|
|
258
273
|
- `patchInvitationsByIdRevoke()` - Update revoke
|
|
259
274
|
|
|
275
|
+
## Invoice
|
|
276
|
+
|
|
277
|
+
- `getWalletInvoices()` - List invoices
|
|
278
|
+
|
|
260
279
|
## Knowledge Graph
|
|
261
280
|
|
|
262
281
|
- `getAiGraphEdges()` - List edges
|
|
@@ -311,10 +330,21 @@ client.setConfig({
|
|
|
311
330
|
|
|
312
331
|
- `postDocumentsBulkDelete()` - Create bulk delete
|
|
313
332
|
|
|
333
|
+
## Payment method
|
|
334
|
+
|
|
335
|
+
- `getPayment-methods()` - List payment methods
|
|
336
|
+
- `getPayment-methodsById()` - Get payment methods
|
|
337
|
+
- `postPayment-methods()` - Create payment methods
|
|
338
|
+
- `postPayment-methodsTokenize()` - Create tokenize
|
|
339
|
+
- `patchPayment-methodsById()` - Update payment methods
|
|
340
|
+
- `patchPayment-methodsByIdDefault()` - Update default
|
|
341
|
+
- `deletePayment-methodsById()` - Delete payment methods
|
|
342
|
+
|
|
314
343
|
## Permission
|
|
315
344
|
|
|
316
345
|
- `getPermissions()` - List permissions
|
|
317
346
|
- `getPermissionsById()` - Get permissions
|
|
347
|
+
- `getPermissionsPresets()` - List presets
|
|
318
348
|
|
|
319
349
|
## Permission meta
|
|
320
350
|
|
|
@@ -322,7 +352,6 @@ client.setConfig({
|
|
|
322
352
|
|
|
323
353
|
## Permission preset
|
|
324
354
|
|
|
325
|
-
- `getPermissionsPresets()` - List presets
|
|
326
355
|
- `getPermissionsPresetsById()` - Get presets
|
|
327
356
|
|
|
328
357
|
## Presigned url
|
|
@@ -411,13 +440,19 @@ client.setConfig({
|
|
|
411
440
|
- `patchTenantsById()` - Update tenants
|
|
412
441
|
- `deleteTenantsById()` - Delete tenants
|
|
413
442
|
|
|
443
|
+
## Thread stats
|
|
444
|
+
|
|
445
|
+
- `getThreadsStats()` - List stats
|
|
446
|
+
|
|
447
|
+
## Thread workspace stats
|
|
448
|
+
|
|
449
|
+
- `getThreadsWorkspace-stats()` - List workspace stats
|
|
450
|
+
|
|
414
451
|
## Threads
|
|
415
452
|
|
|
416
453
|
- `getThreads()` - List threads
|
|
417
454
|
- `getThreadsById()` - Get threads
|
|
418
455
|
- `getThreadsSearch()` - List search
|
|
419
|
-
- `getThreadsStats()` - List stats
|
|
420
|
-
- `getThreadsWorkspace-stats()` - List workspace stats
|
|
421
456
|
- `postThreads()` - Create threads
|
|
422
457
|
- `postThreadsActive()` - Create active
|
|
423
458
|
- `postThreadsByIdExport()` - Create export
|
|
@@ -435,6 +470,7 @@ client.setConfig({
|
|
|
435
470
|
|
|
436
471
|
## Training analytics
|
|
437
472
|
|
|
473
|
+
- `getWorkspacesAnalytics-batch()` - List analytics batch
|
|
438
474
|
- `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
|
|
439
475
|
|
|
440
476
|
## Transaction
|
|
@@ -465,6 +501,9 @@ client.setConfig({
|
|
|
465
501
|
- `postUsersAuthResend-confirmation()` - Create resend confirmation
|
|
466
502
|
- `postUsersRegisterIsv()` - Create register isv
|
|
467
503
|
- `patchUserProfilesById()` - Update user profiles
|
|
504
|
+
- `patchUserProfilesByIdAccept-tos()` - Update accept tos
|
|
505
|
+
- `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
|
|
506
|
+
- `patchUserProfilesByIdDismiss-welcome()` - Update dismiss welcome
|
|
468
507
|
- `patchUsersAuthPasswordChange()` - Update change
|
|
469
508
|
- `patchUsersAuthReset-password()` - Update reset password
|
|
470
509
|
- `patchUsersById()` - Update admin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/client",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.15",
|
|
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
|
+
}
|