@gpt-core/client 0.8.24 → 0.8.26
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 +2924 -9642
- package/dist/index.d.ts +2924 -9642
- package/dist/index.js +882 -0
- package/dist/index.mjs +866 -0
- package/llms.txt +23 -1
- package/package.json +11 -11
package/llms.txt
CHANGED
|
@@ -37,6 +37,8 @@ client.setConfig({
|
|
|
37
37
|
- `getAgentsByIdSchemaVersions()` - Get schema versions
|
|
38
38
|
- `getAgentsByIdStats()` - Get stats
|
|
39
39
|
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
40
|
+
- `getAgentsByIdUsage()` - Get usage
|
|
41
|
+
- `getAgentsUsage()` - List usage
|
|
40
42
|
- `getAgentVersions()` - List agent versions
|
|
41
43
|
- `getAgentVersionsById()` - Get agent versions
|
|
42
44
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
@@ -54,6 +56,9 @@ client.setConfig({
|
|
|
54
56
|
- `postAgentsImport()` - Create import
|
|
55
57
|
- `postAgentsPredict()` - Create predict
|
|
56
58
|
- `postAgentVersions()` - Create agent versions
|
|
59
|
+
- `postAgentVersionsByIdAddSystemField()` - Create add system field
|
|
60
|
+
- `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
|
|
61
|
+
- `postAgentVersionsByIdSetSystemFields()` - Create set system fields
|
|
57
62
|
- `patchAgentsById()` - Update agents
|
|
58
63
|
- `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
|
|
59
64
|
- `deleteAgentsById()` - Delete agents
|
|
@@ -125,7 +130,7 @@ client.setConfig({
|
|
|
125
130
|
- `getPlansById()` - Get plans
|
|
126
131
|
- `getPlansSlugBySlug()` - Get slug
|
|
127
132
|
- `getWallet()` - List wallet
|
|
128
|
-
- `
|
|
133
|
+
- `getWalletPlanPreview()` - List preview
|
|
129
134
|
- `postPayments()` - Create payments
|
|
130
135
|
- `patchWalletAddons()` - Update addons
|
|
131
136
|
- `patchWalletAddonsByAddonSlugCancel()` - Update cancel
|
|
@@ -256,6 +261,10 @@ client.setConfig({
|
|
|
256
261
|
- `patchInvitationsByIdResend()` - Update resend
|
|
257
262
|
- `patchInvitationsByIdRevoke()` - Update revoke
|
|
258
263
|
|
|
264
|
+
## Invoice
|
|
265
|
+
|
|
266
|
+
- `getWalletInvoices()` - List invoices
|
|
267
|
+
|
|
259
268
|
## Knowledge Graph
|
|
260
269
|
|
|
261
270
|
- `getAiGraphEdges()` - List edges
|
|
@@ -310,6 +319,15 @@ client.setConfig({
|
|
|
310
319
|
|
|
311
320
|
- `postDocumentsBulkDelete()` - Create bulk delete
|
|
312
321
|
|
|
322
|
+
## Payment method
|
|
323
|
+
|
|
324
|
+
- `getPayment-methods()` - List payment methods
|
|
325
|
+
- `getPayment-methodsById()` - Get payment methods
|
|
326
|
+
- `postPayment-methods()` - Create payment methods
|
|
327
|
+
- `patchPayment-methodsById()` - Update payment methods
|
|
328
|
+
- `patchPayment-methodsByIdDefault()` - Update default
|
|
329
|
+
- `deletePayment-methodsById()` - Delete payment methods
|
|
330
|
+
|
|
313
331
|
## Permission
|
|
314
332
|
|
|
315
333
|
- `getPermissions()` - List permissions
|
|
@@ -434,6 +452,7 @@ client.setConfig({
|
|
|
434
452
|
|
|
435
453
|
## Training analytics
|
|
436
454
|
|
|
455
|
+
- `getWorkspacesAnalytics-batch()` - List analytics batch
|
|
437
456
|
- `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
|
|
438
457
|
|
|
439
458
|
## Transaction
|
|
@@ -464,6 +483,9 @@ client.setConfig({
|
|
|
464
483
|
- `postUsersAuthResend-confirmation()` - Create resend confirmation
|
|
465
484
|
- `postUsersRegisterIsv()` - Create register isv
|
|
466
485
|
- `patchUserProfilesById()` - Update user profiles
|
|
486
|
+
- `patchUserProfilesByIdAccept-tos()` - Update accept tos
|
|
487
|
+
- `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
|
|
488
|
+
- `patchUserProfilesByIdDismiss-welcome()` - Update dismiss welcome
|
|
467
489
|
- `patchUsersAuthPasswordChange()` - Update change
|
|
468
490
|
- `patchUsersAuthReset-password()` - Update reset password
|
|
469
491
|
- `patchUsersById()` - Update admin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.26",
|
|
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,6 +52,15 @@
|
|
|
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
|
+
},
|
|
55
64
|
"dependencies": {
|
|
56
65
|
"eventsource-parser": "^3.0.6",
|
|
57
66
|
"zod": "^3.25.76"
|
|
@@ -63,14 +72,5 @@
|
|
|
63
72
|
"tsup": "^8.5.1",
|
|
64
73
|
"typescript": "^5.9.3",
|
|
65
74
|
"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
|
+
}
|