@gpt-core/client 0.4.9 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -31,31 +31,32 @@ type WorkspaceSettingsInputCreateType = {
31
31
  overdraft_limit?: number | unknown;
32
32
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
33
33
  } | unknown;
34
- extraction?: unknown | {
35
- cloud?: {
36
- bucket?: string | unknown;
37
- daily_at?: string | unknown;
38
- errors_path?: string | unknown;
39
- exports_path?: string | unknown;
40
- interval_minutes?: number | unknown;
41
- mode?: "immediate" | "scheduled" | unknown;
42
- processed_path?: string | unknown;
43
- schedule_type?: "interval" | "daily" | unknown;
44
- source_path?: string | unknown;
45
- timezone?: string | unknown;
46
- } | unknown;
47
- local?: unknown;
48
- } | {
49
- cloud?: unknown;
50
- local?: unknown;
51
- };
52
34
  scheduling?: {
53
35
  enabled?: boolean | unknown;
54
36
  interval_minutes?: number | unknown;
55
37
  } | unknown;
56
- storage?: {
57
- retention_policy?: "never" | "one_day" | "seven_days" | "fourteen_days" | "thirty_days" | "always" | unknown;
58
- } | unknown;
38
+ storage?: unknown | {
39
+ errors?: {
40
+ bucket_id?: string | unknown;
41
+ destination?: "local" | "storage" | unknown;
42
+ local_path?: string | unknown;
43
+ } | unknown;
44
+ input?: {
45
+ bucket_id?: string | unknown;
46
+ local_path?: string | unknown;
47
+ source?: "local" | "storage" | unknown;
48
+ } | unknown;
49
+ output?: {
50
+ bucket_id?: string | unknown;
51
+ destination?: "local" | "storage" | unknown;
52
+ local_path?: string | unknown;
53
+ retention_minutes?: number | unknown;
54
+ } | unknown;
55
+ } | {
56
+ errors?: unknown;
57
+ input?: unknown;
58
+ output?: unknown;
59
+ };
59
60
  };
60
61
  /**
61
62
  * Filters the query to results matching the given filter object
@@ -170,16 +171,6 @@ type PlanFilterMonthlyPrice = {
170
171
  currency: string;
171
172
  };
172
173
  };
173
- type ExtractionDocumentFilterFolderId = {
174
- eq?: string;
175
- greater_than?: string;
176
- greater_than_or_equal?: string;
177
- in?: Array<string>;
178
- is_nil?: boolean;
179
- less_than?: string;
180
- less_than_or_equal?: string;
181
- not_eq?: string;
182
- };
183
174
  type WorkspaceFilterExpiresAt = {
184
175
  eq?: string;
185
176
  greater_than?: string;
@@ -251,26 +242,7 @@ type WebhookConfig = {
251
242
  * An attributes object for a webhook_config
252
243
  */
253
244
  attributes?: {
254
- /**
255
- * Field included by default.
256
- */
257
- enabled?: boolean | null | unknown;
258
- /**
259
- * Field included by default.
260
- */
261
- events?: Array<string> | null | unknown;
262
- /**
263
- * Field included by default.
264
- */
265
- name: string;
266
- /**
267
- * Field included by default.
268
- */
269
- secret?: string | null | unknown;
270
- /**
271
- * Field included by default.
272
- */
273
- url: string;
245
+ [key: string]: never;
274
246
  };
275
247
  id: string;
276
248
  /**
@@ -599,19 +571,6 @@ type ExtractionDocumentFilterBilledCredits = {
599
571
  less_than_or_equal?: number;
600
572
  not_eq?: number;
601
573
  };
602
- type WebhookConfigFilterName = {
603
- contains?: string;
604
- eq?: string;
605
- greater_than?: string;
606
- greater_than_or_equal?: string;
607
- ilike?: string;
608
- in?: Array<string>;
609
- is_nil?: boolean;
610
- less_than?: string;
611
- less_than_or_equal?: string;
612
- like?: string;
613
- not_eq?: string;
614
- };
615
574
  type ExtractionSchemaFieldFilterRequired = {
616
575
  eq?: boolean;
617
576
  greater_than?: boolean;
@@ -792,19 +751,6 @@ type ApplicationFilterSlug = {
792
751
  like?: string;
793
752
  not_eq?: string;
794
753
  };
795
- type WebhookConfigFilterUrl = {
796
- contains?: string;
797
- eq?: string;
798
- greater_than?: string;
799
- greater_than_or_equal?: string;
800
- ilike?: string;
801
- in?: Array<string>;
802
- is_nil?: boolean;
803
- less_than?: string;
804
- less_than_or_equal?: string;
805
- like?: string;
806
- not_eq?: string;
807
- };
808
754
  type ExtractionDocumentFilterPages = {
809
755
  eq?: number;
810
756
  greater_than?: number;
@@ -1025,6 +971,17 @@ type Customer = {
1025
971
  };
1026
972
  type: string;
1027
973
  };
974
+ type PresignedUrlFilterStoragePath = {
975
+ contains?: string;
976
+ eq?: string;
977
+ greater_than?: string;
978
+ greater_than_or_equal?: string;
979
+ in?: Array<string>;
980
+ is_nil?: boolean;
981
+ less_than?: string;
982
+ less_than_or_equal?: string;
983
+ not_eq?: string;
984
+ };
1028
985
  type SavedSearchFilterName = {
1029
986
  contains?: string;
1030
987
  eq?: string;
@@ -1327,36 +1284,10 @@ type SavedSearchFilterId = {
1327
1284
  less_than_or_equal?: string;
1328
1285
  not_eq?: string;
1329
1286
  };
1330
- type WebhookDeliveryFilterUrl = {
1331
- contains?: string;
1332
- eq?: string;
1333
- greater_than?: string;
1334
- greater_than_or_equal?: string;
1335
- ilike?: string;
1336
- in?: Array<string>;
1337
- is_nil?: boolean;
1338
- less_than?: string;
1339
- less_than_or_equal?: string;
1340
- like?: string;
1341
- not_eq?: string;
1342
- };
1343
1287
  /**
1344
1288
  * Filters the query to results matching the given filter object
1345
1289
  */
1346
1290
  type PricingRuleFilter = unknown;
