@gpt-core/client 0.9.11 → 0.9.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -268,22 +268,8 @@ type WorkspaceSettingsInputCreateType = {
268
268
  } | unknown;
269
269
  billing?: {
270
270
  allow_overdraft?: boolean | unknown;
271
- /**
272
- * Maximum overdraft credits allowed per period
273
- */
274
271
  overdraft_limit?: number | unknown;
275
- /**
276
- * Period for overdraft limit reset (daily, weekly, monthly)
277
- */
278
272
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
279
- /**
280
- * When the current overdraft period began
281
- */
282
- overdraft_period_started_at?: unknown;
283
- /**
284
- * Credits used from overdraft in current period
285
- */
286
- overdraft_used?: number | unknown;
287
273
  } | unknown;
288
274
  review_train?: {
289
275
  confidence_threshold?: number | unknown;
@@ -650,36 +636,6 @@ type FieldMappingConfirmation = {
650
636
  };
651
637
  type: string;
652
638
  };
653
- type ApplicationOauthInputCreateType = {
654
- /**
655
- * Allowed OAuth callback URLs for this application
656
- */
657
- callback_urls?: Array<string> | unknown;
658
- /**
659
- * Default callback URL if not specified in request
660
- */
661
- default_callback_url?: string | unknown;
662
- /**
663
- * Which OAuth providers are enabled for this app
664
- */
665
- enabled_providers?: Array<"google" | "github" | "salesforce"> | unknown;
666
- /**
667
- * Custom GitHub OAuth client ID (optional)
668
- */
669
- github_client_id?: string | unknown;
670
- /**
671
- * Custom GitHub OAuth client secret (optional)
672
- */
673
- github_client_secret?: string | unknown;
674
- /**
675
- * Custom Google OAuth client ID (optional)
676
- */
677
- google_client_id?: string | unknown;
678
- /**
679
- * Custom Google OAuth client secret (optional)
680
- */
681
- google_client_secret?: string | unknown;
682
- };
683
639
  /**
684
640
  * A "Resource object" representing a training_session
685
641
  */
