@gpt-core/client 0.9.13 → 0.9.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -268,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;
@@ -345,6 +359,54 @@ type WorkspaceSettingsInputCreateType = {
345
359
  source_type?: "local" | "cloud" | unknown;
346
360
  };
347
361
  };
362
+ /**
363
+ * A "Resource object" representing a thread_workspace_stats
364
+ */
365
+ type ThreadWorkspaceStats = {
366
+ /**
367
+ * An attributes object for a thread_workspace_stats
368
+ */
369
+ attributes?: {
370
+ /**
371
+ * Field included by default.
372
+ */
373
+ active_threads_24h: number;
374
+ /**
375
+ * Field included by default.
376
+ */
377
+ active_threads_7d: number;
378
+ /**
379
+ * Field included by default.
380
+ */
381
+ generated_at: unknown;
382
+ /**
383
+ * Field included by default.
384
+ */
385
+ messages_by_role: {
386
+ [key: string]: unknown;
387
+ };
388
+ /**
389
+ * Field included by default.
390
+ */
391
+ total_messages: number;
392
+ /**
393
+ * Field included by default.
394
+ */
395
+ total_threads: number;
396
+ /**
397
+ * Field included by default.
398
+ */
399
+ workspace_id: string;
400
+ };
401
+ id: string;
402
+ /**
403
+ * A relationships object for a thread_workspace_stats
404
+ */
405
+ relationships?: {
406
+ [key: string]: never;
407
+ };
408
+ type: string;
409
+ };
348
410
  /**
349
411
  * A "Resource object" representing a webhook_config
350
412
  */
@@ -636,6 +698,36 @@ type FieldMappingConfirmation = {
636
698
  };
637
699
  type: string;
638
700
  };
701
+ type ApplicationOauthInputCreateType = {
702
+ /**
703
+ * Allowed OAuth callback URLs for this application
704
+ */
705
+ callback_urls?: Array<string> | unknown;
706
+ /**
707
+ * Default callback URL if not specified in request
708
+ */
709
+ default_callback_url?: string | unknown;
710
+ /**
711
+ * Which OAuth providers are enabled for this app
712
+ */
713
+ enabled_providers?: Array<"google" | "github" | "salesforce"> | unknown;
714
+ /**
715
+ * Custom GitHub OAuth client ID (optional)
716
+ */
717
+ github_client_id?: string | unknown;
718
+ /**
719
+ * Custom GitHub OAuth client secret (optional)
720
+ */
721
+ github_client_secret?: string | unknown;
722
+ /**
723
+ * Custom Google OAuth client ID (optional)
724
+ */
725
+ google_client_id?: string | unknown;
726
+ /**
727
+ * Custom Google OAuth client secret (optional)
728
+ */
729
+ google_client_secret?: string | unknown;
730
+ };
639
731
  /**
640
732
  * A "Resource object" representing a training_session
641
733
  */
