@gpt-core/admin 0.8.11 → 0.8.20

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/llms.txt ADDED
@@ -0,0 +1,617 @@
1
+ # @gpt-core/admin
2
+
3
+ > TypeScript Admin SDK for GPT Core - platform administration, webhooks, and system management.
4
+ > Version: 1.1
5
+ > WARNING: Server-side only. Never expose admin tokens in client code.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @gpt-core/admin
11
+ ```
12
+
13
+ ## Setup
14
+
15
+ ```typescript
16
+ import { client } from '@gpt-core/admin';
17
+
18
+ client.setConfig({
19
+ baseUrl: 'https://api.example.com/admin',
20
+ headers: {
21
+ Authorization: 'Bearer YOUR_TOKEN',
22
+ },
23
+ });
24
+ ```
25
+
26
+ ## Accounts
27
+
28
+ - `getAccounts()` - List accounts
29
+ - `getAccountsBy-tenantByTenantId()` - Get by tenant
30
+ - `getAccountsById()` - Get accounts
31
+ - `patchAccountsByIdCredit()` - Update credit
32
+ - `patchAccountsByIdDebit()` - Update debit
33
+
34
+ ## Agent test result
35
+
36
+ - `postAgentTestResults()` - Create agent test results
37
+
38
+ ## Agent version comparison
39
+
40
+ - `postAgentVersionComparisons()` - Create agent version comparisons
41
+
42
+ ## AI Agents
43
+
44
+ - `getAgents()` - List agents
45
+ - `getAgentsById()` - Get agents
46
+ - `getAgentsByIdSchemaVersions()` - Get schema versions
47
+ - `getAgentsByIdStats()` - Get stats
48
+ - `getAgentsByIdTrainingStats()` - Get training stats
49
+ - `getAgentVersions()` - List agent versions
50
+ - `getAgentVersionsById()` - Get agent versions
51
+ - `getAgentVersionsByIdMetrics()` - Get metrics
52
+ - `postAgentsByIdClone()` - Create clone
53
+ - `postAgentsByIdDiscoverSchema()` - Create discover schema
54
+ - `postAgentsByIdExport()` - Create export
55
+ - `postAgentsByIdPublishVersion()` - Create publish version
56
+ - `postAgentsByIdSchemaVersions()` - Create schema versions
57
+ - `postAgentsByIdSchemaVersionsByVersionIdActivate()` - Create activate
58
+ - `postAgentsByIdTeach()` - Create teach
59
+ - `postAgentsByIdTest()` - Create test
60
+ - `postAgentsByIdValidate()` - Create validate
61
+ - `postAgentsCloneForWorkspace()` - Create clone for workspace
62
+ - `postAgentsImport()` - Create import
63
+ - `postAgentsPredict()` - Create predict
64
+ - `postAgentVersions()` - Create agent versions
65
+ - `patchAgentsByIdSchemaVersionsByVersionId()` - Update schema versions
66
+ - `deleteAgentVersionsById()` - Delete agent versions
67
+
68
+ ## Ai config
69
+
70
+ - `getSysAiConfig()` - List ai config
71
+ - `getSysAiConfigById()` - Get ai config
72
+ - `postSysAiConfig()` - Create ai config
73
+ - `patchSysAiConfigById()` - Update ai config
74
+
75
+ ## AI Training
76
+
77
+ - `getTrainingExamples()` - List training examples
78
+ - `getTrainingExamplesById()` - Get training examples
79
+ - `getTrainingSessionsAgentsByAgentIdSessions()` - Get sessions
80
+ - `getTrainingSessionsById()` - Get training sessions
81
+ - `postTrainingExamples()` - Create training examples
82
+ - `postTrainingExamplesBulk()` - Create bulk
83
+ - `postTrainingExamplesBulkDelete()` - Create bulk delete
84
+ - `postTrainingExamplesSearch()` - Create search
85
+ - `patchTrainingExamplesById()` - Update training examples
86
+ - `deleteTrainingExamplesById()` - Delete training examples
87
+ - `deleteTrainingSessionsById()` - Delete training sessions
88
+
89
+ ## Analytics
90
+
91
+ - `getLlmAnalytics()` - List llm analytics
92
+ - `getLlmAnalyticsById()` - Get llm analytics
93
+ - `getLlmAnalyticsCosts()` - List costs
94
+ - `getLlmAnalyticsPlatform()` - List platform
95
+ - `getLlmAnalyticsSummary()` - List summary
96
+ - `getLlmAnalyticsUsage()` - List usage
97
+ - `getLlmAnalyticsWorkspace()` - List workspace
98
+ - `postLlmAnalytics()` - Create llm analytics
99
+
100
+ ## API Keys
101
+
102
+ - `getApiKeys()` - List api keys
103
+ - `getApiKeysActive()` - List active
104
+ - `getApiKeysById()` - Get api keys
105
+ - `getApiKeysStats()` - List stats
106
+ - `postApiKeys()` - Create api keys
107
+ - `patchApiKeysById()` - Update api keys
108
+ - `patchApiKeysByIdAllocate()` - Update allocate
109
+ - `patchApiKeysByIdReset-period()` - Update reset period
110
+ - `patchApiKeysByIdRevoke()` - Update revoke
111
+ - `patchApiKeysByIdRotate()` - Update rotate
112
+ - `patchApiKeysByIdSetBudget()` - Update set budget
113
+ - `deleteApiKeysById()` - Delete api keys
114
+
115
+ ## Applications
116
+
117
+ - `getApplications()` - List applications
118
+ - `getApplicationsBy-slugBySlug()` - Get by slug
119
+ - `getApplicationsById()` - Get applications
120
+ - `getApplicationsCurrent()` - List current
121
+ - `postApplications()` - Create applications
122
+ - `patchApplicationsById()` - Update applications
123
+ - `patchApplicationsByIdAllocate-credits()` - Update allocate credits
124
+ - `patchApplicationsByIdGrant-credits()` - Update grant credits
125
+ - `deleteApplicationsById()` - Delete applications
126
+
127
+ ## Audit-log
128
+
129
+ - `getAudit-logs()` - List audit logs
130
+ - `getAudit-logsActivity()` - List activity
131
+
132
+ ## Balance
133
+
134
+ - `getBalances()` - List balances
135
+ - `getBalancesById()` - Get balances
136
+
137
+ ## Billing
138
+
139
+ - `getCreditPackages()` - List credit packages
140
+ - `getCreditPackagesById()` - Get credit packages
141
+ - `getCreditPackagesSlugBySlug()` - Get slug
142
+ - `getPlans()` - List plans
143
+ - `getPlansById()` - Get plans
144
+ - `getPlansSlugBySlug()` - Get slug
145
+ - `getSubscriptions()` - List subscriptions
146
+ - `getSubscriptionsBy-tenantByTenantId()` - Get by tenant
147
+ - `getSubscriptionsById()` - Get subscriptions
148
+ - `getWallet()` - List wallet
149
+ - `getWalletStorageBreakdown()` - List storage breakdown
150
+ - `getWalletUsage()` - List usage
151
+ - `getWalletUsageBreakdown()` - List usage breakdown
152
+ - `postCreditPackages()` - Create credit packages
153
+ - `postPlans()` - Create plans
154
+ - `postSubscriptions()` - Create subscriptions
155
+ - `patchCreditPackagesById()` - Update credit packages
156
+ - `patchPlansById()` - Update plans
157
+ - `patchSubscriptionsById()` - Update subscriptions
158
+ - `patchSubscriptionsByIdCancel()` - Update cancel
159
+ - `patchWalletAddons()` - Update addons
160
+ - `patchWalletAddonsByAddonSlugCancel()` - Update cancel
161
+ - `patchWalletCredits()` - Update credits
162
+ - `patchWalletPlan()` - Update plan
163
+ - `patchWalletStorage()` - Update storage
164
+ - `deleteCreditPackagesById()` - Delete credit packages
165
+ - `deletePlansById()` - Delete plans
166
+ - `deleteSubscriptionsById()` - Delete subscriptions
167
+
168
+ ## Bulk dismissal result
169
+
170
+ - `postWorkspacesByWorkspaceIdExtractionDocumentsDismiss-all-trained()` - Create dismiss all trained
171
+
172
+ ## Bulk reprocess result
173
+
174
+ - `postExtractionDocumentsBulk-reprocess()` - Create bulk reprocess
175
+
176
+ ## Config
177
+
178
+ - `getConfigs()` - List configs
179
+ - `postConfigs()` - Create configs
180
+ - `patchConfigsByKey()` - Update configs
181
+
182
+ ## Conversations
183
+
184
+ - `getAiConversations()` - List conversations
185
+ - `getAiConversationsById()` - Get conversations
186
+ - `postAiConversations()` - Create conversations
187
+ - `patchAiConversationsById()` - Update conversations
188
+ - `deleteAiConversationsById()` - Delete conversations
189
+
190
+ ## Customer
191
+
192
+ - `getCustomersById()` - Get customers
193
+ - `postCustomers()` - Create customers
194
+ - `patchCustomersById()` - Update customers
195
+ - `deleteCustomersById()` - Delete customers
196
+
197
+ ## Document chunk
198
+
199
+ - `getAiChunksDocumentByDocumentId()` - Get document
200
+ - `postAiChunksSearch()` - Create search
201
+
202
+ ## Document Extraction
203
+
204
+ - `getExtractionDocuments()` - List documents
205
+ - `getExtractionDocumentsById()` - Get documents
206
+ - `getExtractionDocumentsByIdStatus()` - Get status
207
+ - `getExtractionDocumentsByIdView()` - Get view
208
+ - `getExtractionDocumentsWorkspaceByWorkspaceId()` - Get workspace
209
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus()` - Get by status
210
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdExcluded()` - Get excluded
211
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue()` - Get review queue
212
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdTrained()` - Get trained
213
+ - `getExtractionDocumentsWorkspaceByWorkspaceIdTrashed()` - Get trashed
214
+ - `postExtractionDocumentsBeginUpload()` - Create begin upload
215
+ - `postExtractionDocumentsUpload()` - Create upload
216
+ - `patchExtractionDocumentsByIdCancel()` - Update cancel
217
+ - `patchExtractionDocumentsByIdDismiss()` - Update dismiss
218
+ - `patchExtractionDocumentsByIdDismiss-training()` - Update dismiss training
219
+ - `patchExtractionDocumentsByIdExclude()` - Update exclude
220
+ - `patchExtractionDocumentsByIdFinishUpload()` - Update finish upload
221
+ - `patchExtractionDocumentsByIdInclude()` - Update include
222
+ - `patchExtractionDocumentsByIdMarkTrained()` - Update mark trained
223
+ - `patchExtractionDocumentsByIdReprocess()` - Update reprocess
224
+ - `patchExtractionDocumentsByIdRestore()` - Update restore
225
+ - `patchExtractionDocumentsByIdStatus()` - Update status
226
+ - `patchExtractionDocumentsByIdVerification()` - Update verification
227
+ - `deleteExtractionDocumentsById()` - Delete documents
228
+
229
+ ## Document stats
230
+
231
+ - `getDocumentsStats()` - List stats
232
+
233
+ ## Email template
234
+
235
+ - `getApplicationsByApplicationIdEmail-templates()` - Get email templates
236
+ - `getApplicationsByApplicationIdEmail-templatesBySlug()` - Get email templates
237
+ - `postApplicationsByApplicationIdEmail-templates()` - Create email templates
238
+ - `postApplicationsByApplicationIdEmail-templatesBySlugPreview()` - Create preview
239
+ - `postApplicationsByApplicationIdEmail-templatesBySlugTest()` - Create test
240
+ - `patchApplicationsByApplicationIdEmail-templatesBySlug()` - Update email templates
241
+ - `deleteApplicationsByApplicationIdEmail-templatesBySlug()` - Delete email templates
242
+
243
+ ## Embedding
244
+
245
+ - `postAiEmbed()` - Create embed
246
+
247
+ ## Extraction Batches
248
+
249
+ - `getExtractionBatchesById()` - Get batches
250
+ - `getExtractionBatchesByIdUpload-urls()` - Get upload urls
251
+ - `getExtractionBatchesWorkspaceByWorkspaceId()` - Get workspace
252
+ - `postExtractionBatches()` - Create batches
253
+ - `deleteExtractionBatchesById()` - Delete batches
254
+
255
+ ## Extraction export
256
+
257
+ - `getWorkspacesByWorkspaceIdExtractionExports()` - Get exports
258
+ - `getWorkspacesByWorkspaceIdExtractionExportsById()` - Get exports
259
+ - `postWorkspacesByWorkspaceIdExtractionExports()` - Create exports
260
+
261
+ ## Extraction Results
262
+
263
+ - `getExtractionResultsById()` - Get results
264
+ - `getExtractionResultsDocumentByDocumentId()` - Get document
265
+ - `getExtractionResultsWorkspaceByWorkspaceId()` - Get workspace
266
+ - `postExtractionResults()` - Create results
267
+ - `patchExtractionResultsByIdCorrections()` - Update corrections
268
+ - `patchExtractionResultsByIdRegenerate()` - Update regenerate
269
+
270
+ ## Field Templates
271
+
272
+ - `getFieldTemplates()` - List field templates
273
+ - `getFieldTemplatesById()` - Get field templates
274
+ - `postFieldTemplates()` - Create field templates
275
+ - `deleteFieldTemplatesById()` - Delete field templates
276
+
277
+ ## Invitations
278
+
279
+ - `getInvitations()` - List invitations
280
+ - `getInvitationsConsumeByToken()` - Get consume
281
+ - `getInvitationsMe()` - List me
282
+ - `postInvitations()` - Create invitations
283
+ - `postInvitationsAcceptByToken()` - Create accept by token
284
+ - `patchInvitationsByIdAccept()` - Update accept
285
+ - `patchInvitationsByIdAccept-by-user()` - Update accept by user
286
+ - `patchInvitationsByIdDecline()` - Update decline
287
+ - `patchInvitationsByIdResend()` - Update resend
288
+ - `patchInvitationsByIdRevoke()` - Update revoke
289
+
290
+ ## Isv revenue
291
+
292
+ - `getIsvRevenue()` - List isv revenue
293
+ - `getIsvRevenueById()` - Get isv revenue
294
+ - `postIsvRevenue()` - Create isv revenue
295
+
296
+ ## Isv settlement
297
+
298
+ - `getIsvSettlements()` - List isv settlements
299
+ - `getIsvSettlementsById()` - Get isv settlements
300
+ - `postIsvSettlements()` - Create isv settlements
301
+ - `patchIsvSettlementsById()` - Update isv settlements
302
+
303
+ ## Knowledge Graph
304
+
305
+ - `getAiGraphEdges()` - List edges
306
+ - `getAiGraphNodes()` - List nodes
307
+ - `getAiGraphNodesBySourceNodeIdRelated()` - Get related
308
+ - `getAiGraphNodesLabelByLabel()` - Get label
309
+ - `postAiGraphEdges()` - Create edges
310
+ - `postAiGraphNodes()` - Create nodes
311
+ - `deleteAiGraphEdgesById()` - Delete edges
312
+ - `deleteAiGraphNodesById()` - Delete nodes
313
+
314
+ ## Ledger
315
+
316
+ - `getLedger()` - List ledger
317
+ - `getLedgerBy-accountByAccountId()` - Get by account
318
+ - `getLedgerById()` - Get ledger
319
+
320
+ ## Messages
321
+
322
+ - `getAiMessages()` - List messages
323
+ - `getMessages()` - List messages
324
+ - `getMessagesById()` - Get messages
325
+ - `getMessagesSearch()` - List search
326
+ - `getMessagesSemantic-search()` - List semantic search
327
+ - `getThreadsByIdMessages()` - Get messages
328
+ - `postAiMessages()` - Create messages
329
+ - `postMessages()` - Create messages
330
+ - `patchMessagesById()` - Update messages
331
+ - `deleteAiMessagesById()` - Delete messages
332
+ - `deleteMessagesById()` - Delete messages
333
+
334
+ ## Notification log
335
+
336
+ - `getNotificationLogs()` - List notification logs
337
+ - `getNotificationLogsById()` - Get notification logs
338
+ - `getNotificationLogsStats()` - List stats
339
+
340
+ ## Notification method
341
+
342
+ - `getNotificationMethods()` - List notification methods
343
+ - `getNotificationMethodsById()` - Get notification methods
344
+ - `postNotificationMethods()` - Create notification methods
345
+ - `patchNotificationMethodsById()` - Update notification methods
346
+ - `patchNotificationMethodsByIdSendVerification()` - Update send verification
347
+ - `patchNotificationMethodsByIdSetPrimary()` - Update set primary
348
+ - `patchNotificationMethodsByIdVerify()` - Update verify
349
+ - `deleteNotificationMethodsById()` - Delete notification methods
350
+
351
+ ## Notification preference
352
+
353
+ - `getNotificationPreferences()` - List notification preferences
354
+ - `getNotificationPreferencesById()` - Get notification preferences
355
+ - `postNotificationPreferences()` - Create notification preferences
356
+ - `patchNotificationPreferencesById()` - Update notification preferences
357
+ - `deleteNotificationPreferencesById()` - Delete notification preferences
358
+
359
+ ## Operation success
360
+
361
+ - `postDocumentsBulkDelete()` - Create bulk delete
362
+
363
+ ## Payment method
364
+
365
+ - `getPayment-methods()` - List payment methods
366
+ - `getPayment-methodsById()` - Get payment methods
367
+ - `postPayment-methods()` - Create payment methods
368
+ - `patchPayment-methodsById()` - Update payment methods
369
+ - `deletePayment-methodsById()` - Delete payment methods
370
+
371
+ ## Presigned url
372
+
373
+ - `postDocumentsPresignedUpload()` - Create presigned upload
374
+ - `postStorageSignDownload()` - Create sign download
375
+ - `postStorageSignUpload()` - Create sign upload
376
+
377
+ ## Pricing rule
378
+
379
+ - `getPricing-rules()` - List pricing rules
380
+ - `getPricing-rulesById()` - Get pricing rules
381
+ - `getPricing-rulesResolve()` - List resolve
382
+ - `postPricing-rules()` - Create pricing rules
383
+ - `patchPricing-rulesById()` - Update pricing rules
384
+
385
+ ## Pricing strategy
386
+
387
+ - `getPricing-strategies()` - List pricing strategies
388
+ - `getPricing-strategiesById()` - Get pricing strategies
389
+ - `postPricing-strategies()` - Create pricing strategies
390
+ - `patchPricing-strategiesById()` - Update pricing strategies
391
+
392
+ ## Schema discovery
393
+
394
+ - `getExtractionSchemaDiscoveriesById()` - Get schema discoveries
395
+ - `postExtractionSchemaDiscoveries()` - Create schema discoveries
396
+
397
+ ## Search
398
+
399
+ - `getSearch()` - List search
400
+ - `getSearchHealth()` - List health
401
+ - `getSearchIndexes()` - List indexes
402
+ - `getSearchSaved()` - List saved
403
+ - `getSearchSemantic()` - List semantic
404
+ - `getSearchStats()` - List stats
405
+ - `getSearchStatus()` - List status
406
+ - `getSearchSuggest()` - List suggest
407
+ - `postAiSearch()` - Create search
408
+ - `postAiSearchAdvanced()` - Create advanced
409
+ - `postSearchBatch()` - Create batch
410
+ - `postSearchReindex()` - Create reindex
411
+ - `postSearchSaved()` - Create saved
412
+ - `postSearchSavedByIdRun()` - Create run
413
+ - `patchSearchSavedById()` - Update saved
414
+ - `deleteSearchSavedById()` - Delete saved
415
+
416
+ ## Search analytics
417
+
418
+ - `getSearchAnalytics()` - List analytics
419
+ - `getSearchAnalyticsSummary()` - List summary
420
+
421
+ ## Semantic cache entry
422
+
423
+ - `getSysSemanticCacheById()` - Get semantic cache
424
+ - `postSysSemanticCacheClear()` - Create clear
425
+
426
+ ## Storage
427
+
428
+ - `getBuckets()` - List buckets
429
+ - `getBucketsAll()` - List all
430
+ - `getBucketsById()` - Get buckets
431
+ - `getBucketsByIdObjects()` - Get objects
432
+ - `getBucketsByIdStats()` - Get stats
433
+ - `getObjects()` - List objects
434
+ - `getObjectsById()` - Get objects
435
+ - `postBuckets()` - Create buckets
436
+ - `postObjectsBulk-destroy()` - Create bulk destroy
437
+ - `postObjectsCopy()` - Create copy
438
+ - `postObjectsMove()` - Create move
439
+ - `postObjectsRegister()` - Create register
440
+ - `patchBucketsById()` - Update buckets
441
+ - `deleteBucketsById()` - Delete buckets
442
+ - `deleteObjectsById()` - Delete objects
443
+
444
+ ## Storage stats
445
+
446
+ - `getStorageStats()` - List stats
447
+ - `getStorageStatsTenantByTenantId()` - Get tenant
448
+
449
+ ## Tenant document stats
450
+
451
+ - `getTenantsByTenantIdDocumentStats()` - Get document stats
452
+
453
+ ## Tenant pricing override
454
+
455
+ - `getTenant-pricing-overrides()` - List tenant pricing overrides
456
+ - `getTenant-pricing-overridesById()` - Get tenant pricing overrides
457
+ - `postTenant-pricing-overrides()` - Create tenant pricing overrides
458
+ - `patchTenant-pricing-overridesById()` - Update tenant pricing overrides
459
+ - `deleteTenant-pricing-overridesById()` - Delete tenant pricing overrides
460
+
461
+ ## Tenant stats
462
+
463
+ - `getTenantsByTenantIdStats()` - Get stats
464
+
465
+ ## Tenant-membership
466
+
467
+ - `getTenant-memberships()` - List tenant memberships
468
+ - `postTenant-memberships()` - Create tenant memberships
469
+ - `patchTenant-membershipsByTenantIdByUserId()` - Update tenant memberships
470
+ - `deleteTenant-membershipsByTenantIdByUserId()` - Delete tenant memberships
471
+
472
+ ## Tenants
473
+
474
+ - `getTenants()` - List tenants
475
+ - `getTenantsById()` - Get tenants
476
+ - `postTenants()` - Create tenants
477
+ - `postTenantsByIdBuy-storage()` - Create buy storage
478
+ - `postTenantsByIdCredit()` - Create credit
479
+ - `postTenantsByIdRemove-storage()` - Create remove storage
480
+ - `postTenantsByIdSchedule-purge()` - Create schedule purge
481
+ - `postTenantsIsv()` - Create isv
482
+ - `patchTenantsById()` - Update tenants
483
+ - `deleteTenantsById()` - Delete tenants
484
+
485
+ ## Threads
486
+
487
+ - `getThreads()` - List threads
488
+ - `getThreadsById()` - Get threads
489
+ - `getThreadsSearch()` - List search
490
+ - `getThreadsStats()` - List stats
491
+ - `getThreadsWorkspace-stats()` - List workspace stats
492
+ - `postThreads()` - Create threads
493
+ - `postThreadsActive()` - Create active
494
+ - `postThreadsByIdExport()` - Create export
495
+ - `postThreadsByIdFork()` - Create fork
496
+ - `postThreadsByIdMessages()` - Create messages
497
+ - `postThreadsByIdSummarize()` - Create summarize
498
+ - `patchThreadsById()` - Update threads
499
+ - `patchThreadsByIdArchive()` - Update archive
500
+ - `patchThreadsByIdUnarchive()` - Update unarchive
501
+ - `deleteThreadsById()` - Delete threads
502
+
503
+ ## Token
504
+
505
+ - `postTokens()` - Create tokens
506
+
507
+ ## Training analytics
508
+
509
+ - `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
510
+
511
+ ## Transaction
512
+
513
+ - `getTransactions()` - List transactions
514
+ - `getTransactionsById()` - Get transactions
515
+ - `postPayments()` - Create payments
516
+
517
+ ## Transfer
518
+
519
+ - `getTransfers()` - List transfers
520
+ - `getTransfersById()` - Get transfers
521
+
522
+ ## Users
523
+
524
+ - `getUserProfiles()` - List user profiles
525
+ - `getUserProfilesById()` - Get user profiles
526
+ - `getUserProfilesMe()` - List me
527
+ - `getUsers()` - List users
528
+ - `getUsersBy-email()` - List by email
529
+ - `getUsersById()` - Get users
530
+ - `getUsersMe()` - List me
531
+ - `getUsersMeActivity()` - List activity
532
+ - `getUsersMeDashboard()` - List dashboard
533
+ - `getUsersMeStats()` - List stats
534
+ - `getUsersMeTenants()` - List tenants
535
+ - `postUserProfiles()` - Create user profiles
536
+ - `postUsersAuthConfirm()` - Create confirm
537
+ - `postUsersAuthLogin()` - Create login
538
+ - `postUsersAuthMagicLinkLogin()` - Create login
539
+ - `postUsersAuthMagicLinkRequest()` - Create request
540
+ - `postUsersAuthRegister()` - Create register
541
+ - `postUsersAuthRegisterWithOidc()` - Create register with oidc
542
+ - `postUsersAuthResend-confirmation()` - Create resend confirmation
543
+ - `postUsersRegisterIsv()` - Create register isv
544
+ - `patchUserProfilesById()` - Update user profiles
545
+ - `patchUsersAuthPasswordChange()` - Update change
546
+ - `patchUsersAuthReset-password()` - Update reset password
547
+ - `patchUsersById()` - Update admin
548
+ - `patchUsersByIdConfirm-email()` - Update confirm email
549
+ - `patchUsersByIdEmail()` - Update email
550
+ - `patchUsersByIdReset-password()` - Update reset password
551
+ - `deleteUserProfilesById()` - Delete user profiles
552
+ - `deleteUsersById()` - Delete users
553
+
554
+ ## Webhooks
555
+
556
+ - `getWebhookConfigs()` - List webhook configs
557
+ - `getWebhookConfigsById()` - Get webhook configs
558
+ - `getWebhookConfigsByIdEvents()` - Get events
559
+ - `getWebhookConfigsStats()` - List stats
560
+ - `getWebhookDeliveries()` - List webhook deliveries
561
+ - `getWebhookDeliveriesById()` - Get webhook deliveries
562
+ - `getWebhookDeliveriesStats()` - List stats
563
+ - `postWebhookConfigs()` - Create webhook configs
564
+ - `postWebhookConfigsBulkDisable()` - Create bulk disable
565
+ - `postWebhookConfigsBulkEnable()` - Create bulk enable
566
+ - `postWebhookConfigsByIdReplay()` - Create replay
567
+ - `postWebhookConfigsByIdTest()` - Create test
568
+ - `postWebhookDeliveriesBulkRetry()` - Create bulk retry
569
+ - `postWebhookDeliveriesByIdRetry()` - Create retry
570
+ - `patchWebhookConfigsById()` - Update webhook configs
571
+ - `patchWebhookConfigsByIdRotateSecret()` - Update rotate secret
572
+ - `deleteWebhookConfigsById()` - Delete webhook configs
573
+
574
+ ## Workspace document stats
575
+
576
+ - `getTenantsByTenantIdWorkspaceStats()` - Get workspace stats
577
+
578
+ ## Workspace-membership
579
+
580
+ - `getWorkspace-memberships()` - List workspace memberships
581
+ - `getWorkspacesByIdMembers()` - Get members
582
+ - `postWorkspace-memberships()` - Create workspace memberships
583
+ - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - Update workspace memberships
584
+ - `deleteWorkspace-membershipsByWorkspaceIdByUserId()` - Delete workspace memberships
585
+
586
+ ## Workspaces
587
+
588
+ - `getWorkspaces()` - List workspaces
589
+ - `getWorkspacesById()` - Get workspaces
590
+ - `getWorkspacesMine()` - List mine
591
+ - `getWorkspacesShared()` - List shared
592
+ - `postWorkspaces()` - Create workspaces
593
+ - `patchWorkspacesById()` - Update workspaces
594
+ - `patchWorkspacesByIdAllocate()` - Update allocate
595
+ - `patchWorkspacesByIdStorage-settings()` - Update storage settings
596
+ - `deleteWorkspacesById()` - Delete workspaces
597
+
598
+ ## Error Handling
599
+
600
+ All functions return a Promise that resolves with `{ data, error, response }`.
601
+
602
+ ```typescript
603
+ const { data, error } = await getAgents();
604
+ if (error) {
605
+ console.error(error.status, error.detail);
606
+ } else {
607
+ console.log(data);
608
+ }
609
+ ```
610
+
611
+ ## Types
612
+
613
+ All types are exported:
614
+
615
+ ```typescript
616
+ import type { Agent, Workspace, Document } from '@gpt-core/admin';
617
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.8.11",
3
+ "version": "0.8.20",
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",
@@ -22,7 +22,8 @@
22
22
  "node": ">=18.0.0"
23
23
  },
24
24
  "files": [
25
- "dist"
25
+ "dist",
26
+ "llms.txt"
26
27
  ],
27
28
  "keywords": [
28
29
  "gpt-core",
@@ -30,7 +31,15 @@
30
31
  "sdk",
31
32
  "typescript",
32
33
  "api-client",
33
- "platform-admin"
34
+ "platform-admin",
35
+ "webhooks",
36
+ "isv",
37
+ "multi-tenant",
38
+ "billing",
39
+ "api-key-management",
40
+ "bulk-operations",
41
+ "openapi",
42
+ "json-api"
34
43
  ],
35
44
  "author": "GPT Integrators",
36
45
  "license": "MIT",