@gpt-core/client 0.4.7 → 0.4.9

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,32 +31,31 @@ 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
+ };
34
52
  scheduling?: {
35
53
  enabled?: boolean | unknown;
36
54
  interval_minutes?: number | unknown;
37
55
  } | 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
- };
56
+ storage?: {
57
+ retention_policy?: "never" | "one_day" | "seven_days" | "fourteen_days" | "thirty_days" | "always" | unknown;
58
+ } | unknown;
60
59
  };
61
60
  /**
62
61
  * Filters the query to results matching the given filter object
@@ -171,6 +170,16 @@ type PlanFilterMonthlyPrice = {
171
170
  currency: string;
172
171
  };
173
172
  };
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
+ };
174
183
  type WorkspaceFilterExpiresAt = {
175
184
  eq?: string;
176
185
  greater_than?: string;
@@ -242,7 +251,26 @@ type WebhookConfig = {
242
251
  * An attributes object for a webhook_config
243
252
  */
244
253
  attributes?: {
245
- [key: string]: never;
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;
246
274
  };
247
275
  id: string;
248
276
  /**
@@ -571,6 +599,19 @@ type ExtractionDocumentFilterBilledCredits = {
571
599
  less_than_or_equal?: number;
572
600
  not_eq?: number;
573
601
  };
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
+ };
574
615
  type ExtractionSchemaFieldFilterRequired = {
575
616
  eq?: boolean;
576
617
  greater_than?: boolean;
@@ -751,6 +792,19 @@ type ApplicationFilterSlug = {
751
792
  like?: string;
752
793
  not_eq?: string;
753
794
  };
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
+ };
754
808
  type ExtractionDocumentFilterPages = {
755
809
  eq?: number;
756
810
  greater_than?: number;
@@ -971,17 +1025,6 @@ type Customer = {
971
1025
  };
972
1026
  type: string;
973
1027
  };
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
- };
985
1028
  type SavedSearchFilterName = {
986
1029
  contains?: string;
987
1030
  eq?: string;
@@ -1284,10 +1327,36 @@ type SavedSearchFilterId = {
1284
1327
  less_than_or_equal?: string;
1285
1328
  not_eq?: string;
1286
1329
  };
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
+ };
1287
1343
  /**
1288
1344
  * Filters the query to results matching the given filter object
1289
1345
  */
1290
1346
  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