@@ -869,6 +961,10 @@ type Ledger = {
869
961
  * An attributes object for a ledger
870
962
  */
871
963
  attributes?: {
964
+ /**
965
+ * Field included by default.
966
+ */
967
+ application_id?: string | null | unknown;
872
968
  /**
873
969
  * Optional metadata including api_key_id for tracking source. Field included by default.
874
970
  */
@@ -881,7 +977,18 @@ type Ledger = {
881
977
  * A relationships object for a ledger
882
978
  */
883
979
  relationships?: {
884
- [key: string]: never;
980
+ application?: {
981
+ /**
982
+ * An identifier for application
983
+ */
984
+ data?: {
985
+ id: string;
986
+ meta?: {
987
+ [key: string]: unknown;
988
+ };
989
+ type: string;
990
+ } | null;
991
+ };
885
992
  };
886
993
  type: string;
887
994
  };
@@ -1048,6 +1155,10 @@ type Account = {
1048
1155
  * An attributes object for a account
1049
1156
  */
1050
1157
  attributes?: {
1158
+ /**
1159
+ * Field included by default.
1160
+ */
1161
+ allow_overdraft: boolean;
1051
1162
  /**
1052
1163
  * Field included by default.
1053
1164
  */
@@ -1090,7 +1201,58 @@ type PaymentMethod = {
1090
1201
  * An attributes object for a payment_method
1091
1202
  */
1092
1203
  attributes?: {
1093
- [key: string]: never;
1204
+ /**
1205
+ * Field included by default.
1206
+ */
1207
+ brand?: string | null | unknown;
1208
+ /**
1209
+ * Field included by default.
1210
+ */
1211
+ created_at: unknown;
1212
+ /**
1213
+ * Field included by default.
1214
+ */
1215
+ exp_month?: number | null | unknown;
1216
+ /**
1217
+ * Field included by default.
1218
+ */
1219
+ exp_year?: number | null | unknown;
1220
+ /**
1221
+ * Field included by default.
1222
+ */
1223
+ holder_name?: string | null | unknown;
1224
+ /**
1225
+ * Field included by default.
1226
+ */
1227
+ is_default?: boolean | null | unknown;
1228
+ /**
1229
+ * Field included by default.
1230
+ */
1231
+ last4?: string | null | unknown;
1232
+ /**
1233
+ * Field included by default.
1234
+ */
1235
+ nickname?: string | null | unknown;
1236
+ /**
1237
+ * Field included by default.
1238
+ */
1239
+ provider: "qorpay";
1240
+ /**
1241
+ * Field included by default.
1242
+ */
1243
+ provider_token: string;
1244
+ /**
1245
+ * Field included by default.
1246
+ */
1247
+ type: "card" | "bank_account";
1248
+ /**
1249
+ * Field included by default.
1250
+ */
1251
+ updated_at: unknown;
1252
+ /**
1253
+ * Field included by default.
1254
+ */
1255
+ zip_code?: string | null | unknown;
1094
1256
  };
1095
1257
  id: string;
1096
1258
  /**
@@ -1250,6 +1412,51 @@ type SavedSearch = {
1250
1412
  };
1251
1413
  type: string;
1252
1414
  };
1415
+ /**
1416
+ * A "Resource object" representing a agent_stats
1417
+ */
1418
+ type AgentStats = {
1419
+ /**
1420
+ * An attributes object for a agent_stats
1421
+ */
1422
+ attributes?: {
1423
+ /**
1424
+ * Field included by default.
1425
+ */
1426
+ agent_id: string;
1427
+ /**
1428
+ * Field included by default.
1429
+ */
1430
+ total_calls: number;
1431
+ /**
1432
+ * Field included by default.
1433
+ */
1434
+ total_cost: number;
1435
+ /**
1436
+ * Field included by default.
1437
+ */
1438
+ total_tokens: number;
1439
+ };
1440
+ id: string;
1441
+ /**
1442
+ * A relationships object for a agent_stats
1443
+ */
1444
+ relationships?: {
1445
+ agent?: {
1446
+ /**
1447
+ * An identifier for agent
1448
+ */
1449
+ data?: {
1450
+ id: string;
1451
+ meta?: {
1452
+ [key: string]: unknown;
1453
+ };
1454
+ type: string;
1455
+ } | null;
1456
+ };
1457
+ };
1458
+ type: string;
1459
+ };
1253
1460
  /**
1254
1461
  * A "Resource object" representing a plan
1255
1462
  */
@@ -1361,6 +1568,39 @@ type Application = {
1361
1568
  * Field included by default.
1362
1569
  */
1363
1570
  name: string;
1571
+ /**
1572
+ * OAuth configuration for this application. Field included by default.
1573
+ */
1574
+ oauth?: {
1575
+ /**
1576
+ * Allowed OAuth callback URLs for this application. Field included by default.
1577
+ */
1578
+ callback_urls?: Array<string> | null | unknown;
1579
+ /**
1580
+ * Default callback URL if not specified in request. Field included by default.
1581
+ */
1582
+ default_callback_url?: string | null | unknown;
1583
+ /**
1584
+ * Which OAuth providers are enabled for this app. Field included by default.
1585
+ */
1586
+ enabled_providers?: Array<"google" | "github" | "salesforce"> | null | unknown;
1587
+ /**
1588
+ * Custom GitHub OAuth client ID (optional). Field included by default.
1589
+ */
1590
+ github_client_id?: string | null | unknown;
1591
+ /**
1592
+ * Custom GitHub OAuth client secret (optional). Field included by default.
1593
+ */
1594
+ github_client_secret?: string | null | unknown;
1595
+ /**
1596
+ * Custom Google OAuth client ID (optional). Field included by default.
1597
+ */
1598
+ google_client_id?: string | null | unknown;
1599
+ /**
1600
+ * Custom Google OAuth client secret (optional). Field included by default.
1601
+ */
1602
+ google_client_secret?: string | null | unknown;
1603
+ } | null | unknown;
1364
1604
  /**
1365
1605
  * When true, password registration withholds JWT until email is verified. Field included by default.
1366
1606
  */
@@ -1493,7 +1733,7 @@ type ApiKey = {
1493
1733
  */
1494
1734
  attributes?: {
1495
1735
  /**
1496
- * Field included by default.
1736
+ * Required - the application this API key belongs to. Field included by default.
1497
1737
  */
1498
1738
  application_id: string;
1499
1739
  /**
@@ -1818,8 +2058,22 @@ type WorkspaceSettingsInputUpdateType = {
1818
2058
  } | unknown;
1819
2059
  billing?: {
1820
2060
  allow_overdraft?: boolean | unknown;
2061
+ /**
2062
+ * Maximum overdraft credits allowed per period
2063
+ */
1821
2064
  overdraft_limit?: number | unknown;
2065
+ /**
2066
+ * Period for overdraft limit reset (daily, weekly, monthly)
2067
+ */
1822
2068
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
2069
+ /**
2070
+ * When the current overdraft period began
2071
+ */
2072
+ overdraft_period_started_at?: unknown;
2073
+ /**
2074
+ * Credits used from overdraft in current period
2075
+ */
2076
+ overdraft_used?: number | unknown;
1823
2077
  } | unknown;
1824
2078
  review_train?: {
1825
2079
  confidence_threshold?: number | unknown;
@@ -1895,6 +2149,62 @@ type WorkspaceSettingsInputUpdateType = {
1895
2149
  source_type?: "local" | "cloud" | unknown;
1896
2150
  };
1897
2151
  };
2152
+ /**
2153
+ * A "Resource object" representing a invoice
2154
+ */
2155
+ type Invoice = {
2156
+ /**
2157
+ * An attributes object for a invoice
2158
+ */
2159
+ attributes?: {
2160
+ /**
2161
+ * Field included by default.
2162
+ */
2163
+ amount_due?: number | null | unknown;
2164
+ /**
2165
+ * Field included by default.
2166
+ */
2167
+ amount_paid?: number | null | unknown;
2168
+ /**
2169
+ * Field included by default.
2170
+ */
2171
+ created_at?: unknown;
2172
+ /**
2173
+ * Field included by default.
2174
+ */
2175
+ currency?: string | null | unknown;
2176
+ /**
2177
+ * Field included by default.
2178
+ */
2179
+ due_date?: unknown;
2180
+ /**
2181
+ * Field included by default.
2182
+ */
2183
+ invoice_number?: string | null | unknown;
2184
+ /**
2185
+ * Field included by default.
2186
+ */
2187
+ line_items?: Array<{
2188
+ [key: string]: unknown;
2189
+ }> | null | unknown;
2190
+ /**
2191
+ * Field included by default.
2192
+ */
2193
+ pdf_url?: string | null | unknown;
2194
+ /**
2195
+ * Field included by default.
2196
+ */
2197
+ status?: "draft" | "open" | "paid" | "void" | unknown;
2198
+ };
2199
+ id: string;
2200
+ /**
2201
+ * A relationships object for a invoice
2202
+ */
2203
+ relationships?: {
2204
+ [key: string]: never;
2205
+ };
2206
+ type: string;
2207
+ };
1898
2208
  /**
1899
2209
  * A "Resource object" representing a training_analytics
1900
2210
  */
@@ -1985,7 +2295,72 @@ type Transaction = {
1985
2295
  * An attributes object for a transaction
1986
2296
  */
1987
2297
  attributes?: {
1988
- [key: string]: never;
2298
+ /**
2299
+ * The amount of the transaction. For monetary transactions, this is in cents. For credit usage, this is in credits. Field included by default.
2300
+ */
2301
+ amount: number;
2302
+ /**
2303
+ * Field included by default.
2304
+ */
2305
+ created_at: unknown;
2306
+ /**
2307
+ * Field included by default.
2308
+ */
2309
+ credits_added?: number | null | unknown;
2310
+ /**
2311
+ * Field included by default.
2312
+ */
2313
+ credits_used?: number | null | unknown;
2314
+ /**
2315
+ * Field included by default.
2316
+ */
2317
+ currency?: string | null | unknown;
2318
+ /**
2319
+ * Field included by default.
2320
+ */
2321
+ description?: string | null | unknown;
2322
+ /**
2323
+ * Field included by default.
2324
+ */
2325
+ error_message?: string | null | unknown;
2326
+ /**
2327
+ * Field included by default.
2328
+ */
2329
+ metadata?: {
2330
+ [key: string]: unknown;
2331
+ } | null | unknown;
2332
+ /**
2333
+ * Field included by default.
2334
+ */
2335
+ operation?: "subscription" | "topup" | "extraction" | "training" | "refund" | "addon" | unknown;
2336
+ /**
2337
+ * Field included by default.
2338
+ */
2339
+ provider_reference?: string | null | unknown;
2340
+ /**
2341
+ * Field included by default.
2342
+ */
2343
+ service_id?: string | null | unknown;
2344
+ /**
2345
+ * Field included by default.
2346
+ */
2347
+ status: "pending" | "success" | "failed" | "refunded" | "voided";
2348
+ /**
2349
+ * Field included by default.
2350
+ */
2351
+ tenant_id: string;
2352
+ /**
2353
+ * Field included by default.
2354
+ */
2355
+ transaction_type?: "credit" | "debit" | unknown;
2356
+ /**
2357
+ * Field included by default.
2358
+ */
2359
+ type?: "sale" | "auth" | "refund" | "void" | unknown;
2360
+ /**
2361
+ * Field included by default.
2362
+ */
2363
+ updated_at: unknown;
1989
2364
  };
1990
2365
  id: string;
1991
2366
  /**
@@ -2004,38 +2379,14 @@ type ExtractionResult = {
2004
2379
  * An attributes object for a extraction_result
2005
2380
  */
2006
2381
  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
2382
  /**
2020
2383
  * Character count of extracted text
2021
2384
  */
2022
2385
  char_count?: number | null | unknown;
2023
- /**
2024
- * Overall classification confidence score. Field included by default.
2025
- */
2026
- classification_confidence?: number | null | unknown;
2027
2386
  /**
2028
2387
  * Field included by default.
2029
2388
  */
2030
2389
  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
2390
  /**
2040
2391
  * Field included by default.
2041
2392
  */
@@ -2058,10 +2409,6 @@ type ExtractionResult = {
2058
2409
  * Line count of extracted text
2059
2410
  */
2060
2411
  line_count?: number | null | unknown;
2061
- /**
2062
- * Municipality or agency name. Field included by default.
2063
- */
2064
- municipality?: string | null | unknown;
2065
2412
  ocr_blocks?: Array<{
2066
2413
  [key: string]: unknown;
2067
2414
  }> | null | unknown;
@@ -2071,17 +2418,9 @@ type ExtractionResult = {
2071
2418
  processing_time_ms?: number | null | unknown;
2072
2419
  schema_id?: string | null | unknown;
2073
2420
  /**
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.
2421
+ * The version of the schema/agent used for this extraction. Field included by default.
2079
2422
  */
2080
2423
  schema_version?: string | null | unknown;
2081
- /**
2082
- * State code. Field included by default.
2083
- */
2084
- state?: string | null | unknown;
2085
2424
  /**
2086
2425
  * Field included by default.
2087
2426
  */
@@ -2251,6 +2590,10 @@ type Tenant = {
2251
2590
  * Field included by default.
2252
2591
  */
2253
2592
  auto_top_up_enabled: boolean;
2593
+ /**
2594
+ * The credit package to purchase when auto top-up is triggered. Field included by default.
2595
+ */
2596
+ auto_top_up_package_id?: string | null | unknown;
2254
2597
  /**
2255
2598
  * Credit balance threshold to trigger auto top-up. Field included by default.
2256
2599
  */
@@ -2492,10 +2835,6 @@ type AgentVersion = {
2492
2835
  * Field included by default.
2493
2836
  */
2494
2837
  created_at: unknown;
2495
- /**
2496
- * Combined display version like 'v2 rev 5'
2497
- */
2498
- display_version?: string | null | unknown;
2499
2838
  /**
2500
2839
  * Field included by default.
2501
2840
  */
@@ -2549,10 +2888,6 @@ type AgentVersion = {
2549
2888
  * Field included by default.
2550
2889
  */
2551
2890
  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
2891
  /**
2557
2892
  * Field included by default.
2558
2893
  */
@@ -2618,6 +2953,39 @@ type ApplicationType = {
2618
2953
  * Field included by default.
2619
2954
  */
2620
2955
  name: string;
2956
+ /**
2957
+ * OAuth configuration for this application. Field included by default.
2958
+ */
2959
+ oauth?: {
2960
+ /**
2961
+ * Allowed OAuth callback URLs for this application. Field included by default.
2962
+ */
2963
+ callback_urls?: Array<string> | null | unknown;
2964
+ /**
2965
+ * Default callback URL if not specified in request. Field included by default.
2966
+ */
2967
+ default_callback_url?: string | null | unknown;
2968
+ /**
2969
+ * Which OAuth providers are enabled for this app. Field included by default.
2970
+ */
2971
+ enabled_providers?: Array<"google" | "github" | "salesforce"> | null | unknown;
2972
+ /**
2973
+ * Custom GitHub OAuth client ID (optional). Field included by default.
2974
+ */
2975
+ github_client_id?: string | null | unknown;
2976
+ /**
2977
+ * Custom GitHub OAuth client secret (optional). Field included by default.
2978
+ */
2979
+ github_client_secret?: string | null | unknown;
2980
+ /**
2981
+ * Custom Google OAuth client ID (optional). Field included by default.
2982
+ */
2983
+ google_client_id?: string | null | unknown;
2984
+ /**
2985
+ * Custom Google OAuth client secret (optional). Field included by default.
2986
+ */
2987
+ google_client_secret?: string | null | unknown;
2988
+ } | null | unknown;
2621
2989
  /**
2622
2990
  * When true, password registration withholds JWT until email is verified. Field included by default.
2623
2991
  */
@@ -3221,54 +3589,6 @@ type PermissionMeta = {
3221
3589
  };
3222
3590
  type: string;
3223
3591
  };
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
3592
  /**
3273
3593
  * A "Resource object" representing a llm_analytics
3274
3594
  */
@@ -3446,6 +3766,50 @@ type PricingRule = {
3446
3766
  };
3447
3767
  type: string;
3448
3768
  };
3769
+ /**
3770
+ * A "Resource object" representing a settlement
3771
+ */
3772
+ type Settlement = {
3773
+ /**
3774
+ * An attributes object for a settlement
3775
+ */
3776
+ attributes?: {
3777
+ /**
3778
+ * Per-operation and per-tenant breakdown for ISV visibility. Field included by default.
3779
+ */
3780
+ breakdown?: {
3781
+ [key: string]: unknown;
3782
+ } | null | unknown;
3783
+ /**
3784
+ * Error message if settlement failed. Field included by default.
3785
+ */
3786
+ error_message?: string | null | unknown;
3787
+ /**
3788
+ * Date when funds can be released from hold. Field included by default.
3789
+ */
3790
+ hold_until?: string | null | unknown;
3791
+ /**
3792
+ * When settlement was paid out. Field included by default.
3793
+ */
3794
+ paid_at?: string | null | unknown;
3795
+ /**
3796
+ * QorPay ACH transaction ID for payout. Field included by default.
3797
+ */
3798
+ qorpay_transaction_id?: string | null | unknown;
3799
+ /**
3800
+ * Field included by default.
3801
+ */
3802
+ status?: "pending" | "calculated" | "held" | "released" | "paid" | "failed" | unknown;
3803
+ };
3804
+ id: string;
3805
+ /**
3806
+ * A relationships object for a settlement
3807
+ */
3808
+ relationships?: {
3809
+ [key: string]: never;
3810
+ };
3811
+ type: string;
3812
+ };
3449
3813
  /**
3450
3814
  * A "Resource object" representing a tenant-membership
3451
3815
  */
@@ -3731,6 +4095,36 @@ type Transfer = {
3731
4095
  };
3732
4096
  type: string;
3733
4097
  };
4098
+ type ApplicationOauthInputUpdateType = {
4099
+ /**
4100
+ * Allowed OAuth callback URLs for this application
4101
+ */
4102
+ callback_urls?: Array<string> | unknown;
4103
+ /**
4104
+ * Default callback URL if not specified in request
4105
+ */
4106
+ default_callback_url?: string | unknown;
4107
+ /**
4108
+ * Which OAuth providers are enabled for this app
4109
+ */
4110
+ enabled_providers?: Array<"google" | "github" | "salesforce"> | unknown;
4111
+ /**
4112
+ * Custom GitHub OAuth client ID (optional)
4113
+ */
4114
+ github_client_id?: string | unknown;
4115
+ /**
4116
+ * Custom GitHub OAuth client secret (optional)
4117
+ */
4118
+ github_client_secret?: string | unknown;
4119
+ /**
4120
+ * Custom Google OAuth client ID (optional)
4121
+ */
4122
+ google_client_id?: string | unknown;
4123
+ /**
4124
+ * Custom Google OAuth client secret (optional)
4125
+ */
4126
+ google_client_secret?: string | unknown;
4127
+ };
3734
4128
  /**
3735
4129
  * A "Resource object" representing a presigned_url
3736
4130
  */
@@ -4100,7 +4494,14 @@ type Subscription = {
4100
4494
  * An attributes object for a subscription
4101
4495
  */
4102
4496
  attributes?: {
4103
- [key: string]: never;
4497
+ /**
4498
+ * Field included by default.
4499
+ */
4500
+ dunning_stage: number;
4501
+ /**
4502
+ * Field included by default.
4503
+ */
4504
+ next_retry_at?: string | null | unknown;
4104
4505
  };
4105
4506
  id: string;
4106
4507
  /**
@@ -4111,6 +4512,113 @@ type Subscription = {
4111
4512
  };
4112
4513
  type: string;
4113
4514
  };
4515
+ /**
4516
+ * A "Resource object" representing a agent_training_stats
4517
+ */
4518
+ type AgentTrainingStats = {
4519
+ /**
4520
+ * An attributes object for a agent_training_stats
4521
+ */
4522
+ attributes?: {
4523
+ /**
4524
+ * Field included by default.
4525
+ */
4526
+ accuracy: number;
4527
+ /**
4528
+ * Field included by default.
4529
+ */
4530
+ agent_id: string;
4531
+ /**
4532
+ * Field included by default.
4533
+ */
4534
+ examples_last_7_days: number;
4535
+ /**
4536
+ * Field included by default.
4537
+ */
4538
+ last_example_created_at?: unknown;
4539
+ /**
4540
+ * Field included by default.
4541
+ */
4542
+ learning_active: boolean;
4543
+ /**
4544
+ * Field included by default.
4545
+ */
4546
+ total_examples: number;
4547
+ /**
4548
+ * Field included by default.
4549
+ */
4550
+ version: number;
4551
+ };
4552
+ id: string;
4553
+ /**
4554
+ * A relationships object for a agent_training_stats
4555
+ */
4556
+ relationships?: {
4557
+ agent?: {
4558
+ /**
4559
+ * An identifier for agent
4560
+ */
4561
+ data?: {
4562
+ id: string;
4563
+ meta?: {
4564
+ [key: string]: unknown;
4565
+ };
4566
+ type: string;
4567
+ } | null;
4568
+ };
4569
+ };
4570
+ type: string;
4571
+ };
4572
+ /**
4573
+ * A "Resource object" representing a thread_stats
4574
+ */
4575
+ type ThreadStats = {
4576
+ /**
4577
+ * An attributes object for a thread_stats
4578
+ */
4579
+ attributes?: {
4580
+ /**
4581
+ * Field included by default.
4582
+ */
4583
+ active_threads_24h: number;
4584
+ /**
4585
+ * Field included by default.
4586
+ */
4587
+ active_threads_7d: number;
4588
+ /**
4589
+ * Field included by default.
4590
+ */
4591
+ generated_at: unknown;
4592
+ /**
4593
+ * Field included by default.
4594
+ */
4595
+ messages_by_role: {
4596
+ [key: string]: unknown;
4597
+ };
4598
+ /**
4599
+ * Field included by default.
4600
+ */
4601
+ top_workspaces: Array<{
4602
+ [key: string]: unknown;
4603
+ }>;
4604
+ /**
4605
+ * Field included by default.
4606
+ */
4607
+ total_messages: number;
4608
+ /**
4609
+ * Field included by default.
4610
+ */
4611
+ total_threads: number;
4612
+ };
4613
+ id: string;
4614
+ /**
4615
+ * A relationships object for a thread_stats
4616
+ */
4617
+ relationships?: {
4618
+ [key: string]: never;
4619
+ };
4620
+ type: string;
4621
+ };
4114
4622
  /**
4115
4623
  * A "Resource object" representing a bulk_dismissal_result
4116
4624
  */
@@ -4359,10 +4867,6 @@ type DocumentChunk = {
4359
4867
  * Field included by default.
4360
4868
  */
4361
4869
  document_id: string;
4362
- /**
4363
- * Field included by default.
4364
- */
4365
- embedding?: unknown;
4366
4870
  };
4367
4871
  id: string;
4368
4872
  /**
@@ -4416,9 +4920,9 @@ type Workspace = {
4416
4920
  */
4417
4921
  app: string;
4418
4922
  /**
4419
- * Field included by default.
4923
+ * Required - the application this workspace belongs to. Field included by default.
4420
4924
  */
4421
- application_id?: string | null | unknown;
4925
+ application_id: string;
4422
4926
  /**
4423
4927
  * Field included by default.
4424
4928
  */
@@ -4427,18 +4931,10 @@ type Workspace = {
4427
4931
  * Field included by default.
4428
4932
  */
4429
4933
  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
4934
  /**
4435
4935
  * Field included by default.
4436
4936
  */
4437
4937
  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
4938
  /**
4443
4939
  * Field included by default.
4444
4940
  */
@@ -4459,10 +4955,6 @@ type Workspace = {
4459
4955
  * Field included by default.
4460
4956
  */
4461
4957
  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
4958
  /**
4467
4959
  * Field included by default.
4468
4960
  */
@@ -4511,13 +5003,21 @@ type Workspace = {
4511
5003
  */
4512
5004
  allow_overdraft: boolean;
4513
5005
  /**
4514
- * Field included by default.
5006
+ * Maximum overdraft credits allowed per period. Field included by default.
4515
5007
  */
4516
5008
  overdraft_limit?: number | null | unknown;
4517
5009
  /**
4518
- * Field included by default.
5010
+ * Period for overdraft limit reset (daily, weekly, monthly). Field included by default.
4519
5011
  */
4520
5012
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
5013
+ /**
5014
+ * When the current overdraft period began. Field included by default.
5015
+ */
5016
+ overdraft_period_started_at?: unknown;
5017
+ /**
5018
+ * Credits used from overdraft in current period. Field included by default.
5019
+ */
5020
+ overdraft_used?: number | null | unknown;
4521
5021
  };
4522
5022
  /**
4523
5023
  * Field included by default.
@@ -4840,6 +5340,119 @@ type SystemMessage = {
4840
5340
  };
4841
5341
  type: string;
4842
5342
  };
5343
+ /**
5344
+ * A "Resource object" representing a wholesale-agreement
5345
+ */
5346
+ type WholesaleAgreement = {
5347
+ /**
5348
+ * An attributes object for a wholesale-agreement
5349
+ */
5350
+ attributes?: {
5351
+ /**
5352
+ * Field included by default.
5353
+ */
5354
+ effective_date?: string | null | unknown;
5355
+ /**
5356
+ * Days to hold funds before release. Field included by default.
5357
+ */
5358
+ hold_days: number;
5359
+ /**
5360
+ * Field included by default.
5361
+ */
5362
+ isv_tenant_id: string;
5363
+ /**
5364
+ * Minimum payout amount in cents ($25.00 default). Field included by default.
5365
+ */
5366
+ minimum_payout_cents: number;
5367
+ /**
5368
+ * Wholesale pricing model: percentage of retail or fixed floor rates. Field included by default.
5369
+ */
5370
+ model: "percentage" | "interchange_plus";
5371
+ /**
5372
+ * Field included by default.
5373
+ */
5374
+ notes?: string | null | unknown;
5375
+ /**
5376
+ * Per-operation floor rates for interchange-plus model. Field included by default.
5377
+ */
5378
+ rates?: Array<{
5379
+ [key: string]: unknown;
5380
+ }> | null | unknown;
5381
+ /**
5382
+ * Field included by default.
5383
+ */
5384
+ settlement_frequency: "monthly" | "weekly" | "daily";
5385
+ /**
5386
+ * Platform take rate as percentage of retail (for percentage model). Field included by default.
5387
+ */
5388
+ take_rate_percent: number;
5389
+ };
5390
+ id: string;
5391
+ /**
5392
+ * A relationships object for a wholesale-agreement
5393
+ */
5394
+ relationships?: {
5395
+ isv_tenant?: {
5396
+ /**
5397
+ * An identifier for isv_tenant
5398
+ */
5399
+ data?: {
5400
+ id: string;
5401
+ meta?: {
5402
+ [key: string]: unknown;
5403
+ };
5404
+ type: string;
5405
+ } | null;
5406
+ };
5407
+ };
5408
+ type: string;
5409
+ };
5410
+ /**
5411
+ * A "Resource object" representing a agent_usage
5412
+ */
5413
+ type AgentUsage = {
5414
+ /**
5415
+ * An attributes object for a agent_usage
5416
+ */
5417
+ attributes?: {
5418
+ /**
5419
+ * Field included by default.
5420
+ */
5421
+ agent_id?: string | null | unknown;
5422
+ /**
5423
+ * Field included by default.
5424
+ */
5425
+ is_shared?: boolean | null | unknown;
5426
+ /**
5427
+ * Field included by default.
5428
+ */
5429
+ is_system?: boolean | null | unknown;
5430
+ /**
5431
+ * Field included by default.
5432
+ */
5433
+ owner?: {
5434
+ [key: string]: unknown;
5435
+ } | null | unknown;
5436
+ /**
5437
+ * Field included by default.
5438
+ */
5439
+ using?: Array<{
5440
+ [key: string]: unknown;
5441
+ }> | null | unknown;
5442
+ /**
5443
+ * Field included by default.
5444
+ */
5445
+ using_count?: number | null | unknown;
5446
+ };
5447
+ id: string;
5448
+ /**
5449
+ * A relationships object for a agent_usage
5450
+ */
5451
+ relationships?: {
5452
+ [key: string]: never;
5453
+ };
5454
+ type: string;
5455
+ };
4843
5456
  /**
4844
5457
  * A "Resource object" representing a extraction_document
4845
5458
  */
@@ -4852,37 +5465,34 @@ type ExtractionDocument = {
4852
5465
  * Overall classification confidence (0.0 to 1.0). Field included by default.
4853
5466
  */
4854
5467
  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
5468
  uploaded_at?: string | null | unknown;
4860
5469
  /**
4861
5470
  * Current processing stage based on storage path
4862
5471
  */
4863
5472
  stage?: string | null | unknown;
4864
5473
  /**
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.
5474
+ * Credits billed for processing this document. Field included by default.
4870
5475
  */
4871
- schema_revision?: number | null | unknown;
5476
+ billed_credits?: number | null | unknown;
4872
5477
  /**
4873
- * Credits billed for processing this document
5478
+ * Field included by default.
4874
5479
  */
4875
- billed_credits?: number | null | unknown;
4876
5480
  storage_path: string;
4877
5481
  /**
4878
- * SHA256 hash of the file content for deduplication
5482
+ * SHA256 hash of the file content for deduplication. Field included by default.
4879
5483
  */
4880
5484
  file_hash?: string | null | unknown;
5485
+ /**
5486
+ * Field included by default.
5487
+ */
4881
5488
  excluded_by?: string | null | unknown;
4882
5489
  /**
4883
- * The S3 bucket where this document is stored. Set during upload/begin_upload.
5490
+ * The S3 bucket where this document is stored. Set during upload/begin_upload. Field included by default.
4884
5491
  */
4885
5492
  bucket_name?: string | null | unknown;
5493
+ /**
5494
+ * Field included by default.
5495
+ */
4886
5496
  deleted_at?: unknown;
4887
5497
  /**
4888
5498
  * Classification object containing domain, document_type, municipality, state, and confidence
@@ -4899,49 +5509,77 @@ type ExtractionDocument = {
4899
5509
  * Reason why this document is in the review queue
4900
5510
  */
4901
5511
  queue_reason?: string | null | unknown;
5512
+ /**
5513
+ * Field included by default.
5514
+ */
4902
5515
  status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
5516
+ /**
5517
+ * Field included by default.
5518
+ */
4903
5519
  progress?: number | null | unknown;
4904
5520
  /**
4905
- * Timestamp when document was moved to output/error bucket
5521
+ * Timestamp when document was moved to output/error bucket. Field included by default.
4906
5522
  */
4907
5523
  moved_at?: unknown;
4908
5524
  /**
4909
- * Full path (bucket/key) where document was copied after successful extraction
5525
+ * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
4910
5526
  */
4911
5527
  output_storage_path?: string | null | unknown;
4912
5528
  /**
4913
- * Metadata about the training session for this document (trained_at, user_id, scores)
5529
+ * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
4914
5530
  */
4915
5531
  training_metadata?: {
4916
5532
  [key: string]: unknown;
4917
5533
  } | null | unknown;
5534
+ ocr_text?: string | null | unknown;
4918
5535
  upload_url?: string | null | unknown;
5536
+ /**
5537
+ * Field included by default.
5538
+ */
4919
5539
  pages?: number | null | unknown;
4920
5540
  /**
4921
- * The review/verification state of the document
5541
+ * The review/verification state of the document. Field included by default.
4922
5542
  */
4923
5543
  verification_status?: "unverified" | "partially_verified" | "fully_verified" | unknown;
5544
+ /**
5545
+ * Field included by default.
5546
+ */
4924
5547
  processed_at?: unknown;
5548
+ /**
5549
+ * Field included by default.
5550
+ */
4925
5551
  error_message?: string | null | unknown;
5552
+ /**
5553
+ * Field included by default.
5554
+ */
4926
5555
  verified_by_user_id?: string | null | unknown;
5556
+ /**
5557
+ * Field included by default.
5558
+ */
4927
5559
  file_type: "pdf" | "docx" | "image" | "zip";
5560
+ /**
5561
+ * Field included by default.
5562
+ */
4928
5563
  file_size_bytes?: number | null | unknown;
4929
5564
  /**
4930
- * Timestamp when document processing completed (status changed to :completed)
5565
+ * Timestamp when document processing completed (status changed to :completed). Field included by default.
4931
5566
  */
4932
5567
  completed_at?: unknown;
4933
5568
  /**
4934
- * The version of the agent/schema used to process this document (e.g., 'v2'). Field included by default.
5569
+ * The version of the agent/schema used to process this document. Field included by default.
4935
5570
  */
4936
5571
  schema_version?: string | null | unknown;
4937
5572
  presigned_view_url?: string | null | unknown;
5573
+ /**
5574
+ * Field included by default.
5575
+ */
4938
5576
  last_verified_at?: unknown;
4939
5577
  /**
4940
5578
  * State or province code (2-letter). Field included by default.
4941
5579
  */
4942
5580
  state?: string | null | unknown;
4943
5581
  /**
4944
- * Full path (bucket/key) where document was copied after failed extraction
5582
+ * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
4945
5583
  */
4946
5584
  error_storage_path?: string | null | unknown;
4947
5585
  /**
@@ -4949,14 +5587,16 @@ type ExtractionDocument = {
4949
5587
  */
4950
5588
  domain?: string | null | unknown;
4951
5589
  /**
4952
- * If true, this document is excluded from training (both creating new examples and being used in retrieval)
5590
+ * If true, this document is excluded from training (both creating new examples and being used in retrieval). Field included by default.
4953
5591
  */
4954
5592
  excluded_from_training: boolean;
4955
5593
  /**
4956
- * The Agent that processed this document. Field included by default.
5594
+ * Field included by default.
4957
5595
  */
4958
- agent_id?: string | null | unknown;
4959
5596
  excluded_at?: unknown;
5597
+ /**
5598
+ * Field included by default.
5599
+ */
4960
5600
  filename: string;
4961
5601
  /**
4962
5602
  * Average confidence score across all extracted fields (0.0 to 1.0). Field included by default.
@@ -5878,7 +6518,9 @@ type GetWebhookConfigsStatsResponses = {
5878
6518
  * Success
5879
6519
  */
5880
6520
  200: {
5881
- [key: string]: unknown;
6521
+ result: {
6522
+ [key: string]: unknown;
6523
+ };
5882
6524
  };
5883
6525
  };
5884
6526
  type GetWebhookConfigsStatsResponse = GetWebhookConfigsStatsResponses[keyof GetWebhookConfigsStatsResponses];
@@ -5929,7 +6571,9 @@ type GetApplicationsCurrentResponses = {
5929
6571
  /**
5930
6572
  * Success
5931
6573
  */
5932
- 200: ApplicationType;
6574
+ 200: {
6575
+ result: ApplicationType;
6576
+ };
5933
6577
  };
5934
6578
  type GetApplicationsCurrentResponse = GetApplicationsCurrentResponses[keyof GetApplicationsCurrentResponses];
5935
6579
  type GetWorkspacesData = {
@@ -6024,7 +6668,10 @@ type PostWorkspacesData = {
6024
6668
  * App type: extract, invoicing, crm, etc.
6025
6669
  */
6026
6670
  app?: string | unknown;
6027
- application_id?: string | unknown;
6671
+ /**
6672
+ * Required - the application this workspace belongs to
6673
+ */
6674
+ application_id: string;
6028
6675
  description?: string | unknown;
6029
6676
  expires_at?: unknown;
6030
6677
  initial_credits?: number | unknown;
@@ -6099,20 +6746,195 @@ type PostWorkspacesErrors = {
6099
6746
  */
6100
6747
  default: Errors;
6101
6748
  };
6102
- type PostWorkspacesError = PostWorkspacesErrors[keyof PostWorkspacesErrors];
6103
- type PostWorkspacesResponses = {
6749
+ type PostWorkspacesError = PostWorkspacesErrors[keyof PostWorkspacesErrors];
6750
+ type PostWorkspacesResponses = {
6751
+ /**
6752
+ * Success
6753
+ */
6754
+ 201: {
6755
+ data?: Workspace;
6756
+ included?: Array<Tenant>;
6757
+ meta?: {
6758
+ [key: string]: unknown;
6759
+ };
6760
+ };
6761
+ };
6762
+ type PostWorkspacesResponse = PostWorkspacesResponses[keyof PostWorkspacesResponses];
6763
+ type GetPaymentMethodsData = {
6764
+ body?: never;
6765
+ headers: {
6766
+ /**
6767
+ * Application ID for authentication and routing
6768
+ */
6769
+ "x-application-key": string;
6770
+ };
6771
+ path?: never;
6772
+ query?: {
6773
+ /**
6774
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
6775
+ */
6776
+ filter?: {
6777
+ [key: string]: unknown;
6778
+ };
6779
+ /**
6780
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
6781
+ */
6782
+ sort?: string;
6783
+ /**
6784
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
6785
+ */
6786
+ page?: {
6787
+ [key: string]: unknown;
6788
+ };
6789
+ /**
6790
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6791
+ */
6792
+ include?: string;
6793
+ /**
6794
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6795
+ */
6796
+ fields?: {
6797
+ [key: string]: unknown;
6798
+ };
6799
+ };
6800
+ url: "/payment-methods";
6801
+ };
6802
+ type GetPaymentMethodsErrors = {
6803
+ /**
6804
+ * Bad Request - Invalid input data or malformed request
6805
+ */
6806
+ 400: ErrorResponse;
6807
+ /**
6808
+ * Unauthorized - Missing or invalid authentication token
6809
+ */
6810
+ 401: ErrorResponse;
6811
+ /**
6812
+ * Forbidden - Authenticated but not authorized for this resource
6813
+ */
6814
+ 403: ErrorResponse;
6815
+ /**
6816
+ * Not Found - Resource does not exist
6817
+ */
6818
+ 404: ErrorResponse;
6819
+ /**
6820
+ * Too Many Requests - Rate limit exceeded
6821
+ */
6822
+ 429: ErrorResponse;
6823
+ /**
6824
+ * Internal Server Error - Unexpected server error
6825
+ */
6826
+ 500: ErrorResponse;
6827
+ /**
6828
+ * General Error
6829
+ */
6830
+ default: Errors;
6831
+ };
6832
+ type GetPaymentMethodsError = GetPaymentMethodsErrors[keyof GetPaymentMethodsErrors];
6833
+ type GetPaymentMethodsResponses = {
6834
+ /**
6835
+ * Success
6836
+ */
6837
+ 200: {
6838
+ /**
6839
+ * An array of resource objects representing a payment_method
6840
+ */
6841
+ data?: Array<PaymentMethod>;
6842
+ included?: Array<unknown>;
6843
+ meta?: {
6844
+ [key: string]: unknown;
6845
+ };
6846
+ };
6847
+ };
6848
+ type GetPaymentMethodsResponse = GetPaymentMethodsResponses[keyof GetPaymentMethodsResponses];
6849
+ type PostPaymentMethodsData = {
6850
+ /**
6851
+ * Request body for the /payment-methods operation on payment_method resource
6852
+ */
6853
+ body: {
6854
+ data: {
6855
+ attributes?: {
6856
+ brand?: string | unknown;
6857
+ customer_id?: string | unknown;
6858
+ exp_month?: number | unknown;
6859
+ exp_year?: number | unknown;
6860
+ is_default?: boolean | unknown;
6861
+ last4?: string | unknown;
6862
+ nickname?: string | unknown;
6863
+ provider?: "qorpay" | unknown;
6864
+ provider_token: string;
6865
+ type: "card" | "bank_account";
6866
+ };
6867
+ relationships?: {
6868
+ [key: string]: never;
6869
+ };
6870
+ type?: "payment_method";
6871
+ };
6872
+ };
6873
+ headers: {
6874
+ /**
6875
+ * Application ID for authentication and routing
6876
+ */
6877
+ "x-application-key": string;
6878
+ };
6879
+ path?: never;
6880
+ query?: {
6881
+ /**
6882
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6883
+ */
6884
+ include?: string;
6885
+ /**
6886
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6887
+ */
6888
+ fields?: {
6889
+ [key: string]: unknown;
6890
+ };
6891
+ };
6892
+ url: "/payment-methods";
6893
+ };
6894
+ type PostPaymentMethodsErrors = {
6895
+ /**
6896
+ * Bad Request - Invalid input data or malformed request
6897
+ */
6898
+ 400: ErrorResponse;
6899
+ /**
6900
+ * Unauthorized - Missing or invalid authentication token
6901
+ */
6902
+ 401: ErrorResponse;
6903
+ /**
6904
+ * Forbidden - Authenticated but not authorized for this resource
6905
+ */
6906
+ 403: ErrorResponse;
6907
+ /**
6908
+ * Not Found - Resource does not exist
6909
+ */
6910
+ 404: ErrorResponse;
6911
+ /**
6912
+ * Too Many Requests - Rate limit exceeded
6913
+ */
6914
+ 429: ErrorResponse;
6915
+ /**
6916
+ * Internal Server Error - Unexpected server error
6917
+ */
6918
+ 500: ErrorResponse;
6919
+ /**
6920
+ * General Error
6921
+ */
6922
+ default: Errors;
6923
+ };
6924
+ type PostPaymentMethodsError = PostPaymentMethodsErrors[keyof PostPaymentMethodsErrors];
6925
+ type PostPaymentMethodsResponses = {
6104
6926
  /**
6105
6927
  * Success
6106
6928
  */
6107
6929
  201: {
6108
- data?: Workspace;
6109
- included?: Array<Tenant>;
6930
+ data?: PaymentMethod;
6931
+ included?: Array<unknown>;
6110
6932
  meta?: {
6111
6933
  [key: string]: unknown;
6112
6934
  };
6113
6935
  };
6114
6936
  };
6115
- type PostWorkspacesResponse = PostWorkspacesResponses[keyof PostWorkspacesResponses];
6937
+ type PostPaymentMethodsResponse = PostPaymentMethodsResponses[keyof PostPaymentMethodsResponses];
6116
6938
  type GetAgentsByIdStatsData = {
6117
6939
  body?: never;
6118
6940
  headers: {
@@ -6123,11 +6945,22 @@ type GetAgentsByIdStatsData = {
6123
6945
  };
6124
6946
  path: {
6125
6947
  /**
6126
- * Agent ID (from URL path parameter)
6948
+ * Agent ID from URL path
6127
6949
  */
6128
6950
  id: string;
6129
6951
  };
6130
- query?: never;
6952
+ query?: {
6953
+ /**
6954
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6955
+ */
6956
+ include?: string;
6957
+ /**
6958
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6959
+ */
6960
+ fields?: {
6961
+ [key: string]: unknown;
6962
+ };
6963
+ };
6131
6964
  url: "/agents/{id}/stats";
6132
6965
  };
6133
6966
  type GetAgentsByIdStatsErrors = {
@@ -6166,7 +6999,11 @@ type GetAgentsByIdStatsResponses = {
6166
6999
  * Success
6167
7000
  */
6168
7001
  200: {
6169
- [key: string]: unknown;
7002
+ data?: AgentStats;
7003
+ included?: Array<unknown>;
7004
+ meta?: {
7005
+ [key: string]: unknown;
7006
+ };
6170
7007
  };
6171
7008
  };
6172
7009
  type GetAgentsByIdStatsResponse = GetAgentsByIdStatsResponses[keyof GetAgentsByIdStatsResponses];
@@ -7697,14 +8534,6 @@ type PatchExtractionDocumentsByIdStatusData = {
7697
8534
  body?: {
7698
8535
  data: {
7699
8536
  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
8537
  /**
7709
8538
  * Average confidence score across all extracted fields (0.0 to 1.0)
7710
8539
  */
@@ -7959,32 +8788,34 @@ type GetUsersMeDashboardResponses = {
7959
8788
  * Success
7960
8789
  */
7961
8790
  200: {
7962
- /**
7963
- * Field included by default.
7964
- */
7965
- allowed_actions?: Array<string> | null | unknown;
7966
- /**
7967
- * Field included by default.
7968
- */
7969
- is_own?: boolean | null | unknown;
7970
- /**
7971
- * Field included by default.
7972
- */
7973
- stats?: {
7974
- [key: string]: unknown;
7975
- } | null | unknown;
7976
- /**
7977
- * Field included by default.
7978
- */
7979
- tenant?: {
7980
- [key: string]: unknown;
7981
- } | null | unknown;
7982
- /**
7983
- * Field included by default.
7984
- */
7985
- workspaces?: Array<{
7986
- [key: string]: unknown;
7987
- }> | null | unknown;
8791
+ result: {
8792
+ /**
8793
+ * Field included by default.
8794
+ */
8795
+ allowed_actions?: Array<string> | null | unknown;
8796
+ /**
8797
+ * Field included by default.
8798
+ */
8799
+ is_own?: boolean | null | unknown;
8800
+ /**
8801
+ * Field included by default.
8802
+ */
8803
+ stats?: {
8804
+ [key: string]: unknown;
8805
+ } | null | unknown;
8806
+ /**
8807
+ * Field included by default.
8808
+ */
8809
+ tenant?: {
8810
+ [key: string]: unknown;
8811
+ } | null | unknown;
8812
+ /**
8813
+ * Field included by default.
8814
+ */
8815
+ workspaces?: Array<{
8816
+ [key: string]: unknown;
8817
+ }> | null | unknown;
8818
+ };
7988
8819
  };
7989
8820
  };
7990
8821
  type GetUsersMeDashboardResponse = GetUsersMeDashboardResponses[keyof GetUsersMeDashboardResponses];
@@ -8566,88 +9397,6 @@ type PostConfigsResponses = {
8566
9397
  };
8567
9398
  };
8568
9399
  type PostConfigsResponse = PostConfigsResponses[keyof PostConfigsResponses];
8569
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData = {
8570
- body?: never;
8571
- headers: {
8572
- /**
8573
- * Application ID for authentication and routing
8574
- */
8575
- "x-application-key": string;
8576
- };
8577
- path: {
8578
- agent_version_id: string;
8579
- };
8580
- query?: {
8581
- /**
8582
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
8583
- */
8584
- filter?: {
8585
- [key: string]: unknown;
8586
- };
8587
- /**
8588
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
8589
- */
8590
- sort?: string;
8591
- /**
8592
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
8593
- */
8594
- include?: string;
8595
- /**
8596
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
8597
- */
8598
- fields?: {
8599
- [key: string]: unknown;
8600
- };
8601
- };
8602
- url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions";
8603
- };
8604
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors = {
8605
- /**
8606
- * Bad Request - Invalid input data or malformed request
8607
- */
8608
- 400: ErrorResponse;
8609
- /**
8610
- * Unauthorized - Missing or invalid authentication token
8611
- */
8612
- 401: ErrorResponse;
8613
- /**
8614
- * Forbidden - Authenticated but not authorized for this resource
8615
- */
8616
- 403: ErrorResponse;
8617
- /**
8618
- * Not Found - Resource does not exist
8619
- */
8620
- 404: ErrorResponse;
8621
- /**
8622
- * Too Many Requests - Rate limit exceeded
8623
- */
8624
- 429: ErrorResponse;
8625
- /**
8626
- * Internal Server Error - Unexpected server error
8627
- */
8628
- 500: ErrorResponse;
8629
- /**
8630
- * General Error
8631
- */
8632
- default: Errors;
8633
- };
8634
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors];
8635
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses = {
8636
- /**
8637
- * Success
8638
- */
8639
- 200: {
8640
- /**
8641
- * An array of resource objects representing a agent_version_revision
8642
- */
8643
- data?: Array<AgentVersionRevision>;
8644
- included?: Array<unknown>;
8645
- meta?: {
8646
- [key: string]: unknown;
8647
- };
8648
- };
8649
- };
8650
- type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses];
8651
9400
  type PatchWalletAutoTopUpData = {
8652
9401
  /**
8653
9402
  * Request body for the /wallet/auto-top-up operation on wallet resource
@@ -8657,6 +9406,7 @@ type PatchWalletAutoTopUpData = {
8657
9406
  attributes?: {
8658
9407
  amount?: number | unknown;
8659
9408
  enabled: boolean;
9409
+ package_id?: string | unknown;
8660
9410
  threshold?: number | unknown;
8661
9411
  };
8662
9412
  id: string;
@@ -9562,7 +10312,9 @@ type GetWatcherClaimsStatusResponses = {
9562
10312
  * Success
9563
10313
  */
9564
10314
  200: {
9565
- [key: string]: unknown;
10315
+ result: {
10316
+ [key: string]: unknown;
10317
+ };
9566
10318
  };
9567
10319
  };
9568
10320
  type GetWatcherClaimsStatusResponse = GetWatcherClaimsStatusResponses[keyof GetWatcherClaimsStatusResponses];
@@ -9789,142 +10541,86 @@ type GetApplicationsByApplicationIdEmailTemplatesErrors = {
9789
10541
  */
9790
10542
  default: Errors;
9791
10543
  };
9792
- type GetApplicationsByApplicationIdEmailTemplatesError = GetApplicationsByApplicationIdEmailTemplatesErrors[keyof GetApplicationsByApplicationIdEmailTemplatesErrors];
9793
- type GetApplicationsByApplicationIdEmailTemplatesResponses = {
9794
- /**
9795
- * Success
9796
- */
9797
- 200: {
9798
- /**
9799
- * An array of resource objects representing a email_template
9800
- */
9801
- data?: Array<EmailTemplate>;
9802
- included?: Array<unknown>;
9803
- meta?: {
9804
- [key: string]: unknown;
9805
- };
9806
- };
9807
- };
9808
- type GetApplicationsByApplicationIdEmailTemplatesResponse = GetApplicationsByApplicationIdEmailTemplatesResponses[keyof GetApplicationsByApplicationIdEmailTemplatesResponses];
9809
- type PostApplicationsByApplicationIdEmailTemplatesData = {
9810
- /**
9811
- * Request body for the /applications/:application_id/email-templates operation on email_template resource
9812
- */
9813
- body: {
9814
- data: {
9815
- attributes?: {
9816
- application_id: string;
9817
- /**
9818
- * Email body in markdown (supports {{variable}} interpolation)
9819
- */
9820
- body_markdown: string;
9821
- /**
9822
- * Whether this email is sent
9823
- */
9824
- enabled?: boolean | unknown;
9825
- /**
9826
- * Display name for the template
9827
- */
9828
- name: string;
9829
- /**
9830
- * Primary brand color for email styling (hex)
9831
- */
9832
- primary_color?: string | unknown;
9833
- /**
9834
- * Unique identifier for this template within the application
9835
- */
9836
- slug: string;
9837
- /**
9838
- * Email subject line (supports {{variable}} interpolation)
9839
- */
9840
- subject: string;
9841
- };
9842
- relationships?: {
9843
- [key: string]: never;
9844
- };
9845
- type?: "email_template";
9846
- };
9847
- };
9848
- headers: {
9849
- /**
9850
- * Application ID for authentication and routing
9851
- */
9852
- "x-application-key": string;
9853
- };
9854
- path: {
9855
- application_id: string;
9856
- };
9857
- query?: {
9858
- /**
9859
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9860
- */
9861
- include?: string;
9862
- /**
9863
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
9864
- */
9865
- fields?: {
9866
- [key: string]: unknown;
9867
- };
9868
- };
9869
- url: "/applications/{application_id}/email-templates";
9870
- };
9871
- type PostApplicationsByApplicationIdEmailTemplatesErrors = {
9872
- /**
9873
- * Bad Request - Invalid input data or malformed request
9874
- */
9875
- 400: ErrorResponse;
9876
- /**
9877
- * Unauthorized - Missing or invalid authentication token
9878
- */
9879
- 401: ErrorResponse;
9880
- /**
9881
- * Forbidden - Authenticated but not authorized for this resource
9882
- */
9883
- 403: ErrorResponse;
9884
- /**
9885
- * Not Found - Resource does not exist
9886
- */
9887
- 404: ErrorResponse;
9888
- /**
9889
- * Too Many Requests - Rate limit exceeded
9890
- */
9891
- 429: ErrorResponse;
9892
- /**
9893
- * Internal Server Error - Unexpected server error
9894
- */
9895
- 500: ErrorResponse;
9896
- /**
9897
- * General Error
9898
- */
9899
- default: Errors;
9900
- };
9901
- type PostApplicationsByApplicationIdEmailTemplatesError = PostApplicationsByApplicationIdEmailTemplatesErrors[keyof PostApplicationsByApplicationIdEmailTemplatesErrors];
9902
- type PostApplicationsByApplicationIdEmailTemplatesResponses = {
10544
+ type GetApplicationsByApplicationIdEmailTemplatesError = GetApplicationsByApplicationIdEmailTemplatesErrors[keyof GetApplicationsByApplicationIdEmailTemplatesErrors];
10545
+ type GetApplicationsByApplicationIdEmailTemplatesResponses = {
9903
10546
  /**
9904
10547
  * Success
9905
10548
  */
9906
- 201: {
9907
- data?: EmailTemplate;
10549
+ 200: {
10550
+ /**
10551
+ * An array of resource objects representing a email_template
10552
+ */
10553
+ data?: Array<EmailTemplate>;
9908
10554
  included?: Array<unknown>;
9909
10555
  meta?: {
9910
10556
  [key: string]: unknown;
9911
10557
  };
9912
10558
  };
9913
10559
  };
9914
- type PostApplicationsByApplicationIdEmailTemplatesResponse = PostApplicationsByApplicationIdEmailTemplatesResponses[keyof PostApplicationsByApplicationIdEmailTemplatesResponses];
9915
- type GetAgentsUsageData = {
9916
- body?: never;
10560
+ type GetApplicationsByApplicationIdEmailTemplatesResponse = GetApplicationsByApplicationIdEmailTemplatesResponses[keyof GetApplicationsByApplicationIdEmailTemplatesResponses];
10561
+ type PostApplicationsByApplicationIdEmailTemplatesData = {
10562
+ /**
10563
+ * Request body for the /applications/:application_id/email-templates operation on email_template resource
10564
+ */
10565
+ body: {
10566
+ data: {
10567
+ attributes?: {
10568
+ application_id: string;
10569
+ /**
10570
+ * Email body in markdown (supports {{variable}} interpolation)
10571
+ */
10572
+ body_markdown: string;
10573
+ /**
10574
+ * Whether this email is sent
10575
+ */
10576
+ enabled?: boolean | unknown;
10577
+ /**
10578
+ * Display name for the template
10579
+ */
10580
+ name: string;
10581
+ /**
10582
+ * Primary brand color for email styling (hex)
10583
+ */
10584
+ primary_color?: string | unknown;
10585
+ /**
10586
+ * Unique identifier for this template within the application
10587
+ */
10588
+ slug: string;
10589
+ /**
10590
+ * Email subject line (supports {{variable}} interpolation)
10591
+ */
10592
+ subject: string;
10593
+ };
10594
+ relationships?: {
10595
+ [key: string]: never;
10596
+ };
10597
+ type?: "email_template";
10598
+ };
10599
+ };
9917
10600
  headers: {
9918
10601
  /**
9919
10602
  * Application ID for authentication and routing
9920
10603
  */
9921
10604
  "x-application-key": string;
9922
10605
  };
9923
- path?: never;
9924
- query?: never;
9925
- url: "/agents/usage";
10606
+ path: {
10607
+ application_id: string;
10608
+ };
10609
+ query?: {
10610
+ /**
10611
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10612
+ */
10613
+ include?: string;
10614
+ /**
10615
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10616
+ */
10617
+ fields?: {
10618
+ [key: string]: unknown;
10619
+ };
10620
+ };
10621
+ url: "/applications/{application_id}/email-templates";
9926
10622
  };
9927
- type GetAgentsUsageErrors = {
10623
+ type PostApplicationsByApplicationIdEmailTemplatesErrors = {
9928
10624
  /**
9929
10625
  * Bad Request - Invalid input data or malformed request
9930
10626
  */
@@ -9954,42 +10650,40 @@ type GetAgentsUsageErrors = {
9954
10650
  */
9955
10651
  default: Errors;
9956
10652
  };
9957
- type GetAgentsUsageError = GetAgentsUsageErrors[keyof GetAgentsUsageErrors];
9958
- type GetAgentsUsageResponses = {
10653
+ type PostApplicationsByApplicationIdEmailTemplatesError = PostApplicationsByApplicationIdEmailTemplatesErrors[keyof PostApplicationsByApplicationIdEmailTemplatesErrors];
10654
+ type PostApplicationsByApplicationIdEmailTemplatesResponses = {
9959
10655
  /**
9960
10656
  * Success
9961
10657
  */
9962
- 200: {
9963
- [key: string]: unknown;
9964
- };
9965
- };
9966
- type GetAgentsUsageResponse = GetAgentsUsageResponses[keyof GetAgentsUsageResponses];
9967
- type PatchWorkspacesByIdPopulateHashesData = {
9968
- /**
9969
- * Request body for the /workspaces/:id/populate-hashes operation on workspace resource
9970
- */
9971
- body?: {
9972
- data: {
9973
- attributes?: {
9974
- [key: string]: never;
9975
- };
9976
- id: string;
9977
- relationships?: {
9978
- [key: string]: never;
9979
- };
9980
- type?: "workspace";
10658
+ 201: {
10659
+ data?: EmailTemplate;
10660
+ included?: Array<unknown>;
10661
+ meta?: {
10662
+ [key: string]: unknown;
9981
10663
  };
9982
10664
  };
10665
+ };
10666
+ type PostApplicationsByApplicationIdEmailTemplatesResponse = PostApplicationsByApplicationIdEmailTemplatesResponses[keyof PostApplicationsByApplicationIdEmailTemplatesResponses];
10667
+ type GetAgentsUsageData = {
10668
+ body?: never;
9983
10669
  headers: {
9984
10670
  /**
9985
10671
  * Application ID for authentication and routing
9986
10672
  */
9987
10673
  "x-application-key": string;
9988
10674
  };
9989
- path: {
9990
- id: string;
9991
- };
10675
+ path?: never;
9992
10676
  query?: {
10677
+ /**
10678
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
10679
+ */
10680
+ filter?: {
10681
+ [key: string]: unknown;
10682
+ };
10683
+ /**
10684
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
10685
+ */
10686
+ sort?: string;
9993
10687
  /**
9994
10688
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9995
10689
  */
@@ -10001,9 +10695,9 @@ type PatchWorkspacesByIdPopulateHashesData = {
10001
10695
  [key: string]: unknown;
10002
10696
  };
10003
10697
  };
10004
- url: "/workspaces/{id}/populate-hashes";
10698
+ url: "/agents/usage";
10005
10699
  };
10006
- type PatchWorkspacesByIdPopulateHashesErrors = {
10700
+ type GetAgentsUsageErrors = {
10007
10701
  /**
10008
10702
  * Bad Request - Invalid input data or malformed request
10009
10703
  */
@@ -10033,20 +10727,23 @@ type PatchWorkspacesByIdPopulateHashesErrors = {
10033
10727
  */
10034
10728
  default: Errors;
10035
10729
  };
10036
- type PatchWorkspacesByIdPopulateHashesError = PatchWorkspacesByIdPopulateHashesErrors[keyof PatchWorkspacesByIdPopulateHashesErrors];
10037
- type PatchWorkspacesByIdPopulateHashesResponses = {
10730
+ type GetAgentsUsageError = GetAgentsUsageErrors[keyof GetAgentsUsageErrors];
10731
+ type GetAgentsUsageResponses = {
10038
10732
  /**
10039
10733
  * Success
10040
10734
  */
10041
10735
  200: {
10042
- data?: Workspace;
10043
- included?: Array<Tenant>;
10736
+ /**
10737
+ * An array of resource objects representing a agent_usage
10738
+ */
10739
+ data?: Array<AgentUsage>;
10740
+ included?: Array<unknown>;
10044
10741
  meta?: {
10045
10742
  [key: string]: unknown;
10046
10743
  };
10047
10744
  };
10048
10745
  };
10049
- type PatchWorkspacesByIdPopulateHashesResponse = PatchWorkspacesByIdPopulateHashesResponses[keyof PatchWorkspacesByIdPopulateHashesResponses];
10746
+ type GetAgentsUsageResponse = GetAgentsUsageResponses[keyof GetAgentsUsageResponses];
10050
10747
  type PatchNotificationMethodsByIdSetPrimaryData = {
10051
10748
  /**
10052
10749
  * Request body for the /notification_methods/:id/set_primary operation on notification_method resource
@@ -12734,14 +13431,145 @@ type DeleteUsersByIdErrors = {
12734
13431
  */
12735
13432
  default: Errors;
12736
13433
  };
12737
- type DeleteUsersByIdError = DeleteUsersByIdErrors[keyof DeleteUsersByIdErrors];
12738
- type DeleteUsersByIdResponses = {
13434
+ type DeleteUsersByIdError = DeleteUsersByIdErrors[keyof DeleteUsersByIdErrors];
13435
+ type DeleteUsersByIdResponses = {
13436
+ /**
13437
+ * Deleted successfully
13438
+ */
13439
+ 200: unknown;
13440
+ };
13441
+ type GetUsersByIdData = {
13442
+ body?: never;
13443
+ headers: {
13444
+ /**
13445
+ * Application ID for authentication and routing
13446
+ */
13447
+ "x-application-key": string;
13448
+ };
13449
+ path: {
13450
+ id: string;
13451
+ };
13452
+ query?: {
13453
+ /**
13454
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13455
+ */
13456
+ include?: string;
13457
+ /**
13458
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13459
+ */
13460
+ fields?: {
13461
+ [key: string]: unknown;
13462
+ };
13463
+ };
13464
+ url: "/users/{id}";
13465
+ };
13466
+ type GetUsersByIdErrors = {
13467
+ /**
13468
+ * Bad Request - Invalid input data or malformed request
13469
+ */
13470
+ 400: ErrorResponse;
13471
+ /**
13472
+ * Unauthorized - Missing or invalid authentication token
13473
+ */
13474
+ 401: ErrorResponse;
13475
+ /**
13476
+ * Forbidden - Authenticated but not authorized for this resource
13477
+ */
13478
+ 403: ErrorResponse;
13479
+ /**
13480
+ * Not Found - Resource does not exist
13481
+ */
13482
+ 404: ErrorResponse;
13483
+ /**
13484
+ * Too Many Requests - Rate limit exceeded
13485
+ */
13486
+ 429: ErrorResponse;
13487
+ /**
13488
+ * Internal Server Error - Unexpected server error
13489
+ */
13490
+ 500: ErrorResponse;
13491
+ /**
13492
+ * General Error
13493
+ */
13494
+ default: Errors;
13495
+ };
13496
+ type GetUsersByIdError = GetUsersByIdErrors[keyof GetUsersByIdErrors];
13497
+ type GetUsersByIdResponses = {
13498
+ /**
13499
+ * Success
13500
+ */
13501
+ 200: {
13502
+ data?: User;
13503
+ included?: Array<unknown>;
13504
+ meta?: {
13505
+ [key: string]: unknown;
13506
+ };
13507
+ };
13508
+ };
13509
+ type GetUsersByIdResponse = GetUsersByIdResponses[keyof GetUsersByIdResponses];
13510
+ type DeleteExtractionResultsByIdData = {
13511
+ body?: never;
13512
+ headers: {
13513
+ /**
13514
+ * Application ID for authentication and routing
13515
+ */
13516
+ "x-application-key": string;
13517
+ };
13518
+ path: {
13519
+ id: string;
13520
+ };
13521
+ query?: {
13522
+ /**
13523
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13524
+ */
13525
+ include?: string;
13526
+ /**
13527
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
13528
+ */
13529
+ fields?: {
13530
+ [key: string]: unknown;
13531
+ };
13532
+ };
13533
+ url: "/extraction/results/{id}";
13534
+ };
13535
+ type DeleteExtractionResultsByIdErrors = {
13536
+ /**
13537
+ * Bad Request - Invalid input data or malformed request
13538
+ */
13539
+ 400: ErrorResponse;
13540
+ /**
13541
+ * Unauthorized - Missing or invalid authentication token
13542
+ */
13543
+ 401: ErrorResponse;
13544
+ /**
13545
+ * Forbidden - Authenticated but not authorized for this resource
13546
+ */
13547
+ 403: ErrorResponse;
13548
+ /**
13549
+ * Not Found - Resource does not exist
13550
+ */
13551
+ 404: ErrorResponse;
13552
+ /**
13553
+ * Too Many Requests - Rate limit exceeded
13554
+ */
13555
+ 429: ErrorResponse;
13556
+ /**
13557
+ * Internal Server Error - Unexpected server error
13558
+ */
13559
+ 500: ErrorResponse;
13560
+ /**
13561
+ * General Error
13562
+ */
13563
+ default: Errors;
13564
+ };
13565
+ type DeleteExtractionResultsByIdError = DeleteExtractionResultsByIdErrors[keyof DeleteExtractionResultsByIdErrors];
13566
+ type DeleteExtractionResultsByIdResponses = {
12739
13567
  /**
12740
13568
  * Deleted successfully
12741
13569
  */
12742
13570
  200: unknown;
12743
13571
  };
12744
- type GetUsersByIdData = {
13572
+ type GetExtractionResultsByIdData = {
12745
13573
  body?: never;
12746
13574
  headers: {
12747
13575
  /**
@@ -12764,9 +13592,9 @@ type GetUsersByIdData = {
12764
13592
  [key: string]: unknown;
12765
13593
  };
12766
13594
  };
12767
- url: "/users/{id}";
13595
+ url: "/extraction/results/{id}";
12768
13596
  };
12769
- type GetUsersByIdErrors = {
13597
+ type GetExtractionResultsByIdErrors = {
12770
13598
  /**
12771
13599
  * Bad Request - Invalid input data or malformed request
12772
13600
  */
@@ -12796,22 +13624,41 @@ type GetUsersByIdErrors = {
12796
13624
  */
12797
13625
  default: Errors;
12798
13626
  };
12799
- type GetUsersByIdError = GetUsersByIdErrors[keyof GetUsersByIdErrors];
12800
- type GetUsersByIdResponses = {
13627
+ type GetExtractionResultsByIdError = GetExtractionResultsByIdErrors[keyof GetExtractionResultsByIdErrors];
13628
+ type GetExtractionResultsByIdResponses = {
12801
13629
  /**
12802
13630
  * Success
12803
13631
  */
12804
13632
  200: {
12805
- data?: User;
13633
+ data?: ExtractionResult;
12806
13634
  included?: Array<unknown>;
12807
13635
  meta?: {
12808
13636
  [key: string]: unknown;
12809
13637
  };
12810
13638
  };
12811
13639
  };
12812
- type GetUsersByIdResponse = GetUsersByIdResponses[keyof GetUsersByIdResponses];
12813
- type GetExtractionResultsByIdData = {
12814
- body?: never;
13640
+ type GetExtractionResultsByIdResponse = GetExtractionResultsByIdResponses[keyof GetExtractionResultsByIdResponses];
13641
+ type PatchExtractionResultsByIdData = {
13642
+ /**
13643
+ * Request body for the /extraction/results/:id operation on extraction_result resource
13644
+ */
13645
+ body?: {
13646
+ data: {
13647
+ attributes?: {
13648
+ credits_used?: string | unknown;
13649
+ extracted_fields?: {
13650
+ [key: string]: unknown;
13651
+ } | unknown;
13652
+ processing_time_ms?: number | unknown;
13653
+ status?: "pending" | "completed" | "failed" | unknown;
13654
+ };
13655
+ id: string;
13656
+ relationships?: {
13657
+ [key: string]: never;
13658
+ };
13659
+ type?: "extraction_result";
13660
+ };
13661
+ };
12815
13662
  headers: {
12816
13663
  /**
12817
13664
  * Application ID for authentication and routing
@@ -12835,7 +13682,7 @@ type GetExtractionResultsByIdData = {
12835
13682
  };
12836
13683
  url: "/extraction/results/{id}";
12837
13684
  };
12838
- type GetExtractionResultsByIdErrors = {
13685
+ type PatchExtractionResultsByIdErrors = {
12839
13686
  /**
12840
13687
  * Bad Request - Invalid input data or malformed request
12841
13688
  */
@@ -12865,8 +13712,8 @@ type GetExtractionResultsByIdErrors = {
12865
13712
  */
12866
13713
  default: Errors;
12867
13714
  };
12868
- type GetExtractionResultsByIdError = GetExtractionResultsByIdErrors[keyof GetExtractionResultsByIdErrors];
12869
- type GetExtractionResultsByIdResponses = {
13715
+ type PatchExtractionResultsByIdError = PatchExtractionResultsByIdErrors[keyof PatchExtractionResultsByIdErrors];
13716
+ type PatchExtractionResultsByIdResponses = {
12870
13717
  /**
12871
13718
  * Success
12872
13719
  */
@@ -12878,7 +13725,7 @@ type GetExtractionResultsByIdResponses = {
12878
13725
  };
12879
13726
  };
12880
13727
  };
12881
- type GetExtractionResultsByIdResponse = GetExtractionResultsByIdResponses[keyof GetExtractionResultsByIdResponses];
13728
+ type PatchExtractionResultsByIdResponse = PatchExtractionResultsByIdResponses[keyof PatchExtractionResultsByIdResponses];
12882
13729
  type GetWebhookDeliveriesStatsData = {
12883
13730
  body?: never;
12884
13731
  headers: {
@@ -12927,7 +13774,9 @@ type GetWebhookDeliveriesStatsResponses = {
12927
13774
  * Success
12928
13775
  */
12929
13776
  200: {
12930
- [key: string]: unknown;
13777
+ result: {
13778
+ [key: string]: unknown;
13779
+ };
12931
13780
  };
12932
13781
  };
12933
13782
  type GetWebhookDeliveriesStatsResponse = GetWebhookDeliveriesStatsResponses[keyof GetWebhookDeliveriesStatsResponses];
@@ -13305,7 +14154,9 @@ type GetAgentsByIdSchemaVersionsResponses = {
13305
14154
  * Success
13306
14155
  */
13307
14156
  200: {
13308
- [key: string]: unknown;
14157
+ result: {
14158
+ [key: string]: unknown;
14159
+ };
13309
14160
  };
13310
14161
  };
13311
14162
  type GetAgentsByIdSchemaVersionsResponse = GetAgentsByIdSchemaVersionsResponses[keyof GetAgentsByIdSchemaVersionsResponses];
@@ -13582,7 +14433,9 @@ type GetUsersMeTenantsResponses = {
13582
14433
  * Success
13583
14434
  */
13584
14435
  200: {
13585
- [key: string]: unknown;
14436
+ result: {
14437
+ [key: string]: unknown;
14438
+ };
13586
14439
  };
13587
14440
  };
13588
14441
  type GetUsersMeTenantsResponse = GetUsersMeTenantsResponses[keyof GetUsersMeTenantsResponses];
@@ -14080,7 +14933,9 @@ type GetUsersMeStatsResponses = {
14080
14933
  * Success
14081
14934
  */
14082
14935
  200: {
14083
- [key: string]: unknown;
14936
+ result: {
14937
+ [key: string]: unknown;
14938
+ };
14084
14939
  };
14085
14940
  };
14086
14941
  type GetUsersMeStatsResponse = GetUsersMeStatsResponses[keyof GetUsersMeStatsResponses];
@@ -15236,7 +16091,18 @@ type GetThreadsStatsData = {
15236
16091
  "x-application-key": string;
15237
16092
  };
15238
16093
  path?: never;
15239
- query?: never;
16094
+ query?: {
16095
+ /**
16096
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16097
+ */
16098
+ include?: string;
16099
+ /**
16100
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
16101
+ */
16102
+ fields?: {
16103
+ [key: string]: unknown;
16104
+ };
16105
+ };
15240
16106
  url: "/threads/stats";
15241
16107
  };
15242
16108
  type GetThreadsStatsErrors = {
@@ -15275,7 +16141,11 @@ type GetThreadsStatsResponses = {
15275
16141
  * Success
15276
16142
  */
15277
16143
  200: {
15278
- [key: string]: unknown;
16144
+ data?: ThreadStats;
16145
+ included?: Array<unknown>;
16146
+ meta?: {
16147
+ [key: string]: unknown;
16148
+ };
15279
16149
  };
15280
16150
  };
15281
16151
  type GetThreadsStatsResponse = GetThreadsStatsResponses[keyof GetThreadsStatsResponses];
@@ -15734,6 +16604,10 @@ type PostApplicationsData = {
15734
16604
  invite_only?: boolean | unknown;
15735
16605
  logo_url?: string | unknown;
15736
16606
  name: string;
16607
+ /**
16608
+ * OAuth configuration for this application
16609
+ */
16610
+ oauth?: ApplicationOauthInputCreateType | unknown;
15737
16611
  owner_id?: string | unknown;
15738
16612
  /**
15739
16613
  * When true, password registration withholds JWT until email is verified
@@ -16056,7 +16930,7 @@ type PatchExtractionDocumentsByIdReprocessData = {
16056
16930
  data: {
16057
16931
  attributes?: {
16058
16932
  /**
16059
- * The version of the agent/schema used to process this document (e.g., 'v2')
16933
+ * The version of the agent/schema used to process this document
16060
16934
  */
16061
16935
  schema_version?: string | unknown;
16062
16936
  schema_version_id?: string | unknown;
@@ -16754,6 +17628,7 @@ type PostLlmAnalyticsData = {
16754
17628
  tenant_id?: string | unknown;
16755
17629
  total_tokens?: number | unknown;
16756
17630
  user_id?: string | unknown;
17631
+ wholesale_cost_usd?: string | unknown;
16757
17632
  workspace_id?: string | unknown;
16758
17633
  };
16759
17634
  relationships?: {
@@ -16879,7 +17754,9 @@ type GetStorageStatsTenantByTenantIdResponses = {
16879
17754
  /**
16880
17755
  * Success
16881
17756
  */
16882
- 200: StorageStatsType;
17757
+ 200: {
17758
+ result: StorageStatsType;
17759
+ };
16883
17760
  };
16884
17761
  type GetStorageStatsTenantByTenantIdResponse = GetStorageStatsTenantByTenantIdResponses[keyof GetStorageStatsTenantByTenantIdResponses];
16885
17762
  type PostAgentTestResultsData = {
@@ -17240,7 +18117,9 @@ type GetWebhookConfigsByIdEventsResponses = {
17240
18117
  * Success
17241
18118
  */
17242
18119
  200: {
17243
- [key: string]: unknown;
18120
+ result: {
18121
+ [key: string]: unknown;
18122
+ };
17244
18123
  };
17245
18124
  };
17246
18125
  type GetWebhookConfigsByIdEventsResponse = GetWebhookConfigsByIdEventsResponses[keyof GetWebhookConfigsByIdEventsResponses];
@@ -17448,7 +18327,6 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData = {
17448
18327
  [key: string]: unknown;
17449
18328
  };
17450
18329
  limit?: number;
17451
- filter_by_threshold?: boolean;
17452
18330
  };
17453
18331
  url: "/extraction/documents/workspace/{workspace_id}/review_queue";
17454
18332
  };
@@ -17675,92 +18553,6 @@ type PostExtractionDocumentsUploadResponses = {
17675
18553
  };
17676
18554
  };
17677
18555
  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
18556
  type PatchNotificationMethodsByIdVerifyData = {
17765
18557
  /**
17766
18558
  * Request body for the /notification_methods/:id/verify operation on notification_method resource
@@ -18135,11 +18927,10 @@ type PatchWorkspacesByIdData = {
18135
18927
  body?: {
18136
18928
  data: {
18137
18929
  attributes?: {
18138
- application_id?: string | unknown;
18139
18930
  /**
18140
- * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed.
18931
+ * Required - the application this workspace belongs to
18141
18932
  */
18142
- deduplicate_uploads?: boolean | unknown;
18933
+ application_id?: string | unknown;
18143
18934
  is_default?: boolean | unknown;
18144
18935
  low_balance_threshold?: number | unknown;
18145
18936
  name?: string | unknown;
@@ -18493,6 +19284,22 @@ type GetWalletInvoicesData = {
18493
19284
  };
18494
19285
  path?: never;
18495
19286
  query?: {
19287
+ /**
19288
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19289
+ */
19290
+ filter?: {
19291
+ [key: string]: unknown;
19292
+ };
19293
+ /**
19294
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19295
+ */
19296
+ sort?: string;
19297
+ /**
19298
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19299
+ */
19300
+ page?: {
19301
+ [key: string]: unknown;
19302
+ };
18496
19303
  /**
18497
19304
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18498
19305
  */
@@ -18542,14 +19349,102 @@ type GetWalletInvoicesResponses = {
18542
19349
  * Success
18543
19350
  */
18544
19351
  200: {
18545
- data?: Wallet;
18546
- included?: Array<Plan>;
19352
+ /**
19353
+ * An array of resource objects representing a invoice
19354
+ */
19355
+ data?: Array<Invoice>;
19356
+ included?: Array<unknown>;
18547
19357
  meta?: {
18548
19358
  [key: string]: unknown;
18549
19359
  };
18550
19360
  };
18551
19361
  };
18552
19362
  type GetWalletInvoicesResponse = GetWalletInvoicesResponses[keyof GetWalletInvoicesResponses];
19363
+ type PatchExtractionResultsByIdSaveCorrectionsData = {
19364
+ /**
19365
+ * Request body for the /extraction/results/:id/save_corrections operation on extraction_result resource
19366
+ */
19367
+ body: {
19368
+ data: {
19369
+ attributes?: {
19370
+ corrections: Array<{
19371
+ [key: string]: unknown;
19372
+ }>;
19373
+ };
19374
+ id: string;
19375
+ relationships?: {
19376
+ [key: string]: never;
19377
+ };
19378
+ type?: "extraction_result";
19379
+ };
19380
+ };
19381
+ headers: {
19382
+ /**
19383
+ * Application ID for authentication and routing
19384
+ */
19385
+ "x-application-key": string;
19386
+ };
19387
+ path: {
19388
+ id: string;
19389
+ };
19390
+ query?: {
19391
+ /**
19392
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19393
+ */
19394
+ include?: string;
19395
+ /**
19396
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19397
+ */
19398
+ fields?: {
19399
+ [key: string]: unknown;
19400
+ };
19401
+ };
19402
+ url: "/extraction/results/{id}/save_corrections";
19403
+ };
19404
+ type PatchExtractionResultsByIdSaveCorrectionsErrors = {
19405
+ /**
19406
+ * Bad Request - Invalid input data or malformed request
19407
+ */
19408
+ 400: ErrorResponse;
19409
+ /**
19410
+ * Unauthorized - Missing or invalid authentication token
19411
+ */
19412
+ 401: ErrorResponse;
19413
+ /**
19414
+ * Forbidden - Authenticated but not authorized for this resource
19415
+ */
19416
+ 403: ErrorResponse;
19417
+ /**
19418
+ * Not Found - Resource does not exist
19419
+ */
19420
+ 404: ErrorResponse;
19421
+ /**
19422
+ * Too Many Requests - Rate limit exceeded
19423
+ */
19424
+ 429: ErrorResponse;
19425
+ /**
19426
+ * Internal Server Error - Unexpected server error
19427
+ */
19428
+ 500: ErrorResponse;
19429
+ /**
19430
+ * General Error
19431
+ */
19432
+ default: Errors;
19433
+ };
19434
+ type PatchExtractionResultsByIdSaveCorrectionsError = PatchExtractionResultsByIdSaveCorrectionsErrors[keyof PatchExtractionResultsByIdSaveCorrectionsErrors];
19435
+ type PatchExtractionResultsByIdSaveCorrectionsResponses = {
19436
+ /**
19437
+ * Success
19438
+ */
19439
+ 200: {
19440
+ data?: ExtractionResult;
19441
+ included?: Array<unknown>;
19442
+ meta?: {
19443
+ [key: string]: unknown;
19444
+ };
19445
+ };
19446
+ };
19447
+ type PatchExtractionResultsByIdSaveCorrectionsResponse = PatchExtractionResultsByIdSaveCorrectionsResponses[keyof PatchExtractionResultsByIdSaveCorrectionsResponses];
18553
19448
  type PatchWorkspacesByIdStorageSettingsData = {
18554
19449
  /**
18555
19450
  * Request body for the /workspaces/:id/storage-settings operation on workspace resource
@@ -19098,75 +19993,6 @@ type PostAiGraphEdgesResponses = {
19098
19993
  };
19099
19994
  };
19100
19995
  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
19996
  type GetTrainingExamplesData = {
19171
19997
  body?: never;
19172
19998
  headers: {
@@ -19285,6 +20111,7 @@ type PostTrainingExamplesData = {
19285
20111
  * The type of document (e.g., 'Invoice', 'Receipt', 'Contract')
19286
20112
  */
19287
20113
  document_type?: string | unknown;
20114
+ embedding?: unknown;
19288
20115
  /**
19289
20116
  * The field name that was corrected (e.g., 'customer_name', 'total_amount')
19290
20117
  */
@@ -19460,11 +20287,22 @@ type GetAgentsByIdTrainingStatsData = {
19460
20287
  };
19461
20288
  path: {
19462
20289
  /**
19463
- * Agent ID (from URL path parameter)
20290
+ * Agent ID from URL path
19464
20291
  */
19465
20292
  id: string;
19466
20293
  };
19467
- query?: never;
20294
+ query?: {
20295
+ /**
20296
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
20297
+ */
20298
+ include?: string;
20299
+ /**
20300
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
20301
+ */
20302
+ fields?: {
20303
+ [key: string]: unknown;
20304
+ };
20305
+ };
19468
20306
  url: "/agents/{id}/training_stats";
19469
20307
  };
19470
20308
  type GetAgentsByIdTrainingStatsErrors = {
@@ -19503,7 +20341,11 @@ type GetAgentsByIdTrainingStatsResponses = {
19503
20341
  * Success
19504
20342
  */
19505
20343
  200: {
19506
- [key: string]: unknown;
20344
+ data?: AgentTrainingStats;
20345
+ included?: Array<unknown>;
20346
+ meta?: {
20347
+ [key: string]: unknown;
20348
+ };
19507
20349
  };
19508
20350
  };
19509
20351
  type GetAgentsByIdTrainingStatsResponse = GetAgentsByIdTrainingStatsResponses[keyof GetAgentsByIdTrainingStatsResponses];
@@ -19752,6 +20594,93 @@ type PostBucketsResponses = {
19752
20594
  };
19753
20595
  };
19754
20596
  type PostBucketsResponse = PostBucketsResponses[keyof PostBucketsResponses];
20597
+ type PostPaymentMethodsTokenizeData = {
20598
+ /**
20599
+ * Request body for the /payment-methods/tokenize operation on payment_method resource
20600
+ */
20601
+ body: {
20602
+ data: {
20603
+ attributes?: {
20604
+ card_number: string;
20605
+ customer_id?: string | unknown;
20606
+ cvc: string;
20607
+ exp_month: number;
20608
+ exp_year: number;
20609
+ holder_name: string;
20610
+ nickname?: string | unknown;
20611
+ zip_code: string;
20612
+ };
20613
+ relationships?: {
20614
+ [key: string]: never;
20615
+ };
20616
+ type?: "payment_method";
20617
+ };
20618
+ };
20619
+ headers: {
20620
+ /**
20621
+ * Application ID for authentication and routing
20622
+ */
20623
+ "x-application-key": string;
20624
+ };
20625
+ path?: never;
20626
+ query?: {
20627
+ /**
20628
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
20629
+ */
20630
+ include?: string;
20631
+ /**
20632
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
20633
+ */
20634
+ fields?: {
20635
+ [key: string]: unknown;
20636
+ };
20637
+ };
20638
+ url: "/payment-methods/tokenize";
20639
+ };
20640
+ type PostPaymentMethodsTokenizeErrors = {
20641
+ /**
20642
+ * Bad Request - Invalid input data or malformed request
20643
+ */
20644
+ 400: ErrorResponse;
20645
+ /**
20646
+ * Unauthorized - Missing or invalid authentication token
20647
+ */
20648
+ 401: ErrorResponse;
20649
+ /**
20650
+ * Forbidden - Authenticated but not authorized for this resource
20651
+ */
20652
+ 403: ErrorResponse;
20653
+ /**
20654
+ * Not Found - Resource does not exist
20655
+ */
20656
+ 404: ErrorResponse;
20657
+ /**
20658
+ * Too Many Requests - Rate limit exceeded
20659
+ */
20660
+ 429: ErrorResponse;
20661
+ /**
20662
+ * Internal Server Error - Unexpected server error
20663
+ */
20664
+ 500: ErrorResponse;
20665
+ /**
20666
+ * General Error
20667
+ */
20668
+ default: Errors;
20669
+ };
20670
+ type PostPaymentMethodsTokenizeError = PostPaymentMethodsTokenizeErrors[keyof PostPaymentMethodsTokenizeErrors];
20671
+ type PostPaymentMethodsTokenizeResponses = {
20672
+ /**
20673
+ * Success
20674
+ */
20675
+ 201: {
20676
+ data?: PaymentMethod;
20677
+ included?: Array<unknown>;
20678
+ meta?: {
20679
+ [key: string]: unknown;
20680
+ };
20681
+ };
20682
+ };
20683
+ type PostPaymentMethodsTokenizeResponse = PostPaymentMethodsTokenizeResponses[keyof PostPaymentMethodsTokenizeResponses];
19755
20684
  type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData = {
19756
20685
  body?: never;
19757
20686
  headers: {
@@ -19976,7 +20905,9 @@ type GetUsersMeActivityResponses = {
19976
20905
  * Success
19977
20906
  */
19978
20907
  200: {
19979
- [key: string]: unknown;
20908
+ result: {
20909
+ [key: string]: unknown;
20910
+ };
19980
20911
  };
19981
20912
  };
19982
20913
  type GetUsersMeActivityResponse = GetUsersMeActivityResponses[keyof GetUsersMeActivityResponses];
@@ -20028,7 +20959,9 @@ type GetNotificationLogsStatsResponses = {
20028
20959
  * Success
20029
20960
  */
20030
20961
  200: {
20031
- [key: string]: unknown;
20962
+ result: {
20963
+ [key: string]: unknown;
20964
+ };
20032
20965
  };
20033
20966
  };
20034
20967
  type GetNotificationLogsStatsResponse = GetNotificationLogsStatsResponses[keyof GetNotificationLogsStatsResponses];
@@ -20955,7 +21888,6 @@ type PatchAgentsByIdData = {
20955
21888
  body?: {
20956
21889
  data: {
20957
21890
  attributes?: {
20958
- change_summary?: string | unknown;
20959
21891
  default_instructions?: string | unknown;
20960
21892
  description?: string | unknown;
20961
21893
  domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
@@ -20967,6 +21899,7 @@ type PatchAgentsByIdData = {
20967
21899
  [key: string]: unknown;
20968
21900
  } | unknown;
20969
21901
  tags?: Array<string> | unknown;
21902
+ version?: string | unknown;
20970
21903
  };
20971
21904
  id: string;
20972
21905
  relationships?: {
@@ -21135,11 +22068,22 @@ type GetAgentsByIdUsageData = {
21135
22068
  };
21136
22069
  path: {
21137
22070
  /**
21138
- * Agent ID (from URL path parameter)
22071
+ * Agent ID from URL path
21139
22072
  */
21140
22073
  id: string;
21141
22074
  };
21142
- query?: never;
22075
+ query?: {
22076
+ /**
22077
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22078
+ */
22079
+ include?: string;
22080
+ /**
22081
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22082
+ */
22083
+ fields?: {
22084
+ [key: string]: unknown;
22085
+ };
22086
+ };
21143
22087
  url: "/agents/{id}/usage";
21144
22088
  };
21145
22089
  type GetAgentsByIdUsageErrors = {
@@ -21178,7 +22122,11 @@ type GetAgentsByIdUsageResponses = {
21178
22122
  * Success
21179
22123
  */
21180
22124
  200: {
21181
- [key: string]: unknown;
22125
+ data?: AgentUsage;
22126
+ included?: Array<unknown>;
22127
+ meta?: {
22128
+ [key: string]: unknown;
22129
+ };
21182
22130
  };
21183
22131
  };
21184
22132
  type GetAgentsByIdUsageResponse = GetAgentsByIdUsageResponses[keyof GetAgentsByIdUsageResponses];
@@ -22189,6 +23137,10 @@ type PatchApplicationsByIdData = {
22189
23137
  invite_only?: boolean | unknown;
22190
23138
  logo_url?: string | unknown;
22191
23139
  name?: string | unknown;
23140
+ /**
23141
+ * OAuth configuration for this application
23142
+ */
23143
+ oauth?: ApplicationOauthInputUpdateType | unknown;
22192
23144
  /**
22193
23145
  * When true, password registration withholds JWT until email is verified
22194
23146
  */
@@ -22364,6 +23316,10 @@ type PatchExtractionDocumentsByIdVerificationData = {
22364
23316
  body?: {
22365
23317
  data: {
22366
23318
  attributes?: {
23319
+ /**
23320
+ * Average confidence score across all extracted fields (0.0 to 1.0)
23321
+ */
23322
+ avg_confidence?: number | unknown;
22367
23323
  last_verified_at?: unknown;
22368
23324
  /**
22369
23325
  * The review/verification state of the document
@@ -22527,93 +23483,6 @@ type PostThreadsByIdForkResponses = {
22527
23483
  };
22528
23484
  };
22529
23485
  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
23486
  type GetTransactionsData = {
22618
23487
  body?: never;
22619
23488
  headers: {
@@ -25804,140 +26673,355 @@ type PostUsersAuthRegisterErrors = {
25804
26673
  */
25805
26674
  default: Errors;
25806
26675
  };
25807
- type PostUsersAuthRegisterError = PostUsersAuthRegisterErrors[keyof PostUsersAuthRegisterErrors];
25808
- type PostUsersAuthRegisterResponses = {
26676
+ type PostUsersAuthRegisterError = PostUsersAuthRegisterErrors[keyof PostUsersAuthRegisterErrors];
26677
+ type PostUsersAuthRegisterResponses = {
26678
+ /**
26679
+ * Success
26680
+ */
26681
+ 201: {
26682
+ data?: User;
26683
+ included?: Array<unknown>;
26684
+ meta?: {
26685
+ [key: string]: unknown;
26686
+ };
26687
+ };
26688
+ };
26689
+ type PostUsersAuthRegisterResponse = PostUsersAuthRegisterResponses[keyof PostUsersAuthRegisterResponses];
26690
+ type PostTrainingExamplesBulkData = {
26691
+ /**
26692
+ * Request body for the /training_examples/bulk operation on training_example resource
26693
+ */
26694
+ body: {
26695
+ data: {
26696
+ agent_id: string;
26697
+ examples: Array<{
26698
+ [key: string]: unknown;
26699
+ }>;
26700
+ };
26701
+ };
26702
+ headers: {
26703
+ /**
26704
+ * Application ID for authentication and routing
26705
+ */
26706
+ "x-application-key": string;
26707
+ };
26708
+ path?: never;
26709
+ query?: never;
26710
+ url: "/training_examples/bulk";
26711
+ };
26712
+ type PostTrainingExamplesBulkErrors = {
26713
+ /**
26714
+ * Bad Request - Invalid input data or malformed request
26715
+ */
26716
+ 400: ErrorResponse;
26717
+ /**
26718
+ * Unauthorized - Missing or invalid authentication token
26719
+ */
26720
+ 401: ErrorResponse;
26721
+ /**
26722
+ * Forbidden - Authenticated but not authorized for this resource
26723
+ */
26724
+ 403: ErrorResponse;
26725
+ /**
26726
+ * Not Found - Resource does not exist
26727
+ */
26728
+ 404: ErrorResponse;
26729
+ /**
26730
+ * Too Many Requests - Rate limit exceeded
26731
+ */
26732
+ 429: ErrorResponse;
26733
+ /**
26734
+ * Internal Server Error - Unexpected server error
26735
+ */
26736
+ 500: ErrorResponse;
26737
+ /**
26738
+ * General Error
26739
+ */
26740
+ default: Errors;
26741
+ };
26742
+ type PostTrainingExamplesBulkError = PostTrainingExamplesBulkErrors[keyof PostTrainingExamplesBulkErrors];
26743
+ type PostTrainingExamplesBulkResponses = {
26744
+ /**
26745
+ * Success
26746
+ */
26747
+ 201: {
26748
+ [key: string]: unknown;
26749
+ };
26750
+ };
26751
+ type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
26752
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
26753
+ body?: never;
26754
+ headers: {
26755
+ /**
26756
+ * Application ID for authentication and routing
26757
+ */
26758
+ "x-application-key": string;
26759
+ };
26760
+ path: {
26761
+ version_id: string;
26762
+ /**
26763
+ * Agent ID (automatically mapped from route)
26764
+ */
26765
+ id: string;
26766
+ };
26767
+ query?: never;
26768
+ url: "/agents/{id}/schema_versions/{version_id}/activate";
26769
+ };
26770
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
26771
+ /**
26772
+ * Bad Request - Invalid input data or malformed request
26773
+ */
26774
+ 400: ErrorResponse;
26775
+ /**
26776
+ * Unauthorized - Missing or invalid authentication token
26777
+ */
26778
+ 401: ErrorResponse;
26779
+ /**
26780
+ * Forbidden - Authenticated but not authorized for this resource
26781
+ */
26782
+ 403: ErrorResponse;
26783
+ /**
26784
+ * Not Found - Resource does not exist
26785
+ */
26786
+ 404: ErrorResponse;
26787
+ /**
26788
+ * Too Many Requests - Rate limit exceeded
26789
+ */
26790
+ 429: ErrorResponse;
26791
+ /**
26792
+ * Internal Server Error - Unexpected server error
26793
+ */
26794
+ 500: ErrorResponse;
26795
+ /**
26796
+ * General Error
26797
+ */
26798
+ default: Errors;
26799
+ };
26800
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
26801
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
26802
+ /**
26803
+ * Success
26804
+ */
26805
+ 201: {
26806
+ [key: string]: unknown;
26807
+ };
26808
+ };
26809
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
26810
+ type DeletePaymentMethodsByIdData = {
26811
+ body?: never;
26812
+ headers: {
26813
+ /**
26814
+ * Application ID for authentication and routing
26815
+ */
26816
+ "x-application-key": string;
26817
+ };
26818
+ path: {
26819
+ id: string;
26820
+ };
26821
+ query?: {
26822
+ /**
26823
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26824
+ */
26825
+ include?: string;
26826
+ /**
26827
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26828
+ */
26829
+ fields?: {
26830
+ [key: string]: unknown;
26831
+ };
26832
+ };
26833
+ url: "/payment-methods/{id}";
26834
+ };
26835
+ type DeletePaymentMethodsByIdErrors = {
26836
+ /**
26837
+ * Bad Request - Invalid input data or malformed request
26838
+ */
26839
+ 400: ErrorResponse;
26840
+ /**
26841
+ * Unauthorized - Missing or invalid authentication token
26842
+ */
26843
+ 401: ErrorResponse;
26844
+ /**
26845
+ * Forbidden - Authenticated but not authorized for this resource
26846
+ */
26847
+ 403: ErrorResponse;
26848
+ /**
26849
+ * Not Found - Resource does not exist
26850
+ */
26851
+ 404: ErrorResponse;
26852
+ /**
26853
+ * Too Many Requests - Rate limit exceeded
26854
+ */
26855
+ 429: ErrorResponse;
26856
+ /**
26857
+ * Internal Server Error - Unexpected server error
26858
+ */
26859
+ 500: ErrorResponse;
26860
+ /**
26861
+ * General Error
26862
+ */
26863
+ default: Errors;
26864
+ };
26865
+ type DeletePaymentMethodsByIdError = DeletePaymentMethodsByIdErrors[keyof DeletePaymentMethodsByIdErrors];
26866
+ type DeletePaymentMethodsByIdResponses = {
26867
+ /**
26868
+ * Deleted successfully
26869
+ */
26870
+ 200: unknown;
26871
+ };
26872
+ type GetPaymentMethodsByIdData = {
26873
+ body?: never;
26874
+ headers: {
26875
+ /**
26876
+ * Application ID for authentication and routing
26877
+ */
26878
+ "x-application-key": string;
26879
+ };
26880
+ path: {
26881
+ id: string;
26882
+ };
26883
+ query?: {
26884
+ /**
26885
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26886
+ */
26887
+ include?: string;
26888
+ /**
26889
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26890
+ */
26891
+ fields?: {
26892
+ [key: string]: unknown;
26893
+ };
26894
+ };
26895
+ url: "/payment-methods/{id}";
26896
+ };
26897
+ type GetPaymentMethodsByIdErrors = {
26898
+ /**
26899
+ * Bad Request - Invalid input data or malformed request
26900
+ */
26901
+ 400: ErrorResponse;
26902
+ /**
26903
+ * Unauthorized - Missing or invalid authentication token
26904
+ */
26905
+ 401: ErrorResponse;
26906
+ /**
26907
+ * Forbidden - Authenticated but not authorized for this resource
26908
+ */
26909
+ 403: ErrorResponse;
26910
+ /**
26911
+ * Not Found - Resource does not exist
26912
+ */
26913
+ 404: ErrorResponse;
26914
+ /**
26915
+ * Too Many Requests - Rate limit exceeded
26916
+ */
26917
+ 429: ErrorResponse;
26918
+ /**
26919
+ * Internal Server Error - Unexpected server error
26920
+ */
26921
+ 500: ErrorResponse;
26922
+ /**
26923
+ * General Error
26924
+ */
26925
+ default: Errors;
26926
+ };
26927
+ type GetPaymentMethodsByIdError = GetPaymentMethodsByIdErrors[keyof GetPaymentMethodsByIdErrors];
26928
+ type GetPaymentMethodsByIdResponses = {
26929
+ /**
26930
+ * Success
26931
+ */
26932
+ 200: {
26933
+ data?: PaymentMethod;
26934
+ included?: Array<unknown>;
26935
+ meta?: {
26936
+ [key: string]: unknown;
26937
+ };
26938
+ };
26939
+ };
26940
+ type GetPaymentMethodsByIdResponse = GetPaymentMethodsByIdResponses[keyof GetPaymentMethodsByIdResponses];
26941
+ type PatchPaymentMethodsByIdData = {
26942
+ /**
26943
+ * Request body for the /payment-methods/:id operation on payment_method resource
26944
+ */
26945
+ body?: {
26946
+ data: {
26947
+ attributes?: {
26948
+ is_default?: boolean | unknown;
26949
+ nickname?: string | unknown;
26950
+ };
26951
+ id: string;
26952
+ relationships?: {
26953
+ [key: string]: never;
26954
+ };
26955
+ type?: "payment_method";
26956
+ };
26957
+ };
26958
+ headers: {
26959
+ /**
26960
+ * Application ID for authentication and routing
26961
+ */
26962
+ "x-application-key": string;
26963
+ };
26964
+ path: {
26965
+ id: string;
26966
+ };
26967
+ query?: {
26968
+ /**
26969
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26970
+ */
26971
+ include?: string;
26972
+ /**
26973
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26974
+ */
26975
+ fields?: {
26976
+ [key: string]: unknown;
26977
+ };
26978
+ };
26979
+ url: "/payment-methods/{id}";
26980
+ };
26981
+ type PatchPaymentMethodsByIdErrors = {
26982
+ /**
26983
+ * Bad Request - Invalid input data or malformed request
26984
+ */
26985
+ 400: ErrorResponse;
26986
+ /**
26987
+ * Unauthorized - Missing or invalid authentication token
26988
+ */
26989
+ 401: ErrorResponse;
26990
+ /**
26991
+ * Forbidden - Authenticated but not authorized for this resource
26992
+ */
26993
+ 403: ErrorResponse;
26994
+ /**
26995
+ * Not Found - Resource does not exist
26996
+ */
26997
+ 404: ErrorResponse;
26998
+ /**
26999
+ * Too Many Requests - Rate limit exceeded
27000
+ */
27001
+ 429: ErrorResponse;
27002
+ /**
27003
+ * Internal Server Error - Unexpected server error
27004
+ */
27005
+ 500: ErrorResponse;
27006
+ /**
27007
+ * General Error
27008
+ */
27009
+ default: Errors;
27010
+ };
27011
+ type PatchPaymentMethodsByIdError = PatchPaymentMethodsByIdErrors[keyof PatchPaymentMethodsByIdErrors];
27012
+ type PatchPaymentMethodsByIdResponses = {
25809
27013
  /**
25810
27014
  * Success
25811
27015
  */
25812
- 201: {
25813
- data?: User;
27016
+ 200: {
27017
+ data?: PaymentMethod;
25814
27018
  included?: Array<unknown>;
25815
27019
  meta?: {
25816
27020
  [key: string]: unknown;
25817
27021
  };
25818
27022
  };
25819
27023
  };
25820
- type PostUsersAuthRegisterResponse = PostUsersAuthRegisterResponses[keyof PostUsersAuthRegisterResponses];
25821
- type PostTrainingExamplesBulkData = {
25822
- /**
25823
- * Request body for the /training_examples/bulk operation on training_example resource
25824
- */
25825
- body: {
25826
- data: {
25827
- agent_id: string;
25828
- examples: Array<{
25829
- [key: string]: unknown;
25830
- }>;
25831
- };
25832
- };
25833
- headers: {
25834
- /**
25835
- * Application ID for authentication and routing
25836
- */
25837
- "x-application-key": string;
25838
- };
25839
- path?: never;
25840
- query?: never;
25841
- url: "/training_examples/bulk";
25842
- };
25843
- type PostTrainingExamplesBulkErrors = {
25844
- /**
25845
- * Bad Request - Invalid input data or malformed request
25846
- */
25847
- 400: ErrorResponse;
25848
- /**
25849
- * Unauthorized - Missing or invalid authentication token
25850
- */
25851
- 401: ErrorResponse;
25852
- /**
25853
- * Forbidden - Authenticated but not authorized for this resource
25854
- */
25855
- 403: ErrorResponse;
25856
- /**
25857
- * Not Found - Resource does not exist
25858
- */
25859
- 404: ErrorResponse;
25860
- /**
25861
- * Too Many Requests - Rate limit exceeded
25862
- */
25863
- 429: ErrorResponse;
25864
- /**
25865
- * Internal Server Error - Unexpected server error
25866
- */
25867
- 500: ErrorResponse;
25868
- /**
25869
- * General Error
25870
- */
25871
- default: Errors;
25872
- };
25873
- type PostTrainingExamplesBulkError = PostTrainingExamplesBulkErrors[keyof PostTrainingExamplesBulkErrors];
25874
- type PostTrainingExamplesBulkResponses = {
25875
- /**
25876
- * Success
25877
- */
25878
- 201: {
25879
- [key: string]: unknown;
25880
- };
25881
- };
25882
- type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
25883
- type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
25884
- body?: never;
25885
- headers: {
25886
- /**
25887
- * Application ID for authentication and routing
25888
- */
25889
- "x-application-key": string;
25890
- };
25891
- path: {
25892
- version_id: string;
25893
- /**
25894
- * Agent ID (automatically mapped from route)
25895
- */
25896
- id: string;
25897
- };
25898
- query?: never;
25899
- url: "/agents/{id}/schema_versions/{version_id}/activate";
25900
- };
25901
- type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
25902
- /**
25903
- * Bad Request - Invalid input data or malformed request
25904
- */
25905
- 400: ErrorResponse;
25906
- /**
25907
- * Unauthorized - Missing or invalid authentication token
25908
- */
25909
- 401: ErrorResponse;
25910
- /**
25911
- * Forbidden - Authenticated but not authorized for this resource
25912
- */
25913
- 403: ErrorResponse;
25914
- /**
25915
- * Not Found - Resource does not exist
25916
- */
25917
- 404: ErrorResponse;
25918
- /**
25919
- * Too Many Requests - Rate limit exceeded
25920
- */
25921
- 429: ErrorResponse;
25922
- /**
25923
- * Internal Server Error - Unexpected server error
25924
- */
25925
- 500: ErrorResponse;
25926
- /**
25927
- * General Error
25928
- */
25929
- default: Errors;
25930
- };
25931
- type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
25932
- type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
25933
- /**
25934
- * Success
25935
- */
25936
- 201: {
25937
- [key: string]: unknown;
25938
- };
25939
- };
25940
- type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
27024
+ type PatchPaymentMethodsByIdResponse = PatchPaymentMethodsByIdResponses[keyof PatchPaymentMethodsByIdResponses];
25941
27025
  type DeleteBucketsByIdData = {
25942
27026
  body?: never;
25943
27027
  headers: {
@@ -28640,6 +29724,74 @@ type PostNotificationMethodsResponses = {
28640
29724
  };
28641
29725
  };
28642
29726
  type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
29727
+ type GetWalletPlanPreviewData = {
29728
+ body?: never;
29729
+ headers: {
29730
+ /**
29731
+ * Application ID for authentication and routing
29732
+ */
29733
+ "x-application-key": string;
29734
+ };
29735
+ path?: never;
29736
+ query: {
29737
+ /**
29738
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
29739
+ */
29740
+ include?: string;
29741
+ /**
29742
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
29743
+ */
29744
+ fields?: {
29745
+ [key: string]: unknown;
29746
+ };
29747
+ plan_slug: string;
29748
+ };
29749
+ url: "/wallet/plan/preview";
29750
+ };
29751
+ type GetWalletPlanPreviewErrors = {
29752
+ /**
29753
+ * Bad Request - Invalid input data or malformed request
29754
+ */
29755
+ 400: ErrorResponse;
29756
+ /**
29757
+ * Unauthorized - Missing or invalid authentication token
29758
+ */
29759
+ 401: ErrorResponse;
29760
+ /**
29761
+ * Forbidden - Authenticated but not authorized for this resource
29762
+ */
29763
+ 403: ErrorResponse;
29764
+ /**
29765
+ * Not Found - Resource does not exist
29766
+ */
29767
+ 404: ErrorResponse;
29768
+ /**
29769
+ * Too Many Requests - Rate limit exceeded
29770
+ */
29771
+ 429: ErrorResponse;
29772
+ /**
29773
+ * Internal Server Error - Unexpected server error
29774
+ */
29775
+ 500: ErrorResponse;
29776
+ /**
29777
+ * General Error
29778
+ */
29779
+ default: Errors;
29780
+ };
29781
+ type GetWalletPlanPreviewError = GetWalletPlanPreviewErrors[keyof GetWalletPlanPreviewErrors];
29782
+ type GetWalletPlanPreviewResponses = {
29783
+ /**
29784
+ * Success
29785
+ */
29786
+ 200: {
29787
+ data?: Wallet;
29788
+ included?: Array<Plan>;
29789
+ meta?: {
29790
+ [key: string]: unknown;
29791
+ };
29792
+ };
29793
+ };
29794
+ type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
28643
29795
  type PostThreadsByIdSummarizeData = {
28644
29796
  /**
28645
29797
  * Request body for the /threads/:id/summarize operation on thread resource
@@ -28890,102 +30042,8 @@ type PatchApiKeysByIdRotateResponses = {
28890
30042
  };
28891
30043
  };
28892
30044
  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
- };
30045
+ type GetExtractionResultsData = {
30046
+ body?: never;
28989
30047
  headers: {
28990
30048
  /**
28991
30049
  * Application ID for authentication and routing
@@ -28994,6 +30052,16 @@ type PostExtractionResultsData = {
28994
30052
  };
28995
30053
  path?: never;
28996
30054
  query?: {
30055
+ /**
30056
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
30057
+ */
30058
+ filter?: {
30059
+ [key: string]: unknown;
30060
+ };
30061
+ /**
30062
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
30063
+ */
30064
+ sort?: string;
28997
30065
  /**
28998
30066
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
28999
30067
  */
@@ -29007,7 +30075,7 @@ type PostExtractionResultsData = {
29007
30075
  };
29008
30076
  url: "/extraction/results";
29009
30077
  };
29010
- type PostExtractionResultsErrors = {
30078
+ type GetExtractionResultsErrors = {
29011
30079
  /**
29012
30080
  * Bad Request - Invalid input data or malformed request
29013
30081
  */
@@ -29037,20 +30105,23 @@ type PostExtractionResultsErrors = {
29037
30105
  */
29038
30106
  default: Errors;
29039
30107
  };
29040
- type PostExtractionResultsError = PostExtractionResultsErrors[keyof PostExtractionResultsErrors];
29041
- type PostExtractionResultsResponses = {
30108
+ type GetExtractionResultsError = GetExtractionResultsErrors[keyof GetExtractionResultsErrors];
30109
+ type GetExtractionResultsResponses = {
29042
30110
  /**
29043
30111
  * Success
29044
30112
  */
29045
- 201: {
29046
- data?: ExtractionResult;
30113
+ 200: {
30114
+ /**
30115
+ * An array of resource objects representing a extraction_result
30116
+ */
30117
+ data?: Array<ExtractionResult>;
29047
30118
  included?: Array<unknown>;
29048
30119
  meta?: {
29049
30120
  [key: string]: unknown;
29050
30121
  };
29051
30122
  };
29052
30123
  };
29053
- type PostExtractionResultsResponse = PostExtractionResultsResponses[keyof PostExtractionResultsResponses];
30124
+ type GetExtractionResultsResponse = GetExtractionResultsResponses[keyof GetExtractionResultsResponses];
29054
30125
  type PostAgentsByIdCloneData = {
29055
30126
  /**
29056
30127
  * Request body for the /agents/:id/clone operation on agent resource
@@ -29821,7 +30892,18 @@ type GetThreadsWorkspaceStatsData = {
29821
30892
  "x-application-key": string;
29822
30893
  };
29823
30894
  path?: never;
29824
- query?: never;
30895
+ query?: {
30896
+ /**
30897
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
30898
+ */
30899
+ include?: string;
30900
+ /**
30901
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
30902
+ */
30903
+ fields?: {
30904
+ [key: string]: unknown;
30905
+ };
30906
+ };
29825
30907
  url: "/threads/workspace-stats";
29826
30908
  };
29827
30909
  type GetThreadsWorkspaceStatsErrors = {
@@ -29860,7 +30942,11 @@ type GetThreadsWorkspaceStatsResponses = {
29860
30942
  * Success
29861
30943
  */
29862
30944
  200: {
29863
- [key: string]: unknown;
30945
+ data?: ThreadWorkspaceStats;
30946
+ included?: Array<unknown>;
30947
+ meta?: {
30948
+ [key: string]: unknown;
30949
+ };
29864
30950
  };
29865
30951
  };
29866
30952
  type GetThreadsWorkspaceStatsResponse = GetThreadsWorkspaceStatsResponses[keyof GetThreadsWorkspaceStatsResponses];
@@ -30345,7 +31431,71 @@ type PostAgentsByIdPublishVersionResponses = {
30345
31431
  * Success
30346
31432
  */
30347
31433
  201: {
30348
- data?: Agent;
31434
+ /**
31435
+ * A "Resource object" representing a agent
31436
+ */
31437
+ data?: {
31438
+ /**
31439
+ * An attributes object for a agent
31440
+ */
31441
+ attributes?: {
31442
+ cloned_from_id?: string | null | unknown;
31443
+ default_instructions?: string | null | unknown;
31444
+ description?: string | null | unknown;
31445
+ domain: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility";
31446
+ instructions?: string | null | unknown;
31447
+ is_system: boolean;
31448
+ name: string;
31449
+ prompt_template: string;
31450
+ schema_definition: {
31451
+ [key: string]: unknown;
31452
+ };
31453
+ tags: Array<string>;
31454
+ /**
31455
+ * Denormalized from workspace for unique name constraint
31456
+ */
31457
+ tenant_id?: string | null | unknown;
31458
+ test_result?: {
31459
+ [key: string]: unknown;
31460
+ } | null | unknown;
31461
+ validation_result?: {
31462
+ [key: string]: unknown;
31463
+ } | null | unknown;
31464
+ version: string;
31465
+ workspace_id?: string | null | unknown;
31466
+ };
31467
+ id: string;
31468
+ /**
31469
+ * A relationships object for a agent
31470
+ */
31471
+ relationships?: {
31472
+ versions?: {
31473
+ /**
31474
+ * Relationship data for versions
31475
+ */
31476
+ data?: Array<{
31477
+ id: string;
31478
+ meta?: {
31479
+ [key: string]: unknown;
31480
+ };
31481
+ type: string;
31482
+ }>;
31483
+ };
31484
+ workspace?: {
31485
+ /**
31486
+ * An identifier for workspace
31487
+ */
31488
+ data?: {
31489
+ id: string;
31490
+ meta?: {
31491
+ [key: string]: unknown;
31492
+ };
31493
+ type: string;
31494
+ } | null;
31495
+ };
31496
+ };
31497
+ type: string;
31498
+ };
30349
31499
  included?: Array<AgentVersion>;
30350
31500
  meta?: {
30351
31501
  [key: string]: unknown;
@@ -31654,15 +32804,12 @@ type PostAgentsData = {
31654
32804
  schema_definition?: {
31655
32805
  [key: string]: unknown;
31656
32806
  } | 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
32807
  tags?: Array<string> | unknown;
31662
32808
  /**
31663
32809
  * Denormalized from workspace for unique name constraint
31664
32810
  */
31665
32811
  tenant_id?: string | unknown;
32812
+ version?: string | unknown;
31666
32813
  workspace_id?: string | unknown;
31667
32814
  };
31668
32815
  relationships?: {
@@ -31972,6 +33119,89 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
31972
33119
  };
31973
33120
  };
31974
33121
  type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
33122
+ type PatchPaymentMethodsByIdDefaultData = {
33123
+ /**
33124
+ * Request body for the /payment-methods/:id/default operation on payment_method resource
33125
+ */
33126
+ body?: {
33127
+ data: {
33128
+ attributes?: {
33129
+ [key: string]: never;
33130
+ };
33131
+ id: string;
33132
+ relationships?: {
33133
+ [key: string]: never;
33134
+ };
33135
+ type?: "payment_method";
33136
+ };
33137
+ };
33138
+ headers: {
33139
+ /**
33140
+ * Application ID for authentication and routing
33141
+ */
33142
+ "x-application-key": string;
33143
+ };
33144
+ path: {
33145
+ id: string;
33146
+ };
33147
+ query?: {
33148
+ /**
33149
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
33150
+ */
33151
+ include?: string;
33152
+ /**
33153
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
33154
+ */
33155
+ fields?: {
33156
+ [key: string]: unknown;
33157
+ };
33158
+ };
33159
+ url: "/payment-methods/{id}/default";
33160
+ };
33161
+ type PatchPaymentMethodsByIdDefaultErrors = {
33162
+ /**
33163
+ * Bad Request - Invalid input data or malformed request
33164
+ */
33165
+ 400: ErrorResponse;
33166
+ /**
33167
+ * Unauthorized - Missing or invalid authentication token
33168
+ */
33169
+ 401: ErrorResponse;
33170
+ /**
33171
+ * Forbidden - Authenticated but not authorized for this resource
33172
+ */
33173
+ 403: ErrorResponse;
33174
+ /**
33175
+ * Not Found - Resource does not exist
33176
+ */
33177
+ 404: ErrorResponse;
33178
+ /**
33179
+ * Too Many Requests - Rate limit exceeded
33180
+ */
33181
+ 429: ErrorResponse;
33182
+ /**
33183
+ * Internal Server Error - Unexpected server error
33184
+ */
33185
+ 500: ErrorResponse;
33186
+ /**
33187
+ * General Error
33188
+ */
33189
+ default: Errors;
33190
+ };
33191
+ type PatchPaymentMethodsByIdDefaultError = PatchPaymentMethodsByIdDefaultErrors[keyof PatchPaymentMethodsByIdDefaultErrors];
33192
+ type PatchPaymentMethodsByIdDefaultResponses = {
33193
+ /**
33194
+ * Success
33195
+ */
33196
+ 200: {
33197
+ data?: PaymentMethod;
33198
+ included?: Array<unknown>;
33199
+ meta?: {
33200
+ [key: string]: unknown;
33201
+ };
33202
+ };
33203
+ };
33204
+ type PatchPaymentMethodsByIdDefaultResponse = PatchPaymentMethodsByIdDefaultResponses[keyof PatchPaymentMethodsByIdDefaultResponses];
31975
33205
  type PostAgentsByIdExportData = {
31976
33206
  body?: never;
31977
33207
  headers: {
@@ -33379,10 +34609,34 @@ declare const getWorkspaces: <ThrowOnError extends boolean = false>(options: Opt
33379
34609
  *
33380
34610
  */
33381
34611
  declare const postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
34612
+ /**
34613
+ * List payment methods
34614
+ *
34615
+ * Lists resources with optional filtering, sorting, and pagination.
34616
+ *
34617
+ * **Authentication:** Required - Bearer token or API key
34618
+ * **Rate Limit:** 100 requests per minute
34619
+ *
34620
+ */
34621
+ declare const getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
34622
+ /**
34623
+ * Create payment methods
34624
+ *
34625
+ * Creates a new resource. Returns the created resource with generated ID.
34626
+ *
34627
+ * **Authentication:** Required - Bearer token or API key
34628
+ * **Rate Limit:** 100 requests per minute
34629
+ *
34630
+ */
34631
+ declare const postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
33382
34632
  /**
33383
34633
  * Get stats
33384
34634
  *
33385
- * Get usage statistics for this agent
34635
+ * Retrieves a single resource by ID.
34636
+ *
34637
+ * **Authentication:** Required - Bearer token or API key
34638
+ * **Rate Limit:** 100 requests per minute
34639
+ *
33386
34640
  */
33387
34641
  declare const getAgentsByIdStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdStatsResponses, GetAgentsByIdStatsErrors, ThrowOnError, "fields">;
33388
34642
  /**
@@ -33653,16 +34907,6 @@ declare const getConfigs: <ThrowOnError extends boolean = false>(options: Option
33653
34907
  *
33654
34908
  */
33655
34909
  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
34910
  /**
33667
34911
  * Update auto top up
33668
34912
  *
@@ -33794,15 +35038,9 @@ declare const postApplicationsByApplicationIdEmailTemplates: <ThrowOnError exten
33794
35038
  /**
33795
35039
  * List usage
33796
35040
  *
33797
- * Get workspaces that own or use all accessible agents (batch endpoint, max 500 agents)
35041
+ * Batch read usage for all accessible agents
33798
35042
  */
33799
35043
  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
35044
  /**
33807
35045
  * Update set primary
33808
35046
  *
@@ -34145,6 +35383,16 @@ declare const deleteUsersById: <ThrowOnError extends boolean = false>(options: O
34145
35383
  *
34146
35384
  */
34147
35385
  declare const getUsersById: <ThrowOnError extends boolean = false>(options: Options<GetUsersByIdData, ThrowOnError>) => RequestResult<GetUsersByIdResponses, GetUsersByIdErrors, ThrowOnError, "fields">;
35386
+ /**
35387
+ * Delete results
35388
+ *
35389
+ * Deletes a resource permanently. This action cannot be undone.
35390
+ *
35391
+ * **Authentication:** Required - Bearer token or API key
35392
+ * **Rate Limit:** 100 requests per minute
35393
+ *
35394
+ */
35395
+ declare const deleteExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionResultsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionResultsByIdResponses, DeleteExtractionResultsByIdErrors, ThrowOnError, "fields">;
34148
35396
  /**
34149
35397
  * Get results
34150
35398
  *
@@ -34155,6 +35403,16 @@ declare const getUsersById: <ThrowOnError extends boolean = false>(options: Opti
34155
35403
  *
34156
35404
  */
34157
35405
  declare const getExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsByIdData, ThrowOnError>) => RequestResult<GetExtractionResultsByIdResponses, GetExtractionResultsByIdErrors, ThrowOnError, "fields">;
35406
+ /**
35407
+ * Update results
35408
+ *
35409
+ * Updates specific fields of an existing resource.
35410
+ *
35411
+ * **Authentication:** Required - Bearer token or API key
35412
+ * **Rate Limit:** 100 requests per minute
35413
+ *
35414
+ */
35415
+ declare const patchExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdResponses, PatchExtractionResultsByIdErrors, ThrowOnError, "fields">;
34158
35416
  /**
34159
35417
  * List stats
34160
35418
  *
@@ -34438,7 +35696,11 @@ declare const getSearchSemantic: <ThrowOnError extends boolean = false>(options:
34438
35696
  /**
34439
35697
  * List stats
34440
35698
  *
34441
- * Get platform-wide chat statistics
35699
+ * Lists resources with optional filtering, sorting, and pagination.
35700
+ *
35701
+ * **Authentication:** Required - Bearer token or API key
35702
+ * **Rate Limit:** 100 requests per minute
35703
+ *
34442
35704
  */
34443
35705
  declare const getThreadsStats: <ThrowOnError extends boolean = false>(options: Options<GetThreadsStatsData, ThrowOnError>) => RequestResult<GetThreadsStatsResponses, GetThreadsStatsErrors, ThrowOnError, "fields">;
34444
35706
  /**
@@ -34701,16 +35963,6 @@ declare const patchInvitationsByIdDecline: <ThrowOnError extends boolean = false
34701
35963
  *
34702
35964
  */
34703
35965
  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
35966
  /**
34715
35967
  * Update verify
34716
35968
  *
@@ -34800,9 +36052,23 @@ declare const postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = fals
34800
36052
  /**
34801
36053
  * List invoices
34802
36054
  *
34803
- * Get billing invoices/history for the current tenant
36055
+ * Lists resources with optional filtering, sorting, and pagination.
36056
+ *
36057
+ * **Authentication:** Required - Bearer token or API key
36058
+ * **Rate Limit:** 100 requests per minute
36059
+ *
34804
36060
  */
34805
36061
  declare const getWalletInvoices: <ThrowOnError extends boolean = false>(options: Options<GetWalletInvoicesData, ThrowOnError>) => RequestResult<GetWalletInvoicesResponses, GetWalletInvoicesErrors, ThrowOnError, "fields">;
36062
+ /**
36063
+ * Update save corrections
36064
+ *
36065
+ * Updates specific fields of an existing resource.
36066
+ *
36067
+ * **Authentication:** Required - Bearer token or API key
36068
+ * **Rate Limit:** 100 requests per minute
36069
+ *
36070
+ */
36071
+ declare const patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
34806
36072
  /**
34807
36073
  * Update storage settings
34808
36074
  *
@@ -34869,16 +36135,6 @@ declare const getAiGraphEdges: <ThrowOnError extends boolean = false>(options: O
34869
36135
  *
34870
36136
  */
34871
36137
  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
36138
  /**
34883
36139
  * List training examples
34884
36140
  *
@@ -34908,7 +36164,11 @@ declare const getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError ext
34908
36164
  /**
34909
36165
  * Get training stats
34910
36166
  *
34911
- * Get training statistics for this agent
36167
+ * Retrieves a single resource by ID.
36168
+ *
36169
+ * **Authentication:** Required - Bearer token or API key
36170
+ * **Rate Limit:** 100 requests per minute
36171
+ *
34912
36172
  */
34913
36173
  declare const getAgentsByIdTrainingStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdTrainingStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdTrainingStatsResponses, GetAgentsByIdTrainingStatsErrors, ThrowOnError, "fields">;
34914
36174
  /**
@@ -34937,6 +36197,12 @@ declare const getBuckets: <ThrowOnError extends boolean = false>(options: Option
34937
36197
  *
34938
36198
  */
34939
36199
  declare const postBuckets: <ThrowOnError extends boolean = false>(options: Options<PostBucketsData, ThrowOnError>) => RequestResult<PostBucketsResponses, PostBucketsErrors, ThrowOnError, "fields">;
36200
+ /**
36201
+ * Create tokenize
36202
+ *
36203
+ * Create a payment method via direct proxy tokenization (S2S)
36204
+ */
36205
+ declare const postPaymentMethodsTokenize: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsTokenizeData, ThrowOnError>) => RequestResult<PostPaymentMethodsTokenizeResponses, PostPaymentMethodsTokenizeErrors, ThrowOnError, "fields">;
34940
36206
  /**
34941
36207
  * Get mapping
34942
36208
  *
@@ -35100,7 +36366,11 @@ declare const patchThreadsByIdUnarchive: <ThrowOnError extends boolean = false>(
35100
36366
  /**
35101
36367
  * Get usage
35102
36368
  *
35103
- * Get workspaces that own or use this agent (tenant-scoped)
36369
+ * Retrieves a single resource by ID.
36370
+ *
36371
+ * **Authentication:** Required - Bearer token or API key
36372
+ * **Rate Limit:** 100 requests per minute
36373
+ *
35104
36374
  */
35105
36375
  declare const getAgentsByIdUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdUsageData, ThrowOnError>) => RequestResult<GetAgentsByIdUsageResponses, GetAgentsByIdUsageErrors, ThrowOnError, "fields">;
35106
36376
  /**
@@ -35261,16 +36531,6 @@ declare const patchExtractionDocumentsByIdVerification: <ThrowOnError extends bo
35261
36531
  * Fork a thread by cloning it with all its messages
35262
36532
  */
35263
36533
  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
36534
  /**
35275
36535
  * List transactions
35276
36536
  *
@@ -35631,6 +36891,36 @@ declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(o
35631
36891
  * Activate a specific schema version
35632
36892
  */
35633
36893
  declare const postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
36894
+ /**
36895
+ * Delete payment methods
36896
+ *
36897
+ * Deletes a resource permanently. This action cannot be undone.
36898
+ *
36899
+ * **Authentication:** Required - Bearer token or API key
36900
+ * **Rate Limit:** 100 requests per minute
36901
+ *
36902
+ */
36903
+ declare const deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
36904
+ /**
36905
+ * Get payment methods
36906
+ *
36907
+ * Retrieves a single resource by ID.
36908
+ *
36909
+ * **Authentication:** Required - Bearer token or API key
36910
+ * **Rate Limit:** 100 requests per minute
36911
+ *
36912
+ */
36913
+ declare const getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
36914
+ /**
36915
+ * Update payment methods
36916
+ *
36917
+ * Updates specific fields of an existing resource.
36918
+ *
36919
+ * **Authentication:** Required - Bearer token or API key
36920
+ * **Rate Limit:** 100 requests per minute
36921
+ *
36922
+ */
36923
+ declare const patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
35634
36924
  /**
35635
36925
  * Delete buckets
35636
36926
  *
@@ -35943,6 +37233,12 @@ declare const getNotificationMethods: <ThrowOnError extends boolean = false>(opt
35943
37233
  *
35944
37234
  */
35945
37235
  declare const postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
37236
+ /**
37237
+ * List preview
37238
+ *
37239
+ * Preview the cost and effective date of a plan change
37240
+ */
37241
+ declare const getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
35946
37242
  /**
35947
37243
  * Create summarize
35948
37244
  *
@@ -35974,15 +37270,15 @@ declare const patchConfigsByKey: <ThrowOnError extends boolean = false>(options:
35974
37270
  */
35975
37271
  declare const patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
35976
37272
  /**
35977
- * Create results
37273
+ * List results
35978
37274
  *
35979
- * Creates a new resource. Returns the created resource with generated ID.
37275
+ * Lists resources with optional filtering, sorting, and pagination.
35980
37276
  *
35981
37277
  * **Authentication:** Required - Bearer token or API key
35982
37278
  * **Rate Limit:** 100 requests per minute
35983
37279
  *
35984
37280
  */
35985
- declare const postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
37281
+ declare const getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
35986
37282
  /**
35987
37283
  * Create clone
35988
37284
  *
@@ -36078,7 +37374,11 @@ declare const postSearchBatch: <ThrowOnError extends boolean = false>(options: O
36078
37374
  /**
36079
37375
  * List workspace stats
36080
37376
  *
36081
- * Get workspace-scoped chat statistics for admin dashboards
37377
+ * Lists resources with optional filtering, sorting, and pagination.
37378
+ *
37379
+ * **Authentication:** Required - Bearer token or API key
37380
+ * **Rate Limit:** 100 requests per minute
37381
+ *
36082
37382
  */
36083
37383
  declare const getThreadsWorkspaceStats: <ThrowOnError extends boolean = false>(options: Options<GetThreadsWorkspaceStatsData, ThrowOnError>) => RequestResult<GetThreadsWorkspaceStatsResponses, GetThreadsWorkspaceStatsErrors, ThrowOnError, "fields">;
36084
37384
  /**
@@ -36335,6 +37635,12 @@ declare const getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError
36335
37635
  *
36336
37636
  */
36337
37637
  declare const patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37638
+ /**
37639
+ * Update default
37640
+ *
37641
+ * Set this payment method as default for the customer
37642
+ */
37643
+ declare const patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
36338
37644
  /**
36339
37645
  * Create export
36340
37646
  *
@@ -36487,14 +37793,11 @@ declare class ValidationError extends GptCoreError {
36487
37793
  readonly errors?: Array<{
36488
37794
  field?: string;
36489
37795
  message: string;
36490
- meta?: Record<string, any>;
36491
37796
  }>;
36492
- readonly meta?: Record<string, any>;
36493
37797
  constructor(message?: string, errors?: Array<{
36494
37798
  field?: string;
36495
37799
  message: string;
36496
- meta?: Record<string, any>;
36497
- }>, meta?: Record<string, any>, options?: ConstructorParameters<typeof GptCoreError>[1]);
37800
+ }>, options?: ConstructorParameters<typeof GptCoreError>[1]);
36498
37801
  }
36499
37802
  /**
36500
37803
  * Rate limiting errors (429)
@@ -36802,6 +38105,8 @@ declare const gptCore: {
36802
38105
  getApplicationsCurrent: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsCurrentData, ThrowOnError>) => RequestResult<GetApplicationsCurrentResponses, GetApplicationsCurrentErrors, ThrowOnError, "fields">;
36803
38106
  getWorkspaces: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesData, ThrowOnError>) => RequestResult<GetWorkspacesResponses, GetWorkspacesErrors, ThrowOnError, "fields">;
36804
38107
  postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
38108
+ getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
38109
+ postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
36805
38110
  getAgentsByIdStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdStatsResponses, GetAgentsByIdStatsErrors, ThrowOnError, "fields">;
36806
38111
  getDocumentsStats: <ThrowOnError extends boolean = false>(options: Options<GetDocumentsStatsData, ThrowOnError>) => RequestResult<GetDocumentsStatsResponses, GetDocumentsStatsErrors, ThrowOnError, "fields">;
36807
38112
  patchExtractionDocumentsByIdDismiss: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdDismissData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdDismissResponses, PatchExtractionDocumentsByIdDismissErrors, ThrowOnError, "fields">;
@@ -36833,7 +38138,6 @@ declare const gptCore: {
36833
38138
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, ThrowOnError, "fields">;
36834
38139
  getConfigs: <ThrowOnError extends boolean = false>(options: Options<GetConfigsData, ThrowOnError>) => RequestResult<GetConfigsResponses, GetConfigsErrors, ThrowOnError, "fields">;
36835
38140
  postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
36836
- getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
36837
38141
  patchWalletAutoTopUp: <ThrowOnError extends boolean = false>(options: Options<PatchWalletAutoTopUpData, ThrowOnError>) => RequestResult<PatchWalletAutoTopUpResponses, PatchWalletAutoTopUpErrors, ThrowOnError, "fields">;
36838
38142
  postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
36839
38143
  patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
@@ -36851,7 +38155,6 @@ declare const gptCore: {
36851
38155
  getApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesResponses, GetApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
36852
38156
  postApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<PostApplicationsByApplicationIdEmailTemplatesResponses, PostApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
36853
38157
  getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
36854
- patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
36855
38158
  patchNotificationMethodsByIdSetPrimary: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSetPrimaryData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSetPrimaryResponses, PatchNotificationMethodsByIdSetPrimaryErrors, ThrowOnError, "fields">;
36856
38159
  getBucketsByIdObjects: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdObjectsData, ThrowOnError>) => RequestResult<GetBucketsByIdObjectsResponses, GetBucketsByIdObjectsErrors, ThrowOnError, "fields">;
36857
38160
  patchInvitationsByIdResend: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdResendData, ThrowOnError>) => RequestResult<PatchInvitationsByIdResendResponses, PatchInvitationsByIdResendErrors, ThrowOnError, "fields">;
@@ -36889,7 +38192,9 @@ declare const gptCore: {
36889
38192
  getCreditPackagesById: <ThrowOnError extends boolean = false>(options: Options<GetCreditPackagesByIdData, ThrowOnError>) => RequestResult<GetCreditPackagesByIdResponses, GetCreditPackagesByIdErrors, ThrowOnError, "fields">;
36890
38193
  deleteUsersById: <ThrowOnError extends boolean = false>(options: Options<DeleteUsersByIdData, ThrowOnError>) => RequestResult<DeleteUsersByIdResponses, DeleteUsersByIdErrors, ThrowOnError, "fields">;
36891
38194
  getUsersById: <ThrowOnError extends boolean = false>(options: Options<GetUsersByIdData, ThrowOnError>) => RequestResult<GetUsersByIdResponses, GetUsersByIdErrors, ThrowOnError, "fields">;
38195
+ deleteExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionResultsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionResultsByIdResponses, DeleteExtractionResultsByIdErrors, ThrowOnError, "fields">;
36892
38196
  getExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsByIdData, ThrowOnError>) => RequestResult<GetExtractionResultsByIdResponses, GetExtractionResultsByIdErrors, ThrowOnError, "fields">;
38197
+ patchExtractionResultsById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdResponses, PatchExtractionResultsByIdErrors, ThrowOnError, "fields">;
36893
38198
  getWebhookDeliveriesStats: <ThrowOnError extends boolean = false>(options: Options<GetWebhookDeliveriesStatsData, ThrowOnError>) => RequestResult<GetWebhookDeliveriesStatsResponses, GetWebhookDeliveriesStatsErrors, ThrowOnError, "fields">;
36894
38199
  postAgentsByIdValidate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdValidateData, ThrowOnError>) => RequestResult<PostAgentsByIdValidateResponses, PostAgentsByIdValidateErrors, ThrowOnError, "fields">;
36895
38200
  postWebhookConfigsByIdTest: <ThrowOnError extends boolean = false>(options: Options<PostWebhookConfigsByIdTestData, ThrowOnError>) => RequestResult<PostWebhookConfigsByIdTestResponses, PostWebhookConfigsByIdTestErrors, ThrowOnError, "fields">;
@@ -36953,7 +38258,6 @@ declare const gptCore: {
36953
38258
  getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, ThrowOnError, "fields">;
36954
38259
  patchInvitationsByIdDecline: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdDeclineData, ThrowOnError>) => RequestResult<PatchInvitationsByIdDeclineResponses, PatchInvitationsByIdDeclineErrors, ThrowOnError, "fields">;
36955
38260
  postExtractionDocumentsUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsUploadResponses, PostExtractionDocumentsUploadErrors, ThrowOnError, "fields">;
36956
- patchExtractionResultsByIdCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdCorrectionsResponses, PatchExtractionResultsByIdCorrectionsErrors, ThrowOnError, "fields">;
36957
38261
  patchNotificationMethodsByIdVerify: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdVerifyData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdVerifyResponses, PatchNotificationMethodsByIdVerifyErrors, ThrowOnError, "fields">;
36958
38262
  getExtractionResultsDocumentByDocumentId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsDocumentByDocumentIdData, ThrowOnError>) => RequestResult<GetExtractionResultsDocumentByDocumentIdResponses, GetExtractionResultsDocumentByDocumentIdErrors, ThrowOnError, "fields">;
36959
38263
  patchUserProfilesByIdDismissAnnouncement: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdDismissAnnouncementData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdDismissAnnouncementResponses, PatchUserProfilesByIdDismissAnnouncementErrors, ThrowOnError, "fields">;
@@ -36964,6 +38268,7 @@ declare const gptCore: {
36964
38268
  postTenants: <ThrowOnError extends boolean = false>(options: Options<PostTenantsData, ThrowOnError>) => RequestResult<PostTenantsResponses, PostTenantsErrors, ThrowOnError, "fields">;
36965
38269
  postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = false>(options: Options<PostTenantsByIdRemoveStorageData, ThrowOnError>) => RequestResult<PostTenantsByIdRemoveStorageResponses, PostTenantsByIdRemoveStorageErrors, ThrowOnError, "fields">;
36966
38270
  getWalletInvoices: <ThrowOnError extends boolean = false>(options: Options<GetWalletInvoicesData, ThrowOnError>) => RequestResult<GetWalletInvoicesResponses, GetWalletInvoicesErrors, ThrowOnError, "fields">;
38271
+ patchExtractionResultsByIdSaveCorrections: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionResultsByIdSaveCorrectionsData, ThrowOnError>) => RequestResult<PatchExtractionResultsByIdSaveCorrectionsResponses, PatchExtractionResultsByIdSaveCorrectionsErrors, ThrowOnError, "fields">;
36967
38272
  patchWorkspacesByIdStorageSettings: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdStorageSettingsData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdStorageSettingsResponses, PatchWorkspacesByIdStorageSettingsErrors, ThrowOnError, "fields">;
36968
38273
  getNotificationLogsById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsByIdData, ThrowOnError>) => RequestResult<GetNotificationLogsByIdResponses, GetNotificationLogsByIdErrors, ThrowOnError, "fields">;
36969
38274
  getExtractionDocumentsByIdView: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsByIdViewData, ThrowOnError>) => RequestResult<GetExtractionDocumentsByIdViewResponses, GetExtractionDocumentsByIdViewErrors, ThrowOnError, "fields">;
@@ -36971,7 +38276,6 @@ declare const gptCore: {
36971
38276
  getAuditLogs: <ThrowOnError extends boolean = false>(options: Options<GetAuditLogsData, ThrowOnError>) => RequestResult<GetAuditLogsResponses, GetAuditLogsErrors, ThrowOnError, "fields">;
36972
38277
  getAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<GetAiGraphEdgesData, ThrowOnError>) => RequestResult<GetAiGraphEdgesResponses, GetAiGraphEdgesErrors, ThrowOnError, "fields">;
36973
38278
  postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
36974
- getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
36975
38279
  getTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<GetTrainingExamplesData, ThrowOnError>) => RequestResult<GetTrainingExamplesResponses, GetTrainingExamplesErrors, ThrowOnError, "fields">;
36976
38280
  postTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesData, ThrowOnError>) => RequestResult<PostTrainingExamplesResponses, PostTrainingExamplesErrors, ThrowOnError, "fields">;
36977
38281
  getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, ThrowOnError, "fields">;
@@ -36979,6 +38283,7 @@ declare const gptCore: {
36979
38283
  postObjectsCopy: <ThrowOnError extends boolean = false>(options: Options<PostObjectsCopyData, ThrowOnError>) => RequestResult<PostObjectsCopyResponses, PostObjectsCopyErrors, ThrowOnError, "fields">;
36980
38284
  getBuckets: <ThrowOnError extends boolean = false>(options: Options<GetBucketsData, ThrowOnError>) => RequestResult<GetBucketsResponses, GetBucketsErrors, ThrowOnError, "fields">;
36981
38285
  postBuckets: <ThrowOnError extends boolean = false>(options: Options<PostBucketsData, ThrowOnError>) => RequestResult<PostBucketsResponses, PostBucketsErrors, ThrowOnError, "fields">;
38286
+ postPaymentMethodsTokenize: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsTokenizeData, ThrowOnError>) => RequestResult<PostPaymentMethodsTokenizeResponses, PostPaymentMethodsTokenizeErrors, ThrowOnError, "fields">;
36982
38287
  getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
36983
38288
  postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, ThrowOnError, "fields">;
36984
38289
  getUsersMeActivity: <ThrowOnError extends boolean = false>(options: Options<GetUsersMeActivityData, ThrowOnError>) => RequestResult<GetUsersMeActivityResponses, GetUsersMeActivityErrors, ThrowOnError, "fields">;
@@ -37015,7 +38320,6 @@ declare const gptCore: {
37015
38320
  getSearchHealth: <ThrowOnError extends boolean = false>(options: Options<GetSearchHealthData, ThrowOnError>) => RequestResult<GetSearchHealthResponses, GetSearchHealthErrors, ThrowOnError, "fields">;
37016
38321
  patchExtractionDocumentsByIdVerification: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdVerificationData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdVerificationResponses, PatchExtractionDocumentsByIdVerificationErrors, ThrowOnError, "fields">;
37017
38322
  postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
37018
- postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
37019
38323
  getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
37020
38324
  getUserProfiles: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesData, ThrowOnError>) => RequestResult<GetUserProfilesResponses, GetUserProfilesErrors, ThrowOnError, "fields">;
37021
38325
  postUserProfiles: <ThrowOnError extends boolean = false>(options: Options<PostUserProfilesData, ThrowOnError>) => RequestResult<PostUserProfilesResponses, PostUserProfilesErrors, ThrowOnError, "fields">;
@@ -37058,6 +38362,9 @@ declare const gptCore: {
37058
38362
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
37059
38363
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
37060
38364
  postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
38365
+ deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
38366
+ getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
38367
+ patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
37061
38368
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
37062
38369
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
37063
38370
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -37092,10 +38399,11 @@ declare const gptCore: {
37092
38399
  postWebhookDeliveriesByIdRetry: <ThrowOnError extends boolean = false>(options: Options<PostWebhookDeliveriesByIdRetryData, ThrowOnError>) => RequestResult<PostWebhookDeliveriesByIdRetryResponses, PostWebhookDeliveriesByIdRetryErrors, ThrowOnError, "fields">;
37093
38400
  getNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<GetNotificationMethodsData, ThrowOnError>) => RequestResult<GetNotificationMethodsResponses, GetNotificationMethodsErrors, ThrowOnError, "fields">;
37094
38401
  postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
38402
+ getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
37095
38403
  postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdSummarizeData, ThrowOnError>) => RequestResult<PostThreadsByIdSummarizeResponses, PostThreadsByIdSummarizeErrors, ThrowOnError, "fields">;
37096
38404
  patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
37097
38405
  patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
37098
- postExtractionResults: <ThrowOnError extends boolean = false>(options: Options<PostExtractionResultsData, ThrowOnError>) => RequestResult<PostExtractionResultsResponses, PostExtractionResultsErrors, ThrowOnError, "fields">;
38406
+ getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
37099
38407
  postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
37100
38408
  deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
37101
38409
  getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
@@ -37134,6 +38442,7 @@ declare const gptCore: {
37134
38442
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37135
38443
  getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37136
38444
  patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
38445
+ patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
37137
38446
  postAgentsByIdExport: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdExportData, ThrowOnError>) => RequestResult<PostAgentsByIdExportResponses, PostAgentsByIdExportErrors, ThrowOnError, "fields">;
37138
38447
  postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
37139
38448
  deleteExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionBatchesByIdData, ThrowOnError>) => RequestResult<DeleteExtractionBatchesByIdResponses, DeleteExtractionBatchesByIdErrors, ThrowOnError, "fields">;
@@ -37148,4 +38457,4 @@ declare const gptCore: {
37148
38457
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
37149
38458
  };
37150
38459
 
37151
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentTestResult, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AgentVersionRevision, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, type GetAgentVersionRevisionsByIdData, type GetAgentVersionRevisionsByIdError, type GetAgentVersionRevisionsByIdErrors, type GetAgentVersionRevisionsByIdResponse, type GetAgentVersionRevisionsByIdResponses, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdPopulateHashesData, type PatchWorkspacesByIdPopulateHashesError, type PatchWorkspacesByIdPopulateHashesErrors, type PatchWorkspacesByIdPopulateHashesResponse, type PatchWorkspacesByIdPopulateHashesResponses, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsFindOrBeginUploadData, type PostExtractionDocumentsFindOrBeginUploadError, type PostExtractionDocumentsFindOrBeginUploadErrors, type PostExtractionDocumentsFindOrBeginUploadResponse, type PostExtractionDocumentsFindOrBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions, getAgentVersionRevisionsById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdPopulateHashes, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsFindOrBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };
38460
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentStats, type AgentTestResult, type AgentTrainingStats, type AgentUsage, 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 Settlement, 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, type ThreadStats, type ThreadWorkspaceStats, 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 WholesaleAgreement, 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 };