@gpt-core/client 0.7.22 → 0.7.41

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
@@ -1,5 +1,245 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const LoginRequestSchema: z.ZodObject<{
4
+ email: z.ZodString;
5
+ password: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ email: string;
8
+ password: string;
9
+ }, {
10
+ email: string;
11
+ password: string;
12
+ }>;
13
+ declare const RegisterRequestSchema: z.ZodEffects<z.ZodObject<{
14
+ email: z.ZodString;
15
+ password: z.ZodString;
16
+ password_confirmation: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ email: string;
19
+ password: string;
20
+ password_confirmation: string;
21
+ }, {
22
+ email: string;
23
+ password: string;
24
+ password_confirmation: string;
25
+ }>, {
26
+ email: string;
27
+ password: string;
28
+ password_confirmation: string;
29
+ }, {
30
+ email: string;
31
+ password: string;
32
+ password_confirmation: string;
33
+ }>;
34
+ declare const ApiKeyCreateSchema: z.ZodObject<{
35
+ name: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ name: string;
38
+ }, {
39
+ name: string;
40
+ }>;
41
+ declare const ApiKeyAllocateSchema: z.ZodObject<{
42
+ amount: z.ZodNumber;
43
+ description: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ amount: number;
46
+ description: string;
47
+ }, {
48
+ amount: number;
49
+ description: string;
50
+ }>;
51
+ declare const ApplicationCreateSchema: z.ZodObject<{
52
+ name: z.ZodString;
53
+ slug: z.ZodOptional<z.ZodString>;
54
+ description: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ name: string;
57
+ slug?: string | undefined;
58
+ description?: string | undefined;
59
+ }, {
60
+ name: string;
61
+ slug?: string | undefined;
62
+ description?: string | undefined;
63
+ }>;
64
+ declare const WorkspaceCreateSchema: z.ZodObject<{
65
+ name: z.ZodString;
66
+ slug: z.ZodOptional<z.ZodString>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ name: string;
69
+ slug?: string | undefined;
70
+ }, {
71
+ name: string;
72
+ slug?: string | undefined;
73
+ }>;
74
+ declare const InvitationCreateSchema: z.ZodObject<{
75
+ email: z.ZodString;
76
+ role: z.ZodString;
77
+ scope_type: z.ZodEnum<["tenant", "workspace"]>;
78
+ scope_id: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ email: string;
81
+ role: string;
82
+ scope_type: "tenant" | "workspace";
83
+ scope_id: string;
84
+ }, {
85
+ email: string;
86
+ role: string;
87
+ scope_type: "tenant" | "workspace";
88
+ scope_id: string;
89
+ }>;
90
+ declare const AgentCreateSchema: z.ZodObject<{
91
+ name: z.ZodString;
92
+ prompt_template: z.ZodString;
93
+ }, "strip", z.ZodTypeAny, {
94
+ name: string;
95
+ prompt_template: string;
96
+ }, {
97
+ name: string;
98
+ prompt_template: string;
99
+ }>;
100
+ declare const ThreadCreateSchema: z.ZodObject<{
101
+ title: z.ZodOptional<z.ZodString>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ title?: string | undefined;
104
+ }, {
105
+ title?: string | undefined;
106
+ }>;
107
+ declare const MessageSendSchema: z.ZodObject<{
108
+ content: z.ZodString;
109
+ }, "strip", z.ZodTypeAny, {
110
+ content: string;
111
+ }, {
112
+ content: string;
113
+ }>;
114
+ declare const SearchRequestSchema: z.ZodObject<{
115
+ query: z.ZodString;
116
+ top_k: z.ZodDefault<z.ZodNumber>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ query: string;
119
+ top_k: number;
120
+ }, {
121
+ query: string;
122
+ top_k?: number | undefined;
123
+ }>;
124
+ declare const EmbedRequestSchema: z.ZodObject<{
125
+ text: z.ZodString;
126
+ workspace_id: z.ZodOptional<z.ZodString>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ text: string;
129
+ workspace_id?: string | undefined;
130
+ }, {
131
+ text: string;
132
+ workspace_id?: string | undefined;
133
+ }>;
134
+ declare const DocumentUploadBase64Schema: z.ZodObject<{
135
+ filename: z.ZodString;
136
+ content: z.ZodString;
137
+ }, "strip", z.ZodTypeAny, {
138
+ content: string;
139
+ filename: string;
140
+ }, {
141
+ content: string;
142
+ filename: string;
143
+ }>;
144
+ declare const BucketCreateSchema: z.ZodObject<{
145
+ name: z.ZodString;
146
+ type: z.ZodEnum<["public", "private"]>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ name: string;
149
+ type: "public" | "private";
150
+ }, {
151
+ name: string;
152
+ type: "public" | "private";
153
+ }>;
154
+ declare const PresignedUploadSchema: z.ZodObject<{
155
+ filename: z.ZodString;
156
+ content_type: z.ZodString;
157
+ }, "strip", z.ZodTypeAny, {
158
+ filename: string;
159
+ content_type: string;
160
+ }, {
161
+ filename: string;
162
+ content_type: string;
163
+ }>;
164
+ declare const PresignedDownloadSchema: z.ZodObject<{
165
+ file_id: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ file_id: string;
168
+ }, {
169
+ file_id: string;
170
+ }>;
171
+ declare const WebhookConfigCreateSchema: z.ZodObject<{
172
+ name: z.ZodString;
173
+ url: z.ZodString;
174
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
175
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
176
+ secret: z.ZodOptional<z.ZodString>;
177
+ tenant_id: z.ZodOptional<z.ZodString>;
178
+ tenant_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
179
+ workspace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ url: string;
182
+ name: string;
183
+ enabled: boolean;
184
+ events?: string[] | undefined;
185
+ secret?: string | undefined;
186
+ tenant_id?: string | undefined;
187
+ tenant_ids?: string[] | undefined;
188
+ workspace_ids?: string[] | undefined;
189
+ }, {
190
+ url: string;
191
+ name: string;
192
+ events?: string[] | undefined;
193
+ enabled?: boolean | undefined;
194
+ secret?: string | undefined;
195
+ tenant_id?: string | undefined;
196
+ tenant_ids?: string[] | undefined;
197
+ workspace_ids?: string[] | undefined;
198
+ }>;
199
+ declare const WebhookConfigUpdateSchema: z.ZodObject<{
200
+ name: z.ZodOptional<z.ZodString>;
201
+ url: z.ZodOptional<z.ZodString>;
202
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
+ enabled: z.ZodOptional<z.ZodBoolean>;
204
+ secret: z.ZodOptional<z.ZodString>;
205
+ tenant_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
206
+ workspace_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ url?: string | undefined;
209
+ name?: string | undefined;
210
+ events?: string[] | undefined;
211
+ enabled?: boolean | undefined;
212
+ secret?: string | undefined;
213
+ tenant_ids?: string[] | undefined;
214
+ workspace_ids?: string[] | undefined;
215
+ }, {
216
+ url?: string | undefined;
217
+ name?: string | undefined;
218
+ events?: string[] | undefined;
219
+ enabled?: boolean | undefined;
220
+ secret?: string | undefined;
221
+ tenant_ids?: string[] | undefined;
222
+ workspace_ids?: string[] | undefined;
223
+ }>;
224
+ type LoginRequest = z.infer<typeof LoginRequestSchema>;
225
+ type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
226
+ type ApiKeyCreateRequest = z.infer<typeof ApiKeyCreateSchema>;
227
+ type ApiKeyAllocateRequest = z.infer<typeof ApiKeyAllocateSchema>;
228
+ type ApplicationCreateRequest = z.infer<typeof ApplicationCreateSchema>;
229
+ type WorkspaceCreateRequest = z.infer<typeof WorkspaceCreateSchema>;
230
+ type InvitationCreateRequest = z.infer<typeof InvitationCreateSchema>;
231
+ type AgentCreateRequest = z.infer<typeof AgentCreateSchema>;
232
+ type ThreadCreateRequest = z.infer<typeof ThreadCreateSchema>;
233
+ type MessageSendRequest = z.infer<typeof MessageSendSchema>;
234
+ type SearchRequest = z.infer<typeof SearchRequestSchema>;
235
+ type EmbedRequest = z.infer<typeof EmbedRequestSchema>;
236
+ type DocumentUploadBase64Request = z.infer<typeof DocumentUploadBase64Schema>;
237
+ type BucketCreateRequest = z.infer<typeof BucketCreateSchema>;
238
+ type PresignedUploadRequest = z.infer<typeof PresignedUploadSchema>;
239
+ type PresignedDownloadRequest = z.infer<typeof PresignedDownloadSchema>;
240
+ type WebhookConfigCreateRequest = z.infer<typeof WebhookConfigCreateSchema>;
241
+ type WebhookConfigUpdateRequest = z.infer<typeof WebhookConfigUpdateSchema>;
242
+
3
243
  type ClientOptions$1 = {
4
244
  baseUrl: "http://localhost:22222" | "https://api.yourdomain.com" | (string & {});
5
245
  };
