@gpt-core/admin 0.9.0 → 0.9.11
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 +1606 -0
- package/dist/index.d.mts +1315 -1052
- package/dist/index.d.ts +1315 -1052
- package/llms.txt +29 -2
- package/package.json +11 -11
package/llms.txt
CHANGED
|
@@ -47,6 +47,7 @@ client.setConfig({
|
|
|
47
47
|
- `getAgentsByIdStats()` - Get stats
|
|
48
48
|
- `getAgentsByIdTrainingStats()` - Get training stats
|
|
49
49
|
- `getAgentsByIdUsage()` - Get usage
|
|
50
|
+
- `getAgentsUsage()` - List usage
|
|
50
51
|
- `getAgentVersions()` - List agent versions
|
|
51
52
|
- `getAgentVersionsById()` - Get agent versions
|
|
52
53
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
@@ -63,6 +64,9 @@ client.setConfig({
|
|
|
63
64
|
- `postAgentsImport()` - Create import
|
|
64
65
|
- `postAgentsPredict()` - Create predict
|
|
65
66
|
- `postAgentVersions()` - Create agent versions
|
|
67
|
+
- `postAgentVersionsByIdAddSystemField()` - Create add system field
|
|
68
|
+
- `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
|
|
69
|
+
- `postAgentVersionsByIdSetSystemFields()` - Create set system fields
|
|
66
70
|
- `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
|
|
67
71
|
- `deleteAgentVersionsById()` - Delete agent versions
|
|
68
72
|
|
|
@@ -261,12 +265,14 @@ client.setConfig({
|
|
|
261
265
|
|
|
262
266
|
## Extraction Results
|
|
263
267
|
|
|
268
|
+
- `getExtractionResults()` - List results
|
|
264
269
|
- `getExtractionResultsById()` - Get results
|
|
265
270
|
- `getExtractionResultsDocumentByDocumentId()` - Get document
|
|
266
271
|
- `getExtractionResultsWorkspaceByWorkspaceId()` - Get workspace
|
|
267
|
-
- `
|
|
268
|
-
- `patchExtractionResultsByIdCorrections()` - Update corrections
|
|
272
|
+
- `patchExtractionResultsById()` - Update results
|
|
269
273
|
- `patchExtractionResultsByIdRegenerate()` - Update regenerate
|
|
274
|
+
- `patchExtractionResultsByIdSaveCorrections()` - Update save corrections
|
|
275
|
+
- `deleteExtractionResultsById()` - Delete results
|
|
270
276
|
|
|
271
277
|
## Field mapping confirmation
|
|
272
278
|
|
|
@@ -374,9 +380,16 @@ client.setConfig({
|
|
|
374
380
|
- `getPayment-methods()` - List payment methods
|
|
375
381
|
- `getPayment-methodsById()` - Get payment methods
|
|
376
382
|
- `postPayment-methods()` - Create payment methods
|
|
383
|
+
- `postPayment-methodsTokenize()` - Create tokenize
|
|
377
384
|
- `patchPayment-methodsById()` - Update payment methods
|
|
385
|
+
- `patchPayment-methodsByIdDefault()` - Update default
|
|
378
386
|
- `deletePayment-methodsById()` - Delete payment methods
|
|
379
387
|
|
|
388
|
+
## Permission
|
|
389
|
+
|
|
390
|
+
- `getPermissions()` - List permissions
|
|
391
|
+
- `getPermissionsPresets()` - List presets
|
|
392
|
+
|
|
380
393
|
## Presigned url
|
|
381
394
|
|
|
382
395
|
- `postDocumentsPresignedUpload()` - Create presigned upload
|
|
@@ -455,6 +468,16 @@ client.setConfig({
|
|
|
455
468
|
- `getStorageStats()` - List stats
|
|
456
469
|
- `getStorageStatsTenantByTenantId()` - Get tenant
|
|
457
470
|
|
|
471
|
+
## System message
|
|
472
|
+
|
|
473
|
+
- `getSystem-messages()` - List system messages
|
|
474
|
+
- `getSystem-messagesById()` - Get system messages
|
|
475
|
+
- `postSystem-messages()` - Create system messages
|
|
476
|
+
- `patchSystem-messagesById()` - Update system messages
|
|
477
|
+
- `patchSystem-messagesByIdPublish()` - Update publish
|
|
478
|
+
- `patchSystem-messagesByIdUnpublish()` - Update unpublish
|
|
479
|
+
- `deleteSystem-messagesById()` - Delete system messages
|
|
480
|
+
|
|
458
481
|
## Tenant document stats
|
|
459
482
|
|
|
460
483
|
- `getTenantsByTenantIdDocumentStats()` - Get document stats
|
|
@@ -515,6 +538,7 @@ client.setConfig({
|
|
|
515
538
|
|
|
516
539
|
## Training analytics
|
|
517
540
|
|
|
541
|
+
- `getWorkspacesAnalytics-batch()` - List analytics batch
|
|
518
542
|
- `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
|
|
519
543
|
|
|
520
544
|
## Transaction
|
|
@@ -551,6 +575,9 @@ client.setConfig({
|
|
|
551
575
|
- `postUsersAuthResend-confirmation()` - Create resend confirmation
|
|
552
576
|
- `postUsersRegisterIsv()` - Create register isv
|
|
553
577
|
- `patchUserProfilesById()` - Update user profiles
|
|
578
|
+
- `patchUserProfilesByIdAccept-tos()` - Update accept tos
|
|
579
|
+
- `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
|
|
580
|
+
- `patchUserProfilesByIdDismiss-welcome()` - Update dismiss welcome
|
|
554
581
|
- `patchUsersAuthPasswordChange()` - Update change
|
|
555
582
|
- `patchUsersAuthReset-password()` - Update reset password
|
|
556
583
|
- `patchUsersById()` - Update admin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"description": "TypeScript SDK for GPT Core Admin API - Platform administration and ISV management",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"generate": "openapi-ts",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
58
|
+
"test": "vitest run",
|
|
59
|
+
"test:watch": "vitest",
|
|
60
|
+
"test:ui": "vitest --ui",
|
|
61
|
+
"test:coverage": "vitest run --coverage"
|
|
62
|
+
},
|
|
54
63
|
"dependencies": {
|
|
55
64
|
"zod": "^3.25.76"
|
|
56
65
|
},
|
|
@@ -62,14 +71,5 @@
|
|
|
62
71
|
"tsup": "^8.5.1",
|
|
63
72
|
"typescript": "^5.9.3",
|
|
64
73
|
"vitest": "^4.0.15"
|
|
65
|
-
},
|
|
66
|
-
"scripts": {
|
|
67
|
-
"generate": "openapi-ts",
|
|
68
|
-
"typecheck": "tsc --noEmit",
|
|
69
|
-
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
70
|
-
"test": "vitest run",
|
|
71
|
-
"test:watch": "vitest",
|
|
72
|
-
"test:ui": "vitest --ui",
|
|
73
|
-
"test:coverage": "vitest run --coverage"
|
|
74
74
|
}
|
|
75
|
-
}
|
|
75
|
+
}
|