@gpt-core/admin 0.8.12 → 0.8.21

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,625 @@
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 mapping confirmation
271
+
272
+ - `postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping()` - Create mapping
273
+
274
+ ## Field mapping result
275
+
276
+ - `getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping()` - Get mapping
277
+
278
+ ## Field Templates
279
+
280
+ - `getFieldTemplates()` - List field templates
281
+ - `getFieldTemplatesById()` - Get field templates
282
+ - `postFieldTemplates()` - Create field templates
283
+ - `deleteFieldTemplatesById()` - Delete field templates
284
+
285
+ ## Invitations
286
+
287
+ - `getInvitations()` - List invitations
288
+ - `getInvitationsConsumeByToken()` - Get consume
289
+ - `getInvitationsMe()` - List me
290
+ - `postInvitations()` - Create invitations
291
+ - `postInvitationsAcceptByToken()` - Create accept by token
292
+ - `patchInvitationsByIdAccept()` - Update accept
293
+ - `patchInvitationsByIdAccept-by-user()` - Update accept by user
294
+ - `patchInvitationsByIdDecline()` - Update decline
295
+ - `patchInvitationsByIdResend()` - Update resend
296
+ - `patchInvitationsByIdRevoke()` - Update revoke
297
+
298
+ ## Isv revenue
299
+
300
+ - `getIsvRevenue()` - List isv revenue
301
+ - `getIsvRevenueById()` - Get isv revenue
302
+ - `postIsvRevenue()` - Create isv revenue
303
+
304
+ ## Isv settlement
305
+
306
+ - `getIsvSettlements()` - List isv settlements
307
+ - `getIsvSettlementsById()` - Get isv settlements
308
+ - `postIsvSettlements()` - Create isv settlements
309
+ - `patchIsvSettlementsById()` - Update isv settlements
310
+
311
+ ## Knowledge Graph
312
+
313
+ - `getAiGraphEdges()` - List edges
314
+ - `getAiGraphNodes()` - List nodes
315
+ - `getAiGraphNodesBySourceNodeIdRelated()` - Get related
316
+ - `getAiGraphNodesLabelByLabel()` - Get label
317
+ - `postAiGraphEdges()` - Create edges
318
+ - `postAiGraphNodes()` - Create nodes
319
+ - `deleteAiGraphEdgesById()` - Delete edges
320
+ - `deleteAiGraphNodesById()` - Delete nodes
321
+
322
+ ## Ledger
323
+
324
+ - `getLedger()` - List ledger
325
+ - `getLedgerBy-accountByAccountId()` - Get by account
326
+ - `getLedgerById()` - Get ledger
327
+
328
+ ## Messages
329
+
330
+ - `getAiMessages()` - List messages
331
+ - `getMessages()` - List messages
332
+ - `getMessagesById()` - Get messages
333
+ - `getMessagesSearch()` - List search
334
+ - `getMessagesSemantic-search()` - List semantic search
335
+ - `getThreadsByIdMessages()` - Get messages
336
+ - `postAiMessages()` - Create messages
337
+ - `postMessages()` - Create messages
338
+ - `patchMessagesById()` - Update messages
339
+ - `deleteAiMessagesById()` - Delete messages
340
+ - `deleteMessagesById()` - Delete messages
341
+
342
+ ## Notification log
343
+
344
+ - `getNotificationLogs()` - List notification logs
345
+ - `getNotificationLogsById()` - Get notification logs
346
+ - `getNotificationLogsStats()` - List stats
347
+
348
+ ## Notification method
349
+
350
+ - `getNotificationMethods()` - List notification methods
351
+ - `getNotificationMethodsById()` - Get notification methods
352
+ - `postNotificationMethods()` - Create notification methods
353
+ - `patchNotificationMethodsById()` - Update notification methods
354
+ - `patchNotificationMethodsByIdSendVerification()` - Update send verification
355
+ - `patchNotificationMethodsByIdSetPrimary()` - Update set primary
356
+ - `patchNotificationMethodsByIdVerify()` - Update verify
357
+ - `deleteNotificationMethodsById()` - Delete notification methods
358
+
359
+ ## Notification preference
360
+
361
+ - `getNotificationPreferences()` - List notification preferences
362
+ - `getNotificationPreferencesById()` - Get notification preferences
363
+ - `postNotificationPreferences()` - Create notification preferences
364
+ - `patchNotificationPreferencesById()` - Update notification preferences
365
+ - `deleteNotificationPreferencesById()` - Delete notification preferences
366
+
367
+ ## Operation success
368
+
369
+ - `postDocumentsBulkDelete()` - Create bulk delete
370
+
371
+ ## Payment method
372
+
373
+ - `getPayment-methods()` - List payment methods
374
+ - `getPayment-methodsById()` - Get payment methods
375
+ - `postPayment-methods()` - Create payment methods
376
+ - `patchPayment-methodsById()` - Update payment methods
377
+ - `deletePayment-methodsById()` - Delete payment methods
378
+
379
+ ## Presigned url
380
+
381
+ - `postDocumentsPresignedUpload()` - Create presigned upload
382
+ - `postStorageSignDownload()` - Create sign download
383
+ - `postStorageSignUpload()` - Create sign upload
384
+
385
+ ## Pricing rule
386
+
387
+ - `getPricing-rules()` - List pricing rules
388
+ - `getPricing-rulesById()` - Get pricing rules
389
+ - `getPricing-rulesResolve()` - List resolve
390
+ - `postPricing-rules()` - Create pricing rules
391
+ - `patchPricing-rulesById()` - Update pricing rules
392
+
393
+ ## Pricing strategy
394
+
395
+ - `getPricing-strategies()` - List pricing strategies
396
+ - `getPricing-strategiesById()` - Get pricing strategies
397
+ - `postPricing-strategies()` - Create pricing strategies
398
+ - `patchPricing-strategiesById()` - Update pricing strategies
399
+
400
+ ## Schema discovery
401
+
402
+ - `getExtractionSchemaDiscoveriesById()` - Get schema discoveries
403
+ - `postExtractionSchemaDiscoveries()` - Create schema discoveries
404
+
405
+ ## Search
406
+
407
+ - `getSearch()` - List search
408
+ - `getSearchHealth()` - List health
409
+ - `getSearchIndexes()` - List indexes
410
+ - `getSearchSaved()` - List saved
411
+ - `getSearchSemantic()` - List semantic
412
+ - `getSearchStats()` - List stats
413
+ - `getSearchStatus()` - List status
414
+ - `getSearchSuggest()` - List suggest
415
+ - `postAiSearch()` - Create search
416
+ - `postAiSearchAdvanced()` - Create advanced
417
+ - `postSearchBatch()` - Create batch
418
+ - `postSearchReindex()` - Create reindex
419
+ - `postSearchSaved()` - Create saved
420
+ - `postSearchSavedByIdRun()` - Create run
421
+ - `patchSearchSavedById()` - Update saved
422
+ - `deleteSearchSavedById()` - Delete saved
423
+
424
+ ## Search analytics
425
+
426
+ - `getSearchAnalytics()` - List analytics
427
+ - `getSearchAnalyticsSummary()` - List summary
428
+
429
+ ## Semantic cache entry
430
+
431
+ - `getSysSemanticCacheById()` - Get semantic cache
432
+ - `postSysSemanticCacheClear()` - Create clear
433
+
434
+ ## Storage
435
+
436
+ - `getBuckets()` - List buckets
437
+ - `getBucketsAll()` - List all
438
+ - `getBucketsById()` - Get buckets
439
+ - `getBucketsByIdObjects()` - Get objects
440
+ - `getBucketsByIdStats()` - Get stats
441
+ - `getObjects()` - List objects
442
+ - `getObjectsById()` - Get objects
443
+ - `postBuckets()` - Create buckets
444
+ - `postObjectsBulk-destroy()` - Create bulk destroy
445
+ - `postObjectsCopy()` - Create copy
446
+ - `postObjectsMove()` - Create move
447
+ - `postObjectsRegister()` - Create register
448
+ - `patchBucketsById()` - Update buckets
449
+ - `deleteBucketsById()` - Delete buckets
450
+ - `deleteObjectsById()` - Delete objects
451
+
452
+ ## Storage stats
453
+
454
+ - `getStorageStats()` - List stats
455
+ - `getStorageStatsTenantByTenantId()` - Get tenant
456
+
457
+ ## Tenant document stats
458
+
459
+ - `getTenantsByTenantIdDocumentStats()` - Get document stats
460
+
461
+ ## Tenant pricing override
462
+
463
+ - `getTenant-pricing-overrides()` - List tenant pricing overrides
464
+ - `getTenant-pricing-overridesById()` - Get tenant pricing overrides
465
+ - `postTenant-pricing-overrides()` - Create tenant pricing overrides
466
+ - `patchTenant-pricing-overridesById()` - Update tenant pricing overrides
467
+ - `deleteTenant-pricing-overridesById()` - Delete tenant pricing overrides
468
+
469
+ ## Tenant stats
470
+
471
+ - `getTenantsByTenantIdStats()` - Get stats
472
+
473
+ ## Tenant-membership
474
+
475
+ - `getTenant-memberships()` - List tenant memberships
476
+ - `postTenant-memberships()` - Create tenant memberships
477
+ - `patchTenant-membershipsByTenantIdByUserId()` - Update tenant memberships
478
+ - `deleteTenant-membershipsByTenantIdByUserId()` - Delete tenant memberships
479
+
480
+ ## Tenants
481
+
482
+ - `getTenants()` - List tenants
483
+ - `getTenantsById()` - Get tenants
484
+ - `postTenants()` - Create tenants
485
+ - `postTenantsByIdBuy-storage()` - Create buy storage
486
+ - `postTenantsByIdCredit()` - Create credit
487
+ - `postTenantsByIdRemove-storage()` - Create remove storage
488
+ - `postTenantsByIdSchedule-purge()` - Create schedule purge
489
+ - `postTenantsIsv()` - Create isv
490
+ - `patchTenantsById()` - Update tenants
491
+ - `deleteTenantsById()` - Delete tenants
492
+
493
+ ## Threads
494
+
495
+ - `getThreads()` - List threads
496
+ - `getThreadsById()` - Get threads
497
+ - `getThreadsSearch()` - List search
498
+ - `getThreadsStats()` - List stats
499
+ - `getThreadsWorkspace-stats()` - List workspace stats
500
+ - `postThreads()` - Create threads
501
+ - `postThreadsActive()` - Create active
502
+ - `postThreadsByIdExport()` - Create export
503
+ - `postThreadsByIdFork()` - Create fork
504
+ - `postThreadsByIdMessages()` - Create messages
505
+ - `postThreadsByIdSummarize()` - Create summarize
506
+ - `patchThreadsById()` - Update threads
507
+ - `patchThreadsByIdArchive()` - Update archive
508
+ - `patchThreadsByIdUnarchive()` - Update unarchive
509
+ - `deleteThreadsById()` - Delete threads
510
+
511
+ ## Token
512
+
513
+ - `postTokens()` - Create tokens
514
+
515
+ ## Training analytics
516
+
517
+ - `getWorkspacesByWorkspaceIdTrainingAnalytics()` - Get analytics
518
+
519
+ ## Transaction
520
+
521
+ - `getTransactions()` - List transactions
522
+ - `getTransactionsById()` - Get transactions
523
+ - `postPayments()` - Create payments
524
+
525
+ ## Transfer
526
+
527
+ - `getTransfers()` - List transfers
528
+ - `getTransfersById()` - Get transfers
529
+
530
+ ## Users
531
+
532
+ - `getUserProfiles()` - List user profiles
533
+ - `getUserProfilesById()` - Get user profiles
534
+ - `getUserProfilesMe()` - List me
535
+ - `getUsers()` - List users
536
+ - `getUsersBy-email()` - List by email
537
+ - `getUsersById()` - Get users
538
+ - `getUsersMe()` - List me
539
+ - `getUsersMeActivity()` - List activity
540
+ - `getUsersMeDashboard()` - List dashboard
541
+ - `getUsersMeStats()` - List stats
542
+ - `getUsersMeTenants()` - List tenants
543
+ - `postUserProfiles()` - Create user profiles
544
+ - `postUsersAuthConfirm()` - Create confirm
545
+ - `postUsersAuthLogin()` - Create login
546
+ - `postUsersAuthMagicLinkLogin()` - Create login
547
+ - `postUsersAuthMagicLinkRequest()` - Create request
548
+ - `postUsersAuthRegister()` - Create register
549
+ - `postUsersAuthRegisterWithOidc()` - Create register with oidc
550
+ - `postUsersAuthResend-confirmation()` - Create resend confirmation
551
+ - `postUsersRegisterIsv()` - Create register isv
552
+ - `patchUserProfilesById()` - Update user profiles
553
+ - `patchUsersAuthPasswordChange()` - Update change
554
+ - `patchUsersAuthReset-password()` - Update reset password
555
+ - `patchUsersById()` - Update admin
556
+ - `patchUsersByIdConfirm-email()` - Update confirm email
557
+ - `patchUsersByIdEmail()` - Update email
558
+ - `patchUsersByIdReset-password()` - Update reset password
559
+ - `deleteUserProfilesById()` - Delete user profiles
560
+ - `deleteUsersById()` - Delete users
561
+
562
+ ## Webhooks
563
+
564
+ - `getWebhookConfigs()` - List webhook configs
565
+ - `getWebhookConfigsById()` - Get webhook configs
566
+ - `getWebhookConfigsByIdEvents()` - Get events
567
+ - `getWebhookConfigsStats()` - List stats
568
+ - `getWebhookDeliveries()` - List webhook deliveries
569
+ - `getWebhookDeliveriesById()` - Get webhook deliveries
570
+ - `getWebhookDeliveriesStats()` - List stats
571
+ - `postWebhookConfigs()` - Create webhook configs
572
+ - `postWebhookConfigsBulkDisable()` - Create bulk disable
573
+ - `postWebhookConfigsBulkEnable()` - Create bulk enable
574
+ - `postWebhookConfigsByIdReplay()` - Create replay
575
+ - `postWebhookConfigsByIdTest()` - Create test
576
+ - `postWebhookDeliveriesBulkRetry()` - Create bulk retry
577
+ - `postWebhookDeliveriesByIdRetry()` - Create retry
578
+ - `patchWebhookConfigsById()` - Update webhook configs
579
+ - `patchWebhookConfigsByIdRotateSecret()` - Update rotate secret
580
+ - `deleteWebhookConfigsById()` - Delete webhook configs
581
+
582
+ ## Workspace document stats
583
+
584
+ - `getTenantsByTenantIdWorkspaceStats()` - Get workspace stats
585
+
586
+ ## Workspace-membership
587
+
588
+ - `getWorkspace-memberships()` - List workspace memberships
589
+ - `getWorkspacesByIdMembers()` - Get members
590
+ - `postWorkspace-memberships()` - Create workspace memberships
591
+ - `patchWorkspace-membershipsByWorkspaceIdByUserId()` - Update workspace memberships
592
+ - `deleteWorkspace-membershipsByWorkspaceIdByUserId()` - Delete workspace memberships
593
+
594
+ ## Workspaces
595
+
596
+ - `getWorkspaces()` - List workspaces
597
+ - `getWorkspacesById()` - Get workspaces
598
+ - `getWorkspacesMine()` - List mine
599
+ - `getWorkspacesShared()` - List shared
600
+ - `postWorkspaces()` - Create workspaces
601
+ - `patchWorkspacesById()` - Update workspaces
602
+ - `patchWorkspacesByIdAllocate()` - Update allocate
603
+ - `patchWorkspacesByIdStorage-settings()` - Update storage settings
604
+ - `deleteWorkspacesById()` - Delete workspaces
605
+
606
+ ## Error Handling
607
+
608
+ All functions return a Promise that resolves with `{ data, error, response }`.
609
+
610
+ ```typescript
611
+ const { data, error } = await getAgents();
612
+ if (error) {
613
+ console.error(error.status, error.detail);
614
+ } else {
615
+ console.log(data);
616
+ }
617
+ ```
618
+
619
+ ## Types
620
+
621
+ All types are exported:
622
+
623
+ ```typescript
624
+ import type { Agent, Workspace, Document } from '@gpt-core/admin';
625
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.8.12",
3
+ "version": "0.8.21",
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",