@gpt-core/client 0.3.7 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -185,6 +185,22 @@ type WorkspaceFilterExpiresAt = {
185
185
  * Filters the query to results matching the given filter object
186
186
  */
187
187
  type SearchFilter = unknown;
188
+ /**
189
+ * Specific document type from specialty agent (Traffic Citation, Invoice, etc.)
190
+ */
191
+ type ExtractionDocumentFilterDocumentType = {
192
+ contains?: string;
193
+ eq?: string;
194
+ greater_than?: string;
195
+ greater_than_or_equal?: string;
196
+ ilike?: string;
197
+ in?: Array<string>;
198
+ is_nil?: boolean;
199
+ less_than?: string;
200
+ less_than_or_equal?: string;
201
+ like?: string;
202
+ not_eq?: string;
203
+ };
188
204
  type ConversationFilterTitle = {
189
205
  contains?: string;
190
206
  eq?: string;
@@ -390,6 +406,16 @@ type BucketFilterStorageUsed = {
390
406
  less_than_or_equal?: number;
391
407
  not_eq?: number;
392
408
  };
409
+ type ExtractionExportFilterWorkspaceId = {
410
+ eq?: string;
411
+ greater_than?: string;
412
+ greater_than_or_equal?: string;
413
+ in?: Array<string>;
414
+ is_nil?: boolean;
415
+ less_than?: string;
416
+ less_than_or_equal?: string;
417
+ not_eq?: string;
418
+ };
393
419
  type UserFilterId = {
394
420
  eq?: string;
395
421
  greater_than?: string;
@@ -400,6 +426,10 @@ type UserFilterId = {
400
426
  less_than_or_equal?: string;
401
427
  not_eq?: string;
402
428
  };
429
+ /**
430
+ * Filters the query to results matching the given filter object
431
+ */
432
+ type ExtractionExportFilter = unknown;
403
433
  type ConversationFilterTenantId = {
404
434
  eq?: string;
405
435
  greater_than?: string;
@@ -775,6 +805,33 @@ type DocumentChunkFilterDocumentId = {
775
805
  less_than_or_equal?: string;
776
806
  not_eq?: string;
777
807
  };
808
+ /**
809
+ * Classification object containing domain, document_type, municipality, state, and confidence
810
+ */
811
+ type ExtractionDocumentFilterClassification = {
812
+ eq?: {
813
+ [key: string]: unknown;
814
+ };
815
+ greater_than?: {
816
+ [key: string]: unknown;
817
+ };
818
+ greater_than_or_equal?: {
819
+ [key: string]: unknown;
820
+ };
821
+ in?: Array<{
822
+ [key: string]: unknown;
823
+ }>;
824
+ is_nil?: boolean;
825
+ less_than?: {
826
+ [key: string]: unknown;
827
+ };
828
+ less_than_or_equal?: {
829
+ [key: string]: unknown;
830
+ };
831
+ not_eq?: {
832
+ [key: string]: unknown;
833
+ };
834
+ };
778
835
  /**
779
836
  * Filters the query to results matching the given filter object
780
837
  */
@@ -1080,6 +1137,16 @@ type ExtractionResultFilterSummary = {
1080
1137
  [key: string]: unknown;
1081
1138
  };
1082
1139
  };
1140
+ type ExtractionExportFilterFormat = {
1141
+ eq?: "csv" | "json" | "excel" | "markdown";
1142
+ greater_than?: "csv" | "json" | "excel" | "markdown";
1143
+ greater_than_or_equal?: "csv" | "json" | "excel" | "markdown";
1144
+ in?: Array<string>;
1145
+ is_nil?: boolean;
1146
+ less_than?: "csv" | "json" | "excel" | "markdown";
1147
+ less_than_or_equal?: "csv" | "json" | "excel" | "markdown";
1148
+ not_eq?: "csv" | "json" | "excel" | "markdown";
1149
+ };
1083
1150
  type ExtractionDocumentFilterFileSizeBytes = {
1084
1151
  eq?: number;
1085
1152
  greater_than?: number;
@@ -1280,6 +1347,16 @@ type PaymentMethod = {
1280
1347
  };
1281
1348
  type: string;
1282
1349
  };
1350
+ type ExtractionExportFilterFileSizeBytes = {
1351
+ eq?: number;
1352
+ greater_than?: number;
1353
+ greater_than_or_equal?: number;
1354
+ in?: Array<number>;
1355
+ is_nil?: boolean;
1356
+ less_than?: number;
1357
+ less_than_or_equal?: number;
1358
+ not_eq?: number;
1359
+ };
1283
1360
  type UserFilterCurrentWorkspaceId = {
1284
1361
  eq?: string;
1285
1362
  greater_than?: string;
@@ -1653,6 +1730,7 @@ type Application = {
1653
1730
  * An attributes object for a application
1654
1731
  */
1655
1732
  attributes?: {
1733
+ current_scopes?: Array<string> | null | unknown;
1656
1734
  /**
1657
1735
  * Credits allocated to new tenants registering via this application. Field included by default.
1658
1736
  */
@@ -1736,6 +1814,10 @@ type ApiKey = {
1736
1814
  * Field included by default.
1737
1815
  */
1738
1816
  expires_at?: unknown;
1817
+ /**
1818
+ * The raw API key token. Only returned once upon creation or rotation.
1819
+ */
1820
+ generated_api_key?: string | null | unknown;
1739
1821
  /**
1740
1822
  * Field included by default.
1741
1823
  */
@@ -1922,6 +2004,16 @@ type WalletFilterStorageUsedBytes = {
1922
2004
  less_than_or_equal?: number;
1923
2005
  not_eq?: number;
1924
2006
  };
2007
+ type ExtractionExportFilterId = {
2008
+ eq?: string;
2009
+ greater_than?: string;
2010
+ greater_than_or_equal?: string;
2011
+ in?: Array<string>;
2012
+ is_nil?: boolean;
2013
+ less_than?: string;
2014
+ less_than_or_equal?: string;
2015
+ not_eq?: string;
2016
+ };
1925
2017
  type TenantFilterBadgeUrl = {
1926
2018
  contains?: string;
1927
2019
  eq?: string;
@@ -2178,6 +2270,9 @@ type ExtractionResult = {
2178
2270
  * Field included by default.
2179
2271
  */
2180
2272
  extraction_mode?: "base" | "custom" | "hybrid" | unknown;
2273
+ ocr_blocks?: Array<{
2274
+ [key: string]: unknown;
2275
+ }> | null | unknown;
2181
2276
  /**
2182
2277
  * Field included by default.
2183
2278
  */
@@ -2471,6 +2566,22 @@ type TenantMembershipFilterTenantId = {
2471
2566
  less_than_or_equal?: string;
2472
2567
  not_eq?: string;
2473
2568
  };
2569
+ /**
2570
+ * State or province code (2-letter)
2571
+ */
2572
+ type ExtractionDocumentFilterState = {
2573
+ contains?: string;
2574
+ eq?: string;
2575
+ greater_than?: string;
2576
+ greater_than_or_equal?: string;
2577
+ ilike?: string;
2578
+ in?: Array<string>;
2579
+ is_nil?: boolean;
2580
+ less_than?: string;
2581
+ less_than_or_equal?: string;
2582
+ like?: string;
2583
+ not_eq?: string;
2584
+ };
2474
2585
  type TrainingExampleFilterInputText = {
2475
2586
  contains?: string;
2476
2587
  eq?: string;
@@ -2574,6 +2685,7 @@ type TrainingExample = {
2574
2685
  output_json: {
2575
2686
  [key: string]: unknown;
2576
2687
  };
2688
+ similarity?: number | null | unknown;
2577
2689
  };
2578
2690
  id: string;
2579
2691
  /**
@@ -2786,6 +2898,16 @@ type StorageStats = {
2786
2898
  };
2787
2899
  type: string;
2788
2900
  };
2901
+ type ExtractionExportFilterStatus = {
2902
+ eq?: "pending" | "processing" | "completed" | "failed";
2903
+ greater_than?: "pending" | "processing" | "completed" | "failed";
2904
+ greater_than_or_equal?: "pending" | "processing" | "completed" | "failed";
2905
+ in?: Array<string>;
2906
+ is_nil?: boolean;
2907
+ less_than?: "pending" | "processing" | "completed" | "failed";
2908
+ less_than_or_equal?: "pending" | "processing" | "completed" | "failed";
2909
+ not_eq?: "pending" | "processing" | "completed" | "failed";
2910
+ };
2789
2911
  type TransactionFilterServiceId = {
2790
2912
  contains?: string;
2791
2913
  eq?: string;
@@ -3070,6 +3192,19 @@ type WorkspaceFilterApplicationId = {
3070
3192
  * Filters the query to results matching the given filter object
3071
3193
  */
3072
3194
  type NotificationPreferenceFilter = unknown;
3195
+ type TrainingExampleFilterSimilarity = {
3196
+ eq?: number;
3197
+ greater_than?: number;
3198
+ greater_than_or_equal?: number;
3199
+ in?: Array<number>;
3200
+ input?: {
3201
+ embedding?: unknown;
3202
+ };
3203
+ is_nil?: boolean;
3204
+ less_than?: number;
3205
+ less_than_or_equal?: number;
3206
+ not_eq?: number;
3207
+ };
3073
3208
  /**
3074
3209
  * A "Resource object" representing a object
3075
3210
  */
@@ -3229,6 +3364,22 @@ type TenantMembership = {
3229
3364
  * Filters the query to results matching the given filter object
3230
3365
  */
3231
3366
  type SavedSearchFilter = unknown;
3367
+ /**
3368
+ * Document domain from specialty agent (legal, financial, medical, etc.)
3369
+ */
3370
+ type ExtractionDocumentFilterDomain = {
3371
+ contains?: string;
3372
+ eq?: string;
3373
+ greater_than?: string;
3374
+ greater_than_or_equal?: string;
3375
+ ilike?: string;
3376
+ in?: Array<string>;
3377
+ is_nil?: boolean;
3378
+ less_than?: string;
3379
+ less_than_or_equal?: string;
3380
+ like?: string;
3381
+ not_eq?: string;
3382
+ };
3232
3383
  type ExtractionResultFilterId = {
3233
3384
  eq?: string;
3234
3385
  greater_than?: string;
@@ -3239,6 +3390,22 @@ type ExtractionResultFilterId = {
3239
3390
  less_than_or_equal?: string;
3240
3391
  not_eq?: string;
3241
3392
  };
3393
+ /**
3394
+ * Municipality/agency name extracted from document content
3395
+ */
3396
+ type ExtractionDocumentFilterMunicipality = {
3397
+ contains?: string;
3398
+ eq?: string;
3399
+ greater_than?: string;
3400
+ greater_than_or_equal?: string;
3401
+ ilike?: string;
3402
+ in?: Array<string>;
3403
+ is_nil?: boolean;
3404
+ less_than?: string;
3405
+ less_than_or_equal?: string;
3406
+ like?: string;
3407
+ not_eq?: string;
3408
+ };
3242
3409
  type ExtractionResultFilterExtractedFields = {
3243
3410
  eq?: {
3244
3411
  [key: string]: unknown;
@@ -3800,6 +3967,12 @@ type ExtractionBatch = {
3800
3967
  */
3801
3968
  name?: string | null | unknown;
3802
3969
  status?: string | null | unknown;
3970
+ /**
3971
+ * Generate presigned upload URLs for batch
3972
+ */
3973
+ upload_urls?: Array<{
3974
+ [key: string]: unknown;
3975
+ }> | null | unknown;
3803
3976
  /**
3804
3977
  * Field included by default.
3805
3978
  */
@@ -4224,6 +4397,19 @@ type ErrorResponse = {
4224
4397
  title: string;
4225
4398
  }>;
4226
4399
  };
4400
+ type ExtractionExportFilterFileUrl = {
4401
+ contains?: string;
4402
+ eq?: string;
4403
+ greater_than?: string;
4404
+ greater_than_or_equal?: string;
4405
+ ilike?: string;
4406
+ in?: Array<string>;
4407
+ is_nil?: boolean;
4408
+ less_than?: string;
4409
+ less_than_or_equal?: string;
4410
+ like?: string;
4411
+ not_eq?: string;
4412
+ };
4227
4413
  type UserProfileFilterBio = {
4228
4414
  contains?: string;
4229
4415
  eq?: string;
@@ -4237,6 +4423,58 @@ type UserProfileFilterBio = {
4237
4423
  like?: string;
4238
4424
  not_eq?: string;
4239
4425
  };
4426
+ /**
4427
+ * A "Resource object" representing a extraction_export
4428
+ */
4429
+ type ExtractionExport = {
4430
+ /**
4431
+ * An attributes object for a extraction_export
4432
+ */
4433
+ attributes?: {
4434
+ /**
4435
+ * Field included by default.
4436
+ */
4437
+ config: {
4438
+ [key: string]: unknown;
4439
+ };
4440
+ /**
4441
+ * Field included by default.
4442
+ */
4443
+ error_message?: string | null | unknown;
4444
+ /**
4445
+ * Field included by default.
4446
+ */
4447
+ expires_at?: unknown;
4448
+ /**
4449
+ * Field included by default.
4450
+ */
4451
+ file_size_bytes?: number | null | unknown;
4452
+ /**
4453
+ * Field included by default.
4454
+ */
4455
+ file_url?: string | null | unknown;
4456
+ /**
4457
+ * Field included by default.
4458
+ */
4459
+ format: "csv" | "json" | "excel" | "markdown";
4460
+ /**
4461
+ * Field included by default.
4462
+ */
4463
+ status: "pending" | "processing" | "completed" | "failed";
4464
+ /**
4465
+ * Field included by default.
4466
+ */
4467
+ workspace_id: string;
4468
+ };
4469
+ id: string;
4470
+ /**
4471
+ * A relationships object for a extraction_export
4472
+ */
4473
+ relationships?: {
4474
+ [key: string]: never;
4475
+ };
4476
+ type: string;
4477
+ };
4240
4478
  /**
4241
4479
  * Filters the query to results matching the given filter object
4242
4480
  */
@@ -4443,6 +4681,19 @@ type AgentFilterName = {
4443
4681
  less_than_or_equal?: string;
4444
4682
  not_eq?: string;
4445
4683
  };
4684
+ /**
4685
+ * Overall classification confidence (0.0 to 1.0)
4686
+ */
4687
+ type ExtractionDocumentFilterClassificationConfidence = {
4688
+ eq?: number;
4689
+ greater_than?: number;
4690
+ greater_than_or_equal?: number;
4691
+ in?: Array<number>;
4692
+ is_nil?: boolean;
4693
+ less_than?: number;
4694
+ less_than_or_equal?: number;
4695
+ not_eq?: number;
4696
+ };
4446
4697
  type ExtractionSchemaFieldFilterOrder = {
4447
4698
  eq?: number;
4448
4699
  greater_than?: number;
@@ -4468,6 +4719,16 @@ type PresignedUrlFilterUrl = {
4468
4719
  less_than_or_equal?: string;
4469
4720
  not_eq?: string;
4470
4721
  };
4722
+ type ExtractionExportFilterExpiresAt = {
4723
+ eq?: unknown;
4724
+ greater_than?: unknown;
4725
+ greater_than_or_equal?: unknown;
4726
+ in?: Array<unknown>;
4727
+ is_nil?: boolean;
4728
+ less_than?: unknown;
4729
+ less_than_or_equal?: unknown;
4730
+ not_eq?: unknown;
4731
+ };
4471
4732
  /**
4472
4733
  * A "Resource object" representing a bucket
4473
4734
  */
@@ -4639,6 +4900,30 @@ type ApplicationFilterDefaultFreeCredits = {
4639
4900
  less_than_or_equal?: number;
4640
4901
  not_eq?: number;
4641
4902
  };
4903
+ type ExtractionExportFilterConfig = {
4904
+ eq?: {
4905
+ [key: string]: unknown;
4906
+ };
4907
+ greater_than?: {
4908
+ [key: string]: unknown;
4909
+ };
4910
+ greater_than_or_equal?: {
4911
+ [key: string]: unknown;
4912
+ };
4913
+ in?: Array<{
4914
+ [key: string]: unknown;
4915
+ }>;
4916
+ is_nil?: boolean;
4917
+ less_than?: {
4918
+ [key: string]: unknown;
4919
+ };
4920
+ less_than_or_equal?: {
4921
+ [key: string]: unknown;
4922
+ };
4923
+ not_eq?: {
4924
+ [key: string]: unknown;
4925
+ };
4926
+ };
4642
4927
  /**
4643
4928
  * A "Resource object" representing a document_chunk
4644
4929
  */
@@ -4694,6 +4979,19 @@ type PlanFilterMonthlyCredits = {
4694
4979
  less_than_or_equal?: number;
4695
4980
  not_eq?: number;
4696
4981
  };
4982
+ type ExtractionExportFilterErrorMessage = {
4983
+ contains?: string;
4984
+ eq?: string;
4985
+ greater_than?: string;
4986
+ greater_than_or_equal?: string;
4987
+ ilike?: string;
4988
+ in?: Array<string>;
4989
+ is_nil?: boolean;
4990
+ less_than?: string;
4991
+ less_than_or_equal?: string;
4992
+ like?: string;
4993
+ not_eq?: string;
4994
+ };
4697
4995
  /**
4698
4996
  * Filters the query to results matching the given filter object
4699
4997
  */
@@ -5101,7 +5399,25 @@ type ExtractionDocument = {
5101
5399
  * Credits billed for processing this document. Field included by default.
5102
5400
  */
5103
5401
  billed_credits?: number | null | unknown;
5402
+ /**
5403
+ * Classification object containing domain, document_type, municipality, state, and confidence
5404
+ */
5405
+ classification?: {
5406
+ [key: string]: unknown;
5407
+ } | null | unknown;
5408
+ /**
5409
+ * Overall classification confidence (0.0 to 1.0). Field included by default.
5410
+ */
5411
+ classification_confidence?: number | null | unknown;
5104
5412
  content?: string | null | unknown;
5413
+ /**
5414
+ * Specific document type from specialty agent (Traffic Citation, Invoice, etc.). Field included by default.
5415
+ */
5416
+ document_type?: string | null | unknown;
5417
+ /**
5418
+ * Document domain from specialty agent (legal, financial, medical, etc.). Field included by default.
5419
+ */
5420
+ domain?: string | null | unknown;
5105
5421
  /**
5106
5422
  * Field included by default.
5107
5423
  */
@@ -5118,6 +5434,10 @@ type ExtractionDocument = {
5118
5434
  * Field included by default.
5119
5435
  */
5120
5436
  filename: string;
5437
+ /**
5438
+ * Municipality/agency name extracted from document content. Field included by default.
5439
+ */
5440
+ municipality?: string | null | unknown;
5121
5441
  /**
5122
5442
  * Field included by default.
5123
5443
  */
@@ -5127,6 +5447,10 @@ type ExtractionDocument = {
5127
5447
  * Field included by default.
5128
5448
  */
5129
5449
  progress?: number | null | unknown;
5450
+ /**
5451
+ * State or province code (2-letter). Field included by default.
5452
+ */
5453
+ state?: string | null | unknown;
5130
5454
  /**
5131
5455
  * Field included by default.
5132
5456
  */
@@ -6928,9 +7252,29 @@ type PatchExtractionDocumentsByIdStatusData = {
6928
7252
  * Credits billed for processing this document
6929
7253
  */
6930
7254
  billed_credits?: number | unknown;
7255
+ /**
7256
+ * Overall classification confidence (0.0 to 1.0)
7257
+ */
7258
+ classification_confidence?: number | unknown;
7259
+ /**
7260
+ * Specific document type from specialty agent (Traffic Citation, Invoice, etc.)
7261
+ */
7262
+ document_type?: string | unknown;
7263
+ /**
7264
+ * Document domain from specialty agent (legal, financial, medical, etc.)
7265
+ */
7266
+ domain?: string | unknown;
6931
7267
  error_message?: string | unknown;
7268
+ /**
7269
+ * Municipality/agency name extracted from document content
7270
+ */
7271
+ municipality?: string | unknown;
6932
7272
  pages?: number | unknown;
6933
7273
  progress?: number | unknown;
7274
+ /**
7275
+ * State or province code (2-letter)
7276
+ */
7277
+ state?: string | unknown;
6934
7278
  status?: "queued" | "processing" | "completed" | "failed" | unknown;
6935
7279
  };
6936
7280
  id: string;
@@ -8835,9 +9179,90 @@ type PostInvitationsAcceptByTokenData = {
8835
9179
  [key: string]: unknown | string | undefined;
8836
9180
  };
8837
9181
  };
8838
- url: "/invitations/accept_by_token";
9182
+ url: "/invitations/accept_by_token";
9183
+ };
9184
+ type PostInvitationsAcceptByTokenErrors = {
9185
+ /**
9186
+ * Bad Request - Invalid input data or malformed request
9187
+ */
9188
+ 400: ErrorResponse;
9189
+ /**
9190
+ * Unauthorized - Missing or invalid authentication token
9191
+ */
9192
+ 401: ErrorResponse;
9193
+ /**
9194
+ * Forbidden - Authenticated but not authorized for this resource
9195
+ */
9196
+ 403: ErrorResponse;
9197
+ /**
9198
+ * Not Found - Resource does not exist
9199
+ */
9200
+ 404: ErrorResponse;
9201
+ /**
9202
+ * Too Many Requests - Rate limit exceeded
9203
+ */
9204
+ 429: ErrorResponse;
9205
+ /**
9206
+ * Internal Server Error - Unexpected server error
9207
+ */
9208
+ 500: ErrorResponse;
9209
+ /**
9210
+ * General Error
9211
+ */
9212
+ default: Errors;
9213
+ };
9214
+ type PostInvitationsAcceptByTokenError = PostInvitationsAcceptByTokenErrors[keyof PostInvitationsAcceptByTokenErrors];
9215
+ type PostInvitationsAcceptByTokenResponses = {
9216
+ /**
9217
+ * Success
9218
+ */
9219
+ 201: {
9220
+ data?: Invitation;
9221
+ included?: Array<unknown>;
9222
+ meta?: {
9223
+ [key: string]: unknown;
9224
+ };
9225
+ };
9226
+ };
9227
+ type PostInvitationsAcceptByTokenResponse = PostInvitationsAcceptByTokenResponses[keyof PostInvitationsAcceptByTokenResponses];
9228
+ type GetExtractionBatchesByIdUploadUrlsData = {
9229
+ body?: never;
9230
+ headers: {
9231
+ /**
9232
+ * Application ID for authentication and routing
9233
+ */
9234
+ "x-application-key": string;
9235
+ };
9236
+ path: {
9237
+ id: string;
9238
+ };
9239
+ query?: {
9240
+ /**
9241
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9242
+ */
9243
+ include?: string;
9244
+ /**
9245
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
9246
+ */
9247
+ fields?: {
9248
+ /**
9249
+ * Comma separated field names for extraction_batch
9250
+ */
9251
+ extraction_batch?: string;
9252
+ [key: string]: unknown | string | undefined;
9253
+ };
9254
+ /**
9255
+ * Number of files to upload
9256
+ */
9257
+ file_count?: number;
9258
+ /**
9259
+ * Optional list of filenames
9260
+ */
9261
+ filenames?: Array<string>;
9262
+ };
9263
+ url: "/extraction/batches/{id}/upload-urls";
8839
9264
  };
8840
- type PostInvitationsAcceptByTokenErrors = {
9265
+ type GetExtractionBatchesByIdUploadUrlsErrors = {
8841
9266
  /**
8842
9267
  * Bad Request - Invalid input data or malformed request
8843
9268
  */
@@ -8867,20 +9292,20 @@ type PostInvitationsAcceptByTokenErrors = {
8867
9292
  */
8868
9293
  default: Errors;
8869
9294
  };
8870
- type PostInvitationsAcceptByTokenError = PostInvitationsAcceptByTokenErrors[keyof PostInvitationsAcceptByTokenErrors];
8871
- type PostInvitationsAcceptByTokenResponses = {
9295
+ type GetExtractionBatchesByIdUploadUrlsError = GetExtractionBatchesByIdUploadUrlsErrors[keyof GetExtractionBatchesByIdUploadUrlsErrors];
9296
+ type GetExtractionBatchesByIdUploadUrlsResponses = {
8872
9297
  /**
8873
9298
  * Success
8874
9299
  */
8875
- 201: {
8876
- data?: Invitation;
9300
+ 200: {
9301
+ data?: ExtractionBatch;
8877
9302
  included?: Array<unknown>;
8878
9303
  meta?: {
8879
9304
  [key: string]: unknown;
8880
9305
  };
8881
9306
  };
8882
9307
  };
8883
- type PostInvitationsAcceptByTokenResponse = PostInvitationsAcceptByTokenResponses[keyof PostInvitationsAcceptByTokenResponses];
9308
+ type GetExtractionBatchesByIdUploadUrlsResponse = GetExtractionBatchesByIdUploadUrlsResponses[keyof GetExtractionBatchesByIdUploadUrlsResponses];
8884
9309
  type PostDocumentsBulkDeleteData = {
8885
9310
  /**
8886
9311
  * Request body for the /documents/bulk_delete operation on operation_success resource
@@ -9137,6 +9562,94 @@ type PostThreadsByIdMessagesResponses = {
9137
9562
  };
9138
9563
  };
9139
9564
  type PostThreadsByIdMessagesResponse = PostThreadsByIdMessagesResponses[keyof PostThreadsByIdMessagesResponses];
9565
+ type PostAgentsCloneForWorkspaceData = {
9566
+ /**
9567
+ * Request body for the /agents/clone_for_workspace operation on agent resource
9568
+ */
9569
+ body: {
9570
+ data: {
9571
+ attributes?: {
9572
+ base_agent_id: string;
9573
+ customize?: {
9574
+ [key: string]: unknown;
9575
+ } | unknown;
9576
+ workspace_id: string;
9577
+ };
9578
+ relationships?: {
9579
+ [key: string]: never;
9580
+ };
9581
+ type?: "agent";
9582
+ };
9583
+ };
9584
+ headers: {
9585
+ /**
9586
+ * Application ID for authentication and routing
9587
+ */
9588
+ "x-application-key": string;
9589
+ };
9590
+ path?: never;
9591
+ query?: {
9592
+ /**
9593
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
9594
+ */
9595
+ include?: string;
9596
+ /**
9597
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
9598
+ */
9599
+ fields?: {
9600
+ /**
9601
+ * Comma separated field names for agent
9602
+ */
9603
+ agent?: string;
9604
+ [key: string]: unknown | string | undefined;
9605
+ };
9606
+ };
9607
+ url: "/agents/clone_for_workspace";
9608
+ };
9609
+ type PostAgentsCloneForWorkspaceErrors = {
9610
+ /**
9611
+ * Bad Request - Invalid input data or malformed request
9612
+ */
9613
+ 400: ErrorResponse;
9614
+ /**
9615
+ * Unauthorized - Missing or invalid authentication token
9616
+ */
9617
+ 401: ErrorResponse;
9618
+ /**
9619
+ * Forbidden - Authenticated but not authorized for this resource
9620
+ */
9621
+ 403: ErrorResponse;
9622
+ /**
9623
+ * Not Found - Resource does not exist
9624
+ */
9625
+ 404: ErrorResponse;
9626
+ /**
9627
+ * Too Many Requests - Rate limit exceeded
9628
+ */
9629
+ 429: ErrorResponse;
9630
+ /**
9631
+ * Internal Server Error - Unexpected server error
9632
+ */
9633
+ 500: ErrorResponse;
9634
+ /**
9635
+ * General Error
9636
+ */
9637
+ default: Errors;
9638
+ };
9639
+ type PostAgentsCloneForWorkspaceError = PostAgentsCloneForWorkspaceErrors[keyof PostAgentsCloneForWorkspaceErrors];
9640
+ type PostAgentsCloneForWorkspaceResponses = {
9641
+ /**
9642
+ * Success
9643
+ */
9644
+ 201: {
9645
+ data?: Agent;
9646
+ included?: Array<unknown>;
9647
+ meta?: {
9648
+ [key: string]: unknown;
9649
+ };
9650
+ };
9651
+ };
9652
+ type PostAgentsCloneForWorkspaceResponse = PostAgentsCloneForWorkspaceResponses[keyof PostAgentsCloneForWorkspaceResponses];
9140
9653
  type PatchInvitationsByIdAcceptData = {
9141
9654
  /**
9142
9655
  * Request body for the /invitations/:id/accept operation on invitation resource
@@ -11366,6 +11879,7 @@ type PostApplicationsData = {
11366
11879
  body: {
11367
11880
  data: {
11368
11881
  attributes?: {
11882
+ api_key_type: "server" | "system" | "application";
11369
11883
  /**
11370
11884
  * Credits allocated to new tenants registering via this application
11371
11885
  */
@@ -13614,6 +14128,80 @@ type PostTrainingExamplesResponses = {
13614
14128
  };
13615
14129
  };
13616
14130
  type PostTrainingExamplesResponse = PostTrainingExamplesResponses[keyof PostTrainingExamplesResponses];
14131
+ type GetWorkspacesByWorkspaceIdExtractionExportsByIdData = {
14132
+ body?: never;
14133
+ headers: {
14134
+ /**
14135
+ * Application ID for authentication and routing
14136
+ */
14137
+ "x-application-key": string;
14138
+ };
14139
+ path: {
14140
+ id: string;
14141
+ workspace_id: string;
14142
+ };
14143
+ query?: {
14144
+ /**
14145
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
14146
+ */
14147
+ include?: string;
14148
+ /**
14149
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
14150
+ */
14151
+ fields?: {
14152
+ /**
14153
+ * Comma separated field names for extraction_export
14154
+ */
14155
+ extraction_export?: string;
14156
+ [key: string]: unknown | string | undefined;
14157
+ };
14158
+ };
14159
+ url: "/workspaces/{workspace_id}/extraction/exports/{id}";
14160
+ };
14161
+ type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors = {
14162
+ /**
14163
+ * Bad Request - Invalid input data or malformed request
14164
+ */
14165
+ 400: ErrorResponse;
14166
+ /**
14167
+ * Unauthorized - Missing or invalid authentication token
14168
+ */
14169
+ 401: ErrorResponse;
14170
+ /**
14171
+ * Forbidden - Authenticated but not authorized for this resource
14172
+ */
14173
+ 403: ErrorResponse;
14174
+ /**
14175
+ * Not Found - Resource does not exist
14176
+ */
14177
+ 404: ErrorResponse;
14178
+ /**
14179
+ * Too Many Requests - Rate limit exceeded
14180
+ */
14181
+ 429: ErrorResponse;
14182
+ /**
14183
+ * Internal Server Error - Unexpected server error
14184
+ */
14185
+ 500: ErrorResponse;
14186
+ /**
14187
+ * General Error
14188
+ */
14189
+ default: Errors;
14190
+ };
14191
+ type GetWorkspacesByWorkspaceIdExtractionExportsByIdError = GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors[keyof GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors];
14192
+ type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses = {
14193
+ /**
14194
+ * Success
14195
+ */
14196
+ 200: {
14197
+ data?: ExtractionExport;
14198
+ included?: Array<unknown>;
14199
+ meta?: {
14200
+ [key: string]: unknown;
14201
+ };
14202
+ };
14203
+ };
14204
+ type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse = GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses[keyof GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses];
13617
14205
  type GetBucketsData = {
13618
14206
  body?: never;
13619
14207
  headers: {
@@ -14141,7 +14729,7 @@ type PostApiKeysData = {
14141
14729
  scopes?: Array<string> | unknown;
14142
14730
  tenant_id?: string | unknown;
14143
14731
  token?: string | unknown;
14144
- type: "user" | "application" | "system";
14732
+ type: "user" | "application" | "system" | "server";
14145
14733
  user_id?: string | unknown;
14146
14734
  workspace_id?: string | unknown;
14147
14735
  };
@@ -19357,6 +19945,9 @@ type PostExtractionResultsData = {
19357
19945
  [key: string]: unknown;
19358
19946
  } | unknown;
19359
19947
  extraction_mode?: "base" | "custom" | "hybrid" | unknown;
19948
+ ocr_blocks?: Array<{
19949
+ [key: string]: unknown;
19950
+ }> | unknown;
19360
19951
  processing_time_ms?: number | unknown;
19361
19952
  schema_id: string;
19362
19953
  status?: "pending" | "completed" | "failed" | unknown;
@@ -21561,6 +22152,96 @@ type GetExtractionBatchesByIdResponses = {
21561
22152
  };
21562
22153
  };
21563
22154
  type GetExtractionBatchesByIdResponse = GetExtractionBatchesByIdResponses[keyof GetExtractionBatchesByIdResponses];
22155
+ type PostWorkspacesByWorkspaceIdExtractionExportsData = {
22156
+ /**
22157
+ * Request body for the /workspaces/:workspace_id/extraction/exports operation on extraction_export resource
22158
+ */
22159
+ body: {
22160
+ data: {
22161
+ attributes?: {
22162
+ config?: {
22163
+ [key: string]: unknown;
22164
+ } | unknown;
22165
+ format: "csv" | "json" | "excel" | "markdown";
22166
+ workspace_id: string;
22167
+ };
22168
+ relationships?: {
22169
+ [key: string]: never;
22170
+ };
22171
+ type?: "extraction_export";
22172
+ };
22173
+ };
22174
+ headers: {
22175
+ /**
22176
+ * Application ID for authentication and routing
22177
+ */
22178
+ "x-application-key": string;
22179
+ };
22180
+ path: {
22181
+ workspace_id: string;
22182
+ };
22183
+ query?: {
22184
+ /**
22185
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22186
+ */
22187
+ include?: string;
22188
+ /**
22189
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
22190
+ */
22191
+ fields?: {
22192
+ /**
22193
+ * Comma separated field names for extraction_export
22194
+ */
22195
+ extraction_export?: string;
22196
+ [key: string]: unknown | string | undefined;
22197
+ };
22198
+ };
22199
+ url: "/workspaces/{workspace_id}/extraction/exports";
22200
+ };
22201
+ type PostWorkspacesByWorkspaceIdExtractionExportsErrors = {
22202
+ /**
22203
+ * Bad Request - Invalid input data or malformed request
22204
+ */
22205
+ 400: ErrorResponse;
22206
+ /**
22207
+ * Unauthorized - Missing or invalid authentication token
22208
+ */
22209
+ 401: ErrorResponse;
22210
+ /**
22211
+ * Forbidden - Authenticated but not authorized for this resource
22212
+ */
22213
+ 403: ErrorResponse;
22214
+ /**
22215
+ * Not Found - Resource does not exist
22216
+ */
22217
+ 404: ErrorResponse;
22218
+ /**
22219
+ * Too Many Requests - Rate limit exceeded
22220
+ */
22221
+ 429: ErrorResponse;
22222
+ /**
22223
+ * Internal Server Error - Unexpected server error
22224
+ */
22225
+ 500: ErrorResponse;
22226
+ /**
22227
+ * General Error
22228
+ */
22229
+ default: Errors;
22230
+ };
22231
+ type PostWorkspacesByWorkspaceIdExtractionExportsError = PostWorkspacesByWorkspaceIdExtractionExportsErrors[keyof PostWorkspacesByWorkspaceIdExtractionExportsErrors];
22232
+ type PostWorkspacesByWorkspaceIdExtractionExportsResponses = {
22233
+ /**
22234
+ * Success
22235
+ */
22236
+ 201: {
22237
+ data?: ExtractionExport;
22238
+ included?: Array<unknown>;
22239
+ meta?: {
22240
+ [key: string]: unknown;
22241
+ };
22242
+ };
22243
+ };
22244
+ type PostWorkspacesByWorkspaceIdExtractionExportsResponse = PostWorkspacesByWorkspaceIdExtractionExportsResponses[keyof PostWorkspacesByWorkspaceIdExtractionExportsResponses];
21564
22245
  type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData = {
21565
22246
  body?: never;
21566
22247
  headers: {
@@ -22749,6 +23430,12 @@ declare const patchWebhookConfigsById: <ThrowOnError extends boolean = false>(op
22749
23430
  * Accept an invitation using only the token
22750
23431
  */
22751
23432
  declare const postInvitationsAcceptByToken: <ThrowOnError extends boolean = false>(options: Options<PostInvitationsAcceptByTokenData, ThrowOnError>) => RequestResult<PostInvitationsAcceptByTokenResponses, PostInvitationsAcceptByTokenErrors, ThrowOnError, "fields">;
23433
+ /**
23434
+ * Get upload urls
23435
+ *
23436
+ * Generate presigned URLs for batch document upload
23437
+ */
23438
+ declare const getExtractionBatchesByIdUploadUrls: <ThrowOnError extends boolean = false>(options: Options<GetExtractionBatchesByIdUploadUrlsData, ThrowOnError>) => RequestResult<GetExtractionBatchesByIdUploadUrlsResponses, GetExtractionBatchesByIdUploadUrlsErrors, ThrowOnError, "fields">;
22752
23439
  /**
22753
23440
  * Create bulk delete
22754
23441
  *
@@ -22779,6 +23466,12 @@ declare const postAiChunksSearch: <ThrowOnError extends boolean = false>(options
22779
23466
  *
22780
23467
  */
22781
23468
  declare const postThreadsByIdMessages: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdMessagesData, ThrowOnError>) => RequestResult<PostThreadsByIdMessagesResponses, PostThreadsByIdMessagesErrors, ThrowOnError, "fields">;
23469
+ /**
23470
+ * Create clone for workspace
23471
+ *
23472
+ * Clone a system agent for workspace-specific customization
23473
+ */
23474
+ declare const postAgentsCloneForWorkspace: <ThrowOnError extends boolean = false>(options: Options<PostAgentsCloneForWorkspaceData, ThrowOnError>) => RequestResult<PostAgentsCloneForWorkspaceResponses, PostAgentsCloneForWorkspaceErrors, ThrowOnError, "fields">;
22782
23475
  /**
22783
23476
  * Update accept
22784
23477
  *
@@ -23295,6 +23988,16 @@ declare const getTrainingExamples: <ThrowOnError extends boolean = false>(option
23295
23988
  *
23296
23989
  */
23297
23990
  declare const postTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesData, ThrowOnError>) => RequestResult<PostTrainingExamplesResponses, PostTrainingExamplesErrors, ThrowOnError, "fields">;
23991
+ /**
23992
+ * Get exports
23993
+ *
23994
+ * Retrieves a single resource by ID.
23995
+ *
23996
+ * **Authentication:** Required - Bearer token or API key
23997
+ * **Rate Limit:** 100 requests per minute
23998
+ *
23999
+ */
24000
+ declare const getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, ThrowOnError, "fields">;
23298
24001
  /**
23299
24002
  * List buckets
23300
24003
  *
@@ -24217,6 +24920,16 @@ declare const postUsersRegisterIsv: <ThrowOnError extends boolean = false>(optio
24217
24920
  *
24218
24921
  */
24219
24922
  declare const getExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionBatchesByIdData, ThrowOnError>) => RequestResult<GetExtractionBatchesByIdResponses, GetExtractionBatchesByIdErrors, ThrowOnError, "fields">;
24923
+ /**
24924
+ * Create exports
24925
+ *
24926
+ * Creates a new resource. Returns the created resource with generated ID.
24927
+ *
24928
+ * **Authentication:** Required - Bearer token or API key
24929
+ * **Rate Limit:** 100 requests per minute
24930
+ *
24931
+ */
24932
+ declare const postWorkspacesByWorkspaceIdExtractionExports: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionExportsData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionExportsResponses, PostWorkspacesByWorkspaceIdExtractionExportsErrors, ThrowOnError, "fields">;
24220
24933
  /**
24221
24934
  * Delete workspace memberships
24222
24935
  *
@@ -24648,4 +25361,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
24648
25361
  */
24649
25362
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
24650
25363
 
24651
- 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 ExtractionDocumentFilterContent, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterId, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterPresignedViewUrl, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionDocumentFilterUploadUrl, 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 GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type 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 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 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 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 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 Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterTenantId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, 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, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, 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, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
25364
+ 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 ExtractionDocumentFilterDocumentType, type ExtractionDocumentFilterDomain, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterId, type ExtractionDocumentFilterMunicipality, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterPresignedViewUrl, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterState, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionDocumentFilterUploadUrl, type ExtractionExport, type ExtractionExportFilter, type ExtractionExportFilterConfig, type ExtractionExportFilterErrorMessage, type ExtractionExportFilterExpiresAt, type ExtractionExportFilterFileSizeBytes, type ExtractionExportFilterFileUrl, type ExtractionExportFilterFormat, type ExtractionExportFilterId, type ExtractionExportFilterStatus, type ExtractionExportFilterWorkspaceId, type ExtractionResult, type ExtractionResultFilter, type ExtractionResultFilterCreditsUsed, type ExtractionResultFilterExtractedFields, type ExtractionResultFilterExtractionMode, type ExtractionResultFilterId, type ExtractionResultFilterProcessingTimeMs, type ExtractionResultFilterStatus, type ExtractionResultFilterSummary, type ExtractionSchema, type ExtractionSchemaField, type ExtractionSchemaFieldFilter, type ExtractionSchemaFieldFilterExtractionHint, type ExtractionSchemaFieldFilterGroup, type ExtractionSchemaFieldFilterId, type ExtractionSchemaFieldFilterLabel, type ExtractionSchemaFieldFilterName, type ExtractionSchemaFieldFilterOrder, type ExtractionSchemaFieldFilterRequired, type ExtractionSchemaFieldFilterType, type ExtractionSchemaFilter, type ExtractionSchemaFilterId, type ExtractionSchemaFilterIsActive, type ExtractionSchemaFilterVersion, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type 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 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 PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsByIdViewData, type PostExtractionDocumentsByIdViewError, type PostExtractionDocumentsByIdViewErrors, type PostExtractionDocumentsByIdViewResponse, type PostExtractionDocumentsByIdViewResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type TrainingExampleFilterSimilarity, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterTenantId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, 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, 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 };