@gpt-core/client 0.8.26 → 0.9.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.mts CHANGED
@@ -1090,54 +1090,7 @@ type PaymentMethod = {
1090
1090
  * An attributes object for a payment_method
1091
1091
  */
1092
1092
  attributes?: {
1093
- /**
1094
- * Field included by default.
1095
- */
1096
- brand?: string | null | unknown;
1097
- /**
1098
- * Field included by default.
1099
- */
1100
- created_at: unknown;
1101
- /**
1102
- * Field included by default.
1103
- */
1104
- exp_month?: number | null | unknown;
1105
- /**
1106
- * Field included by default.
1107
- */
1108
- exp_year?: number | null | unknown;
1109
- /**
1110
- * Field included by default.
1111
- */
1112
- holder_name?: string | null | unknown;
1113
- /**
1114
- * Field included by default.
1115
- */
1116
- is_default?: boolean | null | unknown;
1117
- /**
1118
- * Field included by default.
1119
- */
1120
- last4?: string | null | unknown;
1121
- /**
1122
- * Field included by default.
1123
- */
1124
- provider: "qorpay";
1125
- /**
1126
- * Field included by default.
1127
- */
1128
- provider_token: string;
1129
- /**
1130
- * Field included by default.
1131
- */
1132
- type: "card" | "bank_account";
1133
- /**
1134
- * Field included by default.
1135
- */
1136
- updated_at: unknown;
1137
- /**
1138
- * Field included by default.
1139
- */
1140
- zip_code?: string | null | unknown;
1093
+ [key: string]: never;
1141
1094
  };
1142
1095
  id: string;
1143
1096
  /**
@@ -1942,62 +1895,6 @@ type WorkspaceSettingsInputUpdateType = {
1942
1895
  source_type?: "local" | "cloud" | unknown;
1943
1896
  };
1944
1897
  };
1945
- /**
1946
- * A "Resource object" representing a invoice
1947
- */
1948
- type Invoice = {
1949
- /**
1950
- * An attributes object for a invoice
1951
- */
1952
- attributes?: {
1953
- /**
1954
- * Field included by default.
1955
- */
1956
- amount_due?: number | null | unknown;
1957
- /**
1958
- * Field included by default.
1959
- */
1960
- amount_paid?: number | null | unknown;
1961
- /**
1962
- * Field included by default.
1963
- */
1964
- created_at?: unknown;
1965
- /**
1966
- * Field included by default.
1967
- */
1968
- currency?: string | null | unknown;
1969
- /**
1970
- * Field included by default.
1971
- */
1972
- due_date?: unknown;
1973
- /**
1974
- * Field included by default.
1975
- */
1976
- invoice_number?: string | null | unknown;
1977
- /**
1978
- * Field included by default.
1979
- */
1980
- line_items?: Array<{
1981
- [key: string]: unknown;
1982
- }> | null | unknown;
1983
- /**
1984
- * Field included by default.
1985
- */
1986
- pdf_url?: string | null | unknown;
1987
- /**
1988
- * Field included by default.
1989
- */
1990
- status?: "draft" | "open" | "paid" | "void" | unknown;
1991
- };
1992
- id: string;
1993
- /**
1994
- * A relationships object for a invoice
1995
- */
1996
- relationships?: {
1997
- [key: string]: never;
1998
- };
1999
- type: string;
2000
- };
2001
1898
  /**
2002
1899
  * A "Resource object" representing a training_analytics
2003
1900
  */
@@ -2088,72 +1985,7 @@ type Transaction = {
2088
1985
  * An attributes object for a transaction
2089
1986
  */
2090
1987
  attributes?: {
2091
- /**
2092
- * The amount of the transaction. For monetary transactions, this is in cents. For credit usage, this is in credits. Field included by default.
2093
- */
2094
- amount: number;
2095
- /**
2096
- * Field included by default.
2097
- */
2098
- created_at: unknown;
2099
- /**
2100
- * Field included by default.
2101
- */
2102
- credits_added?: number | null | unknown;
2103
- /**
2104
- * Field included by default.
2105
- */
2106
- credits_used?: number | null | unknown;
2107
- /**
2108
- * Field included by default.
2109
- */
2110
- currency?: string | null | unknown;
2111
- /**
2112
- * Field included by default.
2113
- */
2114
- description?: string | null | unknown;
2115
- /**
2116
- * Field included by default.
2117
- */
2118
- error_message?: string | null | unknown;
2119
- /**
2120
- * Field included by default.
2121
- */
2122
- metadata?: {
2123
- [key: string]: unknown;
2124
- } | null | unknown;
2125
- /**
2126
- * Field included by default.
2127
- */
2128
- operation?: "subscription" | "topup" | "extraction" | "training" | "refund" | "addon" | unknown;
2129
- /**
2130
- * Field included by default.
2131
- */
2132
- provider_reference?: string | null | unknown;
2133
- /**
2134
- * Field included by default.
2135
- */
2136
- service_id?: string | null | unknown;
2137
- /**
2138
- * Field included by default.
2139
- */
2140
- status: "pending" | "success" | "failed" | "refunded" | "voided";
2141
- /**
2142
- * Field included by default.
2143
- */
2144
- tenant_id: string;
2145
- /**
2146
- * Field included by default.
2147
- */
2148
- transaction_type?: "credit" | "debit" | unknown;
2149
- /**
2150
- * Field included by default.
2151
- */
2152
- type?: "sale" | "auth" | "refund" | "void" | unknown;
2153
- /**
2154
- * Field included by default.
2155
- */
2156
- updated_at: unknown;
1988
+ [key: string]: never;
2157
1989
  };
2158
1990
  id: string;
2159
1991
  /**
@@ -2172,14 +2004,38 @@ type ExtractionResult = {
2172
2004
  * An attributes object for a extraction_result
2173
2005
  */
2174
2006
  attributes?: {
2007
+ /**
2008
+ * The Agent that performed this extraction. Field included by default.
2009
+ */
2010
+ agent_id?: string | null | unknown;
2011
+ /**
2012
+ * The specific version of the Agent that performed this extraction. Field included by default.
2013
+ */
2014
+ agent_version_id?: string | null | unknown;
2015
+ /**
2016
+ * Average confidence across all extracted fields. Field included by default.
2017
+ */
2018
+ avg_confidence?: number | null | unknown;
2175
2019
  /**
2176
2020
  * Character count of extracted text
2177
2021
  */
2178
2022
  char_count?: number | null | unknown;
2023
+ /**
2024
+ * Overall classification confidence score. Field included by default.
2025
+ */
2026
+ classification_confidence?: number | null | unknown;
2179
2027
  /**
2180
2028
  * Field included by default.
2181
2029
  */
2182
2030
  credits_used?: string | null | unknown;
2031
+ /**
2032
+ * Specific document type (Traffic Citation, Invoice, etc.). Field included by default.
2033
+ */
2034
+ document_type?: string | null | unknown;
2035
+ /**
2036
+ * Document domain (legal, financial, medical, etc.). Field included by default.
2037
+ */
2038
+ domain?: string | null | unknown;
2183
2039
  /**
2184
2040
  * Field included by default.
2185
2041
  */
@@ -2202,6 +2058,10 @@ type ExtractionResult = {
2202
2058
  * Line count of extracted text
2203
2059
  */
2204
2060
  line_count?: number | null | unknown;
2061
+ /**
2062
+ * Municipality or agency name. Field included by default.
2063
+ */
2064
+ municipality?: string | null | unknown;
2205
2065
  ocr_blocks?: Array<{
2206
2066
  [key: string]: unknown;
2207
2067
  }> | null | unknown;
@@ -2211,9 +2071,17 @@ type ExtractionResult = {
2211
2071
  processing_time_ms?: number | null | unknown;
2212
2072
  schema_id?: string | null | unknown;
2213
2073
  /**
2214
- * The version of the schema/agent used for this extraction. Field included by default.
2074
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5'). Field included by default.
2075
+ */
2076
+ schema_revision?: number | null | unknown;
2077
+ /**
2078
+ * The version of the schema/agent used for this extraction (e.g., 'v2'). Field included by default.
2215
2079
  */
2216
2080
  schema_version?: string | null | unknown;
2081
+ /**
2082
+ * State code. Field included by default.
2083
+ */
2084
+ state?: string | null | unknown;
2217
2085
  /**
2218
2086
  * Field included by default.
2219
2087
  */
@@ -2383,10 +2251,6 @@ type Tenant = {
2383
2251
  * Field included by default.
2384
2252
  */
2385
2253
  auto_top_up_enabled: boolean;
2386
- /**
2387
- * The credit package to purchase when auto top-up is triggered. Field included by default.
2388
- */
2389
- auto_top_up_package_id?: string | null | unknown;
2390
2254
  /**
2391
2255
  * Credit balance threshold to trigger auto top-up. Field included by default.
2392
2256
  */
@@ -2628,6 +2492,10 @@ type AgentVersion = {
2628
2492
  * Field included by default.
2629
2493
  */
2630
2494
  created_at: unknown;
2495
+ /**
2496
+ * Combined display version like 'v2 rev 5'
2497
+ */
2498
+ display_version?: string | null | unknown;
2631
2499
  /**
2632
2500
  * Field included by default.
2633
2501
  */
@@ -2681,6 +2549,10 @@ type AgentVersion = {
2681
2549
  * Field included by default.
2682
2550
  */
2683
2551
  prompt_template: string;
2552
+ /**
2553
+ * Revision number within this schema version (increments on prompt/description changes). Field included by default.
2554
+ */
2555
+ revision: number;
2684
2556
  /**
2685
2557
  * Field included by default.
2686
2558
  */
@@ -3349,6 +3221,54 @@ type PermissionMeta = {
3349
3221
  };
3350
3222
  type: string;
3351
3223
  };
3224
+ /**
3225
+ * A "Resource object" representing a agent_version_revision
3226
+ */
3227
+ type AgentVersionRevision = {
3228
+ /**
3229
+ * An attributes object for a agent_version_revision
3230
+ */
3231
+ attributes?: {
3232
+ /**
3233
+ * Optional note describing what changed in this revision. Field included by default.
3234
+ */
3235
+ change_summary?: string | null | unknown;
3236
+ /**
3237
+ * Field included by default.
3238
+ */
3239
+ changed_at: unknown;
3240
+ /**
3241
+ * User ID who made this change. Field included by default.
3242
+ */
3243
+ changed_by?: string | null | unknown;
3244
+ /**
3245
+ * Combined display version like 'v2 rev 5'
3246
+ */
3247
+ display_version?: string | null | unknown;
3248
+ /**
3249
+ * Map of field_name => description at this revision. Field included by default.
3250
+ */
3251
+ field_descriptions?: {
3252
+ [key: string]: unknown;
3253
+ } | null | unknown;
3254
+ /**
3255
+ * The prompt template at this revision. Field included by default.
3256
+ */
3257
+ prompt_template?: string | null | unknown;
3258
+ /**
3259
+ * Revision number within this schema version (1, 2, 3, ...). Field included by default.
3260
+ */
3261
+ revision: number;
3262
+ };
3263
+ id: string;
3264
+ /**
3265
+ * A relationships object for a agent_version_revision
3266
+ */
3267
+ relationships?: {
3268
+ [key: string]: never;
3269
+ };
3270
+ type: string;
3271
+ };
3352
3272
  /**
3353
3273
  * A "Resource object" representing a llm_analytics
3354
3274
  */
@@ -4507,10 +4427,18 @@ type Workspace = {
4507
4427
  * Field included by default.
4508
4428
  */
4509
4429
  created_at: unknown;
4430
+ /**
4431
+ * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed. Field included by default.
4432
+ */
4433
+ deduplicate_uploads: boolean;
4510
4434
  /**
4511
4435
  * Field included by default.
4512
4436
  */
4513
4437
  description?: string | null | unknown;
4438
+ /**
4439
+ * Count of documents without file_hash (not ready for deduplication)
4440
+ */
4441
+ documents_missing_hash_count?: number | unknown;
4514
4442
  /**
4515
4443
  * Field included by default.
4516
4444
  */
@@ -4531,6 +4459,10 @@ type Workspace = {
4531
4459
  * Field included by default.
4532
4460
  */
4533
4461
  name: string;
4462
+ /**
4463
+ * True when all documents have file_hash populated (safe to enable deduplication)
4464
+ */
4465
+ ready_for_deduplication?: boolean | null | unknown;
4534
4466
  /**
4535
4467
  * Field included by default.
4536
4468
  */
@@ -4920,34 +4852,37 @@ type ExtractionDocument = {
4920
4852
  * Overall classification confidence (0.0 to 1.0). Field included by default.
4921
4853
  */
4922
4854
  classification_confidence?: number | null | unknown;
4855
+ /**
4856
+ * The specific version of the Agent that processed this document. Field included by default.
4857
+ */
4858
+ agent_version_id?: string | null | unknown;
4923
4859
  uploaded_at?: string | null | unknown;
4924
4860
  /**
4925
4861
  * Current processing stage based on storage path
4926
4862
  */
4927
4863
  stage?: string | null | unknown;
4928
4864
  /**
4929
- * Credits billed for processing this document. Field included by default.
4865
+ * True if this document was returned as a duplicate of an existing upload
4930
4866
  */
4931
- billed_credits?: number | null | unknown;
4867
+ deduplicated?: boolean | null | unknown;
4932
4868
  /**
4933
- * Field included by default.
4869
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5'). Field included by default.
4934
4870
  */
4935
- storage_path: string;
4871
+ schema_revision?: number | null | unknown;
4936
4872
  /**
4937
- * SHA256 hash of the file content for deduplication. Field included by default.
4873
+ * Credits billed for processing this document
4938
4874
  */
4939
- file_hash?: string | null | unknown;
4875
+ billed_credits?: number | null | unknown;
4876
+ storage_path: string;
4940
4877
  /**
4941
- * Field included by default.
4878
+ * SHA256 hash of the file content for deduplication
4942
4879
  */
4880
+ file_hash?: string | null | unknown;
4943
4881
  excluded_by?: string | null | unknown;
4944
4882
  /**
4945
- * The S3 bucket where this document is stored. Set during upload/begin_upload. Field included by default.
4883
+ * The S3 bucket where this document is stored. Set during upload/begin_upload.
4946
4884
  */
4947
4885
  bucket_name?: string | null | unknown;
4948
- /**
4949
- * Field included by default.
4950
- */
4951
4886
  deleted_at?: unknown;
4952
4887
  /**
4953
4888
  * Classification object containing domain, document_type, municipality, state, and confidence
@@ -4964,76 +4899,49 @@ type ExtractionDocument = {
4964
4899
  * Reason why this document is in the review queue
4965
4900
  */
4966
4901
  queue_reason?: string | null | unknown;
4967
- /**
4968
- * Field included by default.
4969
- */
4970
4902
  status?: "queued" | "processing" | "completed" | "failed" | "cancelled" | "pending_credits" | unknown;
4971
- /**
4972
- * Field included by default.
4973
- */
4974
4903
  progress?: number | null | unknown;
4975
4904
  /**
4976
- * Timestamp when document was moved to output/error bucket. Field included by default.
4905
+ * Timestamp when document was moved to output/error bucket
4977
4906
  */
4978
4907
  moved_at?: unknown;
4979
4908
  /**
4980
- * Full path (bucket/key) where document was copied after successful extraction. Field included by default.
4909
+ * Full path (bucket/key) where document was copied after successful extraction
4981
4910
  */
4982
4911
  output_storage_path?: string | null | unknown;
4983
4912
  /**
4984
- * Metadata about the training session for this document (trained_at, user_id, scores). Field included by default.
4913
+ * Metadata about the training session for this document (trained_at, user_id, scores)
4985
4914
  */
4986
4915
  training_metadata?: {
4987
4916
  [key: string]: unknown;
4988
4917
  } | null | unknown;
4989
4918
  upload_url?: string | null | unknown;
4990
- /**
4991
- * Field included by default.
4992
- */
4993
4919
  pages?: number | null | unknown;
4994
4920
  /**
4995
- * The review/verification state of the document. Field included by default.
4921
+ * The review/verification state of the document
4996
4922
  */
4997
4923
  verification_status?: "unverified" | "partially_verified" | "fully_verified" | unknown;
4998
- /**
4999
- * Field included by default.
5000
- */
5001
4924
  processed_at?: unknown;
5002
- /**
5003
- * Field included by default.
5004
- */
5005
4925
  error_message?: string | null | unknown;
5006
- /**
5007
- * Field included by default.
5008
- */
5009
4926
  verified_by_user_id?: string | null | unknown;
5010
- /**
5011
- * Field included by default.
5012
- */
5013
4927
  file_type: "pdf" | "docx" | "image" | "zip";
5014
- /**
5015
- * Field included by default.
5016
- */
5017
4928
  file_size_bytes?: number | null | unknown;
5018
4929
  /**
5019
- * Timestamp when document processing completed (status changed to :completed). Field included by default.
4930
+ * Timestamp when document processing completed (status changed to :completed)
5020
4931
  */
5021
4932
  completed_at?: unknown;
5022
4933
  /**
5023
- * The version of the agent/schema used to process this document. Field included by default.
4934
+ * The version of the agent/schema used to process this document (e.g., 'v2'). Field included by default.
5024
4935
  */
5025
4936
  schema_version?: string | null | unknown;
5026
4937
  presigned_view_url?: string | null | unknown;
5027
- /**
5028
- * Field included by default.
5029
- */
5030
4938
  last_verified_at?: unknown;
5031
4939
  /**
5032
4940
  * State or province code (2-letter). Field included by default.
5033
4941
  */
5034
4942
  state?: string | null | unknown;
5035
4943
  /**
5036
- * Full path (bucket/key) where document was copied after failed extraction. Field included by default.
4944
+ * Full path (bucket/key) where document was copied after failed extraction
5037
4945
  */
5038
4946
  error_storage_path?: string | null | unknown;
5039
4947
  /**
@@ -5041,16 +4949,14 @@ type ExtractionDocument = {
5041
4949
  */
5042
4950
  domain?: string | null | unknown;
5043
4951
  /**
5044
- * If true, this document is excluded from training (both creating new examples and being used in retrieval). Field included by default.
4952
+ * If true, this document is excluded from training (both creating new examples and being used in retrieval)
5045
4953
  */
5046
4954
  excluded_from_training: boolean;
5047
4955
  /**
5048
- * Field included by default.
4956
+ * The Agent that processed this document. Field included by default.
5049
4957
  */
4958
+ agent_id?: string | null | unknown;
5050
4959
  excluded_at?: unknown;
5051
- /**
5052
- * Field included by default.
5053
- */
5054
4960
  filename: string;
5055
4961
  /**
5056
4962
  * Average confidence score across all extracted fields (0.0 to 1.0). Field included by default.
@@ -6207,7 +6113,7 @@ type PostWorkspacesResponses = {
6207
6113
  };
6208
6114
  };
6209
6115
  type PostWorkspacesResponse = PostWorkspacesResponses[keyof PostWorkspacesResponses];
6210
- type GetPaymentMethodsData = {
6116
+ type GetAgentsByIdStatsData = {
6211
6117
  body?: never;
6212
6118
  headers: {
6213
6119
  /**
@@ -6215,190 +6121,16 @@ type GetPaymentMethodsData = {
6215
6121
  */
6216
6122
  "x-application-key": string;
6217
6123
  };
6218
- path?: never;
6219
- query?: {
6220
- /**
6221
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
6222
- */
6223
- filter?: {
6224
- [key: string]: unknown;
6225
- };
6226
- /**
6227
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
6228
- */
6229
- sort?: string;
6230
- /**
6231
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
6232
- */
6233
- page?: {
6234
- [key: string]: unknown;
6235
- };
6236
- /**
6237
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6238
- */
6239
- include?: string;
6124
+ path: {
6240
6125
  /**
6241
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6126
+ * Agent ID (from URL path parameter)
6242
6127
  */
6243
- fields?: {
6244
- [key: string]: unknown;
6245
- };
6128
+ id: string;
6246
6129
  };
6247
- url: "/payment-methods";
6130
+ query?: never;
6131
+ url: "/agents/{id}/stats";
6248
6132
  };
6249
- type GetPaymentMethodsErrors = {
6250
- /**
6251
- * Bad Request - Invalid input data or malformed request
6252
- */
6253
- 400: ErrorResponse;
6254
- /**
6255
- * Unauthorized - Missing or invalid authentication token
6256
- */
6257
- 401: ErrorResponse;
6258
- /**
6259
- * Forbidden - Authenticated but not authorized for this resource
6260
- */
6261
- 403: ErrorResponse;
6262
- /**
6263
- * Not Found - Resource does not exist
6264
- */
6265
- 404: ErrorResponse;
6266
- /**
6267
- * Too Many Requests - Rate limit exceeded
6268
- */
6269
- 429: ErrorResponse;
6270
- /**
6271
- * Internal Server Error - Unexpected server error
6272
- */
6273
- 500: ErrorResponse;
6274
- /**
6275
- * General Error
6276
- */
6277
- default: Errors;
6278
- };
6279
- type GetPaymentMethodsError = GetPaymentMethodsErrors[keyof GetPaymentMethodsErrors];
6280
- type GetPaymentMethodsResponses = {
6281
- /**
6282
- * Success
6283
- */
6284
- 200: {
6285
- /**
6286
- * An array of resource objects representing a payment_method
6287
- */
6288
- data?: Array<PaymentMethod>;
6289
- included?: Array<unknown>;
6290
- meta?: {
6291
- [key: string]: unknown;
6292
- };
6293
- };
6294
- };
6295
- type GetPaymentMethodsResponse = GetPaymentMethodsResponses[keyof GetPaymentMethodsResponses];
6296
- type PostPaymentMethodsData = {
6297
- /**
6298
- * Request body for the /payment-methods operation on payment_method resource
6299
- */
6300
- body: {
6301
- data: {
6302
- attributes?: {
6303
- brand?: string | unknown;
6304
- customer_id: string;
6305
- exp_month?: number | unknown;
6306
- exp_year?: number | unknown;
6307
- is_default?: boolean | unknown;
6308
- last4?: string | unknown;
6309
- provider?: "qorpay" | unknown;
6310
- provider_token: string;
6311
- type: "card" | "bank_account";
6312
- };
6313
- relationships?: {
6314
- [key: string]: never;
6315
- };
6316
- type?: "payment_method";
6317
- };
6318
- };
6319
- headers: {
6320
- /**
6321
- * Application ID for authentication and routing
6322
- */
6323
- "x-application-key": string;
6324
- };
6325
- path?: never;
6326
- query?: {
6327
- /**
6328
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6329
- */
6330
- include?: string;
6331
- /**
6332
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6333
- */
6334
- fields?: {
6335
- [key: string]: unknown;
6336
- };
6337
- };
6338
- url: "/payment-methods";
6339
- };
6340
- type PostPaymentMethodsErrors = {
6341
- /**
6342
- * Bad Request - Invalid input data or malformed request
6343
- */
6344
- 400: ErrorResponse;
6345
- /**
6346
- * Unauthorized - Missing or invalid authentication token
6347
- */
6348
- 401: ErrorResponse;
6349
- /**
6350
- * Forbidden - Authenticated but not authorized for this resource
6351
- */
6352
- 403: ErrorResponse;
6353
- /**
6354
- * Not Found - Resource does not exist
6355
- */
6356
- 404: ErrorResponse;
6357
- /**
6358
- * Too Many Requests - Rate limit exceeded
6359
- */
6360
- 429: ErrorResponse;
6361
- /**
6362
- * Internal Server Error - Unexpected server error
6363
- */
6364
- 500: ErrorResponse;
6365
- /**
6366
- * General Error
6367
- */
6368
- default: Errors;
6369
- };
6370
- type PostPaymentMethodsError = PostPaymentMethodsErrors[keyof PostPaymentMethodsErrors];
6371
- type PostPaymentMethodsResponses = {
6372
- /**
6373
- * Success
6374
- */
6375
- 201: {
6376
- data?: PaymentMethod;
6377
- included?: Array<unknown>;
6378
- meta?: {
6379
- [key: string]: unknown;
6380
- };
6381
- };
6382
- };
6383
- type PostPaymentMethodsResponse = PostPaymentMethodsResponses[keyof PostPaymentMethodsResponses];
6384
- type GetAgentsByIdStatsData = {
6385
- body?: never;
6386
- headers: {
6387
- /**
6388
- * Application ID for authentication and routing
6389
- */
6390
- "x-application-key": string;
6391
- };
6392
- path: {
6393
- /**
6394
- * Agent ID (from URL path parameter)
6395
- */
6396
- id: string;
6397
- };
6398
- query?: never;
6399
- url: "/agents/{id}/stats";
6400
- };
6401
- type GetAgentsByIdStatsErrors = {
6133
+ type GetAgentsByIdStatsErrors = {
6402
6134
  /**
6403
6135
  * Bad Request - Invalid input data or malformed request
6404
6136
  */
@@ -7965,6 +7697,14 @@ type PatchExtractionDocumentsByIdStatusData = {
7965
7697
  body?: {
7966
7698
  data: {
7967
7699
  attributes?: {
7700
+ /**
7701
+ * The Agent that processed this document
7702
+ */
7703
+ agent_id?: string | unknown;
7704
+ /**
7705
+ * The specific version of the Agent that processed this document
7706
+ */
7707
+ agent_version_id?: string | unknown;
7968
7708
  /**
7969
7709
  * Average confidence score across all extracted fields (0.0 to 1.0)
7970
7710
  */
@@ -8826,6 +8566,88 @@ type PostConfigsResponses = {
8826
8566
  };
8827
8567
  };
8828
8568
  type PostConfigsResponse = PostConfigsResponses[keyof PostConfigsResponses];
8569
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData = {
8570
+ body?: never;
8571
+ headers: {
8572
+ /**
8573
+ * Application ID for authentication and routing
8574
+ */
8575
+ "x-application-key": string;
8576
+ };
8577
+ path: {
8578
+ agent_version_id: string;
8579
+ };
8580
+ query?: {
8581
+ /**
8582
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
8583
+ */
8584
+ filter?: {
8585
+ [key: string]: unknown;
8586
+ };
8587
+ /**
8588
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
8589
+ */
8590
+ sort?: string;
8591
+ /**
8592
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
8593
+ */
8594
+ include?: string;
8595
+ /**
8596
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
8597
+ */
8598
+ fields?: {
8599
+ [key: string]: unknown;
8600
+ };
8601
+ };
8602
+ url: "/agent_version_revisions/agent_versions/{agent_version_id}/revisions";
8603
+ };
8604
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors = {
8605
+ /**
8606
+ * Bad Request - Invalid input data or malformed request
8607
+ */
8608
+ 400: ErrorResponse;
8609
+ /**
8610
+ * Unauthorized - Missing or invalid authentication token
8611
+ */
8612
+ 401: ErrorResponse;
8613
+ /**
8614
+ * Forbidden - Authenticated but not authorized for this resource
8615
+ */
8616
+ 403: ErrorResponse;
8617
+ /**
8618
+ * Not Found - Resource does not exist
8619
+ */
8620
+ 404: ErrorResponse;
8621
+ /**
8622
+ * Too Many Requests - Rate limit exceeded
8623
+ */
8624
+ 429: ErrorResponse;
8625
+ /**
8626
+ * Internal Server Error - Unexpected server error
8627
+ */
8628
+ 500: ErrorResponse;
8629
+ /**
8630
+ * General Error
8631
+ */
8632
+ default: Errors;
8633
+ };
8634
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors];
8635
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses = {
8636
+ /**
8637
+ * Success
8638
+ */
8639
+ 200: {
8640
+ /**
8641
+ * An array of resource objects representing a agent_version_revision
8642
+ */
8643
+ data?: Array<AgentVersionRevision>;
8644
+ included?: Array<unknown>;
8645
+ meta?: {
8646
+ [key: string]: unknown;
8647
+ };
8648
+ };
8649
+ };
8650
+ type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse = GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses[keyof GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses];
8829
8651
  type PatchWalletAutoTopUpData = {
8830
8652
  /**
8831
8653
  * Request body for the /wallet/auto-top-up operation on wallet resource
@@ -8835,7 +8657,6 @@ type PatchWalletAutoTopUpData = {
8835
8657
  attributes?: {
8836
8658
  amount?: number | unknown;
8837
8659
  enabled: boolean;
8838
- package_id?: string | unknown;
8839
8660
  threshold?: number | unknown;
8840
8661
  };
8841
8662
  id: string;
@@ -10143,9 +9964,9 @@ type GetAgentsUsageResponses = {
10143
9964
  };
10144
9965
  };
10145
9966
  type GetAgentsUsageResponse = GetAgentsUsageResponses[keyof GetAgentsUsageResponses];
10146
- type PatchNotificationMethodsByIdSetPrimaryData = {
9967
+ type PatchWorkspacesByIdPopulateHashesData = {
10147
9968
  /**
10148
- * Request body for the /notification_methods/:id/set_primary operation on notification_method resource
9969
+ * Request body for the /workspaces/:id/populate-hashes operation on workspace resource
10149
9970
  */
10150
9971
  body?: {
10151
9972
  data: {
@@ -10156,7 +9977,7 @@ type PatchNotificationMethodsByIdSetPrimaryData = {
10156
9977
  relationships?: {
10157
9978
  [key: string]: never;
10158
9979
  };
10159
- type?: "notification_method";
9980
+ type?: "workspace";
10160
9981
  };
10161
9982
  };
10162
9983
  headers: {
@@ -10180,9 +10001,9 @@ type PatchNotificationMethodsByIdSetPrimaryData = {
10180
10001
  [key: string]: unknown;
10181
10002
  };
10182
10003
  };
10183
- url: "/notification_methods/{id}/set_primary";
10004
+ url: "/workspaces/{id}/populate-hashes";
10184
10005
  };
10185
- type PatchNotificationMethodsByIdSetPrimaryErrors = {
10006
+ type PatchWorkspacesByIdPopulateHashesErrors = {
10186
10007
  /**
10187
10008
  * Bad Request - Invalid input data or malformed request
10188
10009
  */
@@ -10212,22 +10033,36 @@ type PatchNotificationMethodsByIdSetPrimaryErrors = {
10212
10033
  */
10213
10034
  default: Errors;
10214
10035
  };
10215
- type PatchNotificationMethodsByIdSetPrimaryError = PatchNotificationMethodsByIdSetPrimaryErrors[keyof PatchNotificationMethodsByIdSetPrimaryErrors];
10216
- type PatchNotificationMethodsByIdSetPrimaryResponses = {
10036
+ type PatchWorkspacesByIdPopulateHashesError = PatchWorkspacesByIdPopulateHashesErrors[keyof PatchWorkspacesByIdPopulateHashesErrors];
10037
+ type PatchWorkspacesByIdPopulateHashesResponses = {
10217
10038
  /**
10218
10039
  * Success
10219
10040
  */
10220
10041
  200: {
10221
- data?: NotificationMethod;
10222
- included?: Array<unknown>;
10042
+ data?: Workspace;
10043
+ included?: Array<Tenant>;
10223
10044
  meta?: {
10224
10045
  [key: string]: unknown;
10225
10046
  };
10226
10047
  };
10227
10048
  };
10228
- type PatchNotificationMethodsByIdSetPrimaryResponse = PatchNotificationMethodsByIdSetPrimaryResponses[keyof PatchNotificationMethodsByIdSetPrimaryResponses];
10229
- type GetBucketsByIdObjectsData = {
10230
- body?: never;
10049
+ type PatchWorkspacesByIdPopulateHashesResponse = PatchWorkspacesByIdPopulateHashesResponses[keyof PatchWorkspacesByIdPopulateHashesResponses];
10050
+ type PatchNotificationMethodsByIdSetPrimaryData = {
10051
+ /**
10052
+ * Request body for the /notification_methods/:id/set_primary operation on notification_method resource
10053
+ */
10054
+ body?: {
10055
+ data: {
10056
+ attributes?: {
10057
+ [key: string]: never;
10058
+ };
10059
+ id: string;
10060
+ relationships?: {
10061
+ [key: string]: never;
10062
+ };
10063
+ type?: "notification_method";
10064
+ };
10065
+ };
10231
10066
  headers: {
10232
10067
  /**
10233
10068
  * Application ID for authentication and routing
@@ -10249,9 +10084,9 @@ type GetBucketsByIdObjectsData = {
10249
10084
  [key: string]: unknown;
10250
10085
  };
10251
10086
  };
10252
- url: "/buckets/{id}/objects";
10087
+ url: "/notification_methods/{id}/set_primary";
10253
10088
  };
10254
- type GetBucketsByIdObjectsErrors = {
10089
+ type PatchNotificationMethodsByIdSetPrimaryErrors = {
10255
10090
  /**
10256
10091
  * Bad Request - Invalid input data or malformed request
10257
10092
  */
@@ -10281,36 +10116,105 @@ type GetBucketsByIdObjectsErrors = {
10281
10116
  */
10282
10117
  default: Errors;
10283
10118
  };
10284
- type GetBucketsByIdObjectsError = GetBucketsByIdObjectsErrors[keyof GetBucketsByIdObjectsErrors];
10285
- type GetBucketsByIdObjectsResponses = {
10119
+ type PatchNotificationMethodsByIdSetPrimaryError = PatchNotificationMethodsByIdSetPrimaryErrors[keyof PatchNotificationMethodsByIdSetPrimaryErrors];
10120
+ type PatchNotificationMethodsByIdSetPrimaryResponses = {
10286
10121
  /**
10287
10122
  * Success
10288
10123
  */
10289
10124
  200: {
10290
- data?: _Object;
10125
+ data?: NotificationMethod;
10291
10126
  included?: Array<unknown>;
10292
10127
  meta?: {
10293
10128
  [key: string]: unknown;
10294
10129
  };
10295
10130
  };
10296
10131
  };
10297
- type GetBucketsByIdObjectsResponse = GetBucketsByIdObjectsResponses[keyof GetBucketsByIdObjectsResponses];
10298
- type PatchInvitationsByIdResendData = {
10299
- /**
10300
- * Request body for the /invitations/:id/resend operation on invitation resource
10301
- */
10302
- body?: {
10303
- data: {
10304
- attributes?: {
10305
- application_id?: string | unknown;
10306
- };
10307
- id: string;
10308
- relationships?: {
10309
- [key: string]: never;
10310
- };
10311
- type?: "invitation";
10312
- };
10313
- };
10132
+ type PatchNotificationMethodsByIdSetPrimaryResponse = PatchNotificationMethodsByIdSetPrimaryResponses[keyof PatchNotificationMethodsByIdSetPrimaryResponses];
10133
+ type GetBucketsByIdObjectsData = {
10134
+ body?: never;
10135
+ headers: {
10136
+ /**
10137
+ * Application ID for authentication and routing
10138
+ */
10139
+ "x-application-key": string;
10140
+ };
10141
+ path: {
10142
+ id: string;
10143
+ };
10144
+ query?: {
10145
+ /**
10146
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
10147
+ */
10148
+ include?: string;
10149
+ /**
10150
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
10151
+ */
10152
+ fields?: {
10153
+ [key: string]: unknown;
10154
+ };
10155
+ };
10156
+ url: "/buckets/{id}/objects";
10157
+ };
10158
+ type GetBucketsByIdObjectsErrors = {
10159
+ /**
10160
+ * Bad Request - Invalid input data or malformed request
10161
+ */
10162
+ 400: ErrorResponse;
10163
+ /**
10164
+ * Unauthorized - Missing or invalid authentication token
10165
+ */
10166
+ 401: ErrorResponse;
10167
+ /**
10168
+ * Forbidden - Authenticated but not authorized for this resource
10169
+ */
10170
+ 403: ErrorResponse;
10171
+ /**
10172
+ * Not Found - Resource does not exist
10173
+ */
10174
+ 404: ErrorResponse;
10175
+ /**
10176
+ * Too Many Requests - Rate limit exceeded
10177
+ */
10178
+ 429: ErrorResponse;
10179
+ /**
10180
+ * Internal Server Error - Unexpected server error
10181
+ */
10182
+ 500: ErrorResponse;
10183
+ /**
10184
+ * General Error
10185
+ */
10186
+ default: Errors;
10187
+ };
10188
+ type GetBucketsByIdObjectsError = GetBucketsByIdObjectsErrors[keyof GetBucketsByIdObjectsErrors];
10189
+ type GetBucketsByIdObjectsResponses = {
10190
+ /**
10191
+ * Success
10192
+ */
10193
+ 200: {
10194
+ data?: _Object;
10195
+ included?: Array<unknown>;
10196
+ meta?: {
10197
+ [key: string]: unknown;
10198
+ };
10199
+ };
10200
+ };
10201
+ type GetBucketsByIdObjectsResponse = GetBucketsByIdObjectsResponses[keyof GetBucketsByIdObjectsResponses];
10202
+ type PatchInvitationsByIdResendData = {
10203
+ /**
10204
+ * Request body for the /invitations/:id/resend operation on invitation resource
10205
+ */
10206
+ body?: {
10207
+ data: {
10208
+ attributes?: {
10209
+ application_id?: string | unknown;
10210
+ };
10211
+ id: string;
10212
+ relationships?: {
10213
+ [key: string]: never;
10214
+ };
10215
+ type?: "invitation";
10216
+ };
10217
+ };
10314
10218
  headers: {
10315
10219
  /**
10316
10220
  * Application ID for authentication and routing
@@ -16152,7 +16056,7 @@ type PatchExtractionDocumentsByIdReprocessData = {
16152
16056
  data: {
16153
16057
  attributes?: {
16154
16058
  /**
16155
- * The version of the agent/schema used to process this document
16059
+ * The version of the agent/schema used to process this document (e.g., 'v2')
16156
16060
  */
16157
16061
  schema_version?: string | unknown;
16158
16062
  schema_version_id?: string | unknown;
@@ -17544,6 +17448,7 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData = {
17544
17448
  [key: string]: unknown;
17545
17449
  };
17546
17450
  limit?: number;
17451
+ filter_by_threshold?: boolean;
17547
17452
  };
17548
17453
  url: "/extraction/documents/workspace/{workspace_id}/review_queue";
17549
17454
  };
@@ -18231,6 +18136,10 @@ type PatchWorkspacesByIdData = {
18231
18136
  data: {
18232
18137
  attributes?: {
18233
18138
  application_id?: string | unknown;
18139
+ /**
18140
+ * When true, documents with matching file_hash are deduplicated. When false, file_hash is discarded and duplicates are allowed.
18141
+ */
18142
+ deduplicate_uploads?: boolean | unknown;
18234
18143
  is_default?: boolean | unknown;
18235
18144
  low_balance_threshold?: number | unknown;
18236
18145
  name?: string | unknown;
@@ -18584,22 +18493,6 @@ type GetWalletInvoicesData = {
18584
18493
  };
18585
18494
  path?: never;
18586
18495
  query?: {
18587
- /**
18588
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
18589
- */
18590
- filter?: {
18591
- [key: string]: unknown;
18592
- };
18593
- /**
18594
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
18595
- */
18596
- sort?: string;
18597
- /**
18598
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
18599
- */
18600
- page?: {
18601
- [key: string]: unknown;
18602
- };
18603
18496
  /**
18604
18497
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18605
18498
  */
@@ -18649,11 +18542,8 @@ type GetWalletInvoicesResponses = {
18649
18542
  * Success
18650
18543
  */
18651
18544
  200: {
18652
- /**
18653
- * An array of resource objects representing a invoice
18654
- */
18655
- data?: Array<Invoice>;
18656
- included?: Array<unknown>;
18545
+ data?: Wallet;
18546
+ included?: Array<Plan>;
18657
18547
  meta?: {
18658
18548
  [key: string]: unknown;
18659
18549
  };
@@ -19208,7 +19098,7 @@ type PostAiGraphEdgesResponses = {
19208
19098
  };
19209
19099
  };
19210
19100
  type PostAiGraphEdgesResponse = PostAiGraphEdgesResponses[keyof PostAiGraphEdgesResponses];
19211
- type GetTrainingExamplesData = {
19101
+ type GetAgentVersionRevisionsByIdData = {
19212
19102
  body?: never;
19213
19103
  headers: {
19214
19104
  /**
@@ -19216,153 +19106,9 @@ type GetTrainingExamplesData = {
19216
19106
  */
19217
19107
  "x-application-key": string;
19218
19108
  };
19219
- path?: never;
19220
- query?: {
19221
- /**
19222
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19223
- */
19224
- filter?: {
19225
- [key: string]: unknown;
19226
- };
19227
- /**
19228
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19229
- */
19230
- sort?: string;
19231
- /**
19232
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19233
- */
19234
- page?: {
19235
- [key: string]: unknown;
19236
- };
19237
- /**
19238
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19239
- */
19240
- include?: string;
19241
- /**
19242
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19243
- */
19244
- fields?: {
19245
- [key: string]: unknown;
19246
- };
19247
- agent_id?: string;
19248
- field_name?: string;
19249
- document_type?: string;
19250
- inserted_at_gte?: unknown;
19251
- inserted_at_lte?: unknown;
19252
- };
19253
- url: "/training_examples";
19254
- };
19255
- type GetTrainingExamplesErrors = {
19256
- /**
19257
- * Bad Request - Invalid input data or malformed request
19258
- */
19259
- 400: ErrorResponse;
19260
- /**
19261
- * Unauthorized - Missing or invalid authentication token
19262
- */
19263
- 401: ErrorResponse;
19264
- /**
19265
- * Forbidden - Authenticated but not authorized for this resource
19266
- */
19267
- 403: ErrorResponse;
19268
- /**
19269
- * Not Found - Resource does not exist
19270
- */
19271
- 404: ErrorResponse;
19272
- /**
19273
- * Too Many Requests - Rate limit exceeded
19274
- */
19275
- 429: ErrorResponse;
19276
- /**
19277
- * Internal Server Error - Unexpected server error
19278
- */
19279
- 500: ErrorResponse;
19280
- /**
19281
- * General Error
19282
- */
19283
- default: Errors;
19284
- };
19285
- type GetTrainingExamplesError = GetTrainingExamplesErrors[keyof GetTrainingExamplesErrors];
19286
- type GetTrainingExamplesResponses = {
19287
- /**
19288
- * Success
19289
- */
19290
- 200: {
19291
- /**
19292
- * An array of resource objects representing a training_example
19293
- */
19294
- data?: Array<TrainingExample>;
19295
- included?: Array<ExtractionDocument>;
19296
- meta?: {
19297
- [key: string]: unknown;
19298
- };
19299
- };
19300
- };
19301
- type GetTrainingExamplesResponse = GetTrainingExamplesResponses[keyof GetTrainingExamplesResponses];
19302
- type PostTrainingExamplesData = {
19303
- /**
19304
- * Request body for the /training_examples operation on training_example resource
19305
- */
19306
- body: {
19307
- data: {
19308
- attributes?: {
19309
- agent_id: string;
19310
- /**
19311
- * The AI's confidence score for the original extraction (0.0 - 1.0)
19312
- */
19313
- confidence_score?: number | unknown;
19314
- /**
19315
- * The user's corrected value
19316
- */
19317
- corrected_value?: string | unknown;
19318
- /**
19319
- * Per-field correction reasons: %{field_name => reason_string}
19320
- */
19321
- correction_reasons?: {
19322
- [key: string]: unknown;
19323
- } | unknown;
19324
- document_id?: string | unknown;
19325
- /**
19326
- * The type of document (e.g., 'Invoice', 'Receipt', 'Contract')
19327
- */
19328
- document_type?: string | unknown;
19329
- /**
19330
- * The field name that was corrected (e.g., 'customer_name', 'total_amount')
19331
- */
19332
- field_name?: string | unknown;
19333
- input_text: string;
19334
- /**
19335
- * Whether this example was explicitly confirmed by a user
19336
- */
19337
- is_confirmed?: boolean | unknown;
19338
- /**
19339
- * The AI's original extraction value before user correction
19340
- */
19341
- original_value?: string | unknown;
19342
- output_json: {
19343
- [key: string]: unknown;
19344
- };
19345
- /**
19346
- * General note about these corrections (e.g., 'Poor OCR quality', 'Non-standard date format')
19347
- */
19348
- training_note?: string | unknown;
19349
- training_session_id?: string | unknown;
19350
- version_id?: string | unknown;
19351
- workspace_id?: string | unknown;
19352
- };
19353
- relationships?: {
19354
- [key: string]: never;
19355
- };
19356
- type?: "training_example";
19357
- };
19358
- };
19359
- headers: {
19360
- /**
19361
- * Application ID for authentication and routing
19362
- */
19363
- "x-application-key": string;
19109
+ path: {
19110
+ id: string;
19364
19111
  };
19365
- path?: never;
19366
19112
  query?: {
19367
19113
  /**
19368
19114
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -19375,9 +19121,222 @@ type PostTrainingExamplesData = {
19375
19121
  [key: string]: unknown;
19376
19122
  };
19377
19123
  };
19378
- url: "/training_examples";
19124
+ url: "/agent_version_revisions/{id}";
19379
19125
  };
19380
- type PostTrainingExamplesErrors = {
19126
+ type GetAgentVersionRevisionsByIdErrors = {
19127
+ /**
19128
+ * Bad Request - Invalid input data or malformed request
19129
+ */
19130
+ 400: ErrorResponse;
19131
+ /**
19132
+ * Unauthorized - Missing or invalid authentication token
19133
+ */
19134
+ 401: ErrorResponse;
19135
+ /**
19136
+ * Forbidden - Authenticated but not authorized for this resource
19137
+ */
19138
+ 403: ErrorResponse;
19139
+ /**
19140
+ * Not Found - Resource does not exist
19141
+ */
19142
+ 404: ErrorResponse;
19143
+ /**
19144
+ * Too Many Requests - Rate limit exceeded
19145
+ */
19146
+ 429: ErrorResponse;
19147
+ /**
19148
+ * Internal Server Error - Unexpected server error
19149
+ */
19150
+ 500: ErrorResponse;
19151
+ /**
19152
+ * General Error
19153
+ */
19154
+ default: Errors;
19155
+ };
19156
+ type GetAgentVersionRevisionsByIdError = GetAgentVersionRevisionsByIdErrors[keyof GetAgentVersionRevisionsByIdErrors];
19157
+ type GetAgentVersionRevisionsByIdResponses = {
19158
+ /**
19159
+ * Success
19160
+ */
19161
+ 200: {
19162
+ data?: AgentVersionRevision;
19163
+ included?: Array<unknown>;
19164
+ meta?: {
19165
+ [key: string]: unknown;
19166
+ };
19167
+ };
19168
+ };
19169
+ type GetAgentVersionRevisionsByIdResponse = GetAgentVersionRevisionsByIdResponses[keyof GetAgentVersionRevisionsByIdResponses];
19170
+ type GetTrainingExamplesData = {
19171
+ body?: never;
19172
+ headers: {
19173
+ /**
19174
+ * Application ID for authentication and routing
19175
+ */
19176
+ "x-application-key": string;
19177
+ };
19178
+ path?: never;
19179
+ query?: {
19180
+ /**
19181
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
19182
+ */
19183
+ filter?: {
19184
+ [key: string]: unknown;
19185
+ };
19186
+ /**
19187
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19188
+ */
19189
+ sort?: string;
19190
+ /**
19191
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
19192
+ */
19193
+ page?: {
19194
+ [key: string]: unknown;
19195
+ };
19196
+ /**
19197
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19198
+ */
19199
+ include?: string;
19200
+ /**
19201
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19202
+ */
19203
+ fields?: {
19204
+ [key: string]: unknown;
19205
+ };
19206
+ agent_id?: string;
19207
+ field_name?: string;
19208
+ document_type?: string;
19209
+ inserted_at_gte?: unknown;
19210
+ inserted_at_lte?: unknown;
19211
+ };
19212
+ url: "/training_examples";
19213
+ };
19214
+ type GetTrainingExamplesErrors = {
19215
+ /**
19216
+ * Bad Request - Invalid input data or malformed request
19217
+ */
19218
+ 400: ErrorResponse;
19219
+ /**
19220
+ * Unauthorized - Missing or invalid authentication token
19221
+ */
19222
+ 401: ErrorResponse;
19223
+ /**
19224
+ * Forbidden - Authenticated but not authorized for this resource
19225
+ */
19226
+ 403: ErrorResponse;
19227
+ /**
19228
+ * Not Found - Resource does not exist
19229
+ */
19230
+ 404: ErrorResponse;
19231
+ /**
19232
+ * Too Many Requests - Rate limit exceeded
19233
+ */
19234
+ 429: ErrorResponse;
19235
+ /**
19236
+ * Internal Server Error - Unexpected server error
19237
+ */
19238
+ 500: ErrorResponse;
19239
+ /**
19240
+ * General Error
19241
+ */
19242
+ default: Errors;
19243
+ };
19244
+ type GetTrainingExamplesError = GetTrainingExamplesErrors[keyof GetTrainingExamplesErrors];
19245
+ type GetTrainingExamplesResponses = {
19246
+ /**
19247
+ * Success
19248
+ */
19249
+ 200: {
19250
+ /**
19251
+ * An array of resource objects representing a training_example
19252
+ */
19253
+ data?: Array<TrainingExample>;
19254
+ included?: Array<ExtractionDocument>;
19255
+ meta?: {
19256
+ [key: string]: unknown;
19257
+ };
19258
+ };
19259
+ };
19260
+ type GetTrainingExamplesResponse = GetTrainingExamplesResponses[keyof GetTrainingExamplesResponses];
19261
+ type PostTrainingExamplesData = {
19262
+ /**
19263
+ * Request body for the /training_examples operation on training_example resource
19264
+ */
19265
+ body: {
19266
+ data: {
19267
+ attributes?: {
19268
+ agent_id: string;
19269
+ /**
19270
+ * The AI's confidence score for the original extraction (0.0 - 1.0)
19271
+ */
19272
+ confidence_score?: number | unknown;
19273
+ /**
19274
+ * The user's corrected value
19275
+ */
19276
+ corrected_value?: string | unknown;
19277
+ /**
19278
+ * Per-field correction reasons: %{field_name => reason_string}
19279
+ */
19280
+ correction_reasons?: {
19281
+ [key: string]: unknown;
19282
+ } | unknown;
19283
+ document_id?: string | unknown;
19284
+ /**
19285
+ * The type of document (e.g., 'Invoice', 'Receipt', 'Contract')
19286
+ */
19287
+ document_type?: string | unknown;
19288
+ /**
19289
+ * The field name that was corrected (e.g., 'customer_name', 'total_amount')
19290
+ */
19291
+ field_name?: string | unknown;
19292
+ input_text: string;
19293
+ /**
19294
+ * Whether this example was explicitly confirmed by a user
19295
+ */
19296
+ is_confirmed?: boolean | unknown;
19297
+ /**
19298
+ * The AI's original extraction value before user correction
19299
+ */
19300
+ original_value?: string | unknown;
19301
+ output_json: {
19302
+ [key: string]: unknown;
19303
+ };
19304
+ /**
19305
+ * General note about these corrections (e.g., 'Poor OCR quality', 'Non-standard date format')
19306
+ */
19307
+ training_note?: string | unknown;
19308
+ training_session_id?: string | unknown;
19309
+ version_id?: string | unknown;
19310
+ workspace_id?: string | unknown;
19311
+ };
19312
+ relationships?: {
19313
+ [key: string]: never;
19314
+ };
19315
+ type?: "training_example";
19316
+ };
19317
+ };
19318
+ headers: {
19319
+ /**
19320
+ * Application ID for authentication and routing
19321
+ */
19322
+ "x-application-key": string;
19323
+ };
19324
+ path?: never;
19325
+ query?: {
19326
+ /**
19327
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19328
+ */
19329
+ include?: string;
19330
+ /**
19331
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
19332
+ */
19333
+ fields?: {
19334
+ [key: string]: unknown;
19335
+ };
19336
+ };
19337
+ url: "/training_examples";
19338
+ };
19339
+ type PostTrainingExamplesErrors = {
19381
19340
  /**
19382
19341
  * Bad Request - Invalid input data or malformed request
19383
19342
  */
@@ -20996,6 +20955,7 @@ type PatchAgentsByIdData = {
20996
20955
  body?: {
20997
20956
  data: {
20998
20957
  attributes?: {
20958
+ change_summary?: string | unknown;
20999
20959
  default_instructions?: string | unknown;
21000
20960
  description?: string | unknown;
21001
20961
  domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | "extraction" | "municipal" | "logistics" | "utility" | unknown;
@@ -21007,7 +20967,6 @@ type PatchAgentsByIdData = {
21007
20967
  [key: string]: unknown;
21008
20968
  } | unknown;
21009
20969
  tags?: Array<string> | unknown;
21010
- version?: string | unknown;
21011
20970
  };
21012
20971
  id: string;
21013
20972
  relationships?: {
@@ -22568,8 +22527,28 @@ type PostThreadsByIdForkResponses = {
22568
22527
  };
22569
22528
  };
22570
22529
  type PostThreadsByIdForkResponse = PostThreadsByIdForkResponses[keyof PostThreadsByIdForkResponses];
22571
- type GetTransactionsData = {
22572
- body?: never;
22530
+ type PostExtractionDocumentsFindOrBeginUploadData = {
22531
+ /**
22532
+ * Request body for the /extraction/documents/find_or_begin_upload operation on extraction_document resource
22533
+ */
22534
+ body: {
22535
+ data: {
22536
+ attributes?: {
22537
+ batch_id?: string | unknown;
22538
+ content_type?: string | unknown;
22539
+ file_hash: string;
22540
+ file_size_bytes?: number | unknown;
22541
+ file_type?: string | unknown;
22542
+ filename: string;
22543
+ parent_document_id?: string | unknown;
22544
+ workspace_id: string;
22545
+ };
22546
+ relationships?: {
22547
+ [key: string]: never;
22548
+ };
22549
+ type?: "extraction_document";
22550
+ };
22551
+ };
22573
22552
  headers: {
22574
22553
  /**
22575
22554
  * Application ID for authentication and routing
@@ -22578,16 +22557,6 @@ type GetTransactionsData = {
22578
22557
  };
22579
22558
  path?: never;
22580
22559
  query?: {
22581
- /**
22582
- * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
22583
- */
22584
- filter?: {
22585
- [key: string]: unknown;
22586
- };
22587
- /**
22588
- * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
22589
- */
22590
- sort?: string;
22591
22560
  /**
22592
22561
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22593
22562
  */
@@ -22599,9 +22568,9 @@ type GetTransactionsData = {
22599
22568
  [key: string]: unknown;
22600
22569
  };
22601
22570
  };
22602
- url: "/transactions";
22571
+ url: "/extraction/documents/find_or_begin_upload";
22603
22572
  };
22604
- type GetTransactionsErrors = {
22573
+ type PostExtractionDocumentsFindOrBeginUploadErrors = {
22605
22574
  /**
22606
22575
  * Bad Request - Invalid input data or malformed request
22607
22576
  */
@@ -22631,24 +22600,21 @@ type GetTransactionsErrors = {
22631
22600
  */
22632
22601
  default: Errors;
22633
22602
  };
22634
- type GetTransactionsError = GetTransactionsErrors[keyof GetTransactionsErrors];
22635
- type GetTransactionsResponses = {
22603
+ type PostExtractionDocumentsFindOrBeginUploadError = PostExtractionDocumentsFindOrBeginUploadErrors[keyof PostExtractionDocumentsFindOrBeginUploadErrors];
22604
+ type PostExtractionDocumentsFindOrBeginUploadResponses = {
22636
22605
  /**
22637
22606
  * Success
22638
22607
  */
22639
- 200: {
22640
- /**
22641
- * An array of resource objects representing a transaction
22642
- */
22643
- data?: Array<Transaction>;
22644
- included?: Array<unknown>;
22608
+ 201: {
22609
+ data?: ExtractionDocument;
22610
+ included?: Array<ExtractionResult>;
22645
22611
  meta?: {
22646
22612
  [key: string]: unknown;
22647
22613
  };
22648
22614
  };
22649
22615
  };
22650
- type GetTransactionsResponse = GetTransactionsResponses[keyof GetTransactionsResponses];
22651
- type GetUserProfilesData = {
22616
+ type PostExtractionDocumentsFindOrBeginUploadResponse = PostExtractionDocumentsFindOrBeginUploadResponses[keyof PostExtractionDocumentsFindOrBeginUploadResponses];
22617
+ type GetTransactionsData = {
22652
22618
  body?: never;
22653
22619
  headers: {
22654
22620
  /**
@@ -22668,12 +22634,6 @@ type GetUserProfilesData = {
22668
22634
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
22669
22635
  */
22670
22636
  sort?: string;
22671
- /**
22672
- * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
22673
- */
22674
- page?: {
22675
- [key: string]: unknown;
22676
- };
22677
22637
  /**
22678
22638
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22679
22639
  */
@@ -22685,9 +22645,95 @@ type GetUserProfilesData = {
22685
22645
  [key: string]: unknown;
22686
22646
  };
22687
22647
  };
22688
- url: "/user_profiles";
22648
+ url: "/transactions";
22689
22649
  };
22690
- type GetUserProfilesErrors = {
22650
+ type GetTransactionsErrors = {
22651
+ /**
22652
+ * Bad Request - Invalid input data or malformed request
22653
+ */
22654
+ 400: ErrorResponse;
22655
+ /**
22656
+ * Unauthorized - Missing or invalid authentication token
22657
+ */
22658
+ 401: ErrorResponse;
22659
+ /**
22660
+ * Forbidden - Authenticated but not authorized for this resource
22661
+ */
22662
+ 403: ErrorResponse;
22663
+ /**
22664
+ * Not Found - Resource does not exist
22665
+ */
22666
+ 404: ErrorResponse;
22667
+ /**
22668
+ * Too Many Requests - Rate limit exceeded
22669
+ */
22670
+ 429: ErrorResponse;
22671
+ /**
22672
+ * Internal Server Error - Unexpected server error
22673
+ */
22674
+ 500: ErrorResponse;
22675
+ /**
22676
+ * General Error
22677
+ */
22678
+ default: Errors;
22679
+ };
22680
+ type GetTransactionsError = GetTransactionsErrors[keyof GetTransactionsErrors];
22681
+ type GetTransactionsResponses = {
22682
+ /**
22683
+ * Success
22684
+ */
22685
+ 200: {
22686
+ /**
22687
+ * An array of resource objects representing a transaction
22688
+ */
22689
+ data?: Array<Transaction>;
22690
+ included?: Array<unknown>;
22691
+ meta?: {
22692
+ [key: string]: unknown;
22693
+ };
22694
+ };
22695
+ };
22696
+ type GetTransactionsResponse = GetTransactionsResponses[keyof GetTransactionsResponses];
22697
+ type GetUserProfilesData = {
22698
+ body?: never;
22699
+ headers: {
22700
+ /**
22701
+ * Application ID for authentication and routing
22702
+ */
22703
+ "x-application-key": string;
22704
+ };
22705
+ path?: never;
22706
+ query?: {
22707
+ /**
22708
+ * JSON:API filter parameters (use flat query string format: filter[field][operator]=value)
22709
+ */
22710
+ filter?: {
22711
+ [key: string]: unknown;
22712
+ };
22713
+ /**
22714
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
22715
+ */
22716
+ sort?: string;
22717
+ /**
22718
+ * JSON:API pagination parameters (use flat query string format: page[limit]=20&page[offset]=0)
22719
+ */
22720
+ page?: {
22721
+ [key: string]: unknown;
22722
+ };
22723
+ /**
22724
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
22725
+ */
22726
+ include?: string;
22727
+ /**
22728
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
22729
+ */
22730
+ fields?: {
22731
+ [key: string]: unknown;
22732
+ };
22733
+ };
22734
+ url: "/user_profiles";
22735
+ };
22736
+ type GetUserProfilesErrors = {
22691
22737
  /**
22692
22738
  * Bad Request - Invalid input data or malformed request
22693
22739
  */
@@ -25758,354 +25804,140 @@ type PostUsersAuthRegisterErrors = {
25758
25804
  */
25759
25805
  default: Errors;
25760
25806
  };
25761
- type PostUsersAuthRegisterError = PostUsersAuthRegisterErrors[keyof PostUsersAuthRegisterErrors];
25762
- type PostUsersAuthRegisterResponses = {
25763
- /**
25764
- * Success
25765
- */
25766
- 201: {
25767
- data?: User;
25768
- included?: Array<unknown>;
25769
- meta?: {
25770
- [key: string]: unknown;
25771
- };
25772
- };
25773
- };
25774
- type PostUsersAuthRegisterResponse = PostUsersAuthRegisterResponses[keyof PostUsersAuthRegisterResponses];
25775
- type PostTrainingExamplesBulkData = {
25776
- /**
25777
- * Request body for the /training_examples/bulk operation on training_example resource
25778
- */
25779
- body: {
25780
- data: {
25781
- agent_id: string;
25782
- examples: Array<{
25783
- [key: string]: unknown;
25784
- }>;
25785
- };
25786
- };
25787
- headers: {
25788
- /**
25789
- * Application ID for authentication and routing
25790
- */
25791
- "x-application-key": string;
25792
- };
25793
- path?: never;
25794
- query?: never;
25795
- url: "/training_examples/bulk";
25796
- };
25797
- type PostTrainingExamplesBulkErrors = {
25798
- /**
25799
- * Bad Request - Invalid input data or malformed request
25800
- */
25801
- 400: ErrorResponse;
25802
- /**
25803
- * Unauthorized - Missing or invalid authentication token
25804
- */
25805
- 401: ErrorResponse;
25806
- /**
25807
- * Forbidden - Authenticated but not authorized for this resource
25808
- */
25809
- 403: ErrorResponse;
25810
- /**
25811
- * Not Found - Resource does not exist
25812
- */
25813
- 404: ErrorResponse;
25814
- /**
25815
- * Too Many Requests - Rate limit exceeded
25816
- */
25817
- 429: ErrorResponse;
25818
- /**
25819
- * Internal Server Error - Unexpected server error
25820
- */
25821
- 500: ErrorResponse;
25822
- /**
25823
- * General Error
25824
- */
25825
- default: Errors;
25826
- };
25827
- type PostTrainingExamplesBulkError = PostTrainingExamplesBulkErrors[keyof PostTrainingExamplesBulkErrors];
25828
- type PostTrainingExamplesBulkResponses = {
25829
- /**
25830
- * Success
25831
- */
25832
- 201: {
25833
- [key: string]: unknown;
25834
- };
25835
- };
25836
- type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
25837
- type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
25838
- body?: never;
25839
- headers: {
25840
- /**
25841
- * Application ID for authentication and routing
25842
- */
25843
- "x-application-key": string;
25844
- };
25845
- path: {
25846
- version_id: string;
25847
- /**
25848
- * Agent ID (automatically mapped from route)
25849
- */
25850
- id: string;
25851
- };
25852
- query?: never;
25853
- url: "/agents/{id}/schema_versions/{version_id}/activate";
25854
- };
25855
- type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
25856
- /**
25857
- * Bad Request - Invalid input data or malformed request
25858
- */
25859
- 400: ErrorResponse;
25860
- /**
25861
- * Unauthorized - Missing or invalid authentication token
25862
- */
25863
- 401: ErrorResponse;
25864
- /**
25865
- * Forbidden - Authenticated but not authorized for this resource
25866
- */
25867
- 403: ErrorResponse;
25868
- /**
25869
- * Not Found - Resource does not exist
25870
- */
25871
- 404: ErrorResponse;
25872
- /**
25873
- * Too Many Requests - Rate limit exceeded
25874
- */
25875
- 429: ErrorResponse;
25876
- /**
25877
- * Internal Server Error - Unexpected server error
25878
- */
25879
- 500: ErrorResponse;
25880
- /**
25881
- * General Error
25882
- */
25883
- default: Errors;
25884
- };
25885
- type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
25886
- type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
25887
- /**
25888
- * Success
25889
- */
25890
- 201: {
25891
- [key: string]: unknown;
25892
- };
25893
- };
25894
- type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
25895
- type DeletePaymentMethodsByIdData = {
25896
- body?: never;
25897
- headers: {
25898
- /**
25899
- * Application ID for authentication and routing
25900
- */
25901
- "x-application-key": string;
25902
- };
25903
- path: {
25904
- id: string;
25905
- };
25906
- query?: {
25907
- /**
25908
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
25909
- */
25910
- include?: string;
25911
- /**
25912
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
25913
- */
25914
- fields?: {
25915
- [key: string]: unknown;
25916
- };
25917
- };
25918
- url: "/payment-methods/{id}";
25919
- };
25920
- type DeletePaymentMethodsByIdErrors = {
25921
- /**
25922
- * Bad Request - Invalid input data or malformed request
25923
- */
25924
- 400: ErrorResponse;
25925
- /**
25926
- * Unauthorized - Missing or invalid authentication token
25927
- */
25928
- 401: ErrorResponse;
25929
- /**
25930
- * Forbidden - Authenticated but not authorized for this resource
25931
- */
25932
- 403: ErrorResponse;
25933
- /**
25934
- * Not Found - Resource does not exist
25935
- */
25936
- 404: ErrorResponse;
25937
- /**
25938
- * Too Many Requests - Rate limit exceeded
25939
- */
25940
- 429: ErrorResponse;
25941
- /**
25942
- * Internal Server Error - Unexpected server error
25943
- */
25944
- 500: ErrorResponse;
25945
- /**
25946
- * General Error
25947
- */
25948
- default: Errors;
25949
- };
25950
- type DeletePaymentMethodsByIdError = DeletePaymentMethodsByIdErrors[keyof DeletePaymentMethodsByIdErrors];
25951
- type DeletePaymentMethodsByIdResponses = {
25952
- /**
25953
- * Deleted successfully
25954
- */
25955
- 200: unknown;
25956
- };
25957
- type GetPaymentMethodsByIdData = {
25958
- body?: never;
25959
- headers: {
25960
- /**
25961
- * Application ID for authentication and routing
25962
- */
25963
- "x-application-key": string;
25964
- };
25965
- path: {
25966
- id: string;
25967
- };
25968
- query?: {
25969
- /**
25970
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
25971
- */
25972
- include?: string;
25973
- /**
25974
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
25975
- */
25976
- fields?: {
25977
- [key: string]: unknown;
25978
- };
25979
- };
25980
- url: "/payment-methods/{id}";
25981
- };
25982
- type GetPaymentMethodsByIdErrors = {
25983
- /**
25984
- * Bad Request - Invalid input data or malformed request
25985
- */
25986
- 400: ErrorResponse;
25987
- /**
25988
- * Unauthorized - Missing or invalid authentication token
25989
- */
25990
- 401: ErrorResponse;
25991
- /**
25992
- * Forbidden - Authenticated but not authorized for this resource
25993
- */
25994
- 403: ErrorResponse;
25995
- /**
25996
- * Not Found - Resource does not exist
25997
- */
25998
- 404: ErrorResponse;
25999
- /**
26000
- * Too Many Requests - Rate limit exceeded
26001
- */
26002
- 429: ErrorResponse;
26003
- /**
26004
- * Internal Server Error - Unexpected server error
26005
- */
26006
- 500: ErrorResponse;
26007
- /**
26008
- * General Error
26009
- */
26010
- default: Errors;
26011
- };
26012
- type GetPaymentMethodsByIdError = GetPaymentMethodsByIdErrors[keyof GetPaymentMethodsByIdErrors];
26013
- type GetPaymentMethodsByIdResponses = {
26014
- /**
26015
- * Success
26016
- */
26017
- 200: {
26018
- data?: PaymentMethod;
26019
- included?: Array<unknown>;
26020
- meta?: {
26021
- [key: string]: unknown;
26022
- };
26023
- };
26024
- };
26025
- type GetPaymentMethodsByIdResponse = GetPaymentMethodsByIdResponses[keyof GetPaymentMethodsByIdResponses];
26026
- type PatchPaymentMethodsByIdData = {
26027
- /**
26028
- * Request body for the /payment-methods/:id operation on payment_method resource
26029
- */
26030
- body?: {
26031
- data: {
26032
- attributes?: {
26033
- is_default?: boolean | unknown;
26034
- };
26035
- id: string;
26036
- relationships?: {
26037
- [key: string]: never;
26038
- };
26039
- type?: "payment_method";
26040
- };
26041
- };
26042
- headers: {
26043
- /**
26044
- * Application ID for authentication and routing
26045
- */
26046
- "x-application-key": string;
26047
- };
26048
- path: {
26049
- id: string;
26050
- };
26051
- query?: {
26052
- /**
26053
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
26054
- */
26055
- include?: string;
26056
- /**
26057
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
26058
- */
26059
- fields?: {
26060
- [key: string]: unknown;
26061
- };
26062
- };
26063
- url: "/payment-methods/{id}";
26064
- };
26065
- type PatchPaymentMethodsByIdErrors = {
26066
- /**
26067
- * Bad Request - Invalid input data or malformed request
26068
- */
26069
- 400: ErrorResponse;
26070
- /**
26071
- * Unauthorized - Missing or invalid authentication token
26072
- */
26073
- 401: ErrorResponse;
26074
- /**
26075
- * Forbidden - Authenticated but not authorized for this resource
26076
- */
26077
- 403: ErrorResponse;
26078
- /**
26079
- * Not Found - Resource does not exist
26080
- */
26081
- 404: ErrorResponse;
26082
- /**
26083
- * Too Many Requests - Rate limit exceeded
26084
- */
26085
- 429: ErrorResponse;
26086
- /**
26087
- * Internal Server Error - Unexpected server error
26088
- */
26089
- 500: ErrorResponse;
26090
- /**
26091
- * General Error
26092
- */
26093
- default: Errors;
26094
- };
26095
- type PatchPaymentMethodsByIdError = PatchPaymentMethodsByIdErrors[keyof PatchPaymentMethodsByIdErrors];
26096
- type PatchPaymentMethodsByIdResponses = {
25807
+ type PostUsersAuthRegisterError = PostUsersAuthRegisterErrors[keyof PostUsersAuthRegisterErrors];
25808
+ type PostUsersAuthRegisterResponses = {
26097
25809
  /**
26098
25810
  * Success
26099
25811
  */
26100
- 200: {
26101
- data?: PaymentMethod;
25812
+ 201: {
25813
+ data?: User;
26102
25814
  included?: Array<unknown>;
26103
25815
  meta?: {
26104
25816
  [key: string]: unknown;
26105
25817
  };
26106
25818
  };
26107
25819
  };
26108
- type PatchPaymentMethodsByIdResponse = PatchPaymentMethodsByIdResponses[keyof PatchPaymentMethodsByIdResponses];
25820
+ type PostUsersAuthRegisterResponse = PostUsersAuthRegisterResponses[keyof PostUsersAuthRegisterResponses];
25821
+ type PostTrainingExamplesBulkData = {
25822
+ /**
25823
+ * Request body for the /training_examples/bulk operation on training_example resource
25824
+ */
25825
+ body: {
25826
+ data: {
25827
+ agent_id: string;
25828
+ examples: Array<{
25829
+ [key: string]: unknown;
25830
+ }>;
25831
+ };
25832
+ };
25833
+ headers: {
25834
+ /**
25835
+ * Application ID for authentication and routing
25836
+ */
25837
+ "x-application-key": string;
25838
+ };
25839
+ path?: never;
25840
+ query?: never;
25841
+ url: "/training_examples/bulk";
25842
+ };
25843
+ type PostTrainingExamplesBulkErrors = {
25844
+ /**
25845
+ * Bad Request - Invalid input data or malformed request
25846
+ */
25847
+ 400: ErrorResponse;
25848
+ /**
25849
+ * Unauthorized - Missing or invalid authentication token
25850
+ */
25851
+ 401: ErrorResponse;
25852
+ /**
25853
+ * Forbidden - Authenticated but not authorized for this resource
25854
+ */
25855
+ 403: ErrorResponse;
25856
+ /**
25857
+ * Not Found - Resource does not exist
25858
+ */
25859
+ 404: ErrorResponse;
25860
+ /**
25861
+ * Too Many Requests - Rate limit exceeded
25862
+ */
25863
+ 429: ErrorResponse;
25864
+ /**
25865
+ * Internal Server Error - Unexpected server error
25866
+ */
25867
+ 500: ErrorResponse;
25868
+ /**
25869
+ * General Error
25870
+ */
25871
+ default: Errors;
25872
+ };
25873
+ type PostTrainingExamplesBulkError = PostTrainingExamplesBulkErrors[keyof PostTrainingExamplesBulkErrors];
25874
+ type PostTrainingExamplesBulkResponses = {
25875
+ /**
25876
+ * Success
25877
+ */
25878
+ 201: {
25879
+ [key: string]: unknown;
25880
+ };
25881
+ };
25882
+ type PostTrainingExamplesBulkResponse = PostTrainingExamplesBulkResponses[keyof PostTrainingExamplesBulkResponses];
25883
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateData = {
25884
+ body?: never;
25885
+ headers: {
25886
+ /**
25887
+ * Application ID for authentication and routing
25888
+ */
25889
+ "x-application-key": string;
25890
+ };
25891
+ path: {
25892
+ version_id: string;
25893
+ /**
25894
+ * Agent ID (automatically mapped from route)
25895
+ */
25896
+ id: string;
25897
+ };
25898
+ query?: never;
25899
+ url: "/agents/{id}/schema_versions/{version_id}/activate";
25900
+ };
25901
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors = {
25902
+ /**
25903
+ * Bad Request - Invalid input data or malformed request
25904
+ */
25905
+ 400: ErrorResponse;
25906
+ /**
25907
+ * Unauthorized - Missing or invalid authentication token
25908
+ */
25909
+ 401: ErrorResponse;
25910
+ /**
25911
+ * Forbidden - Authenticated but not authorized for this resource
25912
+ */
25913
+ 403: ErrorResponse;
25914
+ /**
25915
+ * Not Found - Resource does not exist
25916
+ */
25917
+ 404: ErrorResponse;
25918
+ /**
25919
+ * Too Many Requests - Rate limit exceeded
25920
+ */
25921
+ 429: ErrorResponse;
25922
+ /**
25923
+ * Internal Server Error - Unexpected server error
25924
+ */
25925
+ 500: ErrorResponse;
25926
+ /**
25927
+ * General Error
25928
+ */
25929
+ default: Errors;
25930
+ };
25931
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateError = PostAgentsByIdSchemaVersionsByVersionIdActivateErrors[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateErrors];
25932
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses = {
25933
+ /**
25934
+ * Success
25935
+ */
25936
+ 201: {
25937
+ [key: string]: unknown;
25938
+ };
25939
+ };
25940
+ type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse = PostAgentsByIdSchemaVersionsByVersionIdActivateResponses[keyof PostAgentsByIdSchemaVersionsByVersionIdActivateResponses];
26109
25941
  type DeleteBucketsByIdData = {
26110
25942
  body?: never;
26111
25943
  headers: {
@@ -28700,182 +28532,114 @@ type GetNotificationMethodsErrors = {
28700
28532
  */
28701
28533
  default: Errors;
28702
28534
  };
28703
- type GetNotificationMethodsError = GetNotificationMethodsErrors[keyof GetNotificationMethodsErrors];
28704
- type GetNotificationMethodsResponses = {
28705
- /**
28706
- * Success
28707
- */
28708
- 200: {
28709
- /**
28710
- * An array of resource objects representing a notification_method
28711
- */
28712
- data?: Array<NotificationMethod>;
28713
- included?: Array<unknown>;
28714
- meta?: {
28715
- [key: string]: unknown;
28716
- };
28717
- };
28718
- };
28719
- type GetNotificationMethodsResponse = GetNotificationMethodsResponses[keyof GetNotificationMethodsResponses];
28720
- type PostNotificationMethodsData = {
28721
- /**
28722
- * Request body for the /notification_methods operation on notification_method resource
28723
- */
28724
- body: {
28725
- data: {
28726
- attributes?: {
28727
- /**
28728
- * Configuration for the method, e.g. %{email: 'foo@bar.com'} or %{url: '...'}
28729
- */
28730
- config?: {
28731
- [key: string]: unknown;
28732
- } | unknown;
28733
- /**
28734
- * User-friendly name, e.g. 'Personal Email'
28735
- */
28736
- name: string;
28737
- type: "email" | "sms" | "slack_webhook" | "generic_webhook";
28738
- user_id: string;
28739
- };
28740
- relationships?: {
28741
- [key: string]: never;
28742
- };
28743
- type?: "notification_method";
28744
- };
28745
- };
28746
- headers: {
28747
- /**
28748
- * Application ID for authentication and routing
28749
- */
28750
- "x-application-key": string;
28751
- };
28752
- path?: never;
28753
- query?: {
28754
- /**
28755
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
28756
- */
28757
- include?: string;
28758
- /**
28759
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
28760
- */
28761
- fields?: {
28762
- [key: string]: unknown;
28763
- };
28764
- };
28765
- url: "/notification_methods";
28766
- };
28767
- type PostNotificationMethodsErrors = {
28768
- /**
28769
- * Bad Request - Invalid input data or malformed request
28770
- */
28771
- 400: ErrorResponse;
28772
- /**
28773
- * Unauthorized - Missing or invalid authentication token
28774
- */
28775
- 401: ErrorResponse;
28776
- /**
28777
- * Forbidden - Authenticated but not authorized for this resource
28778
- */
28779
- 403: ErrorResponse;
28780
- /**
28781
- * Not Found - Resource does not exist
28782
- */
28783
- 404: ErrorResponse;
28784
- /**
28785
- * Too Many Requests - Rate limit exceeded
28786
- */
28787
- 429: ErrorResponse;
28788
- /**
28789
- * Internal Server Error - Unexpected server error
28790
- */
28791
- 500: ErrorResponse;
28792
- /**
28793
- * General Error
28794
- */
28795
- default: Errors;
28796
- };
28797
- type PostNotificationMethodsError = PostNotificationMethodsErrors[keyof PostNotificationMethodsErrors];
28798
- type PostNotificationMethodsResponses = {
28799
- /**
28800
- * Success
28801
- */
28802
- 201: {
28803
- data?: NotificationMethod;
28804
- included?: Array<unknown>;
28805
- meta?: {
28806
- [key: string]: unknown;
28807
- };
28808
- };
28809
- };
28810
- type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
28811
- type GetWalletPlanPreviewData = {
28812
- body?: never;
28813
- headers: {
28814
- /**
28815
- * Application ID for authentication and routing
28816
- */
28817
- "x-application-key": string;
28818
- };
28819
- path?: never;
28820
- query: {
28821
- /**
28822
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
28823
- */
28824
- include?: string;
28825
- /**
28826
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
28827
- */
28828
- fields?: {
28829
- [key: string]: unknown;
28830
- };
28831
- plan_slug: string;
28832
- };
28833
- url: "/wallet/plan/preview";
28834
- };
28835
- type GetWalletPlanPreviewErrors = {
28836
- /**
28837
- * Bad Request - Invalid input data or malformed request
28838
- */
28839
- 400: ErrorResponse;
28840
- /**
28841
- * Unauthorized - Missing or invalid authentication token
28842
- */
28843
- 401: ErrorResponse;
28844
- /**
28845
- * Forbidden - Authenticated but not authorized for this resource
28846
- */
28847
- 403: ErrorResponse;
28848
- /**
28849
- * Not Found - Resource does not exist
28850
- */
28851
- 404: ErrorResponse;
28852
- /**
28853
- * Too Many Requests - Rate limit exceeded
28854
- */
28855
- 429: ErrorResponse;
28856
- /**
28857
- * Internal Server Error - Unexpected server error
28858
- */
28859
- 500: ErrorResponse;
28860
- /**
28861
- * General Error
28862
- */
28863
- default: Errors;
28864
- };
28865
- type GetWalletPlanPreviewError = GetWalletPlanPreviewErrors[keyof GetWalletPlanPreviewErrors];
28866
- type GetWalletPlanPreviewResponses = {
28535
+ type GetNotificationMethodsError = GetNotificationMethodsErrors[keyof GetNotificationMethodsErrors];
28536
+ type GetNotificationMethodsResponses = {
28867
28537
  /**
28868
28538
  * Success
28869
28539
  */
28870
28540
  200: {
28871
- data?: Wallet;
28872
- included?: Array<Plan>;
28541
+ /**
28542
+ * An array of resource objects representing a notification_method
28543
+ */
28544
+ data?: Array<NotificationMethod>;
28545
+ included?: Array<unknown>;
28873
28546
  meta?: {
28874
28547
  [key: string]: unknown;
28875
28548
  };
28876
28549
  };
28877
28550
  };
28878
- type GetWalletPlanPreviewResponse = GetWalletPlanPreviewResponses[keyof GetWalletPlanPreviewResponses];
28551
+ type GetNotificationMethodsResponse = GetNotificationMethodsResponses[keyof GetNotificationMethodsResponses];
28552
+ type PostNotificationMethodsData = {
28553
+ /**
28554
+ * Request body for the /notification_methods operation on notification_method resource
28555
+ */
28556
+ body: {
28557
+ data: {
28558
+ attributes?: {
28559
+ /**
28560
+ * Configuration for the method, e.g. %{email: 'foo@bar.com'} or %{url: '...'}
28561
+ */
28562
+ config?: {
28563
+ [key: string]: unknown;
28564
+ } | unknown;
28565
+ /**
28566
+ * User-friendly name, e.g. 'Personal Email'
28567
+ */
28568
+ name: string;
28569
+ type: "email" | "sms" | "slack_webhook" | "generic_webhook";
28570
+ user_id: string;
28571
+ };
28572
+ relationships?: {
28573
+ [key: string]: never;
28574
+ };
28575
+ type?: "notification_method";
28576
+ };
28577
+ };
28578
+ headers: {
28579
+ /**
28580
+ * Application ID for authentication and routing
28581
+ */
28582
+ "x-application-key": string;
28583
+ };
28584
+ path?: never;
28585
+ query?: {
28586
+ /**
28587
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
28588
+ */
28589
+ include?: string;
28590
+ /**
28591
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
28592
+ */
28593
+ fields?: {
28594
+ [key: string]: unknown;
28595
+ };
28596
+ };
28597
+ url: "/notification_methods";
28598
+ };
28599
+ type PostNotificationMethodsErrors = {
28600
+ /**
28601
+ * Bad Request - Invalid input data or malformed request
28602
+ */
28603
+ 400: ErrorResponse;
28604
+ /**
28605
+ * Unauthorized - Missing or invalid authentication token
28606
+ */
28607
+ 401: ErrorResponse;
28608
+ /**
28609
+ * Forbidden - Authenticated but not authorized for this resource
28610
+ */
28611
+ 403: ErrorResponse;
28612
+ /**
28613
+ * Not Found - Resource does not exist
28614
+ */
28615
+ 404: ErrorResponse;
28616
+ /**
28617
+ * Too Many Requests - Rate limit exceeded
28618
+ */
28619
+ 429: ErrorResponse;
28620
+ /**
28621
+ * Internal Server Error - Unexpected server error
28622
+ */
28623
+ 500: ErrorResponse;
28624
+ /**
28625
+ * General Error
28626
+ */
28627
+ default: Errors;
28628
+ };
28629
+ type PostNotificationMethodsError = PostNotificationMethodsErrors[keyof PostNotificationMethodsErrors];
28630
+ type PostNotificationMethodsResponses = {
28631
+ /**
28632
+ * Success
28633
+ */
28634
+ 201: {
28635
+ data?: NotificationMethod;
28636
+ included?: Array<unknown>;
28637
+ meta?: {
28638
+ [key: string]: unknown;
28639
+ };
28640
+ };
28641
+ };
28642
+ type PostNotificationMethodsResponse = PostNotificationMethodsResponses[keyof PostNotificationMethodsResponses];
28879
28643
  type PostThreadsByIdSummarizeData = {
28880
28644
  /**
28881
28645
  * Request body for the /threads/:id/summarize operation on thread resource
@@ -29133,14 +28897,36 @@ type PostExtractionResultsData = {
29133
28897
  body: {
29134
28898
  data: {
29135
28899
  attributes?: {
29136
- agent_id: string;
28900
+ /**
28901
+ * The Agent that performed this extraction
28902
+ */
28903
+ agent_id?: string | unknown;
28904
+ /**
28905
+ * The specific version of the Agent that performed this extraction
28906
+ */
29137
28907
  agent_version_id?: string | unknown;
28908
+ /**
28909
+ * Average confidence across all extracted fields
28910
+ */
28911
+ avg_confidence?: number | unknown;
29138
28912
  /**
29139
28913
  * Character count of extracted text
29140
28914
  */
29141
28915
  char_count?: number | unknown;
28916
+ /**
28917
+ * Overall classification confidence score
28918
+ */
28919
+ classification_confidence?: number | unknown;
29142
28920
  credits_used?: string | unknown;
29143
28921
  document_id: string;
28922
+ /**
28923
+ * Specific document type (Traffic Citation, Invoice, etc.)
28924
+ */
28925
+ document_type?: string | unknown;
28926
+ /**
28927
+ * Document domain (legal, financial, medical, etc.)
28928
+ */
28929
+ domain?: string | unknown;
29144
28930
  extracted_fields?: {
29145
28931
  [key: string]: unknown;
29146
28932
  } | unknown;
@@ -29161,6 +28947,10 @@ type PostExtractionResultsData = {
29161
28947
  * LLM model used for extraction
29162
28948
  */
29163
28949
  llm_model?: string | unknown;
28950
+ /**
28951
+ * Municipality or agency name
28952
+ */
28953
+ municipality?: string | unknown;
29164
28954
  ocr_blocks?: Array<{
29165
28955
  [key: string]: unknown;
29166
28956
  }> | unknown;
@@ -29171,9 +28961,17 @@ type PostExtractionResultsData = {
29171
28961
  processing_time_ms?: number | unknown;
29172
28962
  schema_id?: string | unknown;
29173
28963
  /**
29174
- * The version of the schema/agent used for this extraction
28964
+ * The revision within the schema version (e.g., 5 means 'v2 rev 5')
28965
+ */
28966
+ schema_revision?: number | unknown;
28967
+ /**
28968
+ * The version of the schema/agent used for this extraction (e.g., 'v2')
29175
28969
  */
29176
28970
  schema_version?: string | unknown;
28971
+ /**
28972
+ * State code
28973
+ */
28974
+ state?: string | unknown;
29177
28975
  status?: "pending" | "completed" | "failed" | unknown;
29178
28976
  used_training_example_ids?: Array<string> | unknown;
29179
28977
  /**
@@ -31856,12 +31654,15 @@ type PostAgentsData = {
31856
31654
  schema_definition?: {
31857
31655
  [key: string]: unknown;
31858
31656
  } | unknown;
31657
+ /**
31658
+ * Version number of the base agent at clone time (e.g., 'v2'). Nil for base agents.
31659
+ */
31660
+ source_version?: string | unknown;
31859
31661
  tags?: Array<string> | unknown;
31860
31662
  /**
31861
31663
  * Denormalized from workspace for unique name constraint
31862
31664
  */
31863
31665
  tenant_id?: string | unknown;
31864
- version?: string | unknown;
31865
31666
  workspace_id?: string | unknown;
31866
31667
  };
31867
31668
  relationships?: {
@@ -32171,89 +31972,6 @@ type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses = {
32171
31972
  };
32172
31973
  };
32173
31974
  type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse = PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses[keyof PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses];
32174
- type PatchPaymentMethodsByIdDefaultData = {
32175
- /**
32176
- * Request body for the /payment-methods/:id/default operation on payment_method resource
32177
- */
32178
- body?: {
32179
- data: {
32180
- attributes?: {
32181
- [key: string]: never;
32182
- };
32183
- id: string;
32184
- relationships?: {
32185
- [key: string]: never;
32186
- };
32187
- type?: "payment_method";
32188
- };
32189
- };
32190
- headers: {
32191
- /**
32192
- * Application ID for authentication and routing
32193
- */
32194
- "x-application-key": string;
32195
- };
32196
- path: {
32197
- id: string;
32198
- };
32199
- query?: {
32200
- /**
32201
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
32202
- */
32203
- include?: string;
32204
- /**
32205
- * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
32206
- */
32207
- fields?: {
32208
- [key: string]: unknown;
32209
- };
32210
- };
32211
- url: "/payment-methods/{id}/default";
32212
- };
32213
- type PatchPaymentMethodsByIdDefaultErrors = {
32214
- /**
32215
- * Bad Request - Invalid input data or malformed request
32216
- */
32217
- 400: ErrorResponse;
32218
- /**
32219
- * Unauthorized - Missing or invalid authentication token
32220
- */
32221
- 401: ErrorResponse;
32222
- /**
32223
- * Forbidden - Authenticated but not authorized for this resource
32224
- */
32225
- 403: ErrorResponse;
32226
- /**
32227
- * Not Found - Resource does not exist
32228
- */
32229
- 404: ErrorResponse;
32230
- /**
32231
- * Too Many Requests - Rate limit exceeded
32232
- */
32233
- 429: ErrorResponse;
32234
- /**
32235
- * Internal Server Error - Unexpected server error
32236
- */
32237
- 500: ErrorResponse;
32238
- /**
32239
- * General Error
32240
- */
32241
- default: Errors;
32242
- };
32243
- type PatchPaymentMethodsByIdDefaultError = PatchPaymentMethodsByIdDefaultErrors[keyof PatchPaymentMethodsByIdDefaultErrors];
32244
- type PatchPaymentMethodsByIdDefaultResponses = {
32245
- /**
32246
- * Success
32247
- */
32248
- 200: {
32249
- data?: PaymentMethod;
32250
- included?: Array<unknown>;
32251
- meta?: {
32252
- [key: string]: unknown;
32253
- };
32254
- };
32255
- };
32256
- type PatchPaymentMethodsByIdDefaultResponse = PatchPaymentMethodsByIdDefaultResponses[keyof PatchPaymentMethodsByIdDefaultResponses];
32257
31975
  type PostAgentsByIdExportData = {
32258
31976
  body?: never;
32259
31977
  headers: {
@@ -33661,26 +33379,6 @@ declare const getWorkspaces: <ThrowOnError extends boolean = false>(options: Opt
33661
33379
  *
33662
33380
  */
33663
33381
  declare const postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
33664
- /**
33665
- * List payment methods
33666
- *
33667
- * Lists resources with optional filtering, sorting, and pagination.
33668
- *
33669
- * **Authentication:** Required - Bearer token or API key
33670
- * **Rate Limit:** 100 requests per minute
33671
- *
33672
- */
33673
- declare const getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
33674
- /**
33675
- * Create payment methods
33676
- *
33677
- * Creates a new resource. Returns the created resource with generated ID.
33678
- *
33679
- * **Authentication:** Required - Bearer token or API key
33680
- * **Rate Limit:** 100 requests per minute
33681
- *
33682
- */
33683
- declare const postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
33684
33382
  /**
33685
33383
  * Get stats
33686
33384
  *
@@ -33955,6 +33653,16 @@ declare const getConfigs: <ThrowOnError extends boolean = false>(options: Option
33955
33653
  *
33956
33654
  */
33957
33655
  declare const postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
33656
+ /**
33657
+ * Get revisions
33658
+ *
33659
+ * Retrieves a single resource by ID.
33660
+ *
33661
+ * **Authentication:** Required - Bearer token or API key
33662
+ * **Rate Limit:** 100 requests per minute
33663
+ *
33664
+ */
33665
+ declare const getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
33958
33666
  /**
33959
33667
  * Update auto top up
33960
33668
  *
@@ -34089,6 +33797,12 @@ declare const postApplicationsByApplicationIdEmailTemplates: <ThrowOnError exten
34089
33797
  * Get workspaces that own or use all accessible agents (batch endpoint, max 500 agents)
34090
33798
  */
34091
33799
  declare const getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
33800
+ /**
33801
+ * Update populate hashes
33802
+ *
33803
+ * Enqueue background job to compute file_hash for documents missing it
33804
+ */
33805
+ declare const patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
34092
33806
  /**
34093
33807
  * Update set primary
34094
33808
  *
@@ -35086,11 +34800,7 @@ declare const postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = fals
35086
34800
  /**
35087
34801
  * List invoices
35088
34802
  *
35089
- * Lists resources with optional filtering, sorting, and pagination.
35090
- *
35091
- * **Authentication:** Required - Bearer token or API key
35092
- * **Rate Limit:** 100 requests per minute
35093
- *
34803
+ * Get billing invoices/history for the current tenant
35094
34804
  */
35095
34805
  declare const getWalletInvoices: <ThrowOnError extends boolean = false>(options: Options<GetWalletInvoicesData, ThrowOnError>) => RequestResult<GetWalletInvoicesResponses, GetWalletInvoicesErrors, ThrowOnError, "fields">;
35096
34806
  /**
@@ -35159,6 +34869,16 @@ declare const getAiGraphEdges: <ThrowOnError extends boolean = false>(options: O
35159
34869
  *
35160
34870
  */
35161
34871
  declare const postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
34872
+ /**
34873
+ * Get agent version revisions
34874
+ *
34875
+ * Retrieves a single resource by ID.
34876
+ *
34877
+ * **Authentication:** Required - Bearer token or API key
34878
+ * **Rate Limit:** 100 requests per minute
34879
+ *
34880
+ */
34881
+ declare const getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
35162
34882
  /**
35163
34883
  * List training examples
35164
34884
  *
@@ -35541,6 +35261,16 @@ declare const patchExtractionDocumentsByIdVerification: <ThrowOnError extends bo
35541
35261
  * Fork a thread by cloning it with all its messages
35542
35262
  */
35543
35263
  declare const postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
35264
+ /**
35265
+ * Create find or begin upload
35266
+ *
35267
+ * Creates a new resource. Returns the created resource with generated ID.
35268
+ *
35269
+ * **Authentication:** Required - Bearer token or API key
35270
+ * **Rate Limit:** 100 requests per minute
35271
+ *
35272
+ */
35273
+ declare const postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
35544
35274
  /**
35545
35275
  * List transactions
35546
35276
  *
@@ -35901,36 +35631,6 @@ declare const postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(o
35901
35631
  * Activate a specific schema version
35902
35632
  */
35903
35633
  declare const postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
35904
- /**
35905
- * Delete payment methods
35906
- *
35907
- * Deletes a resource permanently. This action cannot be undone.
35908
- *
35909
- * **Authentication:** Required - Bearer token or API key
35910
- * **Rate Limit:** 100 requests per minute
35911
- *
35912
- */
35913
- declare const deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
35914
- /**
35915
- * Get payment methods
35916
- *
35917
- * Retrieves a single resource by ID.
35918
- *
35919
- * **Authentication:** Required - Bearer token or API key
35920
- * **Rate Limit:** 100 requests per minute
35921
- *
35922
- */
35923
- declare const getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
35924
- /**
35925
- * Update payment methods
35926
- *
35927
- * Updates specific fields of an existing resource.
35928
- *
35929
- * **Authentication:** Required - Bearer token or API key
35930
- * **Rate Limit:** 100 requests per minute
35931
- *
35932
- */
35933
- declare const patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
35934
35634
  /**
35935
35635
  * Delete buckets
35936
35636
  *
@@ -36243,12 +35943,6 @@ declare const getNotificationMethods: <ThrowOnError extends boolean = false>(opt
36243
35943
  *
36244
35944
  */
36245
35945
  declare const postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
36246
- /**
36247
- * List preview
36248
- *
36249
- * Preview the cost and effective date of a plan change
36250
- */
36251
- declare const getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
36252
35946
  /**
36253
35947
  * Create summarize
36254
35948
  *
@@ -36641,12 +36335,6 @@ declare const getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError
36641
36335
  *
36642
36336
  */
36643
36337
  declare const patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
36644
- /**
36645
- * Update default
36646
- *
36647
- * Set this payment method as default for the customer
36648
- */
36649
- declare const patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
36650
36338
  /**
36651
36339
  * Create export
36652
36340
  *
@@ -37111,8 +36799,6 @@ declare const gptCore: {
37111
36799
  getApplicationsCurrent: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsCurrentData, ThrowOnError>) => RequestResult<GetApplicationsCurrentResponses, GetApplicationsCurrentErrors, ThrowOnError, "fields">;
37112
36800
  getWorkspaces: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesData, ThrowOnError>) => RequestResult<GetWorkspacesResponses, GetWorkspacesErrors, ThrowOnError, "fields">;
37113
36801
  postWorkspaces: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesData, ThrowOnError>) => RequestResult<PostWorkspacesResponses, PostWorkspacesErrors, ThrowOnError, "fields">;
37114
- getPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsData, ThrowOnError>) => RequestResult<GetPaymentMethodsResponses, GetPaymentMethodsErrors, ThrowOnError, "fields">;
37115
- postPaymentMethods: <ThrowOnError extends boolean = false>(options: Options<PostPaymentMethodsData, ThrowOnError>) => RequestResult<PostPaymentMethodsResponses, PostPaymentMethodsErrors, ThrowOnError, "fields">;
37116
36802
  getAgentsByIdStats: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdStatsData, ThrowOnError>) => RequestResult<GetAgentsByIdStatsResponses, GetAgentsByIdStatsErrors, ThrowOnError, "fields">;
37117
36803
  getDocumentsStats: <ThrowOnError extends boolean = false>(options: Options<GetDocumentsStatsData, ThrowOnError>) => RequestResult<GetDocumentsStatsResponses, GetDocumentsStatsErrors, ThrowOnError, "fields">;
37118
36804
  patchExtractionDocumentsByIdDismiss: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdDismissData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdDismissResponses, PatchExtractionDocumentsByIdDismissErrors, ThrowOnError, "fields">;
@@ -37144,6 +36830,7 @@ declare const gptCore: {
37144
36830
  postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained: <ThrowOnError extends boolean = false>(options: Options<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, ThrowOnError>) => RequestResult<PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, ThrowOnError, "fields">;
37145
36831
  getConfigs: <ThrowOnError extends boolean = false>(options: Options<GetConfigsData, ThrowOnError>) => RequestResult<GetConfigsResponses, GetConfigsErrors, ThrowOnError, "fields">;
37146
36832
  postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
36833
+ getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, ThrowOnError, "fields">;
37147
36834
  patchWalletAutoTopUp: <ThrowOnError extends boolean = false>(options: Options<PatchWalletAutoTopUpData, ThrowOnError>) => RequestResult<PatchWalletAutoTopUpResponses, PatchWalletAutoTopUpErrors, ThrowOnError, "fields">;
37148
36835
  postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
37149
36836
  patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
@@ -37161,6 +36848,7 @@ declare const gptCore: {
37161
36848
  getApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesResponses, GetApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
37162
36849
  postApplicationsByApplicationIdEmailTemplates: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsByApplicationIdEmailTemplatesData, ThrowOnError>) => RequestResult<PostApplicationsByApplicationIdEmailTemplatesResponses, PostApplicationsByApplicationIdEmailTemplatesErrors, ThrowOnError, "fields">;
37163
36850
  getAgentsUsage: <ThrowOnError extends boolean = false>(options: Options<GetAgentsUsageData, ThrowOnError>) => RequestResult<GetAgentsUsageResponses, GetAgentsUsageErrors, ThrowOnError, "fields">;
36851
+ patchWorkspacesByIdPopulateHashes: <ThrowOnError extends boolean = false>(options: Options<PatchWorkspacesByIdPopulateHashesData, ThrowOnError>) => RequestResult<PatchWorkspacesByIdPopulateHashesResponses, PatchWorkspacesByIdPopulateHashesErrors, ThrowOnError, "fields">;
37164
36852
  patchNotificationMethodsByIdSetPrimary: <ThrowOnError extends boolean = false>(options: Options<PatchNotificationMethodsByIdSetPrimaryData, ThrowOnError>) => RequestResult<PatchNotificationMethodsByIdSetPrimaryResponses, PatchNotificationMethodsByIdSetPrimaryErrors, ThrowOnError, "fields">;
37165
36853
  getBucketsByIdObjects: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdObjectsData, ThrowOnError>) => RequestResult<GetBucketsByIdObjectsResponses, GetBucketsByIdObjectsErrors, ThrowOnError, "fields">;
37166
36854
  patchInvitationsByIdResend: <ThrowOnError extends boolean = false>(options: Options<PatchInvitationsByIdResendData, ThrowOnError>) => RequestResult<PatchInvitationsByIdResendResponses, PatchInvitationsByIdResendErrors, ThrowOnError, "fields">;
@@ -37280,6 +36968,7 @@ declare const gptCore: {
37280
36968
  getAuditLogs: <ThrowOnError extends boolean = false>(options: Options<GetAuditLogsData, ThrowOnError>) => RequestResult<GetAuditLogsResponses, GetAuditLogsErrors, ThrowOnError, "fields">;
37281
36969
  getAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<GetAiGraphEdgesData, ThrowOnError>) => RequestResult<GetAiGraphEdgesResponses, GetAiGraphEdgesErrors, ThrowOnError, "fields">;
37282
36970
  postAiGraphEdges: <ThrowOnError extends boolean = false>(options: Options<PostAiGraphEdgesData, ThrowOnError>) => RequestResult<PostAiGraphEdgesResponses, PostAiGraphEdgesErrors, ThrowOnError, "fields">;
36971
+ getAgentVersionRevisionsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentVersionRevisionsByIdData, ThrowOnError>) => RequestResult<GetAgentVersionRevisionsByIdResponses, GetAgentVersionRevisionsByIdErrors, ThrowOnError, "fields">;
37283
36972
  getTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<GetTrainingExamplesData, ThrowOnError>) => RequestResult<GetTrainingExamplesResponses, GetTrainingExamplesErrors, ThrowOnError, "fields">;
37284
36973
  postTrainingExamples: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesData, ThrowOnError>) => RequestResult<PostTrainingExamplesResponses, PostTrainingExamplesErrors, ThrowOnError, "fields">;
37285
36974
  getWorkspacesByWorkspaceIdExtractionExportsById: <ThrowOnError extends boolean = false>(options: Options<GetWorkspacesByWorkspaceIdExtractionExportsByIdData, ThrowOnError>) => RequestResult<GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, ThrowOnError, "fields">;
@@ -37323,6 +37012,7 @@ declare const gptCore: {
37323
37012
  getSearchHealth: <ThrowOnError extends boolean = false>(options: Options<GetSearchHealthData, ThrowOnError>) => RequestResult<GetSearchHealthResponses, GetSearchHealthErrors, ThrowOnError, "fields">;
37324
37013
  patchExtractionDocumentsByIdVerification: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdVerificationData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdVerificationResponses, PatchExtractionDocumentsByIdVerificationErrors, ThrowOnError, "fields">;
37325
37014
  postThreadsByIdFork: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdForkData, ThrowOnError>) => RequestResult<PostThreadsByIdForkResponses, PostThreadsByIdForkErrors, ThrowOnError, "fields">;
37015
+ postExtractionDocumentsFindOrBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsFindOrBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsFindOrBeginUploadResponses, PostExtractionDocumentsFindOrBeginUploadErrors, ThrowOnError, "fields">;
37326
37016
  getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
37327
37017
  getUserProfiles: <ThrowOnError extends boolean = false>(options: Options<GetUserProfilesData, ThrowOnError>) => RequestResult<GetUserProfilesResponses, GetUserProfilesErrors, ThrowOnError, "fields">;
37328
37018
  postUserProfiles: <ThrowOnError extends boolean = false>(options: Options<PostUserProfilesData, ThrowOnError>) => RequestResult<PostUserProfilesResponses, PostUserProfilesErrors, ThrowOnError, "fields">;
@@ -37365,9 +37055,6 @@ declare const gptCore: {
37365
37055
  postUsersAuthRegister: <ThrowOnError extends boolean = false>(options: Options<PostUsersAuthRegisterData, ThrowOnError>) => RequestResult<PostUsersAuthRegisterResponses, PostUsersAuthRegisterErrors, ThrowOnError, "fields">;
37366
37056
  postTrainingExamplesBulk: <ThrowOnError extends boolean = false>(options: Options<PostTrainingExamplesBulkData, ThrowOnError>) => RequestResult<PostTrainingExamplesBulkResponses, PostTrainingExamplesBulkErrors, ThrowOnError, "fields">;
37367
37057
  postAgentsByIdSchemaVersionsByVersionIdActivate: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdSchemaVersionsByVersionIdActivateData, ThrowOnError>) => RequestResult<PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, ThrowOnError, "fields">;
37368
- deletePaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodsByIdData, ThrowOnError>) => RequestResult<DeletePaymentMethodsByIdResponses, DeletePaymentMethodsByIdErrors, ThrowOnError, "fields">;
37369
- getPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<GetPaymentMethodsByIdData, ThrowOnError>) => RequestResult<GetPaymentMethodsByIdResponses, GetPaymentMethodsByIdErrors, ThrowOnError, "fields">;
37370
- patchPaymentMethodsById: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdResponses, PatchPaymentMethodsByIdErrors, ThrowOnError, "fields">;
37371
37058
  deleteBucketsById: <ThrowOnError extends boolean = false>(options: Options<DeleteBucketsByIdData, ThrowOnError>) => RequestResult<DeleteBucketsByIdResponses, DeleteBucketsByIdErrors, ThrowOnError, "fields">;
37372
37059
  getBucketsById: <ThrowOnError extends boolean = false>(options: Options<GetBucketsByIdData, ThrowOnError>) => RequestResult<GetBucketsByIdResponses, GetBucketsByIdErrors, ThrowOnError, "fields">;
37373
37060
  patchBucketsById: <ThrowOnError extends boolean = false>(options: Options<PatchBucketsByIdData, ThrowOnError>) => RequestResult<PatchBucketsByIdResponses, PatchBucketsByIdErrors, ThrowOnError, "fields">;
@@ -37402,7 +37089,6 @@ declare const gptCore: {
37402
37089
  postWebhookDeliveriesByIdRetry: <ThrowOnError extends boolean = false>(options: Options<PostWebhookDeliveriesByIdRetryData, ThrowOnError>) => RequestResult<PostWebhookDeliveriesByIdRetryResponses, PostWebhookDeliveriesByIdRetryErrors, ThrowOnError, "fields">;
37403
37090
  getNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<GetNotificationMethodsData, ThrowOnError>) => RequestResult<GetNotificationMethodsResponses, GetNotificationMethodsErrors, ThrowOnError, "fields">;
37404
37091
  postNotificationMethods: <ThrowOnError extends boolean = false>(options: Options<PostNotificationMethodsData, ThrowOnError>) => RequestResult<PostNotificationMethodsResponses, PostNotificationMethodsErrors, ThrowOnError, "fields">;
37405
- getWalletPlanPreview: <ThrowOnError extends boolean = false>(options: Options<GetWalletPlanPreviewData, ThrowOnError>) => RequestResult<GetWalletPlanPreviewResponses, GetWalletPlanPreviewErrors, ThrowOnError, "fields">;
37406
37092
  postThreadsByIdSummarize: <ThrowOnError extends boolean = false>(options: Options<PostThreadsByIdSummarizeData, ThrowOnError>) => RequestResult<PostThreadsByIdSummarizeResponses, PostThreadsByIdSummarizeErrors, ThrowOnError, "fields">;
37407
37093
  patchConfigsByKey: <ThrowOnError extends boolean = false>(options: Options<PatchConfigsByKeyData, ThrowOnError>) => RequestResult<PatchConfigsByKeyResponses, PatchConfigsByKeyErrors, ThrowOnError, "fields">;
37408
37094
  patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdRotateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdRotateResponses, PatchApiKeysByIdRotateErrors, ThrowOnError, "fields">;
@@ -37445,7 +37131,6 @@ declare const gptCore: {
37445
37131
  deleteApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37446
37132
  getApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<GetApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37447
37133
  patchApplicationsByApplicationIdEmailTemplatesBySlug: <ThrowOnError extends boolean = false>(options: Options<PatchApplicationsByApplicationIdEmailTemplatesBySlugData, ThrowOnError>) => RequestResult<PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, ThrowOnError, "fields">;
37448
- patchPaymentMethodsByIdDefault: <ThrowOnError extends boolean = false>(options: Options<PatchPaymentMethodsByIdDefaultData, ThrowOnError>) => RequestResult<PatchPaymentMethodsByIdDefaultResponses, PatchPaymentMethodsByIdDefaultErrors, ThrowOnError, "fields">;
37449
37134
  postAgentsByIdExport: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdExportData, ThrowOnError>) => RequestResult<PostAgentsByIdExportResponses, PostAgentsByIdExportErrors, ThrowOnError, "fields">;
37450
37135
  postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
37451
37136
  deleteExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionBatchesByIdData, ThrowOnError>) => RequestResult<DeleteExtractionBatchesByIdResponses, DeleteExtractionBatchesByIdErrors, ThrowOnError, "fields">;
@@ -37460,4 +37145,4 @@ declare const gptCore: {
37460
37145
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
37461
37146
  };
37462
37147
 
37463
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentTestResult, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeletePaymentMethodsByIdData, type DeletePaymentMethodsByIdError, type DeletePaymentMethodsByIdErrors, type DeletePaymentMethodsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPaymentMethodsByIdData, type GetPaymentMethodsByIdError, type GetPaymentMethodsByIdErrors, type GetPaymentMethodsByIdResponse, type GetPaymentMethodsByIdResponses, type GetPaymentMethodsData, type GetPaymentMethodsError, type GetPaymentMethodsErrors, type GetPaymentMethodsResponse, type GetPaymentMethodsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletPlanPreviewData, type GetWalletPlanPreviewError, type GetWalletPlanPreviewErrors, type GetWalletPlanPreviewResponse, type GetWalletPlanPreviewResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type Invoice, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchPaymentMethodsByIdData, type PatchPaymentMethodsByIdDefaultData, type PatchPaymentMethodsByIdDefaultError, type PatchPaymentMethodsByIdDefaultErrors, type PatchPaymentMethodsByIdDefaultResponse, type PatchPaymentMethodsByIdDefaultResponses, type PatchPaymentMethodsByIdError, type PatchPaymentMethodsByIdErrors, type PatchPaymentMethodsByIdResponse, type PatchPaymentMethodsByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentMethodsData, type PostPaymentMethodsError, type PostPaymentMethodsErrors, type PostPaymentMethodsResponse, type PostPaymentMethodsResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deletePaymentMethodsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPaymentMethods, getPaymentMethodsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWalletPlanPreview, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchPaymentMethodsById, patchPaymentMethodsByIdDefault, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPaymentMethods, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };
37148
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentTestResult, type AgentVersion, type AgentVersionComparison, type AgentVersionFieldsInputCreateType, type AgentVersionRevision, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationType, type AuditLog, AuthenticationError, AuthorizationError, type Balance, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type BulkReprocessResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, type DeleteAgentVersionsByIdData, type DeleteAgentVersionsByIdError, type DeleteAgentVersionsByIdErrors, type DeleteAgentVersionsByIdResponses, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteAiMessagesByIdData, type DeleteAiMessagesByIdError, type DeleteAiMessagesByIdErrors, type DeleteAiMessagesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugData, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugError, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugErrors, type DeleteApplicationsByApplicationIdEmailTemplatesBySlugResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionBatchesByIdData, type DeleteExtractionBatchesByIdError, type DeleteExtractionBatchesByIdErrors, type DeleteExtractionBatchesByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteFieldTemplatesByIdData, type DeleteFieldTemplatesByIdError, type DeleteFieldTemplatesByIdErrors, type DeleteFieldTemplatesByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationMethodsByIdData, type DeleteNotificationMethodsByIdError, type DeleteNotificationMethodsByIdErrors, type DeleteNotificationMethodsByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteTrainingSessionsByIdData, type DeleteTrainingSessionsByIdError, type DeleteTrainingSessionsByIdErrors, type DeleteTrainingSessionsByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteUsersByIdData, type DeleteUsersByIdError, type DeleteUsersByIdErrors, type DeleteUsersByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentStats, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmailTemplate, type EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type FieldMappingConfirmation, type FieldMappingResult, type FieldTemplate, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsData, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsError, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsErrors, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponse, type GetAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisionsResponses, type GetAgentVersionRevisionsByIdData, type GetAgentVersionRevisionsByIdError, type GetAgentVersionRevisionsByIdErrors, type GetAgentVersionRevisionsByIdResponse, type GetAgentVersionRevisionsByIdResponses, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, type GetAgentVersionsByIdMetricsData, type GetAgentVersionsByIdMetricsError, type GetAgentVersionsByIdMetricsErrors, type GetAgentVersionsByIdMetricsResponse, type GetAgentVersionsByIdMetricsResponses, type GetAgentVersionsByIdResponse, type GetAgentVersionsByIdResponses, type GetAgentVersionsData, type GetAgentVersionsError, type GetAgentVersionsErrors, type GetAgentVersionsResponse, type GetAgentVersionsResponses, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsByIdSchemaVersionsData, type GetAgentsByIdSchemaVersionsError, type GetAgentsByIdSchemaVersionsErrors, type GetAgentsByIdSchemaVersionsResponse, type GetAgentsByIdSchemaVersionsResponses, type GetAgentsByIdStatsData, type GetAgentsByIdStatsError, type GetAgentsByIdStatsErrors, type GetAgentsByIdStatsResponse, type GetAgentsByIdStatsResponses, type GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsByIdUsageData, type GetAgentsByIdUsageError, type GetAgentsByIdUsageErrors, type GetAgentsByIdUsageResponse, type GetAgentsByIdUsageResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAgentsUsageData, type GetAgentsUsageError, type GetAgentsUsageErrors, type GetAgentsUsageResponse, type GetAgentsUsageResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesBySourceNodeIdRelatedData, type GetAiGraphNodesBySourceNodeIdRelatedError, type GetAiGraphNodesBySourceNodeIdRelatedErrors, type GetAiGraphNodesBySourceNodeIdRelatedResponse, type GetAiGraphNodesBySourceNodeIdRelatedResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesLabelByLabelData, type GetAiGraphNodesLabelByLabelError, type GetAiGraphNodesLabelByLabelErrors, type GetAiGraphNodesLabelByLabelResponse, type GetAiGraphNodesLabelByLabelResponses, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysActiveData, type GetApiKeysActiveError, type GetApiKeysActiveErrors, type GetApiKeysActiveResponse, type GetApiKeysActiveResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApiKeysStatsData, type GetApiKeysStatsError, type GetApiKeysStatsErrors, type GetApiKeysStatsResponse, type GetApiKeysStatsResponses, type GetApplicationsByApplicationIdEmailTemplatesBySlugData, type GetApplicationsByApplicationIdEmailTemplatesBySlugError, type GetApplicationsByApplicationIdEmailTemplatesBySlugErrors, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponse, type GetApplicationsByApplicationIdEmailTemplatesBySlugResponses, type GetApplicationsByApplicationIdEmailTemplatesData, type GetApplicationsByApplicationIdEmailTemplatesError, type GetApplicationsByApplicationIdEmailTemplatesErrors, type GetApplicationsByApplicationIdEmailTemplatesResponse, type GetApplicationsByApplicationIdEmailTemplatesResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsCurrentData, type GetApplicationsCurrentError, type GetApplicationsCurrentErrors, type GetApplicationsCurrentResponse, type GetApplicationsCurrentResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsActivityData, type GetAuditLogsActivityError, type GetAuditLogsActivityErrors, type GetAuditLogsActivityResponse, type GetAuditLogsActivityResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsAllData, type GetBucketsAllError, type GetBucketsAllErrors, type GetBucketsAllResponse, type GetBucketsAllResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusError, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueError, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedData, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedError, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionResultsWorkspaceByWorkspaceIdData, type GetExtractionResultsWorkspaceByWorkspaceIdError, type GetExtractionResultsWorkspaceByWorkspaceIdErrors, type GetExtractionResultsWorkspaceByWorkspaceIdResponse, type GetExtractionResultsWorkspaceByWorkspaceIdResponses, type GetExtractionSchemaDiscoveriesByIdData, type GetExtractionSchemaDiscoveriesByIdError, type GetExtractionSchemaDiscoveriesByIdErrors, type GetExtractionSchemaDiscoveriesByIdResponse, type GetExtractionSchemaDiscoveriesByIdResponses, type GetFieldTemplatesByIdData, type GetFieldTemplatesByIdError, type GetFieldTemplatesByIdErrors, type GetFieldTemplatesByIdResponse, type GetFieldTemplatesByIdResponses, type GetFieldTemplatesData, type GetFieldTemplatesError, type GetFieldTemplatesErrors, type GetFieldTemplatesResponse, type GetFieldTemplatesResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsMeData, type GetInvitationsMeError, type GetInvitationsMeErrors, type GetInvitationsMeResponse, type GetInvitationsMeResponses, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetMessagesSemanticSearchData, type GetMessagesSemanticSearchError, type GetMessagesSemanticSearchErrors, type GetMessagesSemanticSearchResponse, type GetMessagesSemanticSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationLogsStatsData, type GetNotificationLogsStatsError, type GetNotificationLogsStatsErrors, type GetNotificationLogsStatsResponse, type GetNotificationLogsStatsResponses, type GetNotificationMethodsByIdData, type GetNotificationMethodsByIdError, type GetNotificationMethodsByIdErrors, type GetNotificationMethodsByIdResponse, type GetNotificationMethodsByIdResponses, type GetNotificationMethodsData, type GetNotificationMethodsError, type GetNotificationMethodsErrors, type GetNotificationMethodsResponse, type GetNotificationMethodsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPermissionsByIdData, type GetPermissionsByIdError, type GetPermissionsByIdErrors, type GetPermissionsByIdResponse, type GetPermissionsByIdResponses, type GetPermissionsData, type GetPermissionsError, type GetPermissionsErrors, type GetPermissionsMetaData, type GetPermissionsMetaError, type GetPermissionsMetaErrors, type GetPermissionsMetaResponse, type GetPermissionsMetaResponses, type GetPermissionsPresetsByIdData, type GetPermissionsPresetsByIdError, type GetPermissionsPresetsByIdErrors, type GetPermissionsPresetsByIdResponse, type GetPermissionsPresetsByIdResponses, type GetPermissionsPresetsData, type GetPermissionsPresetsError, type GetPermissionsPresetsErrors, type GetPermissionsPresetsResponse, type GetPermissionsPresetsResponses, type GetPermissionsResponse, type GetPermissionsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchAnalyticsSummaryData, type GetSearchAnalyticsSummaryError, type GetSearchAnalyticsSummaryErrors, type GetSearchAnalyticsSummaryResponse, type GetSearchAnalyticsSummaryResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetSearchSuggestData, type GetSearchSuggestError, type GetSearchSuggestErrors, type GetSearchSuggestResponse, type GetSearchSuggestResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetStorageStatsTenantByTenantIdData, type GetStorageStatsTenantByTenantIdError, type GetStorageStatsTenantByTenantIdErrors, type GetStorageStatsTenantByTenantIdResponse, type GetStorageStatsTenantByTenantIdResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsByTenantIdDocumentStatsData, type GetTenantsByTenantIdDocumentStatsError, type GetTenantsByTenantIdDocumentStatsErrors, type GetTenantsByTenantIdDocumentStatsResponse, type GetTenantsByTenantIdDocumentStatsResponses, type GetTenantsByTenantIdStatsData, type GetTenantsByTenantIdStatsError, type GetTenantsByTenantIdStatsErrors, type GetTenantsByTenantIdStatsResponse, type GetTenantsByTenantIdStatsResponses, type GetTenantsByTenantIdWorkspaceStatsData, type GetTenantsByTenantIdWorkspaceStatsError, type GetTenantsByTenantIdWorkspaceStatsErrors, type GetTenantsByTenantIdWorkspaceStatsResponse, type GetTenantsByTenantIdWorkspaceStatsResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdMessagesData, type GetThreadsByIdMessagesError, type GetThreadsByIdMessagesErrors, type GetThreadsByIdMessagesResponse, type GetThreadsByIdMessagesResponses, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetThreadsStatsData, type GetThreadsStatsError, type GetThreadsStatsErrors, type GetThreadsStatsResponse, type GetThreadsStatsResponses, type GetThreadsWorkspaceStatsData, type GetThreadsWorkspaceStatsError, type GetThreadsWorkspaceStatsErrors, type GetThreadsWorkspaceStatsResponse, type GetThreadsWorkspaceStatsResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTrainingSessionsAgentsByAgentIdSessionsData, type GetTrainingSessionsAgentsByAgentIdSessionsError, type GetTrainingSessionsAgentsByAgentIdSessionsErrors, type GetTrainingSessionsAgentsByAgentIdSessionsResponse, type GetTrainingSessionsAgentsByAgentIdSessionsResponses, type GetTrainingSessionsByIdData, type GetTrainingSessionsByIdError, type GetTrainingSessionsByIdErrors, type GetTrainingSessionsByIdResponse, type GetTrainingSessionsByIdResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByEmailData, type GetUsersByEmailError, type GetUsersByEmailErrors, type GetUsersByEmailResponse, type GetUsersByEmailResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeActivityData, type GetUsersMeActivityError, type GetUsersMeActivityErrors, type GetUsersMeActivityResponse, type GetUsersMeActivityResponses, type GetUsersMeDashboardData, type GetUsersMeDashboardError, type GetUsersMeDashboardErrors, type GetUsersMeDashboardResponse, type GetUsersMeDashboardResponses, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersMeStatsData, type GetUsersMeStatsError, type GetUsersMeStatsErrors, type GetUsersMeStatsResponse, type GetUsersMeStatsResponses, type GetUsersMeTenantsData, type GetUsersMeTenantsError, type GetUsersMeTenantsErrors, type GetUsersMeTenantsResponse, type GetUsersMeTenantsResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletInvoicesData, type GetWalletInvoicesError, type GetWalletInvoicesErrors, type GetWalletInvoicesResponse, type GetWalletInvoicesResponses, type GetWalletResponse, type GetWalletResponses, type GetWatcherClaimsByIdData, type GetWatcherClaimsByIdError, type GetWatcherClaimsByIdErrors, type GetWatcherClaimsByIdResponse, type GetWatcherClaimsByIdResponses, type GetWatcherClaimsData, type GetWatcherClaimsError, type GetWatcherClaimsErrors, type GetWatcherClaimsResponse, type GetWatcherClaimsResponses, type GetWatcherClaimsStatusData, type GetWatcherClaimsStatusError, type GetWatcherClaimsStatusErrors, type GetWatcherClaimsStatusResponse, type GetWatcherClaimsStatusResponses, type GetWatcherEventsByIdData, type GetWatcherEventsByIdError, type GetWatcherEventsByIdErrors, type GetWatcherEventsByIdResponse, type GetWatcherEventsByIdResponses, type GetWatcherEventsData, type GetWatcherEventsError, type GetWatcherEventsErrors, type GetWatcherEventsResponse, type GetWatcherEventsResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdEventsData, type GetWebhookConfigsByIdEventsError, type GetWebhookConfigsByIdEventsErrors, type GetWebhookConfigsByIdEventsResponse, type GetWebhookConfigsByIdEventsResponses, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookConfigsStatsData, type GetWebhookConfigsStatsError, type GetWebhookConfigsStatsErrors, type GetWebhookConfigsStatsResponse, type GetWebhookConfigsStatsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWebhookDeliveriesStatsData, type GetWebhookDeliveriesStatsError, type GetWebhookDeliveriesStatsErrors, type GetWebhookDeliveriesStatsResponse, type GetWebhookDeliveriesStatsResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesAnalyticsBatchData, type GetWorkspacesAnalyticsBatchError, type GetWorkspacesAnalyticsBatchErrors, type GetWorkspacesAnalyticsBatchResponse, type GetWorkspacesAnalyticsBatchResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdMembersData, type GetWorkspacesByIdMembersError, type GetWorkspacesByIdMembersErrors, type GetWorkspacesByIdMembersResponse, type GetWorkspacesByIdMembersResponses, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type GetWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type GetWorkspacesByWorkspaceIdTrainingAnalyticsData, type GetWorkspacesByWorkspaceIdTrainingAnalyticsError, type GetWorkspacesByWorkspaceIdTrainingAnalyticsErrors, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponse, type GetWorkspacesByWorkspaceIdTrainingAnalyticsResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, type GetWorkspacesSharedData, type GetWorkspacesSharedError, type GetWorkspacesSharedErrors, type GetWorkspacesSharedResponse, type GetWorkspacesSharedResponses, GptCoreError, type GraphEdge, type GraphNode, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type IsvRevenue, type IsvSettlement, type Ledger, type Link, type Links, type LlmAnalytics, type LoginRequest, LoginRequestSchema, type Message, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationMethod, type NotificationPreference, type ObjectType, type OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchAgentsByIdSchemaVersionsByVersionIdData, type PatchAgentsByIdSchemaVersionsByVersionIdError, type PatchAgentsByIdSchemaVersionsByVersionIdErrors, type PatchAgentsByIdSchemaVersionsByVersionIdResponse, type PatchAgentsByIdSchemaVersionsByVersionIdResponses, type PatchAiConversationsByIdData, type PatchAiConversationsByIdError, type PatchAiConversationsByIdErrors, type PatchAiConversationsByIdResponse, type PatchAiConversationsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResetPeriodData, type PatchApiKeysByIdResetPeriodError, type PatchApiKeysByIdResetPeriodErrors, type PatchApiKeysByIdResetPeriodResponse, type PatchApiKeysByIdResetPeriodResponses, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, type PatchApplicationsByApplicationIdEmailTemplatesBySlugData, type PatchApplicationsByApplicationIdEmailTemplatesBySlugError, type PatchApplicationsByApplicationIdEmailTemplatesBySlugErrors, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponse, type PatchApplicationsByApplicationIdEmailTemplatesBySlugResponses, type PatchApplicationsByIdAllocateCreditsData, type PatchApplicationsByIdAllocateCreditsError, type PatchApplicationsByIdAllocateCreditsErrors, type PatchApplicationsByIdAllocateCreditsResponse, type PatchApplicationsByIdAllocateCreditsResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdGrantCreditsData, type PatchApplicationsByIdGrantCreditsError, type PatchApplicationsByIdGrantCreditsErrors, type PatchApplicationsByIdGrantCreditsResponse, type PatchApplicationsByIdGrantCreditsResponses, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdCancelData, type PatchExtractionDocumentsByIdCancelError, type PatchExtractionDocumentsByIdCancelErrors, type PatchExtractionDocumentsByIdCancelResponse, type PatchExtractionDocumentsByIdCancelResponses, type PatchExtractionDocumentsByIdDismissData, type PatchExtractionDocumentsByIdDismissError, type PatchExtractionDocumentsByIdDismissErrors, type PatchExtractionDocumentsByIdDismissResponse, type PatchExtractionDocumentsByIdDismissResponses, type PatchExtractionDocumentsByIdDismissTrainingData, type PatchExtractionDocumentsByIdDismissTrainingError, type PatchExtractionDocumentsByIdDismissTrainingErrors, type PatchExtractionDocumentsByIdDismissTrainingResponse, type PatchExtractionDocumentsByIdDismissTrainingResponses, type PatchExtractionDocumentsByIdExcludeData, type PatchExtractionDocumentsByIdExcludeError, type PatchExtractionDocumentsByIdExcludeErrors, type PatchExtractionDocumentsByIdExcludeResponse, type PatchExtractionDocumentsByIdExcludeResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdIncludeData, type PatchExtractionDocumentsByIdIncludeError, type PatchExtractionDocumentsByIdIncludeErrors, type PatchExtractionDocumentsByIdIncludeResponse, type PatchExtractionDocumentsByIdIncludeResponses, type PatchExtractionDocumentsByIdMarkTrainedData, type PatchExtractionDocumentsByIdMarkTrainedError, type PatchExtractionDocumentsByIdMarkTrainedErrors, type PatchExtractionDocumentsByIdMarkTrainedResponse, type PatchExtractionDocumentsByIdMarkTrainedResponses, type PatchExtractionDocumentsByIdReprocessData, type PatchExtractionDocumentsByIdReprocessError, type PatchExtractionDocumentsByIdReprocessErrors, type PatchExtractionDocumentsByIdReprocessResponse, type PatchExtractionDocumentsByIdReprocessResponses, type PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionDocumentsByIdVerificationData, type PatchExtractionDocumentsByIdVerificationError, type PatchExtractionDocumentsByIdVerificationErrors, type PatchExtractionDocumentsByIdVerificationResponse, type PatchExtractionDocumentsByIdVerificationResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchInvitationsByIdAcceptByUserData, type PatchInvitationsByIdAcceptByUserError, type PatchInvitationsByIdAcceptByUserErrors, type PatchInvitationsByIdAcceptByUserResponse, type PatchInvitationsByIdAcceptByUserResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdDeclineData, type PatchInvitationsByIdDeclineError, type PatchInvitationsByIdDeclineErrors, type PatchInvitationsByIdDeclineResponse, type PatchInvitationsByIdDeclineResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSendVerificationData, type PatchNotificationMethodsByIdSendVerificationError, type PatchNotificationMethodsByIdSendVerificationErrors, type PatchNotificationMethodsByIdSendVerificationResponse, type PatchNotificationMethodsByIdSendVerificationResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationMethodsByIdVerifyData, type PatchNotificationMethodsByIdVerifyError, type PatchNotificationMethodsByIdVerifyErrors, type PatchNotificationMethodsByIdVerifyResponse, type PatchNotificationMethodsByIdVerifyResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchSearchSavedByIdData, type PatchSearchSavedByIdError, type PatchSearchSavedByIdErrors, type PatchSearchSavedByIdResponse, type PatchSearchSavedByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdArchiveData, type PatchThreadsByIdArchiveError, type PatchThreadsByIdArchiveErrors, type PatchThreadsByIdArchiveResponse, type PatchThreadsByIdArchiveResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchThreadsByIdUnarchiveData, type PatchThreadsByIdUnarchiveError, type PatchThreadsByIdUnarchiveErrors, type PatchThreadsByIdUnarchiveResponse, type PatchThreadsByIdUnarchiveResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdAcceptTosData, type PatchUserProfilesByIdAcceptTosError, type PatchUserProfilesByIdAcceptTosErrors, type PatchUserProfilesByIdAcceptTosResponse, type PatchUserProfilesByIdAcceptTosResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdDismissAnnouncementData, type PatchUserProfilesByIdDismissAnnouncementError, type PatchUserProfilesByIdDismissAnnouncementErrors, type PatchUserProfilesByIdDismissAnnouncementResponse, type PatchUserProfilesByIdDismissAnnouncementResponses, type PatchUserProfilesByIdDismissWelcomeData, type PatchUserProfilesByIdDismissWelcomeError, type PatchUserProfilesByIdDismissWelcomeErrors, type PatchUserProfilesByIdDismissWelcomeResponse, type PatchUserProfilesByIdDismissWelcomeResponses, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthPasswordChangeData, type PatchUsersAuthPasswordChangeError, type PatchUsersAuthPasswordChangeErrors, type PatchUsersAuthPasswordChangeResponse, type PatchUsersAuthPasswordChangeResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdAdminData, type PatchUsersByIdAdminEmailData, type PatchUsersByIdAdminEmailError, type PatchUsersByIdAdminEmailErrors, type PatchUsersByIdAdminEmailResponse, type PatchUsersByIdAdminEmailResponses, type PatchUsersByIdAdminError, type PatchUsersByIdAdminErrors, type PatchUsersByIdAdminResponse, type PatchUsersByIdAdminResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletAutoTopUpData, type PatchWalletAutoTopUpError, type PatchWalletAutoTopUpErrors, type PatchWalletAutoTopUpResponse, type PatchWalletAutoTopUpResponses, type PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWatcherClaimsByIdData, type PatchWatcherClaimsByIdError, type PatchWatcherClaimsByIdErrors, type PatchWatcherClaimsByIdReleaseData, type PatchWatcherClaimsByIdReleaseError, type PatchWatcherClaimsByIdReleaseErrors, type PatchWatcherClaimsByIdReleaseResponse, type PatchWatcherClaimsByIdReleaseResponses, type PatchWatcherClaimsByIdResponse, type PatchWatcherClaimsByIdResponses, type PatchWatcherClaimsByIdRetryData, type PatchWatcherClaimsByIdRetryError, type PatchWatcherClaimsByIdRetryErrors, type PatchWatcherClaimsByIdRetryResponse, type PatchWatcherClaimsByIdRetryResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdPopulateHashesData, type PatchWorkspacesByIdPopulateHashesError, type PatchWorkspacesByIdPopulateHashesErrors, type PatchWorkspacesByIdPopulateHashesResponse, type PatchWorkspacesByIdPopulateHashesResponses, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type PatchWorkspacesByIdStorageSettingsData, type PatchWorkspacesByIdStorageSettingsError, type PatchWorkspacesByIdStorageSettingsErrors, type PatchWorkspacesByIdStorageSettingsResponse, type PatchWorkspacesByIdStorageSettingsResponses, type Payment, type PaymentMethod, type Permission, type PermissionMeta, type PermissionPreset, type Plan, type PostAgentTestResultsData, type PostAgentTestResultsError, type PostAgentTestResultsErrors, type PostAgentTestResultsResponse, type PostAgentTestResultsResponses, type PostAgentVersionComparisonsData, type PostAgentVersionComparisonsError, type PostAgentVersionComparisonsErrors, type PostAgentVersionComparisonsResponse, type PostAgentVersionComparisonsResponses, type PostAgentVersionsByIdAddSystemFieldData, type PostAgentVersionsByIdAddSystemFieldError, type PostAgentVersionsByIdAddSystemFieldErrors, type PostAgentVersionsByIdAddSystemFieldResponses, type PostAgentVersionsByIdRemoveSystemFieldData, type PostAgentVersionsByIdRemoveSystemFieldError, type PostAgentVersionsByIdRemoveSystemFieldErrors, type PostAgentVersionsByIdRemoveSystemFieldResponses, type PostAgentVersionsByIdSetSystemFieldsData, type PostAgentVersionsByIdSetSystemFieldsError, type PostAgentVersionsByIdSetSystemFieldsErrors, type PostAgentVersionsByIdSetSystemFieldsResponses, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdDiscoverSchemaData, type PostAgentsByIdDiscoverSchemaError, type PostAgentsByIdDiscoverSchemaErrors, type PostAgentsByIdDiscoverSchemaResponse, type PostAgentsByIdDiscoverSchemaResponses, type PostAgentsByIdExportData, type PostAgentsByIdExportError, type PostAgentsByIdExportErrors, type PostAgentsByIdExportResponse, type PostAgentsByIdExportResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, type PostAgentsByIdSchemaVersionsByVersionIdActivateData, type PostAgentsByIdSchemaVersionsByVersionIdActivateError, type PostAgentsByIdSchemaVersionsByVersionIdActivateErrors, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponse, type PostAgentsByIdSchemaVersionsByVersionIdActivateResponses, type PostAgentsByIdSchemaVersionsData, type PostAgentsByIdSchemaVersionsError, type PostAgentsByIdSchemaVersionsErrors, type PostAgentsByIdSchemaVersionsResponse, type PostAgentsByIdSchemaVersionsResponses, type PostAgentsByIdTeachData, type PostAgentsByIdTeachError, type PostAgentsByIdTeachErrors, type PostAgentsByIdTeachResponse, type PostAgentsByIdTeachResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsCloneForWorkspaceData, type PostAgentsCloneForWorkspaceError, type PostAgentsCloneForWorkspaceErrors, type PostAgentsCloneForWorkspaceResponse, type PostAgentsCloneForWorkspaceResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsImportData, type PostAgentsImportError, type PostAgentsImportErrors, type PostAgentsImportResponse, type PostAgentsImportResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewData, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewError, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestData, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestError, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestErrors, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponse, type PostApplicationsByApplicationIdEmailTemplatesBySlugTestResponses, type PostApplicationsByApplicationIdEmailTemplatesData, type PostApplicationsByApplicationIdEmailTemplatesError, type PostApplicationsByApplicationIdEmailTemplatesErrors, type PostApplicationsByApplicationIdEmailTemplatesResponse, type PostApplicationsByApplicationIdEmailTemplatesResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsBulkReprocessData, type PostExtractionDocumentsBulkReprocessError, type PostExtractionDocumentsBulkReprocessErrors, type PostExtractionDocumentsBulkReprocessResponse, type PostExtractionDocumentsBulkReprocessResponses, type PostExtractionDocumentsFindOrBeginUploadData, type PostExtractionDocumentsFindOrBeginUploadError, type PostExtractionDocumentsFindOrBeginUploadErrors, type PostExtractionDocumentsFindOrBeginUploadResponse, type PostExtractionDocumentsFindOrBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaDiscoveriesData, type PostExtractionSchemaDiscoveriesError, type PostExtractionSchemaDiscoveriesErrors, type PostExtractionSchemaDiscoveriesResponse, type PostExtractionSchemaDiscoveriesResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsData, type PostInvitationsError, type PostInvitationsErrors, type PostInvitationsResponse, type PostInvitationsResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationMethodsData, type PostNotificationMethodsError, type PostNotificationMethodsErrors, type PostNotificationMethodsResponse, type PostNotificationMethodsResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsCopyData, type PostObjectsCopyError, type PostObjectsCopyErrors, type PostObjectsCopyResponse, type PostObjectsCopyResponses, type PostObjectsMoveData, type PostObjectsMoveError, type PostObjectsMoveErrors, type PostObjectsMoveResponse, type PostObjectsMoveResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchBatchData, type PostSearchBatchError, type PostSearchBatchErrors, type PostSearchBatchResponse, type PostSearchBatchResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedByIdRunData, type PostSearchSavedByIdRunError, type PostSearchSavedByIdRunErrors, type PostSearchSavedByIdRunResponse, type PostSearchSavedByIdRunResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsByIdSchedulePurgeData, type PostTenantsByIdSchedulePurgeError, type PostTenantsByIdSchedulePurgeErrors, type PostTenantsByIdSchedulePurgeResponse, type PostTenantsByIdSchedulePurgeResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsIsvData, type PostTenantsIsvError, type PostTenantsIsvErrors, type PostTenantsIsvResponse, type PostTenantsIsvResponses, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdExportData, type PostThreadsByIdExportError, type PostThreadsByIdExportErrors, type PostThreadsByIdExportResponse, type PostThreadsByIdExportResponses, type PostThreadsByIdForkData, type PostThreadsByIdForkError, type PostThreadsByIdForkErrors, type PostThreadsByIdForkResponse, type PostThreadsByIdForkResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostTrainingExamplesSearchData, type PostTrainingExamplesSearchError, type PostTrainingExamplesSearchErrors, type PostTrainingExamplesSearchResponse, type PostTrainingExamplesSearchResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersAuthResendConfirmationData, type PostUsersAuthResendConfirmationError, type PostUsersAuthResendConfirmationErrors, type PostUsersAuthResendConfirmationResponse, type PostUsersAuthResendConfirmationResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWatcherClaimsData, type PostWatcherClaimsError, type PostWatcherClaimsErrors, type PostWatcherClaimsResponse, type PostWatcherClaimsResponses, type PostWatcherEventsData, type PostWatcherEventsError, type PostWatcherEventsErrors, type PostWatcherEventsResponse, type PostWatcherEventsResponses, type PostWebhookConfigsBulkDisableData, type PostWebhookConfigsBulkDisableError, type PostWebhookConfigsBulkDisableErrors, type PostWebhookConfigsBulkDisableResponse, type PostWebhookConfigsBulkDisableResponses, type PostWebhookConfigsBulkEnableData, type PostWebhookConfigsBulkEnableError, type PostWebhookConfigsBulkEnableErrors, type PostWebhookConfigsBulkEnableResponse, type PostWebhookConfigsBulkEnableResponses, type PostWebhookConfigsByIdReplayData, type PostWebhookConfigsByIdReplayError, type PostWebhookConfigsByIdReplayErrors, type PostWebhookConfigsByIdReplayResponse, type PostWebhookConfigsByIdReplayResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesBulkRetryData, type PostWebhookDeliveriesBulkRetryError, type PostWebhookDeliveriesBulkRetryErrors, type PostWebhookDeliveriesBulkRetryResponse, type PostWebhookDeliveriesBulkRetryResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingError, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponse, type PostWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedError, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponse, type PostWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses, type PostWorkspacesByWorkspaceIdExtractionExportsData, type PostWorkspacesByWorkspaceIdExtractionExportsError, type PostWorkspacesByWorkspaceIdExtractionExportsErrors, type PostWorkspacesByWorkspaceIdExtractionExportsResponse, type PostWorkspacesByWorkspaceIdExtractionExportsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PricingRule, type PricingStrategy, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SchemaDiscovery, type Search, type SearchAnalytics, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StorageStatsType, type StreamMessageChunk, type StreamOptions, type Subscription, type SystemMessage, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantPricingOverride, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type Transfer, type User, type UserProfile, ValidationError, type Wallet, type WatcherClaim, type WatcherEvent, type WebhookConfig, type WebhookConfigCreateRequest, WebhookConfigCreateSchema, type WebhookConfigUpdateRequest, WebhookConfigUpdateSchema, type WebhookDelivery, WebhookError, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceDocumentStats, type WorkspaceMembership, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, gptCore as default, deleteAgentVersionsById, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteAiMessagesById, deleteApiKeysById, deleteApplicationsByApplicationIdEmailTemplatesBySlug, deleteApplicationsById, deleteBucketsById, deleteExtractionBatchesById, deleteExtractionDocumentsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteUsersById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersionRevisionsAgentVersionsByAgentVersionIdRevisions, getAgentVersionRevisionsById, getAgentVersions, getAgentVersionsById, getAgentVersionsByIdMetrics, getAgents, getAgentsById, getAgentsByIdSchemaVersions, getAgentsByIdStats, getAgentsByIdTrainingStats, getAgentsByIdUsage, getAgentsUsage, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiGraphNodesBySourceNodeIdRelated, getAiGraphNodesLabelByLabel, getAiMessages, getApiKeys, getApiKeysActive, getApiKeysById, getApiKeysStats, getApplications, getApplicationsByApplicationIdEmailTemplates, getApplicationsByApplicationIdEmailTemplatesBySlug, getApplicationsById, getApplicationsBySlugBySlug, getApplicationsCurrent, getAuditLogs, getAuditLogsActivity, getBuckets, getBucketsAll, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionDocumentsWorkspaceByWorkspaceIdTrashed, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionResultsWorkspaceByWorkspaceId, getExtractionSchemaDiscoveriesById, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getInvitationsMe, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getMessagesSemanticSearch, getNotificationLogs, getNotificationLogsById, getNotificationLogsStats, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPermissions, getPermissionsById, getPermissionsMeta, getPermissionsPresets, getPermissionsPresetsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchAnalytics, getSearchAnalyticsSummary, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getSearchSuggest, getStorageStats, getStorageStatsTenantByTenantId, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsByIdMessages, getThreadsSearch, getThreadsStats, getThreadsWorkspaceStats, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersByEmail, getUsersById, getUsersMe, getUsersMeActivity, getUsersMeDashboard, getUsersMeStats, getUsersMeTenants, getWallet, getWalletInvoices, getWatcherClaims, getWatcherClaimsById, getWatcherClaimsStatus, getWatcherEvents, getWatcherEventsById, getWebhookConfigs, getWebhookConfigsById, getWebhookConfigsByIdEvents, getWebhookConfigsStats, getWebhookDeliveries, getWebhookDeliveriesById, getWebhookDeliveriesStats, getWorkspaceMemberships, getWorkspaces, getWorkspacesAnalyticsBatch, getWorkspacesById, getWorkspacesByIdMembers, getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, getWorkspacesShared, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchAgentsByIdSchemaVersionsByVersionId, patchAiConversationsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdResetPeriod, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsByApplicationIdEmailTemplatesBySlug, patchApplicationsById, patchApplicationsByIdAllocateCredits, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdCancel, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdReprocess, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionDocumentsByIdVerification, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchInvitationsByIdAccept, patchInvitationsByIdAcceptByUser, patchInvitationsByIdDecline, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSendVerification, patchNotificationMethodsByIdSetPrimary, patchNotificationMethodsByIdVerify, patchNotificationPreferencesById, patchSearchSavedById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchThreadsByIdArchive, patchThreadsByIdUnarchive, patchTrainingExamplesById, patchUserProfilesById, patchUserProfilesByIdAcceptTos, patchUserProfilesByIdDismissAnnouncement, patchUserProfilesByIdDismissWelcome, patchUsersAuthPasswordChange, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletAutoTopUp, patchWalletCredits, patchWalletPlan, patchWatcherClaimsById, patchWatcherClaimsByIdRelease, patchWatcherClaimsByIdRetry, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, patchWorkspacesByIdPopulateHashes, patchWorkspacesByIdStorageSettings, postAgentTestResults, postAgentVersionComparisons, postAgentVersions, postAgentVersionsByIdAddSystemField, postAgentVersionsByIdRemoveSystemField, postAgentVersionsByIdSetSystemFields, postAgents, postAgentsByIdClone, postAgentsByIdDiscoverSchema, postAgentsByIdExport, postAgentsByIdPublishVersion, postAgentsByIdSchemaVersions, postAgentsByIdSchemaVersionsByVersionIdActivate, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsImport, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postApplicationsByApplicationIdEmailTemplates, postApplicationsByApplicationIdEmailTemplatesBySlugPreview, postApplicationsByApplicationIdEmailTemplatesBySlugTest, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsBulkReprocess, postExtractionDocumentsFindOrBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaDiscoveries, postFieldTemplates, postInvitations, postInvitationsAcceptByToken, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsCopy, postObjectsMove, postObjectsRegister, postPayments, postSearchBatch, postSearchReindex, postSearchSaved, postSearchSavedByIdRun, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsByIdSchedulePurge, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdExport, postThreadsByIdFork, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersAuthResendConfirmation, postUsersRegisterIsv, postWatcherClaims, postWatcherEvents, postWebhookConfigs, postWebhookConfigsBulkDisable, postWebhookConfigsBulkEnable, postWebhookConfigsByIdReplay, postWebhookConfigsByIdTest, postWebhookDeliveriesBulkRetry, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };