@gpt-core/client 0.9.0 → 0.9.11

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.ts CHANGED
@@ -268,8 +268,22 @@ type WorkspaceSettingsInputCreateType = {
268
268
  } | unknown;
269
269
  billing?: {
270
270
  allow_overdraft?: boolean | unknown;
271
+ /**
272
+ * Maximum overdraft credits allowed per period
273
+ */
271
274
  overdraft_limit?: number | unknown;
275
+ /**
276
+ * Period for overdraft limit reset (daily, weekly, monthly)
277
+ */
272
278
  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;
273
287
  } | unknown;
274
288
  review_train?: {
275
289
  confidence_threshold?: number | unknown;
@@ -636,6 +650,36 @@ type FieldMappingConfirmation = {
636
650
  };
637
651
  type: string;
638
652
  };
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
+ };
639
683
  /**
640
684
  * A "Resource object" representing a training_session
641
685
  */
@@ -1090,7 +1134,58 @@ type PaymentMethod = {
1090
1134
  * An attributes object for a payment_method
1091
1135
  */
1092
1136
  attributes?: {
1093
- [key: string]: never;
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;
1094
1189
  };
1095
1190
  id: string;
1096
1191
  /**
@@ -1361,6 +1456,39 @@ type Application = {
1361
1456
  * Field included by default.
1362
1457
  */
1363
1458
  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;
1364
1492
  /**
1365
1493
  * When true, password registration withholds JWT until email is verified. Field included by default.
1366
1494
  */
@@ -1493,7 +1621,7 @@ type ApiKey = {
1493
1621
  */
1494
1622
  attributes?: {
1495
1623
  /**
1496
- * Field included by default.
1624
+ * Required - the application this API key belongs to. Field included by default.
1497
1625
  */
1498
1626
  application_id: string;
1499
1627
  /**
@@ -1818,8 +1946,22 @@ type WorkspaceSettingsInputUpdateType = {
1818
1946
  } | unknown;
1819
1947
  billing?: {
1820
1948
  allow_overdraft?: boolean | unknown;
1949
+ /**
1950
+ * Maximum overdraft credits allowed per period
1951
+ */
1821
1952
  overdraft_limit?: number | unknown;
1953
+ /**
1954
+ * Period for overdraft limit reset (daily, weekly, monthly)
1955
+ */
1822
1956
  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;
1823
1965
  } | unknown;
1824
1966
  review_train?: {
1825
1967
  confidence_threshold?: number | unknown;
@@ -1895,6 +2037,62 @@ type WorkspaceSettingsInputUpdateType = {
1895
2037
  source_type?: "local" | "cloud" | unknown;
1896
2038
  };
1897
2039
  };
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
+ };
1898
2096
  /**
1899
2097
  * A "Resource object" representing a training_analytics
1900
2098
  */
@@ -1985,7 +2183,72 @@ type Transaction = {
1985
2183
  * An attributes object for a transaction
1986
2184
  */
1987
2185
  attributes?: {
1988
- [key: string]: never;
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;
1989
2252
  };
1990
2253
  id: string;
1991
2254
  /**
@@ -2004,38 +2267,14 @@ type ExtractionResult = {
2004
2267
  * An attributes object for a extraction_result
2005
2268
  */
2006
2269
  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;
2019
2270
  /**
2020
2271
  * Character count of extracted text
2021
2272
  */
2022
2273
  char_count?: number | null | unknown;
2023
- /**
2024
- * Overall classification confidence score. Field included by default.
2025
- */
2026
- classification_confidence?: number | null | unknown;
2027
2274
  /**
2028
2275
  * Field included by default.
2029
2276
  */
2030
2277
  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;
2039
2278
  /**
2040
2279
  * Field included by default.
2041
2280
  */
@@ -2058,10 +2297,6 @@ type ExtractionResult = {
2058
2297
  * Line count of extracted text
2059
2298
  */
2060
2299
  line_count?: number | null | unknown;
2061
- /**
2062
- * Municipality or agency name. Field included by default.
2063
- */
2064
- municipality?: string | null | unknown;
2065
2300
  ocr_blocks?: Array<{
2066
2301
  [key: string]: unknown;
2067
2302
  }> | null | unknown;
@@ -2071,17 +2306,9 @@ type ExtractionResult = {
2071
2306
  processing_time_ms?: number | null | unknown;
2072
2307
  schema_id?: string | null | unknown;
2073
2308
  /**
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.
2309
+ * The version of the schema/agent used for this extraction. Field included by default.
2079
2310
  */
2080
2311
  schema_version?: string | null | unknown;
2081
- /**
2082
- * State code. Field included by default.
2083
- */
2084
- state?: string | null | unknown;
2085
2312
  /**
2086
2313
  * Field included by default.
2087
2314
  */
@@ -2251,6 +2478,10 @@ type Tenant = {
2251
2478
  * Field included by default.
2252
2479
  */
2253
2480
  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;
2254
2485
  /**
2255
2486
  * Credit balance threshold to trigger auto top-up. Field included by default.
2256
2487
  */
@@ -2492,10 +2723,6 @@ type AgentVersion = {
2492
2723
  * Field included by default.
2493
2724
  */
2494
2725
  created_at: unknown;
2495
- /**
2496
- * Combined display version like 'v2 rev 5'
2497
- */
2498
- display_version?: string | null | unknown;
2499
2726
  /**
2500
2727
  * Field included by default.
2501
2728
  */
@@ -2549,10 +2776,6 @@ type AgentVersion = {
2549
2776
  * Field included by default.
2550
2777
  */
2551
2778
  prompt_template: string;
2552
- /**
2553
- * Revision number within this schema version (increments on prompt/description changes). Field included by default.
2554
- */
2555
- revision: number;
2556
2779
  /**
2557
2780
  * Field included by default.
2558
2781
  */
@@ -2618,6 +2841,39 @@ type ApplicationType = {
2618
2841
  * Field included by default.
2619
2842
  */
2620
2843
  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;
2621
2877
  /**
2622
2878
  * When true, password registration withholds JWT until email is verified. Field included by default.
2623
2879
  */
@@ -3221,54 +3477,6 @@ type PermissionMeta = {
3221
3477
  };
3222
3478
  type: string;
3223
3479
  };
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
- };
3272
3480
  /**
3273
3481
  * A "Resource object" representing a llm_analytics
3274
3482
  */
@@ -3731,6 +3939,36 @@ type Transfer = {
3731
3939
  };
3732
3940
  type: string;
3733
3941
  };
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
+ };
3734
3972
  /**
3735
3973
  * A "Resource object" representing a presigned_url
3736
3974
  */
@@ -4100,7 +4338,14 @@ type Subscription = {
4100
4338
  * An attributes object for a subscription
4101
4339
  */
4102
4340
  attributes?: {
4103
- [key: string]: never;
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;
4104
4349
  };
4105
4350
  id: string;
4106
4351
  /**
@@ -4416,9 +4661,9 @@ type Workspace = {
4416
4661
  */
4417
4662
  app: string;
4418
4663
  /**
4419
- * Field included by default.
4664
+ * Required - the application this workspace belongs to. Field included by default.
4420
4665
  */
4421
- application_id?: string | null | unknown;
4666
+ application_id: string;
4422
4667
  /**
4423
4668
  * Field included by default.
4424
4669
  */
@@ -4427,18 +4672,10 @@ type Workspace = {
4427
4672
  * Field included by default.
4428
4673
  */
4429
4674
  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;
4434
4675
  /**
4435
4676
  * Field included by default.
4436
4677
  */
4437
4678
  description?: string | null | unknown;
4438
- /**
4439
- * Count of documents without file_hash (not ready for deduplication)
4440
- */
4441
- documents_missing_hash_count?: number | unknown;
4442
4679
  /**
4443
4680
  * Field included by default.
4444
4681
  */
@@ -4459,10 +4696,6 @@ type Workspace = {
4459
4696
  * Field included by default.
4460
4697
  */
4461
4698
  name: string;
4462
- /**
4463
- * True when all documents have file_hash populated (safe to enable deduplication)
4464
- */
4465
- ready_for_deduplication?: boolean | null | unknown;
4466
4699
  /**
4467
4700
  * Field included by default.
4468
4701
  */
@@ -4511,13 +4744,21 @@ type Workspace = {
4511
4744
  */
4512
4745
  allow_overdraft: boolean;
4513
4746
  /**
4514
- * Field included by default.
4747
+ * Maximum overdraft credits allowed per period. Field included by default.
4515
4748
  */
4516
4749
  overdraft_limit?: number | null | unknown;
4517
4750
  /**
4518
- * Field included by default.
4751
+ * Period for overdraft limit reset (daily, weekly, monthly). Field included by default.
4519
4752
  */
4520
4753
  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;
4521
4762
  };
4522
4763
  /**
4523
4764
  * Field included by default.
@@ -4852,37 +5093,34 @@ type ExtractionDocument = {
4852
5093
  * Overall classification confidence (0.0 to 1.0). Field included by default.
4853
5094
  */
4854
5095
  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;
4859
5096
  uploaded_at?: string | null | unknown;
4860
5097
  /**
4861
5098
  * Current processing stage based on storage path
4862
5099
  */
4863
5100
  stage?: string | null | unknown;
4864
5101
  /**
4865
- * True if this document was returned as a duplicate of an existing upload
4866
- */
4867
- deduplicated?: boolean | null | unknown;
4868
- /**
4869
- * The revision within the schema version (e.g., 5 means 'v2 rev 5'). Field included by default.
5102
+ * Credits billed for processing this document. Field included by default.
4870
5103
  */
4871
- schema_revision?: number | null | unknown;
5104
+ billed_credits?: number | null | unknown;
4872
5105
  /**
4873
- * Credits billed for processing this document
5106
+ * Field included by default.
4874
5107
  */
4875
- billed_credits?: number | null | unknown;
4876
5108
  storage_path: string;
4877
5109
  /**
4878
- * SHA256 hash of the file content for deduplication
5110
+ * SHA256 hash of the file content for deduplication. Field included by default.
4879
5111
  */
4880
5112
  file_hash?: string | null | unknown;
5113
+ /**
5114
+ * Field included by default.
5115
+ */
4881
5116
  excluded_by?: string | null | unknown;
4882
5117
  /**
4883
- * The S3 bucket where this document is stored. Set during upload/begin_upload.
5118
+ * The S3 bucket where this document is stored. Set during upload/begin_upload. Field included by default.
4884
5119
  */
4885
5120
  bucket_name?: string | null | unknown;
5121
+ /**
5122
+ * Field included by default.
5123
+ */
4886
5124
  deleted_at?: unknown;
4887
5125
  /**
4888
5126
  * Classification object containing domain, document_type, municipality, state, and confidence
@@ -4899,49 +5137,76 @@ type ExtractionDocument = {
4899
5137
  * Reason why this document is in the review queue
4900
5138
  */
4901
5139
  queue_reason?: string | null | unknown;
5140
+ /**
5141
+ * Field included by default.
5142
+ */
4902
5143
  status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
5144
+ /**
5145
+ * Field included by default.
5146
+ */
4903
5147
  progress?: number | null | unknown;
4904
5148
  /**
4905
- * Timestamp when document was moved to output/error bucket
5149
+ * Timestamp when document was moved to output/error bucket. Field included by default.
4906
5150
  */
4907
5151
  moved_at?: unknown;
4908
5152
  /**
4909
- * Full path (bucket/key) where document was copied after successful extraction
5153
+ * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
4910
5154
  */
4911
5155
  output_storage_path?: string | null | unknown;
4912
5156
  /**
4913
- * Metadata about the training session for this document (trained_at, user_id, scores)
5157
+ * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
4914
5158
  */
4915
5159
  training_metadata?: {
4916
5160
  [key: string]: unknown;
4917
5161
  } | null | unknown;
4918
5162
  upload_url?: string | null | unknown;
5163
+ /**
5164
+ * Field included by default.
5165
+ */
4919
5166
  pages?: number | null | unknown;
4920
5167
  /**
4921
- * The review/verification state of the document
5168
+ * The review/verification state of the document. Field included by default.
4922
5169
  */
4923
5170
  verification_status?: "unverified" | "partially_verified" | "fully_verified" | unknown;
5171
+ /**
5172
+ * Field included by default.
5173
+ */
4924
5174
  processed_at?: unknown;
5175
+ /**
5176
+ * Field included by default.
5177
+ */
4925
5178
  error_message?: string | null | unknown;
5179
+ /**
5180
+ * Field included by default.
5181
+ */
4926
5182
  verified_by_user_id?: string | null | unknown;
5183
+ /**
5184
+ * Field included by default.
5185
+ */
4927
5186
  file_type: "pdf" | "docx" | "image" | "zip";
5187
+ /**
5188
+ * Field included by default.
5189
+ */
4928
5190
  file_size_bytes?: number | null | unknown;
4929
5191
  /**
4930
- * Timestamp when document processing completed (status changed to :completed)
5192
+ * Timestamp when document processing completed (status changed to :completed). Field included by default.
4931
5193
  */
4932
5194
  completed_at?: unknown;
4933
5195
  /**
4934
- * The version of the agent/schema used to process this document (e.g., 'v2'). Field included by default.
5196
+ * The version of the agent/schema used to process this document. Field included by default.
4935
5197
  */
4936
5198
  schema_version?: string | null | unknown;
4937
5199
  presigned_view_url?: string | null | unknown;
5200
+ /**
5201
+ * Field included by default.
5202
+ */
4938
5203
  last_verified_at?: unknown;
4939
5204
  /**
4940
5205
  * State or province code (2-letter). Field included by default.
4941
5206
  */
4942
5207
  state?: string | null | unknown;
4943
5208
  /**
4944
- * Full path (bucket/key) where document was copied after failed extraction
5209
+ * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
4945
5210
  */
4946
5211
  error_storage_path?: string | null | unknown;
4947
5212
  /**
@@ -4949,14 +5214,16 @@ type ExtractionDocument = {
4949
5214
  */
4950
5215
  domain?: string | null | unknown;
4951
5216
  /**
4952
- * If true, this document is excluded from training (both creating new examples and being used in retrieval)
5217
+ * If true, this document is excluded from training (both creating new examples and being used in retrieval). Field included by default.
4953
5218
  */
4954
5219
  excluded_from_training: boolean;
4955
5220
  /**
4956
- * The Agent that processed this document. Field included by default.
5221
+ * Field included by default.
4957
5222
  */
4958
- agent_id?: string | null | unknown;
4959
5223
  excluded_at?: unknown;
5224
+ /**
5225
+ * Field included by default.
5226
+ */
4960
5227
  filename: string;
4961
5228
  /**
4962
5229
  * Average confidence score across all extracted fields (0.0 to 1.0). Field included by default.
@@ -6024,7 +6291,10 @@ type PostWorkspacesData = {
6024
6291
  * App type: extract, invoicing, crm, etc.
6025
6292
  */
6026
6293
  app?: string | unknown;
6027
- application_id?: string | unknown;
6294
+ /**
6295
+ * Required - the application this workspace belongs to
6296
+ */
6297
+ application_id: string;
6028
6298
  description?: string | unknown;
6029
6299
  expires_at?: unknown;
6030
6300
  initial_credits?: number | unknown;
@@ -6113,7 +6383,7 @@ type PostWorkspacesResponses = {
6113
6383
  };
6114
6384
  };
6115
6385
  type PostWorkspacesResponse = PostWorkspacesResponses[keyof PostWorkspacesResponses];
6116
- type GetAgentsByIdStatsData = {
6386
+ type GetPaymentMethodsData = {
6117
6387
  body?: never;
6118
6388
  headers: {
6119
6389
  /**
@@ -6121,16 +6391,38 @@ type GetAgentsByIdStatsData = {
6121
6391
  */
6122
6392
  "x-application-key": string;
6123
6393
  };
6124
- path: {
6394
+ path?: never;
6395
+ query?: {
6125
6396
  /**
6126
- * Agent ID (from URL path parameter)
6397
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
6127
6398
  */
6128
- id: string;
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;
6416
+ /**
6417
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6418
+ */
6419
+ fields?: {
6420
+ [key: string]: unknown;
6421
+ };
6129
6422
  };
6130
- query?: never;
6131
- url: "/agents/{id}/stats";
6423
+ url: "/payment-methods";
6132
6424
  };
6133
- type GetAgentsByIdStatsErrors = {
6425
+ type GetPaymentMethodsErrors = {
6134
6426
  /**
6135
6427
  * Bad Request - Invalid input data or malformed request
6136
6428
  */
@@ -6160,18 +6452,47 @@ type GetAgentsByIdStatsErrors = {
6160
6452
  */
6161
6453
  default: Errors;
6162
6454
  };
6163
- type GetAgentsByIdStatsError = GetAgentsByIdStatsErrors[keyof GetAgentsByIdStatsErrors];
6164
- type GetAgentsByIdStatsResponses = {
6455
+ type GetPaymentMethodsError = GetPaymentMethodsErrors[keyof GetPaymentMethodsErrors];
6456
+ type GetPaymentMethodsResponses = {
6165
6457
  /**
6166
6458
  * Success
6167
6459
  */
6168
6460
  200: {
6169
- [key: string]: unknown;
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
+ };
6170
6469
  };
6171
6470
  };
6172
- type GetAgentsByIdStatsResponse = GetAgentsByIdStatsResponses[keyof GetAgentsByIdStatsResponses];
6173
- type GetDocumentsStatsData = {
6174
- body?: never;
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
+ };
6175
6496
  headers: {
6176
6497
  /**
6177
6498
  * Application ID for authentication and routing
@@ -6191,9 +6512,9 @@ type GetDocumentsStatsData = {
6191
6512
  [key: string]: unknown;
6192
6513
  };
6193
6514
  };
6194
- url: "/documents/stats";
6515
+ url: "/payment-methods";
6195
6516
  };
6196
- type GetDocumentsStatsErrors = {
6517
+ type PostPaymentMethodsErrors = {
6197
6518
  /**
6198
6519
  * Bad Request - Invalid input data or malformed request
6199
6520
  */
@@ -6223,36 +6544,22 @@ type GetDocumentsStatsErrors = {
6223
6544
  */
6224
6545
  default: Errors;
6225
6546
  };
6226
- type GetDocumentsStatsError = GetDocumentsStatsErrors[keyof GetDocumentsStatsErrors];
6227
- type GetDocumentsStatsResponses = {
6547
+ type PostPaymentMethodsError = PostPaymentMethodsErrors[keyof PostPaymentMethodsErrors];
6548
+ type PostPaymentMethodsResponses = {
6228
6549
  /**
6229
6550
  * Success
6230
6551
  */
6231
- 200: {
6232
- data?: DocumentStats;
6552
+ 201: {
6553
+ data?: PaymentMethod;
6233
6554
  included?: Array<unknown>;
6234
6555
  meta?: {
6235
6556
  [key: string]: unknown;
6236
6557
  };
6237
6558
  };
6238
6559
  };
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
- };
6560
+ type PostPaymentMethodsResponse = PostPaymentMethodsResponses[keyof PostPaymentMethodsResponses];
6561
+ type GetAgentsByIdStatsData = {
6562
+ body?: never;
6256
6563
  headers: {
6257
6564
  /**
6258
6565
  * Application ID for authentication and routing
@@ -6260,23 +6567,15 @@ type PatchExtractionDocumentsByIdDismissData = {
6260
6567
  "x-application-key": string;
6261
6568
  };
6262
6569
  path: {
6263
- id: string;
6264
- };
6265
- query?: {
6266
6570
  /**
6267
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6268
- */
6269
- include?: string;
6270
- /**
6271
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6571
+ * Agent ID (from URL path parameter)
6272
6572
  */
6273
- fields?: {
6274
- [key: string]: unknown;
6275
- };
6573
+ id: string;
6276
6574
  };
6277
- url: "/extraction/documents/{id}/dismiss";
6575
+ query?: never;
6576
+ url: "/agents/{id}/stats";
6278
6577
  };
6279
- type PatchExtractionDocumentsByIdDismissErrors = {
6578
+ type GetAgentsByIdStatsErrors = {
6280
6579
  /**
6281
6580
  * Bad Request - Invalid input data or malformed request
6282
6581
  */
@@ -6306,38 +6605,18 @@ type PatchExtractionDocumentsByIdDismissErrors = {
6306
6605
  */
6307
6606
  default: Errors;
6308
6607
  };
6309
- type PatchExtractionDocumentsByIdDismissError = PatchExtractionDocumentsByIdDismissErrors[keyof PatchExtractionDocumentsByIdDismissErrors];
6310
- type PatchExtractionDocumentsByIdDismissResponses = {
6608
+ type GetAgentsByIdStatsError = GetAgentsByIdStatsErrors[keyof GetAgentsByIdStatsErrors];
6609
+ type GetAgentsByIdStatsResponses = {
6311
6610
  /**
6312
6611
  * Success
6313
6612
  */
6314
6613
  200: {
6315
- data?: ExtractionDocument;
6316
- included?: Array<ExtractionResult>;
6317
- meta?: {
6318
- [key: string]: unknown;
6319
- };
6614
+ [key: string]: unknown;
6320
6615
  };
6321
6616
  };
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
- };
6617
+ type GetAgentsByIdStatsResponse = GetAgentsByIdStatsResponses[keyof GetAgentsByIdStatsResponses];
6618
+ type GetDocumentsStatsData = {
6619
+ body?: never;
6341
6620
  headers: {
6342
6621
  /**
6343
6622
  * Application ID for authentication and routing
@@ -6357,9 +6636,9 @@ type PostObjectsRegisterData = {
6357
6636
  [key: string]: unknown;
6358
6637
  };
6359
6638
  };
6360
- url: "/objects/register";
6639
+ url: "/documents/stats";
6361
6640
  };
6362
- type PostObjectsRegisterErrors = {
6641
+ type GetDocumentsStatsErrors = {
6363
6642
  /**
6364
6643
  * Bad Request - Invalid input data or malformed request
6365
6644
  */
@@ -6389,29 +6668,45 @@ type PostObjectsRegisterErrors = {
6389
6668
  */
6390
6669
  default: Errors;
6391
6670
  };
6392
- type PostObjectsRegisterError = PostObjectsRegisterErrors[keyof PostObjectsRegisterErrors];
6393
- type PostObjectsRegisterResponses = {
6671
+ type GetDocumentsStatsError = GetDocumentsStatsErrors[keyof GetDocumentsStatsErrors];
6672
+ type GetDocumentsStatsResponses = {
6394
6673
  /**
6395
6674
  * Success
6396
6675
  */
6397
- 201: {
6398
- data?: _Object;
6676
+ 200: {
6677
+ data?: DocumentStats;
6399
6678
  included?: Array<unknown>;
6400
6679
  meta?: {
6401
6680
  [key: string]: unknown;
6402
6681
  };
6403
6682
  };
6404
6683
  };
6405
- type PostObjectsRegisterResponse = PostObjectsRegisterResponses[keyof PostObjectsRegisterResponses];
6406
- type GetLlmAnalyticsWorkspaceData = {
6407
- body?: never;
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
+ };
6408
6701
  headers: {
6409
6702
  /**
6410
6703
  * Application ID for authentication and routing
6411
6704
  */
6412
6705
  "x-application-key": string;
6413
6706
  };
6414
- path?: never;
6707
+ path: {
6708
+ id: string;
6709
+ };
6415
6710
  query?: {
6416
6711
  /**
6417
6712
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -6423,11 +6718,161 @@ type GetLlmAnalyticsWorkspaceData = {
6423
6718
  fields?: {
6424
6719
  [key: string]: unknown;
6425
6720
  };
6426
- workspace_id?: string;
6427
6721
  };
6428
- url: "/llm_analytics/workspace";
6722
+ url: "/extraction/documents/{id}/dismiss";
6429
6723
  };
6430
- type GetLlmAnalyticsWorkspaceErrors = {
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 = {
6431
6876
  /**
6432
6877
  * Bad Request - Invalid input data or malformed request
6433
6878
  */
@@ -7697,14 +8142,6 @@ type PatchExtractionDocumentsByIdStatusData = {
7697
8142
  body?: {
7698
8143
  data: {
7699
8144
  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;
7708
8145
  /**
7709
8146
  * Average confidence score across all extracted fields (0.0 to 1.0)
7710
8147
  */
@@ -8566,28 +9003,33 @@ type PostConfigsResponses = {
8566
9003
  };
8567
9004
  };
8568
9005
  type PostConfigsResponse = PostConfigsResponses[keyof PostConfigsResponses];
8569
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData = {
8570
- body?: never;
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
+ };
8571
9025
  headers: {
8572
9026
  /**
8573
9027
  * Application ID for authentication and routing
8574
9028
  */
8575
9029
  "x-application-key": string;
8576
9030
  };
8577
- path: {
8578
- agent_version_id: string;
8579
- };
9031
+ path?: never;
8580
9032
  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;
8591
9033
  /**
8592
9034
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
8593
9035
  */
@@ -8599,9 +9041,9 @@ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData = {
8599
9041
  [key: string]: unknown;
8600
9042
  };
8601
9043
  };
8602
- url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions";
9044
+ url: "/wallet/auto-top-up";
8603
9045
  };
8604
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors = {
9046
+ type PatchWalletAutoTopUpErrors = {
8605
9047
  /**
8606
9048
  * Bad Request - Invalid input data or malformed request
8607
9049
  */
@@ -8631,39 +9073,36 @@ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors = {
8631
9073
  */
8632
9074
  default: Errors;
8633
9075
  };
8634
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors];
8635
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses = {
9076
+ type PatchWalletAutoTopUpError = PatchWalletAutoTopUpErrors[keyof PatchWalletAutoTopUpErrors];
9077
+ type PatchWalletAutoTopUpResponses = {
8636
9078
  /**
8637
9079
  * Success
8638
9080
  */
8639
9081
  200: {
8640
- /**
8641
- * An array of resource objects representing a agent_version_revision
8642
- */
8643
- data?: Array<AgentVersionRevision>;
8644
- included?: Array<unknown>;
9082
+ data?: Wallet;
9083
+ included?: Array<Plan>;
8645
9084
  meta?: {
8646
9085
  [key: string]: unknown;
8647
9086
  };
8648
9087
  };
8649
9088
  };
8650
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses];
8651
- type PatchWalletAutoTopUpData = {
9089
+ type PatchWalletAutoTopUpResponse = PatchWalletAutoTopUpResponses[keyof PatchWalletAutoTopUpResponses];
9090
+ type PostTokensData = {
8652
9091
  /**
8653
- * Request body for the /wallet/auto-top-up operation on wallet resource
9092
+ * Request body for the /tokens operation on token resource
8654
9093
  */
8655
- body: {
9094
+ body?: {
8656
9095
  data: {
8657
9096
  attributes?: {
8658
- amount?: number | unknown;
8659
- enabled: boolean;
8660
- threshold?: number | unknown;
9097
+ card?: {
9098
+ [key: string]: unknown;
9099
+ } | unknown;
9100
+ type?: "card" | "bank_account" | unknown;
8661
9101
  };
8662
- id: string;
8663
9102
  relationships?: {
8664
9103
  [key: string]: never;
8665
9104
  };
8666
- type?: "wallet";
9105
+ type?: "token";
8667
9106
  };
8668
9107
  };
8669
9108
  headers: {
@@ -8685,9 +9124,9 @@ type PatchWalletAutoTopUpData = {
8685
9124
  [key: string]: unknown;
8686
9125
  };
8687
9126
  };
8688
- url: "/wallet/auto-top-up";
9127
+ url: "/tokens";
8689
9128
  };
8690
- type PatchWalletAutoTopUpErrors = {
9129
+ type PostTokensErrors = {
8691
9130
  /**
8692
9131
  * Bad Request - Invalid input data or malformed request
8693
9132
  */
@@ -8717,36 +9156,41 @@ type PatchWalletAutoTopUpErrors = {
8717
9156
  */
8718
9157
  default: Errors;
8719
9158
  };
8720
- type PatchWalletAutoTopUpError = PatchWalletAutoTopUpErrors[keyof PatchWalletAutoTopUpErrors];
8721
- type PatchWalletAutoTopUpResponses = {
9159
+ type PostTokensError = PostTokensErrors[keyof PostTokensErrors];
9160
+ type PostTokensResponses = {
8722
9161
  /**
8723
9162
  * Success
8724
9163
  */
8725
- 200: {
8726
- data?: Wallet;
8727
- included?: Array<Plan>;
9164
+ 201: {
9165
+ data?: Token;
9166
+ included?: Array<unknown>;
8728
9167
  meta?: {
8729
9168
  [key: string]: unknown;
8730
9169
  };
8731
9170
  };
8732
9171
  };
8733
- type PatchWalletAutoTopUpResponse = PatchWalletAutoTopUpResponses[keyof PatchWalletAutoTopUpResponses];
8734
- type PostTokensData = {
9172
+ type PostTokensResponse = PostTokensResponses[keyof PostTokensResponses];
9173
+ type PatchApiKeysByIdSetBudgetData = {
8735
9174
  /**
8736
- * Request body for the /tokens operation on token resource
9175
+ * Request body for the /api_keys/:id/set_budget operation on api_key resource
8737
9176
  */
8738
9177
  body?: {
8739
9178
  data: {
8740
9179
  attributes?: {
8741
- card?: {
8742
- [key: string]: unknown;
8743
- } | unknown;
8744
- type?: "card" | "bank_account" | unknown;
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;
8745
9188
  };
9189
+ id: string;
8746
9190
  relationships?: {
8747
9191
  [key: string]: never;
8748
9192
  };
8749
- type?: "token";
9193
+ type?: "api_key";
8750
9194
  };
8751
9195
  };
8752
9196
  headers: {
@@ -8755,7 +9199,9 @@ type PostTokensData = {
8755
9199
  */
8756
9200
  "x-application-key": string;
8757
9201
  };
8758
- path?: never;
9202
+ path: {
9203
+ id: string;
9204
+ };
8759
9205
  query?: {
8760
9206
  /**
8761
9207
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -8768,99 +9214,9 @@ type PostTokensData = {
8768
9214
  [key: string]: unknown;
8769
9215
  };
8770
9216
  };
8771
- url: "/tokens";
9217
+ url: "/api_keys/{id}/set_budget";
8772
9218
  };
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 = {
9219
+ type PatchApiKeysByIdSetBudgetErrors = {
8864
9220
  /**
8865
9221
  * Bad Request - Invalid input data or malformed request
8866
9222
  */
@@ -9964,89 +10320,6 @@ type GetAgentsUsageResponses = {
9964
10320
  };
9965
10321
  };
9966
10322
  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];
10050
10323
  type PatchNotificationMethodsByIdSetPrimaryData = {
10051
10324
  /**
10052
10325
  * Request body for the /notification_methods/:id/set_primary operation on notification_method resource
@@ -12810,6 +13083,68 @@ type GetUsersByIdResponses = {
12810
13083
  };
12811
13084
  };
12812
13085
  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
+ };
12813
13148
  type GetExtractionResultsByIdData = {
12814
13149
  body?: never;
12815
13150
  headers: {
@@ -12879,6 +13214,94 @@ type GetExtractionResultsByIdResponses = {
12879
13214
  };
12880
13215
  };
12881
13216
  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];
12882
13305
  type GetWebhookDeliveriesStatsData = {
12883
13306
  body?: never;
12884
13307
  headers: {
@@ -15734,6 +16157,10 @@ type PostApplicationsData = {
15734
16157
  invite_only?: boolean | unknown;
15735
16158
  logo_url?: string | unknown;
15736
16159
  name: string;
16160
+ /**
16161
+ * OAuth configuration for this application
16162
+ */
16163
+ oauth?: ApplicationOauthInputCreateType | unknown;
15737
16164
  owner_id?: string | unknown;
15738
16165
  /**
15739
16166
  * When true, password registration withholds JWT until email is verified
@@ -16056,7 +16483,7 @@ type PatchExtractionDocumentsByIdReprocessData = {
16056
16483
  data: {
16057
16484
  attributes?: {
16058
16485
  /**
16059
- * The version of the agent/schema used to process this document (e.g., 'v2')
16486
+ * The version of the agent/schema used to process this document
16060
16487
  */
16061
16488
  schema_version?: string | unknown;
16062
16489
  schema_version_id?: string | unknown;
@@ -17448,7 +17875,6 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData = {
17448
17875
  [key: string]: unknown;
17449
17876
  };
17450
17877
  limit?: number;
17451
- filter_by_threshold?: boolean;
17452
17878
  };
17453
17879
  url: "/extraction/documents/workspace/{workspace_id}/review_queue";
17454
17880
  };
@@ -17675,92 +18101,6 @@ type PostExtractionDocumentsUploadResponses = {
17675
18101
  };
17676
18102
  };
17677
18103
  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];
17764
18104
  type PatchNotificationMethodsByIdVerifyData = {
17765
18105
  /**
17766
18106
  * Request body for the /notification_methods/:id/verify operation on notification_method resource
@@ -18135,11 +18475,10 @@ type PatchWorkspacesByIdData = {
18135
18475
  body?: {
18136
18476
  data: {
18137
18477
  attributes?: {
18138
- application_id?: string | unknown;
18139
18478
  /**
18140
- * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed.
18479
+ * Required - the application this workspace belongs to
18141
18480
  */
18142
- deduplicate_uploads?: boolean | unknown;
18481
+ application_id?: string | unknown;
18143
18482
  is_default?: boolean | unknown;
18144
18483
  low_balance_threshold?: number | unknown;
18145
18484
  name?: string | unknown;
@@ -18469,29 +18808,133 @@ type PostTenantsByIdRemoveStorageErrors = {
18469
18808
  */
18470
18809
  default: Errors;
18471
18810
  };
18472
- type PostTenantsByIdRemoveStorageError = PostTenantsByIdRemoveStorageErrors[keyof PostTenantsByIdRemoveStorageErrors];
18473
- type PostTenantsByIdRemoveStorageResponses = {
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 = {
18474
18896
  /**
18475
18897
  * Success
18476
18898
  */
18477
- 201: {
18478
- data?: Tenant;
18479
- included?: Array<Workspace>;
18899
+ 200: {
18900
+ /**
18901
+ * An array of resource objects representing a invoice
18902
+ */
18903
+ data?: Array<Invoice>;
18904
+ included?: Array<unknown>;
18480
18905
  meta?: {
18481
18906
  [key: string]: unknown;
18482
18907
  };
18483
18908
  };
18484
18909
  };
18485
- type PostTenantsByIdRemoveStorageResponse = PostTenantsByIdRemoveStorageResponses[keyof PostTenantsByIdRemoveStorageResponses];
18486
- type GetWalletInvoicesData = {
18487
- body?: never;
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
+ };
18488
18929
  headers: {
18489
18930
  /**
18490
18931
  * Application ID for authentication and routing
18491
18932
  */
18492
18933
  "x-application-key": string;
18493
18934
  };
18494
- path?: never;
18935
+ path: {
18936
+ id: string;
18937
+ };
18495
18938
  query?: {
18496
18939
  /**
18497
18940
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -18504,9 +18947,9 @@ type GetWalletInvoicesData = {
18504
18947
  [key: string]: unknown;
18505
18948
  };
18506
18949
  };
18507
- url: "/wallet/invoices";
18950
+ url: "/extraction/results/{id}/save_corrections";
18508
18951
  };
18509
- type GetWalletInvoicesErrors = {
18952
+ type PatchExtractionResultsByIdSaveCorrectionsErrors = {
18510
18953
  /**
18511
18954
  * Bad Request - Invalid input data or malformed request
18512
18955
  */
@@ -18536,20 +18979,20 @@ type GetWalletInvoicesErrors = {
18536
18979
  */
18537
18980
  default: Errors;
18538
18981
  };
18539
- type GetWalletInvoicesError = GetWalletInvoicesErrors[keyof GetWalletInvoicesErrors];
18540
- type GetWalletInvoicesResponses = {
18982
+ type PatchExtractionResultsByIdSaveCorrectionsError = PatchExtractionResultsByIdSaveCorrectionsErrors[keyof PatchExtractionResultsByIdSaveCorrectionsErrors];
18983
+ type PatchExtractionResultsByIdSaveCorrectionsResponses = {
18541
18984
  /**
18542
18985
  * Success
18543
18986
  */
18544
18987
  200: {
18545
- data?: Wallet;
18546
- included?: Array<Plan>;
18988
+ data?: ExtractionResult;
18989
+ included?: Array<unknown>;
18547
18990
  meta?: {
18548
18991
  [key: string]: unknown;
18549
18992
  };
18550
18993
  };
18551
18994
  };
18552
- type GetWalletInvoicesResponse = GetWalletInvoicesResponses[keyof GetWalletInvoicesResponses];
18995
+ type PatchExtractionResultsByIdSaveCorrectionsResponse = PatchExtractionResultsByIdSaveCorrectionsResponses[keyof PatchExtractionResultsByIdSaveCorrectionsResponses];
18553
18996
  type PatchWorkspacesByIdStorageSettingsData = {
18554
18997
  /**
18555
18998
  * Request body for the /workspaces/:id/storage-settings operation on workspace resource
@@ -19098,75 +19541,6 @@ type PostAiGraphEdgesResponses = {
19098
19541
  };
19099
19542
  };
19100
19543
  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];
19170
19544
  type GetTrainingExamplesData = {
19171
19545
  body?: never;
19172
19546
  headers: {
@@ -19285,6 +19659,7 @@ type PostTrainingExamplesData = {
19285
19659
  * The type of document (e.g., 'Invoice', 'Receipt', 'Contract')
19286
19660
  */
19287
19661
  document_type?: string | unknown;
19662
+ embedding?: unknown;
19288
19663
  /**
19289
19664
  * The field name that was corrected (e.g., 'customer_name', 'total_amount')
19290
19665
  */
@@ -19752,6 +20127,93 @@ type PostBucketsResponses = {
19752
20127
  };
19753
20128
  };
19754
20129
  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];
19755
20217
  type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData = {
19756
20218
  body?: never;
19757
20219
  headers: {
@@ -20955,7 +21417,6 @@ type PatchAgentsByIdData = {
20955
21417
  body?: {
20956
21418
  data: {
20957
21419
  attributes?: {
20958
- change_summary?: string | unknown;
20959
21420
  default_instructions?: string | unknown;
20960
21421
  description?: string | unknown;
20961
21422
  domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
@@ -20967,6 +21428,7 @@ type PatchAgentsByIdData = {
20967
21428
  [key: string]: unknown;
20968
21429
  } | unknown;
20969
21430
  tags?: Array<string> | unknown;
21431
+ version?: string | unknown;
20970
21432
  };
20971
21433
  id: string;
20972
21434
  relationships?: {
@@ -22189,6 +22651,10 @@ type PatchApplicationsByIdData = {
22189
22651
  invite_only?: boolean | unknown;
22190
22652
  logo_url?: string | unknown;
22191
22653
  name?: string | unknown;
22654
+ /**
22655
+ * OAuth configuration for this application
22656
+ */
22657
+ oauth?: ApplicationOauthInputUpdateType | unknown;
22192
22658
  /**
22193
22659
  * When true, password registration withholds JWT until email is verified
22194
22660
  */
@@ -22364,6 +22830,10 @@ type PatchExtractionDocumentsByIdVerificationData = {
22364
22830
  body?: {
22365
22831
  data: {
22366
22832
  attributes?: {
22833
+ /**
22834
+ * Average confidence score across all extracted fields (0.0 to 1.0)
22835
+ */
22836
+ avg_confidence?: number | unknown;
22367
22837
  last_verified_at?: unknown;
22368
22838
  /**
22369
22839
  * The review/verification state of the document
@@ -22527,93 +22997,6 @@ type PostThreadsByIdForkResponses = {
22527
22997
  };
22528
22998
  };
22529
22999
  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];
22617
23000
  type GetTransactionsData = {
22618
23001
  body?: never;
22619
23002
  headers: {
@@ -25938,6 +26321,221 @@ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
25938
26321
  };
25939
26322
  };
25940
26323
  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];
25941
26539
  type DeleteBucketsByIdData = {
25942
26540
  body?: never;
25943
26541
  headers: {
@@ -28626,20 +29224,88 @@ type PostNotificationMethodsErrors = {
28626
29224
  */
28627
29225
  default: Errors;
28628
29226
  };
28629
- type PostNotificationMethodsError = PostNotificationMethodsErrors[keyof PostNotificationMethodsErrors];
28630
- type PostNotificationMethodsResponses = {
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 = {
28631
29297
  /**
28632
29298
  * Success
28633
29299
  */
28634
- 201: {
28635
- data?: NotificationMethod;
28636
- included?: Array<unknown>;
29300
+ 200: {
29301
+ data?: Wallet;
29302
+ included?: Array<Plan>;
28637
29303
  meta?: {
28638
29304
  [key: string]: unknown;
28639
29305
  };
28640
29306
  };
28641
29307
  };
28642
- type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
29308
+ type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
28643
29309
  type PostThreadsByIdSummarizeData = {
28644
29310
  /**
28645
29311
  * Request body for the /threads/:id/summarize operation on thread resource
@@ -28890,102 +29556,8 @@ type PatchApiKeysByIdRotateResponses = {
28890
29556
  };
28891
29557
  };
28892
29558
  type PatchApiKeysByIdRotateResponse = PatchApiKeysByIdRotateResponses[keyof PatchApiKeysByIdRotateResponses];
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
- };
29559
+ type GetExtractionResultsData = {
29560
+ body?: never;
28989
29561
  headers: {
28990
29562
  /**
28991
29563
  * Application ID for authentication and routing
@@ -28994,6 +29566,16 @@ type PostExtractionResultsData = {
28994
29566
  };
28995
29567
  path?: never;
28996
29568
  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;
28997
29579
  /**
28998
29580
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
28999
29581
  */
@@ -29007,7 +29589,7 @@ type PostExtractionResultsData = {
29007
29589
  };
29008
29590
  url: "/extraction/results";
29009
29591
  };
29010
- type PostExtractionResultsErrors = {
29592
+ type GetExtractionResultsErrors = {
29011
29593
  /**
29012
29594
  * Bad Request - Invalid input data or malformed request
29013
29595
  */
@@ -29037,20 +29619,23 @@ type PostExtractionResultsErrors = {
29037
29619
  */
29038
29620
  default: Errors;
29039
29621
  };
29040
- type PostExtractionResultsError = PostExtractionResultsErrors[keyof PostExtractionResultsErrors];
29041
- type PostExtractionResultsResponses = {
29622
+ type GetExtractionResultsError = GetExtractionResultsErrors[keyof GetExtractionResultsErrors];
29623
+ type GetExtractionResultsResponses = {
29042
29624
  /**
29043
29625
  * Success
29044
29626
  */
29045
- 201: {
29046
- data?: ExtractionResult;
29627
+ 200: {
29628
+ /**
29629
+ * An array of resource objects representing a extraction_result
29630
+ */
29631
+ data?: Array<ExtractionResult>;
29047
29632
  included?: Array<unknown>;
29048
29633
  meta?: {
29049
29634
  [key: string]: unknown;
29050
29635
  };
29051
29636
  };
29052
29637
  };
29053
- type PostExtractionResultsResponse = PostExtractionResultsResponses[keyof PostExtractionResultsResponses];
29638
+ type GetExtractionResultsResponse = GetExtractionResultsResponses[keyof GetExtractionResultsResponses];
29054
29639
  type PostAgentsByIdCloneData = {
29055
29640
  /**
29056
29641
  * Request body for the /agents/:id/clone operation on agent resource
@@ -30345,7 +30930,71 @@ type PostAgentsByIdPublishVersionResponses = {
30345
30930
  * Success
30346
30931
  */
30347
30932
  201: {
30348
- data?: Agent;
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
+ };
30349
30998
  included?: Array<AgentVersion>;
30350
30999
  meta?: {
30351
31000
  [key: string]: unknown;
@@ -31654,15 +32303,12 @@ type PostAgentsData = {
31654
32303
  schema_definition?: {
31655
32304
  [key: string]: unknown;
31656
32305
  } | 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;
31661
32306
  tags?: Array<string> | unknown;
31662
32307
  /**
31663
32308
  * Denormalized from workspace for unique name constraint
31664
32309
  */
31665
32310
  tenant_id?: string | unknown;
32311
+ version?: string | unknown;
31666
32312
  workspace_id?: string | unknown;
31667
32313
  };
31668
32314
  relationships?: {
@@ -31722,85 +32368,188 @@ type PostAgentsErrors = {
31722
32368
  */
31723
32369
  default: Errors;
31724
32370
  };
31725
- type PostAgentsError = PostAgentsErrors[keyof PostAgentsErrors];
31726
- type PostAgentsResponses = {
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 = {
31727
32506
  /**
31728
32507
  * Success
31729
32508
  */
31730
- 201: {
31731
- data?: Agent;
31732
- included?: Array<AgentVersion>;
32509
+ 200: {
32510
+ data?: EmailTemplate;
32511
+ included?: Array<unknown>;
31733
32512
  meta?: {
31734
32513
  [key: string]: unknown;
31735
32514
  };
31736
32515
  };
31737
32516
  };
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;
31761
- };
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 = {
32517
+ type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse = GetApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32518
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
31797
32519
  /**
31798
- * Deleted successfully
32520
+ * Request body for the /applications/:application_id/email-templates/:slug operation on email_template resource
31799
32521
  */
31800
- 200: unknown;
31801
- };
31802
- type GetApplicationsByApplicationIdEmailTemplatesBySlugData = {
31803
- body?: never;
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";
32551
+ };
32552
+ };
31804
32553
  headers: {
31805
32554
  /**
31806
32555
  * Application ID for authentication and routing
@@ -31825,7 +32574,7 @@ type GetApplicationsByApplicationIdEmailTemplatesBySlugData = {
31825
32574
  };
31826
32575
  url: "/applications/{application_id}/email-templates/{slug}";
31827
32576
  };
31828
- type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32577
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
31829
32578
  /**
31830
32579
  * Bad Request - Invalid input data or malformed request
31831
32580
  */
@@ -31855,8 +32604,8 @@ type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
31855
32604
  */
31856
32605
  default: Errors;
31857
32606
  };
31858
- type GetApplicationsByApplicationIdEmailTemplatesBySlugError = GetApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugErrors];
31859
- type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32607
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugError = PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors];
32608
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31860
32609
  /**
31861
32610
  * Success
31862
32611
  */
@@ -31868,40 +32617,21 @@ type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31868
32617
  };
31869
32618
  };
31870
32619
  };
31871
- type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse = GetApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof GetApplicationsByApplicationIdEmailTemplatesBySlugResponses];
31872
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
32620
+ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32621
+ type PatchPaymentMethodsByIdDefaultData = {
31873
32622
  /**
31874
- * Request body for the /applications/:application_id/email-templates/:slug operation on email_template resource
32623
+ * Request body for the /payment-methods/:id/default operation on payment_method resource
31875
32624
  */
31876
32625
  body?: {
31877
32626
  data: {
31878
32627
  attributes?: {
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;
32628
+ [key: string]: never;
31899
32629
  };
31900
32630
  id: string;
31901
32631
  relationships?: {
31902
32632
  [key: string]: never;
31903
32633
  };
31904
- type?: "email_template";
32634
+ type?: "payment_method";
31905
32635
  };
31906
32636
  };
31907
32637
  headers: {
@@ -31911,8 +32641,7 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
31911
32641
  "x-application-key": string;
31912
32642
  };
31913
32643
  path: {
31914
- slug: string;
31915
- application_id: string;
32644
+ id: string;
31916
32645
  };
31917
32646
  query?: {
31918
32647
  /**
@@ -31926,9 +32655,9 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugData = {
31926
32655
  [key: string]: unknown;
31927
32656
  };
31928
32657
  };
31929
- url: "/applications/{application_id}/email-templates/{slug}";
32658
+ url: "/payment-methods/{id}/default";
31930
32659
  };
31931
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
32660
+ type PatchPaymentMethodsByIdDefaultErrors = {
31932
32661
  /**
31933
32662
  * Bad Request - Invalid input data or malformed request
31934
32663
  */
@@ -31958,20 +32687,20 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors = {
31958
32687
  */
31959
32688
  default: Errors;
31960
32689
  };
31961
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugError = PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors];
31962
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32690
+ type PatchPaymentMethodsByIdDefaultError = PatchPaymentMethodsByIdDefaultErrors[keyof PatchPaymentMethodsByIdDefaultErrors];
32691
+ type PatchPaymentMethodsByIdDefaultResponses = {
31963
32692
  /**
31964
32693
  * Success
31965
32694
  */
31966
32695
  200: {
31967
- data?: EmailTemplate;
32696
+ data?: PaymentMethod;
31968
32697
  included?: Array<unknown>;
31969
32698
  meta?: {
31970
32699
  [key: string]: unknown;
31971
32700
  };
31972
32701
  };
31973
32702
  };
31974
- type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32703
+ type PatchPaymentMethodsByIdDefaultResponse = PatchPaymentMethodsByIdDefaultResponses[keyof PatchPaymentMethodsByIdDefaultResponses];
31975
32704
  type PostAgentsByIdExportData = {
31976
32705
  body?: never;
31977
32706
  headers: {
@@ -33379,6 +34108,26 @@ declare const getWorkspaces: <ThrowOnError extends boolean = false>(options: Opt
33379
34108
  *
33380
34109
  */
33381
34110
  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">;
33382
34131
  /**
33383
34132
  * Get stats
33384
34133
  *
@@ -33653,16 +34402,6 @@ declare const getConfigs: <ThrowOnError extends boolean = false>(options: Option
33653
34402
  *
33654
34403
  */
33655
34404
  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">;
33666
34405
  /**
33667
34406
  * Update auto top up
33668
34407
  *
@@ -33797,12 +34536,6 @@ declare const postApplicationsByApplicationIdEmailTemplates: <ThrowOnError exten
33797
34536
  * Get workspaces that own or use all accessible agents (batch endpoint, max 500 agents)
33798
34537
  */
33799
34538
  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">;
33806
34539
  /**
33807
34540
  * Update set primary
33808
34541
  *
@@ -34145,6 +34878,16 @@ declare const deleteUsersById: <ThrowOnError extends boolean = false>(options: O
34145
34878
  *
34146
34879
  */
34147
34880
  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">;
34148
34891
  /**
34149
34892
  * Get results
34150
34893
  *
@@ -34155,6 +34898,16 @@ declare const getUsersById: <ThrowOnError extends boolean = false>(options: Opti
34155
34898
  *
34156
34899
  */
34157
34900
  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">;
34158
34911
  /**
34159
34912
  * List stats
34160
34913
  *
@@ -34701,16 +35454,6 @@ declare const patchInvitationsByIdDecline: <ThrowOnError extends boolean = false
34701
35454
  *
34702
35455
  */
34703
35456
  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">;
34714
35457
  /**
34715
35458
  * Update verify
34716
35459
  *
@@ -34800,9 +35543,23 @@ declare const postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = fals
34800
35543
  /**
34801
35544
  * List invoices
34802
35545
  *
34803
- * Get billing invoices/history for the current tenant
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
+ *
34804
35551
  */
34805
35552
  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">;
34806
35563
  /**
34807
35564
  * Update storage settings
34808
35565
  *
@@ -34869,16 +35626,6 @@ declare const getAiGraphEdges: <ThrowOnError extends boolean = false>(options: O
34869
35626
  *
34870
35627
  */
34871
35628
  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">;
34882
35629
  /**
34883
35630
  * List training examples
34884
35631
  *
@@ -34937,6 +35684,12 @@ declare const getBuckets: <ThrowOnError extends boolean = false>(options: Option
34937
35684
  *
34938
35685
  */
34939
35686
  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">;
34940
35693
  /**
34941
35694
  * Get mapping
34942
35695
  *
@@ -35261,16 +36014,6 @@ declare const patchExtractionDocumentsByIdVerification: <ThrowOnError extends bo
35261
36014
  * Fork a thread by cloning it with all its messages
35262
36015
  */
35263
36016
  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">;
35274
36017
  /**
35275
36018
  * List transactions
35276
36019
  *
@@ -35631,6 +36374,36 @@ declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(o
35631
36374
  * Activate a specific schema version
35632
36375
  */
35633
36376
  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">;
35634
36407
  /**
35635
36408
  * Delete buckets
35636
36409
  *
@@ -35943,6 +36716,12 @@ declare const getNotificationMethods: <ThrowOnError extends boolean = false>(opt
35943
36716
  *
35944
36717
  */
35945
36718
  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">;
35946
36725
  /**
35947
36726
  * Create summarize
35948
36727
  *
@@ -35974,15 +36753,15 @@ declare const patchConfigsByKey: <ThrowOnError extends boolean = false>(options:
35974
36753
  */
35975
36754
  declare const patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
35976
36755
  /**
35977
- * Create results
36756
+ * List results
35978
36757
  *
35979
- * Creates a new resource. Returns the created resource with generated ID.
36758
+ * Lists resources with optional filtering, sorting, and pagination.
35980
36759
  *
35981
36760
  * **Authentication:** Required - Bearer token or API key
35982
36761
  * **Rate Limit:** 100 requests per minute
35983
36762
  *
35984
36763
  */
35985
- declare const postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
36764
+ declare const getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
35986
36765
  /**
35987
36766
  * Create clone
35988
36767
  *
@@ -36335,6 +37114,12 @@ declare const getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError
36335
37114
  *
36336
37115
  */
36337
37116
  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">;
36338
37123
  /**
36339
37124
  * Create export
36340
37125
  *
@@ -36799,6 +37584,8 @@ declare const gptCore: {
36799
37584
  getApplicationsCurrent: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsCurrentData, ThrowOnError>) => RequestResult<GetApplicationsCurrentResponses, GetApplicationsCurrentErrors, ThrowOnError, "fields">;
36800
37585
  getWorkspaces: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesData, ThrowOnError>) => RequestResult<GetWorkspacesResponses, GetWorkspacesErrors, ThrowOnError, "fields">;
36801
37586
  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">;
36802
37589
  getAgentsByIdStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdStatsResponses, GetAgentsByIdStatsErrors, ThrowOnError, "fields">;
36803
37590
  getDocumentsStats: <ThrowOnError extends boolean = false>(options: Options<GetDocumentsStatsData, ThrowOnError>) => RequestResult<GetDocumentsStatsResponses, GetDocumentsStatsErrors, ThrowOnError, "fields">;
36804
37591
  patchExtractionDocumentsByIdDismiss: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdDismissData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdDismissResponses, PatchExtractionDocumentsByIdDismissErrors, ThrowOnError, "fields">;
@@ -36830,7 +37617,6 @@ declare const gptCore: {
36830
37617
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, ThrowOnError, "fields">;
36831
37618
  getConfigs: <ThrowOnError extends boolean = false>(options: Options<GetConfigsData, ThrowOnError>) => RequestResult<GetConfigsResponses, GetConfigsErrors, ThrowOnError, "fields">;
36832
37619
  postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
36833
- getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
36834
37620
  patchWalletAutoTopUp: <ThrowOnError extends boolean = false>(options: Options<PatchWalletAutoTopUpData, ThrowOnError>) => RequestResult<PatchWalletAutoTopUpResponses, PatchWalletAutoTopUpErrors, ThrowOnError, "fields">;
36835
37621
  postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
36836
37622
  patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
@@ -36848,7 +37634,6 @@ declare const gptCore: {
36848
37634
  getApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesResponses, GetApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
36849
37635
  postApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<PostApplicationsByApplicationIdEmailTemplatesResponses, PostApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
36850
37636
  getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
36851
- patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
36852
37637
  patchNotificationMethodsByIdSetPrimary: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSetPrimaryData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSetPrimaryResponses, PatchNotificationMethodsByIdSetPrimaryErrors, ThrowOnError, "fields">;
36853
37638
  getBucketsByIdObjects: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdObjectsData, ThrowOnError>) => RequestResult<GetBucketsByIdObjectsResponses, GetBucketsByIdObjectsErrors, ThrowOnError, "fields">;
36854
37639
  patchInvitationsByIdResend: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdResendData, ThrowOnError>) => RequestResult<PatchInvitationsByIdResendResponses, PatchInvitationsByIdResendErrors, ThrowOnError, "fields">;
@@ -36886,7 +37671,9 @@ declare const gptCore: {
36886
37671
  getCreditPackagesById: <ThrowOnError extends boolean = false>(options: Options<GetCreditPackagesByIdData, ThrowOnError>) => RequestResult<GetCreditPackagesByIdResponses, GetCreditPackagesByIdErrors, ThrowOnError, "fields">;
36887
37672
  deleteUsersById: <ThrowOnError extends boolean = false>(options: Options<DeleteUsersByIdData, ThrowOnError>) => RequestResult<DeleteUsersByIdResponses, DeleteUsersByIdErrors, ThrowOnError, "fields">;
36888
37673
  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">;
36889
37675
  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">;
36890
37677
  getWebhookDeliveriesStats: <ThrowOnError extends boolean = false>(options: Options<GetWebhookDeliveriesStatsData, ThrowOnError>) => RequestResult<GetWebhookDeliveriesStatsResponses, GetWebhookDeliveriesStatsErrors, ThrowOnError, "fields">;
36891
37678
  postAgentsByIdValidate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdValidateData, ThrowOnError>) => RequestResult<PostAgentsByIdValidateResponses, PostAgentsByIdValidateErrors, ThrowOnError, "fields">;
36892
37679
  postWebhookConfigsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsByIdTestData, ThrowOnError>) => RequestResult<PostWebhookConfigsByIdTestResponses, PostWebhookConfigsByIdTestErrors, ThrowOnError, "fields">;
@@ -36950,7 +37737,6 @@ declare const gptCore: {
36950
37737
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, ThrowOnError, "fields">;
36951
37738
  patchInvitationsByIdDecline: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdDeclineData, ThrowOnError>) => RequestResult<PatchInvitationsByIdDeclineResponses, PatchInvitationsByIdDeclineErrors, ThrowOnError, "fields">;
36952
37739
  postExtractionDocumentsUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsUploadResponses, PostExtractionDocumentsUploadErrors, ThrowOnError, "fields">;
36953
- patchExtractionResultsByIdCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdCorrectionsResponses, PatchExtractionResultsByIdCorrectionsErrors, ThrowOnError, "fields">;
36954
37740
  patchNotificationMethodsByIdVerify: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdVerifyData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdVerifyResponses, PatchNotificationMethodsByIdVerifyErrors, ThrowOnError, "fields">;
36955
37741
  getExtractionResultsDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetExtractionResultsDocumentByDocumentIdResponses, GetExtractionResultsDocumentByDocumentIdErrors, ThrowOnError, "fields">;
36956
37742
  patchUserProfilesByIdDismissAnnouncement: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdDismissAnnouncementData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdDismissAnnouncementResponses, PatchUserProfilesByIdDismissAnnouncementErrors, ThrowOnError, "fields">;
@@ -36961,6 +37747,7 @@ declare const gptCore: {
36961
37747
  postTenants: <ThrowOnError extends boolean = false>(options: Options<PostTenantsData, ThrowOnError>) => RequestResult<PostTenantsResponses, PostTenantsErrors, ThrowOnError, "fields">;
36962
37748
  postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdRemoveStorageData, ThrowOnError>) => RequestResult<PostTenantsByIdRemoveStorageResponses, PostTenantsByIdRemoveStorageErrors, ThrowOnError, "fields">;
36963
37749
  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">;
36964
37751
  patchWorkspacesByIdStorageSettings: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdStorageSettingsData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdStorageSettingsResponses, PatchWorkspacesByIdStorageSettingsErrors, ThrowOnError, "fields">;
36965
37752
  getNotificationLogsById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsByIdData, ThrowOnError>) => RequestResult<GetNotificationLogsByIdResponses, GetNotificationLogsByIdErrors, ThrowOnError, "fields">;
36966
37753
  getExtractionDocumentsByIdView: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsByIdViewData, ThrowOnError>) => RequestResult<GetExtractionDocumentsByIdViewResponses, GetExtractionDocumentsByIdViewErrors, ThrowOnError, "fields">;
@@ -36968,7 +37755,6 @@ declare const gptCore: {
36968
37755
  getAuditLogs: <ThrowOnError extends boolean = false>(options: Options<GetAuditLogsData, ThrowOnError>) => RequestResult<GetAuditLogsResponses, GetAuditLogsErrors, ThrowOnError, "fields">;
36969
37756
  getAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<GetAiGraphEdgesData, ThrowOnError>) => RequestResult<GetAiGraphEdgesResponses, GetAiGraphEdgesErrors, ThrowOnError, "fields">;
36970
37757
  postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
36971
- getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
36972
37758
  getTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<GetTrainingExamplesData, ThrowOnError>) => RequestResult<GetTrainingExamplesResponses, GetTrainingExamplesErrors, ThrowOnError, "fields">;
36973
37759
  postTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesData, ThrowOnError>) => RequestResult<PostTrainingExamplesResponses, PostTrainingExamplesErrors, ThrowOnError, "fields">;
36974
37760
  getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, ThrowOnError, "fields">;
@@ -36976,6 +37762,7 @@ declare const gptCore: {
36976
37762
  postObjectsCopy: <ThrowOnError extends boolean = false>(options: Options<PostObjectsCopyData, ThrowOnError>) => RequestResult<PostObjectsCopyResponses, PostObjectsCopyErrors, ThrowOnError, "fields">;
36977
37763
  getBuckets: <ThrowOnError extends boolean = false>(options: Options<GetBucketsData, ThrowOnError>) => RequestResult<GetBucketsResponses, GetBucketsErrors, ThrowOnError, "fields">;
36978
37764
  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">;
36979
37766
  getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
36980
37767
  postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
36981
37768
  getUsersMeActivity: <ThrowOnError extends boolean = false>(options: Options<GetUsersMeActivityData, ThrowOnError>) => RequestResult<GetUsersMeActivityResponses, GetUsersMeActivityErrors, ThrowOnError, "fields">;
@@ -37012,7 +37799,6 @@ declare const gptCore: {
37012
37799
  getSearchHealth: <ThrowOnError extends boolean = false>(options: Options<GetSearchHealthData, ThrowOnError>) => RequestResult<GetSearchHealthResponses, GetSearchHealthErrors, ThrowOnError, "fields">;
37013
37800
  patchExtractionDocumentsByIdVerification: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdVerificationData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdVerificationResponses, PatchExtractionDocumentsByIdVerificationErrors, ThrowOnError, "fields">;
37014
37801
  postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
37015
- postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
37016
37802
  getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
37017
37803
  getUserProfiles: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesData, ThrowOnError>) => RequestResult<GetUserProfilesResponses, GetUserProfilesErrors, ThrowOnError, "fields">;
37018
37804
  postUserProfiles: <ThrowOnError extends boolean = false>(options: Options<PostUserProfilesData, ThrowOnError>) => RequestResult<PostUserProfilesResponses, PostUserProfilesErrors, ThrowOnError, "fields">;
@@ -37055,6 +37841,9 @@ declare const gptCore: {
37055
37841
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
37056
37842
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
37057
37843
  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">;
37058
37847
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
37059
37848
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
37060
37849
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -37089,10 +37878,11 @@ declare const gptCore: {
37089
37878
  postWebhookDeliveriesByIdRetry: <ThrowOnError extends boolean = false>(options: Options<PostWebhookDeliveriesByIdRetryData, ThrowOnError>) => RequestResult<PostWebhookDeliveriesByIdRetryResponses, PostWebhookDeliveriesByIdRetryErrors, ThrowOnError, "fields">;
37090
37879
  getNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<GetNotificationMethodsData, ThrowOnError>) => RequestResult<GetNotificationMethodsResponses, GetNotificationMethodsErrors, ThrowOnError, "fields">;
37091
37880
  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">;
37092
37882
  postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdSummarizeData, ThrowOnError>) => RequestResult<PostThreadsByIdSummarizeResponses, PostThreadsByIdSummarizeErrors, ThrowOnError, "fields">;
37093
37883
  patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
37094
37884
  patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
37095
- postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
37885
+ getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
37096
37886
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
37097
37887
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
37098
37888
  getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
@@ -37131,6 +37921,7 @@ declare const gptCore: {
37131
37921
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37132
37922
  getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37133
37923
  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">;
37134
37925
  postAgentsByIdExport: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdExportData, ThrowOnError>) => RequestResult<PostAgentsByIdExportResponses, PostAgentsByIdExportErrors, ThrowOnError, "fields">;
37135
37926
  postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
37136
37927
  deleteExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionBatchesByIdData, ThrowOnError>) => RequestResult<DeleteExtractionBatchesByIdResponses, DeleteExtractionBatchesByIdErrors, ThrowOnError, "fields">;
@@ -37145,4 +37936,4 @@ declare const gptCore: {
37145
37936
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
37146
37937
  };
37147
37938
 
37148
- 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 };
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 };