@@ -69,10 +309,46 @@ type WebhookConfig = {
69
309
  * An attributes object for a webhook_config
70
310
  */
71
311
  attributes?: {
312
+ /**
313
+ * Field included by default.
314
+ */
315
+ application_id: string;
316
+ /**
317
+ * Field included by default.
318
+ */
319
+ enabled?: boolean | null | unknown;
320
+ /**
321
+ * Field included by default.
322
+ */
323
+ events?: Array<string> | null | unknown;
324
+ /**
325
+ * Field included by default.
326
+ */
327
+ inserted_at: unknown;
328
+ /**
329
+ * Field included by default.
330
+ */
331
+ name: string;
332
+ /**
333
+ * HMAC secret for webhook signature verification. Field included by default.
334
+ */
335
+ secret?: string | null | unknown;
336
+ /**
337
+ * Field included by default.
338
+ */
339
+ tenant_id?: string | null | unknown;
72
340
  /**
73
341
  * ISV filter: specific tenant UUIDs to receive events from (null = all). Field included by default.
74
342
  */
75
343
  tenant_ids?: Array<string> | null | unknown;
344
+ /**
345
+ * Field included by default.
346
+ */
347
+ updated_at: unknown;
348
+ /**
349
+ * Field included by default.
350
+ */
351
+ url: string;
76
352
  /**
77
353
  * Tenant filter: specific workspace UUIDs to receive events from (null = all). Field included by default.
78
354
  */
@@ -83,7 +359,30 @@ type WebhookConfig = {
83
359
  * A relationships object for a webhook_config
84
360
  */
85
361
  relationships?: {
86
- [key: string]: never;
362
+ application?: {
363
+ /**
364
+ * An identifier for application
365
+ */
366
+ data?: {
367
+ id: string;
368
+ meta?: {
369
+ [key: string]: unknown;
370
+ };
371
+ type: string;
372
+ } | null;
373
+ };
374
+ tenant?: {
375
+ /**
376
+ * An identifier for tenant
377
+ */
378
+ data?: {
379
+ id: string;
380
+ meta?: {
381
+ [key: string]: unknown;
382
+ };
383
+ type: string;
384
+ } | null;
385
+ };
87
386
  };
88
387
  type: string;
89
388
  };
@@ -407,7 +706,12 @@ type Ledger = {
407
706
  * An attributes object for a ledger
408
707
  */
409
708
  attributes?: {
410
- [key: string]: never;
709
+ /**
710
+ * Optional metadata including api_key_id for tracking source. Field included by default.
711
+ */
712
+ metadata?: {
713
+ [key: string]: unknown;
714
+ } | null | unknown;
411
715
  };
412
716
  id: string;
413
717
  /**
@@ -753,6 +1057,10 @@ type Application = {
753
1057
  * An attributes object for a application
754
1058
  */
755
1059
  attributes?: {
1060
+ /**
1061
+ * Field included by default.
1062
+ */
1063
+ badge_url?: string | null | unknown;
756
1064
  current_scopes?: Array<string> | null | unknown;
757
1065
  /**
758
1066
  * DEPRECATED: Use Plan.initial_credits instead. Credits allocated to new tenants registering via this application. Field included by default.
@@ -763,6 +1071,10 @@ type Application = {
763
1071
  */
764
1072
  description?: string | null | unknown;
765
1073
  generated_api_key?: string | null | unknown;
1074
+ /**
1075
+ * Field included by default.
1076
+ */
1077
+ logo_url?: string | null | unknown;
766
1078
  /**
767
1079
  * Field included by default.
768
1080
  */
@@ -840,6 +1152,22 @@ type ApiKey = {
840
1152
  * Field included by default.
841
1153
  */
842
1154
  application_id: string;
1155
+ /**
1156
+ * Credits remaining in current budget period
1157
+ */
1158
+ budget_remaining?: number | null | unknown;
1159
+ /**
1160
+ * When the current budget period will reset
1161
+ */
1162
+ budget_resets_at?: unknown;
1163
+ /**
1164
+ * Maximum credits allowed per period (null = unlimited). Field included by default.
1165
+ */
1166
+ credit_limit?: number | null | unknown;
1167
+ /**
1168
+ * Budget reset period. Field included by default.
1169
+ */
1170
+ credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
843
1171
  current_scopes?: Array<string> | null | unknown;
844
1172
  /**
845
1173
  * Field included by default.
@@ -849,14 +1177,38 @@ type ApiKey = {
849
1177
  * The raw API key token. Only returned once upon creation or rotation.
850
1178
  */
851
1179
  generated_api_key?: string | null | unknown;
1180
+ /**
1181
+ * Field included by default.
1182
+ */
1183
+ key_type: "user" | "application" | "system" | "server";
1184
+ /**
1185
+ * Field included by default.
1186
+ */
1187
+ last_used_at?: unknown;
852
1188
  /**
853
1189
  * Field included by default.
854
1190
  */
855
1191
  name?: string | null | unknown;
1192
+ /**
1193
+ * Credits used in current period (resets based on period). Field included by default.
1194
+ */
1195
+ period_credits_used: number;
1196
+ /**
1197
+ * When the current budget period began. Field included by default.
1198
+ */
1199
+ period_started_at?: unknown;
856
1200
  /**
857
1201
  * Field included by default.
858
1202
  */
859
1203
  prefix: string;
1204
+ /**
1205
+ * Rate limit period in seconds. Field included by default.
1206
+ */
1207
+ rate_limit_period_seconds: number;
1208
+ /**
1209
+ * Maximum requests allowed per period. Field included by default.
1210
+ */
1211
+ rate_limit_requests: number;
860
1212
  /**
861
1213
  * Field included by default.
862
1214
  */
@@ -869,6 +1221,14 @@ type ApiKey = {
869
1221
  * Field included by default.
870
1222
  */
871
1223
  tenant_id?: string | null | unknown;
1224
+ /**
1225
+ * Field included by default.
1226
+ */
1227
+ total_credits_used: number;
1228
+ /**
1229
+ * Field included by default.
1230
+ */
1231
+ total_requests: number;
872
1232
  /**
873
1233
  * Field included by default.
874
1234
  */
@@ -1771,14 +2131,76 @@ type WebhookDelivery = {
1771
2131
  * An attributes object for a webhook_delivery
1772
2132
  */
1773
2133
  attributes?: {
1774
- [key: string]: never;
2134
+ /**
2135
+ * Field included by default.
2136
+ */
2137
+ attempt_count?: number | null | unknown;
2138
+ /**
2139
+ * Field included by default.
2140
+ */
2141
+ event_type?: string | null | unknown;
2142
+ /**
2143
+ * Field included by default.
2144
+ */
2145
+ inserted_at: unknown;
2146
+ /**
2147
+ * Field included by default.
2148
+ */
2149
+ next_retry_at?: unknown;
2150
+ /**
2151
+ * Field included by default.
2152
+ */
2153
+ payload: {
2154
+ [key: string]: unknown;
2155
+ };
2156
+ /**
2157
+ * Field included by default.
2158
+ */
2159
+ request_headers?: {
2160
+ [key: string]: unknown;
2161
+ } | null | unknown;
2162
+ /**
2163
+ * Field included by default.
2164
+ */
2165
+ response_body?: string | null | unknown;
2166
+ /**
2167
+ * Field included by default.
2168
+ */
2169
+ response_status?: number | null | unknown;
2170
+ /**
2171
+ * Field included by default.
2172
+ */
2173
+ status?: "pending" | "success" | "failed" | "retrying" | unknown;
2174
+ /**
2175
+ * Field included by default.
2176
+ */
2177
+ updated_at: unknown;
2178
+ /**
2179
+ * Field included by default.
2180
+ */
2181
+ url: string;
2182
+ /**
2183
+ * Field included by default.
2184
+ */
2185
+ webhook_config_id: string;
1775
2186
  };
1776
2187
  id: string;
1777
2188
  /**
1778
2189
  * A relationships object for a webhook_delivery
1779
2190
  */
1780
2191
  relationships?: {
1781
- [key: string]: never;
2192
+ webhook_config?: {
2193
+ /**
2194
+ * An identifier for webhook_config
2195
+ */
2196
+ data?: {
2197
+ id: string;
2198
+ meta?: {
2199
+ [key: string]: unknown;
2200
+ };
2201
+ type: string;
2202
+ } | null;
2203
+ };
1782
2204
  };
1783
2205
  type: string;
1784
2206
  };
@@ -5948,6 +6370,96 @@ type PostTokensResponses = {
5948
6370
  };
5949
6371
  };
5950
6372
  type PostTokensResponse = PostTokensResponses[keyof PostTokensResponses];
6373
+ type PatchApiKeysByIdSetBudgetData = {
6374
+ /**
6375
+ * Request body for the /api_keys/:id/set_budget operation on api_key resource
6376
+ */
6377
+ body?: {
6378
+ data: {
6379
+ attributes?: {
6380
+ /**
6381
+ * Maximum credits per period (null to remove limit)
6382
+ */
6383
+ credit_limit?: number | unknown;
6384
+ /**
6385
+ * Budget reset period (null to remove limit)
6386
+ */
6387
+ credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
6388
+ };
6389
+ id: string;
6390
+ relationships?: {
6391
+ [key: string]: never;
6392
+ };
6393
+ type?: "api_key";
6394
+ };
6395
+ };
6396
+ headers: {
6397
+ /**
6398
+ * Application ID for authentication and routing
6399
+ */
6400
+ "x-application-key": string;
6401
+ };
6402
+ path: {
6403
+ id: string;
6404
+ };
6405
+ query?: {
6406
+ /**
6407
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
6408
+ */
6409
+ include?: string;
6410
+ /**
6411
+ * JSON:API sparse fieldsets (use flat query string format: fields[type]=field1,field2)
6412
+ */
6413
+ fields?: {
6414
+ [key: string]: unknown;
6415
+ };
6416
+ };
6417
+ url: "/api_keys/{id}/set_budget";
6418
+ };
6419
+ type PatchApiKeysByIdSetBudgetErrors = {
6420
+ /**
6421
+ * Bad Request - Invalid input data or malformed request
6422
+ */
6423
+ 400: ErrorResponse;
6424
+ /**
6425
+ * Unauthorized - Missing or invalid authentication token
6426
+ */
6427
+ 401: ErrorResponse;
6428
+ /**
6429
+ * Forbidden - Authenticated but not authorized for this resource
6430
+ */
6431
+ 403: ErrorResponse;
6432
+ /**
6433
+ * Not Found - Resource does not exist
6434
+ */
6435
+ 404: ErrorResponse;
6436
+ /**
6437
+ * Too Many Requests - Rate limit exceeded
6438
+ */
6439
+ 429: ErrorResponse;
6440
+ /**
6441
+ * Internal Server Error - Unexpected server error
6442
+ */
6443
+ 500: ErrorResponse;
6444
+ /**
6445
+ * General Error
6446
+ */
6447
+ default: Errors;
6448
+ };
6449
+ type PatchApiKeysByIdSetBudgetError = PatchApiKeysByIdSetBudgetErrors[keyof PatchApiKeysByIdSetBudgetErrors];
6450
+ type PatchApiKeysByIdSetBudgetResponses = {
6451
+ /**
6452
+ * Success
6453
+ */
6454
+ 200: {
6455
+ data?: ApiKey;
6456
+ included?: Array<unknown>;
6457
+ meta?: {
6458
+ [key: string]: unknown;
6459
+ };
6460
+ };
6461
+ };
6462
+ type PatchApiKeysByIdSetBudgetResponse = PatchApiKeysByIdSetBudgetResponses[keyof PatchApiKeysByIdSetBudgetResponses];
5951
6463
  type DeleteTrainingExamplesByIdData = {
5952
6464
  body?: never;
5953
6465
  headers: {
@@ -7622,6 +8134,9 @@ type PatchWebhookConfigsByIdData = {
7622
8134
  enabled?: boolean | unknown;
7623
8135
  events?: Array<string> | unknown;
7624
8136
  name?: string | unknown;
8137
+ /**
8138
+ * HMAC secret for webhook signature verification
8139
+ */
7625
8140
  secret?: string | unknown;
7626
8141
  /**
7627
8142
  * ISV filter: specific tenant UUIDs to receive events from (null = all)
@@ -10825,11 +11340,13 @@ type PostApplicationsData = {
10825
11340
  */
10826
11341
  api_key?: string | unknown;
10827
11342
  api_key_type: "server" | "system" | "application";
11343
+ badge_url?: string | unknown;
10828
11344
  /**
10829
11345
  * DEPRECATED: Use Plan.initial_credits instead. Credits allocated to new tenants registering via this application
10830
11346
  */
10831
11347
  default_free_credits?: number | unknown;
10832
11348
  description?: string | unknown;
11349
+ logo_url?: string | unknown;
10833
11350
  name: string;
10834
11351
  owner_id?: string | unknown;
10835
11352
  slug: string;
@@ -13879,16 +14396,32 @@ type PostApiKeysData = {
13879
14396
  /**
13880
14397
  * Request body for the /api_keys operation on api_key resource
13881
14398
  */
13882
- body: {
14399
+ body?: {
13883
14400
  data: {
13884
14401
  attributes?: {
13885
14402
  application_id?: string | unknown;
14403
+ /**
14404
+ * Maximum credits allowed per period (null = unlimited)
14405
+ */
14406
+ credit_limit?: number | unknown;
14407
+ /**
14408
+ * Budget reset period
14409
+ */
14410
+ credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
13886
14411
  expires_at?: unknown;
14412
+ key_type?: "user" | "application" | "system" | "server" | unknown;
13887
14413
  name?: string | unknown;
14414
+ /**
14415
+ * Rate limit period in seconds
14416
+ */
14417
+ rate_limit_period_seconds?: number | unknown;
14418
+ /**
14419
+ * Maximum requests allowed per period
14420
+ */
14421
+ rate_limit_requests?: number | unknown;
13888
14422
  scopes?: Array<string> | unknown;
13889
14423
  tenant_id?: string | unknown;
13890
14424
  token?: string | unknown;
13891
- type: "user" | "application" | "system" | "server";
13892
14425
  user_id?: string | unknown;
13893
14426
  workspace_id?: string | unknown;
13894
14427
  };
@@ -14411,7 +14944,24 @@ type PatchApiKeysByIdData = {
14411
14944
  body?: {
14412
14945
  data: {
14413
14946
  attributes?: {
14947
+ /**
14948
+ * Maximum credits allowed per period (null = unlimited)
14949
+ */
14950
+ credit_limit?: number | unknown;
14951
+ /**
14952
+ * Budget reset period
14953
+ */
14954
+ credit_limit_period?: "daily" | "weekly" | "monthly" | "yearly" | "lifetime" | unknown;
14414
14955
  name?: string | unknown;
14956
+ /**
14957
+ * Rate limit period in seconds
14958
+ */
14959
+ rate_limit_period_seconds?: number | unknown;
14960
+ /**
14961
+ * Maximum requests allowed per period
14962
+ */
14963
+ rate_limit_requests?: number | unknown;
14964
+ scopes?: Array<string> | unknown;
14415
14965
  };
14416
14966
  id: string;
14417
14967
  relationships?: {
@@ -15084,11 +15634,13 @@ type PatchApplicationsByIdData = {
15084
15634
  body?: {
15085
15635
  data: {
15086
15636
  attributes?: {
15637
+ badge_url?: string | unknown;
15087
15638
  /**
15088
15639
  * DEPRECATED: Use Plan.initial_credits instead. Credits allocated to new tenants registering via this application
15089
15640
  */
15090
15641
  default_free_credits?: number | unknown;
15091
15642
  description?: string | unknown;
15643
+ logo_url?: string | unknown;
15092
15644
  name?: string | unknown;
15093
15645
  slug?: string | unknown;
15094
15646
  };
@@ -21169,6 +21721,9 @@ type PostWebhookConfigsData = {
21169
21721
  enabled?: boolean | unknown;
21170
21722
  events?: Array<string> | unknown;
21171
21723
  name: string;
21724
+ /**
21725
+ * HMAC secret for webhook signature verification
21726
+ */
21172
21727
  secret?: string | unknown;
21173
21728
  tenant_id?: string | unknown;
21174
21729
  /**
@@ -24049,6 +24604,12 @@ declare const postConfigs: <ThrowOnError extends boolean = false>(options: Optio
24049
24604
  * Create a payment token
24050
24605
  */
24051
24606
  declare const postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
24607
+ /**
24608
+ * Update set budget
24609
+ *
24610
+ * Set or remove credit budget for this API key
24611
+ */
24612
+ declare const patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
24052
24613
  /**
24053
24614
  * Delete training examples
24054
24615
  *
@@ -25296,7 +25857,7 @@ declare const getTenantsByTenantIdWorkspaceStats: <ThrowOnError extends boolean
25296
25857
  /**
25297
25858
  * Update allocate
25298
25859
  *
25299
- * Allocate credits to the account associated with this API Key
25860
+ * DEPRECATED: Use set_budget instead. Allocate credits to the account associated with this API Key
25300
25861
  */
25301
25862
  declare const patchApiKeysByIdAllocate: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdAllocateData, ThrowOnError>) => RequestResult<PatchApiKeysByIdAllocateResponses, PatchApiKeysByIdAllocateErrors, ThrowOnError, "fields">;
25302
25863
  /**
@@ -26202,191 +26763,6 @@ declare class ServerError extends GptCoreError {
26202
26763
  */
26203
26764
  declare function handleApiError(error: any): never;
26204
26765
 
26205
- declare const LoginRequestSchema: z.ZodObject<{
26206
- email: z.ZodString;
26207
- password: z.ZodString;
26208
- }, "strip", z.ZodTypeAny, {
26209
- email: string;
26210
- password: string;
26211
- }, {
26212
- email: string;
26213
- password: string;
26214
- }>;
26215
- declare const RegisterRequestSchema: z.ZodEffects<z.ZodObject<{
26216
- email: z.ZodString;
26217
- password: z.ZodString;
26218
- password_confirmation: z.ZodString;
26219
- }, "strip", z.ZodTypeAny, {
26220
- email: string;
26221
- password: string;
26222
- password_confirmation: string;
26223
- }, {
26224
- email: string;
26225
- password: string;
26226
- password_confirmation: string;
26227
- }>, {
26228
- email: string;
26229
- password: string;
26230
- password_confirmation: string;
26231
- }, {
26232
- email: string;
26233
- password: string;
26234
- password_confirmation: string;
26235
- }>;
26236
- declare const ApiKeyCreateSchema: z.ZodObject<{
26237
- name: z.ZodString;
26238
- }, "strip", z.ZodTypeAny, {
26239
- name: string;
26240
- }, {
26241
- name: string;
26242
- }>;
26243
- declare const ApiKeyAllocateSchema: z.ZodObject<{
26244
- amount: z.ZodNumber;
26245
- description: z.ZodString;
26246
- }, "strip", z.ZodTypeAny, {
26247
- amount: number;
26248
- description: string;
26249
- }, {
26250
- amount: number;
26251
- description: string;
26252
- }>;
26253
- declare const ApplicationCreateSchema: z.ZodObject<{
26254
- name: z.ZodString;
26255
- slug: z.ZodOptional<z.ZodString>;
26256
- description: z.ZodOptional<z.ZodString>;
26257
- }, "strip", z.ZodTypeAny, {
26258
- name: string;
26259
- slug?: string | undefined;
26260
- description?: string | undefined;
26261
- }, {
26262
- name: string;
26263
- slug?: string | undefined;
26264
- description?: string | undefined;
26265
- }>;
26266
- declare const WorkspaceCreateSchema: z.ZodObject<{
26267
- name: z.ZodString;
26268
- slug: z.ZodOptional<z.ZodString>;
26269
- }, "strip", z.ZodTypeAny, {
26270
- name: string;
26271
- slug?: string | undefined;
26272
- }, {
26273
- name: string;
26274
- slug?: string | undefined;
26275
- }>;
26276
- declare const InvitationCreateSchema: z.ZodObject<{
26277
- email: z.ZodString;
26278
- role: z.ZodString;
26279
- scope_type: z.ZodEnum<["tenant", "workspace"]>;
26280
- scope_id: z.ZodString;
26281
- }, "strip", z.ZodTypeAny, {
26282
- email: string;
26283
- role: string;
26284
- scope_type: "tenant" | "workspace";
26285
- scope_id: string;
26286
- }, {
26287
- email: string;
26288
- role: string;
26289
- scope_type: "tenant" | "workspace";
26290
- scope_id: string;
26291
- }>;
26292
- declare const AgentCreateSchema: z.ZodObject<{
26293
- name: z.ZodString;
26294
- prompt_template: z.ZodString;
26295
- }, "strip", z.ZodTypeAny, {
26296
- name: string;
26297
- prompt_template: string;
26298
- }, {
26299
- name: string;
26300
- prompt_template: string;
26301
- }>;
26302
- declare const ThreadCreateSchema: z.ZodObject<{
26303
- title: z.ZodOptional<z.ZodString>;
26304
- }, "strip", z.ZodTypeAny, {
26305
- title?: string | undefined;
26306
- }, {
26307
- title?: string | undefined;
26308
- }>;
26309
- declare const MessageSendSchema: z.ZodObject<{
26310
- content: z.ZodString;
26311
- }, "strip", z.ZodTypeAny, {
26312
- content: string;
26313
- }, {
26314
- content: string;
26315
- }>;
26316
- declare const SearchRequestSchema: z.ZodObject<{
26317
- query: z.ZodString;
26318
- top_k: z.ZodDefault<z.ZodNumber>;
26319
- }, "strip", z.ZodTypeAny, {
26320
- query: string;
26321
- top_k: number;
26322
- }, {
26323
- query: string;
26324
- top_k?: number | undefined;
26325
- }>;
26326
- declare const EmbedRequestSchema: z.ZodObject<{
26327
- text: z.ZodString;
26328
- workspace_id: z.ZodOptional<z.ZodString>;
26329
- }, "strip", z.ZodTypeAny, {
26330
- text: string;
26331
- workspace_id?: string | undefined;
26332
- }, {
26333
- text: string;
26334
- workspace_id?: string | undefined;
26335
- }>;
26336
- declare const DocumentUploadBase64Schema: z.ZodObject<{
26337
- filename: z.ZodString;
26338
- content: z.ZodString;
26339
- }, "strip", z.ZodTypeAny, {
26340
- content: string;
26341
- filename: string;
26342
- }, {
26343
- content: string;
26344
- filename: string;
26345
- }>;
26346
- declare const BucketCreateSchema: z.ZodObject<{
26347
- name: z.ZodString;
26348
- type: z.ZodEnum<["public", "private"]>;
26349
- }, "strip", z.ZodTypeAny, {
26350
- name: string;
26351
- type: "public" | "private";
26352
- }, {
26353
- name: string;
26354
- type: "public" | "private";
26355
- }>;
26356
- declare const PresignedUploadSchema: z.ZodObject<{
26357
- filename: z.ZodString;
26358
- content_type: z.ZodString;
26359
- }, "strip", z.ZodTypeAny, {
26360
- filename: string;
26361
- content_type: string;
26362
- }, {
26363
- filename: string;
26364
- content_type: string;
26365
- }>;
26366
- declare const PresignedDownloadSchema: z.ZodObject<{
26367
- file_id: z.ZodString;
26368
- }, "strip", z.ZodTypeAny, {
26369
- file_id: string;
26370
- }, {
26371
- file_id: string;
26372
- }>;
26373
- type LoginRequest = z.infer<typeof LoginRequestSchema>;
26374
- type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
26375
- type ApiKeyCreateRequest = z.infer<typeof ApiKeyCreateSchema>;
26376
- type ApiKeyAllocateRequest = z.infer<typeof ApiKeyAllocateSchema>;
26377
- type ApplicationCreateRequest = z.infer<typeof ApplicationCreateSchema>;
26378
- type WorkspaceCreateRequest = z.infer<typeof WorkspaceCreateSchema>;
26379
- type InvitationCreateRequest = z.infer<typeof InvitationCreateSchema>;
26380
- type AgentCreateRequest = z.infer<typeof AgentCreateSchema>;
26381
- type ThreadCreateRequest = z.infer<typeof ThreadCreateSchema>;
26382
- type MessageSendRequest = z.infer<typeof MessageSendSchema>;
26383
- type SearchRequest = z.infer<typeof SearchRequestSchema>;
26384
- type EmbedRequest = z.infer<typeof EmbedRequestSchema>;
26385
- type DocumentUploadBase64Request = z.infer<typeof DocumentUploadBase64Schema>;
26386
- type BucketCreateRequest = z.infer<typeof BucketCreateSchema>;
26387
- type PresignedUploadRequest = z.infer<typeof PresignedUploadSchema>;
26388
- type PresignedDownloadRequest = z.infer<typeof PresignedDownloadSchema>;
26389
-
26390
26766
  /**
26391
26767
  * Retry configuration
26392
26768
  */
@@ -26500,8 +26876,154 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
26500
26876
  */
26501
26877
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
26502
26878
 
26879
+ /**
26880
+ * Webhook management utilities for tenant/user webhook operations.
26881
+ *
26882
+ * This module provides a clean API for managing webhooks, wrapping the
26883
+ * auto-generated SDK functions with validation and error handling.
26884
+ *
26885
+ * @example
26886
+ * ```typescript
26887
+ * import { webhooks, WebhookConfigCreateSchema } from '@gpt-core/client';
26888
+ *
26889
+ * // Create a tenant-level webhook
26890
+ * const webhook = await webhooks.create({
26891
+ * name: 'My Webhook',
26892
+ * url: 'https://example.com/webhook',
26893
+ * events: ['extraction.completed'],
26894
+ * tenant_id: userProfile.tenant_id, // Makes it tenant-scoped
26895
+ * });
26896
+ *
26897
+ * // Test the webhook
26898
+ * await webhooks.test(webhook.id);
26899
+ *
26900
+ * // List all webhooks accessible to the current user
26901
+ * const allWebhooks = await webhooks.list();
26902
+ *
26903
+ * // List webhook deliveries
26904
+ * const deliveries = await webhooks.deliveries.list();
26905
+ * ```
26906
+ */
26907
+
26908
+ /**
26909
+ * Error thrown when webhook operations fail
26910
+ */
26911
+ declare class WebhookError extends Error {
26912
+ readonly status?: number | undefined;
26913
+ readonly errors?: unknown[] | undefined;
26914
+ constructor(message: string, status?: number | undefined, errors?: unknown[] | undefined);
26915
+ }
26916
+ /**
26917
+ * Webhook configuration management
26918
+ */
26919
+ declare const webhooks: {
26920
+ /**
26921
+ * List all webhook configurations accessible to the current user.
26922
+ *
26923
+ * For tenant users, this returns webhooks scoped to their tenant.
26924
+ * For ISV/app owners, this returns application-level webhooks.
26925
+ */
26926
+ list(options?: {
26927
+ filter?: GetWebhookConfigsData["query"];
26928
+ }): Promise<WebhookConfig[]>;
26929
+ /**
26930
+ * Get a single webhook configuration by ID.
26931
+ */
26932
+ get(id: string): Promise<WebhookConfig>;
26933
+ /**
26934
+ * Create a new webhook configuration.
26935
+ *
26936
+ * For tenant-level webhooks, include `tenant_id` in the attributes.
26937
+ * The tenant_id is typically obtained from the user's profile.
26938
+ *
26939
+ * @example
26940
+ * ```typescript
26941
+ * // Tenant-level webhook (receives only this tenant's events)
26942
+ * const webhook = await webhooks.create({
26943
+ * name: 'My Webhook',
26944
+ * url: 'https://example.com/webhook',
26945
+ * events: ['extraction.completed', 'document.processed'],
26946
+ * tenant_id: userProfile.tenant_id,
26947
+ * });
26948
+ *
26949
+ * // With workspace filtering (only events from specific workspaces)
26950
+ * const webhook = await webhooks.create({
26951
+ * name: 'Workspace Webhook',
26952
+ * url: 'https://example.com/webhook',
26953
+ * tenant_id: userProfile.tenant_id,
26954
+ * workspace_ids: ['workspace-uuid-1', 'workspace-uuid-2'],
26955
+ * });
26956
+ * ```
26957
+ */
26958
+ create(attributes: WebhookConfigCreateRequest): Promise<WebhookConfig>;
26959
+ /**
26960
+ * Update an existing webhook configuration.
26961
+ */
26962
+ update(id: string, attributes: WebhookConfigUpdateRequest): Promise<WebhookConfig>;
26963
+ /**
26964
+ * Delete a webhook configuration.
26965
+ */
26966
+ delete(id: string): Promise<void>;
26967
+ /**
26968
+ * Send a test webhook to verify the endpoint is reachable.
26969
+ *
26970
+ * This enqueues a test webhook delivery with a sample payload.
26971
+ * Check the deliveries list to see the result.
26972
+ */
26973
+ test(id: string): Promise<WebhookConfig>;
26974
+ /**
26975
+ * Rotate the webhook secret.
26976
+ *
26977
+ * This generates a new secret for the webhook. The old secret
26978
+ * becomes invalid immediately. Make sure to update your endpoint
26979
+ * with the new secret.
26980
+ */
26981
+ rotateSecret(id: string): Promise<WebhookConfig>;
26982
+ /**
26983
+ * Webhook delivery management
26984
+ */
26985
+ deliveries: {
26986
+ /**
26987
+ * List webhook deliveries.
26988
+ *
26989
+ * Deliveries are sorted by newest first by default.
26990
+ */
26991
+ list(options?: {
26992
+ filter?: GetWebhookDeliveriesData["query"];
26993
+ }): Promise<WebhookDelivery[]>;
26994
+ /**
26995
+ * Get a single webhook delivery by ID.
26996
+ */
26997
+ get(id: string): Promise<WebhookDelivery>;
26998
+ /**
26999
+ * Retry a failed webhook delivery.
27000
+ *
27001
+ * This re-enqueues the delivery for another attempt.
27002
+ */
27003
+ retry(id: string): Promise<WebhookDelivery>;
27004
+ };
27005
+ };
27006
+
26503
27007
  declare const gptCore: {
26504
27008
  client: Client;
27009
+ webhooks: {
27010
+ list(options?: {
27011
+ filter?: GetWebhookConfigsData["query"];
27012
+ }): Promise<WebhookConfig[]>;
27013
+ get(id: string): Promise<WebhookConfig>;
27014
+ create(attributes: WebhookConfigCreateRequest): Promise<WebhookConfig>;
27015
+ update(id: string, attributes: WebhookConfigUpdateRequest): Promise<WebhookConfig>;
27016
+ delete(id: string): Promise<void>;
27017
+ test(id: string): Promise<WebhookConfig>;
27018
+ rotateSecret(id: string): Promise<WebhookConfig>;
27019
+ deliveries: {
27020
+ list(options?: {
27021
+ filter?: GetWebhookDeliveriesData["query"];
27022
+ }): Promise<WebhookDelivery[]>;
27023
+ get(id: string): Promise<WebhookDelivery>;
27024
+ retry(id: string): Promise<WebhookDelivery>;
27025
+ };
27026
+ };
26505
27027
  postAiSearchAdvanced: <ThrowOnError extends boolean = false>(options: Options<PostAiSearchAdvancedData, ThrowOnError>) => RequestResult<PostAiSearchAdvancedResponses, PostAiSearchAdvancedErrors, ThrowOnError, "fields">;
26506
27028
  deleteExtractionDocumentsById: <ThrowOnError extends boolean = false>(options: Options<DeleteExtractionDocumentsByIdData, ThrowOnError>) => RequestResult<DeleteExtractionDocumentsByIdResponses, DeleteExtractionDocumentsByIdErrors, ThrowOnError, "fields">;
26507
27029
  getExtractionDocumentsById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsByIdData, ThrowOnError>) => RequestResult<GetExtractionDocumentsByIdResponses, GetExtractionDocumentsByIdErrors, ThrowOnError, "fields">;
@@ -26538,6 +27060,7 @@ declare const gptCore: {
26538
27060
  getConfigs: <ThrowOnError extends boolean = false>(options: Options<GetConfigsData, ThrowOnError>) => RequestResult<GetConfigsResponses, GetConfigsErrors, ThrowOnError, "fields">;
26539
27061
  postConfigs: <ThrowOnError extends boolean = false>(options: Options<PostConfigsData, ThrowOnError>) => RequestResult<PostConfigsResponses, PostConfigsErrors, ThrowOnError, "fields">;
26540
27062
  postTokens: <ThrowOnError extends boolean = false>(options: Options<PostTokensData, ThrowOnError>) => RequestResult<PostTokensResponses, PostTokensErrors, ThrowOnError, "fields">;
27063
+ patchApiKeysByIdSetBudget: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdSetBudgetData, ThrowOnError>) => RequestResult<PatchApiKeysByIdSetBudgetResponses, PatchApiKeysByIdSetBudgetErrors, ThrowOnError, "fields">;
26541
27064
  deleteTrainingExamplesById: <ThrowOnError extends boolean = false>(options: Options<DeleteTrainingExamplesByIdData, ThrowOnError>) => RequestResult<DeleteTrainingExamplesByIdResponses, DeleteTrainingExamplesByIdErrors, ThrowOnError, "fields">;
26542
27065
  getTrainingExamplesById: <ThrowOnError extends boolean = false>(options: Options<GetTrainingExamplesByIdData, ThrowOnError>) => RequestResult<GetTrainingExamplesByIdResponses, GetTrainingExamplesByIdErrors, ThrowOnError, "fields">;
26543
27066
  patchTrainingExamplesById: <ThrowOnError extends boolean = false>(options: Options<PatchTrainingExamplesByIdData, ThrowOnError>) => RequestResult<PatchTrainingExamplesByIdResponses, PatchTrainingExamplesByIdErrors, ThrowOnError, "fields">;
@@ -26761,4 +27284,4 @@ declare const gptCore: {
26761
27284
  getObjects: <ThrowOnError extends boolean = false>(options: Options<GetObjectsData, ThrowOnError>) => RequestResult<GetObjectsResponses, GetObjectsErrors, ThrowOnError, "fields">;
26762
27285
  };
26763
27286
 
26764
- export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentVersion, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, 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 DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type 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 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 EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type ExtractionSchema, type ExtractionSchemaField, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, 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 GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, 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 GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasData, type GetExtractionSchemasError, type GetExtractionSchemasErrors, type GetExtractionSchemasResponse, type GetExtractionSchemasResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, 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 GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type 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 GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type 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 GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type 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 GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type 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, 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 OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type 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 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 PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdActivateData, type PatchExtractionSchemasByIdActivateError, type PatchExtractionSchemasByIdActivateErrors, type PatchExtractionSchemasByIdActivateResponse, type PatchExtractionSchemasByIdActivateResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdFieldsData, type PatchExtractionSchemasByIdFieldsError, type PatchExtractionSchemasByIdFieldsErrors, type PatchExtractionSchemasByIdFieldsResponse, type PatchExtractionSchemasByIdFieldsResponses, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type 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 PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, 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 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 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 PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasBulkCreateData, type PostExtractionSchemasBulkCreateError, type PostExtractionSchemasBulkCreateErrors, type PostExtractionSchemasBulkCreateResponse, type PostExtractionSchemasBulkCreateResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type 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 PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, 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 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 PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type 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 Search, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StreamMessageChunk, type StreamOptions, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, type WebhookConfig, type WebhookDelivery, 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, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgents, getAgentsById, getAgentsByIdTrainingStats, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemas, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchExtractionSchemasByIdActivate, patchExtractionSchemasByIdFields, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSetPrimary, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletCredits, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentVersions, postAgents, postAgentsByIdClone, postAgentsByIdPublishVersion, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postExtractionSchemasBulkCreate, postFieldTemplates, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
27287
+ export { type Account, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentVersion, type AiConfig, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type AuditLog, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BulkDismissalResult, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type Conversation, type CreditPackage, type Customer, DEFAULT_RETRY_CONFIG, 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 DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type 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 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 EmbedRequest, EmbedRequestSchema, type Embedding, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionDocument, type ExtractionExport, type ExtractionResult, type ExtractionSchema, type ExtractionSchemaField, type FieldTemplate, type GetAgentVersionsByIdData, type GetAgentVersionsByIdError, type GetAgentVersionsByIdErrors, 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 GetAgentsByIdTrainingStatsData, type GetAgentsByIdTrainingStatsError, type GetAgentsByIdTrainingStatsErrors, type GetAgentsByIdTrainingStatsResponse, type GetAgentsByIdTrainingStatsResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesByIdUploadUrlsData, type GetExtractionBatchesByIdUploadUrlsError, type GetExtractionBatchesByIdUploadUrlsErrors, type GetExtractionBatchesByIdUploadUrlsResponse, type GetExtractionBatchesByIdUploadUrlsResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsByIdViewData, type GetExtractionDocumentsByIdViewError, type GetExtractionDocumentsByIdViewErrors, type GetExtractionDocumentsByIdViewResponse, type GetExtractionDocumentsByIdViewResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, 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 GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasData, type GetExtractionSchemasError, type GetExtractionSchemasErrors, type GetExtractionSchemasResponse, type GetExtractionSchemasResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, 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 GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type 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 GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type 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 GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type 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 GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsByIdData, type GetWorkspacesByWorkspaceIdExtractionExportsByIdError, type GetWorkspacesByWorkspaceIdExtractionExportsByIdErrors, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponse, type GetWorkspacesByWorkspaceIdExtractionExportsByIdResponses, type GetWorkspacesByWorkspaceIdExtractionExportsData, type GetWorkspacesByWorkspaceIdExtractionExportsError, type GetWorkspacesByWorkspaceIdExtractionExportsErrors, type GetWorkspacesByWorkspaceIdExtractionExportsResponse, type GetWorkspacesByWorkspaceIdExtractionExportsResponses, type 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, 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 OperationSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApiKeysByIdSetBudgetData, type PatchApiKeysByIdSetBudgetError, type PatchApiKeysByIdSetBudgetErrors, type PatchApiKeysByIdSetBudgetResponse, type PatchApiKeysByIdSetBudgetResponses, 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 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 PatchExtractionDocumentsByIdRestoreData, type PatchExtractionDocumentsByIdRestoreError, type PatchExtractionDocumentsByIdRestoreErrors, type PatchExtractionDocumentsByIdRestoreResponse, type PatchExtractionDocumentsByIdRestoreResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdActivateData, type PatchExtractionSchemasByIdActivateError, type PatchExtractionSchemasByIdActivateErrors, type PatchExtractionSchemasByIdActivateResponse, type PatchExtractionSchemasByIdActivateResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdFieldsData, type PatchExtractionSchemasByIdFieldsError, type PatchExtractionSchemasByIdFieldsErrors, type PatchExtractionSchemasByIdFieldsResponse, type PatchExtractionSchemasByIdFieldsResponses, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationMethodsByIdData, type PatchNotificationMethodsByIdError, type PatchNotificationMethodsByIdErrors, type PatchNotificationMethodsByIdResponse, type PatchNotificationMethodsByIdResponses, type PatchNotificationMethodsByIdSetPrimaryData, type PatchNotificationMethodsByIdSetPrimaryError, type PatchNotificationMethodsByIdSetPrimaryErrors, type PatchNotificationMethodsByIdSetPrimaryResponse, type PatchNotificationMethodsByIdSetPrimaryResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type 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 PatchWalletCreditsData, type PatchWalletCreditsError, type PatchWalletCreditsErrors, type PatchWalletCreditsResponse, type PatchWalletCreditsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWebhookConfigsByIdRotateSecretData, type PatchWebhookConfigsByIdRotateSecretError, type PatchWebhookConfigsByIdRotateSecretErrors, type PatchWebhookConfigsByIdRotateSecretResponse, type PatchWebhookConfigsByIdRotateSecretResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentMethod, type Plan, type PostAgentVersionsData, type PostAgentVersionsError, type PostAgentVersionsErrors, type PostAgentVersionsResponse, type PostAgentVersionsResponses, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdPublishVersionData, type PostAgentsByIdPublishVersionError, type PostAgentsByIdPublishVersionErrors, type PostAgentsByIdPublishVersionResponse, type PostAgentsByIdPublishVersionResponses, 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 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 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 PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasBulkCreateData, type PostExtractionSchemasBulkCreateError, type PostExtractionSchemasBulkCreateErrors, type PostExtractionSchemasBulkCreateResponse, type PostExtractionSchemasBulkCreateResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostFieldTemplatesData, type PostFieldTemplatesError, type PostFieldTemplatesErrors, type PostFieldTemplatesResponse, type PostFieldTemplatesResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type 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 PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdCreditData, type PostTenantsByIdCreditError, type PostTenantsByIdCreditErrors, type PostTenantsByIdCreditResponse, type PostTenantsByIdCreditResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, 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 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 PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type 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 Search, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, ServerError, type StorageStats, type StreamMessageChunk, type StreamOptions, type Subscription, type Tenant, type TenantDocumentStats, type TenantMembership, type TenantStats, type Thread, type ThreadCreateRequest, ThreadCreateSchema, TimeoutError, type Token, type TrainingAnalytics, type TrainingExample, type TrainingSession, type Transaction, type User, type UserProfile, ValidationError, type Wallet, 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, deleteAgentsById, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteFieldTemplatesById, deleteMessagesById, deleteNotificationMethodsById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteTrainingSessionsById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgentVersions, getAgentVersionsById, getAgents, getAgentsById, getAgentsByIdTrainingStats, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesByIdUploadUrls, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionDocumentsWorkspaceByWorkspaceIdExcluded, getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue, getExtractionDocumentsWorkspaceByWorkspaceIdTrained, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemas, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getFieldTemplates, getFieldTemplatesById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationMethods, getNotificationMethodsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getTenantsByTenantIdDocumentStats, getTenantsByTenantIdStats, getTenantsByTenantIdWorkspaceStats, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTrainingSessionsAgentsByAgentIdSessions, getTrainingSessionsById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesByWorkspaceIdExtractionExports, getWorkspacesByWorkspaceIdExtractionExportsById, getWorkspacesByWorkspaceIdTrainingAnalytics, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApiKeysByIdSetBudget, patchApplicationsById, patchApplicationsByIdGrantCredits, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdDismiss, patchExtractionDocumentsByIdDismissTraining, patchExtractionDocumentsByIdExclude, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdInclude, patchExtractionDocumentsByIdMarkTrained, patchExtractionDocumentsByIdRestore, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchExtractionSchemasByIdActivate, patchExtractionSchemasByIdFields, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationMethodsById, patchNotificationMethodsByIdSetPrimary, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersByIdAdmin, patchUsersByIdAdminEmail, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletCredits, patchWalletPlan, patchWebhookConfigsById, patchWebhookConfigsByIdRotateSecret, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentVersions, postAgents, postAgentsByIdClone, postAgentsByIdPublishVersion, postAgentsByIdTeach, postAgentsByIdTest, postAgentsByIdValidate, postAgentsCloneForWorkspace, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postExtractionSchemasBulkCreate, postFieldTemplates, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationMethods, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdCredit, postTenantsByIdRemoveStorage, postTenantsIsv, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postTrainingExamplesSearch, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained, postWorkspacesByWorkspaceIdExtractionExports, retryWithBackoff, sleep, streamMessage, streamSSE, webhooks, withRetry };