@@ -1134,58 +1090,7 @@ type PaymentMethod = {
1134
1090
  * An attributes object for a payment_method
1135
1091
  */
1136
1092
  attributes?: {
1137
- /**
1138
- * Field included by default.
1139
- */
1140
- brand?: string | null | unknown;
1141
- /**
1142
- * Field included by default.
1143
- */
1144
- created_at: unknown;
1145
- /**
1146
- * Field included by default.
1147
- */
1148
- exp_month?: number | null | unknown;
1149
- /**
1150
- * Field included by default.
1151
- */
1152
- exp_year?: number | null | unknown;
1153
- /**
1154
- * Field included by default.
1155
- */
1156
- holder_name?: string | null | unknown;
1157
- /**
1158
- * Field included by default.
1159
- */
1160
- is_default?: boolean | null | unknown;
1161
- /**
1162
- * Field included by default.
1163
- */
1164
- last4?: string | null | unknown;
1165
- /**
1166
- * Field included by default.
1167
- */
1168
- nickname?: string | null | unknown;
1169
- /**
1170
- * Field included by default.
1171
- */
1172
- provider: "qorpay";
1173
- /**
1174
- * Field included by default.
1175
- */
1176
- provider_token: string;
1177
- /**
1178
- * Field included by default.
1179
- */
1180
- type: "card" | "bank_account";
1181
- /**
1182
- * Field included by default.
1183
- */
1184
- updated_at: unknown;
1185
- /**
1186
- * Field included by default.
1187
- */
1188
- zip_code?: string | null | unknown;
1093
+ [key: string]: never;
1189
1094
  };
1190
1095
  id: string;
1191
1096
  /**
@@ -1456,39 +1361,6 @@ type Application = {
1456
1361
  * Field included by default.
1457
1362
  */
1458
1363
  name: string;
1459
- /**
1460
- * OAuth configuration for this application. Field included by default.
1461
- */
1462
- oauth?: {
1463
- /**
1464
- * Allowed OAuth callback URLs for this application. Field included by default.
1465
- */
1466
- callback_urls?: Array<string> | null | unknown;
1467
- /**
1468
- * Default callback URL if not specified in request. Field included by default.
1469
- */
1470
- default_callback_url?: string | null | unknown;
1471
- /**
1472
- * Which OAuth providers are enabled for this app. Field included by default.
1473
- */
1474
- enabled_providers?: Array<"google" | "github" | "salesforce"> | null | unknown;
1475
- /**
1476
- * Custom GitHub OAuth client ID (optional). Field included by default.
1477
- */
1478
- github_client_id?: string | null | unknown;
1479
- /**
1480
- * Custom GitHub OAuth client secret (optional). Field included by default.
1481
- */
1482
- github_client_secret?: string | null | unknown;
1483
- /**
1484
- * Custom Google OAuth client ID (optional). Field included by default.
1485
- */
1486
- google_client_id?: string | null | unknown;
1487
- /**
1488
- * Custom Google OAuth client secret (optional). Field included by default.
1489
- */
1490
- google_client_secret?: string | null | unknown;
1491
- } | null | unknown;
1492
1364
  /**
1493
1365
  * When true, password registration withholds JWT until email is verified. Field included by default.
1494
1366
  */
@@ -1621,7 +1493,7 @@ type ApiKey = {
1621
1493
  */
1622
1494
  attributes?: {
1623
1495
  /**
1624
- * Required - the application this API key belongs to. Field included by default.
1496
+ * Field included by default.
1625
1497
  */
1626
1498
  application_id: string;
1627
1499
  /**
@@ -1946,22 +1818,8 @@ type WorkspaceSettingsInputUpdateType = {
1946
1818
  } | unknown;
1947
1819
  billing?: {
1948
1820
  allow_overdraft?: boolean | unknown;
1949
- /**
1950
- * Maximum overdraft credits allowed per period
1951
- */
1952
1821
  overdraft_limit?: number | unknown;
1953
- /**
1954
- * Period for overdraft limit reset (daily, weekly, monthly)
1955
- */
1956
1822
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
1957
- /**
1958
- * When the current overdraft period began
1959
- */
1960
- overdraft_period_started_at?: unknown;
1961
- /**
1962
- * Credits used from overdraft in current period
1963
- */
1964
- overdraft_used?: number | unknown;
1965
1823
  } | unknown;
1966
1824
  review_train?: {
1967
1825
  confidence_threshold?: number | unknown;
@@ -2037,62 +1895,6 @@ type WorkspaceSettingsInputUpdateType = {
2037
1895
  source_type?: "local" | "cloud" | unknown;
2038
1896
  };
2039
1897
  };
2040
- /**
2041
- * A "Resource object" representing a invoice
2042
- */
2043
- type Invoice = {
2044
- /**
2045
- * An attributes object for a invoice
2046
- */
2047
- attributes?: {
2048
- /**
2049
- * Field included by default.
2050
- */
2051
- amount_due?: number | null | unknown;
2052
- /**
2053
- * Field included by default.
2054
- */
2055
- amount_paid?: number | null | unknown;
2056
- /**
2057
- * Field included by default.
2058
- */
2059
- created_at?: unknown;
2060
- /**
2061
- * Field included by default.
2062
- */
2063
- currency?: string | null | unknown;
2064
- /**
2065
- * Field included by default.
2066
- */
2067
- due_date?: unknown;
2068
- /**
2069
- * Field included by default.
2070
- */
2071
- invoice_number?: string | null | unknown;
2072
- /**
2073
- * Field included by default.
2074
- */
2075
- line_items?: Array<{
2076
- [key: string]: unknown;
2077
- }> | null | unknown;
2078
- /**
2079
- * Field included by default.
2080
- */
2081
- pdf_url?: string | null | unknown;
2082
- /**
2083
- * Field included by default.
2084
- */
2085
- status?: "draft" | "open" | "paid" | "void" | unknown;
2086
- };
2087
- id: string;
2088
- /**
2089
- * A relationships object for a invoice
2090
- */
2091
- relationships?: {
2092
- [key: string]: never;
2093
- };
2094
- type: string;
2095
- };
2096
1898
  /**
2097
1899
  * A "Resource object" representing a training_analytics
2098
1900
  */
@@ -2183,72 +1985,7 @@ type Transaction = {
2183
1985
  * An attributes object for a transaction
2184
1986
  */
2185
1987
  attributes?: {
2186
- /**
2187
- * The amount of the transaction. For monetary transactions, this is in cents. For credit usage, this is in credits. Field included by default.
2188
- */
2189
- amount: number;
2190
- /**
2191
- * Field included by default.
2192
- */
2193
- created_at: unknown;
2194
- /**
2195
- * Field included by default.
2196
- */
2197
- credits_added?: number | null | unknown;
2198
- /**
2199
- * Field included by default.
2200
- */
2201
- credits_used?: number | null | unknown;
2202
- /**
2203
- * Field included by default.
2204
- */
2205
- currency?: string | null | unknown;
2206
- /**
2207
- * Field included by default.
2208
- */
2209
- description?: string | null | unknown;
2210
- /**
2211
- * Field included by default.
2212
- */
2213
- error_message?: string | null | unknown;
2214
- /**
2215
- * Field included by default.
2216
- */
2217
- metadata?: {
2218
- [key: string]: unknown;
2219
- } | null | unknown;
2220
- /**
2221
- * Field included by default.
2222
- */
2223
- operation?: "subscription" | "topup" | "extraction" | "training" | "refund" | "addon" | unknown;
2224
- /**
2225
- * Field included by default.
2226
- */
2227
- provider_reference?: string | null | unknown;
2228
- /**
2229
- * Field included by default.
2230
- */
2231
- service_id?: string | null | unknown;
2232
- /**
2233
- * Field included by default.
2234
- */
2235
- status: "pending" | "success" | "failed" | "refunded" | "voided";
2236
- /**
2237
- * Field included by default.
2238
- */
2239
- tenant_id: string;
2240
- /**
2241
- * Field included by default.
2242
- */
2243
- transaction_type?: "credit" | "debit" | unknown;
2244
- /**
2245
- * Field included by default.
2246
- */
2247
- type?: "sale" | "auth" | "refund" | "void" | unknown;
2248
- /**
2249
- * Field included by default.
2250
- */
2251
- updated_at: unknown;
1988
+ [key: string]: never;
2252
1989
  };
2253
1990
  id: string;
2254
1991
  /**
@@ -2267,14 +2004,38 @@ type ExtractionResult = {
2267
2004
  * An attributes object for a extraction_result
2268
2005
  */
2269
2006
  attributes?: {
2007
+ /**
2008
+ * The Agent that performed this extraction. Field included by default.
2009
+ */
2010
+ agent_id?: string | null | unknown;
2011
+ /**
2012
+ * The specific version of the Agent that performed this extraction. Field included by default.
2013
+ */
2014
+ agent_version_id?: string | null | unknown;
2015
+ /**
2016
+ * Average confidence across all extracted fields. Field included by default.
2017
+ */
2018
+ avg_confidence?: number | null | unknown;
2270
2019
  /**
2271
2020
  * Character count of extracted text
2272
2021
  */
2273
2022
  char_count?: number | null | unknown;
2023
+ /**
2024
+ * Overall classification confidence score. Field included by default.
2025
+ */
2026
+ classification_confidence?: number | null | unknown;
2274
2027
  /**
2275
2028
  * Field included by default.
2276
2029
  */
2277
2030
  credits_used?: string | null | unknown;
2031
+ /**
2032
+ * Specific document type (Traffic Citation, Invoice, etc.). Field included by default.
2033
+ */
2034
+ document_type?: string | null | unknown;
2035
+ /**
2036
+ * Document domain (legal, financial, medical, etc.). Field included by default.
2037
+ */
2038
+ domain?: string | null | unknown;
2278
2039
  /**
2279
2040
  * Field included by default.
2280
2041
  */
@@ -2297,6 +2058,10 @@ type ExtractionResult = {
2297
2058
  * Line count of extracted text
2298
2059
  */
2299
2060
  line_count?: number | null | unknown;
2061
+ /**
2062
+ * Municipality or agency name. Field included by default.
2063
+ */
2064
+ municipality?: string | null | unknown;
2300
2065
  ocr_blocks?: Array<{
2301
2066
  [key: string]: unknown;
2302
2067
  }> | null | unknown;
@@ -2306,9 +2071,17 @@ type ExtractionResult = {
2306
2071
  processing_time_ms?: number | null | unknown;
2307
2072
  schema_id?: string | null | unknown;
2308
2073
  /**
2309
- * The version of the schema/agent used for this extraction. Field included by default.
2074
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5'). Field included by default.
2075
+ */
2076
+ schema_revision?: number | null | unknown;
2077
+ /**
2078
+ * The version of the schema/agent used for this extraction (e.g., 'v2'). Field included by default.
2310
2079
  */
2311
2080
  schema_version?: string | null | unknown;
2081
+ /**
2082
+ * State code. Field included by default.
2083
+ */
2084
+ state?: string | null | unknown;
2312
2085
  /**
2313
2086
  * Field included by default.
2314
2087
  */
@@ -2478,10 +2251,6 @@ type Tenant = {
2478
2251
  * Field included by default.
2479
2252
  */
2480
2253
  auto_top_up_enabled: boolean;
2481
- /**
2482
- * The credit package to purchase when auto top-up is triggered. Field included by default.
2483
- */
2484
- auto_top_up_package_id?: string | null | unknown;
2485
2254
  /**
2486
2255
  * Credit balance threshold to trigger auto top-up. Field included by default.
2487
2256
  */
@@ -2723,6 +2492,10 @@ type AgentVersion = {
2723
2492
  * Field included by default.
2724
2493
  */
2725
2494
  created_at: unknown;
2495
+ /**
2496
+ * Combined display version like 'v2 rev 5'
2497
+ */
2498
+ display_version?: string | null | unknown;
2726
2499
  /**
2727
2500
  * Field included by default.
2728
2501
  */
@@ -2776,6 +2549,10 @@ type AgentVersion = {
2776
2549
  * Field included by default.
2777
2550
  */
2778
2551
  prompt_template: string;
2552
+ /**
2553
+ * Revision number within this schema version (increments on prompt/description changes). Field included by default.
2554
+ */
2555
+ revision: number;
2779
2556
  /**
2780
2557
  * Field included by default.
2781
2558
  */
@@ -2841,39 +2618,6 @@ type ApplicationType = {
2841
2618
  * Field included by default.
2842
2619
  */
2843
2620
  name: string;
2844
- /**
2845
- * OAuth configuration for this application. Field included by default.
2846
- */
2847
- oauth?: {
2848
- /**
2849
- * Allowed OAuth callback URLs for this application. Field included by default.
2850
- */
2851
- callback_urls?: Array<string> | null | unknown;
2852
- /**
2853
- * Default callback URL if not specified in request. Field included by default.
2854
- */
2855
- default_callback_url?: string | null | unknown;
2856
- /**
2857
- * Which OAuth providers are enabled for this app. Field included by default.
2858
- */
2859
- enabled_providers?: Array<"google" | "github" | "salesforce"> | null | unknown;
2860
- /**
2861
- * Custom GitHub OAuth client ID (optional). Field included by default.
2862
- */
2863
- github_client_id?: string | null | unknown;
2864
- /**
2865
- * Custom GitHub OAuth client secret (optional). Field included by default.
2866
- */
2867
- github_client_secret?: string | null | unknown;
2868
- /**
2869
- * Custom Google OAuth client ID (optional). Field included by default.
2870
- */
2871
- google_client_id?: string | null | unknown;
2872
- /**
2873
- * Custom Google OAuth client secret (optional). Field included by default.
2874
- */
2875
- google_client_secret?: string | null | unknown;
2876
- } | null | unknown;
2877
2621
  /**
2878
2622
  * When true, password registration withholds JWT until email is verified. Field included by default.
2879
2623
  */
@@ -3477,6 +3221,54 @@ type PermissionMeta = {
3477
3221
  };
3478
3222
  type: string;
3479
3223
  };
3224
+ /**
3225
+ * A "Resource object" representing a agent_version_revision
3226
+ */
3227
+ type AgentVersionRevision = {
3228
+ /**
3229
+ * An attributes object for a agent_version_revision
3230
+ */
3231
+ attributes?: {
3232
+ /**
3233
+ * Optional note describing what changed in this revision. Field included by default.
3234
+ */
3235
+ change_summary?: string | null | unknown;
3236
+ /**
3237
+ * Field included by default.
3238
+ */
3239
+ changed_at: unknown;
3240
+ /**
3241
+ * User ID who made this change. Field included by default.
3242
+ */
3243
+ changed_by?: string | null | unknown;
3244
+ /**
3245
+ * Combined display version like 'v2 rev 5'
3246
+ */
3247
+ display_version?: string | null | unknown;
3248
+ /**
3249
+ * Map of field_name => description at this revision. Field included by default.
3250
+ */
3251
+ field_descriptions?: {
3252
+ [key: string]: unknown;
3253
+ } | null | unknown;
3254
+ /**
3255
+ * The prompt template at this revision. Field included by default.
3256
+ */
3257
+ prompt_template?: string | null | unknown;
3258
+ /**
3259
+ * Revision number within this schema version (1, 2, 3, ...). Field included by default.
3260
+ */
3261
+ revision: number;
3262
+ };
3263
+ id: string;
3264
+ /**
3265
+ * A relationships object for a agent_version_revision
3266
+ */
3267
+ relationships?: {
3268
+ [key: string]: never;
3269
+ };
3270
+ type: string;
3271
+ };
3480
3272
  /**
3481
3273
  * A "Resource object" representing a llm_analytics
3482
3274
  */
@@ -3939,36 +3731,6 @@ type Transfer = {
3939
3731
  };
3940
3732
  type: string;
3941
3733
  };
3942
- type ApplicationOauthInputUpdateType = {
3943
- /**
3944
- * Allowed OAuth callback URLs for this application
3945
- */
3946
- callback_urls?: Array<string> | unknown;
3947
- /**
3948
- * Default callback URL if not specified in request
3949
- */
3950
- default_callback_url?: string | unknown;
3951
- /**
3952
- * Which OAuth providers are enabled for this app
3953
- */
3954
- enabled_providers?: Array<"google" | "github" | "salesforce"> | unknown;
3955
- /**
3956
- * Custom GitHub OAuth client ID (optional)
3957
- */
3958
- github_client_id?: string | unknown;
3959
- /**
3960
- * Custom GitHub OAuth client secret (optional)
3961
- */
3962
- github_client_secret?: string | unknown;
3963
- /**
3964
- * Custom Google OAuth client ID (optional)
3965
- */
3966
- google_client_id?: string | unknown;
3967
- /**
3968
- * Custom Google OAuth client secret (optional)
3969
- */
3970
- google_client_secret?: string | unknown;
3971
- };
3972
3734
  /**
3973
3735
  * A "Resource object" representing a presigned_url
3974
3736
  */
@@ -4338,14 +4100,7 @@ type Subscription = {
4338
4100
  * An attributes object for a subscription
4339
4101
  */
4340
4102
  attributes?: {
4341
- /**
4342
- * Field included by default.
4343
- */
4344
- dunning_stage: number;
4345
- /**
4346
- * Field included by default.
4347
- */
4348
- next_retry_at?: string | null | unknown;
4103
+ [key: string]: never;
4349
4104
  };
4350
4105
  id: string;
4351
4106
  /**
@@ -4661,9 +4416,9 @@ type Workspace = {
4661
4416
  */
4662
4417
  app: string;
4663
4418
  /**
4664
- * Required - the application this workspace belongs to. Field included by default.
4419
+ * Field included by default.
4665
4420
  */
4666
- application_id: string;
4421
+ application_id?: string | null | unknown;
4667
4422
  /**
4668
4423
  * Field included by default.
4669
4424
  */
@@ -4672,10 +4427,18 @@ type Workspace = {
4672
4427
  * Field included by default.
4673
4428
  */
4674
4429
  created_at: unknown;
4430
+ /**
4431
+ * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed. Field included by default.
4432
+ */
4433
+ deduplicate_uploads: boolean;
4675
4434
  /**
4676
4435
  * Field included by default.
4677
4436
  */
4678
4437
  description?: string | null | unknown;
4438
+ /**
4439
+ * Count of documents without file_hash (not ready for deduplication)
4440
+ */
4441
+ documents_missing_hash_count?: number | unknown;
4679
4442
  /**
4680
4443
  * Field included by default.
4681
4444
  */
@@ -4696,6 +4459,10 @@ type Workspace = {
4696
4459
  * Field included by default.
4697
4460
  */
4698
4461
  name: string;
4462
+ /**
4463
+ * True when all documents have file_hash populated (safe to enable deduplication)
4464
+ */
4465
+ ready_for_deduplication?: boolean | null | unknown;
4699
4466
  /**
4700
4467
  * Field included by default.
4701
4468
  */
@@ -4744,21 +4511,13 @@ type Workspace = {
4744
4511
  */
4745
4512
  allow_overdraft: boolean;
4746
4513
  /**
4747
- * Maximum overdraft credits allowed per period. Field included by default.
4514
+ * Field included by default.
4748
4515
  */
4749
4516
  overdraft_limit?: number | null | unknown;
4750
4517
  /**
4751
- * Period for overdraft limit reset (daily, weekly, monthly). Field included by default.
4518
+ * Field included by default.
4752
4519
  */
4753
4520
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
4754
- /**
4755
- * When the current overdraft period began. Field included by default.
4756
- */
4757
- overdraft_period_started_at?: unknown;
4758
- /**
4759
- * Credits used from overdraft in current period. Field included by default.
4760
- */
4761
- overdraft_used?: number | null | unknown;
4762
4521
  };
4763
4522
  /**
4764
4523
  * Field included by default.
@@ -5093,34 +4852,37 @@ type ExtractionDocument = {
5093
4852
  * Overall classification confidence (0.0 to 1.0). Field included by default.
5094
4853
  */
5095
4854
  classification_confidence?: number | null | unknown;
4855
+ /**
4856
+ * The specific version of the Agent that processed this document. Field included by default.
4857
+ */
4858
+ agent_version_id?: string | null | unknown;
5096
4859
  uploaded_at?: string | null | unknown;
5097
4860
  /**
5098
4861
  * Current processing stage based on storage path
5099
4862
  */
5100
4863
  stage?: string | null | unknown;
5101
4864
  /**
5102
- * Credits billed for processing this document. Field included by default.
4865
+ * True if this document was returned as a duplicate of an existing upload
5103
4866
  */
5104
- billed_credits?: number | null | unknown;
4867
+ deduplicated?: boolean | null | unknown;
5105
4868
  /**
5106
- * Field included by default.
4869
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5'). Field included by default.
5107
4870
  */
5108
- storage_path: string;
4871
+ schema_revision?: number | null | unknown;
5109
4872
  /**
5110
- * SHA256 hash of the file content for deduplication. Field included by default.
4873
+ * Credits billed for processing this document
5111
4874
  */
5112
- file_hash?: string | null | unknown;
4875
+ billed_credits?: number | null | unknown;
4876
+ storage_path: string;
5113
4877
  /**
5114
- * Field included by default.
4878
+ * SHA256 hash of the file content for deduplication
5115
4879
  */
4880
+ file_hash?: string | null | unknown;
5116
4881
  excluded_by?: string | null | unknown;
5117
4882
  /**
5118
- * The S3 bucket where this document is stored. Set during upload/begin_upload. Field included by default.
4883
+ * The S3 bucket where this document is stored. Set during upload/begin_upload.
5119
4884
  */
5120
4885
  bucket_name?: string | null | unknown;
5121
- /**
5122
- * Field included by default.
5123
- */
5124
4886
  deleted_at?: unknown;
5125
4887
  /**
5126
4888
  * Classification object containing domain, document_type, municipality, state, and confidence
@@ -5137,76 +4899,49 @@ type ExtractionDocument = {
5137
4899
  * Reason why this document is in the review queue
5138
4900
  */
5139
4901
  queue_reason?: string | null | unknown;
5140
- /**
5141
- * Field included by default.
5142
- */
5143
4902
  status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
5144
- /**
5145
- * Field included by default.
5146
- */
5147
4903
  progress?: number | null | unknown;
5148
4904
  /**
5149
- * Timestamp when document was moved to output/error bucket. Field included by default.
4905
+ * Timestamp when document was moved to output/error bucket
5150
4906
  */
5151
4907
  moved_at?: unknown;
5152
4908
  /**
5153
- * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
4909
+ * Full path (bucket/key) where document was copied after successful extraction
5154
4910
  */
5155
4911
  output_storage_path?: string | null | unknown;
5156
4912
  /**
5157
- * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
4913
+ * Metadata about the training session for this document (trained_at, user_id, scores)
5158
4914
  */
5159
4915
  training_metadata?: {
5160
4916
  [key: string]: unknown;
5161
4917
  } | null | unknown;
5162
4918
  upload_url?: string | null | unknown;
5163
- /**
5164
- * Field included by default.
5165
- */
5166
4919
  pages?: number | null | unknown;
5167
4920
  /**
5168
- * The review/verification state of the document. Field included by default.
4921
+ * The review/verification state of the document
5169
4922
  */
5170
4923
  verification_status?: "unverified" | "partially_verified" | "fully_verified" | unknown;
5171
- /**
5172
- * Field included by default.
5173
- */
5174
4924
  processed_at?: unknown;
5175
- /**
5176
- * Field included by default.
5177
- */
5178
4925
  error_message?: string | null | unknown;
5179
- /**
5180
- * Field included by default.
5181
- */
5182
4926
  verified_by_user_id?: string | null | unknown;
5183
- /**
5184
- * Field included by default.
5185
- */
5186
4927
  file_type: "pdf" | "docx" | "image" | "zip";
5187
- /**
5188
- * Field included by default.
5189
- */
5190
4928
  file_size_bytes?: number | null | unknown;
5191
4929
  /**
5192
- * Timestamp when document processing completed (status changed to :completed). Field included by default.
4930
+ * Timestamp when document processing completed (status changed to :completed)
5193
4931
  */
5194
4932
  completed_at?: unknown;
5195
4933
  /**
5196
- * The version of the agent/schema used to process this document. Field included by default.
4934
+ * The version of the agent/schema used to process this document (e.g., 'v2'). Field included by default.
5197
4935
  */
5198
4936
  schema_version?: string | null | unknown;
5199
4937
  presigned_view_url?: string | null | unknown;
5200
- /**
5201
- * Field included by default.
5202
- */
5203
4938
  last_verified_at?: unknown;
5204
4939
  /**
5205
4940
  * State or province code (2-letter). Field included by default.
5206
4941
  */
5207
4942
  state?: string | null | unknown;
5208
4943
  /**
5209
- * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
4944
+ * Full path (bucket/key) where document was copied after failed extraction
5210
4945
  */
5211
4946
  error_storage_path?: string | null | unknown;
5212
4947
  /**
@@ -5214,16 +4949,14 @@ type ExtractionDocument = {
5214
4949
  */
5215
4950
  domain?: string | null | unknown;
5216
4951
  /**
5217
- * If true, this document is excluded from training (both creating new examples and being used in retrieval). Field included by default.
4952
+ * If true, this document is excluded from training (both creating new examples and being used in retrieval)
5218
4953
  */
5219
4954
  excluded_from_training: boolean;
5220
4955
  /**
5221
- * Field included by default.
4956
+ * The Agent that processed this document. Field included by default.
5222
4957
  */
4958
+ agent_id?: string | null | unknown;
5223
4959
  excluded_at?: unknown;
5224
- /**
5225
- * Field included by default.
5226
- */
5227
4960
  filename: string;
5228
4961
  /**
5229
4962
  * Average confidence score across all extracted fields (0.0 to 1.0). Field included by default.
@@ -6291,10 +6024,7 @@ type PostWorkspacesData = {
6291
6024
  * App type: extract, invoicing, crm, etc.
6292
6025
  */
6293
6026
  app?: string | unknown;
6294
- /**
6295
- * Required - the application this workspace belongs to
6296
- */
6297
- application_id: string;
6027
+ application_id?: string | unknown;
6298
6028
  description?: string | unknown;
6299
6029
  expires_at?: unknown;
6300
6030
  initial_credits?: number | unknown;
@@ -6383,7 +6113,7 @@ type PostWorkspacesResponses = {
6383
6113
  };
6384
6114
  };
6385
6115
  type PostWorkspacesResponse = PostWorkspacesResponses[keyof PostWorkspacesResponses];
6386
- type GetPaymentMethodsData = {
6116
+ type GetAgentsByIdStatsData = {
6387
6117
  body?: never;
6388
6118
  headers: {
6389
6119
  /**
@@ -6391,38 +6121,16 @@ type GetPaymentMethodsData = {
6391
6121
  */
6392
6122
  "x-application-key": string;
6393
6123
  };
6394
- path?: never;
6395
- query?: {
6396
- /**
6397
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
6398
- */
6399
- filter?: {
6400
- [key: string]: unknown;
6401
- };
6402
- /**
6403
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
6404
- */
6405
- sort?: string;
6406
- /**
6407
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
6408
- */
6409
- page?: {
6410
- [key: string]: unknown;
6411
- };
6412
- /**
6413
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6414
- */
6415
- include?: string;
6124
+ path: {
6416
6125
  /**
6417
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6126
+ * Agent ID (from URL path parameter)
6418
6127
  */
6419
- fields?: {
6420
- [key: string]: unknown;
6421
- };
6128
+ id: string;
6422
6129
  };
6423
- url: "/payment-methods";
6130
+ query?: never;
6131
+ url: "/agents/{id}/stats";
6424
6132
  };
6425
- type GetPaymentMethodsErrors = {
6133
+ type GetAgentsByIdStatsErrors = {
6426
6134
  /**
6427
6135
  * Bad Request - Invalid input data or malformed request
6428
6136
  */
@@ -6452,47 +6160,18 @@ type GetPaymentMethodsErrors = {
6452
6160
  */
6453
6161
  default: Errors;
6454
6162
  };
6455
- type GetPaymentMethodsError = GetPaymentMethodsErrors[keyof GetPaymentMethodsErrors];
6456
- type GetPaymentMethodsResponses = {
6163
+ type GetAgentsByIdStatsError = GetAgentsByIdStatsErrors[keyof GetAgentsByIdStatsErrors];
6164
+ type GetAgentsByIdStatsResponses = {
6457
6165
  /**
6458
6166
  * Success
6459
6167
  */
6460
6168
  200: {
6461
- /**
6462
- * An array of resource objects representing a payment_method
6463
- */
6464
- data?: Array<PaymentMethod>;
6465
- included?: Array<unknown>;
6466
- meta?: {
6467
- [key: string]: unknown;
6468
- };
6169
+ [key: string]: unknown;
6469
6170
  };
6470
6171
  };
6471
- type GetPaymentMethodsResponse = GetPaymentMethodsResponses[keyof GetPaymentMethodsResponses];
6472
- type PostPaymentMethodsData = {
6473
- /**
6474
- * Request body for the /payment-methods operation on payment_method resource
6475
- */
6476
- body: {
6477
- data: {
6478
- attributes?: {
6479
- brand?: string | unknown;
6480
- customer_id?: string | unknown;
6481
- exp_month?: number | unknown;
6482
- exp_year?: number | unknown;
6483
- is_default?: boolean | unknown;
6484
- last4?: string | unknown;
6485
- nickname?: string | unknown;
6486
- provider?: "qorpay" | unknown;
6487
- provider_token: string;
6488
- type: "card" | "bank_account";
6489
- };
6490
- relationships?: {
6491
- [key: string]: never;
6492
- };
6493
- type?: "payment_method";
6494
- };
6495
- };
6172
+ type GetAgentsByIdStatsResponse = GetAgentsByIdStatsResponses[keyof GetAgentsByIdStatsResponses];
6173
+ type GetDocumentsStatsData = {
6174
+ body?: never;
6496
6175
  headers: {
6497
6176
  /**
6498
6177
  * Application ID for authentication and routing
@@ -6512,9 +6191,9 @@ type PostPaymentMethodsData = {
6512
6191
  [key: string]: unknown;
6513
6192
  };
6514
6193
  };
6515
- url: "/payment-methods";
6194
+ url: "/documents/stats";
6516
6195
  };
6517
- type PostPaymentMethodsErrors = {
6196
+ type GetDocumentsStatsErrors = {
6518
6197
  /**
6519
6198
  * Bad Request - Invalid input data or malformed request
6520
6199
  */
@@ -6544,22 +6223,36 @@ type PostPaymentMethodsErrors = {
6544
6223
  */
6545
6224
  default: Errors;
6546
6225
  };
6547
- type PostPaymentMethodsError = PostPaymentMethodsErrors[keyof PostPaymentMethodsErrors];
6548
- type PostPaymentMethodsResponses = {
6226
+ type GetDocumentsStatsError = GetDocumentsStatsErrors[keyof GetDocumentsStatsErrors];
6227
+ type GetDocumentsStatsResponses = {
6549
6228
  /**
6550
6229
  * Success
6551
6230
  */
6552
- 201: {
6553
- data?: PaymentMethod;
6231
+ 200: {
6232
+ data?: DocumentStats;
6554
6233
  included?: Array<unknown>;
6555
6234
  meta?: {
6556
6235
  [key: string]: unknown;
6557
6236
  };
6558
6237
  };
6559
6238
  };
6560
- type PostPaymentMethodsResponse = PostPaymentMethodsResponses[keyof PostPaymentMethodsResponses];
6561
- type GetAgentsByIdStatsData = {
6562
- body?: never;
6239
+ type GetDocumentsStatsResponse = GetDocumentsStatsResponses[keyof GetDocumentsStatsResponses];
6240
+ type PatchExtractionDocumentsByIdDismissData = {
6241
+ /**
6242
+ * Request body for the /extraction/documents/:id/dismiss operation on extraction_document resource
6243
+ */
6244
+ body?: {
6245
+ data: {
6246
+ attributes?: {
6247
+ [key: string]: never;
6248
+ };
6249
+ id: string;
6250
+ relationships?: {
6251
+ [key: string]: never;
6252
+ };
6253
+ type?: "extraction_document";
6254
+ };
6255
+ };
6563
6256
  headers: {
6564
6257
  /**
6565
6258
  * Application ID for authentication and routing
@@ -6567,15 +6260,23 @@ type GetAgentsByIdStatsData = {
6567
6260
  "x-application-key": string;
6568
6261
  };
6569
6262
  path: {
6263
+ id: string;
6264
+ };
6265
+ query?: {
6570
6266
  /**
6571
- * Agent ID (from URL path parameter)
6267
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6572
6268
  */
6573
- id: string;
6269
+ include?: string;
6270
+ /**
6271
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6272
+ */
6273
+ fields?: {
6274
+ [key: string]: unknown;
6275
+ };
6574
6276
  };
6575
- query?: never;
6576
- url: "/agents/{id}/stats";
6277
+ url: "/extraction/documents/{id}/dismiss";
6577
6278
  };
6578
- type GetAgentsByIdStatsErrors = {
6279
+ type PatchExtractionDocumentsByIdDismissErrors = {
6579
6280
  /**
6580
6281
  * Bad Request - Invalid input data or malformed request
6581
6282
  */
@@ -6605,18 +6306,38 @@ type GetAgentsByIdStatsErrors = {
6605
6306
  */
6606
6307
  default: Errors;
6607
6308
  };
6608
- type GetAgentsByIdStatsError = GetAgentsByIdStatsErrors[keyof GetAgentsByIdStatsErrors];
6609
- type GetAgentsByIdStatsResponses = {
6309
+ type PatchExtractionDocumentsByIdDismissError = PatchExtractionDocumentsByIdDismissErrors[keyof PatchExtractionDocumentsByIdDismissErrors];
6310
+ type PatchExtractionDocumentsByIdDismissResponses = {
6610
6311
  /**
6611
6312
  * Success
6612
6313
  */
6613
6314
  200: {
6614
- [key: string]: unknown;
6315
+ data?: ExtractionDocument;
6316
+ included?: Array<ExtractionResult>;
6317
+ meta?: {
6318
+ [key: string]: unknown;
6319
+ };
6615
6320
  };
6616
6321
  };
6617
- type GetAgentsByIdStatsResponse = GetAgentsByIdStatsResponses[keyof GetAgentsByIdStatsResponses];
6618
- type GetDocumentsStatsData = {
6619
- body?: never;
6322
+ type PatchExtractionDocumentsByIdDismissResponse = PatchExtractionDocumentsByIdDismissResponses[keyof PatchExtractionDocumentsByIdDismissResponses];
6323
+ type PostObjectsRegisterData = {
6324
+ /**
6325
+ * Request body for the /objects/register operation on object resource
6326
+ */
6327
+ body: {
6328
+ data: {
6329
+ attributes?: {
6330
+ bucket_id: string;
6331
+ content_type: string;
6332
+ key: string;
6333
+ size_bytes: number;
6334
+ };
6335
+ relationships?: {
6336
+ [key: string]: never;
6337
+ };
6338
+ type?: "object";
6339
+ };
6340
+ };
6620
6341
  headers: {
6621
6342
  /**
6622
6343
  * Application ID for authentication and routing
@@ -6636,9 +6357,9 @@ type GetDocumentsStatsData = {
6636
6357
  [key: string]: unknown;
6637
6358
  };
6638
6359
  };
6639
- url: "/documents/stats";
6360
+ url: "/objects/register";
6640
6361
  };
6641
- type GetDocumentsStatsErrors = {
6362
+ type PostObjectsRegisterErrors = {
6642
6363
  /**
6643
6364
  * Bad Request - Invalid input data or malformed request
6644
6365
  */
@@ -6668,45 +6389,29 @@ type GetDocumentsStatsErrors = {
6668
6389
  */
6669
6390
  default: Errors;
6670
6391
  };
6671
- type GetDocumentsStatsError = GetDocumentsStatsErrors[keyof GetDocumentsStatsErrors];
6672
- type GetDocumentsStatsResponses = {
6392
+ type PostObjectsRegisterError = PostObjectsRegisterErrors[keyof PostObjectsRegisterErrors];
6393
+ type PostObjectsRegisterResponses = {
6673
6394
  /**
6674
6395
  * Success
6675
6396
  */
6676
- 200: {
6677
- data?: DocumentStats;
6397
+ 201: {
6398
+ data?: _Object;
6678
6399
  included?: Array<unknown>;
6679
6400
  meta?: {
6680
6401
  [key: string]: unknown;
6681
6402
  };
6682
6403
  };
6683
6404
  };
6684
- type GetDocumentsStatsResponse = GetDocumentsStatsResponses[keyof GetDocumentsStatsResponses];
6685
- type PatchExtractionDocumentsByIdDismissData = {
6686
- /**
6687
- * Request body for the /extraction/documents/:id/dismiss operation on extraction_document resource
6688
- */
6689
- body?: {
6690
- data: {
6691
- attributes?: {
6692
- [key: string]: never;
6693
- };
6694
- id: string;
6695
- relationships?: {
6696
- [key: string]: never;
6697
- };
6698
- type?: "extraction_document";
6699
- };
6700
- };
6405
+ type PostObjectsRegisterResponse = PostObjectsRegisterResponses[keyof PostObjectsRegisterResponses];
6406
+ type GetLlmAnalyticsWorkspaceData = {
6407
+ body?: never;
6701
6408
  headers: {
6702
6409
  /**
6703
6410
  * Application ID for authentication and routing
6704
6411
  */
6705
6412
  "x-application-key": string;
6706
6413
  };
6707
- path: {
6708
- id: string;
6709
- };
6414
+ path?: never;
6710
6415
  query?: {
6711
6416
  /**
6712
6417
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -6718,161 +6423,11 @@ type PatchExtractionDocumentsByIdDismissData = {
6718
6423
  fields?: {
6719
6424
  [key: string]: unknown;
6720
6425
  };
6426
+ workspace_id?: string;
6721
6427
  };
6722
- url: "/extraction/documents/{id}/dismiss";
6428
+ url: "/llm_analytics/workspace";
6723
6429
  };
6724
- type PatchExtractionDocumentsByIdDismissErrors = {
6725
- /**
6726
- * Bad Request - Invalid input data or malformed request
6727
- */
6728
- 400: ErrorResponse;
6729
- /**
6730
- * Unauthorized - Missing or invalid authentication token
6731
- */
6732
- 401: ErrorResponse;
6733
- /**
6734
- * Forbidden - Authenticated but not authorized for this resource
6735
- */
6736
- 403: ErrorResponse;
6737
- /**
6738
- * Not Found - Resource does not exist
6739
- */
6740
- 404: ErrorResponse;
6741
- /**
6742
- * Too Many Requests - Rate limit exceeded
6743
- */
6744
- 429: ErrorResponse;
6745
- /**
6746
- * Internal Server Error - Unexpected server error
6747
- */
6748
- 500: ErrorResponse;
6749
- /**
6750
- * General Error
6751
- */
6752
- default: Errors;
6753
- };
6754
- type PatchExtractionDocumentsByIdDismissError = PatchExtractionDocumentsByIdDismissErrors[keyof PatchExtractionDocumentsByIdDismissErrors];
6755
- type PatchExtractionDocumentsByIdDismissResponses = {
6756
- /**
6757
- * Success
6758
- */
6759
- 200: {
6760
- data?: ExtractionDocument;
6761
- included?: Array<ExtractionResult>;
6762
- meta?: {
6763
- [key: string]: unknown;
6764
- };
6765
- };
6766
- };
6767
- type PatchExtractionDocumentsByIdDismissResponse = PatchExtractionDocumentsByIdDismissResponses[keyof PatchExtractionDocumentsByIdDismissResponses];
6768
- type PostObjectsRegisterData = {
6769
- /**
6770
- * Request body for the /objects/register operation on object resource
6771
- */
6772
- body: {
6773
- data: {
6774
- attributes?: {
6775
- bucket_id: string;
6776
- content_type: string;
6777
- key: string;
6778
- size_bytes: number;
6779
- };
6780
- relationships?: {
6781
- [key: string]: never;
6782
- };
6783
- type?: "object";
6784
- };
6785
- };
6786
- headers: {
6787
- /**
6788
- * Application ID for authentication and routing
6789
- */
6790
- "x-application-key": string;
6791
- };
6792
- path?: never;
6793
- query?: {
6794
- /**
6795
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6796
- */
6797
- include?: string;
6798
- /**
6799
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6800
- */
6801
- fields?: {
6802
- [key: string]: unknown;
6803
- };
6804
- };
6805
- url: "/objects/register";
6806
- };
6807
- type PostObjectsRegisterErrors = {
6808
- /**
6809
- * Bad Request - Invalid input data or malformed request
6810
- */
6811
- 400: ErrorResponse;
6812
- /**
6813
- * Unauthorized - Missing or invalid authentication token
6814
- */
6815
- 401: ErrorResponse;
6816
- /**
6817
- * Forbidden - Authenticated but not authorized for this resource
6818
- */
6819
- 403: ErrorResponse;
6820
- /**
6821
- * Not Found - Resource does not exist
6822
- */
6823
- 404: ErrorResponse;
6824
- /**
6825
- * Too Many Requests - Rate limit exceeded
6826
- */
6827
- 429: ErrorResponse;
6828
- /**
6829
- * Internal Server Error - Unexpected server error
6830
- */
6831
- 500: ErrorResponse;
6832
- /**
6833
- * General Error
6834
- */
6835
- default: Errors;
6836
- };
6837
- type PostObjectsRegisterError = PostObjectsRegisterErrors[keyof PostObjectsRegisterErrors];
6838
- type PostObjectsRegisterResponses = {
6839
- /**
6840
- * Success
6841
- */
6842
- 201: {
6843
- data?: _Object;
6844
- included?: Array<unknown>;
6845
- meta?: {
6846
- [key: string]: unknown;
6847
- };
6848
- };
6849
- };
6850
- type PostObjectsRegisterResponse = PostObjectsRegisterResponses[keyof PostObjectsRegisterResponses];
6851
- type GetLlmAnalyticsWorkspaceData = {
6852
- body?: never;
6853
- headers: {
6854
- /**
6855
- * Application ID for authentication and routing
6856
- */
6857
- "x-application-key": string;
6858
- };
6859
- path?: never;
6860
- query?: {
6861
- /**
6862
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6863
- */
6864
- include?: string;
6865
- /**
6866
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6867
- */
6868
- fields?: {
6869
- [key: string]: unknown;
6870
- };
6871
- workspace_id?: string;
6872
- };
6873
- url: "/llm_analytics/workspace";
6874
- };
6875
- type GetLlmAnalyticsWorkspaceErrors = {
6430
+ type GetLlmAnalyticsWorkspaceErrors = {
6876
6431
  /**
6877
6432
  * Bad Request - Invalid input data or malformed request
6878
6433
  */
@@ -8142,6 +7697,14 @@ type PatchExtractionDocumentsByIdStatusData = {
8142
7697
  body?: {
8143
7698
  data: {
8144
7699
  attributes?: {
7700
+ /**
7701
+ * The Agent that processed this document
7702
+ */
7703
+ agent_id?: string | unknown;
7704
+ /**
7705
+ * The specific version of the Agent that processed this document
7706
+ */
7707
+ agent_version_id?: string | unknown;
8145
7708
  /**
8146
7709
  * Average confidence score across all extracted fields (0.0 to 1.0)
8147
7710
  */
@@ -9003,33 +8566,28 @@ type PostConfigsResponses = {
9003
8566
  };
9004
8567
  };
9005
8568
  type PostConfigsResponse = PostConfigsResponses[keyof PostConfigsResponses];
9006
- type PatchWalletAutoTopUpData = {
9007
- /**
9008
- * Request body for the /wallet/auto-top-up operation on wallet resource
9009
- */
9010
- body: {
9011
- data: {
9012
- attributes?: {
9013
- amount?: number | unknown;
9014
- enabled: boolean;
9015
- package_id?: string | unknown;
9016
- threshold?: number | unknown;
9017
- };
9018
- id: string;
9019
- relationships?: {
9020
- [key: string]: never;
9021
- };
9022
- type?: "wallet";
9023
- };
9024
- };
8569
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData = {
8570
+ body?: never;
9025
8571
  headers: {
9026
8572
  /**
9027
8573
  * Application ID for authentication and routing
9028
8574
  */
9029
8575
  "x-application-key": string;
9030
8576
  };
9031
- path?: never;
8577
+ path: {
8578
+ agent_version_id: string;
8579
+ };
9032
8580
  query?: {
8581
+ /**
8582
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
8583
+ */
8584
+ filter?: {
8585
+ [key: string]: unknown;
8586
+ };
8587
+ /**
8588
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
8589
+ */
8590
+ sort?: string;
9033
8591
  /**
9034
8592
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9035
8593
  */
@@ -9041,9 +8599,9 @@ type PatchWalletAutoTopUpData = {
9041
8599
  [key: string]: unknown;
9042
8600
  };
9043
8601
  };
9044
- url: "/wallet/auto-top-up";
8602
+ url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions";
9045
8603
  };
9046
- type PatchWalletAutoTopUpErrors = {
8604
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors = {
9047
8605
  /**
9048
8606
  * Bad Request - Invalid input data or malformed request
9049
8607
  */
@@ -9073,36 +8631,39 @@ type PatchWalletAutoTopUpErrors = {
9073
8631
  */
9074
8632
  default: Errors;
9075
8633
  };
9076
- type PatchWalletAutoTopUpError = PatchWalletAutoTopUpErrors[keyof PatchWalletAutoTopUpErrors];
9077
- type PatchWalletAutoTopUpResponses = {
8634
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors];
8635
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses = {
9078
8636
  /**
9079
8637
  * Success
9080
8638
  */
9081
8639
  200: {
9082
- data?: Wallet;
9083
- included?: Array<Plan>;
8640
+ /**
8641
+ * An array of resource objects representing a agent_version_revision
8642
+ */
8643
+ data?: Array<AgentVersionRevision>;
8644
+ included?: Array<unknown>;
9084
8645
  meta?: {
9085
8646
  [key: string]: unknown;
9086
8647
  };
9087
8648
  };
9088
8649
  };
9089
- type PatchWalletAutoTopUpResponse = PatchWalletAutoTopUpResponses[keyof PatchWalletAutoTopUpResponses];
9090
- type PostTokensData = {
8650
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses];
8651
+ type PatchWalletAutoTopUpData = {
9091
8652
  /**
9092
- * Request body for the /tokens operation on token resource
8653
+ * Request body for the /wallet/auto-top-up operation on wallet resource
9093
8654
  */
9094
- body?: {
8655
+ body: {
9095
8656
  data: {
9096
8657
  attributes?: {
9097
- card?: {
9098
- [key: string]: unknown;
9099
- } | unknown;
9100
- type?: "card" | "bank_account" | unknown;
8658
+ amount?: number | unknown;
8659
+ enabled: boolean;
8660
+ threshold?: number | unknown;
9101
8661
  };
8662
+ id: string;
9102
8663
  relationships?: {
9103
8664
  [key: string]: never;
9104
8665
  };
9105
- type?: "token";
8666
+ type?: "wallet";
9106
8667
  };
9107
8668
  };
9108
8669
  headers: {
@@ -9124,9 +8685,9 @@ type PostTokensData = {
9124
8685
  [key: string]: unknown;
9125
8686
  };
9126
8687
  };
9127
- url: "/tokens";
8688
+ url: "/wallet/auto-top-up";
9128
8689
  };
9129
- type PostTokensErrors = {
8690
+ type PatchWalletAutoTopUpErrors = {
9130
8691
  /**
9131
8692
  * Bad Request - Invalid input data or malformed request
9132
8693
  */
@@ -9156,41 +8717,36 @@ type PostTokensErrors = {
9156
8717
  */
9157
8718
  default: Errors;
9158
8719
  };
9159
- type PostTokensError = PostTokensErrors[keyof PostTokensErrors];
9160
- type PostTokensResponses = {
8720
+ type PatchWalletAutoTopUpError = PatchWalletAutoTopUpErrors[keyof PatchWalletAutoTopUpErrors];
8721
+ type PatchWalletAutoTopUpResponses = {
9161
8722
  /**
9162
8723
  * Success
9163
8724
  */
9164
- 201: {
9165
- data?: Token;
9166
- included?: Array<unknown>;
8725
+ 200: {
8726
+ data?: Wallet;
8727
+ included?: Array<Plan>;
9167
8728
  meta?: {
9168
8729
  [key: string]: unknown;
9169
8730
  };
9170
8731
  };
9171
8732
  };
9172
- type PostTokensResponse = PostTokensResponses[keyof PostTokensResponses];
9173
- type PatchApiKeysByIdSetBudgetData = {
8733
+ type PatchWalletAutoTopUpResponse = PatchWalletAutoTopUpResponses[keyof PatchWalletAutoTopUpResponses];
8734
+ type PostTokensData = {
9174
8735
  /**
9175
- * Request body for the /api_keys/:id/set_budget operation on api_key resource
8736
+ * Request body for the /tokens operation on token resource
9176
8737
  */
9177
8738
  body?: {
9178
8739
  data: {
9179
8740
  attributes?: {
9180
- /**
9181
- * Maximum credits per period (null to remove limit)
9182
- */
9183
- credit_limit?: number | unknown;
9184
- /**
9185
- * Budget reset period (null to remove limit)
9186
- */
9187
- credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
8741
+ card?: {
8742
+ [key: string]: unknown;
8743
+ } | unknown;
8744
+ type?: "card" | "bank_account" | unknown;
9188
8745
  };
9189
- id: string;
9190
8746
  relationships?: {
9191
8747
  [key: string]: never;
9192
8748
  };
9193
- type?: "api_key";
8749
+ type?: "token";
9194
8750
  };
9195
8751
  };
9196
8752
  headers: {
@@ -9199,9 +8755,7 @@ type PatchApiKeysByIdSetBudgetData = {
9199
8755
  */
9200
8756
  "x-application-key": string;
9201
8757
  };
9202
- path: {
9203
- id: string;
9204
- };
8758
+ path?: never;
9205
8759
  query?: {
9206
8760
  /**
9207
8761
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -9214,9 +8768,99 @@ type PatchApiKeysByIdSetBudgetData = {
9214
8768
  [key: string]: unknown;
9215
8769
  };
9216
8770
  };
9217
- url: "/api_keys/{id}/set_budget";
8771
+ url: "/tokens";
9218
8772
  };
9219
- type PatchApiKeysByIdSetBudgetErrors = {
8773
+ type PostTokensErrors = {
8774
+ /**
8775
+ * Bad Request - Invalid input data or malformed request
8776
+ */
8777
+ 400: ErrorResponse;
8778
+ /**
8779
+ * Unauthorized - Missing or invalid authentication token
8780
+ */
8781
+ 401: ErrorResponse;
8782
+ /**
8783
+ * Forbidden - Authenticated but not authorized for this resource
8784
+ */
8785
+ 403: ErrorResponse;
8786
+ /**
8787
+ * Not Found - Resource does not exist
8788
+ */
8789
+ 404: ErrorResponse;
8790
+ /**
8791
+ * Too Many Requests - Rate limit exceeded
8792
+ */
8793
+ 429: ErrorResponse;
8794
+ /**
8795
+ * Internal Server Error - Unexpected server error
8796
+ */
8797
+ 500: ErrorResponse;
8798
+ /**
8799
+ * General Error
8800
+ */
8801
+ default: Errors;
8802
+ };
8803
+ type PostTokensError = PostTokensErrors[keyof PostTokensErrors];
8804
+ type PostTokensResponses = {
8805
+ /**
8806
+ * Success
8807
+ */
8808
+ 201: {
8809
+ data?: Token;
8810
+ included?: Array<unknown>;
8811
+ meta?: {
8812
+ [key: string]: unknown;
8813
+ };
8814
+ };
8815
+ };
8816
+ type PostTokensResponse = PostTokensResponses[keyof PostTokensResponses];
8817
+ type PatchApiKeysByIdSetBudgetData = {
8818
+ /**
8819
+ * Request body for the /api_keys/:id/set_budget operation on api_key resource
8820
+ */
8821
+ body?: {
8822
+ data: {
8823
+ attributes?: {
8824
+ /**
8825
+ * Maximum credits per period (null to remove limit)
8826
+ */
8827
+ credit_limit?: number | unknown;
8828
+ /**
8829
+ * Budget reset period (null to remove limit)
8830
+ */
8831
+ credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
8832
+ };
8833
+ id: string;
8834
+ relationships?: {
8835
+ [key: string]: never;
8836
+ };
8837
+ type?: "api_key";
8838
+ };
8839
+ };
8840
+ headers: {
8841
+ /**
8842
+ * Application ID for authentication and routing
8843
+ */
8844
+ "x-application-key": string;
8845
+ };
8846
+ path: {
8847
+ id: string;
8848
+ };
8849
+ query?: {
8850
+ /**
8851
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
8852
+ */
8853
+ include?: string;
8854
+ /**
8855
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
8856
+ */
8857
+ fields?: {
8858
+ [key: string]: unknown;
8859
+ };
8860
+ };
8861
+ url: "/api_keys/{id}/set_budget";
8862
+ };
8863
+ type PatchApiKeysByIdSetBudgetErrors = {
9220
8864
  /**
9221
8865
  * Bad Request - Invalid input data or malformed request
9222
8866
  */
@@ -10320,6 +9964,89 @@ type GetAgentsUsageResponses = {
10320
9964
  };
10321
9965
  };
10322
9966
  type GetAgentsUsageResponse = GetAgentsUsageResponses[keyof GetAgentsUsageResponses];
9967
+ type PatchWorkspacesByIdPopulateHashesData = {
9968
+ /**
9969
+ * Request body for the /workspaces/:id/populate-hashes operation on workspace resource
9970
+ */
9971
+ body?: {
9972
+ data: {
9973
+ attributes?: {
9974
+ [key: string]: never;
9975
+ };
9976
+ id: string;
9977
+ relationships?: {
9978
+ [key: string]: never;
9979
+ };
9980
+ type?: "workspace";
9981
+ };
9982
+ };
9983
+ headers: {
9984
+ /**
9985
+ * Application ID for authentication and routing
9986
+ */
9987
+ "x-application-key": string;
9988
+ };
9989
+ path: {
9990
+ id: string;
9991
+ };
9992
+ query?: {
9993
+ /**
9994
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9995
+ */
9996
+ include?: string;
9997
+ /**
9998
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9999
+ */
10000
+ fields?: {
10001
+ [key: string]: unknown;
10002
+ };
10003
+ };
10004
+ url: "/workspaces/{id}/populate-hashes";
10005
+ };
10006
+ type PatchWorkspacesByIdPopulateHashesErrors = {
10007
+ /**
10008
+ * Bad Request - Invalid input data or malformed request
10009
+ */
10010
+ 400: ErrorResponse;
10011
+ /**
10012
+ * Unauthorized - Missing or invalid authentication token
10013
+ */
10014
+ 401: ErrorResponse;
10015
+ /**
10016
+ * Forbidden - Authenticated but not authorized for this resource
10017
+ */
10018
+ 403: ErrorResponse;
10019
+ /**
10020
+ * Not Found - Resource does not exist
10021
+ */
10022
+ 404: ErrorResponse;
10023
+ /**
10024
+ * Too Many Requests - Rate limit exceeded
10025
+ */
10026
+ 429: ErrorResponse;
10027
+ /**
10028
+ * Internal Server Error - Unexpected server error
10029
+ */
10030
+ 500: ErrorResponse;
10031
+ /**
10032
+ * General Error
10033
+ */
10034
+ default: Errors;
10035
+ };
10036
+ type PatchWorkspacesByIdPopulateHashesError = PatchWorkspacesByIdPopulateHashesErrors[keyof PatchWorkspacesByIdPopulateHashesErrors];
10037
+ type PatchWorkspacesByIdPopulateHashesResponses = {
10038
+ /**
10039
+ * Success
10040
+ */
10041
+ 200: {
10042
+ data?: Workspace;
10043
+ included?: Array<Tenant>;
10044
+ meta?: {
10045
+ [key: string]: unknown;
10046
+ };
10047
+ };
10048
+ };
10049
+ type PatchWorkspacesByIdPopulateHashesResponse = PatchWorkspacesByIdPopulateHashesResponses[keyof PatchWorkspacesByIdPopulateHashesResponses];
10323
10050
  type PatchNotificationMethodsByIdSetPrimaryData = {
10324
10051
  /**
10325
10052
  * Request body for the /notification_methods/:id/set_primary operation on notification_method resource
@@ -13083,68 +12810,6 @@ type GetUsersByIdResponses = {
13083
12810
  };
13084
12811
  };
13085
12812
  type GetUsersByIdResponse = GetUsersByIdResponses[keyof GetUsersByIdResponses];
13086
- type DeleteExtractionResultsByIdData = {
13087
- body?: never;
13088
- headers: {
13089
- /**
13090
- * Application ID for authentication and routing
13091
- */
13092
- "x-application-key": string;
13093
- };
13094
- path: {
13095
- id: string;
13096
- };
13097
- query?: {
13098
- /**
13099
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13100
- */
13101
- include?: string;
13102
- /**
13103
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13104
- */
13105
- fields?: {
13106
- [key: string]: unknown;
13107
- };
13108
- };
13109
- url: "/extraction/results/{id}";
13110
- };
13111
- type DeleteExtractionResultsByIdErrors = {
13112
- /**
13113
- * Bad Request - Invalid input data or malformed request
13114
- */
13115
- 400: ErrorResponse;
13116
- /**
13117
- * Unauthorized - Missing or invalid authentication token
13118
- */
13119
- 401: ErrorResponse;
13120
- /**
13121
- * Forbidden - Authenticated but not authorized for this resource
13122
- */
13123
- 403: ErrorResponse;
13124
- /**
13125
- * Not Found - Resource does not exist
13126
- */
13127
- 404: ErrorResponse;
13128
- /**
13129
- * Too Many Requests - Rate limit exceeded
13130
- */
13131
- 429: ErrorResponse;
13132
- /**
13133
- * Internal Server Error - Unexpected server error
13134
- */
13135
- 500: ErrorResponse;
13136
- /**
13137
- * General Error
13138
- */
13139
- default: Errors;
13140
- };
13141
- type DeleteExtractionResultsByIdError = DeleteExtractionResultsByIdErrors[keyof DeleteExtractionResultsByIdErrors];
13142
- type DeleteExtractionResultsByIdResponses = {
13143
- /**
13144
- * Deleted successfully
13145
- */
13146
- 200: unknown;
13147
- };
13148
12813
  type GetExtractionResultsByIdData = {
13149
12814
  body?: never;
13150
12815
  headers: {
@@ -13214,94 +12879,6 @@ type GetExtractionResultsByIdResponses = {
13214
12879
  };
13215
12880
  };
13216
12881
  type GetExtractionResultsByIdResponse = GetExtractionResultsByIdResponses[keyof GetExtractionResultsByIdResponses];
13217
- type PatchExtractionResultsByIdData = {
13218
- /**
13219
- * Request body for the /extraction/results/:id operation on extraction_result resource
13220
- */
13221
- body?: {
13222
- data: {
13223
- attributes?: {
13224
- credits_used?: string | unknown;
13225
- extracted_fields?: {
13226
- [key: string]: unknown;
13227
- } | unknown;
13228
- processing_time_ms?: number | unknown;
13229
- status?: "pending" | "completed" | "failed" | unknown;
13230
- };
13231
- id: string;
13232
- relationships?: {
13233
- [key: string]: never;
13234
- };
13235
- type?: "extraction_result";
13236
- };
13237
- };
13238
- headers: {
13239
- /**
13240
- * Application ID for authentication and routing
13241
- */
13242
- "x-application-key": string;
13243
- };
13244
- path: {
13245
- id: string;
13246
- };
13247
- query?: {
13248
- /**
13249
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13250
- */
13251
- include?: string;
13252
- /**
13253
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13254
- */
13255
- fields?: {
13256
- [key: string]: unknown;
13257
- };
13258
- };
13259
- url: "/extraction/results/{id}";
13260
- };
13261
- type PatchExtractionResultsByIdErrors = {
13262
- /**
13263
- * Bad Request - Invalid input data or malformed request
13264
- */
13265
- 400: ErrorResponse;
13266
- /**
13267
- * Unauthorized - Missing or invalid authentication token
13268
- */
13269
- 401: ErrorResponse;
13270
- /**
13271
- * Forbidden - Authenticated but not authorized for this resource
13272
- */
13273
- 403: ErrorResponse;
13274
- /**
13275
- * Not Found - Resource does not exist
13276
- */
13277
- 404: ErrorResponse;
13278
- /**
13279
- * Too Many Requests - Rate limit exceeded
13280
- */
13281
- 429: ErrorResponse;
13282
- /**
13283
- * Internal Server Error - Unexpected server error
13284
- */
13285
- 500: ErrorResponse;
13286
- /**
13287
- * General Error
13288
- */
13289
- default: Errors;
13290
- };
13291
- type PatchExtractionResultsByIdError = PatchExtractionResultsByIdErrors[keyof PatchExtractionResultsByIdErrors];
13292
- type PatchExtractionResultsByIdResponses = {
13293
- /**
13294
- * Success
13295
- */
13296
- 200: {
13297
- data?: ExtractionResult;
13298
- included?: Array<unknown>;
13299
- meta?: {
13300
- [key: string]: unknown;
13301
- };
13302
- };
13303
- };
13304
- type PatchExtractionResultsByIdResponse = PatchExtractionResultsByIdResponses[keyof PatchExtractionResultsByIdResponses];
13305
12882
  type GetWebhookDeliveriesStatsData = {
13306
12883
  body?: never;
13307
12884
  headers: {
@@ -16157,10 +15734,6 @@ type PostApplicationsData = {
16157
15734
  invite_only?: boolean | unknown;
16158
15735
  logo_url?: string | unknown;
16159
15736
  name: string;
16160
- /**
16161
- * OAuth configuration for this application
16162
- */
16163
- oauth?: ApplicationOauthInputCreateType | unknown;
16164
15737
  owner_id?: string | unknown;
16165
15738
  /**
16166
15739
  * When true, password registration withholds JWT until email is verified
@@ -16483,7 +16056,7 @@ type PatchExtractionDocumentsByIdReprocessData = {
16483
16056
  data: {
16484
16057
  attributes?: {
16485
16058
  /**
16486
- * The version of the agent/schema used to process this document
16059
+ * The version of the agent/schema used to process this document (e.g., 'v2')
16487
16060
  */
16488
16061
  schema_version?: string | unknown;
16489
16062
  schema_version_id?: string | unknown;
@@ -17875,6 +17448,7 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData = {
17875
17448
  [key: string]: unknown;
17876
17449
  };
17877
17450
  limit?: number;
17451
+ filter_by_threshold?: boolean;
17878
17452
  };
17879
17453
  url: "/extraction/documents/workspace/{workspace_id}/review_queue";
17880
17454
  };
@@ -18101,6 +17675,92 @@ type PostExtractionDocumentsUploadResponses = {
18101
17675
  };
18102
17676
  };
18103
17677
  type PostExtractionDocumentsUploadResponse = PostExtractionDocumentsUploadResponses[keyof PostExtractionDocumentsUploadResponses];
17678
+ type PatchExtractionResultsByIdCorrectionsData = {
17679
+ /**
17680
+ * Request body for the /extraction/results/:id/corrections operation on extraction_result resource
17681
+ */
17682
+ body: {
17683
+ data: {
17684
+ attributes?: {
17685
+ confirmed_fields?: Array<string> | unknown;
17686
+ corrections: Array<{
17687
+ [key: string]: unknown;
17688
+ }>;
17689
+ };
17690
+ id: string;
17691
+ relationships?: {
17692
+ [key: string]: never;
17693
+ };
17694
+ type?: "extraction_result";
17695
+ };
17696
+ };
17697
+ headers: {
17698
+ /**
17699
+ * Application ID for authentication and routing
17700
+ */
17701
+ "x-application-key": string;
17702
+ };
17703
+ path: {
17704
+ id: string;
17705
+ };
17706
+ query?: {
17707
+ /**
17708
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17709
+ */
17710
+ include?: string;
17711
+ /**
17712
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
17713
+ */
17714
+ fields?: {
17715
+ [key: string]: unknown;
17716
+ };
17717
+ };
17718
+ url: "/extraction/results/{id}/corrections";
17719
+ };
17720
+ type PatchExtractionResultsByIdCorrectionsErrors = {
17721
+ /**
17722
+ * Bad Request - Invalid input data or malformed request
17723
+ */
17724
+ 400: ErrorResponse;
17725
+ /**
17726
+ * Unauthorized - Missing or invalid authentication token
17727
+ */
17728
+ 401: ErrorResponse;
17729
+ /**
17730
+ * Forbidden - Authenticated but not authorized for this resource
17731
+ */
17732
+ 403: ErrorResponse;
17733
+ /**
17734
+ * Not Found - Resource does not exist
17735
+ */
17736
+ 404: ErrorResponse;
17737
+ /**
17738
+ * Too Many Requests - Rate limit exceeded
17739
+ */
17740
+ 429: ErrorResponse;
17741
+ /**
17742
+ * Internal Server Error - Unexpected server error
17743
+ */
17744
+ 500: ErrorResponse;
17745
+ /**
17746
+ * General Error
17747
+ */
17748
+ default: Errors;
17749
+ };
17750
+ type PatchExtractionResultsByIdCorrectionsError = PatchExtractionResultsByIdCorrectionsErrors[keyof PatchExtractionResultsByIdCorrectionsErrors];
17751
+ type PatchExtractionResultsByIdCorrectionsResponses = {
17752
+ /**
17753
+ * Success
17754
+ */
17755
+ 200: {
17756
+ data?: ExtractionResult;
17757
+ included?: Array<unknown>;
17758
+ meta?: {
17759
+ [key: string]: unknown;
17760
+ };
17761
+ };
17762
+ };
17763
+ type PatchExtractionResultsByIdCorrectionsResponse = PatchExtractionResultsByIdCorrectionsResponses[keyof PatchExtractionResultsByIdCorrectionsResponses];
18104
17764
  type PatchNotificationMethodsByIdVerifyData = {
18105
17765
  /**
18106
17766
  * Request body for the /notification_methods/:id/verify operation on notification_method resource
@@ -18475,10 +18135,11 @@ type PatchWorkspacesByIdData = {
18475
18135
  body?: {
18476
18136
  data: {
18477
18137
  attributes?: {
18138
+ application_id?: string | unknown;
18478
18139
  /**
18479
- * Required - the application this workspace belongs to
18140
+ * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed.
18480
18141
  */
18481
- application_id?: string | unknown;
18142
+ deduplicate_uploads?: boolean | unknown;
18482
18143
  is_default?: boolean | unknown;
18483
18144
  low_balance_threshold?: number | unknown;
18484
18145
  name?: string | unknown;
@@ -18808,133 +18469,29 @@ type PostTenantsByIdRemoveStorageErrors = {
18808
18469
  */
18809
18470
  default: Errors;
18810
18471
  };
18811
- type PostTenantsByIdRemoveStorageError = PostTenantsByIdRemoveStorageErrors[keyof PostTenantsByIdRemoveStorageErrors];
18812
- type PostTenantsByIdRemoveStorageResponses = {
18813
- /**
18814
- * Success
18815
- */
18816
- 201: {
18817
- data?: Tenant;
18818
- included?: Array<Workspace>;
18819
- meta?: {
18820
- [key: string]: unknown;
18821
- };
18822
- };
18823
- };
18824
- type PostTenantsByIdRemoveStorageResponse = PostTenantsByIdRemoveStorageResponses[keyof PostTenantsByIdRemoveStorageResponses];
18825
- type GetWalletInvoicesData = {
18826
- body?: never;
18827
- headers: {
18828
- /**
18829
- * Application ID for authentication and routing
18830
- */
18831
- "x-application-key": string;
18832
- };
18833
- path?: never;
18834
- query?: {
18835
- /**
18836
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
18837
- */
18838
- filter?: {
18839
- [key: string]: unknown;
18840
- };
18841
- /**
18842
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
18843
- */
18844
- sort?: string;
18845
- /**
18846
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
18847
- */
18848
- page?: {
18849
- [key: string]: unknown;
18850
- };
18851
- /**
18852
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18853
- */
18854
- include?: string;
18855
- /**
18856
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
18857
- */
18858
- fields?: {
18859
- [key: string]: unknown;
18860
- };
18861
- };
18862
- url: "/wallet/invoices";
18863
- };
18864
- type GetWalletInvoicesErrors = {
18865
- /**
18866
- * Bad Request - Invalid input data or malformed request
18867
- */
18868
- 400: ErrorResponse;
18869
- /**
18870
- * Unauthorized - Missing or invalid authentication token
18871
- */
18872
- 401: ErrorResponse;
18873
- /**
18874
- * Forbidden - Authenticated but not authorized for this resource
18875
- */
18876
- 403: ErrorResponse;
18877
- /**
18878
- * Not Found - Resource does not exist
18879
- */
18880
- 404: ErrorResponse;
18881
- /**
18882
- * Too Many Requests - Rate limit exceeded
18883
- */
18884
- 429: ErrorResponse;
18885
- /**
18886
- * Internal Server Error - Unexpected server error
18887
- */
18888
- 500: ErrorResponse;
18889
- /**
18890
- * General Error
18891
- */
18892
- default: Errors;
18893
- };
18894
- type GetWalletInvoicesError = GetWalletInvoicesErrors[keyof GetWalletInvoicesErrors];
18895
- type GetWalletInvoicesResponses = {
18472
+ type PostTenantsByIdRemoveStorageError = PostTenantsByIdRemoveStorageErrors[keyof PostTenantsByIdRemoveStorageErrors];
18473
+ type PostTenantsByIdRemoveStorageResponses = {
18896
18474
  /**
18897
18475
  * Success
18898
18476
  */
18899
- 200: {
18900
- /**
18901
- * An array of resource objects representing a invoice
18902
- */
18903
- data?: Array<Invoice>;
18904
- included?: Array<unknown>;
18477
+ 201: {
18478
+ data?: Tenant;
18479
+ included?: Array<Workspace>;
18905
18480
  meta?: {
18906
18481
  [key: string]: unknown;
18907
18482
  };
18908
18483
  };
18909
18484
  };
18910
- type GetWalletInvoicesResponse = GetWalletInvoicesResponses[keyof GetWalletInvoicesResponses];
18911
- type PatchExtractionResultsByIdSaveCorrectionsData = {
18912
- /**
18913
- * Request body for the /extraction/results/:id/save_corrections operation on extraction_result resource
18914
- */
18915
- body: {
18916
- data: {
18917
- attributes?: {
18918
- corrections: Array<{
18919
- [key: string]: unknown;
18920
- }>;
18921
- };
18922
- id: string;
18923
- relationships?: {
18924
- [key: string]: never;
18925
- };
18926
- type?: "extraction_result";
18927
- };
18928
- };
18485
+ type PostTenantsByIdRemoveStorageResponse = PostTenantsByIdRemoveStorageResponses[keyof PostTenantsByIdRemoveStorageResponses];
18486
+ type GetWalletInvoicesData = {
18487
+ body?: never;
18929
18488
  headers: {
18930
18489
  /**
18931
18490
  * Application ID for authentication and routing
18932
18491
  */
18933
18492
  "x-application-key": string;
18934
18493
  };
18935
- path: {
18936
- id: string;
18937
- };
18494
+ path?: never;
18938
18495
  query?: {
18939
18496
  /**
18940
18497
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -18947,9 +18504,9 @@ type PatchExtractionResultsByIdSaveCorrectionsData = {
18947
18504
  [key: string]: unknown;
18948
18505
  };
18949
18506
  };
18950
- url: "/extraction/results/{id}/save_corrections";
18507
+ url: "/wallet/invoices";
18951
18508
  };
18952
- type PatchExtractionResultsByIdSaveCorrectionsErrors = {
18509
+ type GetWalletInvoicesErrors = {
18953
18510
  /**
18954
18511
  * Bad Request - Invalid input data or malformed request
18955
18512
  */
@@ -18979,20 +18536,20 @@ type PatchExtractionResultsByIdSaveCorrectionsErrors = {
18979
18536
  */
18980
18537
  default: Errors;
18981
18538
  };
18982
- type PatchExtractionResultsByIdSaveCorrectionsError = PatchExtractionResultsByIdSaveCorrectionsErrors[keyof PatchExtractionResultsByIdSaveCorrectionsErrors];
18983
- type PatchExtractionResultsByIdSaveCorrectionsResponses = {
18539
+ type GetWalletInvoicesError = GetWalletInvoicesErrors[keyof GetWalletInvoicesErrors];
18540
+ type GetWalletInvoicesResponses = {
18984
18541
  /**
18985
18542
  * Success
18986
18543
  */
18987
18544
  200: {
18988
- data?: ExtractionResult;
18989
- included?: Array<unknown>;
18545
+ data?: Wallet;
18546
+ included?: Array<Plan>;
18990
18547
  meta?: {
18991
18548
  [key: string]: unknown;
18992
18549
  };
18993
18550
  };
18994
18551
  };
18995
- type PatchExtractionResultsByIdSaveCorrectionsResponse = PatchExtractionResultsByIdSaveCorrectionsResponses[keyof PatchExtractionResultsByIdSaveCorrectionsResponses];
18552
+ type GetWalletInvoicesResponse = GetWalletInvoicesResponses[keyof GetWalletInvoicesResponses];
18996
18553
  type PatchWorkspacesByIdStorageSettingsData = {
18997
18554
  /**
18998
18555
  * Request body for the /workspaces/:id/storage-settings operation on workspace resource
@@ -19541,6 +19098,75 @@ type PostAiGraphEdgesResponses = {
19541
19098
  };
19542
19099
  };
19543
19100
  type PostAiGraphEdgesResponse = PostAiGraphEdgesResponses[keyof PostAiGraphEdgesResponses];
19101
+ type GetAgentVersionRevisionsByIdData = {
19102
+ body?: never;
19103
+ headers: {
19104
+ /**
19105
+ * Application ID for authentication and routing
19106
+ */
19107
+ "x-application-key": string;
19108
+ };
19109
+ path: {
19110
+ id: string;
19111
+ };
19112
+ query?: {
19113
+ /**
19114
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19115
+ */
19116
+ include?: string;
19117
+ /**
19118
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19119
+ */
19120
+ fields?: {
19121
+ [key: string]: unknown;
19122
+ };
19123
+ };
19124
+ url: "/agent_version_revisions/{id}";
19125
+ };
19126
+ type GetAgentVersionRevisionsByIdErrors = {
19127
+ /**
19128
+ * Bad Request - Invalid input data or malformed request
19129
+ */
19130
+ 400: ErrorResponse;
19131
+ /**
19132
+ * Unauthorized - Missing or invalid authentication token
19133
+ */
19134
+ 401: ErrorResponse;
19135
+ /**
19136
+ * Forbidden - Authenticated but not authorized for this resource
19137
+ */
19138
+ 403: ErrorResponse;
19139
+ /**
19140
+ * Not Found - Resource does not exist
19141
+ */
19142
+ 404: ErrorResponse;
19143
+ /**
19144
+ * Too Many Requests - Rate limit exceeded
19145
+ */
19146
+ 429: ErrorResponse;
19147
+ /**
19148
+ * Internal Server Error - Unexpected server error
19149
+ */
19150
+ 500: ErrorResponse;
19151
+ /**
19152
+ * General Error
19153
+ */
19154
+ default: Errors;
19155
+ };
19156
+ type GetAgentVersionRevisionsByIdError = GetAgentVersionRevisionsByIdErrors[keyof GetAgentVersionRevisionsByIdErrors];
19157
+ type GetAgentVersionRevisionsByIdResponses = {
19158
+ /**
19159
+ * Success
19160
+ */
19161
+ 200: {
19162
+ data?: AgentVersionRevision;
19163
+ included?: Array<unknown>;
19164
+ meta?: {
19165
+ [key: string]: unknown;
19166
+ };
19167
+ };
19168
+ };
19169
+ type GetAgentVersionRevisionsByIdResponse = GetAgentVersionRevisionsByIdResponses[keyof GetAgentVersionRevisionsByIdResponses];
19544
19170
  type GetTrainingExamplesData = {
19545
19171
  body?: never;
19546
19172
  headers: {
@@ -19659,7 +19285,6 @@ type PostTrainingExamplesData = {
19659
19285
  * The type of document (e.g., 'Invoice', 'Receipt', 'Contract')
19660
19286
  */
19661
19287
  document_type?: string | unknown;
19662
- embedding?: unknown;
19663
19288
  /**
19664
19289
  * The field name that was corrected (e.g., 'customer_name', 'total_amount')
19665
19290
  */
@@ -20127,93 +19752,6 @@ type PostBucketsResponses = {
20127
19752
  };
20128
19753
  };
20129
19754
  type PostBucketsResponse = PostBucketsResponses[keyof PostBucketsResponses];
20130
- type PostPaymentMethodsTokenizeData = {
20131
- /**
20132
- * Request body for the /payment-methods/tokenize operation on payment_method resource
20133
- */
20134
- body: {
20135
- data: {
20136
- attributes?: {
20137
- card_number: string;
20138
- customer_id?: string | unknown;
20139
- cvc: string;
20140
- exp_month: number;
20141
- exp_year: number;
20142
- holder_name: string;
20143
- nickname?: string | unknown;
20144
- zip_code: string;
20145
- };
20146
- relationships?: {
20147
- [key: string]: never;
20148
- };
20149
- type?: "payment_method";
20150
- };
20151
- };
20152
- headers: {
20153
- /**
20154
- * Application ID for authentication and routing
20155
- */
20156
- "x-application-key": string;
20157
- };
20158
- path?: never;
20159
- query?: {
20160
- /**
20161
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
20162
- */
20163
- include?: string;
20164
- /**
20165
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
20166
- */
20167
- fields?: {
20168
- [key: string]: unknown;
20169
- };
20170
- };
20171
- url: "/payment-methods/tokenize";
20172
- };
20173
- type PostPaymentMethodsTokenizeErrors = {
20174
- /**
20175
- * Bad Request - Invalid input data or malformed request
20176
- */
20177
- 400: ErrorResponse;
20178
- /**
20179
- * Unauthorized - Missing or invalid authentication token
20180
- */
20181
- 401: ErrorResponse;
20182
- /**
20183
- * Forbidden - Authenticated but not authorized for this resource
20184
- */
20185
- 403: ErrorResponse;
20186
- /**
20187
- * Not Found - Resource does not exist
20188
- */
20189
- 404: ErrorResponse;
20190
- /**
20191
- * Too Many Requests - Rate limit exceeded
20192
- */
20193
- 429: ErrorResponse;
20194
- /**
20195
- * Internal Server Error - Unexpected server error
20196
- */
20197
- 500: ErrorResponse;
20198
- /**
20199
- * General Error
20200
- */
20201
- default: Errors;
20202
- };
20203
- type PostPaymentMethodsTokenizeError = PostPaymentMethodsTokenizeErrors[keyof PostPaymentMethodsTokenizeErrors];
20204
- type PostPaymentMethodsTokenizeResponses = {
20205
- /**
20206
- * Success
20207
- */
20208
- 201: {
20209
- data?: PaymentMethod;
20210
- included?: Array<unknown>;
20211
- meta?: {
20212
- [key: string]: unknown;
20213
- };
20214
- };
20215
- };
20216
- type PostPaymentMethodsTokenizeResponse = PostPaymentMethodsTokenizeResponses[keyof PostPaymentMethodsTokenizeResponses];
20217
19755
  type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData = {
20218
19756
  body?: never;
20219
19757
  headers: {
@@ -21417,6 +20955,7 @@ type PatchAgentsByIdData = {
21417
20955
  body?: {
21418
20956
  data: {
21419
20957
  attributes?: {
20958
+ change_summary?: string | unknown;
21420
20959
  default_instructions?: string | unknown;
21421
20960
  description?: string | unknown;
21422
20961
  domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
@@ -21428,7 +20967,6 @@ type PatchAgentsByIdData = {
21428
20967
  [key: string]: unknown;
21429
20968
  } | unknown;
21430
20969
  tags?: Array<string> | unknown;
21431
- version?: string | unknown;
21432
20970
  };
21433
20971
  id: string;
21434
20972
  relationships?: {
@@ -22651,10 +22189,6 @@ type PatchApplicationsByIdData = {
22651
22189
  invite_only?: boolean | unknown;
22652
22190
  logo_url?: string | unknown;
22653
22191
  name?: string | unknown;
22654
- /**
22655
- * OAuth configuration for this application
22656
- */
22657
- oauth?: ApplicationOauthInputUpdateType | unknown;
22658
22192
  /**
22659
22193
  * When true, password registration withholds JWT until email is verified
22660
22194
  */
@@ -22830,10 +22364,6 @@ type PatchExtractionDocumentsByIdVerificationData = {
22830
22364
  body?: {
22831
22365
  data: {
22832
22366
  attributes?: {
22833
- /**
22834
- * Average confidence score across all extracted fields (0.0 to 1.0)
22835
- */
22836
- avg_confidence?: number | unknown;
22837
22367
  last_verified_at?: unknown;
22838
22368
  /**
22839
22369
  * The review/verification state of the document
@@ -22997,6 +22527,93 @@ type PostThreadsByIdForkResponses = {
22997
22527
  };
22998
22528
  };
22999
22529
  type PostThreadsByIdForkResponse = PostThreadsByIdForkResponses[keyof PostThreadsByIdForkResponses];
22530
+ type PostExtractionDocumentsFindOrBeginUploadData = {
22531
+ /**
22532
+ * Request body for the /extraction/documents/find_or_begin_upload operation on extraction_document resource
22533
+ */
22534
+ body: {
22535
+ data: {
22536
+ attributes?: {
22537
+ batch_id?: string | unknown;
22538
+ content_type?: string | unknown;
22539
+ file_hash: string;
22540
+ file_size_bytes?: number | unknown;
22541
+ file_type?: string | unknown;
22542
+ filename: string;
22543
+ parent_document_id?: string | unknown;
22544
+ workspace_id: string;
22545
+ };
22546
+ relationships?: {
22547
+ [key: string]: never;
22548
+ };
22549
+ type?: "extraction_document";
22550
+ };
22551
+ };
22552
+ headers: {
22553
+ /**
22554
+ * Application ID for authentication and routing
22555
+ */
22556
+ "x-application-key": string;
22557
+ };
22558
+ path?: never;
22559
+ query?: {
22560
+ /**
22561
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22562
+ */
22563
+ include?: string;
22564
+ /**
22565
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22566
+ */
22567
+ fields?: {
22568
+ [key: string]: unknown;
22569
+ };
22570
+ };
22571
+ url: "/extraction/documents/find_or_begin_upload";
22572
+ };
22573
+ type PostExtractionDocumentsFindOrBeginUploadErrors = {
22574
+ /**
22575
+ * Bad Request - Invalid input data or malformed request
22576
+ */
22577
+ 400: ErrorResponse;
22578
+ /**
22579
+ * Unauthorized - Missing or invalid authentication token
22580
+ */
22581
+ 401: ErrorResponse;
22582
+ /**
22583
+ * Forbidden - Authenticated but not authorized for this resource
22584
+ */
22585
+ 403: ErrorResponse;
22586
+ /**
22587
+ * Not Found - Resource does not exist
22588
+ */
22589
+ 404: ErrorResponse;
22590
+ /**
22591
+ * Too Many Requests - Rate limit exceeded
22592
+ */
22593
+ 429: ErrorResponse;
22594
+ /**
22595
+ * Internal Server Error - Unexpected server error
22596
+ */
22597
+ 500: ErrorResponse;
22598
+ /**
22599
+ * General Error
22600
+ */
22601
+ default: Errors;
22602
+ };
22603
+ type PostExtractionDocumentsFindOrBeginUploadError = PostExtractionDocumentsFindOrBeginUploadErrors[keyof PostExtractionDocumentsFindOrBeginUploadErrors];
22604
+ type PostExtractionDocumentsFindOrBeginUploadResponses = {
22605
+ /**
22606
+ * Success
22607
+ */
22608
+ 201: {
22609
+ data?: ExtractionDocument;
22610
+ included?: Array<ExtractionResult>;
22611
+ meta?: {
22612
+ [key: string]: unknown;
22613
+ };
22614
+ };
22615
+ };
22616
+ type PostExtractionDocumentsFindOrBeginUploadResponse = PostExtractionDocumentsFindOrBeginUploadResponses[keyof PostExtractionDocumentsFindOrBeginUploadResponses];
23000
22617
  type GetTransactionsData = {
23001
22618
  body?: never;
23002
22619
  headers: {
@@ -26321,221 +25938,6 @@ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
26321
25938
  };
26322
25939
  };
26323
25940
  type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
26324
- type DeletePaymentMethodsByIdData = {
26325
- body?: never;
26326
- headers: {
26327
- /**
26328
- * Application ID for authentication and routing
26329
- */
26330
- "x-application-key": string;
26331
- };
26332
- path: {
26333
- id: string;
26334
- };
26335
- query?: {
26336
- /**
26337
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26338
- */
26339
- include?: string;
26340
- /**
26341
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26342
- */
26343
- fields?: {
26344
- [key: string]: unknown;
26345
- };
26346
- };
26347
- url: "/payment-methods/{id}";
26348
- };
26349
- type DeletePaymentMethodsByIdErrors = {
26350
- /**
26351
- * Bad Request - Invalid input data or malformed request
26352
- */
26353
- 400: ErrorResponse;
26354
- /**
26355
- * Unauthorized - Missing or invalid authentication token
26356
- */
26357
- 401: ErrorResponse;
26358
- /**
26359
- * Forbidden - Authenticated but not authorized for this resource
26360
- */
26361
- 403: ErrorResponse;
26362
- /**
26363
- * Not Found - Resource does not exist
26364
- */
26365
- 404: ErrorResponse;
26366
- /**
26367
- * Too Many Requests - Rate limit exceeded
26368
- */
26369
- 429: ErrorResponse;
26370
- /**
26371
- * Internal Server Error - Unexpected server error
26372
- */
26373
- 500: ErrorResponse;
26374
- /**
26375
- * General Error
26376
- */
26377
- default: Errors;
26378
- };
26379
- type DeletePaymentMethodsByIdError = DeletePaymentMethodsByIdErrors[keyof DeletePaymentMethodsByIdErrors];
26380
- type DeletePaymentMethodsByIdResponses = {
26381
- /**
26382
- * Deleted successfully
26383
- */
26384
- 200: unknown;
26385
- };
26386
- type GetPaymentMethodsByIdData = {
26387
- body?: never;
26388
- headers: {
26389
- /**
26390
- * Application ID for authentication and routing
26391
- */
26392
- "x-application-key": string;
26393
- };
26394
- path: {
26395
- id: string;
26396
- };
26397
- query?: {
26398
- /**
26399
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26400
- */
26401
- include?: string;
26402
- /**
26403
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26404
- */
26405
- fields?: {
26406
- [key: string]: unknown;
26407
- };
26408
- };
26409
- url: "/payment-methods/{id}";
26410
- };
26411
- type GetPaymentMethodsByIdErrors = {
26412
- /**
26413
- * Bad Request - Invalid input data or malformed request
26414
- */
26415
- 400: ErrorResponse;
26416
- /**
26417
- * Unauthorized - Missing or invalid authentication token
26418
- */
26419
- 401: ErrorResponse;
26420
- /**
26421
- * Forbidden - Authenticated but not authorized for this resource
26422
- */
26423
- 403: ErrorResponse;
26424
- /**
26425
- * Not Found - Resource does not exist
26426
- */
26427
- 404: ErrorResponse;
26428
- /**
26429
- * Too Many Requests - Rate limit exceeded
26430
- */
26431
- 429: ErrorResponse;
26432
- /**
26433
- * Internal Server Error - Unexpected server error
26434
- */
26435
- 500: ErrorResponse;
26436
- /**
26437
- * General Error
26438
- */
26439
- default: Errors;
26440
- };
26441
- type GetPaymentMethodsByIdError = GetPaymentMethodsByIdErrors[keyof GetPaymentMethodsByIdErrors];
26442
- type GetPaymentMethodsByIdResponses = {
26443
- /**
26444
- * Success
26445
- */
26446
- 200: {
26447
- data?: PaymentMethod;
26448
- included?: Array<unknown>;
26449
- meta?: {
26450
- [key: string]: unknown;
26451
- };
26452
- };
26453
- };
26454
- type GetPaymentMethodsByIdResponse = GetPaymentMethodsByIdResponses[keyof GetPaymentMethodsByIdResponses];
26455
- type PatchPaymentMethodsByIdData = {
26456
- /**
26457
- * Request body for the /payment-methods/:id operation on payment_method resource
26458
- */
26459
- body?: {
26460
- data: {
26461
- attributes?: {
26462
- is_default?: boolean | unknown;
26463
- nickname?: string | unknown;
26464
- };
26465
- id: string;
26466
- relationships?: {
26467
- [key: string]: never;
26468
- };
26469
- type?: "payment_method";
26470
- };
26471
- };
26472
- headers: {
26473
- /**
26474
- * Application ID for authentication and routing
26475
- */
26476
- "x-application-key": string;
26477
- };
26478
- path: {
26479
- id: string;
26480
- };
26481
- query?: {
26482
- /**
26483
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26484
- */
26485
- include?: string;
26486
- /**
26487
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26488
- */
26489
- fields?: {
26490
- [key: string]: unknown;
26491
- };
26492
- };
26493
- url: "/payment-methods/{id}";
26494
- };
26495
- type PatchPaymentMethodsByIdErrors = {
26496
- /**
26497
- * Bad Request - Invalid input data or malformed request
26498
- */
26499
- 400: ErrorResponse;
26500
- /**
26501
- * Unauthorized - Missing or invalid authentication token
26502
- */
26503
- 401: ErrorResponse;
26504
- /**
26505
- * Forbidden - Authenticated but not authorized for this resource
26506
- */
26507
- 403: ErrorResponse;
26508
- /**
26509
- * Not Found - Resource does not exist
26510
- */
26511
- 404: ErrorResponse;
26512
- /**
26513
- * Too Many Requests - Rate limit exceeded
26514
- */
26515
- 429: ErrorResponse;
26516
- /**
26517
- * Internal Server Error - Unexpected server error
26518
- */
26519
- 500: ErrorResponse;
26520
- /**
26521
- * General Error
26522
- */
26523
- default: Errors;
26524
- };
26525
- type PatchPaymentMethodsByIdError = PatchPaymentMethodsByIdErrors[keyof PatchPaymentMethodsByIdErrors];
26526
- type PatchPaymentMethodsByIdResponses = {
26527
- /**
26528
- * Success
26529
- */
26530
- 200: {
26531
- data?: PaymentMethod;
26532
- included?: Array<unknown>;
26533
- meta?: {
26534
- [key: string]: unknown;
26535
- };
26536
- };
26537
- };
26538
- type PatchPaymentMethodsByIdResponse = PatchPaymentMethodsByIdResponses[keyof PatchPaymentMethodsByIdResponses];
26539
25941
  type DeleteBucketsByIdData = {
26540
25942
  body?: never;
26541
25943
  headers: {
@@ -29224,88 +28626,20 @@ type PostNotificationMethodsErrors = {
29224
28626
  */
29225
28627
  default: Errors;
29226
28628
  };
29227
- type PostNotificationMethodsError = PostNotificationMethodsErrors[keyof PostNotificationMethodsErrors];
29228
- type PostNotificationMethodsResponses = {
29229
- /**
29230
- * Success
29231
- */
29232
- 201: {
29233
- data?: NotificationMethod;
29234
- included?: Array<unknown>;
29235
- meta?: {
29236
- [key: string]: unknown;
29237
- };
29238
- };
29239
- };
29240
- type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
29241
- type GetWalletPlanPreviewData = {
29242
- body?: never;
29243
- headers: {
29244
- /**
29245
- * Application ID for authentication and routing
29246
- */
29247
- "x-application-key": string;
29248
- };
29249
- path?: never;
29250
- query: {
29251
- /**
29252
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
29253
- */
29254
- include?: string;
29255
- /**
29256
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
29257
- */
29258
- fields?: {
29259
- [key: string]: unknown;
29260
- };
29261
- plan_slug: string;
29262
- };
29263
- url: "/wallet/plan/preview";
29264
- };
29265
- type GetWalletPlanPreviewErrors = {
29266
- /**
29267
- * Bad Request - Invalid input data or malformed request
29268
- */
29269
- 400: ErrorResponse;
29270
- /**
29271
- * Unauthorized - Missing or invalid authentication token
29272
- */
29273
- 401: ErrorResponse;
29274
- /**
29275
- * Forbidden - Authenticated but not authorized for this resource
29276
- */
29277
- 403: ErrorResponse;
29278
- /**
29279
- * Not Found - Resource does not exist
29280
- */
29281
- 404: ErrorResponse;
29282
- /**
29283
- * Too Many Requests - Rate limit exceeded
29284
- */
29285
- 429: ErrorResponse;
29286
- /**
29287
- * Internal Server Error - Unexpected server error
29288
- */
29289
- 500: ErrorResponse;
29290
- /**
29291
- * General Error
29292
- */
29293
- default: Errors;
29294
- };
29295
- type GetWalletPlanPreviewError = GetWalletPlanPreviewErrors[keyof GetWalletPlanPreviewErrors];
29296
- type GetWalletPlanPreviewResponses = {
28629
+ type PostNotificationMethodsError = PostNotificationMethodsErrors[keyof PostNotificationMethodsErrors];
28630
+ type PostNotificationMethodsResponses = {
29297
28631
  /**
29298
28632
  * Success
29299
28633
  */
29300
- 200: {
29301
- data?: Wallet;
29302
- included?: Array<Plan>;
28634
+ 201: {
28635
+ data?: NotificationMethod;
28636
+ included?: Array<unknown>;
29303
28637
  meta?: {
29304
28638
  [key: string]: unknown;
29305
28639
  };
29306
28640
  };
29307
28641
  };
29308
- type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
28642
+ type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
29309
28643
  type PostThreadsByIdSummarizeData = {
29310
28644
  /**
29311
28645
  * Request body for the /threads/:id/summarize operation on thread resource
@@ -29556,8 +28890,102 @@ type PatchApiKeysByIdRotateResponses = {
29556
28890
  };
29557
28891
  };
29558
28892
  type PatchApiKeysByIdRotateResponse = PatchApiKeysByIdRotateResponses[keyof PatchApiKeysByIdRotateResponses];
29559
- type GetExtractionResultsData = {
29560
- body?: never;
28893
+ type PostExtractionResultsData = {
28894
+ /**
28895
+ * Request body for the /extraction/results operation on extraction_result resource
28896
+ */
28897
+ body: {
28898
+ data: {
28899
+ attributes?: {
28900
+ /**
28901
+ * The Agent that performed this extraction
28902
+ */
28903
+ agent_id?: string | unknown;
28904
+ /**
28905
+ * The specific version of the Agent that performed this extraction
28906
+ */
28907
+ agent_version_id?: string | unknown;
28908
+ /**
28909
+ * Average confidence across all extracted fields
28910
+ */
28911
+ avg_confidence?: number | unknown;
28912
+ /**
28913
+ * Character count of extracted text
28914
+ */
28915
+ char_count?: number | unknown;
28916
+ /**
28917
+ * Overall classification confidence score
28918
+ */
28919
+ classification_confidence?: number | unknown;
28920
+ credits_used?: string | unknown;
28921
+ document_id: string;
28922
+ /**
28923
+ * Specific document type (Traffic Citation, Invoice, etc.)
28924
+ */
28925
+ document_type?: string | unknown;
28926
+ /**
28927
+ * Document domain (legal, financial, medical, etc.)
28928
+ */
28929
+ domain?: string | unknown;
28930
+ extracted_fields?: {
28931
+ [key: string]: unknown;
28932
+ } | unknown;
28933
+ extraction_mode?: "base" | "custom" | "hybrid" | unknown;
28934
+ /**
28935
+ * Image height in pixels (for image documents)
28936
+ */
28937
+ image_height?: number | unknown;
28938
+ /**
28939
+ * Image width in pixels (for image documents)
28940
+ */
28941
+ image_width?: number | unknown;
28942
+ /**
28943
+ * Line count of extracted text
28944
+ */
28945
+ line_count?: number | unknown;
28946
+ /**
28947
+ * LLM model used for extraction
28948
+ */
28949
+ llm_model?: string | unknown;
28950
+ /**
28951
+ * Municipality or agency name
28952
+ */
28953
+ municipality?: string | unknown;
28954
+ ocr_blocks?: Array<{
28955
+ [key: string]: unknown;
28956
+ }> | unknown;
28957
+ /**
28958
+ * OCR provider used (DocTriage, LlamaParse)
28959
+ */
28960
+ ocr_provider?: string | unknown;
28961
+ processing_time_ms?: number | unknown;
28962
+ schema_id?: string | unknown;
28963
+ /**
28964
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5')
28965
+ */
28966
+ schema_revision?: number | unknown;
28967
+ /**
28968
+ * The version of the schema/agent used for this extraction (e.g., 'v2')
28969
+ */
28970
+ schema_version?: string | unknown;
28971
+ /**
28972
+ * State code
28973
+ */
28974
+ state?: string | unknown;
28975
+ status?: "pending" | "completed" | "failed" | unknown;
28976
+ used_training_example_ids?: Array<string> | unknown;
28977
+ /**
28978
+ * Word count of extracted text
28979
+ */
28980
+ word_count?: number | unknown;
28981
+ workspace_id: string;
28982
+ };
28983
+ relationships?: {
28984
+ [key: string]: never;
28985
+ };
28986
+ type?: "extraction_result";
28987
+ };
28988
+ };
29561
28989
  headers: {
29562
28990
  /**
29563
28991
  * Application ID for authentication and routing
@@ -29566,16 +28994,6 @@ type GetExtractionResultsData = {
29566
28994
  };
29567
28995
  path?: never;
29568
28996
  query?: {
29569
- /**
29570
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
29571
- */
29572
- filter?: {
29573
- [key: string]: unknown;
29574
- };
29575
- /**
29576
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
29577
- */
29578
- sort?: string;
29579
28997
  /**
29580
28998
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
29581
28999
  */
@@ -29589,7 +29007,7 @@ type GetExtractionResultsData = {
29589
29007
  };
29590
29008
  url: "/extraction/results";
29591
29009
  };
29592
- type GetExtractionResultsErrors = {
29010
+ type PostExtractionResultsErrors = {
29593
29011
  /**
29594
29012
  * Bad Request - Invalid input data or malformed request
29595
29013
  */
@@ -29619,23 +29037,20 @@ type GetExtractionResultsErrors = {
29619
29037
  */
29620
29038
  default: Errors;
29621
29039
  };
29622
- type GetExtractionResultsError = GetExtractionResultsErrors[keyof GetExtractionResultsErrors];
29623
- type GetExtractionResultsResponses = {
29040
+ type PostExtractionResultsError = PostExtractionResultsErrors[keyof PostExtractionResultsErrors];
29041
+ type PostExtractionResultsResponses = {
29624
29042
  /**
29625
29043
  * Success
29626
29044
  */
29627
- 200: {
29628
- /**
29629
- * An array of resource objects representing a extraction_result
29630
- */
29631
- data?: Array<ExtractionResult>;
29045
+ 201: {
29046
+ data?: ExtractionResult;
29632
29047
  included?: Array<unknown>;
29633
29048
  meta?: {
29634
29049
  [key: string]: unknown;
29635
29050
  };
29636
29051
  };
29637
29052
  };
29638
- type GetExtractionResultsResponse = GetExtractionResultsResponses[keyof GetExtractionResultsResponses];
29053
+ type PostExtractionResultsResponse = PostExtractionResultsResponses[keyof PostExtractionResultsResponses];
29639
29054
  type PostAgentsByIdCloneData = {
29640
29055
  /**
29641
29056
  * Request body for the /agents/:id/clone operation on agent resource
@@ -30930,71 +30345,7 @@ type PostAgentsByIdPublishVersionResponses = {
30930
30345
  * Success
30931
30346
  */
30932
30347
  201: {
30933
- /**
30934
- * A "Resource object" representing a agent
30935
- */
30936
- data?: {
30937
- /**
30938
- * An attributes object for a agent
30939
- */
30940
- attributes?: {
30941
- cloned_from_id?: string | null | unknown;
30942
- default_instructions?: string | null | unknown;
30943
- description?: string | null | unknown;
30944
- domain: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility";
30945
- instructions?: string | null | unknown;
30946
- is_system: boolean;
30947
- name: string;
30948
- prompt_template: string;
30949
- schema_definition: {
30950
- [key: string]: unknown;
30951
- };
30952
- tags: Array<string>;
30953
- /**
30954
- * Denormalized from workspace for unique name constraint
30955
- */
30956
- tenant_id?: string | null | unknown;
30957
- test_result?: {
30958
- [key: string]: unknown;
30959
- } | null | unknown;
30960
- validation_result?: {
30961
- [key: string]: unknown;
30962
- } | null | unknown;
30963
- version: string;
30964
- workspace_id?: string | null | unknown;
30965
- };
30966
- id: string;
30967
- /**
30968
- * A relationships object for a agent
30969
- */
30970
- relationships?: {
30971
- versions?: {
30972
- /**
30973
- * Relationship data for versions
30974
- */
30975
- data?: Array<{
30976
- id: string;
30977
- meta?: {
30978
- [key: string]: unknown;
30979
- };
30980
- type: string;
30981
- }>;
30982
- };
30983
- workspace?: {
30984
- /**
30985
- * An identifier for workspace
30986
- */
30987
- data?: {
30988
- id: string;
30989
- meta?: {
30990
- [key: string]: unknown;
30991
- };
30992
- type: string;
30993
- } | null;
30994
- };
30995
- };
30996
- type: string;
30997
- };
30348
+ data?: Agent;
30998
30349
  included?: Array<AgentVersion>;
30999
30350
  meta?: {
31000
30351
  [key: string]: unknown;
@@ -32303,12 +31654,15 @@ type PostAgentsData = {
32303
31654
  schema_definition?: {
32304
31655
  [key: string]: unknown;
32305
31656
  } | unknown;
31657
+ /**
31658
+ * Version number of the base agent at clone time (e.g., 'v2'). Nil for base agents.
31659
+ */
31660
+ source_version?: string | unknown;
32306
31661
  tags?: Array<string> | unknown;
32307
31662
  /**
32308
31663
  * Denormalized from workspace for unique name constraint
32309
31664
  */
32310
31665
  tenant_id?: string | unknown;
32311
- version?: string | unknown;
32312
31666
  workspace_id?: string | unknown;
32313
31667
  };
32314
31668
  relationships?: {
@@ -32368,188 +31722,85 @@ type PostAgentsErrors = {
32368
31722
  */
32369
31723
  default: Errors;
32370
31724
  };
32371
- type PostAgentsError = PostAgentsErrors[keyof PostAgentsErrors];
32372
- type PostAgentsResponses = {
32373
- /**
32374
- * Success
32375
- */
32376
- 201: {
32377
- data?: Agent;
32378
- included?: Array<AgentVersion>;
32379
- meta?: {
32380
- [key: string]: unknown;
32381
- };
32382
- };
32383
- };
32384
- type PostAgentsResponse = PostAgentsResponses[keyof PostAgentsResponses];
32385
- type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData = {
32386
- body?: never;
32387
- headers: {
32388
- /**
32389
- * Application ID for authentication and routing
32390
- */
32391
- "x-application-key": string;
32392
- };
32393
- path: {
32394
- slug: string;
32395
- application_id: string;
32396
- };
32397
- query?: {
32398
- /**
32399
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32400
- */
32401
- include?: string;
32402
- /**
32403
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32404
- */
32405
- fields?: {
32406
- [key: string]: unknown;
32407
- };
32408
- };
32409
- url: "/applications/{application_id}/email-templates/{slug}";
32410
- };
32411
- type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32412
- /**
32413
- * Bad Request - Invalid input data or malformed request
32414
- */
32415
- 400: ErrorResponse;
32416
- /**
32417
- * Unauthorized - Missing or invalid authentication token
32418
- */
32419
- 401: ErrorResponse;
32420
- /**
32421
- * Forbidden - Authenticated but not authorized for this resource
32422
- */
32423
- 403: ErrorResponse;
32424
- /**
32425
- * Not Found - Resource does not exist
32426
- */
32427
- 404: ErrorResponse;
32428
- /**
32429
- * Too Many Requests - Rate limit exceeded
32430
- */
32431
- 429: ErrorResponse;
32432
- /**
32433
- * Internal Server Error - Unexpected server error
32434
- */
32435
- 500: ErrorResponse;
32436
- /**
32437
- * General Error
32438
- */
32439
- default: Errors;
32440
- };
32441
- type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError = DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors];
32442
- type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32443
- /**
32444
- * Deleted successfully
32445
- */
32446
- 200: unknown;
32447
- };
32448
- type GetApplicationsByApplicationIdEmailTemplatesBySlugData = {
32449
- body?: never;
32450
- headers: {
32451
- /**
32452
- * Application ID for authentication and routing
32453
- */
32454
- "x-application-key": string;
32455
- };
32456
- path: {
32457
- slug: string;
32458
- application_id: string;
32459
- };
32460
- query?: {
32461
- /**
32462
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32463
- */
32464
- include?: string;
32465
- /**
32466
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32467
- */
32468
- fields?: {
32469
- [key: string]: unknown;
32470
- };
32471
- };
32472
- url: "/applications/{application_id}/email-templates/{slug}";
32473
- };
32474
- type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32475
- /**
32476
- * Bad Request - Invalid input data or malformed request
32477
- */
32478
- 400: ErrorResponse;
32479
- /**
32480
- * Unauthorized - Missing or invalid authentication token
32481
- */
32482
- 401: ErrorResponse;
32483
- /**
32484
- * Forbidden - Authenticated but not authorized for this resource
32485
- */
32486
- 403: ErrorResponse;
32487
- /**
32488
- * Not Found - Resource does not exist
32489
- */
32490
- 404: ErrorResponse;
32491
- /**
32492
- * Too Many Requests - Rate limit exceeded
32493
- */
32494
- 429: ErrorResponse;
32495
- /**
32496
- * Internal Server Error - Unexpected server error
32497
- */
32498
- 500: ErrorResponse;
32499
- /**
32500
- * General Error
32501
- */
32502
- default: Errors;
32503
- };
32504
- type GetApplicationsByApplicationIdEmailTemplatesBySlugError = GetApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugErrors];
32505
- type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31725
+ type PostAgentsError = PostAgentsErrors[keyof PostAgentsErrors];
31726
+ type PostAgentsResponses = {
32506
31727
  /**
32507
31728
  * Success
32508
31729
  */
32509
- 200: {
32510
- data?: EmailTemplate;
32511
- included?: Array<unknown>;
31730
+ 201: {
31731
+ data?: Agent;
31732
+ included?: Array<AgentVersion>;
32512
31733
  meta?: {
32513
31734
  [key: string]: unknown;
32514
31735
  };
32515
31736
  };
32516
31737
  };
32517
- type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse = GetApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32518
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
32519
- /**
32520
- * Request body for the /applications/:application_id/email-templates/:slug operation on email_template resource
32521
- */
32522
- body?: {
32523
- data: {
32524
- attributes?: {
32525
- /**
32526
- * Email body in markdown (supports {{variable}} interpolation)
32527
- */
32528
- body_markdown?: string | unknown;
32529
- /**
32530
- * Whether this email is sent
32531
- */
32532
- enabled?: boolean | unknown;
32533
- /**
32534
- * Display name for the template
32535
- */
32536
- name?: string | unknown;
32537
- /**
32538
- * Primary brand color for email styling (hex)
32539
- */
32540
- primary_color?: string | unknown;
32541
- /**
32542
- * Email subject line (supports {{variable}} interpolation)
32543
- */
32544
- subject?: string | unknown;
32545
- };
32546
- id: string;
32547
- relationships?: {
32548
- [key: string]: never;
32549
- };
32550
- type?: "email_template";
31738
+ type PostAgentsResponse = PostAgentsResponses[keyof PostAgentsResponses];
31739
+ type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData = {
31740
+ body?: never;
31741
+ headers: {
31742
+ /**
31743
+ * Application ID for authentication and routing
31744
+ */
31745
+ "x-application-key": string;
31746
+ };
31747
+ path: {
31748
+ slug: string;
31749
+ application_id: string;
31750
+ };
31751
+ query?: {
31752
+ /**
31753
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
31754
+ */
31755
+ include?: string;
31756
+ /**
31757
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
31758
+ */
31759
+ fields?: {
31760
+ [key: string]: unknown;
32551
31761
  };
32552
31762
  };
31763
+ url: "/applications/{application_id}/email-templates/{slug}";
31764
+ };
31765
+ type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
31766
+ /**
31767
+ * Bad Request - Invalid input data or malformed request
31768
+ */
31769
+ 400: ErrorResponse;
31770
+ /**
31771
+ * Unauthorized - Missing or invalid authentication token
31772
+ */
31773
+ 401: ErrorResponse;
31774
+ /**
31775
+ * Forbidden - Authenticated but not authorized for this resource
31776
+ */
31777
+ 403: ErrorResponse;
31778
+ /**
31779
+ * Not Found - Resource does not exist
31780
+ */
31781
+ 404: ErrorResponse;
31782
+ /**
31783
+ * Too Many Requests - Rate limit exceeded
31784
+ */
31785
+ 429: ErrorResponse;
31786
+ /**
31787
+ * Internal Server Error - Unexpected server error
31788
+ */
31789
+ 500: ErrorResponse;
31790
+ /**
31791
+ * General Error
31792
+ */
31793
+ default: Errors;
31794
+ };
31795
+ type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError = DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors];
31796
+ type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31797
+ /**
31798
+ * Deleted successfully
31799
+ */
31800
+ 200: unknown;
31801
+ };
31802
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugData = {
31803
+ body?: never;
32553
31804
  headers: {
32554
31805
  /**
32555
31806
  * Application ID for authentication and routing
@@ -32574,7 +31825,7 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
32574
31825
  };
32575
31826
  url: "/applications/{application_id}/email-templates/{slug}";
32576
31827
  };
32577
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
31828
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32578
31829
  /**
32579
31830
  * Bad Request - Invalid input data or malformed request
32580
31831
  */
@@ -32604,8 +31855,8 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32604
31855
  */
32605
31856
  default: Errors;
32606
31857
  };
32607
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugError = PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors];
32608
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31858
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugError = GetApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugErrors];
31859
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32609
31860
  /**
32610
31861
  * Success
32611
31862
  */
@@ -32617,21 +31868,40 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32617
31868
  };
32618
31869
  };
32619
31870
  };
32620
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32621
- type PatchPaymentMethodsByIdDefaultData = {
31871
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse = GetApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugResponses];
31872
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
32622
31873
  /**
32623
- * Request body for the /payment-methods/:id/default operation on payment_method resource
31874
+ * Request body for the /applications/:application_id/email-templates/:slug operation on email_template resource
32624
31875
  */
32625
31876
  body?: {
32626
31877
  data: {
32627
31878
  attributes?: {
32628
- [key: string]: never;
31879
+ /**
31880
+ * Email body in markdown (supports {{variable}} interpolation)
31881
+ */
31882
+ body_markdown?: string | unknown;
31883
+ /**
31884
+ * Whether this email is sent
31885
+ */
31886
+ enabled?: boolean | unknown;
31887
+ /**
31888
+ * Display name for the template
31889
+ */
31890
+ name?: string | unknown;
31891
+ /**
31892
+ * Primary brand color for email styling (hex)
31893
+ */
31894
+ primary_color?: string | unknown;
31895
+ /**
31896
+ * Email subject line (supports {{variable}} interpolation)
31897
+ */
31898
+ subject?: string | unknown;
32629
31899
  };
32630
31900
  id: string;
32631
31901
  relationships?: {
32632
31902
  [key: string]: never;
32633
31903
  };
32634
- type?: "payment_method";
31904
+ type?: "email_template";
32635
31905
  };
32636
31906
  };
32637
31907
  headers: {
@@ -32641,7 +31911,8 @@ type PatchPaymentMethodsByIdDefaultData = {
32641
31911
  "x-application-key": string;
32642
31912
  };
32643
31913
  path: {
32644
- id: string;
31914
+ slug: string;
31915
+ application_id: string;
32645
31916
  };
32646
31917
  query?: {
32647
31918
  /**
@@ -32655,9 +31926,9 @@ type PatchPaymentMethodsByIdDefaultData = {
32655
31926
  [key: string]: unknown;
32656
31927
  };
32657
31928
  };
32658
- url: "/payment-methods/{id}/default";
31929
+ url: "/applications/{application_id}/email-templates/{slug}";
32659
31930
  };
32660
- type PatchPaymentMethodsByIdDefaultErrors = {
31931
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32661
31932
  /**
32662
31933
  * Bad Request - Invalid input data or malformed request
32663
31934
  */
@@ -32687,20 +31958,20 @@ type PatchPaymentMethodsByIdDefaultErrors = {
32687
31958
  */
32688
31959
  default: Errors;
32689
31960
  };
32690
- type PatchPaymentMethodsByIdDefaultError = PatchPaymentMethodsByIdDefaultErrors[keyof PatchPaymentMethodsByIdDefaultErrors];
32691
- type PatchPaymentMethodsByIdDefaultResponses = {
31961
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugError = PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors];
31962
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32692
31963
  /**
32693
31964
  * Success
32694
31965
  */
32695
31966
  200: {
32696
- data?: PaymentMethod;
31967
+ data?: EmailTemplate;
32697
31968
  included?: Array<unknown>;
32698
31969
  meta?: {
32699
31970
  [key: string]: unknown;
32700
31971
  };
32701
31972
  };
32702
31973
  };
32703
- type PatchPaymentMethodsByIdDefaultResponse = PatchPaymentMethodsByIdDefaultResponses[keyof PatchPaymentMethodsByIdDefaultResponses];
31974
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32704
31975
  type PostAgentsByIdExportData = {
32705
31976
  body?: never;
32706
31977
  headers: {
@@ -34108,26 +33379,6 @@ declare const getWorkspaces: <ThrowOnError extends boolean = false>(options: Opt
34108
33379
  *
34109
33380
  */
34110
33381
  declare const postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
34111
- /**
34112
- * List payment methods
34113
- *
34114
- * Lists resources with optional filtering, sorting, and pagination.
34115
- *
34116
- * **Authentication:** Required - Bearer token or API key
34117
- * **Rate Limit:** 100 requests per minute
34118
- *
34119
- */
34120
- declare const getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
34121
- /**
34122
- * Create payment methods
34123
- *
34124
- * Creates a new resource. Returns the created resource with generated ID.
34125
- *
34126
- * **Authentication:** Required - Bearer token or API key
34127
- * **Rate Limit:** 100 requests per minute
34128
- *
34129
- */
34130
- declare const postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
34131
33382
  /**
34132
33383
  * Get stats
34133
33384
  *
@@ -34402,6 +33653,16 @@ declare const getConfigs: <ThrowOnError extends boolean = false>(options: Option
34402
33653
  *
34403
33654
  */
34404
33655
  declare const postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
33656
+ /**
33657
+ * Get revisions
33658
+ *
33659
+ * Retrieves a single resource by ID.
33660
+ *
33661
+ * **Authentication:** Required - Bearer token or API key
33662
+ * **Rate Limit:** 100 requests per minute
33663
+ *
33664
+ */
33665
+ declare const getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
34405
33666
  /**
34406
33667
  * Update auto top up
34407
33668
  *
@@ -34536,6 +33797,12 @@ declare const postApplicationsByApplicationIdEmailTemplates: <ThrowOnError exten
34536
33797
  * Get workspaces that own or use all accessible agents (batch endpoint, max 500 agents)
34537
33798
  */
34538
33799
  declare const getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
33800
+ /**
33801
+ * Update populate hashes
33802
+ *
33803
+ * Enqueue background job to compute file_hash for documents missing it
33804
+ */
33805
+ declare const patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
34539
33806
  /**
34540
33807
  * Update set primary
34541
33808
  *
@@ -34878,16 +34145,6 @@ declare const deleteUsersById: <ThrowOnError extends boolean = false>(options: O
34878
34145
  *
34879
34146
  */
34880
34147
  declare const getUsersById: <ThrowOnError extends boolean = false>(options: Options<GetUsersByIdData, ThrowOnError>) => RequestResult<GetUsersByIdResponses, GetUsersByIdErrors, ThrowOnError, "fields">;
34881
- /**
34882
- * Delete results
34883
- *
34884
- * Deletes a resource permanently. This action cannot be undone.
34885
- *
34886
- * **Authentication:** Required - Bearer token or API key
34887
- * **Rate Limit:** 100 requests per minute
34888
- *
34889
- */
34890
- declare const deleteExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionResultsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionResultsByIdResponses, DeleteExtractionResultsByIdErrors, ThrowOnError, "fields">;
34891
34148
  /**
34892
34149
  * Get results
34893
34150
  *
@@ -34898,16 +34155,6 @@ declare const deleteExtractionResultsById: <ThrowOnError extends boolean = false
34898
34155
  *
34899
34156
  */
34900
34157
  declare const getExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsByIdData, ThrowOnError>) => RequestResult<GetExtractionResultsByIdResponses, GetExtractionResultsByIdErrors, ThrowOnError, "fields">;
34901
- /**
34902
- * Update results
34903
- *
34904
- * Updates specific fields of an existing resource.
34905
- *
34906
- * **Authentication:** Required - Bearer token or API key
34907
- * **Rate Limit:** 100 requests per minute
34908
- *
34909
- */
34910
- declare const patchExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdResponses, PatchExtractionResultsByIdErrors, ThrowOnError, "fields">;
34911
34158
  /**
34912
34159
  * List stats
34913
34160
  *
@@ -35454,6 +34701,16 @@ declare const patchInvitationsByIdDecline: <ThrowOnError extends boolean = false
35454
34701
  *
35455
34702
  */
35456
34703
  declare const postExtractionDocumentsUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsUploadResponses, PostExtractionDocumentsUploadErrors, ThrowOnError, "fields">;
34704
+ /**
34705
+ * Update corrections
34706
+ *
34707
+ * Updates specific fields of an existing resource.
34708
+ *
34709
+ * **Authentication:** Required - Bearer token or API key
34710
+ * **Rate Limit:** 100 requests per minute
34711
+ *
34712
+ */
34713
+ declare const patchExtractionResultsByIdCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdCorrectionsResponses, PatchExtractionResultsByIdCorrectionsErrors, ThrowOnError, "fields">;
35457
34714
  /**
35458
34715
  * Update verify
35459
34716
  *
@@ -35543,23 +34800,9 @@ declare const postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = fals
35543
34800
  /**
35544
34801
  * List invoices
35545
34802
  *
35546
- * Lists resources with optional filtering, sorting, and pagination.
35547
- *
35548
- * **Authentication:** Required - Bearer token or API key
35549
- * **Rate Limit:** 100 requests per minute
35550
- *
34803
+ * Get billing invoices/history for the current tenant
35551
34804
  */
35552
34805
  declare const getWalletInvoices: <ThrowOnError extends boolean = false>(options: Options<GetWalletInvoicesData, ThrowOnError>) => RequestResult<GetWalletInvoicesResponses, GetWalletInvoicesErrors, ThrowOnError, "fields">;
35553
- /**
35554
- * Update save corrections
35555
- *
35556
- * Updates specific fields of an existing resource.
35557
- *
35558
- * **Authentication:** Required - Bearer token or API key
35559
- * **Rate Limit:** 100 requests per minute
35560
- *
35561
- */
35562
- declare const patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
35563
34806
  /**
35564
34807
  * Update storage settings
35565
34808
  *
@@ -35626,6 +34869,16 @@ declare const getAiGraphEdges: <ThrowOnError extends boolean = false>(options: O
35626
34869
  *
35627
34870
  */
35628
34871
  declare const postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
34872
+ /**
34873
+ * Get agent version revisions
34874
+ *
34875
+ * Retrieves a single resource by ID.
34876
+ *
34877
+ * **Authentication:** Required - Bearer token or API key
34878
+ * **Rate Limit:** 100 requests per minute
34879
+ *
34880
+ */
34881
+ declare const getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
35629
34882
  /**
35630
34883
  * List training examples
35631
34884
  *
@@ -35684,12 +34937,6 @@ declare const getBuckets: <ThrowOnError extends boolean = false>(options: Option
35684
34937
  *
35685
34938
  */
35686
34939
  declare const postBuckets: <ThrowOnError extends boolean = false>(options: Options<PostBucketsData, ThrowOnError>) => RequestResult<PostBucketsResponses, PostBucketsErrors, ThrowOnError, "fields">;
35687
- /**
35688
- * Create tokenize
35689
- *
35690
- * Create a payment method via direct proxy tokenization (S2S)
35691
- */
35692
- declare const postPaymentMethodsTokenize: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsTokenizeData, ThrowOnError>) => RequestResult<PostPaymentMethodsTokenizeResponses, PostPaymentMethodsTokenizeErrors, ThrowOnError, "fields">;
35693
34940
  /**
35694
34941
  * Get mapping
35695
34942
  *
@@ -36014,6 +35261,16 @@ declare const patchExtractionDocumentsByIdVerification: <ThrowOnError extends bo
36014
35261
  * Fork a thread by cloning it with all its messages
36015
35262
  */
36016
35263
  declare const postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
35264
+ /**
35265
+ * Create find or begin upload
35266
+ *
35267
+ * Creates a new resource. Returns the created resource with generated ID.
35268
+ *
35269
+ * **Authentication:** Required - Bearer token or API key
35270
+ * **Rate Limit:** 100 requests per minute
35271
+ *
35272
+ */
35273
+ declare const postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
36017
35274
  /**
36018
35275
  * List transactions
36019
35276
  *
@@ -36374,36 +35631,6 @@ declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(o
36374
35631
  * Activate a specific schema version
36375
35632
  */
36376
35633
  declare const postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
36377
- /**
36378
- * Delete payment methods
36379
- *
36380
- * Deletes a resource permanently. This action cannot be undone.
36381
- *
36382
- * **Authentication:** Required - Bearer token or API key
36383
- * **Rate Limit:** 100 requests per minute
36384
- *
36385
- */
36386
- declare const deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
36387
- /**
36388
- * Get payment methods
36389
- *
36390
- * Retrieves a single resource by ID.
36391
- *
36392
- * **Authentication:** Required - Bearer token or API key
36393
- * **Rate Limit:** 100 requests per minute
36394
- *
36395
- */
36396
- declare const getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
36397
- /**
36398
- * Update payment methods
36399
- *
36400
- * Updates specific fields of an existing resource.
36401
- *
36402
- * **Authentication:** Required - Bearer token or API key
36403
- * **Rate Limit:** 100 requests per minute
36404
- *
36405
- */
36406
- declare const patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
36407
35634
  /**
36408
35635
  * Delete buckets
36409
35636
  *
@@ -36716,12 +35943,6 @@ declare const getNotificationMethods: <ThrowOnError extends boolean = false>(opt
36716
35943
  *
36717
35944
  */
36718
35945
  declare const postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
36719
- /**
36720
- * List preview
36721
- *
36722
- * Preview the cost and effective date of a plan change
36723
- */
36724
- declare const getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
36725
35946
  /**
36726
35947
  * Create summarize
36727
35948
  *
@@ -36753,15 +35974,15 @@ declare const patchConfigsByKey: <ThrowOnError extends boolean = false>(options:
36753
35974
  */
36754
35975
  declare const patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
36755
35976
  /**
36756
- * List results
35977
+ * Create results
36757
35978
  *
36758
- * Lists resources with optional filtering, sorting, and pagination.
35979
+ * Creates a new resource. Returns the created resource with generated ID.
36759
35980
  *
36760
35981
  * **Authentication:** Required - Bearer token or API key
36761
35982
  * **Rate Limit:** 100 requests per minute
36762
35983
  *
36763
35984
  */
36764
- declare const getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
35985
+ declare const postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
36765
35986
  /**
36766
35987
  * Create clone
36767
35988
  *
@@ -37114,12 +36335,6 @@ declare const getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError
37114
36335
  *
37115
36336
  */
37116
36337
  declare const patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37117
- /**
37118
- * Update default
37119
- *
37120
- * Set this payment method as default for the customer
37121
- */
37122
- declare const patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
37123
36338
  /**
37124
36339
  * Create export
37125
36340
  *
@@ -37272,11 +36487,14 @@ declare class ValidationError extends GptCoreError {
37272
36487
  readonly errors?: Array<{
37273
36488
  field?: string;
37274
36489
  message: string;
36490
+ meta?: Record<string, any>;
37275
36491
  }>;
36492
+ readonly meta?: Record<string, any>;
37276
36493
  constructor(message?: string, errors?: Array<{
37277
36494
  field?: string;
37278
36495
  message: string;
37279
- }>, options?: ConstructorParameters<typeof GptCoreError>[1]);
36496
+ meta?: Record<string, any>;
36497
+ }>, meta?: Record<string, any>, options?: ConstructorParameters<typeof GptCoreError>[1]);
37280
36498
  }
37281
36499
  /**
37282
36500
  * Rate limiting errors (429)
@@ -37584,8 +36802,6 @@ declare const gptCore: {
37584
36802
  getApplicationsCurrent: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsCurrentData, ThrowOnError>) => RequestResult<GetApplicationsCurrentResponses, GetApplicationsCurrentErrors, ThrowOnError, "fields">;
37585
36803
  getWorkspaces: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesData, ThrowOnError>) => RequestResult<GetWorkspacesResponses, GetWorkspacesErrors, ThrowOnError, "fields">;
37586
36804
  postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
37587
- getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
37588
- postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
37589
36805
  getAgentsByIdStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdStatsResponses, GetAgentsByIdStatsErrors, ThrowOnError, "fields">;
37590
36806
  getDocumentsStats: <ThrowOnError extends boolean = false>(options: Options<GetDocumentsStatsData, ThrowOnError>) => RequestResult<GetDocumentsStatsResponses, GetDocumentsStatsErrors, ThrowOnError, "fields">;
37591
36807
  patchExtractionDocumentsByIdDismiss: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdDismissData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdDismissResponses, PatchExtractionDocumentsByIdDismissErrors, ThrowOnError, "fields">;
@@ -37617,6 +36833,7 @@ declare const gptCore: {
37617
36833
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, ThrowOnError, "fields">;
37618
36834
  getConfigs: <ThrowOnError extends boolean = false>(options: Options<GetConfigsData, ThrowOnError>) => RequestResult<GetConfigsResponses, GetConfigsErrors, ThrowOnError, "fields">;
37619
36835
  postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
36836
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
37620
36837
  patchWalletAutoTopUp: <ThrowOnError extends boolean = false>(options: Options<PatchWalletAutoTopUpData, ThrowOnError>) => RequestResult<PatchWalletAutoTopUpResponses, PatchWalletAutoTopUpErrors, ThrowOnError, "fields">;
37621
36838
  postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
37622
36839
  patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
@@ -37634,6 +36851,7 @@ declare const gptCore: {
37634
36851
  getApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesResponses, GetApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
37635
36852
  postApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<PostApplicationsByApplicationIdEmailTemplatesResponses, PostApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
37636
36853
  getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
36854
+ patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
37637
36855
  patchNotificationMethodsByIdSetPrimary: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSetPrimaryData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSetPrimaryResponses, PatchNotificationMethodsByIdSetPrimaryErrors, ThrowOnError, "fields">;
37638
36856
  getBucketsByIdObjects: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdObjectsData, ThrowOnError>) => RequestResult<GetBucketsByIdObjectsResponses, GetBucketsByIdObjectsErrors, ThrowOnError, "fields">;
37639
36857
  patchInvitationsByIdResend: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdResendData, ThrowOnError>) => RequestResult<PatchInvitationsByIdResendResponses, PatchInvitationsByIdResendErrors, ThrowOnError, "fields">;
@@ -37671,9 +36889,7 @@ declare const gptCore: {
37671
36889
  getCreditPackagesById: <ThrowOnError extends boolean = false>(options: Options<GetCreditPackagesByIdData, ThrowOnError>) => RequestResult<GetCreditPackagesByIdResponses, GetCreditPackagesByIdErrors, ThrowOnError, "fields">;
37672
36890
  deleteUsersById: <ThrowOnError extends boolean = false>(options: Options<DeleteUsersByIdData, ThrowOnError>) => RequestResult<DeleteUsersByIdResponses, DeleteUsersByIdErrors, ThrowOnError, "fields">;
37673
36891
  getUsersById: <ThrowOnError extends boolean = false>(options: Options<GetUsersByIdData, ThrowOnError>) => RequestResult<GetUsersByIdResponses, GetUsersByIdErrors, ThrowOnError, "fields">;
37674
- deleteExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionResultsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionResultsByIdResponses, DeleteExtractionResultsByIdErrors, ThrowOnError, "fields">;
37675
36892
  getExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsByIdData, ThrowOnError>) => RequestResult<GetExtractionResultsByIdResponses, GetExtractionResultsByIdErrors, ThrowOnError, "fields">;
37676
- patchExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdResponses, PatchExtractionResultsByIdErrors, ThrowOnError, "fields">;
37677
36893
  getWebhookDeliveriesStats: <ThrowOnError extends boolean = false>(options: Options<GetWebhookDeliveriesStatsData, ThrowOnError>) => RequestResult<GetWebhookDeliveriesStatsResponses, GetWebhookDeliveriesStatsErrors, ThrowOnError, "fields">;
37678
36894
  postAgentsByIdValidate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdValidateData, ThrowOnError>) => RequestResult<PostAgentsByIdValidateResponses, PostAgentsByIdValidateErrors, ThrowOnError, "fields">;
37679
36895
  postWebhookConfigsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsByIdTestData, ThrowOnError>) => RequestResult<PostWebhookConfigsByIdTestResponses, PostWebhookConfigsByIdTestErrors, ThrowOnError, "fields">;
@@ -37737,6 +36953,7 @@ declare const gptCore: {
37737
36953
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, ThrowOnError, "fields">;
37738
36954
  patchInvitationsByIdDecline: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdDeclineData, ThrowOnError>) => RequestResult<PatchInvitationsByIdDeclineResponses, PatchInvitationsByIdDeclineErrors, ThrowOnError, "fields">;
37739
36955
  postExtractionDocumentsUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsUploadResponses, PostExtractionDocumentsUploadErrors, ThrowOnError, "fields">;
36956
+ patchExtractionResultsByIdCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdCorrectionsResponses, PatchExtractionResultsByIdCorrectionsErrors, ThrowOnError, "fields">;
37740
36957
  patchNotificationMethodsByIdVerify: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdVerifyData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdVerifyResponses, PatchNotificationMethodsByIdVerifyErrors, ThrowOnError, "fields">;
37741
36958
  getExtractionResultsDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetExtractionResultsDocumentByDocumentIdResponses, GetExtractionResultsDocumentByDocumentIdErrors, ThrowOnError, "fields">;
37742
36959
  patchUserProfilesByIdDismissAnnouncement: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdDismissAnnouncementData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdDismissAnnouncementResponses, PatchUserProfilesByIdDismissAnnouncementErrors, ThrowOnError, "fields">;
@@ -37747,7 +36964,6 @@ declare const gptCore: {
37747
36964
  postTenants: <ThrowOnError extends boolean = false>(options: Options<PostTenantsData, ThrowOnError>) => RequestResult<PostTenantsResponses, PostTenantsErrors, ThrowOnError, "fields">;
37748
36965
  postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdRemoveStorageData, ThrowOnError>) => RequestResult<PostTenantsByIdRemoveStorageResponses, PostTenantsByIdRemoveStorageErrors, ThrowOnError, "fields">;
37749
36966
  getWalletInvoices: <ThrowOnError extends boolean = false>(options: Options<GetWalletInvoicesData, ThrowOnError>) => RequestResult<GetWalletInvoicesResponses, GetWalletInvoicesErrors, ThrowOnError, "fields">;
37750
- patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
37751
36967
  patchWorkspacesByIdStorageSettings: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdStorageSettingsData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdStorageSettingsResponses, PatchWorkspacesByIdStorageSettingsErrors, ThrowOnError, "fields">;
37752
36968
  getNotificationLogsById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsByIdData, ThrowOnError>) => RequestResult<GetNotificationLogsByIdResponses, GetNotificationLogsByIdErrors, ThrowOnError, "fields">;
37753
36969
  getExtractionDocumentsByIdView: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsByIdViewData, ThrowOnError>) => RequestResult<GetExtractionDocumentsByIdViewResponses, GetExtractionDocumentsByIdViewErrors, ThrowOnError, "fields">;
@@ -37755,6 +36971,7 @@ declare const gptCore: {
37755
36971
  getAuditLogs: <ThrowOnError extends boolean = false>(options: Options<GetAuditLogsData, ThrowOnError>) => RequestResult<GetAuditLogsResponses, GetAuditLogsErrors, ThrowOnError, "fields">;
37756
36972
  getAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<GetAiGraphEdgesData, ThrowOnError>) => RequestResult<GetAiGraphEdgesResponses, GetAiGraphEdgesErrors, ThrowOnError, "fields">;
37757
36973
  postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
36974
+ getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
37758
36975
  getTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<GetTrainingExamplesData, ThrowOnError>) => RequestResult<GetTrainingExamplesResponses, GetTrainingExamplesErrors, ThrowOnError, "fields">;
37759
36976
  postTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesData, ThrowOnError>) => RequestResult<PostTrainingExamplesResponses, PostTrainingExamplesErrors, ThrowOnError, "fields">;
37760
36977
  getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, ThrowOnError, "fields">;
@@ -37762,7 +36979,6 @@ declare const gptCore: {
37762
36979
  postObjectsCopy: <ThrowOnError extends boolean = false>(options: Options<PostObjectsCopyData, ThrowOnError>) => RequestResult<PostObjectsCopyResponses, PostObjectsCopyErrors, ThrowOnError, "fields">;
37763
36980
  getBuckets: <ThrowOnError extends boolean = false>(options: Options<GetBucketsData, ThrowOnError>) => RequestResult<GetBucketsResponses, GetBucketsErrors, ThrowOnError, "fields">;
37764
36981
  postBuckets: <ThrowOnError extends boolean = false>(options: Options<PostBucketsData, ThrowOnError>) => RequestResult<PostBucketsResponses, PostBucketsErrors, ThrowOnError, "fields">;
37765
- postPaymentMethodsTokenize: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsTokenizeData, ThrowOnError>) => RequestResult<PostPaymentMethodsTokenizeResponses, PostPaymentMethodsTokenizeErrors, ThrowOnError, "fields">;
37766
36982
  getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
37767
36983
  postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
37768
36984
  getUsersMeActivity: <ThrowOnError extends boolean = false>(options: Options<GetUsersMeActivityData, ThrowOnError>) => RequestResult<GetUsersMeActivityResponses, GetUsersMeActivityErrors, ThrowOnError, "fields">;
@@ -37799,6 +37015,7 @@ declare const gptCore: {
37799
37015
  getSearchHealth: <ThrowOnError extends boolean = false>(options: Options<GetSearchHealthData, ThrowOnError>) => RequestResult<GetSearchHealthResponses, GetSearchHealthErrors, ThrowOnError, "fields">;
37800
37016
  patchExtractionDocumentsByIdVerification: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdVerificationData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdVerificationResponses, PatchExtractionDocumentsByIdVerificationErrors, ThrowOnError, "fields">;
37801
37017
  postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
37018
+ postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
37802
37019
  getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
37803
37020
  getUserProfiles: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesData, ThrowOnError>) => RequestResult<GetUserProfilesResponses, GetUserProfilesErrors, ThrowOnError, "fields">;
37804
37021
  postUserProfiles: <ThrowOnError extends boolean = false>(options: Options<PostUserProfilesData, ThrowOnError>) => RequestResult<PostUserProfilesResponses, PostUserProfilesErrors, ThrowOnError, "fields">;
@@ -37841,9 +37058,6 @@ declare const gptCore: {
37841
37058
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
37842
37059
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
37843
37060
  postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
37844
- deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
37845
- getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
37846
- patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
37847
37061
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
37848
37062
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
37849
37063
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -37878,11 +37092,10 @@ declare const gptCore: {
37878
37092
  postWebhookDeliveriesByIdRetry: <ThrowOnError extends boolean = false>(options: Options<PostWebhookDeliveriesByIdRetryData, ThrowOnError>) => RequestResult<PostWebhookDeliveriesByIdRetryResponses, PostWebhookDeliveriesByIdRetryErrors, ThrowOnError, "fields">;
37879
37093
  getNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<GetNotificationMethodsData, ThrowOnError>) => RequestResult<GetNotificationMethodsResponses, GetNotificationMethodsErrors, ThrowOnError, "fields">;
37880
37094
  postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
37881
- getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
37882
37095
  postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdSummarizeData, ThrowOnError>) => RequestResult<PostThreadsByIdSummarizeResponses, PostThreadsByIdSummarizeErrors, ThrowOnError, "fields">;
37883
37096
  patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
37884
37097
  patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
37885
- getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
37098
+ postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
37886
37099
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
37887
37100
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
37888
37101
  getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
@@ -37921,7 +37134,6 @@ declare const gptCore: {
37921
37134
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37922
37135
  getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37923
37136
  patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37924
- patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
37925
37137
  postAgentsByIdExport: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdExportData, ThrowOnError>) => RequestResult<PostAgentsByIdExportResponses, PostAgentsByIdExportErrors, ThrowOnError, "fields">;
37926
37138
  postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
37927
37139
  deleteExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionBatchesByIdData, ThrowOnError>) => RequestResult<DeleteExtractionBatchesByIdResponses, DeleteExtractionBatchesByIdErrors, ThrowOnError, "fields">;
@@ -37936,4 +37148,4 @@ declare const gptCore: {
37936
37148
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
37937
37149
  };
37938
37150
 
37939
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentTestResult, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationOauthInputCreateType, type ApplicationOauthInputUpdateType, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionResultsByIdData, type DeleteExtractionResultsByIdError, type DeleteExtractionResultsByIdErrors, type DeleteExtractionResultsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeletePaymentMethodsByIdData, type DeletePaymentMethodsByIdError, type DeletePaymentMethodsByIdErrors, type DeletePaymentMethodsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsData, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsError, type GetExtractionResultsErrors, type GetExtractionResultsResponse, type GetExtractionResultsResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPaymentMethodsByIdData, type GetPaymentMethodsByIdError, type GetPaymentMethodsByIdErrors, type GetPaymentMethodsByIdResponse, type GetPaymentMethodsByIdResponses, type GetPaymentMethodsData, type GetPaymentMethodsError, type GetPaymentMethodsErrors, type GetPaymentMethodsResponse, type GetPaymentMethodsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletPlanPreviewData, type GetWalletPlanPreviewError, type GetWalletPlanPreviewErrors, type GetWalletPlanPreviewResponse, type GetWalletPlanPreviewResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type Invoice, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdData, type PatchExtractionResultsByIdError, type PatchExtractionResultsByIdErrors, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionResultsByIdResponse, type PatchExtractionResultsByIdResponses, type PatchExtractionResultsByIdSaveCorrectionsData, type PatchExtractionResultsByIdSaveCorrectionsError, type PatchExtractionResultsByIdSaveCorrectionsErrors, type PatchExtractionResultsByIdSaveCorrectionsResponse, type PatchExtractionResultsByIdSaveCorrectionsResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchPaymentMethodsByIdData, type PatchPaymentMethodsByIdDefaultData, type PatchPaymentMethodsByIdDefaultError, type PatchPaymentMethodsByIdDefaultErrors, type PatchPaymentMethodsByIdDefaultResponse, type PatchPaymentMethodsByIdDefaultResponses, type PatchPaymentMethodsByIdError, type PatchPaymentMethodsByIdErrors, type PatchPaymentMethodsByIdResponse, type PatchPaymentMethodsByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentMethodsData, type PostPaymentMethodsError, type PostPaymentMethodsErrors, type PostPaymentMethodsResponse, type PostPaymentMethodsResponses, type PostPaymentMethodsTokenizeData, type PostPaymentMethodsTokenizeError, type PostPaymentMethodsTokenizeErrors, type PostPaymentMethodsTokenizeResponse, type PostPaymentMethodsTokenizeResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteExtractionResultsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deletePaymentMethodsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResults, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPaymentMethods, getPaymentMethodsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWalletPlanPreview, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsById, patchExtractionResultsByIdRegenerate, patchExtractionResultsByIdSaveCorrections, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchPaymentMethodsById, patchPaymentMethodsByIdDefault, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsUpload, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPaymentMethods, postPaymentMethodsTokenize, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };
37151
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentTestResult, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AgentVersionRevision, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, type GetAgentVersionRevisionsByIdData, type GetAgentVersionRevisionsByIdError, type GetAgentVersionRevisionsByIdErrors, type GetAgentVersionRevisionsByIdResponse, type GetAgentVersionRevisionsByIdResponses, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdPopulateHashesData, type PatchWorkspacesByIdPopulateHashesError, type PatchWorkspacesByIdPopulateHashesErrors, type PatchWorkspacesByIdPopulateHashesResponse, type PatchWorkspacesByIdPopulateHashesResponses, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsFindOrBeginUploadData, type PostExtractionDocumentsFindOrBeginUploadError, type PostExtractionDocumentsFindOrBeginUploadErrors, type PostExtractionDocumentsFindOrBeginUploadResponse, type PostExtractionDocumentsFindOrBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions, getAgentVersionRevisionsById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdPopulateHashes, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsFindOrBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };