@gpt-core/admin 0.2.0 → 0.3.1

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 +1188 -404
  2. package/dist/index.d.ts +1188 -404
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -16,6 +16,28 @@ declare abstract class BaseClient {
16
16
  type ClientOptions = {
17
17
  baseUrl: "http://localhost:22222" | "https://api.yourdomain.com" | (string & {});
18
18
  };
19
+ type WorkspaceSettingsInputCreateType = {
20
+ errors?: {
21
+ bucket_id?: string | unknown;
22
+ destination?: "local" | "storage" | unknown;
23
+ local_path?: string | unknown;
24
+ } | unknown;
25
+ input?: {
26
+ bucket_id?: string | unknown;
27
+ local_path?: string | unknown;
28
+ source?: "local" | "storage" | unknown;
29
+ } | unknown;
30
+ output?: {
31
+ bucket_id?: string | unknown;
32
+ destination?: "local" | "storage" | unknown;
33
+ local_path?: string | unknown;
34
+ retention_minutes?: number | unknown;
35
+ } | unknown;
36
+ scheduling?: {
37
+ enabled?: boolean | unknown;
38
+ interval_minutes?: number | unknown;
39
+ } | unknown;
40
+ };
19
41
  /**
20
42
  * Filters the query to results matching the given filter object
21
43
  */
@@ -129,6 +151,19 @@ type WorkspaceFilterExpiresAt = {
129
151
  * Filters the query to results matching the given filter object
130
152
  */
131
153
  type SearchFilter = unknown;
154
+ type ConversationFilterTitle = {
155
+ contains?: string;
156
+ eq?: string;
157
+ greater_than?: string;
158
+ greater_than_or_equal?: string;
159
+ ilike?: string;
160
+ in?: Array<string>;
161
+ is_nil?: boolean;
162
+ less_than?: string;
163
+ less_than_or_equal?: string;
164
+ like?: string;
165
+ not_eq?: string;
166
+ };
132
167
  type UserProfileFilterUserId = {
133
168
  eq?: string;
134
169
  greater_than?: string;
@@ -238,6 +273,16 @@ type Wallet = {
238
273
  };
239
274
  type: string;
240
275
  };
276
+ type MessageFilterRole = {
277
+ eq?: "system" | "user" | "assistant";
278
+ greater_than?: "system" | "user" | "assistant";
279
+ greater_than_or_equal?: "system" | "user" | "assistant";
280
+ in?: Array<string>;
281
+ is_nil?: boolean;
282
+ less_than?: "system" | "user" | "assistant";
283
+ less_than_or_equal?: "system" | "user" | "assistant";
284
+ not_eq?: "system" | "user" | "assistant";
285
+ };
241
286
  /**
242
287
  * A "Resource object" representing a message
243
288
  */
@@ -311,6 +356,16 @@ type UserFilterId = {
311
356
  less_than_or_equal?: string;
312
357
  not_eq?: string;
313
358
  };
359
+ type ConversationFilterTenantId = {
360
+ eq?: string;
361
+ greater_than?: string;
362
+ greater_than_or_equal?: string;
363
+ in?: Array<string>;
364
+ is_nil?: boolean;
365
+ less_than?: string;
366
+ less_than_or_equal?: string;
367
+ not_eq?: string;
368
+ };
314
369
  type WalletFilterCredits = {
315
370
  eq?: number;
316
371
  greater_than?: number;
@@ -384,6 +439,16 @@ type WalletFilterCreditsFree = {
384
439
  less_than_or_equal?: number;
385
440
  not_eq?: number;
386
441
  };
442
+ type ApiKeyFilterExpiresAt = {
443
+ eq?: unknown;
444
+ greater_than?: unknown;
445
+ greater_than_or_equal?: unknown;
446
+ in?: Array<unknown>;
447
+ is_nil?: boolean;
448
+ less_than?: unknown;
449
+ less_than_or_equal?: unknown;
450
+ not_eq?: unknown;
451
+ };
387
452
  type DocumentFilterTenantId = {
388
453
  eq?: string;
389
454
  greater_than?: string;
@@ -598,6 +663,22 @@ type PlanFilterStorageDays = {
598
663
  less_than_or_equal?: number;
599
664
  not_eq?: number;
600
665
  };
666
+ /**
667
+ * ID of the Specialty Agent assigned to this workspace
668
+ */
669
+ type WorkspaceFilterSpecialtyAgentId = {
670
+ contains?: string;
671
+ eq?: string;
672
+ greater_than?: string;
673
+ greater_than_or_equal?: string;
674
+ ilike?: string;
675
+ in?: Array<string>;
676
+ is_nil?: boolean;
677
+ less_than?: string;
678
+ less_than_or_equal?: string;
679
+ like?: string;
680
+ not_eq?: string;
681
+ };
601
682
  type StorageStatsFilterTotalObjects = {
602
683
  eq?: number;
603
684
  greater_than?: number;
@@ -813,6 +894,16 @@ type UserFilterIsAppAdmin = {
813
894
  less_than_or_equal?: boolean;
814
895
  not_eq?: boolean;
815
896
  };
897
+ type ApiKeyFilterWorkspaceId = {
898
+ eq?: string;
899
+ greater_than?: string;
900
+ greater_than_or_equal?: string;
901
+ in?: Array<string>;
902
+ is_nil?: boolean;
903
+ less_than?: string;
904
+ less_than_or_equal?: string;
905
+ not_eq?: string;
906
+ };
816
907
  type TrainingExampleFilterEmbedding = {
817
908
  eq?: unknown;
818
909
  greater_than?: unknown;
@@ -848,6 +939,10 @@ type Document = {
848
939
  * Field included by default.
849
940
  */
850
941
  application_id?: string | null | unknown;
942
+ /**
943
+ * Field included by default.
944
+ */
945
+ billed_credits?: number | null | unknown;
851
946
  /**
852
947
  * Field included by default.
853
948
  */
@@ -1225,6 +1320,16 @@ type DocumentFilterUploaderId = {
1225
1320
  less_than_or_equal?: string;
1226
1321
  not_eq?: string;
1227
1322
  };
1323
+ type ApiKeyFilterApplicationId = {
1324
+ eq?: string;
1325
+ greater_than?: string;
1326
+ greater_than_or_equal?: string;
1327
+ in?: Array<string>;
1328
+ is_nil?: boolean;
1329
+ less_than?: string;
1330
+ less_than_or_equal?: string;
1331
+ not_eq?: string;
1332
+ };
1228
1333
  /**
1229
1334
  * Filters the query to results matching the given filter object
1230
1335
  */
@@ -1361,6 +1466,16 @@ type CreditPackageFilterCreatedAt = {
1361
1466
  less_than_or_equal?: unknown;
1362
1467
  not_eq?: unknown;
1363
1468
  };
1469
+ type EmbeddingFilterBilledCredits = {
1470
+ eq?: number;
1471
+ greater_than?: number;
1472
+ greater_than_or_equal?: number;
1473
+ in?: Array<number>;
1474
+ is_nil?: boolean;
1475
+ less_than?: number;
1476
+ less_than_or_equal?: number;
1477
+ not_eq?: number;
1478
+ };
1364
1479
  type WalletFilterPlan = {
1365
1480
  eq?: {
1366
1481
  [key: string]: unknown;
@@ -1472,6 +1587,16 @@ type Plan = {
1472
1587
  * Filters the query to results matching the given filter object
1473
1588
  */
1474
1589
  type SemanticCacheEntryFilter = unknown;
1590
+ type DocumentFilterBilledCredits = {
1591
+ eq?: number;
1592
+ greater_than?: number;
1593
+ greater_than_or_equal?: number;
1594
+ in?: Array<number>;
1595
+ is_nil?: boolean;
1596
+ less_than?: number;
1597
+ less_than_or_equal?: number;
1598
+ not_eq?: number;
1599
+ };
1475
1600
  type UserProfileFilterPreferences = {
1476
1601
  eq?: {
1477
1602
  [key: string]: unknown;
@@ -1496,6 +1621,33 @@ type UserProfileFilterPreferences = {
1496
1621
  [key: string]: unknown;
1497
1622
  };
1498
1623
  };
1624
+ /**
1625
+ * Structured data providing context for this conversation (e.g., failed prediction results)
1626
+ */
1627
+ type ConversationFilterContextData = {
1628
+ eq?: {
1629
+ [key: string]: unknown;
1630
+ };
1631
+ greater_than?: {
1632
+ [key: string]: unknown;
1633
+ };
1634
+ greater_than_or_equal?: {
1635
+ [key: string]: unknown;
1636
+ };
1637
+ in?: Array<{
1638
+ [key: string]: unknown;
1639
+ }>;
1640
+ is_nil?: boolean;
1641
+ less_than?: {
1642
+ [key: string]: unknown;
1643
+ };
1644
+ less_than_or_equal?: {
1645
+ [key: string]: unknown;
1646
+ };
1647
+ not_eq?: {
1648
+ [key: string]: unknown;
1649
+ };
1650
+ };
1499
1651
  /**
1500
1652
  * A "Resource object" representing a application
1501
1653
  */
@@ -1578,7 +1730,15 @@ type ApiKey = {
1578
1730
  * An attributes object for a api_key
1579
1731
  */
1580
1732
  attributes?: {
1733
+ /**
1734
+ * Field included by default.
1735
+ */
1736
+ application_id: string;
1581
1737
  current_scopes?: Array<string> | null | unknown;
1738
+ /**
1739
+ * Field included by default.
1740
+ */
1741
+ expires_at?: unknown;
1582
1742
  /**
1583
1743
  * Field included by default.
1584
1744
  */
@@ -1587,13 +1747,84 @@ type ApiKey = {
1587
1747
  * Field included by default.
1588
1748
  */
1589
1749
  status: "active" | "revoked" | "expired";
1750
+ /**
1751
+ * Field included by default.
1752
+ */
1753
+ tenant_id?: string | null | unknown;
1754
+ /**
1755
+ * Field included by default.
1756
+ */
1757
+ user_id?: string | null | unknown;
1758
+ /**
1759
+ * Field included by default.
1760
+ */
1761
+ workspace_id?: string | null | unknown;
1590
1762
  };
1591
1763
  id: string;
1592
1764
  /**
1593
1765
  * A relationships object for a api_key
1594
1766
  */
1595
1767
  relationships?: {
1596
- [key: string]: never;
1768
+ account?: {
1769
+ /**
1770
+ * An identifier for account
1771
+ */
1772
+ data?: {
1773
+ id: string;
1774
+ meta?: {
1775
+ [key: string]: unknown;
1776
+ };
1777
+ type: string;
1778
+ } | null;
1779
+ };
1780
+ application?: {
1781
+ /**
1782
+ * An identifier for application
1783
+ */
1784
+ data?: {
1785
+ id: string;
1786
+ meta?: {
1787
+ [key: string]: unknown;
1788
+ };
1789
+ type: string;
1790
+ } | null;
1791
+ };
1792
+ tenant?: {
1793
+ /**
1794
+ * An identifier for tenant
1795
+ */
1796
+ data?: {
1797
+ id: string;
1798
+ meta?: {
1799
+ [key: string]: unknown;
1800
+ };
1801
+ type: string;
1802
+ } | null;
1803
+ };
1804
+ user?: {
1805
+ /**
1806
+ * An identifier for user
1807
+ */
1808
+ data?: {
1809
+ id: string;
1810
+ meta?: {
1811
+ [key: string]: unknown;
1812
+ };
1813
+ type: string;
1814
+ } | null;
1815
+ };
1816
+ workspace?: {
1817
+ /**
1818
+ * An identifier for workspace
1819
+ */
1820
+ data?: {
1821
+ id: string;
1822
+ meta?: {
1823
+ [key: string]: unknown;
1824
+ };
1825
+ type: string;
1826
+ } | null;
1827
+ };
1597
1828
  };
1598
1829
  type: string;
1599
1830
  };
@@ -1775,6 +2006,28 @@ type PaymentFilterAmount = {
1775
2006
  less_than_or_equal?: number;
1776
2007
  not_eq?: number;
1777
2008
  };
2009
+ type WorkspaceSettingsInputUpdateType = {
2010
+ errors?: {
2011
+ bucket_id?: string | unknown;
2012
+ destination?: "local" | "storage" | unknown;
2013
+ local_path?: string | unknown;
2014
+ } | unknown;
2015
+ input?: {
2016
+ bucket_id?: string | unknown;
2017
+ local_path?: string | unknown;
2018
+ source?: "local" | "storage" | unknown;
2019
+ } | unknown;
2020
+ output?: {
2021
+ bucket_id?: string | unknown;
2022
+ destination?: "local" | "storage" | unknown;
2023
+ local_path?: string | unknown;
2024
+ retention_minutes?: number | unknown;
2025
+ } | unknown;
2026
+ scheduling?: {
2027
+ enabled?: boolean | unknown;
2028
+ interval_minutes?: number | unknown;
2029
+ } | unknown;
2030
+ };
1778
2031
  type TransactionFilterErrorMessage = {
1779
2032
  contains?: string;
1780
2033
  eq?: string;
@@ -1951,6 +2204,16 @@ type ExtractionResult = {
1951
2204
  };
1952
2205
  type: string;
1953
2206
  };
2207
+ type ConversationFilterId = {
2208
+ eq?: string;
2209
+ greater_than?: string;
2210
+ greater_than_or_equal?: string;
2211
+ in?: Array<string>;
2212
+ is_nil?: boolean;
2213
+ less_than?: string;
2214
+ less_than_or_equal?: string;
2215
+ not_eq?: string;
2216
+ };
1954
2217
  type WalletFilterCreditsSubscription = {
1955
2218
  eq?: number;
1956
2219
  greater_than?: number;
@@ -2050,6 +2313,16 @@ type GraphEdgeFilterTargetId = {
2050
2313
  less_than_or_equal?: string;
2051
2314
  not_eq?: string;
2052
2315
  };
2316
+ type ApiKeyFilterUserId = {
2317
+ eq?: string;
2318
+ greater_than?: string;
2319
+ greater_than_or_equal?: string;
2320
+ in?: Array<string>;
2321
+ is_nil?: boolean;
2322
+ less_than?: string;
2323
+ less_than_or_equal?: string;
2324
+ not_eq?: string;
2325
+ };
2053
2326
  /**
2054
2327
  * Filters the query to results matching the given filter object
2055
2328
  */
@@ -2223,6 +2496,20 @@ type TrainingExampleFilterInputText = {
2223
2496
  like?: string;
2224
2497
  not_eq?: string;
2225
2498
  };
2499
+ /**
2500
+ * Description of what this agent is good at, used for AI matching
2501
+ */
2502
+ type AgentFilterCapabilities = {
2503
+ contains?: string;
2504
+ eq?: string;
2505
+ greater_than?: string;
2506
+ greater_than_or_equal?: string;
2507
+ in?: Array<string>;
2508
+ is_nil?: boolean;
2509
+ less_than?: string;
2510
+ less_than_or_equal?: string;
2511
+ not_eq?: string;
2512
+ };
2226
2513
  type PlanFilterId = {
2227
2514
  eq?: string;
2228
2515
  greater_than?: string;
@@ -2237,6 +2524,19 @@ type PlanFilterId = {
2237
2524
  * Filters the query to results matching the given filter object
2238
2525
  */
2239
2526
  type ObjectFilter = unknown;
2527
+ type MessageFilterContent = {
2528
+ contains?: string;
2529
+ eq?: string;
2530
+ greater_than?: string;
2531
+ greater_than_or_equal?: string;
2532
+ ilike?: string;
2533
+ in?: Array<string>;
2534
+ is_nil?: boolean;
2535
+ less_than?: string;
2536
+ less_than_or_equal?: string;
2537
+ like?: string;
2538
+ not_eq?: string;
2539
+ };
2240
2540
  /**
2241
2541
  * Filters the query to results matching the given filter object
2242
2542
  */
@@ -2319,6 +2619,16 @@ type DocumentFilterId = {
2319
2619
  less_than_or_equal?: string;
2320
2620
  not_eq?: string;
2321
2621
  };
2622
+ type ApiKeyFilterTenantId = {
2623
+ eq?: string;
2624
+ greater_than?: string;
2625
+ greater_than_or_equal?: string;
2626
+ in?: Array<string>;
2627
+ is_nil?: boolean;
2628
+ less_than?: string;
2629
+ less_than_or_equal?: string;
2630
+ not_eq?: string;
2631
+ };
2322
2632
  type PaymentFilterCurrency = {
2323
2633
  contains?: string;
2324
2634
  eq?: string;
@@ -2330,6 +2640,16 @@ type PaymentFilterCurrency = {
2330
2640
  less_than_or_equal?: string;
2331
2641
  not_eq?: string;
2332
2642
  };
2643
+ type AgentFilterSlug = {
2644
+ eq?: string;
2645
+ greater_than?: string;
2646
+ greater_than_or_equal?: string;
2647
+ in?: Array<string>;
2648
+ is_nil?: boolean;
2649
+ less_than?: string;
2650
+ less_than_or_equal?: string;
2651
+ not_eq?: string;
2652
+ };
2333
2653
  /**
2334
2654
  * A "Resource object" representing a user
2335
2655
  */
@@ -2385,6 +2705,38 @@ type DocumentStatsFilterProcessing = {
2385
2705
  less_than_or_equal?: number;
2386
2706
  not_eq?: number;
2387
2707
  };
2708
+ /**
2709
+ * A "Resource object" representing a conversation
2710
+ */
2711
+ type Conversation = {
2712
+ /**
2713
+ * An attributes object for a conversation
2714
+ */
2715
+ attributes?: {
2716
+ /**
2717
+ * Structured data providing context for this conversation (e.g., failed prediction results). Field included by default.
2718
+ */
2719
+ context_data?: {
2720
+ [key: string]: unknown;
2721
+ } | null | unknown;
2722
+ /**
2723
+ * Field included by default.
2724
+ */
2725
+ tenant_id: string;
2726
+ /**
2727
+ * Field included by default.
2728
+ */
2729
+ title?: string | null | unknown;
2730
+ };
2731
+ id: string;
2732
+ /**
2733
+ * A relationships object for a conversation
2734
+ */
2735
+ relationships?: {
2736
+ [key: string]: never;
2737
+ };
2738
+ type: string;
2739
+ };
2388
2740
  type TokenFilterLast4 = {
2389
2741
  contains?: string;
2390
2742
  eq?: string;
@@ -2515,6 +2867,10 @@ type Embedding = {
2515
2867
  * An attributes object for a embedding
2516
2868
  */
2517
2869
  attributes?: {
2870
+ /**
2871
+ * Field included by default.
2872
+ */
2873
+ billed_credits?: number | null | unknown;
2518
2874
  /**
2519
2875
  * Field included by default.
2520
2876
  */
@@ -3638,6 +3994,17 @@ type PlanFilterName = {
3638
3994
  like?: string;
3639
3995
  not_eq?: string;
3640
3996
  };
3997
+ type AgentFilterDescription = {
3998
+ contains?: string;
3999
+ eq?: string;
4000
+ greater_than?: string;
4001
+ greater_than_or_equal?: string;
4002
+ in?: Array<string>;
4003
+ is_nil?: boolean;
4004
+ less_than?: string;
4005
+ less_than_or_equal?: string;
4006
+ not_eq?: string;
4007
+ };
3641
4008
  type AuditLogFilterActorId = {
3642
4009
  eq?: string;
3643
4010
  greater_than?: string;
@@ -3968,6 +4335,17 @@ type PaymentFilterCreatedAt = {
3968
4335
  * Filters the query to results matching the given filter object
3969
4336
  */
3970
4337
  type PlanFilter = unknown;
4338
+ type AgentFilterName = {
4339
+ contains?: string;
4340
+ eq?: string;
4341
+ greater_than?: string;
4342
+ greater_than_or_equal?: string;
4343
+ in?: Array<string>;
4344
+ is_nil?: boolean;
4345
+ less_than?: string;
4346
+ less_than_or_equal?: string;
4347
+ not_eq?: string;
4348
+ };
3971
4349
  /**
3972
4350
  * Filters the query to results matching the given filter object
3973
4351
  */
@@ -4072,12 +4450,22 @@ type Agent = {
4072
4450
  * An attributes object for a agent
4073
4451
  */
4074
4452
  attributes?: {
4075
- test_result?: {
4076
- [key: string]: unknown;
4077
- } | null | unknown;
4078
- validation_result?: {
4079
- [key: string]: unknown;
4080
- } | null | unknown;
4453
+ /**
4454
+ * Description of what this agent is good at, used for AI matching. Field included by default.
4455
+ */
4456
+ capabilities: string;
4457
+ /**
4458
+ * Field included by default.
4459
+ */
4460
+ description: string;
4461
+ /**
4462
+ * Field included by default.
4463
+ */
4464
+ name: string;
4465
+ /**
4466
+ * Field included by default.
4467
+ */
4468
+ slug: string;
4081
4469
  };
4082
4470
  id: string;
4083
4471
  /**
@@ -4273,13 +4661,90 @@ type Workspace = {
4273
4661
  /**
4274
4662
  * Field included by default.
4275
4663
  */
4276
- renewal_params?: {
4277
- [key: string]: unknown;
4278
- } | null | unknown;
4664
+ renewal_params?: {
4665
+ [key: string]: unknown;
4666
+ } | null | unknown;
4667
+ /**
4668
+ * Field included by default.
4669
+ */
4670
+ settings: {
4671
+ /**
4672
+ * Field included by default.
4673
+ */
4674
+ errors: {
4675
+ /**
4676
+ * Field included by default.
4677
+ */
4678
+ bucket_id?: string | null | unknown;
4679
+ /**
4680
+ * Field included by default.
4681
+ */
4682
+ destination: "local" | "storage";
4683
+ /**
4684
+ * Field included by default.
4685
+ */
4686
+ local_path?: string | null | unknown;
4687
+ };
4688
+ /**
4689
+ * Field included by default.
4690
+ */
4691
+ input: {
4692
+ /**
4693
+ * Field included by default.
4694
+ */
4695
+ bucket_id?: string | null | unknown;
4696
+ /**
4697
+ * Field included by default.
4698
+ */
4699
+ local_path?: string | null | unknown;
4700
+ /**
4701
+ * Field included by default.
4702
+ */
4703
+ source: "local" | "storage";
4704
+ };
4705
+ /**
4706
+ * Field included by default.
4707
+ */
4708
+ output: {
4709
+ /**
4710
+ * Field included by default.
4711
+ */
4712
+ bucket_id?: string | null | unknown;
4713
+ /**
4714
+ * Field included by default.
4715
+ */
4716
+ destination: "local" | "storage";
4717
+ /**
4718
+ * Field included by default.
4719
+ */
4720
+ local_path?: string | null | unknown;
4721
+ /**
4722
+ * Field included by default.
4723
+ */
4724
+ retention_minutes?: number | null | unknown;
4725
+ };
4726
+ /**
4727
+ * Field included by default.
4728
+ */
4729
+ scheduling: {
4730
+ /**
4731
+ * Field included by default.
4732
+ */
4733
+ enabled: boolean;
4734
+ /**
4735
+ * Field included by default.
4736
+ */
4737
+ interval_minutes: number;
4738
+ };
4739
+ };
4740
+ /**
4741
+ * Field included by default.
4742
+ */
4743
+ slug: string;
4279
4744
  /**
4280
- * Field included by default.
4745
+ * ID of the Specialty Agent assigned to this workspace. Field included by default.
4281
4746
  */
4282
- slug: string;
4747
+ specialty_agent_id?: string | null | unknown;
4283
4748
  /**
4284
4749
  * Field included by default.
4285
4750
  */
@@ -4330,6 +4795,10 @@ type BucketFilterName = {
4330
4795
  like?: string;
4331
4796
  not_eq?: string;
4332
4797
  };
4798
+ /**
4799
+ * Filters the query to results matching the given filter object
4800
+ */
4801
+ type ConversationFilter = unknown;
4333
4802
  type AuditLogFilterResourceType = {
4334
4803
  contains?: string;
4335
4804
  eq?: string;
@@ -4512,7 +4981,12 @@ type PostAdminWorkspacesData = {
4512
4981
  renewal_params?: {
4513
4982
  [key: string]: unknown;
4514
4983
  } | unknown;
4984
+ settings?: WorkspaceSettingsInputCreateType | unknown;
4515
4985
  slug: string;
4986
+ /**
4987
+ * ID of the Specialty Agent assigned to this workspace
4988
+ */
4989
+ specialty_agent_id?: string | unknown;
4516
4990
  tenant_id: string;
4517
4991
  };
4518
4992
  relationships?: {
@@ -5129,16 +5603,6 @@ type GetAdminAgentsData = {
5129
5603
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
5130
5604
  */
5131
5605
  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
5606
  /**
5143
5607
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
5144
5608
  */
@@ -5203,97 +5667,6 @@ type GetAdminAgentsResponses = {
5203
5667
  };
5204
5668
  };
5205
5669
  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
5670
  type DeleteAdminTenantMembershipsByTenantIdByUserIdData = {
5298
5671
  body?: never;
5299
5672
  headers: {
@@ -5688,7 +6061,12 @@ type PatchAdminWorkspacesByIdData = {
5688
6061
  is_default?: boolean | unknown;
5689
6062
  low_balance_threshold?: number | unknown;
5690
6063
  name?: string | unknown;
6064
+ settings?: WorkspaceSettingsInputUpdateType | unknown;
5691
6065
  slug?: string | unknown;
6066
+ /**
6067
+ * ID of the Specialty Agent assigned to this workspace
6068
+ */
6069
+ specialty_agent_id?: string | unknown;
5692
6070
  };
5693
6071
  id: string;
5694
6072
  relationships?: {
@@ -7078,148 +7456,9 @@ type PatchAdminWebhookConfigsByIdData = {
7078
7456
  relationships?: {
7079
7457
  [key: string]: never;
7080
7458
  };
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;
7459
+ type?: "webhook_config";
7460
+ };
7461
+ };
7223
7462
  headers: {
7224
7463
  /**
7225
7464
  * Application ID for authentication and routing
@@ -7239,15 +7478,15 @@ type GetAdminAgentsByIdData = {
7239
7478
  */
7240
7479
  fields?: {
7241
7480
  /**
7242
- * Comma separated field names for agent
7481
+ * Comma separated field names for webhook_config
7243
7482
  */
7244
- agent?: string;
7483
+ webhook_config?: string;
7245
7484
  [key: string]: unknown | string | undefined;
7246
7485
  };
7247
7486
  };
7248
- url: "/admin/agents/{id}";
7487
+ url: "/admin/webhook_configs/{id}";
7249
7488
  };
7250
- type GetAdminAgentsByIdErrors = {
7489
+ type PatchAdminWebhookConfigsByIdErrors = {
7251
7490
  /**
7252
7491
  * Bad Request - Invalid input data or malformed request
7253
7492
  */
@@ -7277,41 +7516,22 @@ type GetAdminAgentsByIdErrors = {
7277
7516
  */
7278
7517
  default: Errors;
7279
7518
  };
7280
- type GetAdminAgentsByIdError = GetAdminAgentsByIdErrors[keyof GetAdminAgentsByIdErrors];
7281
- type GetAdminAgentsByIdResponses = {
7519
+ type PatchAdminWebhookConfigsByIdError = PatchAdminWebhookConfigsByIdErrors[keyof PatchAdminWebhookConfigsByIdErrors];
7520
+ type PatchAdminWebhookConfigsByIdResponses = {
7282
7521
  /**
7283
7522
  * Success
7284
7523
  */
7285
7524
  200: {
7286
- data?: Agent;
7525
+ data?: WebhookConfig;
7287
7526
  included?: Array<unknown>;
7288
7527
  meta?: {
7289
7528
  [key: string]: unknown;
7290
7529
  };
7291
7530
  };
7292
7531
  };
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
- };
7532
+ type PatchAdminWebhookConfigsByIdResponse = PatchAdminWebhookConfigsByIdResponses[keyof PatchAdminWebhookConfigsByIdResponses];
7533
+ type GetAdminAgentsByIdData = {
7534
+ body?: never;
7315
7535
  headers: {
7316
7536
  /**
7317
7537
  * Application ID for authentication and routing
@@ -7339,7 +7559,7 @@ type PatchAdminAgentsByIdData = {
7339
7559
  };
7340
7560
  url: "/admin/agents/{id}";
7341
7561
  };
7342
- type PatchAdminAgentsByIdErrors = {
7562
+ type GetAdminAgentsByIdErrors = {
7343
7563
  /**
7344
7564
  * Bad Request - Invalid input data or malformed request
7345
7565
  */
@@ -7369,8 +7589,8 @@ type PatchAdminAgentsByIdErrors = {
7369
7589
  */
7370
7590
  default: Errors;
7371
7591
  };
7372
- type PatchAdminAgentsByIdError = PatchAdminAgentsByIdErrors[keyof PatchAdminAgentsByIdErrors];
7373
- type PatchAdminAgentsByIdResponses = {
7592
+ type GetAdminAgentsByIdError = GetAdminAgentsByIdErrors[keyof GetAdminAgentsByIdErrors];
7593
+ type GetAdminAgentsByIdResponses = {
7374
7594
  /**
7375
7595
  * Success
7376
7596
  */
@@ -7382,7 +7602,7 @@ type PatchAdminAgentsByIdResponses = {
7382
7602
  };
7383
7603
  };
7384
7604
  };
7385
- type PatchAdminAgentsByIdResponse = PatchAdminAgentsByIdResponses[keyof PatchAdminAgentsByIdResponses];
7605
+ type GetAdminAgentsByIdResponse = GetAdminAgentsByIdResponses[keyof GetAdminAgentsByIdResponses];
7386
7606
  type GetAdminWorkspaceMembershipsData = {
7387
7607
  body?: never;
7388
7608
  headers: {
@@ -8663,6 +8883,68 @@ type GetAdminPricingRulesResolveResponses = {
8663
8883
  };
8664
8884
  };
8665
8885
  type GetAdminPricingRulesResolveResponse = GetAdminPricingRulesResolveResponses[keyof GetAdminPricingRulesResolveResponses];
8886
+ type PostAdminAgentsPredictData = {
8887
+ /**
8888
+ * Request body for the /agents/predict operation on agent resource
8889
+ */
8890
+ body?: {
8891
+ data: {
8892
+ description?: string | unknown;
8893
+ document_id?: string | unknown;
8894
+ file_content?: string | unknown;
8895
+ name?: string | unknown;
8896
+ };
8897
+ };
8898
+ headers: {
8899
+ /**
8900
+ * Application ID for authentication and routing
8901
+ */
8902
+ "x-application-key": string;
8903
+ };
8904
+ path?: never;
8905
+ query?: never;
8906
+ url: "/admin/agents/predict";
8907
+ };
8908
+ type PostAdminAgentsPredictErrors = {
8909
+ /**
8910
+ * Bad Request - Invalid input data or malformed request
8911
+ */
8912
+ 400: ErrorResponse;
8913
+ /**
8914
+ * Unauthorized - Missing or invalid authentication token
8915
+ */
8916
+ 401: ErrorResponse;
8917
+ /**
8918
+ * Forbidden - Authenticated but not authorized for this resource
8919
+ */
8920
+ 403: ErrorResponse;
8921
+ /**
8922
+ * Not Found - Resource does not exist
8923
+ */
8924
+ 404: ErrorResponse;
8925
+ /**
8926
+ * Too Many Requests - Rate limit exceeded
8927
+ */
8928
+ 429: ErrorResponse;
8929
+ /**
8930
+ * Internal Server Error - Unexpected server error
8931
+ */
8932
+ 500: ErrorResponse;
8933
+ /**
8934
+ * General Error
8935
+ */
8936
+ default: Errors;
8937
+ };
8938
+ type PostAdminAgentsPredictError = PostAdminAgentsPredictErrors[keyof PostAdminAgentsPredictErrors];
8939
+ type PostAdminAgentsPredictResponses = {
8940
+ /**
8941
+ * Success
8942
+ */
8943
+ 201: {
8944
+ [key: string]: unknown;
8945
+ };
8946
+ };
8947
+ type PostAdminAgentsPredictResponse = PostAdminAgentsPredictResponses[keyof PostAdminAgentsPredictResponses];
8666
8948
  type GetAdminInvitationsData = {
8667
8949
  body?: never;
8668
8950
  headers: {
@@ -10448,6 +10730,7 @@ type PatchAdminDocumentsByIdData = {
10448
10730
  body?: {
10449
10731
  data: {
10450
10732
  attributes?: {
10733
+ billed_credits?: number | unknown;
10451
10734
  content?: string | unknown;
10452
10735
  metadata?: {
10453
10736
  [key: string]: unknown;
@@ -12582,15 +12865,180 @@ type GetAdminThreadsData = {
12582
12865
  */
12583
12866
  fields?: {
12584
12867
  /**
12585
- * Comma separated field names for thread
12868
+ * Comma separated field names for thread
12869
+ */
12870
+ thread?: string;
12871
+ [key: string]: unknown | string | undefined;
12872
+ };
12873
+ };
12874
+ url: "/admin/threads";
12875
+ };
12876
+ type GetAdminThreadsErrors = {
12877
+ /**
12878
+ * Bad Request - Invalid input data or malformed request
12879
+ */
12880
+ 400: ErrorResponse;
12881
+ /**
12882
+ * Unauthorized - Missing or invalid authentication token
12883
+ */
12884
+ 401: ErrorResponse;
12885
+ /**
12886
+ * Forbidden - Authenticated but not authorized for this resource
12887
+ */
12888
+ 403: ErrorResponse;
12889
+ /**
12890
+ * Not Found - Resource does not exist
12891
+ */
12892
+ 404: ErrorResponse;
12893
+ /**
12894
+ * Too Many Requests - Rate limit exceeded
12895
+ */
12896
+ 429: ErrorResponse;
12897
+ /**
12898
+ * Internal Server Error - Unexpected server error
12899
+ */
12900
+ 500: ErrorResponse;
12901
+ /**
12902
+ * General Error
12903
+ */
12904
+ default: Errors;
12905
+ };
12906
+ type GetAdminThreadsError = GetAdminThreadsErrors[keyof GetAdminThreadsErrors];
12907
+ type GetAdminThreadsResponses = {
12908
+ /**
12909
+ * Success
12910
+ */
12911
+ 200: {
12912
+ /**
12913
+ * An array of resource objects representing a thread
12914
+ */
12915
+ data?: Array<Thread>;
12916
+ included?: Array<unknown>;
12917
+ meta?: {
12918
+ [key: string]: unknown;
12919
+ };
12920
+ };
12921
+ };
12922
+ type GetAdminThreadsResponse = GetAdminThreadsResponses[keyof GetAdminThreadsResponses];
12923
+ type PostAdminThreadsData = {
12924
+ /**
12925
+ * Request body for the /threads operation on thread resource
12926
+ */
12927
+ body: {
12928
+ data: {
12929
+ attributes?: {
12930
+ context_summary?: string | unknown;
12931
+ previous_thread_id?: string | unknown;
12932
+ tenant_id: string;
12933
+ title?: string | unknown;
12934
+ user_id: string;
12935
+ workspace_id: string;
12936
+ };
12937
+ relationships?: {
12938
+ [key: string]: never;
12939
+ };
12940
+ type?: "thread";
12941
+ };
12942
+ };
12943
+ headers: {
12944
+ /**
12945
+ * Application ID for authentication and routing
12946
+ */
12947
+ "x-application-key": string;
12948
+ };
12949
+ path?: never;
12950
+ query?: {
12951
+ /**
12952
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12953
+ */
12954
+ include?: string;
12955
+ /**
12956
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12957
+ */
12958
+ fields?: {
12959
+ /**
12960
+ * Comma separated field names for thread
12961
+ */
12962
+ thread?: string;
12963
+ [key: string]: unknown | string | undefined;
12964
+ };
12965
+ };
12966
+ url: "/admin/threads";
12967
+ };
12968
+ type PostAdminThreadsErrors = {
12969
+ /**
12970
+ * Bad Request - Invalid input data or malformed request
12971
+ */
12972
+ 400: ErrorResponse;
12973
+ /**
12974
+ * Unauthorized - Missing or invalid authentication token
12975
+ */
12976
+ 401: ErrorResponse;
12977
+ /**
12978
+ * Forbidden - Authenticated but not authorized for this resource
12979
+ */
12980
+ 403: ErrorResponse;
12981
+ /**
12982
+ * Not Found - Resource does not exist
12983
+ */
12984
+ 404: ErrorResponse;
12985
+ /**
12986
+ * Too Many Requests - Rate limit exceeded
12987
+ */
12988
+ 429: ErrorResponse;
12989
+ /**
12990
+ * Internal Server Error - Unexpected server error
12991
+ */
12992
+ 500: ErrorResponse;
12993
+ /**
12994
+ * General Error
12995
+ */
12996
+ default: Errors;
12997
+ };
12998
+ type PostAdminThreadsError = PostAdminThreadsErrors[keyof PostAdminThreadsErrors];
12999
+ type PostAdminThreadsResponses = {
13000
+ /**
13001
+ * Success
13002
+ */
13003
+ 201: {
13004
+ data?: Thread;
13005
+ included?: Array<unknown>;
13006
+ meta?: {
13007
+ [key: string]: unknown;
13008
+ };
13009
+ };
13010
+ };
13011
+ type PostAdminThreadsResponse = PostAdminThreadsResponses[keyof PostAdminThreadsResponses];
13012
+ type GetAdminAccountsByIdData = {
13013
+ body?: never;
13014
+ headers: {
13015
+ /**
13016
+ * Application ID for authentication and routing
13017
+ */
13018
+ "x-application-key": string;
13019
+ };
13020
+ path: {
13021
+ id: string;
13022
+ };
13023
+ query?: {
13024
+ /**
13025
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13026
+ */
13027
+ include?: string;
13028
+ /**
13029
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
13030
+ */
13031
+ fields?: {
13032
+ /**
13033
+ * Comma separated field names for account
12586
13034
  */
12587
- thread?: string;
13035
+ account?: string;
12588
13036
  [key: string]: unknown | string | undefined;
12589
13037
  };
12590
13038
  };
12591
- url: "/admin/threads";
13039
+ url: "/admin/accounts/{id}";
12592
13040
  };
12593
- type GetAdminThreadsErrors = {
13041
+ type GetAdminAccountsByIdErrors = {
12594
13042
  /**
12595
13043
  * Bad Request - Invalid input data or malformed request
12596
13044
  */
@@ -12620,43 +13068,22 @@ type GetAdminThreadsErrors = {
12620
13068
  */
12621
13069
  default: Errors;
12622
13070
  };
12623
- type GetAdminThreadsError = GetAdminThreadsErrors[keyof GetAdminThreadsErrors];
12624
- type GetAdminThreadsResponses = {
13071
+ type GetAdminAccountsByIdError = GetAdminAccountsByIdErrors[keyof GetAdminAccountsByIdErrors];
13072
+ type GetAdminAccountsByIdResponses = {
12625
13073
  /**
12626
13074
  * Success
12627
13075
  */
12628
13076
  200: {
12629
- /**
12630
- * An array of resource objects representing a thread
12631
- */
12632
- data?: Array<Thread>;
13077
+ data?: Account;
12633
13078
  included?: Array<unknown>;
12634
13079
  meta?: {
12635
13080
  [key: string]: unknown;
12636
13081
  };
12637
13082
  };
12638
13083
  };
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
- };
13084
+ type GetAdminAccountsByIdResponse = GetAdminAccountsByIdResponses[keyof GetAdminAccountsByIdResponses];
13085
+ type GetAdminAiMessagesData = {
13086
+ body?: never;
12660
13087
  headers: {
12661
13088
  /**
12662
13089
  * Application ID for authentication and routing
@@ -12665,6 +13092,24 @@ type PostAdminThreadsData = {
12665
13092
  };
12666
13093
  path?: never;
12667
13094
  query?: {
13095
+ /**
13096
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
13097
+ */
13098
+ filter?: MessageFilter;
13099
+ /**
13100
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
13101
+ */
13102
+ sort?: string;
13103
+ /**
13104
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
13105
+ */
13106
+ page?: {
13107
+ after?: string;
13108
+ before?: string;
13109
+ count?: boolean;
13110
+ limit?: number;
13111
+ offset?: number;
13112
+ };
12668
13113
  /**
12669
13114
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12670
13115
  */
@@ -12674,15 +13119,15 @@ type PostAdminThreadsData = {
12674
13119
  */
12675
13120
  fields?: {
12676
13121
  /**
12677
- * Comma separated field names for thread
13122
+ * Comma separated field names for message
12678
13123
  */
12679
- thread?: string;
13124
+ message?: string;
12680
13125
  [key: string]: unknown | string | undefined;
12681
13126
  };
12682
13127
  };
12683
- url: "/admin/threads";
13128
+ url: "/admin/ai/messages";
12684
13129
  };
12685
- type PostAdminThreadsErrors = {
13130
+ type GetAdminAiMessagesErrors = {
12686
13131
  /**
12687
13132
  * Bad Request - Invalid input data or malformed request
12688
13133
  */
@@ -12712,31 +13157,47 @@ type PostAdminThreadsErrors = {
12712
13157
  */
12713
13158
  default: Errors;
12714
13159
  };
12715
- type PostAdminThreadsError = PostAdminThreadsErrors[keyof PostAdminThreadsErrors];
12716
- type PostAdminThreadsResponses = {
13160
+ type GetAdminAiMessagesError = GetAdminAiMessagesErrors[keyof GetAdminAiMessagesErrors];
13161
+ type GetAdminAiMessagesResponses = {
12717
13162
  /**
12718
13163
  * Success
12719
13164
  */
12720
- 201: {
12721
- data?: Thread;
13165
+ 200: {
13166
+ /**
13167
+ * An array of resource objects representing a message
13168
+ */
13169
+ data?: Array<Message>;
12722
13170
  included?: Array<unknown>;
12723
13171
  meta?: {
12724
13172
  [key: string]: unknown;
12725
13173
  };
12726
13174
  };
12727
13175
  };
12728
- type PostAdminThreadsResponse = PostAdminThreadsResponses[keyof PostAdminThreadsResponses];
12729
- type GetAdminAccountsByIdData = {
12730
- body?: never;
13176
+ type GetAdminAiMessagesResponse = GetAdminAiMessagesResponses[keyof GetAdminAiMessagesResponses];
13177
+ type PostAdminAiMessagesData = {
13178
+ /**
13179
+ * Request body for the /ai/messages operation on message resource
13180
+ */
13181
+ body: {
13182
+ data: {
13183
+ attributes?: {
13184
+ content: string;
13185
+ conversation_id: string;
13186
+ role: "system" | "user" | "assistant";
13187
+ };
13188
+ relationships?: {
13189
+ [key: string]: never;
13190
+ };
13191
+ type?: "message";
13192
+ };
13193
+ };
12731
13194
  headers: {
12732
13195
  /**
12733
13196
  * Application ID for authentication and routing
12734
13197
  */
12735
13198
  "x-application-key": string;
12736
13199
  };
12737
- path: {
12738
- id: string;
12739
- };
13200
+ path?: never;
12740
13201
  query?: {
12741
13202
  /**
12742
13203
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -12747,15 +13208,15 @@ type GetAdminAccountsByIdData = {
12747
13208
  */
12748
13209
  fields?: {
12749
13210
  /**
12750
- * Comma separated field names for account
13211
+ * Comma separated field names for message
12751
13212
  */
12752
- account?: string;
13213
+ message?: string;
12753
13214
  [key: string]: unknown | string | undefined;
12754
13215
  };
12755
13216
  };
12756
- url: "/admin/accounts/{id}";
13217
+ url: "/admin/ai/messages";
12757
13218
  };
12758
- type GetAdminAccountsByIdErrors = {
13219
+ type PostAdminAiMessagesErrors = {
12759
13220
  /**
12760
13221
  * Bad Request - Invalid input data or malformed request
12761
13222
  */
@@ -12785,20 +13246,20 @@ type GetAdminAccountsByIdErrors = {
12785
13246
  */
12786
13247
  default: Errors;
12787
13248
  };
12788
- type GetAdminAccountsByIdError = GetAdminAccountsByIdErrors[keyof GetAdminAccountsByIdErrors];
12789
- type GetAdminAccountsByIdResponses = {
13249
+ type PostAdminAiMessagesError = PostAdminAiMessagesErrors[keyof PostAdminAiMessagesErrors];
13250
+ type PostAdminAiMessagesResponses = {
12790
13251
  /**
12791
13252
  * Success
12792
13253
  */
12793
- 200: {
12794
- data?: Account;
13254
+ 201: {
13255
+ data?: Message;
12795
13256
  included?: Array<unknown>;
12796
13257
  meta?: {
12797
13258
  [key: string]: unknown;
12798
13259
  };
12799
13260
  };
12800
13261
  };
12801
- type GetAdminAccountsByIdResponse = GetAdminAccountsByIdResponses[keyof GetAdminAccountsByIdResponses];
13262
+ type PostAdminAiMessagesResponse = PostAdminAiMessagesResponses[keyof PostAdminAiMessagesResponses];
12802
13263
  type PostAdminInvitationsAcceptByTokenData = {
12803
13264
  /**
12804
13265
  * Request body for the /invitations/accept_by_token operation on invitation resource
@@ -17013,7 +17474,156 @@ type GetAdminTransactionsByIdData = {
17013
17474
  };
17014
17475
  url: "/admin/transactions/{id}";
17015
17476
  };
17016
- type GetAdminTransactionsByIdErrors = {
17477
+ type GetAdminTransactionsByIdErrors = {
17478
+ /**
17479
+ * Bad Request - Invalid input data or malformed request
17480
+ */
17481
+ 400: ErrorResponse;
17482
+ /**
17483
+ * Unauthorized - Missing or invalid authentication token
17484
+ */
17485
+ 401: ErrorResponse;
17486
+ /**
17487
+ * Forbidden - Authenticated but not authorized for this resource
17488
+ */
17489
+ 403: ErrorResponse;
17490
+ /**
17491
+ * Not Found - Resource does not exist
17492
+ */
17493
+ 404: ErrorResponse;
17494
+ /**
17495
+ * Too Many Requests - Rate limit exceeded
17496
+ */
17497
+ 429: ErrorResponse;
17498
+ /**
17499
+ * Internal Server Error - Unexpected server error
17500
+ */
17501
+ 500: ErrorResponse;
17502
+ /**
17503
+ * General Error
17504
+ */
17505
+ default: Errors;
17506
+ };
17507
+ type GetAdminTransactionsByIdError = GetAdminTransactionsByIdErrors[keyof GetAdminTransactionsByIdErrors];
17508
+ type GetAdminTransactionsByIdResponses = {
17509
+ /**
17510
+ * Success
17511
+ */
17512
+ 200: {
17513
+ data?: Transaction;
17514
+ included?: Array<unknown>;
17515
+ meta?: {
17516
+ [key: string]: unknown;
17517
+ };
17518
+ };
17519
+ };
17520
+ type GetAdminTransactionsByIdResponse = GetAdminTransactionsByIdResponses[keyof GetAdminTransactionsByIdResponses];
17521
+ type PostAdminStorageSignDownloadData = {
17522
+ /**
17523
+ * Request body for the /storage/sign_download operation on presigned_url resource
17524
+ */
17525
+ body: {
17526
+ data: {
17527
+ attributes?: {
17528
+ bucket_id: string;
17529
+ filename: string;
17530
+ };
17531
+ relationships?: {
17532
+ [key: string]: never;
17533
+ };
17534
+ type?: "presigned_url";
17535
+ };
17536
+ };
17537
+ headers: {
17538
+ /**
17539
+ * Application ID for authentication and routing
17540
+ */
17541
+ "x-application-key": string;
17542
+ };
17543
+ path?: never;
17544
+ query?: {
17545
+ /**
17546
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17547
+ */
17548
+ include?: string;
17549
+ /**
17550
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17551
+ */
17552
+ fields?: {
17553
+ /**
17554
+ * Comma separated field names for presigned_url
17555
+ */
17556
+ presigned_url?: string;
17557
+ [key: string]: unknown | string | undefined;
17558
+ };
17559
+ };
17560
+ url: "/admin/storage/sign_download";
17561
+ };
17562
+ type PostAdminStorageSignDownloadErrors = {
17563
+ /**
17564
+ * Bad Request - Invalid input data or malformed request
17565
+ */
17566
+ 400: ErrorResponse;
17567
+ /**
17568
+ * Unauthorized - Missing or invalid authentication token
17569
+ */
17570
+ 401: ErrorResponse;
17571
+ /**
17572
+ * Forbidden - Authenticated but not authorized for this resource
17573
+ */
17574
+ 403: ErrorResponse;
17575
+ /**
17576
+ * Not Found - Resource does not exist
17577
+ */
17578
+ 404: ErrorResponse;
17579
+ /**
17580
+ * Too Many Requests - Rate limit exceeded
17581
+ */
17582
+ 429: ErrorResponse;
17583
+ /**
17584
+ * Internal Server Error - Unexpected server error
17585
+ */
17586
+ 500: ErrorResponse;
17587
+ /**
17588
+ * General Error
17589
+ */
17590
+ default: Errors;
17591
+ };
17592
+ type PostAdminStorageSignDownloadError = PostAdminStorageSignDownloadErrors[keyof PostAdminStorageSignDownloadErrors];
17593
+ type PostAdminStorageSignDownloadResponses = {
17594
+ /**
17595
+ * Success
17596
+ */
17597
+ 201: {
17598
+ data?: PresignedUrl;
17599
+ included?: Array<unknown>;
17600
+ meta?: {
17601
+ [key: string]: unknown;
17602
+ };
17603
+ };
17604
+ };
17605
+ type PostAdminStorageSignDownloadResponse = PostAdminStorageSignDownloadResponses[keyof PostAdminStorageSignDownloadResponses];
17606
+ type PostAdminTrainingExamplesBulkDeleteData = {
17607
+ /**
17608
+ * Request body for the /training_examples/bulk_delete operation on training_example resource
17609
+ */
17610
+ body: {
17611
+ data: {
17612
+ agent_id: string;
17613
+ ids: Array<string>;
17614
+ };
17615
+ };
17616
+ headers: {
17617
+ /**
17618
+ * Application ID for authentication and routing
17619
+ */
17620
+ "x-application-key": string;
17621
+ };
17622
+ path?: never;
17623
+ query?: never;
17624
+ url: "/admin/training_examples/bulk_delete";
17625
+ };
17626
+ type PostAdminTrainingExamplesBulkDeleteErrors = {
17017
17627
  /**
17018
17628
  * Bad Request - Invalid input data or malformed request
17019
17629
  */
@@ -17043,43 +17653,27 @@ type GetAdminTransactionsByIdErrors = {
17043
17653
  */
17044
17654
  default: Errors;
17045
17655
  };
17046
- type GetAdminTransactionsByIdError = GetAdminTransactionsByIdErrors[keyof GetAdminTransactionsByIdErrors];
17047
- type GetAdminTransactionsByIdResponses = {
17656
+ type PostAdminTrainingExamplesBulkDeleteError = PostAdminTrainingExamplesBulkDeleteErrors[keyof PostAdminTrainingExamplesBulkDeleteErrors];
17657
+ type PostAdminTrainingExamplesBulkDeleteResponses = {
17048
17658
  /**
17049
17659
  * Success
17050
17660
  */
17051
- 200: {
17052
- data?: Transaction;
17053
- included?: Array<unknown>;
17054
- meta?: {
17055
- [key: string]: unknown;
17056
- };
17661
+ 201: {
17662
+ [key: string]: unknown;
17057
17663
  };
17058
17664
  };
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
- };
17665
+ type PostAdminTrainingExamplesBulkDeleteResponse = PostAdminTrainingExamplesBulkDeleteResponses[keyof PostAdminTrainingExamplesBulkDeleteResponses];
17666
+ type DeleteAdminAiConversationsByIdData = {
17667
+ body?: never;
17076
17668
  headers: {
17077
17669
  /**
17078
17670
  * Application ID for authentication and routing
17079
17671
  */
17080
17672
  "x-application-key": string;
17081
17673
  };
17082
- path?: never;
17674
+ path: {
17675
+ id: string;
17676
+ };
17083
17677
  query?: {
17084
17678
  /**
17085
17679
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -17090,15 +17684,15 @@ type PostAdminStorageSignDownloadData = {
17090
17684
  */
17091
17685
  fields?: {
17092
17686
  /**
17093
- * Comma separated field names for presigned_url
17687
+ * Comma separated field names for conversation
17094
17688
  */
17095
- presigned_url?: string;
17689
+ conversation?: string;
17096
17690
  [key: string]: unknown | string | undefined;
17097
17691
  };
17098
17692
  };
17099
- url: "/admin/storage/sign_download";
17693
+ url: "/admin/ai/conversations/{id}";
17100
17694
  };
17101
- type PostAdminStorageSignDownloadErrors = {
17695
+ type DeleteAdminAiConversationsByIdErrors = {
17102
17696
  /**
17103
17697
  * Bad Request - Invalid input data or malformed request
17104
17698
  */
@@ -17128,41 +17722,43 @@ type PostAdminStorageSignDownloadErrors = {
17128
17722
  */
17129
17723
  default: Errors;
17130
17724
  };
17131
- type PostAdminStorageSignDownloadError = PostAdminStorageSignDownloadErrors[keyof PostAdminStorageSignDownloadErrors];
17132
- type PostAdminStorageSignDownloadResponses = {
17725
+ type DeleteAdminAiConversationsByIdError = DeleteAdminAiConversationsByIdErrors[keyof DeleteAdminAiConversationsByIdErrors];
17726
+ type DeleteAdminAiConversationsByIdResponses = {
17133
17727
  /**
17134
- * Success
17728
+ * Deleted successfully
17135
17729
  */
17136
- 201: {
17137
- data?: PresignedUrl;
17138
- included?: Array<unknown>;
17139
- meta?: {
17140
- [key: string]: unknown;
17141
- };
17142
- };
17730
+ 200: unknown;
17143
17731
  };
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
- };
17732
+ type GetAdminAiConversationsByIdData = {
17733
+ body?: never;
17155
17734
  headers: {
17156
17735
  /**
17157
17736
  * Application ID for authentication and routing
17158
17737
  */
17159
17738
  "x-application-key": string;
17160
17739
  };
17161
- path?: never;
17162
- query?: never;
17163
- url: "/admin/training_examples/bulk_delete";
17740
+ path: {
17741
+ id: string;
17742
+ };
17743
+ query?: {
17744
+ /**
17745
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17746
+ */
17747
+ include?: string;
17748
+ /**
17749
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17750
+ */
17751
+ fields?: {
17752
+ /**
17753
+ * Comma separated field names for conversation
17754
+ */
17755
+ conversation?: string;
17756
+ [key: string]: unknown | string | undefined;
17757
+ };
17758
+ };
17759
+ url: "/admin/ai/conversations/{id}";
17164
17760
  };
17165
- type PostAdminTrainingExamplesBulkDeleteErrors = {
17761
+ type GetAdminAiConversationsByIdErrors = {
17166
17762
  /**
17167
17763
  * Bad Request - Invalid input data or malformed request
17168
17764
  */
@@ -17192,16 +17788,20 @@ type PostAdminTrainingExamplesBulkDeleteErrors = {
17192
17788
  */
17193
17789
  default: Errors;
17194
17790
  };
17195
- type PostAdminTrainingExamplesBulkDeleteError = PostAdminTrainingExamplesBulkDeleteErrors[keyof PostAdminTrainingExamplesBulkDeleteErrors];
17196
- type PostAdminTrainingExamplesBulkDeleteResponses = {
17791
+ type GetAdminAiConversationsByIdError = GetAdminAiConversationsByIdErrors[keyof GetAdminAiConversationsByIdErrors];
17792
+ type GetAdminAiConversationsByIdResponses = {
17197
17793
  /**
17198
17794
  * Success
17199
17795
  */
17200
- 201: {
17201
- [key: string]: unknown;
17796
+ 200: {
17797
+ data?: Conversation;
17798
+ included?: Array<unknown>;
17799
+ meta?: {
17800
+ [key: string]: unknown;
17801
+ };
17202
17802
  };
17203
17803
  };
17204
- type PostAdminTrainingExamplesBulkDeleteResponse = PostAdminTrainingExamplesBulkDeleteResponses[keyof PostAdminTrainingExamplesBulkDeleteResponses];
17804
+ type GetAdminAiConversationsByIdResponse = GetAdminAiConversationsByIdResponses[keyof GetAdminAiConversationsByIdResponses];
17205
17805
  type GetAdminPaymentMethodsData = {
17206
17806
  body?: never;
17207
17807
  headers: {
@@ -23110,6 +23710,190 @@ type PatchAdminApplicationsByIdResponses = {
23110
23710
  };
23111
23711
  };
23112
23712
  type PatchAdminApplicationsByIdResponse = PatchAdminApplicationsByIdResponses[keyof PatchAdminApplicationsByIdResponses];
23713
+ type GetAdminAiConversationsData = {
23714
+ body?: never;
23715
+ headers: {
23716
+ /**
23717
+ * Application ID for authentication and routing
23718
+ */
23719
+ "x-application-key": string;
23720
+ };
23721
+ path?: never;
23722
+ query?: {
23723
+ /**
23724
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
23725
+ */
23726
+ filter?: ConversationFilter;
23727
+ /**
23728
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
23729
+ */
23730
+ sort?: string;
23731
+ /**
23732
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
23733
+ */
23734
+ page?: {
23735
+ after?: string;
23736
+ before?: string;
23737
+ count?: boolean;
23738
+ limit?: number;
23739
+ offset?: number;
23740
+ };
23741
+ /**
23742
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23743
+ */
23744
+ include?: string;
23745
+ /**
23746
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
23747
+ */
23748
+ fields?: {
23749
+ /**
23750
+ * Comma separated field names for conversation
23751
+ */
23752
+ conversation?: string;
23753
+ [key: string]: unknown | string | undefined;
23754
+ };
23755
+ };
23756
+ url: "/admin/ai/conversations";
23757
+ };
23758
+ type GetAdminAiConversationsErrors = {
23759
+ /**
23760
+ * Bad Request - Invalid input data or malformed request
23761
+ */
23762
+ 400: ErrorResponse;
23763
+ /**
23764
+ * Unauthorized - Missing or invalid authentication token
23765
+ */
23766
+ 401: ErrorResponse;
23767
+ /**
23768
+ * Forbidden - Authenticated but not authorized for this resource
23769
+ */
23770
+ 403: ErrorResponse;
23771
+ /**
23772
+ * Not Found - Resource does not exist
23773
+ */
23774
+ 404: ErrorResponse;
23775
+ /**
23776
+ * Too Many Requests - Rate limit exceeded
23777
+ */
23778
+ 429: ErrorResponse;
23779
+ /**
23780
+ * Internal Server Error - Unexpected server error
23781
+ */
23782
+ 500: ErrorResponse;
23783
+ /**
23784
+ * General Error
23785
+ */
23786
+ default: Errors;
23787
+ };
23788
+ type GetAdminAiConversationsError = GetAdminAiConversationsErrors[keyof GetAdminAiConversationsErrors];
23789
+ type GetAdminAiConversationsResponses = {
23790
+ /**
23791
+ * Success
23792
+ */
23793
+ 200: {
23794
+ /**
23795
+ * An array of resource objects representing a conversation
23796
+ */
23797
+ data?: Array<Conversation>;
23798
+ included?: Array<unknown>;
23799
+ meta?: {
23800
+ [key: string]: unknown;
23801
+ };
23802
+ };
23803
+ };
23804
+ type GetAdminAiConversationsResponse = GetAdminAiConversationsResponses[keyof GetAdminAiConversationsResponses];
23805
+ type PostAdminAiConversationsData = {
23806
+ /**
23807
+ * Request body for the /ai/conversations operation on conversation resource
23808
+ */
23809
+ body: {
23810
+ data: {
23811
+ attributes?: {
23812
+ /**
23813
+ * Structured data providing context for this conversation (e.g., failed prediction results)
23814
+ */
23815
+ context_data?: {
23816
+ [key: string]: unknown;
23817
+ } | unknown;
23818
+ tenant_id: string;
23819
+ title?: string | unknown;
23820
+ user_id: string;
23821
+ };
23822
+ relationships?: {
23823
+ [key: string]: never;
23824
+ };
23825
+ type?: "conversation";
23826
+ };
23827
+ };
23828
+ headers: {
23829
+ /**
23830
+ * Application ID for authentication and routing
23831
+ */
23832
+ "x-application-key": string;
23833
+ };
23834
+ path?: never;
23835
+ query?: {
23836
+ /**
23837
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
23838
+ */
23839
+ include?: string;
23840
+ /**
23841
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
23842
+ */
23843
+ fields?: {
23844
+ /**
23845
+ * Comma separated field names for conversation
23846
+ */
23847
+ conversation?: string;
23848
+ [key: string]: unknown | string | undefined;
23849
+ };
23850
+ };
23851
+ url: "/admin/ai/conversations";
23852
+ };
23853
+ type PostAdminAiConversationsErrors = {
23854
+ /**
23855
+ * Bad Request - Invalid input data or malformed request
23856
+ */
23857
+ 400: ErrorResponse;
23858
+ /**
23859
+ * Unauthorized - Missing or invalid authentication token
23860
+ */
23861
+ 401: ErrorResponse;
23862
+ /**
23863
+ * Forbidden - Authenticated but not authorized for this resource
23864
+ */
23865
+ 403: ErrorResponse;
23866
+ /**
23867
+ * Not Found - Resource does not exist
23868
+ */
23869
+ 404: ErrorResponse;
23870
+ /**
23871
+ * Too Many Requests - Rate limit exceeded
23872
+ */
23873
+ 429: ErrorResponse;
23874
+ /**
23875
+ * Internal Server Error - Unexpected server error
23876
+ */
23877
+ 500: ErrorResponse;
23878
+ /**
23879
+ * General Error
23880
+ */
23881
+ default: Errors;
23882
+ };
23883
+ type PostAdminAiConversationsError = PostAdminAiConversationsErrors[keyof PostAdminAiConversationsErrors];
23884
+ type PostAdminAiConversationsResponses = {
23885
+ /**
23886
+ * Success
23887
+ */
23888
+ 201: {
23889
+ data?: Conversation;
23890
+ included?: Array<unknown>;
23891
+ meta?: {
23892
+ [key: string]: unknown;
23893
+ };
23894
+ };
23895
+ };
23896
+ type PostAdminAiConversationsResponse = PostAdminAiConversationsResponses[keyof PostAdminAiConversationsResponses];
23113
23897
  type PostAdminAiEmbedData = {
23114
23898
  /**
23115
23899
  * Request body for the /ai/embed operation on embedding resource
@@ -23464,4 +24248,4 @@ type ApiKeyAllocateRequest = z.infer<typeof ApiKeyAllocateSchema>;
23464
24248
  type DocumentBulkDeleteRequest = z.infer<typeof DocumentBulkDeleteSchema>;
23465
24249
  type DocumentBulkReprocessRequest = z.infer<typeof DocumentBulkReprocessSchema>;
23466
24250
 
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 };
24251
+ 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 WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, handleApiError };