@gpt-core/admin 0.9.22 → 0.9.31
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 +7071 -3852
- package/dist/index.d.ts +7071 -3852
- package/dist/index.js +10 -10
- package/dist/index.mjs +10 -10
- package/llms.txt +46 -33
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1023,16 +1023,6 @@ var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
|
1023
1023
|
url: "/admin/accounts/{id}",
|
|
1024
1024
|
...options
|
|
1025
1025
|
});
|
|
1026
|
-
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1027
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1028
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1029
|
-
url: "/admin/documents/bulk_delete",
|
|
1030
|
-
...options,
|
|
1031
|
-
headers: {
|
|
1032
|
-
"Content-Type": "application/vnd.api+json",
|
|
1033
|
-
...options.headers
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
1026
|
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
1037
1027
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1038
1028
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1100,6 +1090,16 @@ var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
|
1100
1090
|
url: "/admin/api_keys",
|
|
1101
1091
|
...options
|
|
1102
1092
|
});
|
|
1093
|
+
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1094
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1095
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1096
|
+
url: "/admin/documents/bulk-delete",
|
|
1097
|
+
...options,
|
|
1098
|
+
headers: {
|
|
1099
|
+
"Content-Type": "application/vnd.api+json",
|
|
1100
|
+
...options.headers
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
1103
|
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
1104
1104
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1105
1105
|
security: [{ scheme: "bearer", type: "http" }],
|
package/dist/index.mjs
CHANGED
|
@@ -975,16 +975,6 @@ var getAdminAccountsById = (options) => (options.client ?? client).get({
|
|
|
975
975
|
url: "/admin/accounts/{id}",
|
|
976
976
|
...options
|
|
977
977
|
});
|
|
978
|
-
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
979
|
-
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
980
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
981
|
-
url: "/admin/documents/bulk_delete",
|
|
982
|
-
...options,
|
|
983
|
-
headers: {
|
|
984
|
-
"Content-Type": "application/vnd.api+json",
|
|
985
|
-
...options.headers
|
|
986
|
-
}
|
|
987
|
-
});
|
|
988
978
|
var patchAdminApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
|
|
989
979
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
990
980
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1052,6 +1042,16 @@ var getAdminApiKeys = (options) => (options.client ?? client).get({
|
|
|
1052
1042
|
url: "/admin/api_keys",
|
|
1053
1043
|
...options
|
|
1054
1044
|
});
|
|
1045
|
+
var postAdminDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
1046
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1047
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1048
|
+
url: "/admin/documents/bulk-delete",
|
|
1049
|
+
...options,
|
|
1050
|
+
headers: {
|
|
1051
|
+
"Content-Type": "application/vnd.api+json",
|
|
1052
|
+
...options.headers
|
|
1053
|
+
}
|
|
1054
|
+
});
|
|
1055
1055
|
var getAdminApiKeysById = (options) => (options.client ?? client).get({
|
|
1056
1056
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1057
1057
|
security: [{ scheme: "bearer", type: "http" }],
|
package/llms.txt
CHANGED
|
@@ -41,7 +41,7 @@ client.setConfig({
|
|
|
41
41
|
|
|
42
42
|
## Agent training stats
|
|
43
43
|
|
|
44
|
-
- `
|
|
44
|
+
- `getAgentsByIdTraining-stats()` - Get training stats
|
|
45
45
|
|
|
46
46
|
## Agent usage
|
|
47
47
|
|
|
@@ -52,24 +52,34 @@ client.setConfig({
|
|
|
52
52
|
|
|
53
53
|
- `postAgentVersionComparisons()` - Create agent version comparisons
|
|
54
54
|
|
|
55
|
+
## Agent version revision
|
|
56
|
+
|
|
57
|
+
- `getAgentVersionRevisions()` - List agent version revisions
|
|
58
|
+
- `getAgentVersionRevisionsById()` - Get agent version revisions
|
|
59
|
+
|
|
55
60
|
## AI Agents
|
|
56
61
|
|
|
57
62
|
- `getAgents()` - List agents
|
|
58
63
|
- `getAgentsById()` - Get agents
|
|
59
64
|
- `getAgentsByIdSchemaVersions()` - Get schema versions
|
|
65
|
+
- `getAgentsByIdTraining-examples()` - Get training examples
|
|
60
66
|
- `getAgentVersions()` - List agent versions
|
|
61
67
|
- `getAgentVersionsById()` - Get agent versions
|
|
62
68
|
- `getAgentVersionsByIdMetrics()` - Get metrics
|
|
69
|
+
- `getAgentVersionsByIdRevisions()` - Get revisions
|
|
70
|
+
- `postAgentsByIdAnalyze-training()` - Create analyze training
|
|
63
71
|
- `postAgentsByIdClone()` - Create clone
|
|
64
72
|
- `postAgentsByIdDiscoverSchema()` - Create discover schema
|
|
65
73
|
- `postAgentsByIdExport()` - Create export
|
|
66
|
-
- `
|
|
74
|
+
- `postAgentsByIdPublish-version()` - Create publish version
|
|
75
|
+
- `postAgentsByIdRestore-version()` - Create restore version
|
|
67
76
|
- `postAgentsByIdSchemaVersions()` - Create schema versions
|
|
68
77
|
- `postAgentsByIdSchemaVersionsByVersionIdActivate()` - Create activate
|
|
69
78
|
- `postAgentsByIdTeach()` - Create teach
|
|
70
79
|
- `postAgentsByIdTest()` - Create test
|
|
71
80
|
- `postAgentsByIdValidate()` - Create validate
|
|
72
|
-
- `
|
|
81
|
+
- `postAgentsClone-for-workspace()` - Create clone for workspace
|
|
82
|
+
- `postAgentsDiscover-schema()` - Create discover schema
|
|
73
83
|
- `postAgentsImport()` - Create import
|
|
74
84
|
- `postAgentsPredict()` - Create predict
|
|
75
85
|
- `postAgentVersions()` - Create agent versions
|
|
@@ -77,6 +87,7 @@ client.setConfig({
|
|
|
77
87
|
- `postAgentVersionsByIdRemoveSystemField()` - Create remove system field
|
|
78
88
|
- `postAgentVersionsByIdSetSystemFields()` - Create set system fields
|
|
79
89
|
- `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
|
|
90
|
+
- `deleteAgentsByIdTraining-examplesByExampleId()` - Delete training examples
|
|
80
91
|
- `deleteAgentVersionsById()` - Delete agent versions
|
|
81
92
|
|
|
82
93
|
## Ai config
|
|
@@ -88,16 +99,16 @@ client.setConfig({
|
|
|
88
99
|
|
|
89
100
|
## AI Training
|
|
90
101
|
|
|
91
|
-
- `
|
|
92
|
-
- `
|
|
102
|
+
- `getTraining-examples()` - List training examples
|
|
103
|
+
- `getTraining-examplesById()` - Get training examples
|
|
93
104
|
- `getTrainingSessionsAgentsByAgentIdSessions()` - Get sessions
|
|
94
105
|
- `getTrainingSessionsById()` - Get training sessions
|
|
95
|
-
- `
|
|
96
|
-
- `
|
|
97
|
-
- `
|
|
98
|
-
- `
|
|
99
|
-
- `
|
|
100
|
-
- `
|
|
106
|
+
- `postTraining-examples()` - Create training examples
|
|
107
|
+
- `postTraining-examplesBulk()` - Create bulk
|
|
108
|
+
- `postTraining-examplesBulk-delete()` - Create bulk delete
|
|
109
|
+
- `postTraining-examplesSearch()` - Create search
|
|
110
|
+
- `patchTraining-examplesById()` - Update training examples
|
|
111
|
+
- `deleteTraining-examplesById()` - Delete training examples
|
|
101
112
|
- `deleteTrainingSessionsById()` - Delete training sessions
|
|
102
113
|
|
|
103
114
|
## Analytics
|
|
@@ -123,7 +134,7 @@ client.setConfig({
|
|
|
123
134
|
- `patchApiKeysByIdReset-period()` - Update reset period
|
|
124
135
|
- `patchApiKeysByIdRevoke()` - Update revoke
|
|
125
136
|
- `patchApiKeysByIdRotate()` - Update rotate
|
|
126
|
-
- `
|
|
137
|
+
- `patchApiKeysByIdSet-budget()` - Update set budget
|
|
127
138
|
- `deleteApiKeysById()` - Delete api keys
|
|
128
139
|
|
|
129
140
|
## Applications
|
|
@@ -160,9 +171,9 @@ client.setConfig({
|
|
|
160
171
|
- `getSubscriptionsBy-tenantByTenantId()` - Get by tenant
|
|
161
172
|
- `getSubscriptionsById()` - Get subscriptions
|
|
162
173
|
- `getWallet()` - List wallet
|
|
163
|
-
- `
|
|
174
|
+
- `getWalletStorage-breakdown()` - List storage breakdown
|
|
164
175
|
- `getWalletUsage()` - List usage
|
|
165
|
-
- `
|
|
176
|
+
- `getWalletUsage-breakdown()` - List usage breakdown
|
|
166
177
|
- `postCreditPackages()` - Create credit packages
|
|
167
178
|
- `postPlans()` - Create plans
|
|
168
179
|
- `postSubscriptions()` - Create subscriptions
|
|
@@ -227,20 +238,21 @@ client.setConfig({
|
|
|
227
238
|
- `getExtractionDocumentsByIdStatus()` - Get status
|
|
228
239
|
- `getExtractionDocumentsByIdView()` - Get view
|
|
229
240
|
- `getExtractionDocumentsWorkspaceByWorkspaceId()` - Get workspace
|
|
230
|
-
- `
|
|
241
|
+
- `getExtractionDocumentsWorkspaceByWorkspaceIdBy-statusByStatus()` - Get by status
|
|
231
242
|
- `getExtractionDocumentsWorkspaceByWorkspaceIdExcluded()` - Get excluded
|
|
232
|
-
- `
|
|
243
|
+
- `getExtractionDocumentsWorkspaceByWorkspaceIdReview-queue()` - Get review queue
|
|
233
244
|
- `getExtractionDocumentsWorkspaceByWorkspaceIdTrained()` - Get trained
|
|
234
245
|
- `getExtractionDocumentsWorkspaceByWorkspaceIdTrashed()` - Get trashed
|
|
235
|
-
- `
|
|
246
|
+
- `postExtractionDocumentsBegin-upload()` - Create begin upload
|
|
247
|
+
- `postExtractionDocumentsFind-or-begin-upload()` - Create find or begin upload
|
|
236
248
|
- `postExtractionDocumentsUpload()` - Create upload
|
|
237
249
|
- `patchExtractionDocumentsByIdCancel()` - Update cancel
|
|
238
250
|
- `patchExtractionDocumentsByIdDismiss()` - Update dismiss
|
|
239
251
|
- `patchExtractionDocumentsByIdDismiss-training()` - Update dismiss training
|
|
240
252
|
- `patchExtractionDocumentsByIdExclude()` - Update exclude
|
|
241
|
-
- `
|
|
253
|
+
- `patchExtractionDocumentsByIdFinish-upload()` - Update finish upload
|
|
242
254
|
- `patchExtractionDocumentsByIdInclude()` - Update include
|
|
243
|
-
- `
|
|
255
|
+
- `patchExtractionDocumentsByIdMark-trained()` - Update mark trained
|
|
244
256
|
- `patchExtractionDocumentsByIdReprocess()` - Update reprocess
|
|
245
257
|
- `patchExtractionDocumentsByIdRestore()` - Update restore
|
|
246
258
|
- `patchExtractionDocumentsByIdStatus()` - Update status
|
|
@@ -287,7 +299,7 @@ client.setConfig({
|
|
|
287
299
|
- `getExtractionResultsWorkspaceByWorkspaceId()` - Get workspace
|
|
288
300
|
- `patchExtractionResultsById()` - Update results
|
|
289
301
|
- `patchExtractionResultsByIdRegenerate()` - Update regenerate
|
|
290
|
-
- `
|
|
302
|
+
- `patchExtractionResultsByIdSave-corrections()` - Update save corrections
|
|
291
303
|
- `deleteExtractionResultsById()` - Delete results
|
|
292
304
|
|
|
293
305
|
## Field mapping confirmation
|
|
@@ -311,7 +323,7 @@ client.setConfig({
|
|
|
311
323
|
- `getInvitationsConsumeByToken()` - Get consume
|
|
312
324
|
- `getInvitationsMe()` - List me
|
|
313
325
|
- `postInvitations()` - Create invitations
|
|
314
|
-
- `
|
|
326
|
+
- `postInvitationsAccept-by-token()` - Create accept by token
|
|
315
327
|
- `patchInvitationsByIdAccept()` - Update accept
|
|
316
328
|
- `patchInvitationsByIdAccept-by-user()` - Update accept by user
|
|
317
329
|
- `patchInvitationsByIdDecline()` - Update decline
|
|
@@ -335,7 +347,7 @@ client.setConfig({
|
|
|
335
347
|
|
|
336
348
|
- `getAiGraphEdges()` - List edges
|
|
337
349
|
- `getAiGraphNodes()` - List nodes
|
|
338
|
-
- `
|
|
350
|
+
- `getAiGraphNodesBySource-node-idRelated()` - Get related
|
|
339
351
|
- `getAiGraphNodesLabelByLabel()` - Get label
|
|
340
352
|
- `postAiGraphEdges()` - Create edges
|
|
341
353
|
- `postAiGraphNodes()` - Create nodes
|
|
@@ -374,8 +386,8 @@ client.setConfig({
|
|
|
374
386
|
- `getNotificationMethodsById()` - Get notification methods
|
|
375
387
|
- `postNotificationMethods()` - Create notification methods
|
|
376
388
|
- `patchNotificationMethodsById()` - Update notification methods
|
|
377
|
-
- `
|
|
378
|
-
- `
|
|
389
|
+
- `patchNotificationMethodsByIdSend-verification()` - Update send verification
|
|
390
|
+
- `patchNotificationMethodsByIdSet-primary()` - Update set primary
|
|
379
391
|
- `patchNotificationMethodsByIdVerify()` - Update verify
|
|
380
392
|
- `deleteNotificationMethodsById()` - Delete notification methods
|
|
381
393
|
|
|
@@ -389,7 +401,7 @@ client.setConfig({
|
|
|
389
401
|
|
|
390
402
|
## Operation success
|
|
391
403
|
|
|
392
|
-
- `
|
|
404
|
+
- `postDocumentsBulk-delete()` - Create bulk delete
|
|
393
405
|
|
|
394
406
|
## Payment method
|
|
395
407
|
|
|
@@ -416,9 +428,9 @@ client.setConfig({
|
|
|
416
428
|
|
|
417
429
|
## Presigned url
|
|
418
430
|
|
|
419
|
-
- `
|
|
420
|
-
- `
|
|
421
|
-
- `
|
|
431
|
+
- `postDocumentsPresigned-upload()` - Create presigned upload
|
|
432
|
+
- `postStorageSign-download()` - Create sign download
|
|
433
|
+
- `postStorageSign-upload()` - Create sign upload
|
|
422
434
|
|
|
423
435
|
## Pricing rule
|
|
424
436
|
|
|
@@ -604,12 +616,12 @@ client.setConfig({
|
|
|
604
616
|
- `postUserProfiles()` - Create user profiles
|
|
605
617
|
- `postUsersAuthConfirm()` - Create confirm
|
|
606
618
|
- `postUsersAuthLogin()` - Create login
|
|
607
|
-
- `
|
|
608
|
-
- `
|
|
619
|
+
- `postUsersAuthMagic-linkLogin()` - Create login
|
|
620
|
+
- `postUsersAuthMagic-linkRequest()` - Create request
|
|
609
621
|
- `postUsersAuthRegister()` - Create register
|
|
610
|
-
- `
|
|
622
|
+
- `postUsersAuthRegister-with-oidc()` - Create register with oidc
|
|
611
623
|
- `postUsersAuthResend-confirmation()` - Create resend confirmation
|
|
612
|
-
- `
|
|
624
|
+
- `postUsersRegister-isv()` - Create register isv
|
|
613
625
|
- `patchUserProfilesById()` - Update user profiles
|
|
614
626
|
- `patchUserProfilesByIdAccept-tos()` - Update accept tos
|
|
615
627
|
- `patchUserProfilesByIdDismiss-announcement()` - Update dismiss announcement
|
|
@@ -640,7 +652,7 @@ client.setConfig({
|
|
|
640
652
|
- `postWebhookDeliveriesBulkRetry()` - Create bulk retry
|
|
641
653
|
- `postWebhookDeliveriesByIdRetry()` - Create retry
|
|
642
654
|
- `patchWebhookConfigsById()` - Update webhook configs
|
|
643
|
-
- `
|
|
655
|
+
- `patchWebhookConfigsByIdRotate-secret()` - Update rotate secret
|
|
644
656
|
- `deleteWebhookConfigsById()` - Delete webhook configs
|
|
645
657
|
|
|
646
658
|
## Wholesale-agreement
|
|
@@ -671,6 +683,7 @@ client.setConfig({
|
|
|
671
683
|
- `postWorkspaces()` - Create workspaces
|
|
672
684
|
- `patchWorkspacesById()` - Update workspaces
|
|
673
685
|
- `patchWorkspacesByIdAllocate()` - Update allocate
|
|
686
|
+
- `patchWorkspacesByIdPopulate-hashes()` - Update populate hashes
|
|
674
687
|
- `patchWorkspacesByIdStorage-settings()` - Update storage settings
|
|
675
688
|
- `deleteWorkspacesById()` - Delete workspaces
|
|
676
689
|
|