1347
- type WebhookDeliveryFilterResponseBody = {
1348
- contains?: string;
1349
- eq?: string;
1350
- greater_than?: string;
1351
- greater_than_or_equal?: string;
1352
- ilike?: string;
1353
- in?: Array<string>;
1354
- is_nil?: boolean;
1355
- less_than?: string;
1356
- less_than_or_equal?: string;
1357
- like?: string;
1358
- not_eq?: string;
1359
- };
1360
1291
  type LedgerFilterId = {
1361
1292
  eq?: string;
1362
1293
  greater_than?: string;
@@ -1367,16 +1298,6 @@ type LedgerFilterId = {
1367
1298
  less_than_or_equal?: string;
1368
1299
  not_eq?: string;
1369
1300
  };
1370
- type WebhookDeliveryFilterWebhookConfigId = {
1371
- eq?: string;
1372
- greater_than?: string;
1373
- greater_than_or_equal?: string;
1374
- in?: Array<string>;
1375
- is_nil?: boolean;
1376
- less_than?: string;
1377
- less_than_or_equal?: string;
1378
- not_eq?: string;
1379
- };
1380
1301
  type ConfigFilterKey = {
1381
1302
  contains?: string;
1382
1303
  eq?: string;
@@ -1429,6 +1350,19 @@ type DocumentChunkFilterEmbedding = {
1429
1350
  less_than_or_equal?: unknown;
1430
1351
  not_eq?: unknown;
1431
1352
  };
1353
+ /**
1354
+ * Timestamp when document processing completed (status changed to :completed)
1355
+ */
1356
+ type ExtractionDocumentFilterCompletedAt = {
1357
+ eq?: unknown;
1358
+ greater_than?: unknown;
1359
+ greater_than_or_equal?: unknown;
1360
+ in?: Array<unknown>;
1361
+ is_nil?: boolean;
1362
+ less_than?: unknown;
1363
+ less_than_or_equal?: unknown;
1364
+ not_eq?: unknown;
1365
+ };
1432
1366
  type ExtractionDocumentFilterDeletedAt = {
1433
1367
  eq?: unknown;
1434
1368
  greater_than?: unknown;
@@ -1479,17 +1413,6 @@ type ExtractionExportFilterFileSizeBytes = {
1479
1413
  less_than_or_equal?: number;
1480
1414
  not_eq?: number;
1481
1415
  };
1482
- type WebhookEventFilterDescription = {
1483
- contains?: string;
1484
- eq?: string;
1485
- greater_than?: string;
1486
- greater_than_or_equal?: string;
1487
- in?: Array<string>;
1488
- is_nil?: boolean;
1489
- less_than?: string;
1490
- less_than_or_equal?: string;
1491
- not_eq?: string;
1492
- };
1493
1416
  type UserFilterCurrentWorkspaceId = {
1494
1417
  eq?: string;
1495
1418
  greater_than?: string;
@@ -2096,6 +2019,16 @@ type PricingStrategyFilter = unknown;
2096
2019
  * Filters the query to results matching the given filter object
2097
2020
  */
2098
2021
  type UserProfileFilter = unknown;
2022
+ type PresignedUrlFilterExpiresIn = {
2023
+ eq?: number;
2024
+ greater_than?: number;
2025
+ greater_than_or_equal?: number;
2026
+ in?: Array<number>;
2027
+ is_nil?: boolean;
2028
+ less_than?: number;
2029
+ less_than_or_equal?: number;
2030
+ not_eq?: number;
2031
+ };
2099
2032
  type CreditPackageFilterPrice = {
2100
2033
  eq?: {
2101
2034
  amount: string;
@@ -2250,31 +2183,32 @@ type WorkspaceSettingsInputUpdateType = {
2250
2183
  overdraft_limit?: number | unknown;
2251
2184
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
2252
2185
  } | unknown;
2253
- extraction?: unknown | {
2254
- cloud?: {
2255
- bucket?: string | unknown;
2256
- daily_at?: string | unknown;
2257
- errors_path?: string | unknown;
2258
- exports_path?: string | unknown;
2259
- interval_minutes?: number | unknown;
2260
- mode?: "immediate" | "scheduled" | unknown;
2261
- processed_path?: string | unknown;
2262
- schedule_type?: "interval" | "daily" | unknown;
2263
- source_path?: string | unknown;
2264
- timezone?: string | unknown;
2265
- } | unknown;
2266
- local?: unknown;
2267
- } | {
2268
- cloud?: unknown;
2269
- local?: unknown;
2270
- };
2271
2186
  scheduling?: {
2272
2187
  enabled?: boolean | unknown;
2273
2188
  interval_minutes?: number | unknown;
2274
2189
  } | unknown;
2275
- storage?: {
2276
- retention_policy?: "never" | "one_day" | "seven_days" | "fourteen_days" | "thirty_days" | "always" | unknown;
2277
- } | unknown;
2190
+ storage?: unknown | {
2191
+ errors?: {
2192
+ bucket_id?: string | unknown;
2193
+ destination?: "local" | "storage" | unknown;
2194
+ local_path?: string | unknown;
2195
+ } | unknown;
2196
+ input?: {
2197
+ bucket_id?: string | unknown;
2198
+ local_path?: string | unknown;
2199
+ source?: "local" | "storage" | unknown;
2200
+ } | unknown;
2201
+ output?: {
2202
+ bucket_id?: string | unknown;
2203
+ destination?: "local" | "storage" | unknown;
2204
+ local_path?: string | unknown;
2205
+ retention_minutes?: number | unknown;
2206
+ } | unknown;
2207
+ } | {
2208
+ errors?: unknown;
2209
+ input?: unknown;
2210
+ output?: unknown;
2211
+ };
2278
2212
  };
2279
2213
  type TransactionFilterErrorMessage = {
2280
2214
  contains?: string;
@@ -2333,15 +2267,16 @@ type PresignedUrlFilterId = {
2333
2267
  less_than_or_equal?: string;
2334
2268
  not_eq?: string;
2335
2269
  };
2336
- type WebhookDeliveryFilterAttemptCount = {
2337
- eq?: number;
2338
- greater_than?: number;
2339
- greater_than_or_equal?: number;
2340
- in?: Array<number>;
2270
+ type PresignedUrlFilterUploadUrl = {
2271
+ contains?: string;
2272
+ eq?: string;
2273
+ greater_than?: string;
2274
+ greater_than_or_equal?: string;
2275
+ in?: Array<string>;
2341
2276
  is_nil?: boolean;
2342
- less_than?: number;
2343
- less_than_or_equal?: number;
2344
- not_eq?: number;
2277
+ less_than?: string;
2278
+ less_than_or_equal?: string;
2279
+ not_eq?: string;
2345
2280
  };
2346
2281
  /**
2347
2282
  * A link MUST be represented as either: a string containing the link's URL or a link object.
@@ -2565,17 +2500,6 @@ type WorkspaceFilterArchivedAt = {
2565
2500
  less_than_or_equal?: unknown;
2566
2501
  not_eq?: unknown;
2567
2502
  };
2568
- type WebhookEventFilterEventType = {
2569
- contains?: string;
2570
- eq?: string;
2571
- greater_than?: string;
2572
- greater_than_or_equal?: string;
2573
- in?: Array<string>;
2574
- is_nil?: boolean;
2575
- less_than?: string;
2576
- less_than_or_equal?: string;
2577
- not_eq?: string;
2578
- };
2579
2503
  type ExtractionDocumentFilterStoragePath = {
2580
2504
  contains?: string;
2581
2505
  eq?: string;
@@ -2671,10 +2595,6 @@ type EmbeddingFilterId = {
2671
2595
  less_than_or_equal?: string;
2672
2596
  not_eq?: string;
2673
2597
  };
2674
- /**
2675
- * Filters the query to results matching the given filter object
2676
- */
2677
- type ExtractionFolderFilter = unknown;
2678
2598
  type WalletFilterId = {
2679
2599
  eq?: string;
2680
2600
  greater_than?: string;
@@ -2769,16 +2689,6 @@ type PlanFilterId = {
2769
2689
  less_than_or_equal?: string;
2770
2690
  not_eq?: string;
2771
2691
  };
2772
- type WebhookConfigFilterEnabled = {
2773
- eq?: boolean;
2774
- greater_than?: boolean;
2775
- greater_than_or_equal?: boolean;
2776
- in?: Array<boolean>;
2777
- is_nil?: boolean;
2778
- less_than?: boolean;
2779
- less_than_or_equal?: boolean;
2780
- not_eq?: boolean;
2781
- };
2782
2692
  /**
2783
2693
  * Filters the query to results matching the given filter object
2784
2694
  */
@@ -2869,28 +2779,6 @@ type TransactionFilterAmount = {
2869
2779
  less_than_or_equal?: number;
2870
2780
  not_eq?: number;
2871
2781
  };
2872
- /**
2873
- * A "Resource object" representing a extraction_folder
2874
- */
2875
- type ExtractionFolder = {
2876
- /**
2877
- * An attributes object for a extraction_folder
2878
- */
2879
- attributes?: {
2880
- /**
2881
- * Field included by default.
2882
- */
2883
- name: string;
2884
- };
2885
- id: string;
2886
- /**
2887
- * A relationships object for a extraction_folder
2888
- */
2889
- relationships?: {
2890
- [key: string]: never;
2891
- };
2892
- type: string;
2893
- };
2894
2782
  type ApiKeyFilterTenantId = {
2895
2783
  eq?: string;
2896
2784
  greater_than?: string;
@@ -3130,50 +3018,7 @@ type WebhookDelivery = {
3130
3018
  * An attributes object for a webhook_delivery
3131
3019
  */
3132
3020
  attributes?: {
3133
- /**
3134
- * Field included by default.
3135
- */
3136
- attempt_count?: number | null | unknown;
3137
- /**
3138
- * Field included by default.
3139
- */
3140
- event_type?: string | null | unknown;
3141
- /**
3142
- * Field included by default.
3143
- */
3144
- next_retry_at?: unknown;
3145
- /**
3146
- * Field included by default.
3147
- */
3148
- payload: {
3149
- [key: string]: unknown;
3150
- };
3151
- /**
3152
- * Field included by default.
3153
- */
3154
- request_headers?: {
3155
- [key: string]: unknown;
3156
- } | null | unknown;
3157
- /**
3158
- * Field included by default.
3159
- */
3160
- response_body?: string | null | unknown;
3161
- /**
3162
- * Field included by default.
3163
- */
3164
- response_status?: number | null | unknown;
3165
- /**
3166
- * Field included by default.
3167
- */
3168
- status?: "pending" | "success" | "failed" | "retrying" | unknown;
3169
- /**
3170
- * Field included by default.
3171
- */
3172
- url: string;
3173
- /**
3174
- * Field included by default.
3175
- */
3176
- webhook_config_id: string;
3021
+ [key: string]: never;
3177
3022
  };
3178
3023
  id: string;
3179
3024
  /**
@@ -3184,16 +3029,6 @@ type WebhookDelivery = {
3184
3029
  };
3185
3030
  type: string;
3186
3031
  };
3187
- type WebhookDeliveryFilterStatus = {
3188
- eq?: "pending" | "success" | "failed" | "retrying";
3189
- greater_than?: "pending" | "success" | "failed" | "retrying";
3190
- greater_than_or_equal?: "pending" | "success" | "failed" | "retrying";
3191
- in?: Array<string>;
3192
- is_nil?: boolean;
3193
- less_than?: "pending" | "success" | "failed" | "retrying";
3194
- less_than_or_equal?: "pending" | "success" | "failed" | "retrying";
3195
- not_eq?: "pending" | "success" | "failed" | "retrying";
3196
- };
3197
3032
  /**
3198
3033
  * A "Resource object" representing a embedding
3199
3034
  */
@@ -3413,10 +3248,6 @@ type PlanFilterCreatedAt = {
3413
3248
  less_than_or_equal?: unknown;
3414
3249
  not_eq?: unknown;
3415
3250
  };
3416
- /**
3417
- * Filters the query to results matching the given filter object
3418
- */
3419
- type WebhookEventFilter = unknown;
3420
3251
  type WorkspaceFilterApplicationId = {
3421
3252
  eq?: string;
3422
3253
  greater_than?: string;
@@ -3427,16 +3258,18 @@ type WorkspaceFilterApplicationId = {
3427
3258
  less_than_or_equal?: string;
3428
3259
  not_eq?: string;
3429
3260
  };
3430
- type WebhookEventFilterId = {
3431
- contains?: string;
3432
- eq?: string;
3433
- greater_than?: string;
3434
- greater_than_or_equal?: string;
3435
- in?: Array<string>;
3261
+ /**
3262
+ * Average confidence score across all extracted fields (0.0 to 1.0)
3263
+ */
3264
+ type ExtractionDocumentFilterAvgConfidence = {
3265
+ eq?: number;
3266
+ greater_than?: number;
3267
+ greater_than_or_equal?: number;
3268
+ in?: Array<number>;
3436
3269
  is_nil?: boolean;
3437
- less_than?: string;
3438
- less_than_or_equal?: string;
3439
- not_eq?: string;
3270
+ less_than?: number;
3271
+ less_than_or_equal?: number;
3272
+ not_eq?: number;
3440
3273
  };
3441
3274
  /**
3442
3275
  * Filters the query to results matching the given filter object
@@ -3496,40 +3329,6 @@ type CreditPackageFilterUpdatedAt = {
3496
3329
  less_than_or_equal?: unknown;
3497
3330
  not_eq?: unknown;
3498
3331
  };
3499
- type WebhookDeliveryFilterRequestHeaders = {
3500
- eq?: {
3501
- [key: string]: unknown;
3502
- };
3503
- greater_than?: {
3504
- [key: string]: unknown;
3505
- };
3506
- greater_than_or_equal?: {
3507
- [key: string]: unknown;
3508
- };
3509
- in?: Array<{
3510
- [key: string]: unknown;
3511
- }>;
3512
- is_nil?: boolean;
3513
- less_than?: {
3514
- [key: string]: unknown;
3515
- };
3516
- less_than_or_equal?: {
3517
- [key: string]: unknown;
3518
- };
3519
- not_eq?: {
3520
- [key: string]: unknown;
3521
- };
3522
- };
3523
- type ExtractionFolderFilterId = {
3524
- eq?: string;
3525
- greater_than?: string;
3526
- greater_than_or_equal?: string;
3527
- in?: Array<string>;
3528
- is_nil?: boolean;
3529
- less_than?: string;
3530
- less_than_or_equal?: string;
3531
- not_eq?: string;
3532
- };
3533
3332
  type TokenFilterId = {
3534
3333
  eq?: string;
3535
3334
  greater_than?: string;
@@ -3571,30 +3370,6 @@ type PresignedUrlFilterMethod = {
3571
3370
  less_than_or_equal?: string;
3572
3371
  not_eq?: string;
3573
3372
  };
3574
- type WebhookDeliveryFilterPayload = {
3575
- eq?: {
3576
- [key: string]: unknown;
3577
- };
3578
- greater_than?: {
3579
- [key: string]: unknown;
3580
- };
3581
- greater_than_or_equal?: {
3582
- [key: string]: unknown;
3583
- };
3584
- in?: Array<{
3585
- [key: string]: unknown;
3586
- }>;
3587
- is_nil?: boolean;
3588
- less_than?: {
3589
- [key: string]: unknown;
3590
- };
3591
- less_than_or_equal?: {
3592
- [key: string]: unknown;
3593
- };
3594
- not_eq?: {
3595
- [key: string]: unknown;
3596
- };
3597
- };
3598
3373
  /**
3599
3374
  * A "Resource object" representing a pricing_rule
3600
3375
  */
@@ -3733,19 +3508,6 @@ type ExtractionDocumentFilterMunicipality = {
3733
3508
  like?: string;
3734
3509
  not_eq?: string;
3735
3510
  };
3736
- type WebhookConfigFilterSecret = {
3737
- contains?: string;
3738
- eq?: string;
3739
- greater_than?: string;
3740
- greater_than_or_equal?: string;
3741
- ilike?: string;
3742
- in?: Array<string>;
3743
- is_nil?: boolean;
3744
- less_than?: string;
3745
- less_than_or_equal?: string;
3746
- like?: string;
3747
- not_eq?: string;
3748
- };
3749
3511
  type ExtractionResultFilterExtractedFields = {
3750
3512
  eq?: {
3751
3513
  [key: string]: unknown;
@@ -3770,19 +3532,6 @@ type ExtractionResultFilterExtractedFields = {
3770
3532
  [key: string]: unknown;
3771
3533
  };
3772
3534
  };
3773
- type WebhookDeliveryFilterEventType = {
3774
- contains?: string;
3775
- eq?: string;
3776
- greater_than?: string;
3777
- greater_than_or_equal?: string;
3778
- ilike?: string;
3779
- in?: Array<string>;
3780
- is_nil?: boolean;
3781
- less_than?: string;
3782
- less_than_or_equal?: string;
3783
- like?: string;
3784
- not_eq?: string;
3785
- };
3786
3535
  type ConfigFilterDescription = {
3787
3536
  contains?: string;
3788
3537
  eq?: string;
@@ -4410,17 +4159,15 @@ type PresignedUrl = {
4410
4159
  /**
4411
4160
  * Field included by default.
4412
4161
  */
4413
- headers?: {
4414
- [key: string]: unknown;
4415
- } | null | unknown;
4162
+ expires_in: number;
4416
4163
  /**
4417
4164
  * Field included by default.
4418
4165
  */
4419
- method: string;
4166
+ storage_path: string;
4420
4167
  /**
4421
4168
  * Field included by default.
4422
4169
  */
4423
- url: string;
4170
+ upload_url: string;
4424
4171
  };
4425
4172
  id: string;
4426
4173
  /**
@@ -5185,36 +4932,6 @@ type TenantFilterKind = {
5185
4932
  less_than_or_equal?: "platform" | "admin" | "tenant";
5186
4933
  not_eq?: "platform" | "admin" | "tenant";
5187
4934
  };
5188
- /**
5189
- * A "Resource object" representing a webhook_event
5190
- */
5191
- type WebhookEvent = {
5192
- /**
5193
- * An attributes object for a webhook_event
5194
- */
5195
- attributes?: {
5196
- /**
5197
- * Field included by default.
5198
- */
5199
- category: string;
5200
- /**
5201
- * Field included by default.
5202
- */
5203
- description: string;
5204
- /**
5205
- * Field included by default.
5206
- */
5207
- event_type: string;
5208
- };
5209
- id: string;
5210
- /**
5211
- * A relationships object for a webhook_event
5212
- */
5213
- relationships?: {
5214
- [key: string]: never;
5215
- };
5216
- type: string;
5217
- };
5218
4935
  /**
5219
4936
  * A "Resource object" representing a agent
5220
4937
  */
@@ -5425,16 +5142,6 @@ type ExtractionDocumentFilterProcessedAt = {
5425
5142
  less_than_or_equal?: unknown;
5426
5143
  not_eq?: unknown;
5427
5144
  };
5428
- type WebhookDeliveryFilterResponseStatus = {
5429
- eq?: number;
5430
- greater_than?: number;
5431
- greater_than_or_equal?: number;
5432
- in?: Array<number>;
5433
- is_nil?: boolean;
5434
- less_than?: number;
5435
- less_than_or_equal?: number;
5436
- not_eq?: number;
5437
- };
5438
5145
  type ObjectFilterKey = {
5439
5146
  contains?: string;
5440
5147
  eq?: string;
@@ -5553,120 +5260,76 @@ type Workspace = {
5553
5260
  /**
5554
5261
  * Field included by default.
5555
5262
  */
5556
- extraction: {
5263
+ scheduling: {
5557
5264
  /**
5558
5265
  * Field included by default.
5559
5266
  */
5560
- cloud: {
5561
- /**
5562
- * Field included by default.
5563
- */
5564
- bucket?: string | null | unknown;
5565
- /**
5566
- * Field included by default.
5567
- */
5568
- daily_at?: string | null | unknown;
5569
- /**
5570
- * Field included by default.
5571
- */
5572
- errors_path?: string | null | unknown;
5573
- /**
5574
- * Field included by default.
5575
- */
5576
- exports_path?: string | null | unknown;
5577
- /**
5578
- * Field included by default.
5579
- */
5580
- interval_minutes?: number | null | unknown;
5581
- /**
5582
- * Field included by default.
5583
- */
5584
- mode: "immediate" | "scheduled";
5585
- /**
5586
- * Field included by default.
5587
- */
5588
- processed_path?: string | null | unknown;
5267
+ enabled: boolean;
5268
+ /**
5269
+ * Field included by default.
5270
+ */
5271
+ interval_minutes: number;
5272
+ };
5273
+ /**
5274
+ * Field included by default.
5275
+ */
5276
+ storage: {
5277
+ /**
5278
+ * Field included by default.
5279
+ */
5280
+ errors: {
5589
5281
  /**
5590
5282
  * Field included by default.
5591
5283
  */
5592
- schedule_type?: "interval" | "daily" | unknown;
5284
+ bucket_id?: string | null | unknown;
5593
5285
  /**
5594
5286
  * Field included by default.
5595
5287
  */
5596
- source_path?: string | null | unknown;
5288
+ destination: "local" | "storage";
5597
5289
  /**
5598
5290
  * Field included by default.
5599
5291
  */
5600
- timezone: string;
5292
+ local_path?: string | null | unknown;
5601
5293
  };
5602
5294
  /**
5603
5295
  * Field included by default.
5604
5296
  */
5605
- local: {
5606
- /**
5607
- * Field included by default.
5608
- */
5609
- bucket?: string | null | unknown;
5610
- /**
5611
- * Field included by default.
5612
- */
5613
- daily_at?: string | null | unknown;
5614
- /**
5615
- * Field included by default.
5616
- */
5617
- errors_path?: string | null | unknown;
5297
+ input: {
5618
5298
  /**
5619
5299
  * Field included by default.
5620
5300
  */
5621
- exports_path?: string | null | unknown;
5301
+ bucket_id?: string | null | unknown;
5622
5302
  /**
5623
5303
  * Field included by default.
5624
5304
  */
5625
- interval_minutes?: number | null | unknown;
5305
+ local_path?: string | null | unknown;
5626
5306
  /**
5627
5307
  * Field included by default.
5628
5308
  */
5629
- mode: "immediate" | "scheduled";
5309
+ source: "local" | "storage";
5310
+ };
5311
+ /**
5312
+ * Field included by default.
5313
+ */
5314
+ output: {
5630
5315
  /**
5631
5316
  * Field included by default.
5632
5317
  */
5633
- processed_path?: string | null | unknown;
5318
+ bucket_id?: string | null | unknown;
5634
5319
  /**
5635
5320
  * Field included by default.
5636
5321
  */
5637
- schedule_type?: "interval" | "daily" | unknown;
5322
+ destination: "local" | "storage";
5638
5323
  /**
5639
5324
  * Field included by default.
5640
5325
  */
5641
- source_path?: string | null | unknown;
5326
+ local_path?: string | null | unknown;
5642
5327
  /**
5643
5328
  * Field included by default.
5644
5329
  */
5645
- timezone: string;
5330
+ retention_minutes?: number | null | unknown;
5646
5331
  };
5647
5332
  };
5648
- /**
5649
- * Field included by default.
5650
- */
5651
- scheduling: {
5652
- /**
5653
- * Field included by default.
5654
- */
5655
- enabled: boolean;
5656
- /**
5657
- * Field included by default.
5658
- */
5659
- interval_minutes: number;
5660
- };
5661
- /**
5662
- * Field included by default.
5663
- */
5664
- storage: {
5665
- /**
5666
- * Field included by default.
5667
- */
5668
- retention_policy: "never" | "one_day" | "seven_days" | "fourteen_days" | "thirty_days" | "always";
5669
- };
5670
5333
  };
5671
5334
  /**
5672
5335
  * Field included by default.
@@ -5715,19 +5378,6 @@ type ExtractionSchemaFieldFilterType = {
5715
5378
  less_than_or_equal?: "text" | "date" | "currency" | "number" | "boolean";
5716
5379
  not_eq?: "text" | "date" | "currency" | "number" | "boolean";
5717
5380
  };
5718
- type ExtractionFolderFilterName = {
5719
- contains?: string;
5720
- eq?: string;
5721
- greater_than?: string;
5722
- greater_than_or_equal?: string;
5723
- ilike?: string;
5724
- in?: Array<string>;
5725
- is_nil?: boolean;
5726
- less_than?: string;
5727
- less_than_or_equal?: string;
5728
- like?: string;
5729
- not_eq?: string;
5730
- };
5731
5381
  /**
5732
5382
  * A "Resource object" representing a invitation
5733
5383
  */
@@ -5817,17 +5467,6 @@ type WalletFilterCreditsPaid = {
5817
5467
  less_than_or_equal?: number;
5818
5468
  not_eq?: number;
5819
5469
  };
5820
- type WebhookEventFilterCategory = {
5821
- contains?: string;
5822
- eq?: string;
5823
- greater_than?: string;
5824
- greater_than_or_equal?: string;
5825
- in?: Array<string>;
5826
- is_nil?: boolean;
5827
- less_than?: string;
5828
- less_than_or_equal?: string;
5829
- not_eq?: string;
5830
- };
5831
5470
  /**
5832
5471
  * Filters the query to results matching the given filter object
5833
5472
  */
@@ -5842,16 +5481,6 @@ type UserProfileFilterId = {
5842
5481
  less_than_or_equal?: string;
5843
5482
  not_eq?: string;
5844
5483
  };
5845
- type WebhookDeliveryFilterNextRetryAt = {
5846
- eq?: unknown;
5847
- greater_than?: unknown;
5848
- greater_than_or_equal?: unknown;
5849
- in?: Array<unknown>;
5850
- is_nil?: boolean;
5851
- less_than?: unknown;
5852
- less_than_or_equal?: unknown;
5853
- not_eq?: unknown;
5854
- };
5855
5484
  type DocumentStatsFilterCompleted = {
5856
5485
  eq?: number;
5857
5486
  greater_than?: number;
@@ -5888,6 +5517,10 @@ type ExtractionDocument = {
5888
5517
  * An attributes object for a extraction_document
5889
5518
  */
5890
5519
  attributes?: {
5520
+ /**
5521
+ * Average confidence score across all extracted fields (0.0 to 1.0). Field included by default.
5522
+ */
5523
+ avg_confidence?: number | null | unknown;
5891
5524
  /**
5892
5525
  * Credits billed for processing this document. Field included by default.
5893
5526
  */
@@ -5902,6 +5535,10 @@ type ExtractionDocument = {
5902
5535
  * Overall classification confidence (0.0 to 1.0). Field included by default.
5903
5536
  */
5904
5537
  classification_confidence?: number | null | unknown;
5538
+ /**
5539
+ * Timestamp when document processing completed (status changed to :completed). Field included by default.
5540
+ */
5541
+ completed_at?: unknown;
5905
5542
  content?: string | null | unknown;
5906
5543
  /**
5907
5544
  * Field included by default.
@@ -5931,10 +5568,6 @@ type ExtractionDocument = {
5931
5568
  * Field included by default.
5932
5569
  */
5933
5570
  filename: string;
5934
- /**
5935
- * Field included by default.
5936
- */
5937
- folder_id?: string | null | unknown;
5938
5571
  /**
5939
5572
  * Municipality/agency name extracted from document content. Field included by default.
5940
5573
  */
@@ -5984,18 +5617,6 @@ type ExtractionDocument = {
5984
5617
  type: string;
5985
5618
  } | null;
5986
5619
  };
5987
- folder?: {
5988
- /**
5989
- * An identifier for folder
5990
- */
5991
- data?: {
5992
- id: string;
5993
- meta?: {
5994
- [key: string]: unknown;
5995
- };
5996
- type: string;
5997
- } | null;
5998
- };
5999
5620
  };
6000
5621
  type: string;
6001
5622
  };
@@ -7124,7 +6745,7 @@ type GetSearchIndexesResponses = {
7124
6745
  };
7125
6746
  };
7126
6747
  type GetSearchIndexesResponse = GetSearchIndexesResponses[keyof GetSearchIndexesResponses];
7127
- type GetExtractionDocumentsFolderByFolderIdData = {
6748
+ type GetCreditPackagesSlugBySlugData = {
7128
6749
  body?: never;
7129
6750
  headers: {
7130
6751
  /**
@@ -7133,27 +6754,9 @@ type GetExtractionDocumentsFolderByFolderIdData = {
7133
6754
  "x-application-key": string;
7134
6755
  };
7135
6756
  path: {
7136
- folder_id: string;
6757
+ slug: string;
7137
6758
  };
7138
6759
  query?: {
7139
- /**
7140
- * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
7141
- */
7142
- filter?: ExtractionDocumentFilter;
7143
- /**
7144
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
7145
- */
7146
- sort?: string;
7147
- /**
7148
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
7149
- */
7150
- page?: {
7151
- after?: string;
7152
- before?: string;
7153
- count?: boolean;
7154
- limit?: number;
7155
- offset?: number;
7156
- };
7157
6760
  /**
7158
6761
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7159
6762
  */
@@ -7163,91 +6766,15 @@ type GetExtractionDocumentsFolderByFolderIdData = {
7163
6766
  */
7164
6767
  fields?: {
7165
6768
  /**
7166
- * Comma separated field names for extraction_document
6769
+ * Comma separated field names for credit_package
7167
6770
  */
7168
- extraction_document?: string;
6771
+ credit_package?: string;
7169
6772
  [key: string]: unknown | string | undefined;
7170
6773
  };
7171
6774
  };
7172
- url: "/extraction/documents/folder/{folder_id}";
6775
+ url: "/credit-packages/slug/{slug}";
7173
6776
  };
7174
- type GetExtractionDocumentsFolderByFolderIdErrors = {
7175
- /**
7176
- * Bad Request - Invalid input data or malformed request
7177
- */
7178
- 400: ErrorResponse;
7179
- /**
7180
- * Unauthorized - Missing or invalid authentication token
7181
- */
7182
- 401: ErrorResponse;
7183
- /**
7184
- * Forbidden - Authenticated but not authorized for this resource
7185
- */
7186
- 403: ErrorResponse;
7187
- /**
7188
- * Not Found - Resource does not exist
7189
- */
7190
- 404: ErrorResponse;
7191
- /**
7192
- * Too Many Requests - Rate limit exceeded
7193
- */
7194
- 429: ErrorResponse;
7195
- /**
7196
- * Internal Server Error - Unexpected server error
7197
- */
7198
- 500: ErrorResponse;
7199
- /**
7200
- * General Error
7201
- */
7202
- default: Errors;
7203
- };
7204
- type GetExtractionDocumentsFolderByFolderIdError = GetExtractionDocumentsFolderByFolderIdErrors[keyof GetExtractionDocumentsFolderByFolderIdErrors];
7205
- type GetExtractionDocumentsFolderByFolderIdResponses = {
7206
- /**
7207
- * Success
7208
- */
7209
- 200: {
7210
- /**
7211
- * An array of resource objects representing a extraction_document
7212
- */
7213
- data?: Array<ExtractionDocument>;
7214
- included?: Array<ExtractionResult>;
7215
- meta?: {
7216
- [key: string]: unknown;
7217
- };
7218
- };
7219
- };
7220
- type GetExtractionDocumentsFolderByFolderIdResponse = GetExtractionDocumentsFolderByFolderIdResponses[keyof GetExtractionDocumentsFolderByFolderIdResponses];
7221
- type GetCreditPackagesSlugBySlugData = {
7222
- body?: never;
7223
- headers: {
7224
- /**
7225
- * Application ID for authentication and routing
7226
- */
7227
- "x-application-key": string;
7228
- };
7229
- path: {
7230
- slug: string;
7231
- };
7232
- query?: {
7233
- /**
7234
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7235
- */
7236
- include?: string;
7237
- /**
7238
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
7239
- */
7240
- fields?: {
7241
- /**
7242
- * Comma separated field names for credit_package
7243
- */
7244
- credit_package?: string;
7245
- [key: string]: unknown | string | undefined;
7246
- };
7247
- };
7248
- url: "/credit-packages/slug/{slug}";
7249
- };
7250
- type GetCreditPackagesSlugBySlugErrors = {
6777
+ type GetCreditPackagesSlugBySlugErrors = {
7251
6778
  /**
7252
6779
  * Bad Request - Invalid input data or malformed request
7253
6780
  */
@@ -7860,6 +7387,10 @@ type PatchExtractionDocumentsByIdStatusData = {
7860
7387
  body?: {
7861
7388
  data: {
7862
7389
  attributes?: {
7390
+ /**
7391
+ * Average confidence score across all extracted fields (0.0 to 1.0)
7392
+ */
7393
+ avg_confidence?: number | unknown;
7863
7394
  /**
7864
7395
  * Credits billed for processing this document
7865
7396
  */
@@ -7868,6 +7399,10 @@ type PatchExtractionDocumentsByIdStatusData = {
7868
7399
  * Overall classification confidence (0.0 to 1.0)
7869
7400
  */
7870
7401
  classification_confidence?: number | unknown;
7402
+ /**
7403
+ * Timestamp when document processing completed (status changed to :completed)
7404
+ */
7405
+ completed_at?: unknown;
7871
7406
  /**
7872
7407
  * Specific document type from specialty agent (Traffic Citation, Invoice, etc.)
7873
7408
  */
@@ -9838,184 +9373,6 @@ type PostInvitationsAcceptByTokenResponses = {
9838
9373
  };
9839
9374
  };
9840
9375
  type PostInvitationsAcceptByTokenResponse = PostInvitationsAcceptByTokenResponses[keyof PostInvitationsAcceptByTokenResponses];
9841
- type GetExtractionFoldersData = {
9842
- body?: never;
9843
- headers: {
9844
- /**
9845
- * Application ID for authentication and routing
9846
- */
9847
- "x-application-key": string;
9848
- };
9849
- path?: never;
9850
- query?: {
9851
- /**
9852
- * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
9853
- */
9854
- filter?: ExtractionFolderFilter;
9855
- /**
9856
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
9857
- */
9858
- sort?: string;
9859
- /**
9860
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
9861
- */
9862
- page?: {
9863
- after?: string;
9864
- before?: string;
9865
- count?: boolean;
9866
- limit?: number;
9867
- offset?: number;
9868
- };
9869
- /**
9870
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9871
- */
9872
- include?: string;
9873
- /**
9874
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
9875
- */
9876
- fields?: {
9877
- /**
9878
- * Comma separated field names for extraction_folder
9879
- */
9880
- extraction_folder?: string;
9881
- [key: string]: unknown | string | undefined;
9882
- };
9883
- };
9884
- url: "/extraction/folders";
9885
- };
9886
- type GetExtractionFoldersErrors = {
9887
- /**
9888
- * Bad Request - Invalid input data or malformed request
9889
- */
9890
- 400: ErrorResponse;
9891
- /**
9892
- * Unauthorized - Missing or invalid authentication token
9893
- */
9894
- 401: ErrorResponse;
9895
- /**
9896
- * Forbidden - Authenticated but not authorized for this resource
9897
- */
9898
- 403: ErrorResponse;
9899
- /**
9900
- * Not Found - Resource does not exist
9901
- */
9902
- 404: ErrorResponse;
9903
- /**
9904
- * Too Many Requests - Rate limit exceeded
9905
- */
9906
- 429: ErrorResponse;
9907
- /**
9908
- * Internal Server Error - Unexpected server error
9909
- */
9910
- 500: ErrorResponse;
9911
- /**
9912
- * General Error
9913
- */
9914
- default: Errors;
9915
- };
9916
- type GetExtractionFoldersError = GetExtractionFoldersErrors[keyof GetExtractionFoldersErrors];
9917
- type GetExtractionFoldersResponses = {
9918
- /**
9919
- * Success
9920
- */
9921
- 200: {
9922
- /**
9923
- * An array of resource objects representing a extraction_folder
9924
- */
9925
- data?: Array<ExtractionFolder>;
9926
- included?: Array<unknown>;
9927
- meta?: {
9928
- [key: string]: unknown;
9929
- };
9930
- };
9931
- };
9932
- type GetExtractionFoldersResponse = GetExtractionFoldersResponses[keyof GetExtractionFoldersResponses];
9933
- type PostExtractionFoldersData = {
9934
- /**
9935
- * Request body for the /extraction/folders operation on extraction_folder resource
9936
- */
9937
- body: {
9938
- data: {
9939
- attributes?: {
9940
- name: string;
9941
- parent_id?: string | unknown;
9942
- workspace_id: string;
9943
- };
9944
- relationships?: {
9945
- [key: string]: never;
9946
- };
9947
- type?: "extraction_folder";
9948
- };
9949
- };
9950
- headers: {
9951
- /**
9952
- * Application ID for authentication and routing
9953
- */
9954
- "x-application-key": string;
9955
- };
9956
- path?: never;
9957
- query?: {
9958
- /**
9959
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9960
- */
9961
- include?: string;
9962
- /**
9963
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
9964
- */
9965
- fields?: {
9966
- /**
9967
- * Comma separated field names for extraction_folder
9968
- */
9969
- extraction_folder?: string;
9970
- [key: string]: unknown | string | undefined;
9971
- };
9972
- };
9973
- url: "/extraction/folders";
9974
- };
9975
- type PostExtractionFoldersErrors = {
9976
- /**
9977
- * Bad Request - Invalid input data or malformed request
9978
- */
9979
- 400: ErrorResponse;
9980
- /**
9981
- * Unauthorized - Missing or invalid authentication token
9982
- */
9983
- 401: ErrorResponse;
9984
- /**
9985
- * Forbidden - Authenticated but not authorized for this resource
9986
- */
9987
- 403: ErrorResponse;
9988
- /**
9989
- * Not Found - Resource does not exist
9990
- */
9991
- 404: ErrorResponse;
9992
- /**
9993
- * Too Many Requests - Rate limit exceeded
9994
- */
9995
- 429: ErrorResponse;
9996
- /**
9997
- * Internal Server Error - Unexpected server error
9998
- */
9999
- 500: ErrorResponse;
10000
- /**
10001
- * General Error
10002
- */
10003
- default: Errors;
10004
- };
10005
- type PostExtractionFoldersError = PostExtractionFoldersErrors[keyof PostExtractionFoldersErrors];
10006
- type PostExtractionFoldersResponses = {
10007
- /**
10008
- * Success
10009
- */
10010
- 201: {
10011
- data?: ExtractionFolder;
10012
- included?: Array<unknown>;
10013
- meta?: {
10014
- [key: string]: unknown;
10015
- };
10016
- };
10017
- };
10018
- type PostExtractionFoldersResponse = PostExtractionFoldersResponses[keyof PostExtractionFoldersResponses];
10019
9376
  type GetExtractionBatchesByIdUploadUrlsData = {
10020
9377
  body?: never;
10021
9378
  headers: {
@@ -11969,247 +11326,16 @@ type GetSearchData = {
11969
11326
  */
11970
11327
  "x-application-key": string;
11971
11328
  };
11972
- path?: never;
11973
- query: {
11974
- /**
11975
- * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
11976
- */
11977
- filter?: SearchFilter;
11978
- /**
11979
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
11980
- */
11981
- sort?: string;
11982
- /**
11983
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
11984
- */
11985
- include?: string;
11986
- /**
11987
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
11988
- */
11989
- fields?: {
11990
- /**
11991
- * Comma separated field names for search
11992
- */
11993
- search?: string;
11994
- [key: string]: unknown | string | undefined;
11995
- };
11996
- query: string;
11997
- scope?: "global" | "tenant";
11998
- };
11999
- url: "/search";
12000
- };
12001
- type GetSearchErrors = {
12002
- /**
12003
- * Bad Request - Invalid input data or malformed request
12004
- */
12005
- 400: ErrorResponse;
12006
- /**
12007
- * Unauthorized - Missing or invalid authentication token
12008
- */
12009
- 401: ErrorResponse;
12010
- /**
12011
- * Forbidden - Authenticated but not authorized for this resource
12012
- */
12013
- 403: ErrorResponse;
12014
- /**
12015
- * Not Found - Resource does not exist
12016
- */
12017
- 404: ErrorResponse;
12018
- /**
12019
- * Too Many Requests - Rate limit exceeded
12020
- */
12021
- 429: ErrorResponse;
12022
- /**
12023
- * Internal Server Error - Unexpected server error
12024
- */
12025
- 500: ErrorResponse;
12026
- /**
12027
- * General Error
12028
- */
12029
- default: Errors;
12030
- };
12031
- type GetSearchError = GetSearchErrors[keyof GetSearchErrors];
12032
- type GetSearchResponses = {
12033
- /**
12034
- * Success
12035
- */
12036
- 200: {
12037
- /**
12038
- * An array of resource objects representing a search
12039
- */
12040
- data?: Array<Search>;
12041
- included?: Array<unknown>;
12042
- meta?: {
12043
- [key: string]: unknown;
12044
- };
12045
- };
12046
- };
12047
- type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
12048
- type DeleteExtractionFoldersByIdData = {
12049
- body?: never;
12050
- headers: {
12051
- /**
12052
- * Application ID for authentication and routing
12053
- */
12054
- "x-application-key": string;
12055
- };
12056
- path: {
12057
- id: string;
12058
- };
12059
- query?: {
12060
- /**
12061
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12062
- */
12063
- include?: string;
12064
- /**
12065
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12066
- */
12067
- fields?: {
12068
- /**
12069
- * Comma separated field names for extraction_folder
12070
- */
12071
- extraction_folder?: string;
12072
- [key: string]: unknown | string | undefined;
12073
- };
12074
- };
12075
- url: "/extraction/folders/{id}";
12076
- };
12077
- type DeleteExtractionFoldersByIdErrors = {
12078
- /**
12079
- * Bad Request - Invalid input data or malformed request
12080
- */
12081
- 400: ErrorResponse;
12082
- /**
12083
- * Unauthorized - Missing or invalid authentication token
12084
- */
12085
- 401: ErrorResponse;
12086
- /**
12087
- * Forbidden - Authenticated but not authorized for this resource
12088
- */
12089
- 403: ErrorResponse;
12090
- /**
12091
- * Not Found - Resource does not exist
12092
- */
12093
- 404: ErrorResponse;
12094
- /**
12095
- * Too Many Requests - Rate limit exceeded
12096
- */
12097
- 429: ErrorResponse;
12098
- /**
12099
- * Internal Server Error - Unexpected server error
12100
- */
12101
- 500: ErrorResponse;
12102
- /**
12103
- * General Error
12104
- */
12105
- default: Errors;
12106
- };
12107
- type DeleteExtractionFoldersByIdError = DeleteExtractionFoldersByIdErrors[keyof DeleteExtractionFoldersByIdErrors];
12108
- type DeleteExtractionFoldersByIdResponses = {
12109
- /**
12110
- * Deleted successfully
12111
- */
12112
- 200: unknown;
12113
- };
12114
- type GetExtractionFoldersByIdData = {
12115
- body?: never;
12116
- headers: {
12117
- /**
12118
- * Application ID for authentication and routing
12119
- */
12120
- "x-application-key": string;
12121
- };
12122
- path: {
12123
- id: string;
12124
- };
12125
- query?: {
12126
- /**
12127
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12128
- */
12129
- include?: string;
12130
- /**
12131
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12132
- */
12133
- fields?: {
12134
- /**
12135
- * Comma separated field names for extraction_folder
12136
- */
12137
- extraction_folder?: string;
12138
- [key: string]: unknown | string | undefined;
12139
- };
12140
- };
12141
- url: "/extraction/folders/{id}";
12142
- };
12143
- type GetExtractionFoldersByIdErrors = {
12144
- /**
12145
- * Bad Request - Invalid input data or malformed request
12146
- */
12147
- 400: ErrorResponse;
12148
- /**
12149
- * Unauthorized - Missing or invalid authentication token
12150
- */
12151
- 401: ErrorResponse;
12152
- /**
12153
- * Forbidden - Authenticated but not authorized for this resource
12154
- */
12155
- 403: ErrorResponse;
12156
- /**
12157
- * Not Found - Resource does not exist
12158
- */
12159
- 404: ErrorResponse;
12160
- /**
12161
- * Too Many Requests - Rate limit exceeded
12162
- */
12163
- 429: ErrorResponse;
12164
- /**
12165
- * Internal Server Error - Unexpected server error
12166
- */
12167
- 500: ErrorResponse;
12168
- /**
12169
- * General Error
12170
- */
12171
- default: Errors;
12172
- };
12173
- type GetExtractionFoldersByIdError = GetExtractionFoldersByIdErrors[keyof GetExtractionFoldersByIdErrors];
12174
- type GetExtractionFoldersByIdResponses = {
12175
- /**
12176
- * Success
12177
- */
12178
- 200: {
12179
- data?: ExtractionFolder;
12180
- included?: Array<unknown>;
12181
- meta?: {
12182
- [key: string]: unknown;
12183
- };
12184
- };
12185
- };
12186
- type GetExtractionFoldersByIdResponse = GetExtractionFoldersByIdResponses[keyof GetExtractionFoldersByIdResponses];
12187
- type PatchExtractionFoldersByIdData = {
12188
- /**
12189
- * Request body for the /extraction/folders/:id operation on extraction_folder resource
12190
- */
12191
- body?: {
12192
- data: {
12193
- attributes?: {
12194
- [key: string]: never;
12195
- };
12196
- id: string;
12197
- relationships?: {
12198
- [key: string]: never;
12199
- };
12200
- type?: "extraction_folder";
12201
- };
12202
- };
12203
- headers: {
12204
- /**
12205
- * Application ID for authentication and routing
12206
- */
12207
- "x-application-key": string;
12208
- };
12209
- path: {
12210
- id: string;
12211
- };
12212
- query?: {
11329
+ path?: never;
11330
+ query: {
11331
+ /**
11332
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
11333
+ */
11334
+ filter?: SearchFilter;
11335
+ /**
11336
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
11337
+ */
11338
+ sort?: string;
12213
11339
  /**
12214
11340
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12215
11341
  */
@@ -12219,15 +11345,17 @@ type PatchExtractionFoldersByIdData = {
12219
11345
  */
12220
11346
  fields?: {
12221
11347
  /**
12222
- * Comma separated field names for extraction_folder
11348
+ * Comma separated field names for search
12223
11349
  */
12224
- extraction_folder?: string;
11350
+ search?: string;
12225
11351
  [key: string]: unknown | string | undefined;
12226
11352
  };
11353
+ query: string;
11354
+ scope?: "global" | "tenant";
12227
11355
  };
12228
- url: "/extraction/folders/{id}";
11356
+ url: "/search";
12229
11357
  };
12230
- type PatchExtractionFoldersByIdErrors = {
11358
+ type GetSearchErrors = {
12231
11359
  /**
12232
11360
  * Bad Request - Invalid input data or malformed request
12233
11361
  */
@@ -12257,20 +11385,23 @@ type PatchExtractionFoldersByIdErrors = {
12257
11385
  */
12258
11386
  default: Errors;
12259
11387
  };
12260
- type PatchExtractionFoldersByIdError = PatchExtractionFoldersByIdErrors[keyof PatchExtractionFoldersByIdErrors];
12261
- type PatchExtractionFoldersByIdResponses = {
11388
+ type GetSearchError = GetSearchErrors[keyof GetSearchErrors];
11389
+ type GetSearchResponses = {
12262
11390
  /**
12263
11391
  * Success
12264
11392
  */
12265
11393
  200: {
12266
- data?: ExtractionFolder;
11394
+ /**
11395
+ * An array of resource objects representing a search
11396
+ */
11397
+ data?: Array<Search>;
12267
11398
  included?: Array<unknown>;
12268
11399
  meta?: {
12269
11400
  [key: string]: unknown;
12270
11401
  };
12271
11402
  };
12272
11403
  };
12273
- type PatchExtractionFoldersByIdResponse = PatchExtractionFoldersByIdResponses[keyof PatchExtractionFoldersByIdResponses];
11404
+ type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
12274
11405
  type GetInvitationsData = {
12275
11406
  body?: never;
12276
11407
  headers: {
@@ -13546,6 +12677,93 @@ type PatchUsersByIdResetPasswordResponses = {
13546
12677
  };
13547
12678
  };
13548
12679
  type PatchUsersByIdResetPasswordResponse = PatchUsersByIdResetPasswordResponses[keyof PatchUsersByIdResetPasswordResponses];
12680
+ type PostDocumentsPresignedUploadData = {
12681
+ /**
12682
+ * Request body for the /documents/presigned_upload operation on presigned_url resource
12683
+ */
12684
+ body: {
12685
+ data: {
12686
+ attributes?: {
12687
+ filename: string;
12688
+ mime_type: string;
12689
+ size_bytes: number;
12690
+ workspace_id: string;
12691
+ };
12692
+ relationships?: {
12693
+ [key: string]: never;
12694
+ };
12695
+ type?: "presigned_url";
12696
+ };
12697
+ };
12698
+ headers: {
12699
+ /**
12700
+ * Application ID for authentication and routing
12701
+ */
12702
+ "x-application-key": string;
12703
+ };
12704
+ path?: never;
12705
+ query?: {
12706
+ /**
12707
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12708
+ */
12709
+ include?: string;
12710
+ /**
12711
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12712
+ */
12713
+ fields?: {
12714
+ /**
12715
+ * Comma separated field names for presigned_url
12716
+ */
12717
+ presigned_url?: string;
12718
+ [key: string]: unknown | string | undefined;
12719
+ };
12720
+ };
12721
+ url: "/documents/presigned_upload";
12722
+ };
12723
+ type PostDocumentsPresignedUploadErrors = {
12724
+ /**
12725
+ * Bad Request - Invalid input data or malformed request
12726
+ */
12727
+ 400: ErrorResponse;
12728
+ /**
12729
+ * Unauthorized - Missing or invalid authentication token
12730
+ */
12731
+ 401: ErrorResponse;
12732
+ /**
12733
+ * Forbidden - Authenticated but not authorized for this resource
12734
+ */
12735
+ 403: ErrorResponse;
12736
+ /**
12737
+ * Not Found - Resource does not exist
12738
+ */
12739
+ 404: ErrorResponse;
12740
+ /**
12741
+ * Too Many Requests - Rate limit exceeded
12742
+ */
12743
+ 429: ErrorResponse;
12744
+ /**
12745
+ * Internal Server Error - Unexpected server error
12746
+ */
12747
+ 500: ErrorResponse;
12748
+ /**
12749
+ * General Error
12750
+ */
12751
+ default: Errors;
12752
+ };
12753
+ type PostDocumentsPresignedUploadError = PostDocumentsPresignedUploadErrors[keyof PostDocumentsPresignedUploadErrors];
12754
+ type PostDocumentsPresignedUploadResponses = {
12755
+ /**
12756
+ * Success
12757
+ */
12758
+ 201: {
12759
+ data?: PresignedUrl;
12760
+ included?: Array<unknown>;
12761
+ meta?: {
12762
+ [key: string]: unknown;
12763
+ };
12764
+ };
12765
+ };
12766
+ type PostDocumentsPresignedUploadResponse = PostDocumentsPresignedUploadResponses[keyof PostDocumentsPresignedUploadResponses];
13549
12767
  type GetMessagesSearchData = {
13550
12768
  body?: never;
13551
12769
  headers: {
@@ -16214,175 +15432,36 @@ type PostAiConversationsResponses = {
16214
15432
  */
16215
15433
  201: {
16216
15434
  data?: Conversation;
16217
- included?: Array<unknown>;
16218
- meta?: {
16219
- [key: string]: unknown;
16220
- };
16221
- };
16222
- };
16223
- type PostAiConversationsResponse = PostAiConversationsResponses[keyof PostAiConversationsResponses];
16224
- type PostAiSearchData = {
16225
- /**
16226
- * Request body for the /ai/search operation on search resource
16227
- */
16228
- body: {
16229
- data: {
16230
- attributes?: {
16231
- query: string;
16232
- top_k?: number | unknown;
16233
- };
16234
- relationships?: {
16235
- [key: string]: never;
16236
- };
16237
- type?: "search";
16238
- };
16239
- };
16240
- headers: {
16241
- /**
16242
- * Application ID for authentication and routing
16243
- */
16244
- "x-application-key": string;
16245
- };
16246
- path?: never;
16247
- query?: {
16248
- /**
16249
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16250
- */
16251
- include?: string;
16252
- /**
16253
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
16254
- */
16255
- fields?: {
16256
- /**
16257
- * Comma separated field names for search
16258
- */
16259
- search?: string;
16260
- [key: string]: unknown | string | undefined;
16261
- };
16262
- };
16263
- url: "/ai/search";
16264
- };
16265
- type PostAiSearchErrors = {
16266
- /**
16267
- * Bad Request - Invalid input data or malformed request
16268
- */
16269
- 400: ErrorResponse;
16270
- /**
16271
- * Unauthorized - Missing or invalid authentication token
16272
- */
16273
- 401: ErrorResponse;
16274
- /**
16275
- * Forbidden - Authenticated but not authorized for this resource
16276
- */
16277
- 403: ErrorResponse;
16278
- /**
16279
- * Not Found - Resource does not exist
16280
- */
16281
- 404: ErrorResponse;
16282
- /**
16283
- * Too Many Requests - Rate limit exceeded
16284
- */
16285
- 429: ErrorResponse;
16286
- /**
16287
- * Internal Server Error - Unexpected server error
16288
- */
16289
- 500: ErrorResponse;
16290
- /**
16291
- * General Error
16292
- */
16293
- default: Errors;
16294
- };
16295
- type PostAiSearchError = PostAiSearchErrors[keyof PostAiSearchErrors];
16296
- type PostAiSearchResponses = {
16297
- /**
16298
- * Success
16299
- */
16300
- 201: {
16301
- data?: Search;
16302
- included?: Array<unknown>;
16303
- meta?: {
16304
- [key: string]: unknown;
16305
- };
16306
- };
16307
- };
16308
- type PostAiSearchResponse = PostAiSearchResponses[keyof PostAiSearchResponses];
16309
- type DeleteAiGraphNodesByIdData = {
16310
- body?: never;
16311
- headers: {
16312
- /**
16313
- * Application ID for authentication and routing
16314
- */
16315
- "x-application-key": string;
16316
- };
16317
- path: {
16318
- id: string;
16319
- };
16320
- query?: {
16321
- /**
16322
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16323
- */
16324
- include?: string;
16325
- /**
16326
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
16327
- */
16328
- fields?: {
16329
- /**
16330
- * Comma separated field names for graph_node
16331
- */
16332
- graph_node?: string;
16333
- [key: string]: unknown | string | undefined;
16334
- };
16335
- };
16336
- url: "/ai/graph/nodes/{id}";
16337
- };
16338
- type DeleteAiGraphNodesByIdErrors = {
16339
- /**
16340
- * Bad Request - Invalid input data or malformed request
16341
- */
16342
- 400: ErrorResponse;
16343
- /**
16344
- * Unauthorized - Missing or invalid authentication token
16345
- */
16346
- 401: ErrorResponse;
16347
- /**
16348
- * Forbidden - Authenticated but not authorized for this resource
16349
- */
16350
- 403: ErrorResponse;
16351
- /**
16352
- * Not Found - Resource does not exist
16353
- */
16354
- 404: ErrorResponse;
16355
- /**
16356
- * Too Many Requests - Rate limit exceeded
16357
- */
16358
- 429: ErrorResponse;
16359
- /**
16360
- * Internal Server Error - Unexpected server error
16361
- */
16362
- 500: ErrorResponse;
16363
- /**
16364
- * General Error
16365
- */
16366
- default: Errors;
15435
+ included?: Array<unknown>;
15436
+ meta?: {
15437
+ [key: string]: unknown;
15438
+ };
15439
+ };
16367
15440
  };
16368
- type DeleteAiGraphNodesByIdError = DeleteAiGraphNodesByIdErrors[keyof DeleteAiGraphNodesByIdErrors];
16369
- type DeleteAiGraphNodesByIdResponses = {
15441
+ type PostAiConversationsResponse = PostAiConversationsResponses[keyof PostAiConversationsResponses];
15442
+ type PostAiSearchData = {
16370
15443
  /**
16371
- * Deleted successfully
15444
+ * Request body for the /ai/search operation on search resource
16372
15445
  */
16373
- 200: unknown;
16374
- };
16375
- type GetWebhookEventsByIdData = {
16376
- body?: never;
15446
+ body: {
15447
+ data: {
15448
+ attributes?: {
15449
+ query: string;
15450
+ top_k?: number | unknown;
15451
+ };
15452
+ relationships?: {
15453
+ [key: string]: never;
15454
+ };
15455
+ type?: "search";
15456
+ };
15457
+ };
16377
15458
  headers: {
16378
15459
  /**
16379
15460
  * Application ID for authentication and routing
16380
15461
  */
16381
15462
  "x-application-key": string;
16382
15463
  };
16383
- path: {
16384
- id: string;
16385
- };
15464
+ path?: never;
16386
15465
  query?: {
16387
15466
  /**
16388
15467
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -16393,15 +15472,15 @@ type GetWebhookEventsByIdData = {
16393
15472
  */
16394
15473
  fields?: {
16395
15474
  /**
16396
- * Comma separated field names for webhook_event
15475
+ * Comma separated field names for search
16397
15476
  */
16398
- webhook_event?: string;
15477
+ search?: string;
16399
15478
  [key: string]: unknown | string | undefined;
16400
15479
  };
16401
15480
  };
16402
- url: "/webhook_events/{id}";
15481
+ url: "/ai/search";
16403
15482
  };
16404
- type GetWebhookEventsByIdErrors = {
15483
+ type PostAiSearchErrors = {
16405
15484
  /**
16406
15485
  * Bad Request - Invalid input data or malformed request
16407
15486
  */
@@ -16431,21 +15510,21 @@ type GetWebhookEventsByIdErrors = {
16431
15510
  */
16432
15511
  default: Errors;
16433
15512
  };
16434
- type GetWebhookEventsByIdError = GetWebhookEventsByIdErrors[keyof GetWebhookEventsByIdErrors];
16435
- type GetWebhookEventsByIdResponses = {
15513
+ type PostAiSearchError = PostAiSearchErrors[keyof PostAiSearchErrors];
15514
+ type PostAiSearchResponses = {
16436
15515
  /**
16437
15516
  * Success
16438
15517
  */
16439
- 200: {
16440
- data?: WebhookEvent;
15518
+ 201: {
15519
+ data?: Search;
16441
15520
  included?: Array<unknown>;
16442
15521
  meta?: {
16443
15522
  [key: string]: unknown;
16444
15523
  };
16445
15524
  };
16446
15525
  };
16447
- type GetWebhookEventsByIdResponse = GetWebhookEventsByIdResponses[keyof GetWebhookEventsByIdResponses];
16448
- type GetWebhookEventsData = {
15526
+ type PostAiSearchResponse = PostAiSearchResponses[keyof PostAiSearchResponses];
15527
+ type DeleteAiGraphNodesByIdData = {
16449
15528
  body?: never;
16450
15529
  headers: {
16451
15530
  /**
@@ -16453,16 +15532,10 @@ type GetWebhookEventsData = {
16453
15532
  */
16454
15533
  "x-application-key": string;
16455
15534
  };
16456
- path?: never;
15535
+ path: {
15536
+ id: string;
15537
+ };
16457
15538
  query?: {
16458
- /**
16459
- * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
16460
- */
16461
- filter?: WebhookEventFilter;
16462
- /**
16463
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
16464
- */
16465
- sort?: string;
16466
15539
  /**
16467
15540
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
16468
15541
  */
@@ -16472,15 +15545,15 @@ type GetWebhookEventsData = {
16472
15545
  */
16473
15546
  fields?: {
16474
15547
  /**
16475
- * Comma separated field names for webhook_event
15548
+ * Comma separated field names for graph_node
16476
15549
  */
16477
- webhook_event?: string;
15550
+ graph_node?: string;
16478
15551
  [key: string]: unknown | string | undefined;
16479
15552
  };
16480
15553
  };
16481
- url: "/webhook_events";
15554
+ url: "/ai/graph/nodes/{id}";
16482
15555
  };
16483
- type GetWebhookEventsErrors = {
15556
+ type DeleteAiGraphNodesByIdErrors = {
16484
15557
  /**
16485
15558
  * Bad Request - Invalid input data or malformed request
16486
15559
  */
@@ -16510,23 +15583,13 @@ type GetWebhookEventsErrors = {
16510
15583
  */
16511
15584
  default: Errors;
16512
15585
  };
16513
- type GetWebhookEventsError = GetWebhookEventsErrors[keyof GetWebhookEventsErrors];
16514
- type GetWebhookEventsResponses = {
15586
+ type DeleteAiGraphNodesByIdError = DeleteAiGraphNodesByIdErrors[keyof DeleteAiGraphNodesByIdErrors];
15587
+ type DeleteAiGraphNodesByIdResponses = {
16515
15588
  /**
16516
- * Success
15589
+ * Deleted successfully
16517
15590
  */
16518
- 200: {
16519
- /**
16520
- * An array of resource objects representing a webhook_event
16521
- */
16522
- data?: Array<WebhookEvent>;
16523
- included?: Array<unknown>;
16524
- meta?: {
16525
- [key: string]: unknown;
16526
- };
16527
- };
15591
+ 200: unknown;
16528
15592
  };
16529
- type GetWebhookEventsResponse = GetWebhookEventsResponses[keyof GetWebhookEventsResponses];
16530
15593
  type PatchWalletAddonsByAddonSlugCancelData = {
16531
15594
  /**
16532
15595
  * Request body for the /wallet/addons/:addon_slug/cancel operation on wallet resource
@@ -19365,16 +18428,6 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdData = {
19365
18428
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19366
18429
  */
19367
18430
  sort?: string;
19368
- /**
19369
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
19370
- */
19371
- page?: {
19372
- after?: string;
19373
- before?: string;
19374
- count?: boolean;
19375
- limit?: number;
19376
- offset?: number;
19377
- };
19378
18431
  /**
19379
18432
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19380
18433
  */
@@ -19452,7 +18505,6 @@ type PostExtractionDocumentsBeginUploadData = {
19452
18505
  file_size_bytes?: number | unknown;
19453
18506
  file_type: "pdf" | "docx" | "image" | "zip";
19454
18507
  filename: string;
19455
- folder_id?: string | unknown;
19456
18508
  parent_document_id?: string | unknown;
19457
18509
  workspace_id: string;
19458
18510
  };
@@ -20184,16 +19236,6 @@ type GetExtractionDocumentsData = {
20184
19236
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
20185
19237
  */
20186
19238
  sort?: string;
20187
- /**
20188
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
20189
- */
20190
- page?: {
20191
- after?: string;
20192
- before?: string;
20193
- count?: boolean;
20194
- limit?: number;
20195
- offset?: number;
20196
- };
20197
19239
  /**
20198
19240
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
20199
19241
  */
@@ -21670,90 +20712,6 @@ type PatchUserProfilesByIdResponses = {
21670
20712
  };
21671
20713
  };
21672
20714
  type PatchUserProfilesByIdResponse = PatchUserProfilesByIdResponses[keyof PatchUserProfilesByIdResponses];
21673
- type GetExtractionFoldersWorkspaceByWorkspaceIdData = {
21674
- body?: never;
21675
- headers: {
21676
- /**
21677
- * Application ID for authentication and routing
21678
- */
21679
- "x-application-key": string;
21680
- };
21681
- path: {
21682
- workspace_id: string;
21683
- };
21684
- query?: {
21685
- /**
21686
- * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
21687
- */
21688
- filter?: ExtractionFolderFilter;
21689
- /**
21690
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
21691
- */
21692
- sort?: string;
21693
- /**
21694
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
21695
- */
21696
- include?: string;
21697
- /**
21698
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
21699
- */
21700
- fields?: {
21701
- /**
21702
- * Comma separated field names for extraction_folder
21703
- */
21704
- extraction_folder?: string;
21705
- [key: string]: unknown | string | undefined;
21706
- };
21707
- };
21708
- url: "/extraction/folders/workspace/{workspace_id}";
21709
- };
21710
- type GetExtractionFoldersWorkspaceByWorkspaceIdErrors = {
21711
- /**
21712
- * Bad Request - Invalid input data or malformed request
21713
- */
21714
- 400: ErrorResponse;
21715
- /**
21716
- * Unauthorized - Missing or invalid authentication token
21717
- */
21718
- 401: ErrorResponse;
21719
- /**
21720
- * Forbidden - Authenticated but not authorized for this resource
21721
- */
21722
- 403: ErrorResponse;
21723
- /**
21724
- * Not Found - Resource does not exist
21725
- */
21726
- 404: ErrorResponse;
21727
- /**
21728
- * Too Many Requests - Rate limit exceeded
21729
- */
21730
- 429: ErrorResponse;
21731
- /**
21732
- * Internal Server Error - Unexpected server error
21733
- */
21734
- 500: ErrorResponse;
21735
- /**
21736
- * General Error
21737
- */
21738
- default: Errors;
21739
- };
21740
- type GetExtractionFoldersWorkspaceByWorkspaceIdError = GetExtractionFoldersWorkspaceByWorkspaceIdErrors[keyof GetExtractionFoldersWorkspaceByWorkspaceIdErrors];
21741
- type GetExtractionFoldersWorkspaceByWorkspaceIdResponses = {
21742
- /**
21743
- * Success
21744
- */
21745
- 200: {
21746
- /**
21747
- * An array of resource objects representing a extraction_folder
21748
- */
21749
- data?: Array<ExtractionFolder>;
21750
- included?: Array<unknown>;
21751
- meta?: {
21752
- [key: string]: unknown;
21753
- };
21754
- };
21755
- };
21756
- type GetExtractionFoldersWorkspaceByWorkspaceIdResponse = GetExtractionFoldersWorkspaceByWorkspaceIdResponses[keyof GetExtractionFoldersWorkspaceByWorkspaceIdResponses];
21757
20715
  type DeleteObjectsByIdData = {
21758
20716
  body?: never;
21759
20717
  headers: {
@@ -23427,9 +22385,12 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
23427
22385
  "x-application-key": string;
23428
22386
  };
23429
22387
  path: {
22388
+ /**
22389
+ * The workspace to list exports for
22390
+ */
23430
22391
  workspace_id: string;
23431
22392
  };
23432
- query?: {
22393
+ query: {
23433
22394
  /**
23434
22395
  * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
23435
22396
  */
@@ -23442,8 +22403,6 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
23442
22403
  * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
23443
22404
  */
23444
22405
  page?: {
23445
- after?: string;
23446
- before?: string;
23447
22406
  count?: boolean;
23448
22407
  limit?: number;
23449
22408
  offset?: number;
@@ -23462,6 +22421,10 @@ type GetWorkspacesByWorkspaceIdExtractionExportsData = {
23462
22421
  extraction_export?: string;
23463
22422
  [key: string]: unknown | string | undefined;
23464
22423
  };
22424
+ /**
22425
+ * Export statuses to filter by
22426
+ */
22427
+ status: Array<"pending" | "processing" | "completed" | "failed">;
23465
22428
  };
23466
22429
  url: "/workspaces/{workspace_id}/extraction/exports";
23467
22430
  };
@@ -24494,16 +23457,6 @@ declare const getLlmAnalyticsWorkspace: <ThrowOnError extends boolean = false>(o
24494
23457
  *
24495
23458
  */
24496
23459
  declare const getSearchIndexes: <ThrowOnError extends boolean = false>(options: Options<GetSearchIndexesData, ThrowOnError>) => RequestResult<GetSearchIndexesResponses, GetSearchIndexesErrors, ThrowOnError, "fields">;
24497
- /**
24498
- * Get folder
24499
- *
24500
- * Retrieves a single resource by ID.
24501
- *
24502
- * **Authentication:** Required - Bearer token or API key
24503
- * **Rate Limit:** 100 requests per minute
24504
- *
24505
- */
24506
- declare const getExtractionDocumentsFolderByFolderId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsFolderByFolderIdData, ThrowOnError>) => RequestResult<GetExtractionDocumentsFolderByFolderIdResponses, GetExtractionDocumentsFolderByFolderIdErrors, ThrowOnError, "fields">;
24507
23460
  /**
24508
23461
  * Get slug
24509
23462
  *
@@ -24800,26 +23753,6 @@ declare const patchWebhookConfigsById: <ThrowOnError extends boolean = false>(op
24800
23753
  * Accept an invitation using only the token
24801
23754
  */
24802
23755
  declare const postInvitationsAcceptByToken: <ThrowOnError extends boolean = false>(options: Options<PostInvitationsAcceptByTokenData, ThrowOnError>) => RequestResult<PostInvitationsAcceptByTokenResponses, PostInvitationsAcceptByTokenErrors, ThrowOnError, "fields">;
24803
- /**
24804
- * List folders
24805
- *
24806
- * Lists resources with optional filtering, sorting, and pagination.
24807
- *
24808
- * **Authentication:** Required - Bearer token or API key
24809
- * **Rate Limit:** 100 requests per minute
24810
- *
24811
- */
24812
- declare const getExtractionFolders: <ThrowOnError extends boolean = false>(options: Options<GetExtractionFoldersData, ThrowOnError>) => RequestResult<GetExtractionFoldersResponses, GetExtractionFoldersErrors, ThrowOnError, "fields">;
24813
- /**
24814
- * Create folders
24815
- *
24816
- * Creates a new resource. Returns the created resource with generated ID.
24817
- *
24818
- * **Authentication:** Required - Bearer token or API key
24819
- * **Rate Limit:** 100 requests per minute
24820
- *
24821
- */
24822
- declare const postExtractionFolders: <ThrowOnError extends boolean = false>(options: Options<PostExtractionFoldersData, ThrowOnError>) => RequestResult<PostExtractionFoldersResponses, PostExtractionFoldersErrors, ThrowOnError, "fields">;
24823
23756
  /**
24824
23757
  * Get upload urls
24825
23758
  *
@@ -25046,36 +23979,6 @@ declare const getWebhookDeliveries: <ThrowOnError extends boolean = false>(optio
25046
23979
  *
25047
23980
  */
25048
23981
  declare const getSearch: <ThrowOnError extends boolean = false>(options: Options<GetSearchData, ThrowOnError>) => RequestResult<GetSearchResponses, GetSearchErrors, ThrowOnError, "fields">;
25049
- /**
25050
- * Delete folders
25051
- *
25052
- * Deletes a resource permanently. This action cannot be undone.
25053
- *
25054
- * **Authentication:** Required - Bearer token or API key
25055
- * **Rate Limit:** 100 requests per minute
25056
- *
25057
- */
25058
- declare const deleteExtractionFoldersById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionFoldersByIdData, ThrowOnError>) => RequestResult<DeleteExtractionFoldersByIdResponses, DeleteExtractionFoldersByIdErrors, ThrowOnError, "fields">;
25059
- /**
25060
- * Get folders
25061
- *
25062
- * Retrieves a single resource by ID.
25063
- *
25064
- * **Authentication:** Required - Bearer token or API key
25065
- * **Rate Limit:** 100 requests per minute
25066
- *
25067
- */
25068
- declare const getExtractionFoldersById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionFoldersByIdData, ThrowOnError>) => RequestResult<GetExtractionFoldersByIdResponses, GetExtractionFoldersByIdErrors, ThrowOnError, "fields">;
25069
- /**
25070
- * Update folders
25071
- *
25072
- * Updates specific fields of an existing resource.
25073
- *
25074
- * **Authentication:** Required - Bearer token or API key
25075
- * **Rate Limit:** 100 requests per minute
25076
- *
25077
- */
25078
- declare const patchExtractionFoldersById: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionFoldersByIdData, ThrowOnError>) => RequestResult<PatchExtractionFoldersByIdResponses, PatchExtractionFoldersByIdErrors, ThrowOnError, "fields">;
25079
23982
  /**
25080
23983
  * List invitations
25081
23984
  *
@@ -25218,6 +24121,16 @@ declare const postLlmAnalytics: <ThrowOnError extends boolean = false>(options:
25218
24121
  * Admin triggers password reset email for user
25219
24122
  */
25220
24123
  declare const patchUsersByIdResetPassword: <ThrowOnError extends boolean = false>(options: Options<PatchUsersByIdResetPasswordData, ThrowOnError>) => RequestResult<PatchUsersByIdResetPasswordResponses, PatchUsersByIdResetPasswordErrors, ThrowOnError, "fields">;
24124
+ /**
24125
+ * Create presigned upload
24126
+ *
24127
+ * Creates a new resource. Returns the created resource with generated ID.
24128
+ *
24129
+ * **Authentication:** Required - Bearer token or API key
24130
+ * **Rate Limit:** 100 requests per minute
24131
+ *
24132
+ */
24133
+ declare const postDocumentsPresignedUpload: <ThrowOnError extends boolean = false>(options: Options<PostDocumentsPresignedUploadData, ThrowOnError>) => RequestResult<PostDocumentsPresignedUploadResponses, PostDocumentsPresignedUploadErrors, ThrowOnError, "fields">;
25221
24134
  /**
25222
24135
  * List search
25223
24136
  *
@@ -25554,26 +24467,6 @@ declare const postAiSearch: <ThrowOnError extends boolean = false>(options: Opti
25554
24467
  *
25555
24468
  */
25556
24469
  declare const deleteAiGraphNodesById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiGraphNodesByIdData, ThrowOnError>) => RequestResult<DeleteAiGraphNodesByIdResponses, DeleteAiGraphNodesByIdErrors, ThrowOnError, "fields">;
25557
- /**
25558
- * Get webhook events
25559
- *
25560
- * Retrieves a single resource by ID.
25561
- *
25562
- * **Authentication:** Required - Bearer token or API key
25563
- * **Rate Limit:** 100 requests per minute
25564
- *
25565
- */
25566
- declare const getWebhookEventsById: <ThrowOnError extends boolean = false>(options: Options<GetWebhookEventsByIdData, ThrowOnError>) => RequestResult<GetWebhookEventsByIdResponses, GetWebhookEventsByIdErrors, ThrowOnError, "fields">;
25567
- /**
25568
- * List webhook events
25569
- *
25570
- * Lists resources with optional filtering, sorting, and pagination.
25571
- *
25572
- * **Authentication:** Required - Bearer token or API key
25573
- * **Rate Limit:** 100 requests per minute
25574
- *
25575
- */
25576
- declare const getWebhookEvents: <ThrowOnError extends boolean = false>(options: Options<GetWebhookEventsData, ThrowOnError>) => RequestResult<GetWebhookEventsResponses, GetWebhookEventsErrors, ThrowOnError, "fields">;
25577
24470
  /**
25578
24471
  * Update cancel
25579
24472
  *
@@ -26158,16 +25051,6 @@ declare const getUserProfilesById: <ThrowOnError extends boolean = false>(option
26158
25051
  *
26159
25052
  */
26160
25053
  declare const patchUserProfilesById: <ThrowOnError extends boolean = false>(options: Options<PatchUserProfilesByIdData, ThrowOnError>) => RequestResult<PatchUserProfilesByIdResponses, PatchUserProfilesByIdErrors, ThrowOnError, "fields">;
26161
- /**
26162
- * Get workspace
26163
- *
26164
- * Retrieves a single resource by ID.
26165
- *
26166
- * **Authentication:** Required - Bearer token or API key
26167
- * **Rate Limit:** 100 requests per minute
26168
- *
26169
- */
26170
- declare const getExtractionFoldersWorkspaceByWorkspaceId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionFoldersWorkspaceByWorkspaceIdData, ThrowOnError>) => RequestResult<GetExtractionFoldersWorkspaceByWorkspaceIdResponses, GetExtractionFoldersWorkspaceByWorkspaceIdErrors, ThrowOnError, "fields">;
26171
25054
  /**
26172
25055
  * Delete objects
26173
25056
  *
@@ -26373,11 +25256,7 @@ declare const getExtractionBatchesById: <ThrowOnError extends boolean = false>(o
26373
25256
  /**
26374
25257
  * Get exports
26375
25258
  *
26376
- * Retrieves a single resource by ID.
26377
- *
26378
- * **Authentication:** Required - Bearer token or API key
26379
- * **Rate Limit:** 100 requests per minute
26380
- *
25259
+ * List exports for a workspace, filtered by status
26381
25260
  */
26382
25261
  declare const getWorkspacesByWorkspaceIdExtractionExports: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsResponses, GetWorkspacesByWorkspaceIdExtractionExportsErrors, ThrowOnError, "fields">;
26383
25262
  /**
@@ -26821,4 +25700,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
26821
25700
  */
26822
25701
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
26823
25702
 
26824
- export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterIsSystem, type AgentFilterName, type AgentFilterSlug, type AgentFilterVersion, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, 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 DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionFoldersByIdData, type DeleteExtractionFoldersByIdError, type DeleteExtractionFoldersByIdErrors, type DeleteExtractionFoldersByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, 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 DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, 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 DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionBatchFilter, type ExtractionBatchFilterId, type ExtractionBatchFilterName, type ExtractionBatchFilterStatus, type ExtractionBatchFilterUserLabel, type ExtractionDocument, type ExtractionDocumentFilter, type ExtractionDocumentFilterBilledCredits, type ExtractionDocumentFilterClassification, type ExtractionDocumentFilterClassificationConfidence, type ExtractionDocumentFilterContent, type ExtractionDocumentFilterDeletedAt, type ExtractionDocumentFilterDocumentType, type ExtractionDocumentFilterDomain, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterFolderId, type ExtractionDocumentFilterId, type ExtractionDocumentFilterMunicipality, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterPresignedViewUrl, type ExtractionDocumentFilterProcessedAt, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterState, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionDocumentFilterUploadUrl, type ExtractionDocumentFilterUploadedAt, type ExtractionExport, type ExtractionExportFilter, type ExtractionExportFilterConfig, type ExtractionExportFilterErrorMessage, type ExtractionExportFilterExpiresAt, type ExtractionExportFilterFileSizeBytes, type ExtractionExportFilterFileUrl, type ExtractionExportFilterFormat, type ExtractionExportFilterId, type ExtractionExportFilterStatus, type ExtractionExportFilterWorkspaceId, type ExtractionFolder, type ExtractionFolderFilter, type ExtractionFolderFilterId, type ExtractionFolderFilterName, type ExtractionResult, type ExtractionResultFilter, type ExtractionResultFilterCreditsUsed, type ExtractionResultFilterExtractedFields, type ExtractionResultFilterExtractionMode, type ExtractionResultFilterId, type ExtractionResultFilterProcessingTimeMs, type ExtractionResultFilterStatus, type ExtractionResultFilterSummary, type ExtractionSchema, type ExtractionSchemaField, type ExtractionSchemaFieldFilter, type ExtractionSchemaFieldFilterExtractionHint, type ExtractionSchemaFieldFilterGroup, type ExtractionSchemaFieldFilterId, type ExtractionSchemaFieldFilterLabel, type ExtractionSchemaFieldFilterName, type ExtractionSchemaFieldFilterOrder, type ExtractionSchemaFieldFilterRequired, type ExtractionSchemaFieldFilterType, type ExtractionSchemaFilter, type ExtractionSchemaFilterId, type ExtractionSchemaFilterIsActive, type ExtractionSchemaFilterVersion, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, 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 GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, 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 GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsFolderByFolderIdData, type GetExtractionDocumentsFolderByFolderIdError, type GetExtractionDocumentsFolderByFolderIdErrors, type GetExtractionDocumentsFolderByFolderIdResponse, type GetExtractionDocumentsFolderByFolderIdResponses, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionFoldersByIdData, type GetExtractionFoldersByIdError, type GetExtractionFoldersByIdErrors, type GetExtractionFoldersByIdResponse, type GetExtractionFoldersByIdResponses, type GetExtractionFoldersData, type GetExtractionFoldersError, type GetExtractionFoldersErrors, type GetExtractionFoldersResponse, type GetExtractionFoldersResponses, type GetExtractionFoldersWorkspaceByWorkspaceIdData, type GetExtractionFoldersWorkspaceByWorkspaceIdError, type GetExtractionFoldersWorkspaceByWorkspaceIdErrors, type GetExtractionFoldersWorkspaceByWorkspaceIdResponse, type GetExtractionFoldersWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, 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 GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, 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 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 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 GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, 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 GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, 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 GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookEventsByIdData, type GetWebhookEventsByIdError, type GetWebhookEventsByIdErrors, type GetWebhookEventsByIdResponse, type GetWebhookEventsByIdResponses, type GetWebhookEventsData, type GetWebhookEventsError, type GetWebhookEventsErrors, type GetWebhookEventsResponse, type GetWebhookEventsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type IsvRevenue, type IsvRevenueFilter, type IsvRevenueFilterId, type IsvSettlement, type IsvSettlementFilter, type IsvSettlementFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, 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 PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, 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 PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionFoldersByIdData, type PatchExtractionFoldersByIdError, type PatchExtractionFoldersByIdErrors, type PatchExtractionFoldersByIdResponse, type PatchExtractionFoldersByIdResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, 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 PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, 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 Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, 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 PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, 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 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 PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsByIdViewData, type PostExtractionDocumentsByIdViewError, type PostExtractionDocumentsByIdViewErrors, type PostExtractionDocumentsByIdViewResponse, type PostExtractionDocumentsByIdViewResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionFoldersData, type PostExtractionFoldersError, type PostExtractionFoldersErrors, type PostExtractionFoldersResponse, type PostExtractionFoldersResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, 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 PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, 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 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 PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, 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 PresignedUrlFilter, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type TrainingExampleFilterSimilarity, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterEnabled, type WebhookConfigFilterId, type WebhookConfigFilterName, type WebhookConfigFilterSecret, type WebhookConfigFilterUrl, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterAttemptCount, type WebhookDeliveryFilterEventType, type WebhookDeliveryFilterId, type WebhookDeliveryFilterNextRetryAt, type WebhookDeliveryFilterPayload, type WebhookDeliveryFilterRequestHeaders, type WebhookDeliveryFilterResponseBody, type WebhookDeliveryFilterResponseStatus, type WebhookDeliveryFilterStatus, type WebhookDeliveryFilterUrl, type WebhookDeliveryFilterWebhookConfigId, type WebhookEvent, type WebhookEventFilter, type WebhookEventFilterCategory, type WebhookEventFilterDescription, type WebhookEventFilterEventType, type WebhookEventFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterTenantId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionFoldersById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsFolderByFolderId, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionFolders, getExtractionFoldersById, getExtractionFoldersWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookEvents, getWebhookEventsById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdStatus, patchExtractionFoldersById, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsByIdView, postExtractionDocumentsUpload, postExtractionFolders, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
25703
+ export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterIsSystem, type AgentFilterName, type AgentFilterSlug, type AgentFilterVersion, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, 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 DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, 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 DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, 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 DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionBatchFilter, type ExtractionBatchFilterId, type ExtractionBatchFilterName, type ExtractionBatchFilterStatus, type ExtractionBatchFilterUserLabel, type ExtractionDocument, type ExtractionDocumentFilter, type ExtractionDocumentFilterAvgConfidence, type ExtractionDocumentFilterBilledCredits, type ExtractionDocumentFilterClassification, type ExtractionDocumentFilterClassificationConfidence, type ExtractionDocumentFilterCompletedAt, type ExtractionDocumentFilterContent, type ExtractionDocumentFilterDeletedAt, type ExtractionDocumentFilterDocumentType, type ExtractionDocumentFilterDomain, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterId, type ExtractionDocumentFilterMunicipality, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterPresignedViewUrl, type ExtractionDocumentFilterProcessedAt, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterState, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionDocumentFilterUploadUrl, type ExtractionDocumentFilterUploadedAt, type ExtractionExport, type ExtractionExportFilter, type ExtractionExportFilterConfig, type ExtractionExportFilterErrorMessage, type ExtractionExportFilterExpiresAt, type ExtractionExportFilterFileSizeBytes, type ExtractionExportFilterFileUrl, type ExtractionExportFilterFormat, type ExtractionExportFilterId, type ExtractionExportFilterStatus, type ExtractionExportFilterWorkspaceId, type ExtractionResult, type ExtractionResultFilter, type ExtractionResultFilterCreditsUsed, type ExtractionResultFilterExtractedFields, type ExtractionResultFilterExtractionMode, type ExtractionResultFilterId, type ExtractionResultFilterProcessingTimeMs, type ExtractionResultFilterStatus, type ExtractionResultFilterSummary, type ExtractionSchema, type ExtractionSchemaField, type ExtractionSchemaFieldFilter, type ExtractionSchemaFieldFilterExtractionHint, type ExtractionSchemaFieldFilterGroup, type ExtractionSchemaFieldFilterId, type ExtractionSchemaFieldFilterLabel, type ExtractionSchemaFieldFilterName, type ExtractionSchemaFieldFilterOrder, type ExtractionSchemaFieldFilterRequired, type ExtractionSchemaFieldFilterType, type ExtractionSchemaFilter, type ExtractionSchemaFilterId, type ExtractionSchemaFilterIsActive, type ExtractionSchemaFilterVersion, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, 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 GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, 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 GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, 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 GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, 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 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 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 GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, 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 GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, 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 GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type IsvRevenue, type IsvRevenueFilter, type IsvRevenueFilterId, type IsvSettlement, type IsvSettlementFilter, type IsvSettlementFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, 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 PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, 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 PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, 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 PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, 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 Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, 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 PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, 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 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 PostExtractionDocumentsByIdViewData, type PostExtractionDocumentsByIdViewError, type PostExtractionDocumentsByIdViewErrors, type PostExtractionDocumentsByIdViewResponse, type PostExtractionDocumentsByIdViewResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, 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 PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, 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 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 PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, 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 PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type TrainingExampleFilterSimilarity, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterTenantId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsByIdView, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };