@gpt-core/admin 0.2.0 → 0.3.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.
Files changed (3) hide show
  1. package/dist/index.d.mts +1064 -399
  2. package/dist/index.d.ts +1064 -399
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -129,6 +129,19 @@ type WorkspaceFilterExpiresAt = {
129
129
  * Filters the query to results matching the given filter object
130
130
  */
131
131
  type SearchFilter = unknown;
132
+ type ConversationFilterTitle = {
133
+ contains?: string;
134
+ eq?: string;
135
+ greater_than?: string;
136
+ greater_than_or_equal?: string;
137
+ ilike?: string;
138
+ in?: Array<string>;
139
+ is_nil?: boolean;
140
+ less_than?: string;
141
+ less_than_or_equal?: string;
142
+ like?: string;
143
+ not_eq?: string;
144
+ };
132
145
  type UserProfileFilterUserId = {
133
146
  eq?: string;
134
147
  greater_than?: string;
@@ -238,6 +251,16 @@ type Wallet = {
238
251
  };
239
252
  type: string;
240
253
  };
254
+ type MessageFilterRole = {
255
+ eq?: "system" | "user" | "assistant";
256
+ greater_than?: "system" | "user" | "assistant";
257
+ greater_than_or_equal?: "system" | "user" | "assistant";
258
+ in?: Array<string>;
259
+ is_nil?: boolean;
260
+ less_than?: "system" | "user" | "assistant";
261
+ less_than_or_equal?: "system" | "user" | "assistant";
262
+ not_eq?: "system" | "user" | "assistant";
263
+ };
241
264
  /**
242
265
  * A "Resource object" representing a message
243
266
  */
@@ -311,6 +334,16 @@ type UserFilterId = {
311
334
  less_than_or_equal?: string;
312
335
  not_eq?: string;
313
336
  };
337
+ type ConversationFilterTenantId = {
338
+ eq?: string;
339
+ greater_than?: string;
340
+ greater_than_or_equal?: string;
341
+ in?: Array<string>;
342
+ is_nil?: boolean;
343
+ less_than?: string;
344
+ less_than_or_equal?: string;
345
+ not_eq?: string;
346
+ };
314
347
  type WalletFilterCredits = {
315
348
  eq?: number;
316
349
  greater_than?: number;
@@ -384,6 +417,16 @@ type WalletFilterCreditsFree = {
384
417
  less_than_or_equal?: number;
385
418
  not_eq?: number;
386
419
  };
420
+ type ApiKeyFilterExpiresAt = {
421
+ eq?: unknown;
422
+ greater_than?: unknown;
423
+ greater_than_or_equal?: unknown;
424
+ in?: Array<unknown>;
425
+ is_nil?: boolean;
426
+ less_than?: unknown;
427
+ less_than_or_equal?: unknown;
428
+ not_eq?: unknown;
429
+ };
387
430
  type DocumentFilterTenantId = {
388
431
  eq?: string;
389
432
  greater_than?: string;
@@ -598,6 +641,22 @@ type PlanFilterStorageDays = {
598
641
  less_than_or_equal?: number;
599
642
  not_eq?: number;
600
643
  };
644
+ /**
645
+ * ID of the Specialty Agent assigned to this workspace
646
+ */
647
+ type WorkspaceFilterSpecialtyAgentId = {
648
+ contains?: string;
649
+ eq?: string;
650
+ greater_than?: string;
651
+ greater_than_or_equal?: string;
652
+ ilike?: string;
653
+ in?: Array<string>;
654
+ is_nil?: boolean;
655
+ less_than?: string;
656
+ less_than_or_equal?: string;
657
+ like?: string;
658
+ not_eq?: string;
659
+ };
601
660
  type StorageStatsFilterTotalObjects = {
602
661
  eq?: number;
603
662
  greater_than?: number;
@@ -813,6 +872,16 @@ type UserFilterIsAppAdmin = {
813
872
  less_than_or_equal?: boolean;
814
873
  not_eq?: boolean;
815
874
  };
875
+ type ApiKeyFilterWorkspaceId = {
876
+ eq?: string;
877
+ greater_than?: string;
878
+ greater_than_or_equal?: string;
879
+ in?: Array<string>;
880
+ is_nil?: boolean;
881
+ less_than?: string;
882
+ less_than_or_equal?: string;
883
+ not_eq?: string;
884
+ };
816
885
  type TrainingExampleFilterEmbedding = {
817
886
  eq?: unknown;
818
887
  greater_than?: unknown;
@@ -848,6 +917,10 @@ type Document = {
848
917
  * Field included by default.
849
918
  */
850
919
  application_id?: string | null | unknown;
920
+ /**
921
+ * Field included by default.
922
+ */
923
+ billed_credits?: number | null | unknown;
851
924
  /**
852
925
  * Field included by default.
853
926
  */
@@ -1225,6 +1298,16 @@ type DocumentFilterUploaderId = {
1225
1298
  less_than_or_equal?: string;
1226
1299
  not_eq?: string;
1227
1300
  };
1301
+ type ApiKeyFilterApplicationId = {
1302
+ eq?: string;
1303
+ greater_than?: string;
1304
+ greater_than_or_equal?: string;
1305
+ in?: Array<string>;
1306
+ is_nil?: boolean;
1307
+ less_than?: string;
1308
+ less_than_or_equal?: string;
1309
+ not_eq?: string;
1310
+ };
1228
1311
  /**
1229
1312
  * Filters the query to results matching the given filter object
1230
1313
  */
@@ -1361,6 +1444,16 @@ type CreditPackageFilterCreatedAt = {
1361
1444
  less_than_or_equal?: unknown;
1362
1445
  not_eq?: unknown;
1363
1446
  };
1447
+ type EmbeddingFilterBilledCredits = {
1448
+ eq?: number;
1449
+ greater_than?: number;
1450
+ greater_than_or_equal?: number;
1451
+ in?: Array<number>;
1452
+ is_nil?: boolean;
1453
+ less_than?: number;
1454
+ less_than_or_equal?: number;
1455
+ not_eq?: number;
1456
+ };
1364
1457
  type WalletFilterPlan = {
1365
1458
  eq?: {
1366
1459
  [key: string]: unknown;
@@ -1472,6 +1565,16 @@ type Plan = {
1472
1565
  * Filters the query to results matching the given filter object
1473
1566
  */
1474
1567
  type SemanticCacheEntryFilter = unknown;
1568
+ type DocumentFilterBilledCredits = {
1569
+ eq?: number;
1570
+ greater_than?: number;
1571
+ greater_than_or_equal?: number;
1572
+ in?: Array<number>;
1573
+ is_nil?: boolean;
1574
+ less_than?: number;
1575
+ less_than_or_equal?: number;
1576
+ not_eq?: number;
1577
+ };
1475
1578
  type UserProfileFilterPreferences = {
1476
1579
  eq?: {
1477
1580
  [key: string]: unknown;
@@ -1496,6 +1599,33 @@ type UserProfileFilterPreferences = {
1496
1599
  [key: string]: unknown;
1497
1600
  };
1498
1601
  };
1602
+ /**
1603
+ * Structured data providing context for this conversation (e.g., failed prediction results)
1604
+ */
1605
+ type ConversationFilterContextData = {
1606
+ eq?: {
1607
+ [key: string]: unknown;
1608
+ };
1609
+ greater_than?: {
1610
+ [key: string]: unknown;
1611
+ };
1612
+ greater_than_or_equal?: {
1613
+ [key: string]: unknown;
1614
+ };
1615
+ in?: Array<{
1616
+ [key: string]: unknown;
1617
+ }>;
1618
+ is_nil?: boolean;
1619
+ less_than?: {
1620
+ [key: string]: unknown;
1621
+ };
1622
+ less_than_or_equal?: {
1623
+ [key: string]: unknown;
1624
+ };
1625
+ not_eq?: {
1626
+ [key: string]: unknown;
1627
+ };
1628
+ };
1499
1629
  /**
1500
1630
  * A "Resource object" representing a application
1501
1631
  */
@@ -1578,7 +1708,15 @@ type ApiKey = {
1578
1708
  * An attributes object for a api_key
1579
1709
  */
1580
1710
  attributes?: {
1711
+ /**
1712
+ * Field included by default.
1713
+ */
1714
+ application_id: string;
1581
1715
  current_scopes?: Array<string> | null | unknown;
1716
+ /**
1717
+ * Field included by default.
1718
+ */
1719
+ expires_at?: unknown;
1582
1720
  /**
1583
1721
  * Field included by default.
1584
1722
  */
@@ -1587,13 +1725,84 @@ type ApiKey = {
1587
1725
  * Field included by default.
1588
1726
  */
1589
1727
  status: "active" | "revoked" | "expired";
1728
+ /**
1729
+ * Field included by default.
1730
+ */
1731
+ tenant_id?: string | null | unknown;
1732
+ /**
1733
+ * Field included by default.
1734
+ */
1735
+ user_id?: string | null | unknown;
1736
+ /**
1737
+ * Field included by default.
1738
+ */
1739
+ workspace_id?: string | null | unknown;
1590
1740
  };
1591
1741
  id: string;
1592
1742
  /**
1593
1743
  * A relationships object for a api_key
1594
1744
  */
1595
1745
  relationships?: {
1596
- [key: string]: never;
1746
+ account?: {
1747
+ /**
1748
+ * An identifier for account
1749
+ */
1750
+ data?: {
1751
+ id: string;
1752
+ meta?: {
1753
+ [key: string]: unknown;
1754
+ };
1755
+ type: string;
1756
+ } | null;
1757
+ };
1758
+ application?: {
1759
+ /**
1760
+ * An identifier for application
1761
+ */
1762
+ data?: {
1763
+ id: string;
1764
+ meta?: {
1765
+ [key: string]: unknown;
1766
+ };
1767
+ type: string;
1768
+ } | null;
1769
+ };
1770
+ tenant?: {
1771
+ /**
1772
+ * An identifier for tenant
1773
+ */
1774
+ data?: {
1775
+ id: string;
1776
+ meta?: {
1777
+ [key: string]: unknown;
1778
+ };
1779
+ type: string;
1780
+ } | null;
1781
+ };
1782
+ user?: {
1783
+ /**
1784
+ * An identifier for user
1785
+ */
1786
+ data?: {
1787
+ id: string;
1788
+ meta?: {
1789
+ [key: string]: unknown;
1790
+ };
1791
+ type: string;
1792
+ } | null;
1793
+ };
1794
+ workspace?: {
1795
+ /**
1796
+ * An identifier for workspace
1797
+ */
1798
+ data?: {
1799
+ id: string;
1800
+ meta?: {
1801
+ [key: string]: unknown;
1802
+ };
1803
+ type: string;
1804
+ } | null;
1805
+ };
1597
1806
  };
1598
1807
  type: string;
1599
1808
  };
@@ -1951,6 +2160,16 @@ type ExtractionResult = {
1951
2160
  };
1952
2161
  type: string;
1953
2162
  };
2163
+ type ConversationFilterId = {
2164
+ eq?: string;
2165
+ greater_than?: string;
2166
+ greater_than_or_equal?: string;
2167
+ in?: Array<string>;
2168
+ is_nil?: boolean;
2169
+ less_than?: string;
2170
+ less_than_or_equal?: string;
2171
+ not_eq?: string;
2172
+ };
1954
2173
  type WalletFilterCreditsSubscription = {
1955
2174
  eq?: number;
1956
2175
  greater_than?: number;
@@ -2050,6 +2269,16 @@ type GraphEdgeFilterTargetId = {
2050
2269
  less_than_or_equal?: string;
2051
2270
  not_eq?: string;
2052
2271
  };
2272
+ type ApiKeyFilterUserId = {
2273
+ eq?: string;
2274
+ greater_than?: string;
2275
+ greater_than_or_equal?: string;
2276
+ in?: Array<string>;
2277
+ is_nil?: boolean;
2278
+ less_than?: string;
2279
+ less_than_or_equal?: string;
2280
+ not_eq?: string;
2281
+ };
2053
2282
  /**
2054
2283
  * Filters the query to results matching the given filter object
2055
2284
  */
@@ -2223,6 +2452,20 @@ type TrainingExampleFilterInputText = {
2223
2452
  like?: string;
2224
2453
  not_eq?: string;
2225
2454
  };
2455
+ /**
2456
+ * Description of what this agent is good at, used for AI matching
2457
+ */
2458
+ type AgentFilterCapabilities = {
2459
+ contains?: string;
2460
+ eq?: string;
2461
+ greater_than?: string;
2462
+ greater_than_or_equal?: string;
2463
+ in?: Array<string>;
2464
+ is_nil?: boolean;
2465
+ less_than?: string;
2466
+ less_than_or_equal?: string;
2467
+ not_eq?: string;
2468
+ };
2226
2469
  type PlanFilterId = {
2227
2470
  eq?: string;
2228
2471
  greater_than?: string;
@@ -2237,6 +2480,19 @@ type PlanFilterId = {
2237
2480
  * Filters the query to results matching the given filter object
2238
2481
  */
2239
2482
  type ObjectFilter = unknown;
2483
+ type MessageFilterContent = {
2484
+ contains?: string;
2485
+ eq?: string;
2486
+ greater_than?: string;
2487
+ greater_than_or_equal?: string;
2488
+ ilike?: string;
2489
+ in?: Array<string>;
2490
+ is_nil?: boolean;
2491
+ less_than?: string;
2492
+ less_than_or_equal?: string;
2493
+ like?: string;
2494
+ not_eq?: string;
2495
+ };
2240
2496
  /**
2241
2497
  * Filters the query to results matching the given filter object
2242
2498
  */
@@ -2319,6 +2575,16 @@ type DocumentFilterId = {
2319
2575
  less_than_or_equal?: string;
2320
2576
  not_eq?: string;
2321
2577
  };
2578
+ type ApiKeyFilterTenantId = {
2579
+ eq?: string;
2580
+ greater_than?: string;
2581
+ greater_than_or_equal?: string;
2582
+ in?: Array<string>;
2583
+ is_nil?: boolean;
2584
+ less_than?: string;
2585
+ less_than_or_equal?: string;
2586
+ not_eq?: string;
2587
+ };
2322
2588
  type PaymentFilterCurrency = {
2323
2589
  contains?: string;
2324
2590
  eq?: string;
@@ -2330,6 +2596,16 @@ type PaymentFilterCurrency = {
2330
2596
  less_than_or_equal?: string;
2331
2597
  not_eq?: string;
2332
2598
  };
2599
+ type AgentFilterSlug = {
2600
+ eq?: string;
2601
+ greater_than?: string;
2602
+ greater_than_or_equal?: string;
2603
+ in?: Array<string>;
2604
+ is_nil?: boolean;
2605
+ less_than?: string;
2606
+ less_than_or_equal?: string;
2607
+ not_eq?: string;
2608
+ };
2333
2609
  /**
2334
2610
  * A "Resource object" representing a user
2335
2611
  */
@@ -2385,6 +2661,38 @@ type DocumentStatsFilterProcessing = {
2385
2661
  less_than_or_equal?: number;
2386
2662
  not_eq?: number;
2387
2663
  };
2664
+ /**
2665
+ * A "Resource object" representing a conversation
2666
+ */
2667
+ type Conversation = {
2668
+ /**
2669
+ * An attributes object for a conversation
2670
+ */
2671
+ attributes?: {
2672
+ /**
2673
+ * Structured data providing context for this conversation (e.g., failed prediction results). Field included by default.
2674
+ */
2675
+ context_data?: {
2676
+ [key: string]: unknown;
2677
+ } | null | unknown;
2678
+ /**
2679
+ * Field included by default.
2680
+ */
2681
+ tenant_id: string;
2682
+ /**
2683
+ * Field included by default.
2684
+ */
2685
+ title?: string | null | unknown;
2686
+ };
2687
+ id: string;
2688
+ /**
2689
+ * A relationships object for a conversation
2690
+ */
2691
+ relationships?: {
2692
+ [key: string]: never;
2693
+ };
2694
+ type: string;
2695
+ };
2388
2696
  type TokenFilterLast4 = {
2389
2697
  contains?: string;
2390
2698
  eq?: string;
@@ -2515,6 +2823,10 @@ type Embedding = {
2515
2823
  * An attributes object for a embedding
2516
2824
  */
2517
2825
  attributes?: {
2826
+ /**
2827
+ * Field included by default.
2828
+ */
2829
+ billed_credits?: number | null | unknown;
2518
2830
  /**
2519
2831
  * Field included by default.
2520
2832
  */
@@ -3638,6 +3950,17 @@ type PlanFilterName = {
3638
3950
  like?: string;
3639
3951
  not_eq?: string;
3640
3952
  };
3953
+ type AgentFilterDescription = {
3954
+ contains?: string;
3955
+ eq?: string;
3956
+ greater_than?: string;
3957
+ greater_than_or_equal?: string;
3958
+ in?: Array<string>;
3959
+ is_nil?: boolean;
3960
+ less_than?: string;
3961
+ less_than_or_equal?: string;
3962
+ not_eq?: string;
3963
+ };
3641
3964
  type AuditLogFilterActorId = {
3642
3965
  eq?: string;
3643
3966
  greater_than?: string;
@@ -3968,6 +4291,17 @@ type PaymentFilterCreatedAt = {
3968
4291
  * Filters the query to results matching the given filter object
3969
4292
  */
3970
4293
  type PlanFilter = unknown;
4294
+ type AgentFilterName = {
4295
+ contains?: string;
4296
+ eq?: string;
4297
+ greater_than?: string;
4298
+ greater_than_or_equal?: string;
4299
+ in?: Array<string>;
4300
+ is_nil?: boolean;
4301
+ less_than?: string;
4302
+ less_than_or_equal?: string;
4303
+ not_eq?: string;
4304
+ };
3971
4305
  /**
3972
4306
  * Filters the query to results matching the given filter object
3973
4307
  */
@@ -4072,12 +4406,22 @@ type Agent = {
4072
4406
  * An attributes object for a agent
4073
4407
  */
4074
4408
  attributes?: {
4075
- test_result?: {
4076
- [key: string]: unknown;
4077
- } | null | unknown;
4078
- validation_result?: {
4079
- [key: string]: unknown;
4080
- } | null | unknown;
4409
+ /**
4410
+ * Description of what this agent is good at, used for AI matching. Field included by default.
4411
+ */
4412
+ capabilities: string;
4413
+ /**
4414
+ * Field included by default.
4415
+ */
4416
+ description: string;
4417
+ /**
4418
+ * Field included by default.
4419
+ */
4420
+ name: string;
4421
+ /**
4422
+ * Field included by default.
4423
+ */
4424
+ slug: string;
4081
4425
  };
4082
4426
  id: string;
4083
4427
  /**
@@ -4280,6 +4624,10 @@ type Workspace = {
4280
4624
  * Field included by default.
4281
4625
  */
4282
4626
  slug: string;
4627
+ /**
4628
+ * ID of the Specialty Agent assigned to this workspace. Field included by default.
4629
+ */
4630
+ specialty_agent_id?: string | null | unknown;
4283
4631
  /**
4284
4632
  * Field included by default.
4285
4633
  */
@@ -4330,6 +4678,10 @@ type BucketFilterName = {
4330
4678
  like?: string;
4331
4679
  not_eq?: string;
4332
4680
  };
4681
+ /**
4682
+ * Filters the query to results matching the given filter object
4683
+ */
4684
+ type ConversationFilter = unknown;
4333
4685
  type AuditLogFilterResourceType = {
4334
4686
  contains?: string;
4335
4687
  eq?: string;
@@ -4513,6 +4865,10 @@ type PostAdminWorkspacesData = {
4513
4865
  [key: string]: unknown;
4514
4866
  } | unknown;
4515
4867
  slug: string;
4868
+ /**
4869
+ * ID of the Specialty Agent assigned to this workspace
4870
+ */
4871
+ specialty_agent_id?: string | unknown;
4516
4872
  tenant_id: string;
4517
4873
  };
4518
4874
  relationships?: {
@@ -5129,16 +5485,6 @@ type GetAdminAgentsData = {
5129
5485
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
5130
5486
  */
5131
5487
  sort?: string;
5132
- /**
5133
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
5134
- */
5135
- page?: {
5136
- after?: string;
5137
- before?: string;
5138
- count?: boolean;
5139
- limit?: number;
5140
- offset?: number;
5141
- };
5142
5488
  /**
5143
5489
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
5144
5490
  */
@@ -5203,97 +5549,6 @@ type GetAdminAgentsResponses = {
5203
5549
  };
5204
5550
  };
5205
5551
  type GetAdminAgentsResponse = GetAdminAgentsResponses[keyof GetAdminAgentsResponses];
5206
- type PostAdminAgentsData = {
5207
- /**
5208
- * Request body for the /agents operation on agent resource
5209
- */
5210
- body: {
5211
- data: {
5212
- attributes?: {
5213
- description?: string | unknown;
5214
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | unknown;
5215
- name: string;
5216
- prompt_template: string;
5217
- schema_definition?: {
5218
- [key: string]: unknown;
5219
- } | unknown;
5220
- workspace_id: string;
5221
- };
5222
- relationships?: {
5223
- [key: string]: never;
5224
- };
5225
- type?: "agent";
5226
- };
5227
- };
5228
- headers: {
5229
- /**
5230
- * Application ID for authentication and routing
5231
- */
5232
- "x-application-key": string;
5233
- };
5234
- path?: never;
5235
- query?: {
5236
- /**
5237
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
5238
- */
5239
- include?: string;
5240
- /**
5241
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
5242
- */
5243
- fields?: {
5244
- /**
5245
- * Comma separated field names for agent
5246
- */
5247
- agent?: string;
5248
- [key: string]: unknown | string | undefined;
5249
- };
5250
- };
5251
- url: "/admin/agents";
5252
- };
5253
- type PostAdminAgentsErrors = {
5254
- /**
5255
- * Bad Request - Invalid input data or malformed request
5256
- */
5257
- 400: ErrorResponse;
5258
- /**
5259
- * Unauthorized - Missing or invalid authentication token
5260
- */
5261
- 401: ErrorResponse;
5262
- /**
5263
- * Forbidden - Authenticated but not authorized for this resource
5264
- */
5265
- 403: ErrorResponse;
5266
- /**
5267
- * Not Found - Resource does not exist
5268
- */
5269
- 404: ErrorResponse;
5270
- /**
5271
- * Too Many Requests - Rate limit exceeded
5272
- */
5273
- 429: ErrorResponse;
5274
- /**
5275
- * Internal Server Error - Unexpected server error
5276
- */
5277
- 500: ErrorResponse;
5278
- /**
5279
- * General Error
5280
- */
5281
- default: Errors;
5282
- };
5283
- type PostAdminAgentsError = PostAdminAgentsErrors[keyof PostAdminAgentsErrors];
5284
- type PostAdminAgentsResponses = {
5285
- /**
5286
- * Success
5287
- */
5288
- 201: {
5289
- data?: Agent;
5290
- included?: Array<unknown>;
5291
- meta?: {
5292
- [key: string]: unknown;
5293
- };
5294
- };
5295
- };
5296
- type PostAdminAgentsResponse = PostAdminAgentsResponses[keyof PostAdminAgentsResponses];
5297
5552
  type DeleteAdminTenantMembershipsByTenantIdByUserIdData = {
5298
5553
  body?: never;
5299
5554
  headers: {
@@ -5689,6 +5944,10 @@ type PatchAdminWorkspacesByIdData = {
5689
5944
  low_balance_threshold?: number | unknown;
5690
5945
  name?: string | unknown;
5691
5946
  slug?: string | unknown;
5947
+ /**
5948
+ * ID of the Specialty Agent assigned to this workspace
5949
+ */
5950
+ specialty_agent_id?: string | unknown;
5692
5951
  };
5693
5952
  id: string;
5694
5953
  relationships?: {
@@ -7078,148 +7337,9 @@ type PatchAdminWebhookConfigsByIdData = {
7078
7337
  relationships?: {
7079
7338
  [key: string]: never;
7080
7339
  };
7081
- type?: "webhook_config";
7082
- };
7083
- };
7084
- headers: {
7085
- /**
7086
- * Application ID for authentication and routing
7087
- */
7088
- "x-application-key": string;
7089
- };
7090
- path: {
7091
- id: string;
7092
- };
7093
- query?: {
7094
- /**
7095
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7096
- */
7097
- include?: string;
7098
- /**
7099
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
7100
- */
7101
- fields?: {
7102
- /**
7103
- * Comma separated field names for webhook_config
7104
- */
7105
- webhook_config?: string;
7106
- [key: string]: unknown | string | undefined;
7107
- };
7108
- };
7109
- url: "/admin/webhook_configs/{id}";
7110
- };
7111
- type PatchAdminWebhookConfigsByIdErrors = {
7112
- /**
7113
- * Bad Request - Invalid input data or malformed request
7114
- */
7115
- 400: ErrorResponse;
7116
- /**
7117
- * Unauthorized - Missing or invalid authentication token
7118
- */
7119
- 401: ErrorResponse;
7120
- /**
7121
- * Forbidden - Authenticated but not authorized for this resource
7122
- */
7123
- 403: ErrorResponse;
7124
- /**
7125
- * Not Found - Resource does not exist
7126
- */
7127
- 404: ErrorResponse;
7128
- /**
7129
- * Too Many Requests - Rate limit exceeded
7130
- */
7131
- 429: ErrorResponse;
7132
- /**
7133
- * Internal Server Error - Unexpected server error
7134
- */
7135
- 500: ErrorResponse;
7136
- /**
7137
- * General Error
7138
- */
7139
- default: Errors;
7140
- };
7141
- type PatchAdminWebhookConfigsByIdError = PatchAdminWebhookConfigsByIdErrors[keyof PatchAdminWebhookConfigsByIdErrors];
7142
- type PatchAdminWebhookConfigsByIdResponses = {
7143
- /**
7144
- * Success
7145
- */
7146
- 200: {
7147
- data?: WebhookConfig;
7148
- included?: Array<unknown>;
7149
- meta?: {
7150
- [key: string]: unknown;
7151
- };
7152
- };
7153
- };
7154
- type PatchAdminWebhookConfigsByIdResponse = PatchAdminWebhookConfigsByIdResponses[keyof PatchAdminWebhookConfigsByIdResponses];
7155
- type DeleteAdminAgentsByIdData = {
7156
- body?: never;
7157
- headers: {
7158
- /**
7159
- * Application ID for authentication and routing
7160
- */
7161
- "x-application-key": string;
7162
- };
7163
- path: {
7164
- id: string;
7165
- };
7166
- query?: {
7167
- /**
7168
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7169
- */
7170
- include?: string;
7171
- /**
7172
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
7173
- */
7174
- fields?: {
7175
- /**
7176
- * Comma separated field names for agent
7177
- */
7178
- agent?: string;
7179
- [key: string]: unknown | string | undefined;
7180
- };
7181
- };
7182
- url: "/admin/agents/{id}";
7183
- };
7184
- type DeleteAdminAgentsByIdErrors = {
7185
- /**
7186
- * Bad Request - Invalid input data or malformed request
7187
- */
7188
- 400: ErrorResponse;
7189
- /**
7190
- * Unauthorized - Missing or invalid authentication token
7191
- */
7192
- 401: ErrorResponse;
7193
- /**
7194
- * Forbidden - Authenticated but not authorized for this resource
7195
- */
7196
- 403: ErrorResponse;
7197
- /**
7198
- * Not Found - Resource does not exist
7199
- */
7200
- 404: ErrorResponse;
7201
- /**
7202
- * Too Many Requests - Rate limit exceeded
7203
- */
7204
- 429: ErrorResponse;
7205
- /**
7206
- * Internal Server Error - Unexpected server error
7207
- */
7208
- 500: ErrorResponse;
7209
- /**
7210
- * General Error
7211
- */
7212
- default: Errors;
7213
- };
7214
- type DeleteAdminAgentsByIdError = DeleteAdminAgentsByIdErrors[keyof DeleteAdminAgentsByIdErrors];
7215
- type DeleteAdminAgentsByIdResponses = {
7216
- /**
7217
- * Deleted successfully
7218
- */
7219
- 200: unknown;
7220
- };
7221
- type GetAdminAgentsByIdData = {
7222
- body?: never;
7340
+ type?: "webhook_config";
7341
+ };
7342
+ };
7223
7343
  headers: {
7224
7344
  /**
7225
7345
  * Application ID for authentication and routing
@@ -7239,15 +7359,15 @@ type GetAdminAgentsByIdData = {
7239
7359
  */
7240
7360
  fields?: {
7241
7361
  /**
7242
- * Comma separated field names for agent
7362
+ * Comma separated field names for webhook_config
7243
7363
  */
7244
- agent?: string;
7364
+ webhook_config?: string;
7245
7365
  [key: string]: unknown | string | undefined;
7246
7366
  };
7247
7367
  };
7248
- url: "/admin/agents/{id}";
7368
+ url: "/admin/webhook_configs/{id}";
7249
7369
  };
7250
- type GetAdminAgentsByIdErrors = {
7370
+ type PatchAdminWebhookConfigsByIdErrors = {
7251
7371
  /**
7252
7372
  * Bad Request - Invalid input data or malformed request
7253
7373
  */
@@ -7277,41 +7397,22 @@ type GetAdminAgentsByIdErrors = {
7277
7397
  */
7278
7398
  default: Errors;
7279
7399
  };
7280
- type GetAdminAgentsByIdError = GetAdminAgentsByIdErrors[keyof GetAdminAgentsByIdErrors];
7281
- type GetAdminAgentsByIdResponses = {
7400
+ type PatchAdminWebhookConfigsByIdError = PatchAdminWebhookConfigsByIdErrors[keyof PatchAdminWebhookConfigsByIdErrors];
7401
+ type PatchAdminWebhookConfigsByIdResponses = {
7282
7402
  /**
7283
7403
  * Success
7284
7404
  */
7285
7405
  200: {
7286
- data?: Agent;
7406
+ data?: WebhookConfig;
7287
7407
  included?: Array<unknown>;
7288
7408
  meta?: {
7289
7409
  [key: string]: unknown;
7290
7410
  };
7291
7411
  };
7292
7412
  };
7293
- type GetAdminAgentsByIdResponse = GetAdminAgentsByIdResponses[keyof GetAdminAgentsByIdResponses];
7294
- type PatchAdminAgentsByIdData = {
7295
- /**
7296
- * Request body for the /agents/:id operation on agent resource
7297
- */
7298
- body?: {
7299
- data: {
7300
- attributes?: {
7301
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | unknown;
7302
- name?: string | unknown;
7303
- prompt_template?: string | unknown;
7304
- schema_definition?: {
7305
- [key: string]: unknown;
7306
- } | unknown;
7307
- };
7308
- id: string;
7309
- relationships?: {
7310
- [key: string]: never;
7311
- };
7312
- type?: "agent";
7313
- };
7314
- };
7413
+ type PatchAdminWebhookConfigsByIdResponse = PatchAdminWebhookConfigsByIdResponses[keyof PatchAdminWebhookConfigsByIdResponses];
7414
+ type GetAdminAgentsByIdData = {
7415
+ body?: never;
7315
7416
  headers: {
7316
7417
  /**
7317
7418
  * Application ID for authentication and routing
@@ -7339,7 +7440,7 @@ type PatchAdminAgentsByIdData = {
7339
7440
  };
7340
7441
  url: "/admin/agents/{id}";
7341
7442
  };
7342
- type PatchAdminAgentsByIdErrors = {
7443
+ type GetAdminAgentsByIdErrors = {
7343
7444
  /**
7344
7445
  * Bad Request - Invalid input data or malformed request
7345
7446
  */
@@ -7369,8 +7470,8 @@ type PatchAdminAgentsByIdErrors = {
7369
7470
  */
7370
7471
  default: Errors;
7371
7472
  };
7372
- type PatchAdminAgentsByIdError = PatchAdminAgentsByIdErrors[keyof PatchAdminAgentsByIdErrors];
7373
- type PatchAdminAgentsByIdResponses = {
7473
+ type GetAdminAgentsByIdError = GetAdminAgentsByIdErrors[keyof GetAdminAgentsByIdErrors];
7474
+ type GetAdminAgentsByIdResponses = {
7374
7475
  /**
7375
7476
  * Success
7376
7477
  */
@@ -7382,7 +7483,7 @@ type PatchAdminAgentsByIdResponses = {
7382
7483
  };
7383
7484
  };
7384
7485
  };
7385
- type PatchAdminAgentsByIdResponse = PatchAdminAgentsByIdResponses[keyof PatchAdminAgentsByIdResponses];
7486
+ type GetAdminAgentsByIdResponse = GetAdminAgentsByIdResponses[keyof GetAdminAgentsByIdResponses];
7386
7487
  type GetAdminWorkspaceMembershipsData = {
7387
7488
  body?: never;
7388
7489
  headers: {
@@ -8663,6 +8764,68 @@ type GetAdminPricingRulesResolveResponses = {
8663
8764
  };
8664
8765
  };
8665
8766
  type GetAdminPricingRulesResolveResponse = GetAdminPricingRulesResolveResponses[keyof GetAdminPricingRulesResolveResponses];
8767
+ type PostAdminAgentsPredictData = {
8768
+ /**
8769
+ * Request body for the /agents/predict operation on agent resource
8770
+ */
8771
+ body?: {
8772
+ data: {
8773
+ description?: string | unknown;
8774
+ document_id?: string | unknown;
8775
+ file_content?: string | unknown;
8776
+ name?: string | unknown;
8777
+ };
8778
+ };
8779
+ headers: {
8780
+ /**
8781
+ * Application ID for authentication and routing
8782
+ */
8783
+ "x-application-key": string;
8784
+ };
8785
+ path?: never;
8786
+ query?: never;
8787
+ url: "/admin/agents/predict";
8788
+ };
8789
+ type PostAdminAgentsPredictErrors = {
8790
+ /**
8791
+ * Bad Request - Invalid input data or malformed request
8792
+ */
8793
+ 400: ErrorResponse;
8794
+ /**
8795
+ * Unauthorized - Missing or invalid authentication token
8796
+ */
8797
+ 401: ErrorResponse;
8798
+ /**
8799
+ * Forbidden - Authenticated but not authorized for this resource
8800
+ */
8801
+ 403: ErrorResponse;
8802
+ /**
8803
+ * Not Found - Resource does not exist
8804
+ */
8805
+ 404: ErrorResponse;
8806
+ /**
8807
+ * Too Many Requests - Rate limit exceeded
8808
+ */
8809
+ 429: ErrorResponse;
8810
+ /**
8811
+ * Internal Server Error - Unexpected server error
8812
+ */
8813
+ 500: ErrorResponse;
8814
+ /**
8815
+ * General Error
8816
+ */
8817
+ default: Errors;
8818
+ };
8819
+ type PostAdminAgentsPredictError = PostAdminAgentsPredictErrors[keyof PostAdminAgentsPredictErrors];
8820
+ type PostAdminAgentsPredictResponses = {
8821
+ /**
8822
+ * Success
8823
+ */
8824
+ 201: {
8825
+ [key: string]: unknown;
8826
+ };
8827
+ };
8828
+ type PostAdminAgentsPredictResponse = PostAdminAgentsPredictResponses[keyof PostAdminAgentsPredictResponses];
8666
8829
  type GetAdminInvitationsData = {
8667
8830
  body?: never;
8668
8831
  headers: {
@@ -10448,6 +10611,7 @@ type PatchAdminDocumentsByIdData = {
10448
10611
  body?: {
10449
10612
  data: {
10450
10613
  attributes?: {
10614
+ billed_credits?: number | unknown;
10451
10615
  content?: string | unknown;
10452
10616
  metadata?: {
10453
10617
  [key: string]: unknown;
@@ -12582,15 +12746,180 @@ type GetAdminThreadsData = {
12582
12746
  */
12583
12747
  fields?: {
12584
12748
  /**
12585
- * Comma separated field names for thread
12749
+ * Comma separated field names for thread
12750
+ */
12751
+ thread?: string;
12752
+ [key: string]: unknown | string | undefined;
12753
+ };
12754
+ };
12755
+ url: "/admin/threads";
12756
+ };
12757
+ type GetAdminThreadsErrors = {
12758
+ /**
12759
+ * Bad Request - Invalid input data or malformed request
12760
+ */
12761
+ 400: ErrorResponse;
12762
+ /**
12763
+ * Unauthorized - Missing or invalid authentication token
12764
+ */
12765
+ 401: ErrorResponse;
12766
+ /**
12767
+ * Forbidden - Authenticated but not authorized for this resource
12768
+ */
12769
+ 403: ErrorResponse;
12770
+ /**
12771
+ * Not Found - Resource does not exist
12772
+ */
12773
+ 404: ErrorResponse;
12774
+ /**
12775
+ * Too Many Requests - Rate limit exceeded
12776
+ */
12777
+ 429: ErrorResponse;
12778
+ /**
12779
+ * Internal Server Error - Unexpected server error
12780
+ */
12781
+ 500: ErrorResponse;
12782
+ /**
12783
+ * General Error
12784
+ */
12785
+ default: Errors;
12786
+ };
12787
+ type GetAdminThreadsError = GetAdminThreadsErrors[keyof GetAdminThreadsErrors];
12788
+ type GetAdminThreadsResponses = {
12789
+ /**
12790
+ * Success
12791
+ */
12792
+ 200: {
12793
+ /**
12794
+ * An array of resource objects representing a thread
12795
+ */
12796
+ data?: Array<Thread>;
12797
+ included?: Array<unknown>;
12798
+ meta?: {
12799
+ [key: string]: unknown;
12800
+ };
12801
+ };
12802
+ };
12803
+ type GetAdminThreadsResponse = GetAdminThreadsResponses[keyof GetAdminThreadsResponses];
12804
+ type PostAdminThreadsData = {
12805
+ /**
12806
+ * Request body for the /threads operation on thread resource
12807
+ */
12808
+ body: {
12809
+ data: {
12810
+ attributes?: {
12811
+ context_summary?: string | unknown;
12812
+ previous_thread_id?: string | unknown;
12813
+ tenant_id: string;
12814
+ title?: string | unknown;
12815
+ user_id: string;
12816
+ workspace_id: string;
12817
+ };
12818
+ relationships?: {
12819
+ [key: string]: never;
12820
+ };
12821
+ type?: "thread";
12822
+ };
12823
+ };
12824
+ headers: {
12825
+ /**
12826
+ * Application ID for authentication and routing
12827
+ */
12828
+ "x-application-key": string;
12829
+ };
12830
+ path?: never;
12831
+ query?: {
12832
+ /**
12833
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12834
+ */
12835
+ include?: string;
12836
+ /**
12837
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12838
+ */
12839
+ fields?: {
12840
+ /**
12841
+ * Comma separated field names for thread
12842
+ */
12843
+ thread?: string;
12844
+ [key: string]: unknown | string | undefined;
12845
+ };
12846
+ };
12847
+ url: "/admin/threads";
12848
+ };
12849
+ type PostAdminThreadsErrors = {
12850
+ /**
12851
+ * Bad Request - Invalid input data or malformed request
12852
+ */
12853
+ 400: ErrorResponse;
12854
+ /**
12855
+ * Unauthorized - Missing or invalid authentication token
12856
+ */
12857
+ 401: ErrorResponse;
12858
+ /**
12859
+ * Forbidden - Authenticated but not authorized for this resource
12860
+ */
12861
+ 403: ErrorResponse;
12862
+ /**
12863
+ * Not Found - Resource does not exist
12864
+ */
12865
+ 404: ErrorResponse;
12866
+ /**
12867
+ * Too Many Requests - Rate limit exceeded
12868
+ */
12869
+ 429: ErrorResponse;
12870
+ /**
12871
+ * Internal Server Error - Unexpected server error
12872
+ */
12873
+ 500: ErrorResponse;
12874
+ /**
12875
+ * General Error
12876
+ */
12877
+ default: Errors;
12878
+ };
12879
+ type PostAdminThreadsError = PostAdminThreadsErrors[keyof PostAdminThreadsErrors];
12880
+ type PostAdminThreadsResponses = {
12881
+ /**
12882
+ * Success
12883
+ */
12884
+ 201: {
12885
+ data?: Thread;
12886
+ included?: Array<unknown>;
12887
+ meta?: {
12888
+ [key: string]: unknown;
12889
+ };
12890
+ };
12891
+ };
12892
+ type PostAdminThreadsResponse = PostAdminThreadsResponses[keyof PostAdminThreadsResponses];
12893
+ type GetAdminAccountsByIdData = {
12894
+ body?: never;
12895
+ headers: {
12896
+ /**
12897
+ * Application ID for authentication and routing
12898
+ */
12899
+ "x-application-key": string;
12900
+ };
12901
+ path: {
12902
+ id: string;
12903
+ };
12904
+ query?: {
12905
+ /**
12906
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12907
+ */
12908
+ include?: string;
12909
+ /**
12910
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12911
+ */
12912
+ fields?: {
12913
+ /**
12914
+ * Comma separated field names for account
12586
12915
  */
12587
- thread?: string;
12916
+ account?: string;
12588
12917
  [key: string]: unknown | string | undefined;
12589
12918
  };
12590
12919
  };
12591
- url: "/admin/threads";
12920
+ url: "/admin/accounts/{id}";
12592
12921
  };
12593
- type GetAdminThreadsErrors = {
12922
+ type GetAdminAccountsByIdErrors = {
12594
12923
  /**
12595
12924
  * Bad Request - Invalid input data or malformed request
12596
12925
  */
@@ -12620,43 +12949,22 @@ type GetAdminThreadsErrors = {
12620
12949
  */
12621
12950
  default: Errors;
12622
12951
  };
12623
- type GetAdminThreadsError = GetAdminThreadsErrors[keyof GetAdminThreadsErrors];
12624
- type GetAdminThreadsResponses = {
12952
+ type GetAdminAccountsByIdError = GetAdminAccountsByIdErrors[keyof GetAdminAccountsByIdErrors];
12953
+ type GetAdminAccountsByIdResponses = {
12625
12954
  /**
12626
12955
  * Success
12627
12956
  */
12628
12957
  200: {
12629
- /**
12630
- * An array of resource objects representing a thread
12631
- */
12632
- data?: Array<Thread>;
12958
+ data?: Account;
12633
12959
  included?: Array<unknown>;
12634
12960
  meta?: {
12635
12961
  [key: string]: unknown;
12636
12962
  };
12637
12963
  };
12638
12964
  };
12639
- type GetAdminThreadsResponse = GetAdminThreadsResponses[keyof GetAdminThreadsResponses];
12640
- type PostAdminThreadsData = {
12641
- /**
12642
- * Request body for the /threads operation on thread resource
12643
- */
12644
- body: {
12645
- data: {
12646
- attributes?: {
12647
- context_summary?: string | unknown;
12648
- previous_thread_id?: string | unknown;
12649
- tenant_id: string;
12650
- title?: string | unknown;
12651
- user_id: string;
12652
- workspace_id: string;
12653
- };
12654
- relationships?: {
12655
- [key: string]: never;
12656
- };
12657
- type?: "thread";
12658
- };
12659
- };
12965
+ type GetAdminAccountsByIdResponse = GetAdminAccountsByIdResponses[keyof GetAdminAccountsByIdResponses];
12966
+ type GetAdminAiMessagesData = {
12967
+ body?: never;
12660
12968
  headers: {
12661
12969
  /**
12662
12970
  * Application ID for authentication and routing
@@ -12665,6 +12973,24 @@ type PostAdminThreadsData = {
12665
12973
  };
12666
12974
  path?: never;
12667
12975
  query?: {
12976
+ /**
12977
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
12978
+ */
12979
+ filter?: MessageFilter;
12980
+ /**
12981
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
12982
+ */
12983
+ sort?: string;
12984
+ /**
12985
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
12986
+ */
12987
+ page?: {
12988
+ after?: string;
12989
+ before?: string;
12990
+ count?: boolean;
12991
+ limit?: number;
12992
+ offset?: number;
12993
+ };
12668
12994
  /**
12669
12995
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12670
12996
  */
@@ -12674,15 +13000,15 @@ type PostAdminThreadsData = {
12674
13000
  */
12675
13001
  fields?: {
12676
13002
  /**
12677
- * Comma separated field names for thread
13003
+ * Comma separated field names for message
12678
13004
  */
12679
- thread?: string;
13005
+ message?: string;
12680
13006
  [key: string]: unknown | string | undefined;
12681
13007
  };
12682
13008
  };
12683
- url: "/admin/threads";
13009
+ url: "/admin/ai/messages";
12684
13010
  };
12685
- type PostAdminThreadsErrors = {
13011
+ type GetAdminAiMessagesErrors = {
12686
13012
  /**
12687
13013
  * Bad Request - Invalid input data or malformed request
12688
13014
  */
@@ -12712,31 +13038,47 @@ type PostAdminThreadsErrors = {
12712
13038
  */
12713
13039
  default: Errors;
12714
13040
  };
12715
- type PostAdminThreadsError = PostAdminThreadsErrors[keyof PostAdminThreadsErrors];
12716
- type PostAdminThreadsResponses = {
13041
+ type GetAdminAiMessagesError = GetAdminAiMessagesErrors[keyof GetAdminAiMessagesErrors];
13042
+ type GetAdminAiMessagesResponses = {
12717
13043
  /**
12718
13044
  * Success
12719
13045
  */
12720
- 201: {
12721
- data?: Thread;
13046
+ 200: {
13047
+ /**
13048
+ * An array of resource objects representing a message
13049
+ */
13050
+ data?: Array<Message>;
12722
13051
  included?: Array<unknown>;
12723
13052
  meta?: {
12724
13053
  [key: string]: unknown;
12725
13054
  };
12726
13055
  };
12727
13056
  };
12728
- type PostAdminThreadsResponse = PostAdminThreadsResponses[keyof PostAdminThreadsResponses];
12729
- type GetAdminAccountsByIdData = {
12730
- body?: never;
13057
+ type GetAdminAiMessagesResponse = GetAdminAiMessagesResponses[keyof GetAdminAiMessagesResponses];
13058
+ type PostAdminAiMessagesData = {
13059
+ /**
13060
+ * Request body for the /ai/messages operation on message resource
13061
+ */
13062
+ body: {
13063
+ data: {
13064
+ attributes?: {
13065
+ content: string;
13066
+ conversation_id: string;
13067
+ role: "system" | "user" | "assistant";
13068
+ };
13069
+ relationships?: {
13070
+ [key: string]: never;
13071
+ };
13072
+ type?: "message";
13073
+ };
13074
+ };
12731
13075
  headers: {
12732
13076
  /**
12733
13077
  * Application ID for authentication and routing
12734
13078
  */
12735
13079
  "x-application-key": string;
12736
13080
  };
12737
- path: {
12738
- id: string;
12739
- };
13081
+ path?: never;
12740
13082
  query?: {
12741
13083
  /**
12742
13084
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -12747,15 +13089,15 @@ type GetAdminAccountsByIdData = {
12747
13089
  */
12748
13090
  fields?: {
12749
13091
  /**
12750
- * Comma separated field names for account
13092
+ * Comma separated field names for message
12751
13093
  */
12752
- account?: string;
13094
+ message?: string;
12753
13095
  [key: string]: unknown | string | undefined;
12754
13096
  };
12755
13097
  };
12756
- url: "/admin/accounts/{id}";
13098
+ url: "/admin/ai/messages";
12757
13099
  };
12758
- type GetAdminAccountsByIdErrors = {
13100
+ type PostAdminAiMessagesErrors = {
12759
13101
  /**
12760
13102
  * Bad Request - Invalid input data or malformed request
12761
13103
  */
@@ -12785,20 +13127,20 @@ type GetAdminAccountsByIdErrors = {
12785
13127
  */
12786
13128
  default: Errors;
12787
13129
  };
12788
- type GetAdminAccountsByIdError = GetAdminAccountsByIdErrors[keyof GetAdminAccountsByIdErrors];
12789
- type GetAdminAccountsByIdResponses = {
13130
+ type PostAdminAiMessagesError = PostAdminAiMessagesErrors[keyof PostAdminAiMessagesErrors];
13131
+ type PostAdminAiMessagesResponses = {
12790
13132
  /**
12791
13133
  * Success
12792
13134
  */
12793
- 200: {
12794
- data?: Account;
13135
+ 201: {
13136
+ data?: Message;
12795
13137
  included?: Array<unknown>;
12796
13138
  meta?: {
12797
13139
  [key: string]: unknown;
12798
13140
  };
12799
13141
  };
12800
13142
  };
12801
- type GetAdminAccountsByIdResponse = GetAdminAccountsByIdResponses[keyof GetAdminAccountsByIdResponses];
13143
+ type PostAdminAiMessagesResponse = PostAdminAiMessagesResponses[keyof PostAdminAiMessagesResponses];
12802
13144
  type PostAdminInvitationsAcceptByTokenData = {
12803
13145
  /**
12804
13146
  * Request body for the /invitations/accept_by_token operation on invitation resource
@@ -17013,7 +17355,156 @@ type GetAdminTransactionsByIdData = {
17013
17355
  };
17014
17356
  url: "/admin/transactions/{id}";
17015
17357
  };
17016
- type GetAdminTransactionsByIdErrors = {
17358
+ type GetAdminTransactionsByIdErrors = {
17359
+ /**
17360
+ * Bad Request - Invalid input data or malformed request
17361
+ */
17362
+ 400: ErrorResponse;
17363
+ /**
17364
+ * Unauthorized - Missing or invalid authentication token
17365
+ */
17366
+ 401: ErrorResponse;
17367
+ /**
17368
+ * Forbidden - Authenticated but not authorized for this resource
17369
+ */
17370
+ 403: ErrorResponse;
17371
+ /**
17372
+ * Not Found - Resource does not exist
17373
+ */
17374
+ 404: ErrorResponse;
17375
+ /**
17376
+ * Too Many Requests - Rate limit exceeded
17377
+ */
17378
+ 429: ErrorResponse;
17379
+ /**
17380
+ * Internal Server Error - Unexpected server error
17381
+ */
17382
+ 500: ErrorResponse;
17383
+ /**
17384
+ * General Error
17385
+ */
17386
+ default: Errors;
17387
+ };
17388
+ type GetAdminTransactionsByIdError = GetAdminTransactionsByIdErrors[keyof GetAdminTransactionsByIdErrors];
17389
+ type GetAdminTransactionsByIdResponses = {
17390
+ /**
17391
+ * Success
17392
+ */
17393
+ 200: {
17394
+ data?: Transaction;
17395
+ included?: Array<unknown>;
17396
+ meta?: {
17397
+ [key: string]: unknown;
17398
+ };
17399
+ };
17400
+ };
17401
+ type GetAdminTransactionsByIdResponse = GetAdminTransactionsByIdResponses[keyof GetAdminTransactionsByIdResponses];
17402
+ type PostAdminStorageSignDownloadData = {
17403
+ /**
17404
+ * Request body for the /storage/sign_download operation on presigned_url resource
17405
+ */
17406
+ body: {
17407
+ data: {
17408
+ attributes?: {
17409
+ bucket_id: string;
17410
+ filename: string;
17411
+ };
17412
+ relationships?: {
17413
+ [key: string]: never;
17414
+ };
17415
+ type?: "presigned_url";
17416
+ };
17417
+ };
17418
+ headers: {
17419
+ /**
17420
+ * Application ID for authentication and routing
17421
+ */
17422
+ "x-application-key": string;
17423
+ };
17424
+ path?: never;
17425
+ query?: {
17426
+ /**
17427
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17428
+ */
17429
+ include?: string;
17430
+ /**
17431
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17432
+ */
17433
+ fields?: {
17434
+ /**
17435
+ * Comma separated field names for presigned_url
17436
+ */
17437
+ presigned_url?: string;
17438
+ [key: string]: unknown | string | undefined;
17439
+ };
17440
+ };
17441
+ url: "/admin/storage/sign_download";
17442
+ };
17443
+ type PostAdminStorageSignDownloadErrors = {
17444
+ /**
17445
+ * Bad Request - Invalid input data or malformed request
17446
+ */
17447
+ 400: ErrorResponse;
17448
+ /**
17449
+ * Unauthorized - Missing or invalid authentication token
17450
+ */
17451
+ 401: ErrorResponse;
17452
+ /**
17453
+ * Forbidden - Authenticated but not authorized for this resource
17454
+ */
17455
+ 403: ErrorResponse;
17456
+ /**
17457
+ * Not Found - Resource does not exist
17458
+ */
17459
+ 404: ErrorResponse;
17460
+ /**
17461
+ * Too Many Requests - Rate limit exceeded
17462
+ */
17463
+ 429: ErrorResponse;
17464
+ /**
17465
+ * Internal Server Error - Unexpected server error
17466
+ */
17467
+ 500: ErrorResponse;
17468
+ /**
17469
+ * General Error
17470
+ */
17471
+ default: Errors;
17472
+ };
17473
+ type PostAdminStorageSignDownloadError = PostAdminStorageSignDownloadErrors[keyof PostAdminStorageSignDownloadErrors];
17474
+ type PostAdminStorageSignDownloadResponses = {
17475
+ /**
17476
+ * Success
17477
+ */
17478
+ 201: {
17479
+ data?: PresignedUrl;
17480
+ included?: Array<unknown>;
17481
+ meta?: {
17482
+ [key: string]: unknown;
17483
+ };
17484
+ };
17485
+ };
17486
+ type PostAdminStorageSignDownloadResponse = PostAdminStorageSignDownloadResponses[keyof PostAdminStorageSignDownloadResponses];
17487
+ type PostAdminTrainingExamplesBulkDeleteData = {
17488
+ /**
17489
+ * Request body for the /training_examples/bulk_delete operation on training_example resource
17490
+ */
17491
+ body: {
17492
+ data: {
17493
+ agent_id: string;
17494
+ ids: Array<string>;
17495
+ };
17496
+ };
17497
+ headers: {
17498
+ /**
17499
+ * Application ID for authentication and routing
17500
+ */
17501
+ "x-application-key": string;
17502
+ };
17503
+ path?: never;
17504
+ query?: never;
17505
+ url: "/admin/training_examples/bulk_delete";
17506
+ };
17507
+ type PostAdminTrainingExamplesBulkDeleteErrors = {
17017
17508
  /**
17018
17509
  * Bad Request - Invalid input data or malformed request
17019
17510
  */
@@ -17043,43 +17534,27 @@ type GetAdminTransactionsByIdErrors = {
17043
17534
  */
17044
17535
  default: Errors;
17045
17536
  };
17046
- type GetAdminTransactionsByIdError = GetAdminTransactionsByIdErrors[keyof GetAdminTransactionsByIdErrors];
17047
- type GetAdminTransactionsByIdResponses = {
17537
+ type PostAdminTrainingExamplesBulkDeleteError = PostAdminTrainingExamplesBulkDeleteErrors[keyof PostAdminTrainingExamplesBulkDeleteErrors];
17538
+ type PostAdminTrainingExamplesBulkDeleteResponses = {
17048
17539
  /**
17049
17540
  * Success
17050
17541
  */
17051
- 200: {
17052
- data?: Transaction;
17053
- included?: Array<unknown>;
17054
- meta?: {
17055
- [key: string]: unknown;
17056
- };
17542
+ 201: {
17543
+ [key: string]: unknown;
17057
17544
  };
17058
17545
  };
17059
- type GetAdminTransactionsByIdResponse = GetAdminTransactionsByIdResponses[keyof GetAdminTransactionsByIdResponses];
17060
- type PostAdminStorageSignDownloadData = {
17061
- /**
17062
- * Request body for the /storage/sign_download operation on presigned_url resource
17063
- */
17064
- body: {
17065
- data: {
17066
- attributes?: {
17067
- bucket_id: string;
17068
- filename: string;
17069
- };
17070
- relationships?: {
17071
- [key: string]: never;
17072
- };
17073
- type?: "presigned_url";
17074
- };
17075
- };
17546
+ type PostAdminTrainingExamplesBulkDeleteResponse = PostAdminTrainingExamplesBulkDeleteResponses[keyof PostAdminTrainingExamplesBulkDeleteResponses];
17547
+ type DeleteAdminAiConversationsByIdData = {
17548
+ body?: never;
17076
17549
  headers: {
17077
17550
  /**
17078
17551
  * Application ID for authentication and routing
17079
17552
  */
17080
17553
  "x-application-key": string;
17081
17554
  };
17082
- path?: never;
17555
+ path: {
17556
+ id: string;
17557
+ };
17083
17558
  query?: {
17084
17559
  /**
17085
17560
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -17090,15 +17565,15 @@ type PostAdminStorageSignDownloadData = {
17090
17565
  */
17091
17566
  fields?: {
17092
17567
  /**
17093
- * Comma separated field names for presigned_url
17568
+ * Comma separated field names for conversation
17094
17569
  */
17095
- presigned_url?: string;
17570
+ conversation?: string;
17096
17571
  [key: string]: unknown | string | undefined;
17097
17572
  };
17098
17573
  };
17099
- url: "/admin/storage/sign_download";
17574
+ url: "/admin/ai/conversations/{id}";
17100
17575
  };
17101
- type PostAdminStorageSignDownloadErrors = {
17576
+ type DeleteAdminAiConversationsByIdErrors = {
17102
17577
  /**
17103
17578
  * Bad Request - Invalid input data or malformed request
17104
17579
  */
@@ -17128,41 +17603,43 @@ type PostAdminStorageSignDownloadErrors = {
17128
17603
  */
17129
17604
  default: Errors;
17130
17605
  };
17131
- type PostAdminStorageSignDownloadError = PostAdminStorageSignDownloadErrors[keyof PostAdminStorageSignDownloadErrors];
17132
- type PostAdminStorageSignDownloadResponses = {
17606
+ type DeleteAdminAiConversationsByIdError = DeleteAdminAiConversationsByIdErrors[keyof DeleteAdminAiConversationsByIdErrors];
17607
+ type DeleteAdminAiConversationsByIdResponses = {
17133
17608
  /**
17134
- * Success
17609
+ * Deleted successfully
17135
17610
  */
17136
- 201: {
17137
- data?: PresignedUrl;
17138
- included?: Array<unknown>;
17139
- meta?: {
17140
- [key: string]: unknown;
17141
- };
17142
- };
17611
+ 200: unknown;
17143
17612
  };
17144
- type PostAdminStorageSignDownloadResponse = PostAdminStorageSignDownloadResponses[keyof PostAdminStorageSignDownloadResponses];
17145
- type PostAdminTrainingExamplesBulkDeleteData = {
17146
- /**
17147
- * Request body for the /training_examples/bulk_delete operation on training_example resource
17148
- */
17149
- body: {
17150
- data: {
17151
- agent_id: string;
17152
- ids: Array<string>;
17153
- };
17154
- };
17613
+ type GetAdminAiConversationsByIdData = {
17614
+ body?: never;
17155
17615
  headers: {
17156
17616
  /**
17157
17617
  * Application ID for authentication and routing
17158
17618
  */
17159
17619
  "x-application-key": string;
17160
17620
  };
17161
- path?: never;
17162
- query?: never;
17163
- url: "/admin/training_examples/bulk_delete";
17621
+ path: {
17622
+ id: string;
17623
+ };
17624
+ query?: {
17625
+ /**
17626
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17627
+ */
17628
+ include?: string;
17629
+ /**
17630
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17631
+ */
17632
+ fields?: {
17633
+ /**
17634
+ * Comma separated field names for conversation
17635
+ */
17636
+ conversation?: string;
17637
+ [key: string]: unknown | string | undefined;
17638
+ };
17639
+ };
17640
+ url: "/admin/ai/conversations/{id}";
17164
17641
  };
17165
- type PostAdminTrainingExamplesBulkDeleteErrors = {
17642
+ type GetAdminAiConversationsByIdErrors = {
17166
17643
  /**
17167
17644
  * Bad Request - Invalid input data or malformed request
17168
17645
  */
@@ -17192,16 +17669,20 @@ type PostAdminTrainingExamplesBulkDeleteErrors = {
17192
17669
  */
17193
17670
  default: Errors;
17194
17671
  };
17195
- type PostAdminTrainingExamplesBulkDeleteError = PostAdminTrainingExamplesBulkDeleteErrors[keyof PostAdminTrainingExamplesBulkDeleteErrors];
17196
- type PostAdminTrainingExamplesBulkDeleteResponses = {
17672
+ type GetAdminAiConversationsByIdError = GetAdminAiConversationsByIdErrors[keyof GetAdminAiConversationsByIdErrors];
17673
+ type GetAdminAiConversationsByIdResponses = {
17197
17674
  /**
17198
17675
  * Success
17199
17676
  */
17200
- 201: {
17201
- [key: string]: unknown;
17677
+ 200: {
17678
+ data?: Conversation;
17679
+ included?: Array<unknown>;
17680
+ meta?: {
17681
+ [key: string]: unknown;
17682
+ };
17202
17683
  };
17203
17684
  };
17204
- type PostAdminTrainingExamplesBulkDeleteResponse = PostAdminTrainingExamplesBulkDeleteResponses[keyof PostAdminTrainingExamplesBulkDeleteResponses];
17685
+ type GetAdminAiConversationsByIdResponse = GetAdminAiConversationsByIdResponses[keyof GetAdminAiConversationsByIdResponses];
17205
17686
  type GetAdminPaymentMethodsData = {
17206
17687
  body?: never;
17207
17688
  headers: {
@@ -23110,6 +23591,190 @@ type PatchAdminApplicationsByIdResponses = {
23110
23591
  };
23111
23592
  };
23112
23593
  type PatchAdminApplicationsByIdResponse = PatchAdminApplicationsByIdResponses[keyof PatchAdminApplicationsByIdResponses];
23594
+ type GetAdminAiConversationsData = {
23595
+ body?: never;
23596
+ headers: {
23597
+ /**
23598
+ * Application ID for authentication and routing
23599
+ */
23600
+ "x-application-key": string;
23601
+ };
23602
+ path?: never;
23603
+ query?: {
23604
+ /**
23605
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
23606
+ */
23607
+ filter?: ConversationFilter;
23608
+ /**
23609
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
23610
+ */
23611
+ sort?: string;
23612
+ /**
23613
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
23614
+ */
23615
+ page?: {
23616
+ after?: string;
23617
+ before?: string;
23618
+ count?: boolean;
23619
+ limit?: number;
23620
+ offset?: number;
23621
+ };
23622
+ /**
23623
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23624
+ */
23625
+ include?: string;
23626
+ /**
23627
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
23628
+ */
23629
+ fields?: {
23630
+ /**
23631
+ * Comma separated field names for conversation
23632
+ */
23633
+ conversation?: string;
23634
+ [key: string]: unknown | string | undefined;
23635
+ };
23636
+ };
23637
+ url: "/admin/ai/conversations";
23638
+ };
23639
+ type GetAdminAiConversationsErrors = {
23640
+ /**
23641
+ * Bad Request - Invalid input data or malformed request
23642
+ */
23643
+ 400: ErrorResponse;
23644
+ /**
23645
+ * Unauthorized - Missing or invalid authentication token
23646
+ */
23647
+ 401: ErrorResponse;
23648
+ /**
23649
+ * Forbidden - Authenticated but not authorized for this resource
23650
+ */
23651
+ 403: ErrorResponse;
23652
+ /**
23653
+ * Not Found - Resource does not exist
23654
+ */
23655
+ 404: ErrorResponse;
23656
+ /**
23657
+ * Too Many Requests - Rate limit exceeded
23658
+ */
23659
+ 429: ErrorResponse;
23660
+ /**
23661
+ * Internal Server Error - Unexpected server error
23662
+ */
23663
+ 500: ErrorResponse;
23664
+ /**
23665
+ * General Error
23666
+ */
23667
+ default: Errors;
23668
+ };
23669
+ type GetAdminAiConversationsError = GetAdminAiConversationsErrors[keyof GetAdminAiConversationsErrors];
23670
+ type GetAdminAiConversationsResponses = {
23671
+ /**
23672
+ * Success
23673
+ */
23674
+ 200: {
23675
+ /**
23676
+ * An array of resource objects representing a conversation
23677
+ */
23678
+ data?: Array<Conversation>;
23679
+ included?: Array<unknown>;
23680
+ meta?: {
23681
+ [key: string]: unknown;
23682
+ };
23683
+ };
23684
+ };
23685
+ type GetAdminAiConversationsResponse = GetAdminAiConversationsResponses[keyof GetAdminAiConversationsResponses];
23686
+ type PostAdminAiConversationsData = {
23687
+ /**
23688
+ * Request body for the /ai/conversations operation on conversation resource
23689
+ */
23690
+ body: {
23691
+ data: {
23692
+ attributes?: {
23693
+ /**
23694
+ * Structured data providing context for this conversation (e.g., failed prediction results)
23695
+ */
23696
+ context_data?: {
23697
+ [key: string]: unknown;
23698
+ } | unknown;
23699
+ tenant_id: string;
23700
+ title?: string | unknown;
23701
+ user_id: string;
23702
+ };
23703
+ relationships?: {
23704
+ [key: string]: never;
23705
+ };
23706
+ type?: "conversation";
23707
+ };
23708
+ };
23709
+ headers: {
23710
+ /**
23711
+ * Application ID for authentication and routing
23712
+ */
23713
+ "x-application-key": string;
23714
+ };
23715
+ path?: never;
23716
+ query?: {
23717
+ /**
23718
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23719
+ */
23720
+ include?: string;
23721
+ /**
23722
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
23723
+ */
23724
+ fields?: {
23725
+ /**
23726
+ * Comma separated field names for conversation
23727
+ */
23728
+ conversation?: string;
23729
+ [key: string]: unknown | string | undefined;
23730
+ };
23731
+ };
23732
+ url: "/admin/ai/conversations";
23733
+ };
23734
+ type PostAdminAiConversationsErrors = {
23735
+ /**
23736
+ * Bad Request - Invalid input data or malformed request
23737
+ */
23738
+ 400: ErrorResponse;
23739
+ /**
23740
+ * Unauthorized - Missing or invalid authentication token
23741
+ */
23742
+ 401: ErrorResponse;
23743
+ /**
23744
+ * Forbidden - Authenticated but not authorized for this resource
23745
+ */
23746
+ 403: ErrorResponse;
23747
+ /**
23748
+ * Not Found - Resource does not exist
23749
+ */
23750
+ 404: ErrorResponse;
23751
+ /**
23752
+ * Too Many Requests - Rate limit exceeded
23753
+ */
23754
+ 429: ErrorResponse;
23755
+ /**
23756
+ * Internal Server Error - Unexpected server error
23757
+ */
23758
+ 500: ErrorResponse;
23759
+ /**
23760
+ * General Error
23761
+ */
23762
+ default: Errors;
23763
+ };
23764
+ type PostAdminAiConversationsError = PostAdminAiConversationsErrors[keyof PostAdminAiConversationsErrors];
23765
+ type PostAdminAiConversationsResponses = {
23766
+ /**
23767
+ * Success
23768
+ */
23769
+ 201: {
23770
+ data?: Conversation;
23771
+ included?: Array<unknown>;
23772
+ meta?: {
23773
+ [key: string]: unknown;
23774
+ };
23775
+ };
23776
+ };
23777
+ type PostAdminAiConversationsResponse = PostAdminAiConversationsResponses[keyof PostAdminAiConversationsResponses];
23113
23778
  type PostAdminAiEmbedData = {
23114
23779
  /**
23115
23780
  * Request body for the /ai/embed operation on embedding resource
@@ -23464,4 +24129,4 @@ type ApiKeyAllocateRequest = z.infer<typeof ApiKeyAllocateSchema>;
23464
24129
  type DocumentBulkDeleteRequest = z.infer<typeof DocumentBulkDeleteSchema>;
23465
24130
  type DocumentBulkReprocessRequest = z.infer<typeof DocumentBulkReprocessSchema>;
23466
24131
 
23467
- export { type Account, type AccountCreditRequest, AccountCreditSchema, type AccountDebitRequest, AccountDebitSchema, type AccountFilter, type AccountFilterId, type Agent, type AgentAdminCreateRequest, AgentAdminCreateSchema, type AgentFilter, type AgentFilterId, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyFilter, type ApiKeyFilterId, type ApiKeyFilterStatus, type Application, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions, type Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, type DeleteAdminAgentsByIdData, type DeleteAdminAgentsByIdError, type DeleteAdminAgentsByIdErrors, type DeleteAdminAgentsByIdResponses, type DeleteAdminAiGraphEdgesByIdData, type DeleteAdminAiGraphEdgesByIdError, type DeleteAdminAiGraphEdgesByIdErrors, type DeleteAdminAiGraphEdgesByIdResponses, type DeleteAdminAiGraphNodesByIdData, type DeleteAdminAiGraphNodesByIdError, type DeleteAdminAiGraphNodesByIdErrors, type DeleteAdminAiGraphNodesByIdResponses, type DeleteAdminApiKeysByIdData, type DeleteAdminApiKeysByIdError, type DeleteAdminApiKeysByIdErrors, type DeleteAdminApiKeysByIdResponses, type DeleteAdminApplicationsByIdData, type DeleteAdminApplicationsByIdError, type DeleteAdminApplicationsByIdErrors, type DeleteAdminApplicationsByIdResponses, type DeleteAdminBucketsByIdData, type DeleteAdminBucketsByIdError, type DeleteAdminBucketsByIdErrors, type DeleteAdminBucketsByIdResponses, type DeleteAdminCustomersByIdData, type DeleteAdminCustomersByIdError, type DeleteAdminCustomersByIdErrors, type DeleteAdminCustomersByIdResponses, type DeleteAdminDocumentsByIdData, type DeleteAdminDocumentsByIdError, type DeleteAdminDocumentsByIdErrors, type DeleteAdminDocumentsByIdResponses, type DeleteAdminExtractionResultsByIdData, type DeleteAdminExtractionResultsByIdError, type DeleteAdminExtractionResultsByIdErrors, type DeleteAdminExtractionResultsByIdResponses, type DeleteAdminMessagesByIdData, type DeleteAdminMessagesByIdError, type DeleteAdminMessagesByIdErrors, type DeleteAdminMessagesByIdResponses, type DeleteAdminNotificationPreferencesByIdData, type DeleteAdminNotificationPreferencesByIdError, type DeleteAdminNotificationPreferencesByIdErrors, type DeleteAdminNotificationPreferencesByIdResponses, type DeleteAdminObjectsByIdData, type DeleteAdminObjectsByIdError, type DeleteAdminObjectsByIdErrors, type DeleteAdminObjectsByIdResponses, type DeleteAdminPaymentMethodsByIdData, type DeleteAdminPaymentMethodsByIdError, type DeleteAdminPaymentMethodsByIdErrors, type DeleteAdminPaymentMethodsByIdResponses, type DeleteAdminPlansByIdData, type DeleteAdminPlansByIdError, type DeleteAdminPlansByIdErrors, type DeleteAdminPlansByIdResponses, type DeleteAdminSearchSavedByIdData, type DeleteAdminSearchSavedByIdError, type DeleteAdminSearchSavedByIdErrors, type DeleteAdminSearchSavedByIdResponses, type DeleteAdminSubscriptionsByIdData, type DeleteAdminSubscriptionsByIdError, type DeleteAdminSubscriptionsByIdErrors, type DeleteAdminSubscriptionsByIdResponses, type DeleteAdminTenantMembershipsByTenantIdByUserIdData, type DeleteAdminTenantMembershipsByTenantIdByUserIdError, type DeleteAdminTenantMembershipsByTenantIdByUserIdErrors, type DeleteAdminTenantMembershipsByTenantIdByUserIdResponses, type DeleteAdminTenantsByIdData, type DeleteAdminTenantsByIdError, type DeleteAdminTenantsByIdErrors, type DeleteAdminTenantsByIdResponses, type DeleteAdminThreadsByIdData, type DeleteAdminThreadsByIdError, type DeleteAdminThreadsByIdErrors, type DeleteAdminThreadsByIdResponses, type DeleteAdminTrainingExamplesByIdData, type DeleteAdminTrainingExamplesByIdError, type DeleteAdminTrainingExamplesByIdErrors, type DeleteAdminTrainingExamplesByIdResponses, type DeleteAdminUserProfilesByIdData, type DeleteAdminUserProfilesByIdError, type DeleteAdminUserProfilesByIdErrors, type DeleteAdminUserProfilesByIdResponses, type DeleteAdminWebhookConfigsByIdData, type DeleteAdminWebhookConfigsByIdError, type DeleteAdminWebhookConfigsByIdErrors, type DeleteAdminWebhookConfigsByIdResponses, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteAdminWorkspacesByIdData, type DeleteAdminWorkspacesByIdError, type DeleteAdminWorkspacesByIdErrors, type DeleteAdminWorkspacesByIdResponses, type Document, type DocumentBulkDeleteRequest, DocumentBulkDeleteSchema, type DocumentBulkReprocessRequest, DocumentBulkReprocessSchema, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentFilter, type DocumentFilterApplicationId, type DocumentFilterContent, type DocumentFilterFilename, type DocumentFilterId, type DocumentFilterMetadata, type DocumentFilterMimeType, type DocumentFilterOriginalFilename, type DocumentFilterSizeBytes, type DocumentFilterStatus, type DocumentFilterStorageOptions, type DocumentFilterStoragePath, type DocumentFilterSummary, type DocumentFilterSummaryEmbedding, type DocumentFilterTenantId, type DocumentFilterUploaderId, type DocumentFilterWorkspaceId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type Embedding, type EmbeddingFilter, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionResult, type ExtractionResultDataInputUpdateType, type ExtractionResultFilter, type ExtractionResultFilterConfidenceScore, type ExtractionResultFilterDocumentId, type ExtractionResultFilterId, type ExtractionResultFilterModelUsed, type ExtractionResultFilterProcessingTimeMs, type GetAdminAccountsByIdData, type GetAdminAccountsByIdError, type GetAdminAccountsByIdErrors, type GetAdminAccountsByIdResponse, type GetAdminAccountsByIdResponses, type GetAdminAccountsData, type GetAdminAccountsError, type GetAdminAccountsErrors, type GetAdminAccountsResponse, type GetAdminAccountsResponses, type GetAdminAgentsByIdData, type GetAdminAgentsByIdError, type GetAdminAgentsByIdErrors, type GetAdminAgentsByIdResponse, type GetAdminAgentsByIdResponses, type GetAdminAgentsData, type GetAdminAgentsError, type GetAdminAgentsErrors, type GetAdminAgentsResponse, type GetAdminAgentsResponses, type GetAdminAiChunksDocumentByDocumentIdData, type GetAdminAiChunksDocumentByDocumentIdError, type GetAdminAiChunksDocumentByDocumentIdErrors, type GetAdminAiChunksDocumentByDocumentIdResponse, type GetAdminAiChunksDocumentByDocumentIdResponses, type GetAdminAiGraphEdgesData, type GetAdminAiGraphEdgesError, type GetAdminAiGraphEdgesErrors, type GetAdminAiGraphEdgesResponse, type GetAdminAiGraphEdgesResponses, type GetAdminAiGraphNodesData, type GetAdminAiGraphNodesError, type GetAdminAiGraphNodesErrors, type GetAdminAiGraphNodesResponse, type GetAdminAiGraphNodesResponses, type GetAdminApiKeysByIdData, type GetAdminApiKeysByIdError, type GetAdminApiKeysByIdErrors, type GetAdminApiKeysByIdResponse, type GetAdminApiKeysByIdResponses, type GetAdminApiKeysData, type GetAdminApiKeysError, type GetAdminApiKeysErrors, type GetAdminApiKeysResponse, type GetAdminApiKeysResponses, type GetAdminApplicationsByIdData, type GetAdminApplicationsByIdError, type GetAdminApplicationsByIdErrors, type GetAdminApplicationsByIdResponse, type GetAdminApplicationsByIdResponses, type GetAdminApplicationsBySlugBySlugData, type GetAdminApplicationsBySlugBySlugError, type GetAdminApplicationsBySlugBySlugErrors, type GetAdminApplicationsBySlugBySlugResponse, type GetAdminApplicationsBySlugBySlugResponses, type GetAdminApplicationsData, type GetAdminApplicationsError, type GetAdminApplicationsErrors, type GetAdminApplicationsResponse, type GetAdminApplicationsResponses, type GetAdminAuditLogsData, type GetAdminAuditLogsError, type GetAdminAuditLogsErrors, type GetAdminAuditLogsResponse, type GetAdminAuditLogsResponses, type GetAdminBucketsByIdData, type GetAdminBucketsByIdError, type GetAdminBucketsByIdErrors, type GetAdminBucketsByIdObjectsData, type GetAdminBucketsByIdObjectsError, type GetAdminBucketsByIdObjectsErrors, type GetAdminBucketsByIdObjectsResponse, type GetAdminBucketsByIdObjectsResponses, type GetAdminBucketsByIdResponse, type GetAdminBucketsByIdResponses, type GetAdminBucketsByIdStatsData, type GetAdminBucketsByIdStatsError, type GetAdminBucketsByIdStatsErrors, type GetAdminBucketsByIdStatsResponse, type GetAdminBucketsByIdStatsResponses, type GetAdminBucketsData, type GetAdminBucketsError, type GetAdminBucketsErrors, type GetAdminBucketsResponse, type GetAdminBucketsResponses, type GetAdminConfigsData, type GetAdminConfigsError, type GetAdminConfigsErrors, type GetAdminConfigsResponse, type GetAdminConfigsResponses, type GetAdminCreditPackagesByIdData, type GetAdminCreditPackagesByIdError, type GetAdminCreditPackagesByIdErrors, type GetAdminCreditPackagesByIdResponse, type GetAdminCreditPackagesByIdResponses, type GetAdminCreditPackagesData, type GetAdminCreditPackagesError, type GetAdminCreditPackagesErrors, type GetAdminCreditPackagesResponse, type GetAdminCreditPackagesResponses, type GetAdminCreditPackagesSlugBySlugData, type GetAdminCreditPackagesSlugBySlugError, type GetAdminCreditPackagesSlugBySlugErrors, type GetAdminCreditPackagesSlugBySlugResponse, type GetAdminCreditPackagesSlugBySlugResponses, type GetAdminCustomersByIdData, type GetAdminCustomersByIdError, type GetAdminCustomersByIdErrors, type GetAdminCustomersByIdResponse, type GetAdminCustomersByIdResponses, type GetAdminDocumentsByIdData, type GetAdminDocumentsByIdError, type GetAdminDocumentsByIdErrors, type GetAdminDocumentsByIdExtractionResultsData, type GetAdminDocumentsByIdExtractionResultsError, type GetAdminDocumentsByIdExtractionResultsErrors, type GetAdminDocumentsByIdExtractionResultsResponse, type GetAdminDocumentsByIdExtractionResultsResponses, type GetAdminDocumentsByIdRelationshipsChunksData, type GetAdminDocumentsByIdRelationshipsChunksError, type GetAdminDocumentsByIdRelationshipsChunksErrors, type GetAdminDocumentsByIdRelationshipsChunksResponse, type GetAdminDocumentsByIdRelationshipsChunksResponses, type GetAdminDocumentsByIdResponse, type GetAdminDocumentsByIdResponses, type GetAdminDocumentsData, type GetAdminDocumentsError, type GetAdminDocumentsErrors, type GetAdminDocumentsProcessingQueueData, type GetAdminDocumentsProcessingQueueError, type GetAdminDocumentsProcessingQueueErrors, type GetAdminDocumentsProcessingQueueResponse, type GetAdminDocumentsProcessingQueueResponses, type GetAdminDocumentsResponse, type GetAdminDocumentsResponses, type GetAdminDocumentsSearchData, type GetAdminDocumentsSearchError, type GetAdminDocumentsSearchErrors, type GetAdminDocumentsSearchResponse, type GetAdminDocumentsSearchResponses, type GetAdminDocumentsStatsData, type GetAdminDocumentsStatsError, type GetAdminDocumentsStatsErrors, type GetAdminDocumentsStatsResponse, type GetAdminDocumentsStatsResponses, type GetAdminExtractionResultsByIdData, type GetAdminExtractionResultsByIdError, type GetAdminExtractionResultsByIdErrors, type GetAdminExtractionResultsByIdResponse, type GetAdminExtractionResultsByIdResponses, type GetAdminExtractionResultsData, type GetAdminExtractionResultsError, type GetAdminExtractionResultsErrors, type GetAdminExtractionResultsResponse, type GetAdminExtractionResultsResponses, type GetAdminInvitationsConsumeByTokenData, type GetAdminInvitationsConsumeByTokenError, type GetAdminInvitationsConsumeByTokenErrors, type GetAdminInvitationsConsumeByTokenResponse, type GetAdminInvitationsConsumeByTokenResponses, type GetAdminInvitationsData, type GetAdminInvitationsError, type GetAdminInvitationsErrors, type GetAdminInvitationsResponse, type GetAdminInvitationsResponses, type GetAdminLedgerByIdData, type GetAdminLedgerByIdError, type GetAdminLedgerByIdErrors, type GetAdminLedgerByIdResponse, type GetAdminLedgerByIdResponses, type GetAdminLedgerData, type GetAdminLedgerError, type GetAdminLedgerErrors, type GetAdminLedgerResponse, type GetAdminLedgerResponses, type GetAdminLlmAnalyticsByIdData, type GetAdminLlmAnalyticsByIdError, type GetAdminLlmAnalyticsByIdErrors, type GetAdminLlmAnalyticsByIdResponse, type GetAdminLlmAnalyticsByIdResponses, type GetAdminLlmAnalyticsCostsData, type GetAdminLlmAnalyticsCostsError, type GetAdminLlmAnalyticsCostsErrors, type GetAdminLlmAnalyticsCostsResponse, type GetAdminLlmAnalyticsCostsResponses, type GetAdminLlmAnalyticsData, type GetAdminLlmAnalyticsError, type GetAdminLlmAnalyticsErrors, type GetAdminLlmAnalyticsPlatformData, type GetAdminLlmAnalyticsPlatformError, type GetAdminLlmAnalyticsPlatformErrors, type GetAdminLlmAnalyticsPlatformResponse, type GetAdminLlmAnalyticsPlatformResponses, type GetAdminLlmAnalyticsResponse, type GetAdminLlmAnalyticsResponses, type GetAdminLlmAnalyticsSummaryData, type GetAdminLlmAnalyticsSummaryError, type GetAdminLlmAnalyticsSummaryErrors, type GetAdminLlmAnalyticsSummaryResponse, type GetAdminLlmAnalyticsSummaryResponses, type GetAdminLlmAnalyticsUsageData, type GetAdminLlmAnalyticsUsageError, type GetAdminLlmAnalyticsUsageErrors, type GetAdminLlmAnalyticsUsageResponse, type GetAdminLlmAnalyticsUsageResponses, type GetAdminLlmAnalyticsWorkspaceData, type GetAdminLlmAnalyticsWorkspaceError, type GetAdminLlmAnalyticsWorkspaceErrors, type GetAdminLlmAnalyticsWorkspaceResponse, type GetAdminLlmAnalyticsWorkspaceResponses, type GetAdminMessagesByIdData, type GetAdminMessagesByIdError, type GetAdminMessagesByIdErrors, type GetAdminMessagesByIdResponse, type GetAdminMessagesByIdResponses, type GetAdminMessagesData, type GetAdminMessagesError, type GetAdminMessagesErrors, type GetAdminMessagesResponse, type GetAdminMessagesResponses, type GetAdminMessagesSearchData, type GetAdminMessagesSearchError, type GetAdminMessagesSearchErrors, type GetAdminMessagesSearchResponse, type GetAdminMessagesSearchResponses, type GetAdminNotificationLogsByIdData, type GetAdminNotificationLogsByIdError, type GetAdminNotificationLogsByIdErrors, type GetAdminNotificationLogsByIdResponse, type GetAdminNotificationLogsByIdResponses, type GetAdminNotificationLogsData, type GetAdminNotificationLogsError, type GetAdminNotificationLogsErrors, type GetAdminNotificationLogsResponse, type GetAdminNotificationLogsResponses, type GetAdminNotificationPreferencesByIdData, type GetAdminNotificationPreferencesByIdError, type GetAdminNotificationPreferencesByIdErrors, type GetAdminNotificationPreferencesByIdResponse, type GetAdminNotificationPreferencesByIdResponses, type GetAdminNotificationPreferencesData, type GetAdminNotificationPreferencesError, type GetAdminNotificationPreferencesErrors, type GetAdminNotificationPreferencesResponse, type GetAdminNotificationPreferencesResponses, type GetAdminObjectsByIdData, type GetAdminObjectsByIdError, type GetAdminObjectsByIdErrors, type GetAdminObjectsByIdResponse, type GetAdminObjectsByIdResponses, type GetAdminObjectsData, type GetAdminObjectsError, type GetAdminObjectsErrors, type GetAdminObjectsResponse, type GetAdminObjectsResponses, type GetAdminPaymentMethodsByIdData, type GetAdminPaymentMethodsByIdError, type GetAdminPaymentMethodsByIdErrors, type GetAdminPaymentMethodsByIdResponse, type GetAdminPaymentMethodsByIdResponses, type GetAdminPaymentMethodsData, type GetAdminPaymentMethodsError, type GetAdminPaymentMethodsErrors, type GetAdminPaymentMethodsResponse, type GetAdminPaymentMethodsResponses, type GetAdminPlansByIdData, type GetAdminPlansByIdError, type GetAdminPlansByIdErrors, type GetAdminPlansByIdResponse, type GetAdminPlansByIdResponses, type GetAdminPlansData, type GetAdminPlansError, type GetAdminPlansErrors, type GetAdminPlansResponse, type GetAdminPlansResponses, type GetAdminPlansSlugBySlugData, type GetAdminPlansSlugBySlugError, type GetAdminPlansSlugBySlugErrors, type GetAdminPlansSlugBySlugResponse, type GetAdminPlansSlugBySlugResponses, type GetAdminPricingRulesByIdData, type GetAdminPricingRulesByIdError, type GetAdminPricingRulesByIdErrors, type GetAdminPricingRulesByIdResponse, type GetAdminPricingRulesByIdResponses, type GetAdminPricingRulesData, type GetAdminPricingRulesError, type GetAdminPricingRulesErrors, type GetAdminPricingRulesResolveData, type GetAdminPricingRulesResolveError, type GetAdminPricingRulesResolveErrors, type GetAdminPricingRulesResolveResponse, type GetAdminPricingRulesResolveResponses, type GetAdminPricingRulesResponse, type GetAdminPricingRulesResponses, type GetAdminPricingStrategiesByIdData, type GetAdminPricingStrategiesByIdError, type GetAdminPricingStrategiesByIdErrors, type GetAdminPricingStrategiesByIdResponse, type GetAdminPricingStrategiesByIdResponses, type GetAdminPricingStrategiesData, type GetAdminPricingStrategiesError, type GetAdminPricingStrategiesErrors, type GetAdminPricingStrategiesResponse, type GetAdminPricingStrategiesResponses, type GetAdminSearchData, type GetAdminSearchError, type GetAdminSearchErrors, type GetAdminSearchHealthData, type GetAdminSearchHealthError, type GetAdminSearchHealthErrors, type GetAdminSearchHealthResponse, type GetAdminSearchHealthResponses, type GetAdminSearchIndexesData, type GetAdminSearchIndexesError, type GetAdminSearchIndexesErrors, type GetAdminSearchIndexesResponse, type GetAdminSearchIndexesResponses, type GetAdminSearchResponse, type GetAdminSearchResponses, type GetAdminSearchSavedData, type GetAdminSearchSavedError, type GetAdminSearchSavedErrors, type GetAdminSearchSavedResponse, type GetAdminSearchSavedResponses, type GetAdminSearchSemanticData, type GetAdminSearchSemanticError, type GetAdminSearchSemanticErrors, type GetAdminSearchSemanticResponse, type GetAdminSearchSemanticResponses, type GetAdminSearchStatsData, type GetAdminSearchStatsError, type GetAdminSearchStatsErrors, type GetAdminSearchStatsResponse, type GetAdminSearchStatsResponses, type GetAdminSearchStatusData, type GetAdminSearchStatusError, type GetAdminSearchStatusErrors, type GetAdminSearchStatusResponse, type GetAdminSearchStatusResponses, type GetAdminStorageStatsData, type GetAdminStorageStatsError, type GetAdminStorageStatsErrors, type GetAdminStorageStatsResponse, type GetAdminStorageStatsResponses, type GetAdminSubscriptionsByIdData, type GetAdminSubscriptionsByIdError, type GetAdminSubscriptionsByIdErrors, type GetAdminSubscriptionsByIdResponse, type GetAdminSubscriptionsByIdResponses, type GetAdminSubscriptionsData, type GetAdminSubscriptionsError, type GetAdminSubscriptionsErrors, type GetAdminSubscriptionsResponse, type GetAdminSubscriptionsResponses, type GetAdminSysAiConfigByIdData, type GetAdminSysAiConfigByIdError, type GetAdminSysAiConfigByIdErrors, type GetAdminSysAiConfigByIdResponse, type GetAdminSysAiConfigByIdResponses, type GetAdminSysAiConfigData, type GetAdminSysAiConfigError, type GetAdminSysAiConfigErrors, type GetAdminSysAiConfigResponse, type GetAdminSysAiConfigResponses, type GetAdminSysSemanticCacheByIdData, type GetAdminSysSemanticCacheByIdError, type GetAdminSysSemanticCacheByIdErrors, type GetAdminSysSemanticCacheByIdResponse, type GetAdminSysSemanticCacheByIdResponses, type GetAdminTenantMembershipsData, type GetAdminTenantMembershipsError, type GetAdminTenantMembershipsErrors, type GetAdminTenantMembershipsResponse, type GetAdminTenantMembershipsResponses, type GetAdminTenantsByIdData, type GetAdminTenantsByIdError, type GetAdminTenantsByIdErrors, type GetAdminTenantsByIdResponse, type GetAdminTenantsByIdResponses, type GetAdminTenantsData, type GetAdminTenantsError, type GetAdminTenantsErrors, type GetAdminTenantsResponse, type GetAdminTenantsResponses, type GetAdminThreadsByIdData, type GetAdminThreadsByIdError, type GetAdminThreadsByIdErrors, type GetAdminThreadsByIdResponse, type GetAdminThreadsByIdResponses, type GetAdminThreadsData, type GetAdminThreadsError, type GetAdminThreadsErrors, type GetAdminThreadsResponse, type GetAdminThreadsResponses, type GetAdminThreadsSearchData, type GetAdminThreadsSearchError, type GetAdminThreadsSearchErrors, type GetAdminThreadsSearchResponse, type GetAdminThreadsSearchResponses, type GetAdminTrainingExamplesByIdData, type GetAdminTrainingExamplesByIdError, type GetAdminTrainingExamplesByIdErrors, type GetAdminTrainingExamplesByIdResponse, type GetAdminTrainingExamplesByIdResponses, type GetAdminTrainingExamplesData, type GetAdminTrainingExamplesError, type GetAdminTrainingExamplesErrors, type GetAdminTrainingExamplesResponse, type GetAdminTrainingExamplesResponses, type GetAdminTransactionsByIdData, type GetAdminTransactionsByIdError, type GetAdminTransactionsByIdErrors, type GetAdminTransactionsByIdResponse, type GetAdminTransactionsByIdResponses, type GetAdminTransactionsData, type GetAdminTransactionsError, type GetAdminTransactionsErrors, type GetAdminTransactionsResponse, type GetAdminTransactionsResponses, type GetAdminUserProfilesByIdData, type GetAdminUserProfilesByIdError, type GetAdminUserProfilesByIdErrors, type GetAdminUserProfilesByIdResponse, type GetAdminUserProfilesByIdResponses, type GetAdminUserProfilesData, type GetAdminUserProfilesError, type GetAdminUserProfilesErrors, type GetAdminUserProfilesMeData, type GetAdminUserProfilesMeError, type GetAdminUserProfilesMeErrors, type GetAdminUserProfilesMeResponse, type GetAdminUserProfilesMeResponses, type GetAdminUserProfilesResponse, type GetAdminUserProfilesResponses, type GetAdminUsersByIdData, type GetAdminUsersByIdError, type GetAdminUsersByIdErrors, type GetAdminUsersByIdResponse, type GetAdminUsersByIdResponses, type GetAdminUsersData, type GetAdminUsersError, type GetAdminUsersErrors, type GetAdminUsersMeData, type GetAdminUsersMeError, type GetAdminUsersMeErrors, type GetAdminUsersMeResponse, type GetAdminUsersMeResponses, type GetAdminUsersResponse, type GetAdminUsersResponses, type GetAdminWalletData, type GetAdminWalletError, type GetAdminWalletErrors, type GetAdminWalletResponse, type GetAdminWalletResponses, type GetAdminWebhookConfigsByIdData, type GetAdminWebhookConfigsByIdError, type GetAdminWebhookConfigsByIdErrors, type GetAdminWebhookConfigsByIdResponse, type GetAdminWebhookConfigsByIdResponses, type GetAdminWebhookConfigsData, type GetAdminWebhookConfigsError, type GetAdminWebhookConfigsErrors, type GetAdminWebhookConfigsResponse, type GetAdminWebhookConfigsResponses, type GetAdminWebhookDeliveriesByIdData, type GetAdminWebhookDeliveriesByIdError, type GetAdminWebhookDeliveriesByIdErrors, type GetAdminWebhookDeliveriesByIdResponse, type GetAdminWebhookDeliveriesByIdResponses, type GetAdminWebhookDeliveriesData, type GetAdminWebhookDeliveriesError, type GetAdminWebhookDeliveriesErrors, type GetAdminWebhookDeliveriesResponse, type GetAdminWebhookDeliveriesResponses, type GetAdminWorkspaceMembershipsData, type GetAdminWorkspaceMembershipsError, type GetAdminWorkspaceMembershipsErrors, type GetAdminWorkspaceMembershipsResponse, type GetAdminWorkspaceMembershipsResponses, type GetAdminWorkspacesByIdData, type GetAdminWorkspacesByIdError, type GetAdminWorkspacesByIdErrors, type GetAdminWorkspacesByIdResponse, type GetAdminWorkspacesByIdResponses, type GetAdminWorkspacesData, type GetAdminWorkspacesError, type GetAdminWorkspacesErrors, type GetAdminWorkspacesMineData, type GetAdminWorkspacesMineError, type GetAdminWorkspacesMineErrors, type GetAdminWorkspacesMineResponse, type GetAdminWorkspacesMineResponses, type GetAdminWorkspacesResponse, type GetAdminWorkspacesResponses, GptAdmin, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type Message, type MessageFilter, type MessageFilterId, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type PatchAdminAccountsByIdCreditData, type PatchAdminAccountsByIdCreditError, type PatchAdminAccountsByIdCreditErrors, type PatchAdminAccountsByIdCreditResponse, type PatchAdminAccountsByIdCreditResponses, type PatchAdminAccountsByIdDebitData, type PatchAdminAccountsByIdDebitError, type PatchAdminAccountsByIdDebitErrors, type PatchAdminAccountsByIdDebitResponse, type PatchAdminAccountsByIdDebitResponses, type PatchAdminAgentsByIdData, type PatchAdminAgentsByIdError, type PatchAdminAgentsByIdErrors, type PatchAdminAgentsByIdResponse, type PatchAdminAgentsByIdResponses, type PatchAdminApiKeysByIdAllocateData, type PatchAdminApiKeysByIdAllocateError, type PatchAdminApiKeysByIdAllocateErrors, type PatchAdminApiKeysByIdAllocateResponse, type PatchAdminApiKeysByIdAllocateResponses, type PatchAdminApiKeysByIdData, type PatchAdminApiKeysByIdError, type PatchAdminApiKeysByIdErrors, type PatchAdminApiKeysByIdResponse, type PatchAdminApiKeysByIdResponses, type PatchAdminApiKeysByIdRevokeData, type PatchAdminApiKeysByIdRevokeError, type PatchAdminApiKeysByIdRevokeErrors, type PatchAdminApiKeysByIdRevokeResponse, type PatchAdminApiKeysByIdRevokeResponses, type PatchAdminApiKeysByIdRotateData, type PatchAdminApiKeysByIdRotateError, type PatchAdminApiKeysByIdRotateErrors, type PatchAdminApiKeysByIdRotateResponse, type PatchAdminApiKeysByIdRotateResponses, type PatchAdminApplicationsByIdData, type PatchAdminApplicationsByIdError, type PatchAdminApplicationsByIdErrors, type PatchAdminApplicationsByIdResponse, type PatchAdminApplicationsByIdResponses, type PatchAdminBucketsByIdData, type PatchAdminBucketsByIdError, type PatchAdminBucketsByIdErrors, type PatchAdminBucketsByIdResponse, type PatchAdminBucketsByIdResponses, type PatchAdminConfigsByKeyData, type PatchAdminConfigsByKeyError, type PatchAdminConfigsByKeyErrors, type PatchAdminConfigsByKeyResponse, type PatchAdminConfigsByKeyResponses, type PatchAdminCustomersByIdData, type PatchAdminCustomersByIdError, type PatchAdminCustomersByIdErrors, type PatchAdminCustomersByIdResponse, type PatchAdminCustomersByIdResponses, type PatchAdminDocumentsByIdData, type PatchAdminDocumentsByIdError, type PatchAdminDocumentsByIdErrors, type PatchAdminDocumentsByIdResponse, type PatchAdminDocumentsByIdResponses, type PatchAdminExtractionResultsByIdData, type PatchAdminExtractionResultsByIdError, type PatchAdminExtractionResultsByIdErrors, type PatchAdminExtractionResultsByIdResponse, type PatchAdminExtractionResultsByIdResponses, type PatchAdminInvitationsByIdAcceptData, type PatchAdminInvitationsByIdAcceptError, type PatchAdminInvitationsByIdAcceptErrors, type PatchAdminInvitationsByIdAcceptResponse, type PatchAdminInvitationsByIdAcceptResponses, type PatchAdminInvitationsByIdResendData, type PatchAdminInvitationsByIdResendError, type PatchAdminInvitationsByIdResendErrors, type PatchAdminInvitationsByIdResendResponse, type PatchAdminInvitationsByIdResendResponses, type PatchAdminInvitationsByIdRevokeData, type PatchAdminInvitationsByIdRevokeError, type PatchAdminInvitationsByIdRevokeErrors, type PatchAdminInvitationsByIdRevokeResponse, type PatchAdminInvitationsByIdRevokeResponses, type PatchAdminMessagesByIdData, type PatchAdminMessagesByIdError, type PatchAdminMessagesByIdErrors, type PatchAdminMessagesByIdResponse, type PatchAdminMessagesByIdResponses, type PatchAdminNotificationPreferencesByIdData, type PatchAdminNotificationPreferencesByIdError, type PatchAdminNotificationPreferencesByIdErrors, type PatchAdminNotificationPreferencesByIdResponse, type PatchAdminNotificationPreferencesByIdResponses, type PatchAdminPlansByIdData, type PatchAdminPlansByIdError, type PatchAdminPlansByIdErrors, type PatchAdminPlansByIdResponse, type PatchAdminPlansByIdResponses, type PatchAdminPricingRulesByIdData, type PatchAdminPricingRulesByIdError, type PatchAdminPricingRulesByIdErrors, type PatchAdminPricingRulesByIdResponse, type PatchAdminPricingRulesByIdResponses, type PatchAdminPricingStrategiesByIdData, type PatchAdminPricingStrategiesByIdError, type PatchAdminPricingStrategiesByIdErrors, type PatchAdminPricingStrategiesByIdResponse, type PatchAdminPricingStrategiesByIdResponses, type PatchAdminSubscriptionsByIdData, type PatchAdminSubscriptionsByIdError, type PatchAdminSubscriptionsByIdErrors, type PatchAdminSubscriptionsByIdResponse, type PatchAdminSubscriptionsByIdResponses, type PatchAdminSysAiConfigByIdData, type PatchAdminSysAiConfigByIdError, type PatchAdminSysAiConfigByIdErrors, type PatchAdminSysAiConfigByIdResponse, type PatchAdminSysAiConfigByIdResponses, type PatchAdminTenantMembershipsByTenantIdByUserIdData, type PatchAdminTenantMembershipsByTenantIdByUserIdError, type PatchAdminTenantMembershipsByTenantIdByUserIdErrors, type PatchAdminTenantMembershipsByTenantIdByUserIdResponse, type PatchAdminTenantMembershipsByTenantIdByUserIdResponses, type PatchAdminTenantsByIdData, type PatchAdminTenantsByIdError, type PatchAdminTenantsByIdErrors, type PatchAdminTenantsByIdResponse, type PatchAdminTenantsByIdResponses, type PatchAdminThreadsByIdData, type PatchAdminThreadsByIdError, type PatchAdminThreadsByIdErrors, type PatchAdminThreadsByIdResponse, type PatchAdminThreadsByIdResponses, type PatchAdminTrainingExamplesByIdData, type PatchAdminTrainingExamplesByIdError, type PatchAdminTrainingExamplesByIdErrors, type PatchAdminTrainingExamplesByIdResponse, type PatchAdminTrainingExamplesByIdResponses, type PatchAdminUserProfilesByIdData, type PatchAdminUserProfilesByIdError, type PatchAdminUserProfilesByIdErrors, type PatchAdminUserProfilesByIdResponse, type PatchAdminUserProfilesByIdResponses, type PatchAdminUsersAuthResetPasswordData, type PatchAdminUsersAuthResetPasswordError, type PatchAdminUsersAuthResetPasswordErrors, type PatchAdminUsersAuthResetPasswordResponse, type PatchAdminUsersAuthResetPasswordResponses, type PatchAdminUsersByIdConfirmEmailData, type PatchAdminUsersByIdConfirmEmailError, type PatchAdminUsersByIdConfirmEmailErrors, type PatchAdminUsersByIdConfirmEmailResponse, type PatchAdminUsersByIdConfirmEmailResponses, type PatchAdminUsersByIdData, type PatchAdminUsersByIdError, type PatchAdminUsersByIdErrors, type PatchAdminUsersByIdResetPasswordData, type PatchAdminUsersByIdResetPasswordError, type PatchAdminUsersByIdResetPasswordErrors, type PatchAdminUsersByIdResetPasswordResponse, type PatchAdminUsersByIdResetPasswordResponses, type PatchAdminUsersByIdResponse, type PatchAdminUsersByIdResponses, type PatchAdminWalletAddonsByAddonSlugCancelData, type PatchAdminWalletAddonsByAddonSlugCancelError, type PatchAdminWalletAddonsByAddonSlugCancelErrors, type PatchAdminWalletAddonsByAddonSlugCancelResponse, type PatchAdminWalletAddonsByAddonSlugCancelResponses, type PatchAdminWalletAddonsData, type PatchAdminWalletAddonsError, type PatchAdminWalletAddonsErrors, type PatchAdminWalletAddonsResponse, type PatchAdminWalletAddonsResponses, type PatchAdminWalletPlanData, type PatchAdminWalletPlanError, type PatchAdminWalletPlanErrors, type PatchAdminWalletPlanResponse, type PatchAdminWalletPlanResponses, type PatchAdminWebhookConfigsByIdData, type PatchAdminWebhookConfigsByIdError, type PatchAdminWebhookConfigsByIdErrors, type PatchAdminWebhookConfigsByIdResponse, type PatchAdminWebhookConfigsByIdResponses, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchAdminWorkspacesByIdAllocateData, type PatchAdminWorkspacesByIdAllocateError, type PatchAdminWorkspacesByIdAllocateErrors, type PatchAdminWorkspacesByIdAllocateResponse, type PatchAdminWorkspacesByIdAllocateResponses, type PatchAdminWorkspacesByIdData, type PatchAdminWorkspacesByIdError, type PatchAdminWorkspacesByIdErrors, type PatchAdminWorkspacesByIdResponse, type PatchAdminWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAdminAgentsByIdCloneData, type PostAdminAgentsByIdCloneError, type PostAdminAgentsByIdCloneErrors, type PostAdminAgentsByIdCloneResponse, type PostAdminAgentsByIdCloneResponses, type PostAdminAgentsByIdTestData, type PostAdminAgentsByIdTestError, type PostAdminAgentsByIdTestErrors, type PostAdminAgentsByIdTestResponse, type PostAdminAgentsByIdTestResponses, type PostAdminAgentsByIdValidateData, type PostAdminAgentsByIdValidateError, type PostAdminAgentsByIdValidateErrors, type PostAdminAgentsByIdValidateResponse, type PostAdminAgentsByIdValidateResponses, type PostAdminAgentsData, type PostAdminAgentsError, type PostAdminAgentsErrors, type PostAdminAgentsResponse, type PostAdminAgentsResponses, type PostAdminAiChunksSearchData, type PostAdminAiChunksSearchError, type PostAdminAiChunksSearchErrors, type PostAdminAiChunksSearchResponse, type PostAdminAiChunksSearchResponses, type PostAdminAiEmbedData, type PostAdminAiEmbedError, type PostAdminAiEmbedErrors, type PostAdminAiEmbedResponse, type PostAdminAiEmbedResponses, type PostAdminAiGraphEdgesData, type PostAdminAiGraphEdgesError, type PostAdminAiGraphEdgesErrors, type PostAdminAiGraphEdgesResponse, type PostAdminAiGraphEdgesResponses, type PostAdminAiGraphNodesData, type PostAdminAiGraphNodesError, type PostAdminAiGraphNodesErrors, type PostAdminAiGraphNodesResponse, type PostAdminAiGraphNodesResponses, type PostAdminAiSearchAdvancedData, type PostAdminAiSearchAdvancedError, type PostAdminAiSearchAdvancedErrors, type PostAdminAiSearchAdvancedResponse, type PostAdminAiSearchAdvancedResponses, type PostAdminAiSearchData, type PostAdminAiSearchError, type PostAdminAiSearchErrors, type PostAdminAiSearchResponse, type PostAdminAiSearchResponses, type PostAdminApiKeysData, type PostAdminApiKeysError, type PostAdminApiKeysErrors, type PostAdminApiKeysResponse, type PostAdminApiKeysResponses, type PostAdminApplicationsData, type PostAdminApplicationsError, type PostAdminApplicationsErrors, type PostAdminApplicationsResponse, type PostAdminApplicationsResponses, type PostAdminBucketsData, type PostAdminBucketsError, type PostAdminBucketsErrors, type PostAdminBucketsResponse, type PostAdminBucketsResponses, type PostAdminConfigsData, type PostAdminConfigsError, type PostAdminConfigsErrors, type PostAdminConfigsResponse, type PostAdminConfigsResponses, type PostAdminCustomersData, type PostAdminCustomersError, type PostAdminCustomersErrors, type PostAdminCustomersResponse, type PostAdminCustomersResponses, type PostAdminDocumentsBulkDeleteData, type PostAdminDocumentsBulkDeleteError, type PostAdminDocumentsBulkDeleteErrors, type PostAdminDocumentsBulkDeleteResponse, type PostAdminDocumentsBulkDeleteResponses, type PostAdminDocumentsBulkReprocessData, type PostAdminDocumentsBulkReprocessError, type PostAdminDocumentsBulkReprocessErrors, type PostAdminDocumentsBulkReprocessResponse, type PostAdminDocumentsBulkReprocessResponses, type PostAdminDocumentsByIdAnalyzeData, type PostAdminDocumentsByIdAnalyzeError, type PostAdminDocumentsByIdAnalyzeErrors, type PostAdminDocumentsByIdAnalyzeResponse, type PostAdminDocumentsByIdAnalyzeResponses, type PostAdminDocumentsByIdReprocessData, type PostAdminDocumentsByIdReprocessError, type PostAdminDocumentsByIdReprocessErrors, type PostAdminDocumentsByIdReprocessResponse, type PostAdminDocumentsByIdReprocessResponses, type PostAdminDocumentsData, type PostAdminDocumentsError, type PostAdminDocumentsErrors, type PostAdminDocumentsExportData, type PostAdminDocumentsExportError, type PostAdminDocumentsExportErrors, type PostAdminDocumentsExportResponse, type PostAdminDocumentsExportResponses, type PostAdminDocumentsImportData, type PostAdminDocumentsImportError, type PostAdminDocumentsImportErrors, type PostAdminDocumentsImportResponse, type PostAdminDocumentsImportResponses, type PostAdminDocumentsPresignedUploadData, type PostAdminDocumentsPresignedUploadError, type PostAdminDocumentsPresignedUploadErrors, type PostAdminDocumentsPresignedUploadResponse, type PostAdminDocumentsPresignedUploadResponses, type PostAdminDocumentsResponse, type PostAdminDocumentsResponses, type PostAdminInvitationsAcceptByTokenData, type PostAdminInvitationsAcceptByTokenError, type PostAdminInvitationsAcceptByTokenErrors, type PostAdminInvitationsAcceptByTokenResponse, type PostAdminInvitationsAcceptByTokenResponses, type PostAdminInvitationsInviteData, type PostAdminInvitationsInviteError, type PostAdminInvitationsInviteErrors, type PostAdminInvitationsInviteResponse, type PostAdminInvitationsInviteResponses, type PostAdminLlmAnalyticsData, type PostAdminLlmAnalyticsError, type PostAdminLlmAnalyticsErrors, type PostAdminLlmAnalyticsResponse, type PostAdminLlmAnalyticsResponses, type PostAdminMessagesData, type PostAdminMessagesError, type PostAdminMessagesErrors, type PostAdminMessagesResponse, type PostAdminMessagesResponses, type PostAdminNotificationPreferencesData, type PostAdminNotificationPreferencesError, type PostAdminNotificationPreferencesErrors, type PostAdminNotificationPreferencesResponse, type PostAdminNotificationPreferencesResponses, type PostAdminObjectsBulkDestroyData, type PostAdminObjectsBulkDestroyError, type PostAdminObjectsBulkDestroyErrors, type PostAdminObjectsBulkDestroyResponse, type PostAdminObjectsBulkDestroyResponses, type PostAdminObjectsRegisterData, type PostAdminObjectsRegisterError, type PostAdminObjectsRegisterErrors, type PostAdminObjectsRegisterResponse, type PostAdminObjectsRegisterResponses, type PostAdminPaymentMethodsData, type PostAdminPaymentMethodsError, type PostAdminPaymentMethodsErrors, type PostAdminPaymentMethodsResponse, type PostAdminPaymentMethodsResponses, type PostAdminPaymentsData, type PostAdminPaymentsError, type PostAdminPaymentsErrors, type PostAdminPaymentsResponse, type PostAdminPaymentsResponses, type PostAdminPlansData, type PostAdminPlansError, type PostAdminPlansErrors, type PostAdminPlansResponse, type PostAdminPlansResponses, type PostAdminPricingRulesData, type PostAdminPricingRulesError, type PostAdminPricingRulesErrors, type PostAdminPricingRulesResponse, type PostAdminPricingRulesResponses, type PostAdminPricingStrategiesData, type PostAdminPricingStrategiesError, type PostAdminPricingStrategiesErrors, type PostAdminPricingStrategiesResponse, type PostAdminPricingStrategiesResponses, type PostAdminSearchReindexData, type PostAdminSearchReindexError, type PostAdminSearchReindexErrors, type PostAdminSearchReindexResponse, type PostAdminSearchReindexResponses, type PostAdminSearchSavedData, type PostAdminSearchSavedError, type PostAdminSearchSavedErrors, type PostAdminSearchSavedResponse, type PostAdminSearchSavedResponses, type PostAdminStorageSignDownloadData, type PostAdminStorageSignDownloadError, type PostAdminStorageSignDownloadErrors, type PostAdminStorageSignDownloadResponse, type PostAdminStorageSignDownloadResponses, type PostAdminStorageSignUploadData, type PostAdminStorageSignUploadError, type PostAdminStorageSignUploadErrors, type PostAdminStorageSignUploadResponse, type PostAdminStorageSignUploadResponses, type PostAdminSubscriptionsData, type PostAdminSubscriptionsError, type PostAdminSubscriptionsErrors, type PostAdminSubscriptionsResponse, type PostAdminSubscriptionsResponses, type PostAdminSysAiConfigData, type PostAdminSysAiConfigError, type PostAdminSysAiConfigErrors, type PostAdminSysAiConfigResponse, type PostAdminSysAiConfigResponses, type PostAdminSysSemanticCacheClearData, type PostAdminSysSemanticCacheClearError, type PostAdminSysSemanticCacheClearErrors, type PostAdminSysSemanticCacheClearResponse, type PostAdminSysSemanticCacheClearResponses, type PostAdminTenantMembershipsData, type PostAdminTenantMembershipsError, type PostAdminTenantMembershipsErrors, type PostAdminTenantMembershipsResponse, type PostAdminTenantMembershipsResponses, type PostAdminTenantsByIdBuyStorageData, type PostAdminTenantsByIdBuyStorageError, type PostAdminTenantsByIdBuyStorageErrors, type PostAdminTenantsByIdBuyStorageResponse, type PostAdminTenantsByIdBuyStorageResponses, type PostAdminTenantsByIdRemoveStorageData, type PostAdminTenantsByIdRemoveStorageError, type PostAdminTenantsByIdRemoveStorageErrors, type PostAdminTenantsByIdRemoveStorageResponse, type PostAdminTenantsByIdRemoveStorageResponses, type PostAdminTenantsData, type PostAdminTenantsError, type PostAdminTenantsErrors, type PostAdminTenantsResponse, type PostAdminTenantsResponses, type PostAdminThreadsActiveData, type PostAdminThreadsActiveError, type PostAdminThreadsActiveErrors, type PostAdminThreadsActiveResponse, type PostAdminThreadsActiveResponses, type PostAdminThreadsByIdMessagesData, type PostAdminThreadsByIdMessagesError, type PostAdminThreadsByIdMessagesErrors, type PostAdminThreadsByIdMessagesResponse, type PostAdminThreadsByIdMessagesResponses, type PostAdminThreadsByIdSummarizeData, type PostAdminThreadsByIdSummarizeError, type PostAdminThreadsByIdSummarizeErrors, type PostAdminThreadsByIdSummarizeResponse, type PostAdminThreadsByIdSummarizeResponses, type PostAdminThreadsData, type PostAdminThreadsError, type PostAdminThreadsErrors, type PostAdminThreadsResponse, type PostAdminThreadsResponses, type PostAdminTokensData, type PostAdminTokensError, type PostAdminTokensErrors, type PostAdminTokensResponse, type PostAdminTokensResponses, type PostAdminTrainingExamplesBulkData, type PostAdminTrainingExamplesBulkDeleteData, type PostAdminTrainingExamplesBulkDeleteError, type PostAdminTrainingExamplesBulkDeleteErrors, type PostAdminTrainingExamplesBulkDeleteResponse, type PostAdminTrainingExamplesBulkDeleteResponses, type PostAdminTrainingExamplesBulkError, type PostAdminTrainingExamplesBulkErrors, type PostAdminTrainingExamplesBulkResponse, type PostAdminTrainingExamplesBulkResponses, type PostAdminTrainingExamplesData, type PostAdminTrainingExamplesError, type PostAdminTrainingExamplesErrors, type PostAdminTrainingExamplesResponse, type PostAdminTrainingExamplesResponses, type PostAdminUserProfilesData, type PostAdminUserProfilesError, type PostAdminUserProfilesErrors, type PostAdminUserProfilesResponse, type PostAdminUserProfilesResponses, type PostAdminUsersAuthConfirmData, type PostAdminUsersAuthConfirmError, type PostAdminUsersAuthConfirmErrors, type PostAdminUsersAuthConfirmResponse, type PostAdminUsersAuthConfirmResponses, type PostAdminUsersAuthLoginData, type PostAdminUsersAuthLoginError, type PostAdminUsersAuthLoginErrors, type PostAdminUsersAuthLoginResponse, type PostAdminUsersAuthLoginResponses, type PostAdminUsersAuthMagicLinkLoginData, type PostAdminUsersAuthMagicLinkLoginError, type PostAdminUsersAuthMagicLinkLoginErrors, type PostAdminUsersAuthMagicLinkLoginResponse, type PostAdminUsersAuthMagicLinkLoginResponses, type PostAdminUsersAuthMagicLinkRequestData, type PostAdminUsersAuthMagicLinkRequestError, type PostAdminUsersAuthMagicLinkRequestErrors, type PostAdminUsersAuthMagicLinkRequestResponse, type PostAdminUsersAuthMagicLinkRequestResponses, type PostAdminUsersAuthRegisterData, type PostAdminUsersAuthRegisterError, type PostAdminUsersAuthRegisterErrors, type PostAdminUsersAuthRegisterResponse, type PostAdminUsersAuthRegisterResponses, type PostAdminUsersAuthRegisterWithOidcData, type PostAdminUsersAuthRegisterWithOidcError, type PostAdminUsersAuthRegisterWithOidcErrors, type PostAdminUsersAuthRegisterWithOidcResponse, type PostAdminUsersAuthRegisterWithOidcResponses, type PostAdminUsersRegisterIsvData, type PostAdminUsersRegisterIsvError, type PostAdminUsersRegisterIsvErrors, type PostAdminUsersRegisterIsvResponse, type PostAdminUsersRegisterIsvResponses, type PostAdminWebhookConfigsByIdTestData, type PostAdminWebhookConfigsByIdTestError, type PostAdminWebhookConfigsByIdTestErrors, type PostAdminWebhookConfigsByIdTestResponse, type PostAdminWebhookConfigsByIdTestResponses, type PostAdminWebhookConfigsData, type PostAdminWebhookConfigsError, type PostAdminWebhookConfigsErrors, type PostAdminWebhookConfigsResponse, type PostAdminWebhookConfigsResponses, type PostAdminWebhookDeliveriesByIdRetryData, type PostAdminWebhookDeliveriesByIdRetryError, type PostAdminWebhookDeliveriesByIdRetryErrors, type PostAdminWebhookDeliveriesByIdRetryResponse, type PostAdminWebhookDeliveriesByIdRetryResponses, type PostAdminWorkspaceMembershipsData, type PostAdminWorkspaceMembershipsError, type PostAdminWorkspaceMembershipsErrors, type PostAdminWorkspaceMembershipsResponse, type PostAdminWorkspaceMembershipsResponses, type PostAdminWorkspacesData, type PostAdminWorkspacesError, type PostAdminWorkspacesErrors, type PostAdminWorkspacesResponse, type PostAdminWorkspacesResponses, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StorageStatsRequest, StorageStatsRequestSchema, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookBulkDisableRequest, WebhookBulkDisableSchema, type WebhookBulkEnableRequest, WebhookBulkEnableSchema, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryBulkRetryRequest, WebhookDeliveryBulkRetrySchema, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type XApplicationKey, type _Error, type _Object, handleApiError };
24132
+ export { type Account, type AccountCreditRequest, AccountCreditSchema, type AccountDebitRequest, AccountDebitSchema, type AccountFilter, type AccountFilterId, type Agent, type AgentAdminCreateRequest, AgentAdminCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterName, type AgentFilterSlug, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions, type Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, type DeleteAdminAiConversationsByIdData, type DeleteAdminAiConversationsByIdError, type DeleteAdminAiConversationsByIdErrors, type DeleteAdminAiConversationsByIdResponses, type DeleteAdminAiGraphEdgesByIdData, type DeleteAdminAiGraphEdgesByIdError, type DeleteAdminAiGraphEdgesByIdErrors, type DeleteAdminAiGraphEdgesByIdResponses, type DeleteAdminAiGraphNodesByIdData, type DeleteAdminAiGraphNodesByIdError, type DeleteAdminAiGraphNodesByIdErrors, type DeleteAdminAiGraphNodesByIdResponses, type DeleteAdminApiKeysByIdData, type DeleteAdminApiKeysByIdError, type DeleteAdminApiKeysByIdErrors, type DeleteAdminApiKeysByIdResponses, type DeleteAdminApplicationsByIdData, type DeleteAdminApplicationsByIdError, type DeleteAdminApplicationsByIdErrors, type DeleteAdminApplicationsByIdResponses, type DeleteAdminBucketsByIdData, type DeleteAdminBucketsByIdError, type DeleteAdminBucketsByIdErrors, type DeleteAdminBucketsByIdResponses, type DeleteAdminCustomersByIdData, type DeleteAdminCustomersByIdError, type DeleteAdminCustomersByIdErrors, type DeleteAdminCustomersByIdResponses, type DeleteAdminDocumentsByIdData, type DeleteAdminDocumentsByIdError, type DeleteAdminDocumentsByIdErrors, type DeleteAdminDocumentsByIdResponses, type DeleteAdminExtractionResultsByIdData, type DeleteAdminExtractionResultsByIdError, type DeleteAdminExtractionResultsByIdErrors, type DeleteAdminExtractionResultsByIdResponses, type DeleteAdminMessagesByIdData, type DeleteAdminMessagesByIdError, type DeleteAdminMessagesByIdErrors, type DeleteAdminMessagesByIdResponses, type DeleteAdminNotificationPreferencesByIdData, type DeleteAdminNotificationPreferencesByIdError, type DeleteAdminNotificationPreferencesByIdErrors, type DeleteAdminNotificationPreferencesByIdResponses, type DeleteAdminObjectsByIdData, type DeleteAdminObjectsByIdError, type DeleteAdminObjectsByIdErrors, type DeleteAdminObjectsByIdResponses, type DeleteAdminPaymentMethodsByIdData, type DeleteAdminPaymentMethodsByIdError, type DeleteAdminPaymentMethodsByIdErrors, type DeleteAdminPaymentMethodsByIdResponses, type DeleteAdminPlansByIdData, type DeleteAdminPlansByIdError, type DeleteAdminPlansByIdErrors, type DeleteAdminPlansByIdResponses, type DeleteAdminSearchSavedByIdData, type DeleteAdminSearchSavedByIdError, type DeleteAdminSearchSavedByIdErrors, type DeleteAdminSearchSavedByIdResponses, type DeleteAdminSubscriptionsByIdData, type DeleteAdminSubscriptionsByIdError, type DeleteAdminSubscriptionsByIdErrors, type DeleteAdminSubscriptionsByIdResponses, type DeleteAdminTenantMembershipsByTenantIdByUserIdData, type DeleteAdminTenantMembershipsByTenantIdByUserIdError, type DeleteAdminTenantMembershipsByTenantIdByUserIdErrors, type DeleteAdminTenantMembershipsByTenantIdByUserIdResponses, type DeleteAdminTenantsByIdData, type DeleteAdminTenantsByIdError, type DeleteAdminTenantsByIdErrors, type DeleteAdminTenantsByIdResponses, type DeleteAdminThreadsByIdData, type DeleteAdminThreadsByIdError, type DeleteAdminThreadsByIdErrors, type DeleteAdminThreadsByIdResponses, type DeleteAdminTrainingExamplesByIdData, type DeleteAdminTrainingExamplesByIdError, type DeleteAdminTrainingExamplesByIdErrors, type DeleteAdminTrainingExamplesByIdResponses, type DeleteAdminUserProfilesByIdData, type DeleteAdminUserProfilesByIdError, type DeleteAdminUserProfilesByIdErrors, type DeleteAdminUserProfilesByIdResponses, type DeleteAdminWebhookConfigsByIdData, type DeleteAdminWebhookConfigsByIdError, type DeleteAdminWebhookConfigsByIdErrors, type DeleteAdminWebhookConfigsByIdResponses, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteAdminWorkspacesByIdData, type DeleteAdminWorkspacesByIdError, type DeleteAdminWorkspacesByIdErrors, type DeleteAdminWorkspacesByIdResponses, type Document, type DocumentBulkDeleteRequest, DocumentBulkDeleteSchema, type DocumentBulkReprocessRequest, DocumentBulkReprocessSchema, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentFilter, type DocumentFilterApplicationId, type DocumentFilterBilledCredits, type DocumentFilterContent, type DocumentFilterFilename, type DocumentFilterId, type DocumentFilterMetadata, type DocumentFilterMimeType, type DocumentFilterOriginalFilename, type DocumentFilterSizeBytes, type DocumentFilterStatus, type DocumentFilterStorageOptions, type DocumentFilterStoragePath, type DocumentFilterSummary, type DocumentFilterSummaryEmbedding, type DocumentFilterTenantId, type DocumentFilterUploaderId, type DocumentFilterWorkspaceId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionResult, type ExtractionResultDataInputUpdateType, type ExtractionResultFilter, type ExtractionResultFilterConfidenceScore, type ExtractionResultFilterDocumentId, type ExtractionResultFilterId, type ExtractionResultFilterModelUsed, type ExtractionResultFilterProcessingTimeMs, type GetAdminAccountsByIdData, type GetAdminAccountsByIdError, type GetAdminAccountsByIdErrors, type GetAdminAccountsByIdResponse, type GetAdminAccountsByIdResponses, type GetAdminAccountsData, type GetAdminAccountsError, type GetAdminAccountsErrors, type GetAdminAccountsResponse, type GetAdminAccountsResponses, type GetAdminAgentsByIdData, type GetAdminAgentsByIdError, type GetAdminAgentsByIdErrors, type GetAdminAgentsByIdResponse, type GetAdminAgentsByIdResponses, type GetAdminAgentsData, type GetAdminAgentsError, type GetAdminAgentsErrors, type GetAdminAgentsResponse, type GetAdminAgentsResponses, type GetAdminAiChunksDocumentByDocumentIdData, type GetAdminAiChunksDocumentByDocumentIdError, type GetAdminAiChunksDocumentByDocumentIdErrors, type GetAdminAiChunksDocumentByDocumentIdResponse, type GetAdminAiChunksDocumentByDocumentIdResponses, type GetAdminAiConversationsByIdData, type GetAdminAiConversationsByIdError, type GetAdminAiConversationsByIdErrors, type GetAdminAiConversationsByIdResponse, type GetAdminAiConversationsByIdResponses, type GetAdminAiConversationsData, type GetAdminAiConversationsError, type GetAdminAiConversationsErrors, type GetAdminAiConversationsResponse, type GetAdminAiConversationsResponses, type GetAdminAiGraphEdgesData, type GetAdminAiGraphEdgesError, type GetAdminAiGraphEdgesErrors, type GetAdminAiGraphEdgesResponse, type GetAdminAiGraphEdgesResponses, type GetAdminAiGraphNodesData, type GetAdminAiGraphNodesError, type GetAdminAiGraphNodesErrors, type GetAdminAiGraphNodesResponse, type GetAdminAiGraphNodesResponses, type GetAdminAiMessagesData, type GetAdminAiMessagesError, type GetAdminAiMessagesErrors, type GetAdminAiMessagesResponse, type GetAdminAiMessagesResponses, type GetAdminApiKeysByIdData, type GetAdminApiKeysByIdError, type GetAdminApiKeysByIdErrors, type GetAdminApiKeysByIdResponse, type GetAdminApiKeysByIdResponses, type GetAdminApiKeysData, type GetAdminApiKeysError, type GetAdminApiKeysErrors, type GetAdminApiKeysResponse, type GetAdminApiKeysResponses, type GetAdminApplicationsByIdData, type GetAdminApplicationsByIdError, type GetAdminApplicationsByIdErrors, type GetAdminApplicationsByIdResponse, type GetAdminApplicationsByIdResponses, type GetAdminApplicationsBySlugBySlugData, type GetAdminApplicationsBySlugBySlugError, type GetAdminApplicationsBySlugBySlugErrors, type GetAdminApplicationsBySlugBySlugResponse, type GetAdminApplicationsBySlugBySlugResponses, type GetAdminApplicationsData, type GetAdminApplicationsError, type GetAdminApplicationsErrors, type GetAdminApplicationsResponse, type GetAdminApplicationsResponses, type GetAdminAuditLogsData, type GetAdminAuditLogsError, type GetAdminAuditLogsErrors, type GetAdminAuditLogsResponse, type GetAdminAuditLogsResponses, type GetAdminBucketsByIdData, type GetAdminBucketsByIdError, type GetAdminBucketsByIdErrors, type GetAdminBucketsByIdObjectsData, type GetAdminBucketsByIdObjectsError, type GetAdminBucketsByIdObjectsErrors, type GetAdminBucketsByIdObjectsResponse, type GetAdminBucketsByIdObjectsResponses, type GetAdminBucketsByIdResponse, type GetAdminBucketsByIdResponses, type GetAdminBucketsByIdStatsData, type GetAdminBucketsByIdStatsError, type GetAdminBucketsByIdStatsErrors, type GetAdminBucketsByIdStatsResponse, type GetAdminBucketsByIdStatsResponses, type GetAdminBucketsData, type GetAdminBucketsError, type GetAdminBucketsErrors, type GetAdminBucketsResponse, type GetAdminBucketsResponses, type GetAdminConfigsData, type GetAdminConfigsError, type GetAdminConfigsErrors, type GetAdminConfigsResponse, type GetAdminConfigsResponses, type GetAdminCreditPackagesByIdData, type GetAdminCreditPackagesByIdError, type GetAdminCreditPackagesByIdErrors, type GetAdminCreditPackagesByIdResponse, type GetAdminCreditPackagesByIdResponses, type GetAdminCreditPackagesData, type GetAdminCreditPackagesError, type GetAdminCreditPackagesErrors, type GetAdminCreditPackagesResponse, type GetAdminCreditPackagesResponses, type GetAdminCreditPackagesSlugBySlugData, type GetAdminCreditPackagesSlugBySlugError, type GetAdminCreditPackagesSlugBySlugErrors, type GetAdminCreditPackagesSlugBySlugResponse, type GetAdminCreditPackagesSlugBySlugResponses, type GetAdminCustomersByIdData, type GetAdminCustomersByIdError, type GetAdminCustomersByIdErrors, type GetAdminCustomersByIdResponse, type GetAdminCustomersByIdResponses, type GetAdminDocumentsByIdData, type GetAdminDocumentsByIdError, type GetAdminDocumentsByIdErrors, type GetAdminDocumentsByIdExtractionResultsData, type GetAdminDocumentsByIdExtractionResultsError, type GetAdminDocumentsByIdExtractionResultsErrors, type GetAdminDocumentsByIdExtractionResultsResponse, type GetAdminDocumentsByIdExtractionResultsResponses, type GetAdminDocumentsByIdRelationshipsChunksData, type GetAdminDocumentsByIdRelationshipsChunksError, type GetAdminDocumentsByIdRelationshipsChunksErrors, type GetAdminDocumentsByIdRelationshipsChunksResponse, type GetAdminDocumentsByIdRelationshipsChunksResponses, type GetAdminDocumentsByIdResponse, type GetAdminDocumentsByIdResponses, type GetAdminDocumentsData, type GetAdminDocumentsError, type GetAdminDocumentsErrors, type GetAdminDocumentsProcessingQueueData, type GetAdminDocumentsProcessingQueueError, type GetAdminDocumentsProcessingQueueErrors, type GetAdminDocumentsProcessingQueueResponse, type GetAdminDocumentsProcessingQueueResponses, type GetAdminDocumentsResponse, type GetAdminDocumentsResponses, type GetAdminDocumentsSearchData, type GetAdminDocumentsSearchError, type GetAdminDocumentsSearchErrors, type GetAdminDocumentsSearchResponse, type GetAdminDocumentsSearchResponses, type GetAdminDocumentsStatsData, type GetAdminDocumentsStatsError, type GetAdminDocumentsStatsErrors, type GetAdminDocumentsStatsResponse, type GetAdminDocumentsStatsResponses, type GetAdminExtractionResultsByIdData, type GetAdminExtractionResultsByIdError, type GetAdminExtractionResultsByIdErrors, type GetAdminExtractionResultsByIdResponse, type GetAdminExtractionResultsByIdResponses, type GetAdminExtractionResultsData, type GetAdminExtractionResultsError, type GetAdminExtractionResultsErrors, type GetAdminExtractionResultsResponse, type GetAdminExtractionResultsResponses, type GetAdminInvitationsConsumeByTokenData, type GetAdminInvitationsConsumeByTokenError, type GetAdminInvitationsConsumeByTokenErrors, type GetAdminInvitationsConsumeByTokenResponse, type GetAdminInvitationsConsumeByTokenResponses, type GetAdminInvitationsData, type GetAdminInvitationsError, type GetAdminInvitationsErrors, type GetAdminInvitationsResponse, type GetAdminInvitationsResponses, type GetAdminLedgerByIdData, type GetAdminLedgerByIdError, type GetAdminLedgerByIdErrors, type GetAdminLedgerByIdResponse, type GetAdminLedgerByIdResponses, type GetAdminLedgerData, type GetAdminLedgerError, type GetAdminLedgerErrors, type GetAdminLedgerResponse, type GetAdminLedgerResponses, type GetAdminLlmAnalyticsByIdData, type GetAdminLlmAnalyticsByIdError, type GetAdminLlmAnalyticsByIdErrors, type GetAdminLlmAnalyticsByIdResponse, type GetAdminLlmAnalyticsByIdResponses, type GetAdminLlmAnalyticsCostsData, type GetAdminLlmAnalyticsCostsError, type GetAdminLlmAnalyticsCostsErrors, type GetAdminLlmAnalyticsCostsResponse, type GetAdminLlmAnalyticsCostsResponses, type GetAdminLlmAnalyticsData, type GetAdminLlmAnalyticsError, type GetAdminLlmAnalyticsErrors, type GetAdminLlmAnalyticsPlatformData, type GetAdminLlmAnalyticsPlatformError, type GetAdminLlmAnalyticsPlatformErrors, type GetAdminLlmAnalyticsPlatformResponse, type GetAdminLlmAnalyticsPlatformResponses, type GetAdminLlmAnalyticsResponse, type GetAdminLlmAnalyticsResponses, type GetAdminLlmAnalyticsSummaryData, type GetAdminLlmAnalyticsSummaryError, type GetAdminLlmAnalyticsSummaryErrors, type GetAdminLlmAnalyticsSummaryResponse, type GetAdminLlmAnalyticsSummaryResponses, type GetAdminLlmAnalyticsUsageData, type GetAdminLlmAnalyticsUsageError, type GetAdminLlmAnalyticsUsageErrors, type GetAdminLlmAnalyticsUsageResponse, type GetAdminLlmAnalyticsUsageResponses, type GetAdminLlmAnalyticsWorkspaceData, type GetAdminLlmAnalyticsWorkspaceError, type GetAdminLlmAnalyticsWorkspaceErrors, type GetAdminLlmAnalyticsWorkspaceResponse, type GetAdminLlmAnalyticsWorkspaceResponses, type GetAdminMessagesByIdData, type GetAdminMessagesByIdError, type GetAdminMessagesByIdErrors, type GetAdminMessagesByIdResponse, type GetAdminMessagesByIdResponses, type GetAdminMessagesData, type GetAdminMessagesError, type GetAdminMessagesErrors, type GetAdminMessagesResponse, type GetAdminMessagesResponses, type GetAdminMessagesSearchData, type GetAdminMessagesSearchError, type GetAdminMessagesSearchErrors, type GetAdminMessagesSearchResponse, type GetAdminMessagesSearchResponses, type GetAdminNotificationLogsByIdData, type GetAdminNotificationLogsByIdError, type GetAdminNotificationLogsByIdErrors, type GetAdminNotificationLogsByIdResponse, type GetAdminNotificationLogsByIdResponses, type GetAdminNotificationLogsData, type GetAdminNotificationLogsError, type GetAdminNotificationLogsErrors, type GetAdminNotificationLogsResponse, type GetAdminNotificationLogsResponses, type GetAdminNotificationPreferencesByIdData, type GetAdminNotificationPreferencesByIdError, type GetAdminNotificationPreferencesByIdErrors, type GetAdminNotificationPreferencesByIdResponse, type GetAdminNotificationPreferencesByIdResponses, type GetAdminNotificationPreferencesData, type GetAdminNotificationPreferencesError, type GetAdminNotificationPreferencesErrors, type GetAdminNotificationPreferencesResponse, type GetAdminNotificationPreferencesResponses, type GetAdminObjectsByIdData, type GetAdminObjectsByIdError, type GetAdminObjectsByIdErrors, type GetAdminObjectsByIdResponse, type GetAdminObjectsByIdResponses, type GetAdminObjectsData, type GetAdminObjectsError, type GetAdminObjectsErrors, type GetAdminObjectsResponse, type GetAdminObjectsResponses, type GetAdminPaymentMethodsByIdData, type GetAdminPaymentMethodsByIdError, type GetAdminPaymentMethodsByIdErrors, type GetAdminPaymentMethodsByIdResponse, type GetAdminPaymentMethodsByIdResponses, type GetAdminPaymentMethodsData, type GetAdminPaymentMethodsError, type GetAdminPaymentMethodsErrors, type GetAdminPaymentMethodsResponse, type GetAdminPaymentMethodsResponses, type GetAdminPlansByIdData, type GetAdminPlansByIdError, type GetAdminPlansByIdErrors, type GetAdminPlansByIdResponse, type GetAdminPlansByIdResponses, type GetAdminPlansData, type GetAdminPlansError, type GetAdminPlansErrors, type GetAdminPlansResponse, type GetAdminPlansResponses, type GetAdminPlansSlugBySlugData, type GetAdminPlansSlugBySlugError, type GetAdminPlansSlugBySlugErrors, type GetAdminPlansSlugBySlugResponse, type GetAdminPlansSlugBySlugResponses, type GetAdminPricingRulesByIdData, type GetAdminPricingRulesByIdError, type GetAdminPricingRulesByIdErrors, type GetAdminPricingRulesByIdResponse, type GetAdminPricingRulesByIdResponses, type GetAdminPricingRulesData, type GetAdminPricingRulesError, type GetAdminPricingRulesErrors, type GetAdminPricingRulesResolveData, type GetAdminPricingRulesResolveError, type GetAdminPricingRulesResolveErrors, type GetAdminPricingRulesResolveResponse, type GetAdminPricingRulesResolveResponses, type GetAdminPricingRulesResponse, type GetAdminPricingRulesResponses, type GetAdminPricingStrategiesByIdData, type GetAdminPricingStrategiesByIdError, type GetAdminPricingStrategiesByIdErrors, type GetAdminPricingStrategiesByIdResponse, type GetAdminPricingStrategiesByIdResponses, type GetAdminPricingStrategiesData, type GetAdminPricingStrategiesError, type GetAdminPricingStrategiesErrors, type GetAdminPricingStrategiesResponse, type GetAdminPricingStrategiesResponses, type GetAdminSearchData, type GetAdminSearchError, type GetAdminSearchErrors, type GetAdminSearchHealthData, type GetAdminSearchHealthError, type GetAdminSearchHealthErrors, type GetAdminSearchHealthResponse, type GetAdminSearchHealthResponses, type GetAdminSearchIndexesData, type GetAdminSearchIndexesError, type GetAdminSearchIndexesErrors, type GetAdminSearchIndexesResponse, type GetAdminSearchIndexesResponses, type GetAdminSearchResponse, type GetAdminSearchResponses, type GetAdminSearchSavedData, type GetAdminSearchSavedError, type GetAdminSearchSavedErrors, type GetAdminSearchSavedResponse, type GetAdminSearchSavedResponses, type GetAdminSearchSemanticData, type GetAdminSearchSemanticError, type GetAdminSearchSemanticErrors, type GetAdminSearchSemanticResponse, type GetAdminSearchSemanticResponses, type GetAdminSearchStatsData, type GetAdminSearchStatsError, type GetAdminSearchStatsErrors, type GetAdminSearchStatsResponse, type GetAdminSearchStatsResponses, type GetAdminSearchStatusData, type GetAdminSearchStatusError, type GetAdminSearchStatusErrors, type GetAdminSearchStatusResponse, type GetAdminSearchStatusResponses, type GetAdminStorageStatsData, type GetAdminStorageStatsError, type GetAdminStorageStatsErrors, type GetAdminStorageStatsResponse, type GetAdminStorageStatsResponses, type GetAdminSubscriptionsByIdData, type GetAdminSubscriptionsByIdError, type GetAdminSubscriptionsByIdErrors, type GetAdminSubscriptionsByIdResponse, type GetAdminSubscriptionsByIdResponses, type GetAdminSubscriptionsData, type GetAdminSubscriptionsError, type GetAdminSubscriptionsErrors, type GetAdminSubscriptionsResponse, type GetAdminSubscriptionsResponses, type GetAdminSysAiConfigByIdData, type GetAdminSysAiConfigByIdError, type GetAdminSysAiConfigByIdErrors, type GetAdminSysAiConfigByIdResponse, type GetAdminSysAiConfigByIdResponses, type GetAdminSysAiConfigData, type GetAdminSysAiConfigError, type GetAdminSysAiConfigErrors, type GetAdminSysAiConfigResponse, type GetAdminSysAiConfigResponses, type GetAdminSysSemanticCacheByIdData, type GetAdminSysSemanticCacheByIdError, type GetAdminSysSemanticCacheByIdErrors, type GetAdminSysSemanticCacheByIdResponse, type GetAdminSysSemanticCacheByIdResponses, type GetAdminTenantMembershipsData, type GetAdminTenantMembershipsError, type GetAdminTenantMembershipsErrors, type GetAdminTenantMembershipsResponse, type GetAdminTenantMembershipsResponses, type GetAdminTenantsByIdData, type GetAdminTenantsByIdError, type GetAdminTenantsByIdErrors, type GetAdminTenantsByIdResponse, type GetAdminTenantsByIdResponses, type GetAdminTenantsData, type GetAdminTenantsError, type GetAdminTenantsErrors, type GetAdminTenantsResponse, type GetAdminTenantsResponses, type GetAdminThreadsByIdData, type GetAdminThreadsByIdError, type GetAdminThreadsByIdErrors, type GetAdminThreadsByIdResponse, type GetAdminThreadsByIdResponses, type GetAdminThreadsData, type GetAdminThreadsError, type GetAdminThreadsErrors, type GetAdminThreadsResponse, type GetAdminThreadsResponses, type GetAdminThreadsSearchData, type GetAdminThreadsSearchError, type GetAdminThreadsSearchErrors, type GetAdminThreadsSearchResponse, type GetAdminThreadsSearchResponses, type GetAdminTrainingExamplesByIdData, type GetAdminTrainingExamplesByIdError, type GetAdminTrainingExamplesByIdErrors, type GetAdminTrainingExamplesByIdResponse, type GetAdminTrainingExamplesByIdResponses, type GetAdminTrainingExamplesData, type GetAdminTrainingExamplesError, type GetAdminTrainingExamplesErrors, type GetAdminTrainingExamplesResponse, type GetAdminTrainingExamplesResponses, type GetAdminTransactionsByIdData, type GetAdminTransactionsByIdError, type GetAdminTransactionsByIdErrors, type GetAdminTransactionsByIdResponse, type GetAdminTransactionsByIdResponses, type GetAdminTransactionsData, type GetAdminTransactionsError, type GetAdminTransactionsErrors, type GetAdminTransactionsResponse, type GetAdminTransactionsResponses, type GetAdminUserProfilesByIdData, type GetAdminUserProfilesByIdError, type GetAdminUserProfilesByIdErrors, type GetAdminUserProfilesByIdResponse, type GetAdminUserProfilesByIdResponses, type GetAdminUserProfilesData, type GetAdminUserProfilesError, type GetAdminUserProfilesErrors, type GetAdminUserProfilesMeData, type GetAdminUserProfilesMeError, type GetAdminUserProfilesMeErrors, type GetAdminUserProfilesMeResponse, type GetAdminUserProfilesMeResponses, type GetAdminUserProfilesResponse, type GetAdminUserProfilesResponses, type GetAdminUsersByIdData, type GetAdminUsersByIdError, type GetAdminUsersByIdErrors, type GetAdminUsersByIdResponse, type GetAdminUsersByIdResponses, type GetAdminUsersData, type GetAdminUsersError, type GetAdminUsersErrors, type GetAdminUsersMeData, type GetAdminUsersMeError, type GetAdminUsersMeErrors, type GetAdminUsersMeResponse, type GetAdminUsersMeResponses, type GetAdminUsersResponse, type GetAdminUsersResponses, type GetAdminWalletData, type GetAdminWalletError, type GetAdminWalletErrors, type GetAdminWalletResponse, type GetAdminWalletResponses, type GetAdminWebhookConfigsByIdData, type GetAdminWebhookConfigsByIdError, type GetAdminWebhookConfigsByIdErrors, type GetAdminWebhookConfigsByIdResponse, type GetAdminWebhookConfigsByIdResponses, type GetAdminWebhookConfigsData, type GetAdminWebhookConfigsError, type GetAdminWebhookConfigsErrors, type GetAdminWebhookConfigsResponse, type GetAdminWebhookConfigsResponses, type GetAdminWebhookDeliveriesByIdData, type GetAdminWebhookDeliveriesByIdError, type GetAdminWebhookDeliveriesByIdErrors, type GetAdminWebhookDeliveriesByIdResponse, type GetAdminWebhookDeliveriesByIdResponses, type GetAdminWebhookDeliveriesData, type GetAdminWebhookDeliveriesError, type GetAdminWebhookDeliveriesErrors, type GetAdminWebhookDeliveriesResponse, type GetAdminWebhookDeliveriesResponses, type GetAdminWorkspaceMembershipsData, type GetAdminWorkspaceMembershipsError, type GetAdminWorkspaceMembershipsErrors, type GetAdminWorkspaceMembershipsResponse, type GetAdminWorkspaceMembershipsResponses, type GetAdminWorkspacesByIdData, type GetAdminWorkspacesByIdError, type GetAdminWorkspacesByIdErrors, type GetAdminWorkspacesByIdResponse, type GetAdminWorkspacesByIdResponses, type GetAdminWorkspacesData, type GetAdminWorkspacesError, type GetAdminWorkspacesErrors, type GetAdminWorkspacesMineData, type GetAdminWorkspacesMineError, type GetAdminWorkspacesMineErrors, type GetAdminWorkspacesMineResponse, type GetAdminWorkspacesMineResponses, type GetAdminWorkspacesResponse, type GetAdminWorkspacesResponses, GptAdmin, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type PatchAdminAccountsByIdCreditData, type PatchAdminAccountsByIdCreditError, type PatchAdminAccountsByIdCreditErrors, type PatchAdminAccountsByIdCreditResponse, type PatchAdminAccountsByIdCreditResponses, type PatchAdminAccountsByIdDebitData, type PatchAdminAccountsByIdDebitError, type PatchAdminAccountsByIdDebitErrors, type PatchAdminAccountsByIdDebitResponse, type PatchAdminAccountsByIdDebitResponses, type PatchAdminApiKeysByIdAllocateData, type PatchAdminApiKeysByIdAllocateError, type PatchAdminApiKeysByIdAllocateErrors, type PatchAdminApiKeysByIdAllocateResponse, type PatchAdminApiKeysByIdAllocateResponses, type PatchAdminApiKeysByIdData, type PatchAdminApiKeysByIdError, type PatchAdminApiKeysByIdErrors, type PatchAdminApiKeysByIdResponse, type PatchAdminApiKeysByIdResponses, type PatchAdminApiKeysByIdRevokeData, type PatchAdminApiKeysByIdRevokeError, type PatchAdminApiKeysByIdRevokeErrors, type PatchAdminApiKeysByIdRevokeResponse, type PatchAdminApiKeysByIdRevokeResponses, type PatchAdminApiKeysByIdRotateData, type PatchAdminApiKeysByIdRotateError, type PatchAdminApiKeysByIdRotateErrors, type PatchAdminApiKeysByIdRotateResponse, type PatchAdminApiKeysByIdRotateResponses, type PatchAdminApplicationsByIdData, type PatchAdminApplicationsByIdError, type PatchAdminApplicationsByIdErrors, type PatchAdminApplicationsByIdResponse, type PatchAdminApplicationsByIdResponses, type PatchAdminBucketsByIdData, type PatchAdminBucketsByIdError, type PatchAdminBucketsByIdErrors, type PatchAdminBucketsByIdResponse, type PatchAdminBucketsByIdResponses, type PatchAdminConfigsByKeyData, type PatchAdminConfigsByKeyError, type PatchAdminConfigsByKeyErrors, type PatchAdminConfigsByKeyResponse, type PatchAdminConfigsByKeyResponses, type PatchAdminCustomersByIdData, type PatchAdminCustomersByIdError, type PatchAdminCustomersByIdErrors, type PatchAdminCustomersByIdResponse, type PatchAdminCustomersByIdResponses, type PatchAdminDocumentsByIdData, type PatchAdminDocumentsByIdError, type PatchAdminDocumentsByIdErrors, type PatchAdminDocumentsByIdResponse, type PatchAdminDocumentsByIdResponses, type PatchAdminExtractionResultsByIdData, type PatchAdminExtractionResultsByIdError, type PatchAdminExtractionResultsByIdErrors, type PatchAdminExtractionResultsByIdResponse, type PatchAdminExtractionResultsByIdResponses, type PatchAdminInvitationsByIdAcceptData, type PatchAdminInvitationsByIdAcceptError, type PatchAdminInvitationsByIdAcceptErrors, type PatchAdminInvitationsByIdAcceptResponse, type PatchAdminInvitationsByIdAcceptResponses, type PatchAdminInvitationsByIdResendData, type PatchAdminInvitationsByIdResendError, type PatchAdminInvitationsByIdResendErrors, type PatchAdminInvitationsByIdResendResponse, type PatchAdminInvitationsByIdResendResponses, type PatchAdminInvitationsByIdRevokeData, type PatchAdminInvitationsByIdRevokeError, type PatchAdminInvitationsByIdRevokeErrors, type PatchAdminInvitationsByIdRevokeResponse, type PatchAdminInvitationsByIdRevokeResponses, type PatchAdminMessagesByIdData, type PatchAdminMessagesByIdError, type PatchAdminMessagesByIdErrors, type PatchAdminMessagesByIdResponse, type PatchAdminMessagesByIdResponses, type PatchAdminNotificationPreferencesByIdData, type PatchAdminNotificationPreferencesByIdError, type PatchAdminNotificationPreferencesByIdErrors, type PatchAdminNotificationPreferencesByIdResponse, type PatchAdminNotificationPreferencesByIdResponses, type PatchAdminPlansByIdData, type PatchAdminPlansByIdError, type PatchAdminPlansByIdErrors, type PatchAdminPlansByIdResponse, type PatchAdminPlansByIdResponses, type PatchAdminPricingRulesByIdData, type PatchAdminPricingRulesByIdError, type PatchAdminPricingRulesByIdErrors, type PatchAdminPricingRulesByIdResponse, type PatchAdminPricingRulesByIdResponses, type PatchAdminPricingStrategiesByIdData, type PatchAdminPricingStrategiesByIdError, type PatchAdminPricingStrategiesByIdErrors, type PatchAdminPricingStrategiesByIdResponse, type PatchAdminPricingStrategiesByIdResponses, type PatchAdminSubscriptionsByIdData, type PatchAdminSubscriptionsByIdError, type PatchAdminSubscriptionsByIdErrors, type PatchAdminSubscriptionsByIdResponse, type PatchAdminSubscriptionsByIdResponses, type PatchAdminSysAiConfigByIdData, type PatchAdminSysAiConfigByIdError, type PatchAdminSysAiConfigByIdErrors, type PatchAdminSysAiConfigByIdResponse, type PatchAdminSysAiConfigByIdResponses, type PatchAdminTenantMembershipsByTenantIdByUserIdData, type PatchAdminTenantMembershipsByTenantIdByUserIdError, type PatchAdminTenantMembershipsByTenantIdByUserIdErrors, type PatchAdminTenantMembershipsByTenantIdByUserIdResponse, type PatchAdminTenantMembershipsByTenantIdByUserIdResponses, type PatchAdminTenantsByIdData, type PatchAdminTenantsByIdError, type PatchAdminTenantsByIdErrors, type PatchAdminTenantsByIdResponse, type PatchAdminTenantsByIdResponses, type PatchAdminThreadsByIdData, type PatchAdminThreadsByIdError, type PatchAdminThreadsByIdErrors, type PatchAdminThreadsByIdResponse, type PatchAdminThreadsByIdResponses, type PatchAdminTrainingExamplesByIdData, type PatchAdminTrainingExamplesByIdError, type PatchAdminTrainingExamplesByIdErrors, type PatchAdminTrainingExamplesByIdResponse, type PatchAdminTrainingExamplesByIdResponses, type PatchAdminUserProfilesByIdData, type PatchAdminUserProfilesByIdError, type PatchAdminUserProfilesByIdErrors, type PatchAdminUserProfilesByIdResponse, type PatchAdminUserProfilesByIdResponses, type PatchAdminUsersAuthResetPasswordData, type PatchAdminUsersAuthResetPasswordError, type PatchAdminUsersAuthResetPasswordErrors, type PatchAdminUsersAuthResetPasswordResponse, type PatchAdminUsersAuthResetPasswordResponses, type PatchAdminUsersByIdConfirmEmailData, type PatchAdminUsersByIdConfirmEmailError, type PatchAdminUsersByIdConfirmEmailErrors, type PatchAdminUsersByIdConfirmEmailResponse, type PatchAdminUsersByIdConfirmEmailResponses, type PatchAdminUsersByIdData, type PatchAdminUsersByIdError, type PatchAdminUsersByIdErrors, type PatchAdminUsersByIdResetPasswordData, type PatchAdminUsersByIdResetPasswordError, type PatchAdminUsersByIdResetPasswordErrors, type PatchAdminUsersByIdResetPasswordResponse, type PatchAdminUsersByIdResetPasswordResponses, type PatchAdminUsersByIdResponse, type PatchAdminUsersByIdResponses, type PatchAdminWalletAddonsByAddonSlugCancelData, type PatchAdminWalletAddonsByAddonSlugCancelError, type PatchAdminWalletAddonsByAddonSlugCancelErrors, type PatchAdminWalletAddonsByAddonSlugCancelResponse, type PatchAdminWalletAddonsByAddonSlugCancelResponses, type PatchAdminWalletAddonsData, type PatchAdminWalletAddonsError, type PatchAdminWalletAddonsErrors, type PatchAdminWalletAddonsResponse, type PatchAdminWalletAddonsResponses, type PatchAdminWalletPlanData, type PatchAdminWalletPlanError, type PatchAdminWalletPlanErrors, type PatchAdminWalletPlanResponse, type PatchAdminWalletPlanResponses, type PatchAdminWebhookConfigsByIdData, type PatchAdminWebhookConfigsByIdError, type PatchAdminWebhookConfigsByIdErrors, type PatchAdminWebhookConfigsByIdResponse, type PatchAdminWebhookConfigsByIdResponses, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchAdminWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchAdminWorkspacesByIdAllocateData, type PatchAdminWorkspacesByIdAllocateError, type PatchAdminWorkspacesByIdAllocateErrors, type PatchAdminWorkspacesByIdAllocateResponse, type PatchAdminWorkspacesByIdAllocateResponses, type PatchAdminWorkspacesByIdData, type PatchAdminWorkspacesByIdError, type PatchAdminWorkspacesByIdErrors, type PatchAdminWorkspacesByIdResponse, type PatchAdminWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAdminAgentsByIdCloneData, type PostAdminAgentsByIdCloneError, type PostAdminAgentsByIdCloneErrors, type PostAdminAgentsByIdCloneResponse, type PostAdminAgentsByIdCloneResponses, type PostAdminAgentsByIdTestData, type PostAdminAgentsByIdTestError, type PostAdminAgentsByIdTestErrors, type PostAdminAgentsByIdTestResponse, type PostAdminAgentsByIdTestResponses, type PostAdminAgentsByIdValidateData, type PostAdminAgentsByIdValidateError, type PostAdminAgentsByIdValidateErrors, type PostAdminAgentsByIdValidateResponse, type PostAdminAgentsByIdValidateResponses, type PostAdminAgentsPredictData, type PostAdminAgentsPredictError, type PostAdminAgentsPredictErrors, type PostAdminAgentsPredictResponse, type PostAdminAgentsPredictResponses, type PostAdminAiChunksSearchData, type PostAdminAiChunksSearchError, type PostAdminAiChunksSearchErrors, type PostAdminAiChunksSearchResponse, type PostAdminAiChunksSearchResponses, type PostAdminAiConversationsData, type PostAdminAiConversationsError, type PostAdminAiConversationsErrors, type PostAdminAiConversationsResponse, type PostAdminAiConversationsResponses, type PostAdminAiEmbedData, type PostAdminAiEmbedError, type PostAdminAiEmbedErrors, type PostAdminAiEmbedResponse, type PostAdminAiEmbedResponses, type PostAdminAiGraphEdgesData, type PostAdminAiGraphEdgesError, type PostAdminAiGraphEdgesErrors, type PostAdminAiGraphEdgesResponse, type PostAdminAiGraphEdgesResponses, type PostAdminAiGraphNodesData, type PostAdminAiGraphNodesError, type PostAdminAiGraphNodesErrors, type PostAdminAiGraphNodesResponse, type PostAdminAiGraphNodesResponses, type PostAdminAiMessagesData, type PostAdminAiMessagesError, type PostAdminAiMessagesErrors, type PostAdminAiMessagesResponse, type PostAdminAiMessagesResponses, type PostAdminAiSearchAdvancedData, type PostAdminAiSearchAdvancedError, type PostAdminAiSearchAdvancedErrors, type PostAdminAiSearchAdvancedResponse, type PostAdminAiSearchAdvancedResponses, type PostAdminAiSearchData, type PostAdminAiSearchError, type PostAdminAiSearchErrors, type PostAdminAiSearchResponse, type PostAdminAiSearchResponses, type PostAdminApiKeysData, type PostAdminApiKeysError, type PostAdminApiKeysErrors, type PostAdminApiKeysResponse, type PostAdminApiKeysResponses, type PostAdminApplicationsData, type PostAdminApplicationsError, type PostAdminApplicationsErrors, type PostAdminApplicationsResponse, type PostAdminApplicationsResponses, type PostAdminBucketsData, type PostAdminBucketsError, type PostAdminBucketsErrors, type PostAdminBucketsResponse, type PostAdminBucketsResponses, type PostAdminConfigsData, type PostAdminConfigsError, type PostAdminConfigsErrors, type PostAdminConfigsResponse, type PostAdminConfigsResponses, type PostAdminCustomersData, type PostAdminCustomersError, type PostAdminCustomersErrors, type PostAdminCustomersResponse, type PostAdminCustomersResponses, type PostAdminDocumentsBulkDeleteData, type PostAdminDocumentsBulkDeleteError, type PostAdminDocumentsBulkDeleteErrors, type PostAdminDocumentsBulkDeleteResponse, type PostAdminDocumentsBulkDeleteResponses, type PostAdminDocumentsBulkReprocessData, type PostAdminDocumentsBulkReprocessError, type PostAdminDocumentsBulkReprocessErrors, type PostAdminDocumentsBulkReprocessResponse, type PostAdminDocumentsBulkReprocessResponses, type PostAdminDocumentsByIdAnalyzeData, type PostAdminDocumentsByIdAnalyzeError, type PostAdminDocumentsByIdAnalyzeErrors, type PostAdminDocumentsByIdAnalyzeResponse, type PostAdminDocumentsByIdAnalyzeResponses, type PostAdminDocumentsByIdReprocessData, type PostAdminDocumentsByIdReprocessError, type PostAdminDocumentsByIdReprocessErrors, type PostAdminDocumentsByIdReprocessResponse, type PostAdminDocumentsByIdReprocessResponses, type PostAdminDocumentsData, type PostAdminDocumentsError, type PostAdminDocumentsErrors, type PostAdminDocumentsExportData, type PostAdminDocumentsExportError, type PostAdminDocumentsExportErrors, type PostAdminDocumentsExportResponse, type PostAdminDocumentsExportResponses, type PostAdminDocumentsImportData, type PostAdminDocumentsImportError, type PostAdminDocumentsImportErrors, type PostAdminDocumentsImportResponse, type PostAdminDocumentsImportResponses, type PostAdminDocumentsPresignedUploadData, type PostAdminDocumentsPresignedUploadError, type PostAdminDocumentsPresignedUploadErrors, type PostAdminDocumentsPresignedUploadResponse, type PostAdminDocumentsPresignedUploadResponses, type PostAdminDocumentsResponse, type PostAdminDocumentsResponses, type PostAdminInvitationsAcceptByTokenData, type PostAdminInvitationsAcceptByTokenError, type PostAdminInvitationsAcceptByTokenErrors, type PostAdminInvitationsAcceptByTokenResponse, type PostAdminInvitationsAcceptByTokenResponses, type PostAdminInvitationsInviteData, type PostAdminInvitationsInviteError, type PostAdminInvitationsInviteErrors, type PostAdminInvitationsInviteResponse, type PostAdminInvitationsInviteResponses, type PostAdminLlmAnalyticsData, type PostAdminLlmAnalyticsError, type PostAdminLlmAnalyticsErrors, type PostAdminLlmAnalyticsResponse, type PostAdminLlmAnalyticsResponses, type PostAdminMessagesData, type PostAdminMessagesError, type PostAdminMessagesErrors, type PostAdminMessagesResponse, type PostAdminMessagesResponses, type PostAdminNotificationPreferencesData, type PostAdminNotificationPreferencesError, type PostAdminNotificationPreferencesErrors, type PostAdminNotificationPreferencesResponse, type PostAdminNotificationPreferencesResponses, type PostAdminObjectsBulkDestroyData, type PostAdminObjectsBulkDestroyError, type PostAdminObjectsBulkDestroyErrors, type PostAdminObjectsBulkDestroyResponse, type PostAdminObjectsBulkDestroyResponses, type PostAdminObjectsRegisterData, type PostAdminObjectsRegisterError, type PostAdminObjectsRegisterErrors, type PostAdminObjectsRegisterResponse, type PostAdminObjectsRegisterResponses, type PostAdminPaymentMethodsData, type PostAdminPaymentMethodsError, type PostAdminPaymentMethodsErrors, type PostAdminPaymentMethodsResponse, type PostAdminPaymentMethodsResponses, type PostAdminPaymentsData, type PostAdminPaymentsError, type PostAdminPaymentsErrors, type PostAdminPaymentsResponse, type PostAdminPaymentsResponses, type PostAdminPlansData, type PostAdminPlansError, type PostAdminPlansErrors, type PostAdminPlansResponse, type PostAdminPlansResponses, type PostAdminPricingRulesData, type PostAdminPricingRulesError, type PostAdminPricingRulesErrors, type PostAdminPricingRulesResponse, type PostAdminPricingRulesResponses, type PostAdminPricingStrategiesData, type PostAdminPricingStrategiesError, type PostAdminPricingStrategiesErrors, type PostAdminPricingStrategiesResponse, type PostAdminPricingStrategiesResponses, type PostAdminSearchReindexData, type PostAdminSearchReindexError, type PostAdminSearchReindexErrors, type PostAdminSearchReindexResponse, type PostAdminSearchReindexResponses, type PostAdminSearchSavedData, type PostAdminSearchSavedError, type PostAdminSearchSavedErrors, type PostAdminSearchSavedResponse, type PostAdminSearchSavedResponses, type PostAdminStorageSignDownloadData, type PostAdminStorageSignDownloadError, type PostAdminStorageSignDownloadErrors, type PostAdminStorageSignDownloadResponse, type PostAdminStorageSignDownloadResponses, type PostAdminStorageSignUploadData, type PostAdminStorageSignUploadError, type PostAdminStorageSignUploadErrors, type PostAdminStorageSignUploadResponse, type PostAdminStorageSignUploadResponses, type PostAdminSubscriptionsData, type PostAdminSubscriptionsError, type PostAdminSubscriptionsErrors, type PostAdminSubscriptionsResponse, type PostAdminSubscriptionsResponses, type PostAdminSysAiConfigData, type PostAdminSysAiConfigError, type PostAdminSysAiConfigErrors, type PostAdminSysAiConfigResponse, type PostAdminSysAiConfigResponses, type PostAdminSysSemanticCacheClearData, type PostAdminSysSemanticCacheClearError, type PostAdminSysSemanticCacheClearErrors, type PostAdminSysSemanticCacheClearResponse, type PostAdminSysSemanticCacheClearResponses, type PostAdminTenantMembershipsData, type PostAdminTenantMembershipsError, type PostAdminTenantMembershipsErrors, type PostAdminTenantMembershipsResponse, type PostAdminTenantMembershipsResponses, type PostAdminTenantsByIdBuyStorageData, type PostAdminTenantsByIdBuyStorageError, type PostAdminTenantsByIdBuyStorageErrors, type PostAdminTenantsByIdBuyStorageResponse, type PostAdminTenantsByIdBuyStorageResponses, type PostAdminTenantsByIdRemoveStorageData, type PostAdminTenantsByIdRemoveStorageError, type PostAdminTenantsByIdRemoveStorageErrors, type PostAdminTenantsByIdRemoveStorageResponse, type PostAdminTenantsByIdRemoveStorageResponses, type PostAdminTenantsData, type PostAdminTenantsError, type PostAdminTenantsErrors, type PostAdminTenantsResponse, type PostAdminTenantsResponses, type PostAdminThreadsActiveData, type PostAdminThreadsActiveError, type PostAdminThreadsActiveErrors, type PostAdminThreadsActiveResponse, type PostAdminThreadsActiveResponses, type PostAdminThreadsByIdMessagesData, type PostAdminThreadsByIdMessagesError, type PostAdminThreadsByIdMessagesErrors, type PostAdminThreadsByIdMessagesResponse, type PostAdminThreadsByIdMessagesResponses, type PostAdminThreadsByIdSummarizeData, type PostAdminThreadsByIdSummarizeError, type PostAdminThreadsByIdSummarizeErrors, type PostAdminThreadsByIdSummarizeResponse, type PostAdminThreadsByIdSummarizeResponses, type PostAdminThreadsData, type PostAdminThreadsError, type PostAdminThreadsErrors, type PostAdminThreadsResponse, type PostAdminThreadsResponses, type PostAdminTokensData, type PostAdminTokensError, type PostAdminTokensErrors, type PostAdminTokensResponse, type PostAdminTokensResponses, type PostAdminTrainingExamplesBulkData, type PostAdminTrainingExamplesBulkDeleteData, type PostAdminTrainingExamplesBulkDeleteError, type PostAdminTrainingExamplesBulkDeleteErrors, type PostAdminTrainingExamplesBulkDeleteResponse, type PostAdminTrainingExamplesBulkDeleteResponses, type PostAdminTrainingExamplesBulkError, type PostAdminTrainingExamplesBulkErrors, type PostAdminTrainingExamplesBulkResponse, type PostAdminTrainingExamplesBulkResponses, type PostAdminTrainingExamplesData, type PostAdminTrainingExamplesError, type PostAdminTrainingExamplesErrors, type PostAdminTrainingExamplesResponse, type PostAdminTrainingExamplesResponses, type PostAdminUserProfilesData, type PostAdminUserProfilesError, type PostAdminUserProfilesErrors, type PostAdminUserProfilesResponse, type PostAdminUserProfilesResponses, type PostAdminUsersAuthConfirmData, type PostAdminUsersAuthConfirmError, type PostAdminUsersAuthConfirmErrors, type PostAdminUsersAuthConfirmResponse, type PostAdminUsersAuthConfirmResponses, type PostAdminUsersAuthLoginData, type PostAdminUsersAuthLoginError, type PostAdminUsersAuthLoginErrors, type PostAdminUsersAuthLoginResponse, type PostAdminUsersAuthLoginResponses, type PostAdminUsersAuthMagicLinkLoginData, type PostAdminUsersAuthMagicLinkLoginError, type PostAdminUsersAuthMagicLinkLoginErrors, type PostAdminUsersAuthMagicLinkLoginResponse, type PostAdminUsersAuthMagicLinkLoginResponses, type PostAdminUsersAuthMagicLinkRequestData, type PostAdminUsersAuthMagicLinkRequestError, type PostAdminUsersAuthMagicLinkRequestErrors, type PostAdminUsersAuthMagicLinkRequestResponse, type PostAdminUsersAuthMagicLinkRequestResponses, type PostAdminUsersAuthRegisterData, type PostAdminUsersAuthRegisterError, type PostAdminUsersAuthRegisterErrors, type PostAdminUsersAuthRegisterResponse, type PostAdminUsersAuthRegisterResponses, type PostAdminUsersAuthRegisterWithOidcData, type PostAdminUsersAuthRegisterWithOidcError, type PostAdminUsersAuthRegisterWithOidcErrors, type PostAdminUsersAuthRegisterWithOidcResponse, type PostAdminUsersAuthRegisterWithOidcResponses, type PostAdminUsersRegisterIsvData, type PostAdminUsersRegisterIsvError, type PostAdminUsersRegisterIsvErrors, type PostAdminUsersRegisterIsvResponse, type PostAdminUsersRegisterIsvResponses, type PostAdminWebhookConfigsByIdTestData, type PostAdminWebhookConfigsByIdTestError, type PostAdminWebhookConfigsByIdTestErrors, type PostAdminWebhookConfigsByIdTestResponse, type PostAdminWebhookConfigsByIdTestResponses, type PostAdminWebhookConfigsData, type PostAdminWebhookConfigsError, type PostAdminWebhookConfigsErrors, type PostAdminWebhookConfigsResponse, type PostAdminWebhookConfigsResponses, type PostAdminWebhookDeliveriesByIdRetryData, type PostAdminWebhookDeliveriesByIdRetryError, type PostAdminWebhookDeliveriesByIdRetryErrors, type PostAdminWebhookDeliveriesByIdRetryResponse, type PostAdminWebhookDeliveriesByIdRetryResponses, type PostAdminWorkspaceMembershipsData, type PostAdminWorkspaceMembershipsError, type PostAdminWorkspaceMembershipsErrors, type PostAdminWorkspaceMembershipsResponse, type PostAdminWorkspaceMembershipsResponses, type PostAdminWorkspacesData, type PostAdminWorkspacesError, type PostAdminWorkspacesErrors, type PostAdminWorkspacesResponse, type PostAdminWorkspacesResponses, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StorageStatsRequest, StorageStatsRequestSchema, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookBulkDisableRequest, WebhookBulkDisableSchema, type WebhookBulkEnableRequest, WebhookBulkEnableSchema, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryBulkRetryRequest, WebhookDeliveryBulkRetrySchema, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type XApplicationKey, type _Error, type _Object, handleApiError };