@gpt-core/client 0.8.27 → 0.9.0
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 +790 -1212
- package/dist/index.d.ts +790 -1212
- package/dist/index.js +50 -101
- package/dist/index.mjs +46 -93
- package/llms.txt +2 -24
- package/package.json +11 -11
- package/dist/index.cjs +0 -4043
package/llms.txt
CHANGED
|
@@ -38,7 +38,6 @@ client.setConfig({
|
|
|
38
38
|
- `getAgentsByIdStats()` - Get stats
|
|
39
39
|
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
40
40
|
- `getAgentsByIdUsage()` - Get usage
|
|
41
|
-
- `getAgentsUsage()` - List usage
|
|
42
41
|
- `getAgentVersions()` - List agent versions
|
|
43
42
|
- `getAgentVersionsById()` - Get agent versions
|
|
44
43
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
@@ -56,9 +55,6 @@ client.setConfig({
|
|
|
56
55
|
- `postAgentsImport()` - Create import
|
|
57
56
|
- `postAgentsPredict()` - Create predict
|
|
58
57
|
- `postAgentVersions()` - Create agent versions
|
|
59
|
-
- `postAgentVersionsByIdAddSystemField()` - Create add system field
|
|
60
|
-
- `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
|
|
61
|
-
- `postAgentVersionsByIdSetSystemFields()` - Create set system fields
|
|
62
58
|
- `patchAgentsById()` - Update agents
|
|
63
59
|
- `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
|
|
64
60
|
- `deleteAgentsById()` - Delete agents
|
|
@@ -130,7 +126,7 @@ client.setConfig({
|
|
|
130
126
|
- `getPlansById()` - Get plans
|
|
131
127
|
- `getPlansSlugBySlug()` - Get slug
|
|
132
128
|
- `getWallet()` - List wallet
|
|
133
|
-
- `
|
|
129
|
+
- `getWalletInvoices()` - List invoices
|
|
134
130
|
- `postPayments()` - Create payments
|
|
135
131
|
- `patchWalletAddons()` - Update addons
|
|
136
132
|
- `patchWalletAddonsByAddonSlugCancel()` - Update cancel
|
|
@@ -261,10 +257,6 @@ client.setConfig({
|
|
|
261
257
|
- `patchInvitationsByIdResend()` - Update resend
|
|
262
258
|
- `patchInvitationsByIdRevoke()` - Update revoke
|
|
263
259
|
|
|
264
|
-
## Invoice
|
|
265
|
-
|
|
266
|
-
- `getWalletInvoices()` - List invoices
|
|
267
|
-
|
|
268
260
|
## Knowledge Graph
|
|
269
261
|
|
|
270
262
|
- `getAiGraphEdges()` - List edges
|
|
@@ -319,21 +311,10 @@ client.setConfig({
|
|
|
319
311
|
|
|
320
312
|
- `postDocumentsBulkDelete()` - Create bulk delete
|
|
321
313
|
|
|
322
|
-
## Payment method
|
|
323
|
-
|
|
324
|
-
- `getPayment-methods()` - List payment methods
|
|
325
|
-
- `getPayment-methodsById()` - Get payment methods
|
|
326
|
-
- `postPayment-methods()` - Create payment methods
|
|
327
|
-
- `postPayment-methodsTokenize()` - Create tokenize
|
|
328
|
-
- `patchPayment-methodsById()` - Update payment methods
|
|
329
|
-
- `patchPayment-methodsByIdDefault()` - Update default
|
|
330
|
-
- `deletePayment-methodsById()` - Delete payment methods
|
|
331
|
-
|
|
332
314
|
## Permission
|
|
333
315
|
|
|
334
316
|
- `getPermissions()` - List permissions
|
|
335
317
|
- `getPermissionsById()` - Get permissions
|
|
336
|
-
- `getPermissionsPresets()` - List presets
|
|
337
318
|
|
|
338
319
|
## Permission meta
|
|
339
320
|
|
|
@@ -341,6 +322,7 @@ client.setConfig({
|
|
|
341
322
|
|
|
342
323
|
## Permission preset
|
|
343
324
|
|
|
325
|
+
- `getPermissionsPresets()` - List presets
|
|
344
326
|
- `getPermissionsPresetsById()` - Get presets
|
|
345
327
|
|
|
346
328
|
## Presigned url
|
|
@@ -453,7 +435,6 @@ client.setConfig({
|
|
|
453
435
|
|
|
454
436
|
## Training analytics
|
|
455
437
|
|
|
456
|
-
- `getWorkspacesAnalytics-batch()` - List analytics batch
|
|
457
438
|
- `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
|
|
458
439
|
|
|
459
440
|
## Transaction
|
|
@@ -484,9 +465,6 @@ client.setConfig({
|
|
|
484
465
|
- `postUsersAuthResend-confirmation()` - Create resend confirmation
|
|
485
466
|
- `postUsersRegisterIsv()` - Create register isv
|
|
486
467
|
- `patchUserProfilesById()` - Update user profiles
|
|
487
|
-
- `patchUserProfilesByIdAccept-tos()` - Update accept tos
|
|
488
|
-
- `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
|
|
489
|
-
- `patchUserProfilesByIdDismiss-welcome()` - Update dismiss welcome
|
|
490
468
|
- `patchUsersAuthPasswordChange()` - Update change
|
|
491
469
|
- `patchUsersAuthReset-password()` - Update reset password
|
|
492
470
|
- `patchUsersById()` - Update admin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
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
|
+
}
|