+ };
1291
1360
  type LedgerFilterId = {
1292
1361
  eq?: string;
1293
1362
  greater_than?: string;
@@ -1298,6 +1367,16 @@ type LedgerFilterId = {
1298
1367
  less_than_or_equal?: string;
1299
1368
  not_eq?: string;
1300
1369
  };
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
+ };
1301
1380
  type ConfigFilterKey = {
1302
1381
  contains?: string;
1303
1382
  eq?: string;
@@ -2017,16 +2096,6 @@ type PricingStrategyFilter = unknown;
2017
2096
  * Filters the query to results matching the given filter object
2018
2097
  */
2019
2098
  type UserProfileFilter = unknown;
2020
- type PresignedUrlFilterExpiresIn = {
2021
- eq?: number;
2022
- greater_than?: number;
2023
- greater_than_or_equal?: number;
2024
- in?: Array<number>;
2025
- is_nil?: boolean;
2026
- less_than?: number;
2027
- less_than_or_equal?: number;
2028
- not_eq?: number;
2029
- };
2030
2099
  type CreditPackageFilterPrice = {
2031
2100
  eq?: {
2032
2101
  amount: string;
@@ -2181,32 +2250,31 @@ type WorkspaceSettingsInputUpdateType = {
2181
2250
  overdraft_limit?: number | unknown;
2182
2251
  overdraft_period?: "daily" | "weekly" | "monthly" | unknown;
2183
2252
  } | 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
+ };
2184
2271
  scheduling?: {
2185
2272
  enabled?: boolean | unknown;
2186
2273
  interval_minutes?: number | unknown;
2187
2274
  } | unknown;
2188
- storage?: unknown | {
2189
- errors?: {
2190
- bucket_id?: string | unknown;
2191
- destination?: "local" | "storage" | unknown;
2192
- local_path?: string | unknown;
2193
- } | unknown;
2194
- input?: {
2195
- bucket_id?: string | unknown;
2196
- local_path?: string | unknown;
2197
- source?: "local" | "storage" | unknown;
2198
- } | unknown;
2199
- output?: {
2200
- bucket_id?: string | unknown;
2201
- destination?: "local" | "storage" | unknown;
2202
- local_path?: string | unknown;
2203
- retention_minutes?: number | unknown;
2204
- } | unknown;
2205
- } | {
2206
- errors?: unknown;
2207
- input?: unknown;
2208
- output?: unknown;
2209
- };
2275
+ storage?: {
2276
+ retention_policy?: "never" | "one_day" | "seven_days" | "fourteen_days" | "thirty_days" | "always" | unknown;
2277
+ } | unknown;
2210
2278
  };
2211
2279
  type TransactionFilterErrorMessage = {
2212
2280
  contains?: string;
@@ -2265,16 +2333,15 @@ type PresignedUrlFilterId = {
2265
2333
  less_than_or_equal?: string;
2266
2334
  not_eq?: string;
2267
2335
  };
2268
- type PresignedUrlFilterUploadUrl = {
2269
- contains?: string;
2270
- eq?: string;
2271
- greater_than?: string;
2272
- greater_than_or_equal?: string;
2273
- in?: Array<string>;
2336
+ type WebhookDeliveryFilterAttemptCount = {
2337
+ eq?: number;
2338
+ greater_than?: number;
2339
+ greater_than_or_equal?: number;
2340
+ in?: Array<number>;
2274
2341
  is_nil?: boolean;
2275
- less_than?: string;
2276
- less_than_or_equal?: string;
2277
- not_eq?: string;
2342
+ less_than?: number;
2343
+ less_than_or_equal?: number;
2344
+ not_eq?: number;
2278
2345
  };
2279
2346
  /**
2280
2347
  * A link MUST be represented as either: a string containing the link's URL or a link object.
@@ -2604,6 +2671,10 @@ type EmbeddingFilterId = {
2604
2671
  less_than_or_equal?: string;
2605
2672
  not_eq?: string;
2606
2673
  };
2674
+ /**
2675
+ * Filters the query to results matching the given filter object
2676
+ */
2677
+ type ExtractionFolderFilter = unknown;
2607
2678
  type WalletFilterId = {
2608
2679
  eq?: string;
2609
2680
  greater_than?: string;
@@ -2698,6 +2769,16 @@ type PlanFilterId = {
2698
2769
  less_than_or_equal?: string;
2699
2770
  not_eq?: string;
2700
2771
  };
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
+ };
2701
2782
  /**
2702
2783
  * Filters the query to results matching the given filter object
2703
2784
  */
@@ -2788,6 +2869,28 @@ type TransactionFilterAmount = {
2788
2869
  less_than_or_equal?: number;
2789
2870
  not_eq?: number;
2790
2871
  };
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
+ };
2791
2894
  type ApiKeyFilterTenantId = {
2792
2895
  eq?: string;
2793
2896
  greater_than?: string;
@@ -3027,7 +3130,50 @@ type WebhookDelivery = {
3027
3130
  * An attributes object for a webhook_delivery
3028
3131
  */
3029
3132
  attributes?: {
3030
- [key: string]: never;
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;
3031
3177
  };
3032
3178
  id: string;
3033
3179
  /**
@@ -3038,6 +3184,16 @@ type WebhookDelivery = {
3038
3184
  };
3039
3185
  type: string;
3040
3186
  };
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
+ };
3041
3197
  /**
3042
3198
  * A "Resource object" representing a embedding
3043
3199
  */
@@ -3340,6 +3496,40 @@ type CreditPackageFilterUpdatedAt = {
3340
3496
  less_than_or_equal?: unknown;
3341
3497
  not_eq?: unknown;
3342
3498
  };
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
+ };
3343
3533
  type TokenFilterId = {
3344
3534
  eq?: string;
3345
3535
  greater_than?: string;
@@ -3381,26 +3571,7 @@ type PresignedUrlFilterMethod = {
3381
3571
  less_than_or_equal?: string;
3382
3572
  not_eq?: string;
3383
3573
  };
3384
- /**
3385
- * A "Resource object" representing a pricing_rule
3386
- */
3387
- type PricingRule = {
3388
- /**
3389
- * An attributes object for a pricing_rule
3390
- */
3391
- attributes?: {
3392
- [key: string]: never;
3393
- };
3394
- id: string;
3395
- /**
3396
- * A relationships object for a pricing_rule
3397
- */
3398
- relationships?: {
3399
- [key: string]: never;
3400
- };
3401
- type: string;
3402
- };
3403
- type GraphNodeFilterProperties = {
3574
+ type WebhookDeliveryFilterPayload = {
3404
3575
  eq?: {
3405
3576
  [key: string]: unknown;
3406
3577
  };
@@ -3425,7 +3596,50 @@ type GraphNodeFilterProperties = {
3425
3596
  };
3426
3597
  };
3427
3598
  /**
3428
- * A "Resource object" representing a tenant-membership
3599
+ * A "Resource object" representing a pricing_rule
3600
+ */
3601
+ type PricingRule = {
3602
+ /**
3603
+ * An attributes object for a pricing_rule
3604
+ */
3605
+ attributes?: {
3606
+ [key: string]: never;
3607
+ };
3608
+ id: string;
3609
+ /**
3610
+ * A relationships object for a pricing_rule
3611
+ */
3612
+ relationships?: {
3613
+ [key: string]: never;
3614
+ };
3615
+ type: string;
3616
+ };
3617
+ type GraphNodeFilterProperties = {
3618
+ eq?: {
3619
+ [key: string]: unknown;
3620
+ };
3621
+ greater_than?: {
3622
+ [key: string]: unknown;
3623
+ };
3624
+ greater_than_or_equal?: {
3625
+ [key: string]: unknown;
3626
+ };
3627
+ in?: Array<{
3628
+ [key: string]: unknown;
3629
+ }>;
3630
+ is_nil?: boolean;
3631
+ less_than?: {
3632
+ [key: string]: unknown;
3633
+ };
3634
+ less_than_or_equal?: {
3635
+ [key: string]: unknown;
3636
+ };
3637
+ not_eq?: {
3638
+ [key: string]: unknown;
3639
+ };
3640
+ };
3641
+ /**
3642
+ * A "Resource object" representing a tenant-membership
3429
3643
  */
3430
3644
  type TenantMembership = {
3431
3645
  /**
@@ -3519,6 +3733,19 @@ type ExtractionDocumentFilterMunicipality = {
3519
3733
  like?: string;
3520
3734
  not_eq?: string;
3521
3735
  };
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
+ };
3522
3749
  type ExtractionResultFilterExtractedFields = {
3523
3750
  eq?: {
3524
3751
  [key: string]: unknown;
@@ -3543,6 +3770,19 @@ type ExtractionResultFilterExtractedFields = {
3543
3770
  [key: string]: unknown;
3544
3771
  };
3545
3772
  };
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
+ };
3546
3786
  type ConfigFilterDescription = {
3547
3787
  contains?: string;
3548
3788
  eq?: string;
@@ -4170,15 +4410,17 @@ type PresignedUrl = {
4170
4410
  /**
4171
4411
  * Field included by default.
4172
4412
  */
4173
- expires_in: number;
4413
+ headers?: {
4414
+ [key: string]: unknown;
4415
+ } | null | unknown;
4174
4416
  /**
4175
4417
  * Field included by default.
4176
4418
  */
4177
- storage_path: string;
4419
+ method: string;
4178
4420
  /**
4179
4421
  * Field included by default.
4180
4422
  */
4181
- upload_url: string;
4423
+ url: string;
4182
4424
  };
4183
4425
  id: string;
4184
4426
  /**
@@ -5183,6 +5425,16 @@ type ExtractionDocumentFilterProcessedAt = {
5183
5425
  less_than_or_equal?: unknown;
5184
5426
  not_eq?: unknown;
5185
5427
  };
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
+ };
5186
5438
  type ObjectFilterKey = {
5187
5439
  contains?: string;
5188
5440
  eq?: string;
@@ -5301,76 +5553,120 @@ type Workspace = {
5301
5553
  /**
5302
5554
  * Field included by default.
5303
5555
  */
5304
- scheduling: {
5305
- /**
5306
- * Field included by default.
5307
- */
5308
- enabled: boolean;
5309
- /**
5310
- * Field included by default.
5311
- */
5312
- interval_minutes: number;
5313
- };
5314
- /**
5315
- * Field included by default.
5316
- */
5317
- storage: {
5556
+ extraction: {
5318
5557
  /**
5319
5558
  * Field included by default.
5320
5559
  */
5321
- errors: {
5560
+ cloud: {
5322
5561
  /**
5323
5562
  * Field included by default.
5324
5563
  */
5325
- bucket_id?: string | null | unknown;
5564
+ bucket?: string | null | unknown;
5326
5565
  /**
5327
5566
  * Field included by default.
5328
5567
  */
5329
- destination: "local" | "storage";
5568
+ daily_at?: string | null | unknown;
5330
5569
  /**
5331
5570
  * Field included by default.
5332
5571
  */
5333
- local_path?: string | null | unknown;
5334
- };
5335
- /**
5336
- * Field included by default.
5337
- */
5338
- input: {
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;
5339
5581
  /**
5340
5582
  * Field included by default.
5341
5583
  */
5342
- bucket_id?: string | null | unknown;
5584
+ mode: "immediate" | "scheduled";
5343
5585
  /**
5344
5586
  * Field included by default.
5345
5587
  */
5346
- local_path?: string | null | unknown;
5588
+ processed_path?: string | null | unknown;
5347
5589
  /**
5348
5590
  * Field included by default.
5349
5591
  */
5350
- source: "local" | "storage";
5592
+ schedule_type?: "interval" | "daily" | unknown;
5593
+ /**
5594
+ * Field included by default.
5595
+ */
5596
+ source_path?: string | null | unknown;
5597
+ /**
5598
+ * Field included by default.
5599
+ */
5600
+ timezone: string;
5351
5601
  };
5352
5602
  /**
5353
5603
  * Field included by default.
5354
5604
  */
5355
- output: {
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;
5618
+ /**
5619
+ * Field included by default.
5620
+ */
5621
+ exports_path?: string | null | unknown;
5622
+ /**
5623
+ * Field included by default.
5624
+ */
5625
+ interval_minutes?: number | null | unknown;
5626
+ /**
5627
+ * Field included by default.
5628
+ */
5629
+ mode: "immediate" | "scheduled";
5356
5630
  /**
5357
5631
  * Field included by default.
5358
5632
  */
5359
- bucket_id?: string | null | unknown;
5633
+ processed_path?: string | null | unknown;
5360
5634
  /**
5361
5635
  * Field included by default.
5362
5636
  */
5363
- destination: "local" | "storage";
5637
+ schedule_type?: "interval" | "daily" | unknown;
5364
5638
  /**
5365
5639
  * Field included by default.
5366
5640
  */
5367
- local_path?: string | null | unknown;
5641
+ source_path?: string | null | unknown;
5368
5642
  /**
5369
5643
  * Field included by default.
5370
5644
  */
5371
- retention_minutes?: number | null | unknown;
5645
+ timezone: string;
5372
5646
  };
5373
5647
  };
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
+ };
5374
5670
  };
5375
5671
  /**
5376
5672
  * Field included by default.
@@ -5419,6 +5715,19 @@ type ExtractionSchemaFieldFilterType = {
5419
5715
  less_than_or_equal?: "text" | "date" | "currency" | "number" | "boolean";
5420
5716
  not_eq?: "text" | "date" | "currency" | "number" | "boolean";
5421
5717
  };
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
+ };
5422
5731
  /**
5423
5732
  * A "Resource object" representing a invitation
5424
5733
  */
@@ -5533,6 +5842,16 @@ type UserProfileFilterId = {
5533
5842
  less_than_or_equal?: string;
5534
5843
  not_eq?: string;
5535
5844
  };
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
+ };
5536
5855
  type DocumentStatsFilterCompleted = {
5537
5856
  eq?: number;
5538
5857
  greater_than?: number;
@@ -5612,6 +5931,10 @@ type ExtractionDocument = {
5612
5931
  * Field included by default.
5613
5932
  */
5614
5933
  filename: string;
5934
+ /**
5935
+ * Field included by default.
5936
+ */
5937
+ folder_id?: string | null | unknown;
5615
5938
  /**
5616
5939
  * Municipality/agency name extracted from document content. Field included by default.
5617
5940
  */
@@ -5661,6 +5984,18 @@ type ExtractionDocument = {
5661
5984
  type: string;
5662
5985
  } | null;
5663
5986
  };
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
+ };
5664
5999
  };
5665
6000
  type: string;
5666
6001
  };
@@ -6789,7 +7124,7 @@ type GetSearchIndexesResponses = {
6789
7124
  };
6790
7125
  };
6791
7126
  type GetSearchIndexesResponse = GetSearchIndexesResponses[keyof GetSearchIndexesResponses];
6792
- type GetCreditPackagesSlugBySlugData = {
7127
+ type GetExtractionDocumentsFolderByFolderIdData = {
6793
7128
  body?: never;
6794
7129
  headers: {
6795
7130
  /**
@@ -6798,9 +7133,27 @@ type GetCreditPackagesSlugBySlugData = {
6798
7133
  "x-application-key": string;
6799
7134
  };
6800
7135
  path: {
6801
- slug: string;
7136
+ folder_id: string;
6802
7137
  };
6803
7138
  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
+ };
6804
7157
  /**
6805
7158
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6806
7159
  */
@@ -6810,15 +7163,15 @@ type GetCreditPackagesSlugBySlugData = {
6810
7163
  */
6811
7164
  fields?: {
6812
7165
  /**
6813
- * Comma separated field names for credit_package
7166
+ * Comma separated field names for extraction_document
6814
7167
  */
6815
- credit_package?: string;
7168
+ extraction_document?: string;
6816
7169
  [key: string]: unknown | string | undefined;
6817
7170
  };
6818
7171
  };
6819
- url: "/credit-packages/slug/{slug}";
7172
+ url: "/extraction/documents/folder/{folder_id}";
6820
7173
  };
6821
- type GetCreditPackagesSlugBySlugErrors = {
7174
+ type GetExtractionDocumentsFolderByFolderIdErrors = {
6822
7175
  /**
6823
7176
  * Bad Request - Invalid input data or malformed request
6824
7177
  */
@@ -6848,44 +7201,34 @@ type GetCreditPackagesSlugBySlugErrors = {
6848
7201
  */
6849
7202
  default: Errors;
6850
7203
  };
6851
- type GetCreditPackagesSlugBySlugError = GetCreditPackagesSlugBySlugErrors[keyof GetCreditPackagesSlugBySlugErrors];
6852
- type GetCreditPackagesSlugBySlugResponses = {
7204
+ type GetExtractionDocumentsFolderByFolderIdError = GetExtractionDocumentsFolderByFolderIdErrors[keyof GetExtractionDocumentsFolderByFolderIdErrors];
7205
+ type GetExtractionDocumentsFolderByFolderIdResponses = {
6853
7206
  /**
6854
7207
  * Success
6855
7208
  */
6856
7209
  200: {
6857
- data?: CreditPackage;
6858
- included?: Array<unknown>;
7210
+ /**
7211
+ * An array of resource objects representing a extraction_document
7212
+ */
7213
+ data?: Array<ExtractionDocument>;
7214
+ included?: Array<ExtractionResult>;
6859
7215
  meta?: {
6860
7216
  [key: string]: unknown;
6861
7217
  };
6862
7218
  };
6863
7219
  };
6864
- type GetCreditPackagesSlugBySlugResponse = GetCreditPackagesSlugBySlugResponses[keyof GetCreditPackagesSlugBySlugResponses];
6865
- type PostExtractionBatchesData = {
6866
- /**
6867
- * Request body for the /extraction/batches operation on extraction_batch resource
6868
- */
6869
- body: {
6870
- data: {
6871
- attributes?: {
6872
- name?: string | unknown;
6873
- user_label?: string | unknown;
6874
- workspace_id: string;
6875
- };
6876
- relationships?: {
6877
- [key: string]: never;
6878
- };
6879
- type?: "extraction_batch";
6880
- };
6881
- };
7220
+ type GetExtractionDocumentsFolderByFolderIdResponse = GetExtractionDocumentsFolderByFolderIdResponses[keyof GetExtractionDocumentsFolderByFolderIdResponses];
7221
+ type GetCreditPackagesSlugBySlugData = {
7222
+ body?: never;
6882
7223
  headers: {
6883
7224
  /**
6884
7225
  * Application ID for authentication and routing
6885
7226
  */
6886
7227
  "x-application-key": string;
6887
7228
  };
6888
- path?: never;
7229
+ path: {
7230
+ slug: string;
7231
+ };
6889
7232
  query?: {
6890
7233
  /**
6891
7234
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -6896,15 +7239,15 @@ type PostExtractionBatchesData = {
6896
7239
  */
6897
7240
  fields?: {
6898
7241
  /**
6899
- * Comma separated field names for extraction_batch
7242
+ * Comma separated field names for credit_package
6900
7243
  */
6901
- extraction_batch?: string;
7244
+ credit_package?: string;
6902
7245
  [key: string]: unknown | string | undefined;
6903
7246
  };
6904
7247
  };
6905
- url: "/extraction/batches";
7248
+ url: "/credit-packages/slug/{slug}";
6906
7249
  };
6907
- type PostExtractionBatchesErrors = {
7250
+ type GetCreditPackagesSlugBySlugErrors = {
6908
7251
  /**
6909
7252
  * Bad Request - Invalid input data or malformed request
6910
7253
  */
@@ -6934,13 +7277,99 @@ type PostExtractionBatchesErrors = {
6934
7277
  */
6935
7278
  default: Errors;
6936
7279
  };
6937
- type PostExtractionBatchesError = PostExtractionBatchesErrors[keyof PostExtractionBatchesErrors];
6938
- type PostExtractionBatchesResponses = {
7280
+ type GetCreditPackagesSlugBySlugError = GetCreditPackagesSlugBySlugErrors[keyof GetCreditPackagesSlugBySlugErrors];
7281
+ type GetCreditPackagesSlugBySlugResponses = {
6939
7282
  /**
6940
7283
  * Success
6941
7284
  */
6942
- 201: {
6943
- data?: ExtractionBatch;
7285
+ 200: {
7286
+ data?: CreditPackage;
7287
+ included?: Array<unknown>;
7288
+ meta?: {
7289
+ [key: string]: unknown;
7290
+ };
7291
+ };
7292
+ };
7293
+ type GetCreditPackagesSlugBySlugResponse = GetCreditPackagesSlugBySlugResponses[keyof GetCreditPackagesSlugBySlugResponses];
7294
+ type PostExtractionBatchesData = {
7295
+ /**
7296
+ * Request body for the /extraction/batches operation on extraction_batch resource
7297
+ */
7298
+ body: {
7299
+ data: {
7300
+ attributes?: {
7301
+ name?: string | unknown;
7302
+ user_label?: string | unknown;
7303
+ workspace_id: string;
7304
+ };
7305
+ relationships?: {
7306
+ [key: string]: never;
7307
+ };
7308
+ type?: "extraction_batch";
7309
+ };
7310
+ };
7311
+ headers: {
7312
+ /**
7313
+ * Application ID for authentication and routing
7314
+ */
7315
+ "x-application-key": string;
7316
+ };
7317
+ path?: never;
7318
+ query?: {
7319
+ /**
7320
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
7321
+ */
7322
+ include?: string;
7323
+ /**
7324
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
7325
+ */
7326
+ fields?: {
7327
+ /**
7328
+ * Comma separated field names for extraction_batch
7329
+ */
7330
+ extraction_batch?: string;
7331
+ [key: string]: unknown | string | undefined;
7332
+ };
7333
+ };
7334
+ url: "/extraction/batches";
7335
+ };
7336
+ type PostExtractionBatchesErrors = {
7337
+ /**
7338
+ * Bad Request - Invalid input data or malformed request
7339
+ */
7340
+ 400: ErrorResponse;
7341
+ /**
7342
+ * Unauthorized - Missing or invalid authentication token
7343
+ */
7344
+ 401: ErrorResponse;
7345
+ /**
7346
+ * Forbidden - Authenticated but not authorized for this resource
7347
+ */
7348
+ 403: ErrorResponse;
7349
+ /**
7350
+ * Not Found - Resource does not exist
7351
+ */
7352
+ 404: ErrorResponse;
7353
+ /**
7354
+ * Too Many Requests - Rate limit exceeded
7355
+ */
7356
+ 429: ErrorResponse;
7357
+ /**
7358
+ * Internal Server Error - Unexpected server error
7359
+ */
7360
+ 500: ErrorResponse;
7361
+ /**
7362
+ * General Error
7363
+ */
7364
+ default: Errors;
7365
+ };
7366
+ type PostExtractionBatchesError = PostExtractionBatchesErrors[keyof PostExtractionBatchesErrors];
7367
+ type PostExtractionBatchesResponses = {
7368
+ /**
7369
+ * Success
7370
+ */
7371
+ 201: {
7372
+ data?: ExtractionBatch;
6944
7373
  included?: Array<unknown>;
6945
7374
  meta?: {
6946
7375
  [key: string]: unknown;
@@ -9409,6 +9838,184 @@ type PostInvitationsAcceptByTokenResponses = {
9409
9838
  };
9410
9839
  };
9411
9840
  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];
9412
10019
  type GetExtractionBatchesByIdUploadUrlsData = {
9413
10020
  body?: never;
9414
10021
  headers: {
@@ -11381,17 +11988,246 @@ type GetSearchData = {
11381
11988
  */
11382
11989
  fields?: {
11383
11990
  /**
11384
- * Comma separated field names for search
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?: {
12213
+ /**
12214
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12215
+ */
12216
+ include?: string;
12217
+ /**
12218
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12219
+ */
12220
+ fields?: {
12221
+ /**
12222
+ * Comma separated field names for extraction_folder
11385
12223
  */
11386
- search?: string;
12224
+ extraction_folder?: string;
11387
12225
  [key: string]: unknown | string | undefined;
11388
12226
  };
11389
- query: string;
11390
- scope?: "global" | "tenant";
11391
12227
  };
11392
- url: "/search";
12228
+ url: "/extraction/folders/{id}";
11393
12229
  };
11394
- type GetSearchErrors = {
12230
+ type PatchExtractionFoldersByIdErrors = {
11395
12231
  /**
11396
12232
  * Bad Request - Invalid input data or malformed request
11397
12233
  */
@@ -11421,23 +12257,20 @@ type GetSearchErrors = {
11421
12257
  */
11422
12258
  default: Errors;
11423
12259
  };
11424
- type GetSearchError = GetSearchErrors[keyof GetSearchErrors];
11425
- type GetSearchResponses = {
12260
+ type PatchExtractionFoldersByIdError = PatchExtractionFoldersByIdErrors[keyof PatchExtractionFoldersByIdErrors];
12261
+ type PatchExtractionFoldersByIdResponses = {
11426
12262
  /**
11427
12263
  * Success
11428
12264
  */
11429
12265
  200: {
11430
- /**
11431
- * An array of resource objects representing a search
11432
- */
11433
- data?: Array<Search>;
12266
+ data?: ExtractionFolder;
11434
12267
  included?: Array<unknown>;
11435
12268
  meta?: {
11436
12269
  [key: string]: unknown;
11437
12270
  };
11438
12271
  };
11439
12272
  };
11440
- type GetSearchResponse = GetSearchResponses[keyof GetSearchResponses];
12273
+ type PatchExtractionFoldersByIdResponse = PatchExtractionFoldersByIdResponses[keyof PatchExtractionFoldersByIdResponses];
11441
12274
  type GetInvitationsData = {
11442
12275
  body?: never;
11443
12276
  headers: {
@@ -12713,93 +13546,6 @@ type PatchUsersByIdResetPasswordResponses = {
12713
13546
  };
12714
13547
  };
12715
13548
  type PatchUsersByIdResetPasswordResponse = PatchUsersByIdResetPasswordResponses[keyof PatchUsersByIdResetPasswordResponses];
12716
- type PostDocumentsPresignedUploadData = {
12717
- /**
12718
- * Request body for the /documents/presigned_upload operation on presigned_url resource
12719
- */
12720
- body: {
12721
- data: {
12722
- attributes?: {
12723
- filename: string;
12724
- mime_type: string;
12725
- size_bytes: number;
12726
- workspace_id: string;
12727
- };
12728
- relationships?: {
12729
- [key: string]: never;
12730
- };
12731
- type?: "presigned_url";
12732
- };
12733
- };
12734
- headers: {
12735
- /**
12736
- * Application ID for authentication and routing
12737
- */
12738
- "x-application-key": string;
12739
- };
12740
- path?: never;
12741
- query?: {
12742
- /**
12743
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
12744
- */
12745
- include?: string;
12746
- /**
12747
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
12748
- */
12749
- fields?: {
12750
- /**
12751
- * Comma separated field names for presigned_url
12752
- */
12753
- presigned_url?: string;
12754
- [key: string]: unknown | string | undefined;
12755
- };
12756
- };
12757
- url: "/documents/presigned_upload";
12758
- };
12759
- type PostDocumentsPresignedUploadErrors = {
12760
- /**
12761
- * Bad Request - Invalid input data or malformed request
12762
- */
12763
- 400: ErrorResponse;
12764
- /**
12765
- * Unauthorized - Missing or invalid authentication token
12766
- */
12767
- 401: ErrorResponse;
12768
- /**
12769
- * Forbidden - Authenticated but not authorized for this resource
12770
- */
12771
- 403: ErrorResponse;
12772
- /**
12773
- * Not Found - Resource does not exist
12774
- */
12775
- 404: ErrorResponse;
12776
- /**
12777
- * Too Many Requests - Rate limit exceeded
12778
- */
12779
- 429: ErrorResponse;
12780
- /**
12781
- * Internal Server Error - Unexpected server error
12782
- */
12783
- 500: ErrorResponse;
12784
- /**
12785
- * General Error
12786
- */
12787
- default: Errors;
12788
- };
12789
- type PostDocumentsPresignedUploadError = PostDocumentsPresignedUploadErrors[keyof PostDocumentsPresignedUploadErrors];
12790
- type PostDocumentsPresignedUploadResponses = {
12791
- /**
12792
- * Success
12793
- */
12794
- 201: {
12795
- data?: PresignedUrl;
12796
- included?: Array<unknown>;
12797
- meta?: {
12798
- [key: string]: unknown;
12799
- };
12800
- };
12801
- };
12802
- type PostDocumentsPresignedUploadResponse = PostDocumentsPresignedUploadResponses[keyof PostDocumentsPresignedUploadResponses];
12803
13549
  type GetMessagesSearchData = {
12804
13550
  body?: never;
12805
13551
  headers: {
@@ -18619,6 +19365,16 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdData = {
18619
19365
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
18620
19366
  */
18621
19367
  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
+ };
18622
19378
  /**
18623
19379
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18624
19380
  */
@@ -18696,6 +19452,7 @@ type PostExtractionDocumentsBeginUploadData = {
18696
19452
  file_size_bytes?: number | unknown;
18697
19453
  file_type: "pdf" | "docx" | "image" | "zip";
18698
19454
  filename: string;
19455
+ folder_id?: string | unknown;
18699
19456
  parent_document_id?: string | unknown;
18700
19457
  workspace_id: string;
18701
19458
  };
@@ -19427,6 +20184,16 @@ type GetExtractionDocumentsData = {
19427
20184
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19428
20185
  */
19429
20186
  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
+ };
19430
20197
  /**
19431
20198
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19432
20199
  */
@@ -20903,6 +21670,90 @@ type PatchUserProfilesByIdResponses = {
20903
21670
  };
20904
21671
  };
20905
21672
  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];
20906
21757
  type DeleteObjectsByIdData = {
20907
21758
  body?: never;
20908
21759
  headers: {
@@ -23643,6 +24494,16 @@ declare const getLlmAnalyticsWorkspace: <ThrowOnError extends boolean = false>(o
23643
24494
  *
23644
24495
  */
23645
24496
  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">;
23646
24507
  /**
23647
24508
  * Get slug
23648
24509
  *
@@ -23939,6 +24800,26 @@ declare const patchWebhookConfigsById: <ThrowOnError extends boolean = false>(op
23939
24800
  * Accept an invitation using only the token
23940
24801
  */
23941
24802
  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">;
23942
24823
  /**
23943
24824
  * Get upload urls
23944
24825
  *
@@ -24165,6 +25046,36 @@ declare const getWebhookDeliveries: <ThrowOnError extends boolean = false>(optio
24165
25046
  *
24166
25047
  */
24167
25048
  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">;
24168
25079
  /**
24169
25080
  * List invitations
24170
25081
  *
@@ -24307,16 +25218,6 @@ declare const postLlmAnalytics: <ThrowOnError extends boolean = false>(options:
24307
25218
  * Admin triggers password reset email for user
24308
25219
  */
24309
25220
  declare const patchUsersByIdResetPassword: <ThrowOnError extends boolean = false>(options: Options<PatchUsersByIdResetPasswordData, ThrowOnError>) => RequestResult<PatchUsersByIdResetPasswordResponses, PatchUsersByIdResetPasswordErrors, ThrowOnError, "fields">;
24310
- /**
24311
- * Create presigned upload
24312
- *
24313
- * Creates a new resource. Returns the created resource with generated ID.
24314
- *
24315
- * **Authentication:** Required - Bearer token or API key
24316
- * **Rate Limit:** 100 requests per minute
24317
- *
24318
- */
24319
- declare const postDocumentsPresignedUpload: <ThrowOnError extends boolean = false>(options: Options<PostDocumentsPresignedUploadData, ThrowOnError>) => RequestResult<PostDocumentsPresignedUploadResponses, PostDocumentsPresignedUploadErrors, ThrowOnError, "fields">;
24320
25221
  /**
24321
25222
  * List search
24322
25223
  *
@@ -25257,6 +26158,16 @@ declare const getUserProfilesById: <ThrowOnError extends boolean = false>(option
25257
26158
  *
25258
26159
  */
25259
26160
  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">;
25260
26171
  /**
25261
26172
  * Delete objects
25262
26173
  *
@@ -25910,4 +26821,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
25910
26821
  */
25911
26822
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
25912
26823
 
25913
- 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 ExtractionDocumentFilterBilledCredits, type ExtractionDocumentFilterClassification, type ExtractionDocumentFilterClassificationConfidence, 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 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 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 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, 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, getWebhookEvents, getWebhookEventsById, 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 };
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 };