@gpt-core/client 0.3.5 → 0.3.6
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 +1092 -430
- package/dist/index.d.ts +1092 -430
- package/dist/index.js +54 -0
- package/dist/index.mjs +48 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,313 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
type
|
|
3
|
+
type AuthToken = string | undefined;
|
|
4
|
+
interface Auth {
|
|
5
|
+
/**
|
|
6
|
+
* Which part of the request do we use to send the auth?
|
|
7
|
+
*
|
|
8
|
+
* @default 'header'
|
|
9
|
+
*/
|
|
10
|
+
in?: "header" | "query" | "cookie";
|
|
11
|
+
/**
|
|
12
|
+
* Header or query parameter name.
|
|
13
|
+
*
|
|
14
|
+
* @default 'Authorization'
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
scheme?: "basic" | "bearer";
|
|
18
|
+
type: "apiKey" | "http";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface SerializerOptions<T> {
|
|
22
|
+
/**
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
explode: boolean;
|
|
26
|
+
style: T;
|
|
27
|
+
}
|
|
28
|
+
type ArrayStyle = "form" | "spaceDelimited" | "pipeDelimited";
|
|
29
|
+
type ObjectStyle = "form" | "deepObject";
|
|
30
|
+
|
|
31
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
32
|
+
type BodySerializer = (body: any) => any;
|
|
33
|
+
type QuerySerializerOptionsObject = {
|
|
34
|
+
allowReserved?: boolean;
|
|
35
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
36
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
37
|
+
};
|
|
38
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
39
|
+
/**
|
|
40
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
41
|
+
* override the global array/object settings for specific parameter names.
|
|
42
|
+
*/
|
|
43
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
type HttpMethod = "connect" | "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace";
|
|
47
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
48
|
+
/**
|
|
49
|
+
* Returns the final request URL.
|
|
50
|
+
*/
|
|
51
|
+
buildUrl: BuildUrlFn;
|
|
52
|
+
getConfig: () => Config;
|
|
53
|
+
request: RequestFn;
|
|
54
|
+
setConfig: (config: Config) => Config;
|
|
55
|
+
} & {
|
|
56
|
+
[K in HttpMethod]: MethodFn;
|
|
57
|
+
} & ([SseFn] extends [never] ? {
|
|
58
|
+
sse?: never;
|
|
59
|
+
} : {
|
|
60
|
+
sse: {
|
|
61
|
+
[K in HttpMethod]: SseFn;
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
interface Config$2 {
|
|
65
|
+
/**
|
|
66
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
67
|
+
* added to the request payload as defined by its `security` array.
|
|
68
|
+
*/
|
|
69
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
70
|
+
/**
|
|
71
|
+
* A function for serializing request body parameter. By default,
|
|
72
|
+
* {@link JSON.stringify()} will be used.
|
|
73
|
+
*/
|
|
74
|
+
bodySerializer?: BodySerializer | null;
|
|
75
|
+
/**
|
|
76
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
77
|
+
* `Headers` object with.
|
|
78
|
+
*
|
|
79
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
80
|
+
*/
|
|
81
|
+
headers?: RequestInit["headers"] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
82
|
+
/**
|
|
83
|
+
* The request method.
|
|
84
|
+
*
|
|
85
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
86
|
+
*/
|
|
87
|
+
method?: Uppercase<HttpMethod>;
|
|
88
|
+
/**
|
|
89
|
+
* A function for serializing request query parameters. By default, arrays
|
|
90
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
91
|
+
* style, and reserved characters are percent-encoded.
|
|
92
|
+
*
|
|
93
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
94
|
+
* API function is used.
|
|
95
|
+
*
|
|
96
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
97
|
+
*/
|
|
98
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
99
|
+
/**
|
|
100
|
+
* A function validating request data. This is useful if you want to ensure
|
|
101
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
102
|
+
* the server.
|
|
103
|
+
*/
|
|
104
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
105
|
+
/**
|
|
106
|
+
* A function transforming response data before it's returned. This is useful
|
|
107
|
+
* for post-processing data, e.g. converting ISO strings into Date objects.
|
|
108
|
+
*/
|
|
109
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
110
|
+
/**
|
|
111
|
+
* A function validating response data. This is useful if you want to ensure
|
|
112
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
113
|
+
* the transformers and returned to the user.
|
|
114
|
+
*/
|
|
115
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, "method"> & Pick<Config$2, "method" | "responseTransformer" | "responseValidator"> & {
|
|
119
|
+
/**
|
|
120
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
121
|
+
* fetch instance.
|
|
122
|
+
*
|
|
123
|
+
* @default globalThis.fetch
|
|
124
|
+
*/
|
|
125
|
+
fetch?: typeof fetch;
|
|
126
|
+
/**
|
|
127
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
128
|
+
*/
|
|
129
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
130
|
+
/**
|
|
131
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
132
|
+
*
|
|
133
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
134
|
+
*
|
|
135
|
+
* @param error The error that occurred.
|
|
136
|
+
*/
|
|
137
|
+
onSseError?: (error: unknown) => void;
|
|
138
|
+
/**
|
|
139
|
+
* Callback invoked when an event is streamed from the server.
|
|
140
|
+
*
|
|
141
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
142
|
+
*
|
|
143
|
+
* @param event Event streamed from the server.
|
|
144
|
+
* @returns Nothing (void).
|
|
145
|
+
*/
|
|
146
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
147
|
+
serializedBody?: RequestInit["body"];
|
|
148
|
+
/**
|
|
149
|
+
* Default retry delay in milliseconds.
|
|
150
|
+
*
|
|
151
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
152
|
+
*
|
|
153
|
+
* @default 3000
|
|
154
|
+
*/
|
|
155
|
+
sseDefaultRetryDelay?: number;
|
|
156
|
+
/**
|
|
157
|
+
* Maximum number of retry attempts before giving up.
|
|
158
|
+
*/
|
|
159
|
+
sseMaxRetryAttempts?: number;
|
|
160
|
+
/**
|
|
161
|
+
* Maximum retry delay in milliseconds.
|
|
162
|
+
*
|
|
163
|
+
* Applies only when exponential backoff is used.
|
|
164
|
+
*
|
|
165
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
166
|
+
*
|
|
167
|
+
* @default 30000
|
|
168
|
+
*/
|
|
169
|
+
sseMaxRetryDelay?: number;
|
|
170
|
+
/**
|
|
171
|
+
* Optional sleep function for retry backoff.
|
|
172
|
+
*
|
|
173
|
+
* Defaults to using `setTimeout`.
|
|
174
|
+
*/
|
|
175
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
176
|
+
url: string;
|
|
177
|
+
};
|
|
178
|
+
interface StreamEvent<TData = unknown> {
|
|
179
|
+
data: TData;
|
|
180
|
+
event?: string;
|
|
181
|
+
id?: string;
|
|
182
|
+
retry?: number;
|
|
183
|
+
}
|
|
184
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
185
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
189
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
190
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
191
|
+
declare class Interceptors<Interceptor> {
|
|
192
|
+
fns: Array<Interceptor | null>;
|
|
193
|
+
clear(): void;
|
|
194
|
+
eject(id: number | Interceptor): void;
|
|
195
|
+
exists(id: number | Interceptor): boolean;
|
|
196
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
197
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
198
|
+
use(fn: Interceptor): number;
|
|
199
|
+
}
|
|
200
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
201
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
202
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
203
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
type ResponseStyle = "data" | "fields";
|
|
207
|
+
interface Config$1<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, "body" | "headers" | "method">, Config$2 {
|
|
208
|
+
/**
|
|
209
|
+
* Base URL for all requests made by this client.
|
|
210
|
+
*/
|
|
211
|
+
baseUrl?: T["baseUrl"];
|
|
212
|
+
/**
|
|
213
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
214
|
+
* fetch instance.
|
|
215
|
+
*
|
|
216
|
+
* @default globalThis.fetch
|
|
217
|
+
*/
|
|
218
|
+
fetch?: typeof fetch;
|
|
219
|
+
/**
|
|
220
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
221
|
+
* options won't have any effect.
|
|
222
|
+
*
|
|
223
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
224
|
+
*/
|
|
225
|
+
next?: never;
|
|
226
|
+
/**
|
|
227
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
228
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
229
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
230
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
231
|
+
*
|
|
232
|
+
* @default 'auto'
|
|
233
|
+
*/
|
|
234
|
+
parseAs?: "arrayBuffer" | "auto" | "blob" | "formData" | "json" | "stream" | "text";
|
|
235
|
+
/**
|
|
236
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
237
|
+
*
|
|
238
|
+
* @default 'fields'
|
|
239
|
+
*/
|
|
240
|
+
responseStyle?: ResponseStyle;
|
|
241
|
+
/**
|
|
242
|
+
* Throw an error instead of returning it in the response?
|
|
243
|
+
*
|
|
244
|
+
* @default false
|
|
245
|
+
*/
|
|
246
|
+
throwOnError?: T["throwOnError"];
|
|
247
|
+
}
|
|
248
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = "fields", ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$1<{
|
|
249
|
+
responseStyle: TResponseStyle;
|
|
250
|
+
throwOnError: ThrowOnError;
|
|
251
|
+
}>, Pick<ServerSentEventsOptions<TData>, "onSseError" | "onSseEvent" | "sseDefaultRetryDelay" | "sseMaxRetryAttempts" | "sseMaxRetryDelay"> {
|
|
252
|
+
/**
|
|
253
|
+
* Any body that you want to add to your request.
|
|
254
|
+
*
|
|
255
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
256
|
+
*/
|
|
257
|
+
body?: unknown;
|
|
258
|
+
path?: Record<string, unknown>;
|
|
259
|
+
query?: Record<string, unknown>;
|
|
260
|
+
/**
|
|
261
|
+
* Security mechanism(s) to use for the request.
|
|
262
|
+
*/
|
|
263
|
+
security?: ReadonlyArray<Auth>;
|
|
264
|
+
url: Url;
|
|
265
|
+
}
|
|
266
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = "fields", ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
267
|
+
serializedBody?: string;
|
|
268
|
+
}
|
|
269
|
+
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = "fields"> = ThrowOnError extends true ? Promise<TResponseStyle extends "data" ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
270
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
271
|
+
request: Request;
|
|
272
|
+
response: Response;
|
|
273
|
+
}> : Promise<TResponseStyle extends "data" ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
274
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
275
|
+
error: undefined;
|
|
276
|
+
} | {
|
|
277
|
+
data: undefined;
|
|
278
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
279
|
+
}) & {
|
|
280
|
+
request: Request;
|
|
281
|
+
response: Response;
|
|
282
|
+
}>;
|
|
283
|
+
interface ClientOptions$1 {
|
|
284
|
+
baseUrl?: string;
|
|
285
|
+
responseStyle?: ResponseStyle;
|
|
286
|
+
throwOnError?: boolean;
|
|
287
|
+
}
|
|
288
|
+
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method">) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
289
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method">) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
290
|
+
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method"> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, "method">) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
291
|
+
type BuildUrlFn = <TData extends {
|
|
292
|
+
body?: unknown;
|
|
293
|
+
path?: Record<string, unknown>;
|
|
294
|
+
query?: Record<string, unknown>;
|
|
295
|
+
url: string;
|
|
296
|
+
}>(options: TData & Options$1<TData>) => string;
|
|
297
|
+
type Client = Client$1<RequestFn, Config$1, MethodFn, BuildUrlFn, SseFn> & {
|
|
298
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
299
|
+
};
|
|
300
|
+
interface TDataShape {
|
|
301
|
+
body?: unknown;
|
|
302
|
+
headers?: unknown;
|
|
303
|
+
path?: unknown;
|
|
304
|
+
query?: unknown;
|
|
305
|
+
url: string;
|
|
306
|
+
}
|
|
307
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
308
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = "fields"> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, "body" | "path" | "query" | "url"> & ([TData] extends [never] ? unknown : Omit<TData, "url">);
|
|
309
|
+
|
|
310
|
+
type ClientOptions = {
|
|
4
311
|
baseUrl: "http://localhost:22222" | "https://api.yourdomain.com" | (string & {});
|
|
5
312
|
};
|
|
6
313
|
type WorkspaceSettingsInputCreateType = {
|
|
@@ -61,6 +368,19 @@ type LedgerFilter = unknown;
|
|
|
61
368
|
* Filters the query to results matching the given filter object
|
|
62
369
|
*/
|
|
63
370
|
type ThreadFilter = unknown;
|
|
371
|
+
type ExtractionBatchFilterUserLabel = {
|
|
372
|
+
contains?: string;
|
|
373
|
+
eq?: string;
|
|
374
|
+
greater_than?: string;
|
|
375
|
+
greater_than_or_equal?: string;
|
|
376
|
+
ilike?: string;
|
|
377
|
+
in?: Array<string>;
|
|
378
|
+
is_nil?: boolean;
|
|
379
|
+
less_than?: string;
|
|
380
|
+
less_than_or_equal?: string;
|
|
381
|
+
like?: string;
|
|
382
|
+
not_eq?: string;
|
|
383
|
+
};
|
|
64
384
|
type ExtractionSchemaFilterVersion = {
|
|
65
385
|
eq?: number;
|
|
66
386
|
greater_than?: number;
|
|
@@ -891,6 +1211,19 @@ type SavedSearchFilterName = {
|
|
|
891
1211
|
like?: string;
|
|
892
1212
|
not_eq?: string;
|
|
893
1213
|
};
|
|
1214
|
+
type ExtractionBatchFilterName = {
|
|
1215
|
+
contains?: string;
|
|
1216
|
+
eq?: string;
|
|
1217
|
+
greater_than?: string;
|
|
1218
|
+
greater_than_or_equal?: string;
|
|
1219
|
+
ilike?: string;
|
|
1220
|
+
in?: Array<string>;
|
|
1221
|
+
is_nil?: boolean;
|
|
1222
|
+
less_than?: string;
|
|
1223
|
+
less_than_or_equal?: string;
|
|
1224
|
+
like?: string;
|
|
1225
|
+
not_eq?: string;
|
|
1226
|
+
};
|
|
894
1227
|
type Links = {
|
|
895
1228
|
[key: string]: Link;
|
|
896
1229
|
};
|
|
@@ -1479,6 +1812,19 @@ type TransactionFilterDescription = {
|
|
|
1479
1812
|
like?: string;
|
|
1480
1813
|
not_eq?: string;
|
|
1481
1814
|
};
|
|
1815
|
+
type AgentFilterVersion = {
|
|
1816
|
+
contains?: string;
|
|
1817
|
+
eq?: string;
|
|
1818
|
+
greater_than?: string;
|
|
1819
|
+
greater_than_or_equal?: string;
|
|
1820
|
+
ilike?: string;
|
|
1821
|
+
in?: Array<string>;
|
|
1822
|
+
is_nil?: boolean;
|
|
1823
|
+
less_than?: string;
|
|
1824
|
+
less_than_or_equal?: string;
|
|
1825
|
+
like?: string;
|
|
1826
|
+
not_eq?: string;
|
|
1827
|
+
};
|
|
1482
1828
|
type ObjectFilterContentType = {
|
|
1483
1829
|
contains?: string;
|
|
1484
1830
|
eq?: string;
|
|
@@ -2084,6 +2430,19 @@ type Transaction = {
|
|
|
2084
2430
|
};
|
|
2085
2431
|
type: string;
|
|
2086
2432
|
};
|
|
2433
|
+
type ExtractionDocumentFilterUploadUrl = {
|
|
2434
|
+
contains?: string;
|
|
2435
|
+
eq?: string;
|
|
2436
|
+
greater_than?: string;
|
|
2437
|
+
greater_than_or_equal?: string;
|
|
2438
|
+
ilike?: string;
|
|
2439
|
+
in?: Array<string>;
|
|
2440
|
+
is_nil?: boolean;
|
|
2441
|
+
less_than?: string;
|
|
2442
|
+
less_than_or_equal?: string;
|
|
2443
|
+
like?: string;
|
|
2444
|
+
not_eq?: string;
|
|
2445
|
+
};
|
|
2087
2446
|
/**
|
|
2088
2447
|
* A "Resource object" representing a extraction_result
|
|
2089
2448
|
*/
|
|
@@ -2824,7 +3183,7 @@ type LlmAnalytics = {
|
|
|
2824
3183
|
};
|
|
2825
3184
|
type: string;
|
|
2826
3185
|
};
|
|
2827
|
-
type
|
|
3186
|
+
type Error$1 = {
|
|
2828
3187
|
/**
|
|
2829
3188
|
* An application-specific error code, expressed as a string value.
|
|
2830
3189
|
*/
|
|
@@ -3001,7 +3360,7 @@ type NotificationPreferenceFilter = unknown;
|
|
|
3001
3360
|
/**
|
|
3002
3361
|
* A "Resource object" representing a object
|
|
3003
3362
|
*/
|
|
3004
|
-
type
|
|
3363
|
+
type Object$1 = {
|
|
3005
3364
|
/**
|
|
3006
3365
|
* An attributes object for a object
|
|
3007
3366
|
*/
|
|
@@ -3028,7 +3387,7 @@ type _Object = {
|
|
|
3028
3387
|
};
|
|
3029
3388
|
type: string;
|
|
3030
3389
|
};
|
|
3031
|
-
type Errors = Array<
|
|
3390
|
+
type Errors = Array<Error$1>;
|
|
3032
3391
|
type CreditPackageFilterUpdatedAt = {
|
|
3033
3392
|
eq?: unknown;
|
|
3034
3393
|
greater_than?: unknown;
|
|
@@ -3471,6 +3830,10 @@ type WalletFilterStorageBlocksPurchased = {
|
|
|
3471
3830
|
less_than_or_equal?: number;
|
|
3472
3831
|
not_eq?: number;
|
|
3473
3832
|
};
|
|
3833
|
+
/**
|
|
3834
|
+
* Filters the query to results matching the given filter object
|
|
3835
|
+
*/
|
|
3836
|
+
type ExtractionBatchFilter = unknown;
|
|
3474
3837
|
type TenantMembershipFilterUserId = {
|
|
3475
3838
|
eq?: string;
|
|
3476
3839
|
greater_than?: string;
|
|
@@ -3494,6 +3857,16 @@ type TransactionFilterCurrency = {
|
|
|
3494
3857
|
like?: string;
|
|
3495
3858
|
not_eq?: string;
|
|
3496
3859
|
};
|
|
3860
|
+
type ExtractionBatchFilterStatus = {
|
|
3861
|
+
eq?: string;
|
|
3862
|
+
greater_than?: string;
|
|
3863
|
+
greater_than_or_equal?: string;
|
|
3864
|
+
in?: Array<string>;
|
|
3865
|
+
is_nil?: boolean;
|
|
3866
|
+
less_than?: string;
|
|
3867
|
+
less_than_or_equal?: string;
|
|
3868
|
+
not_eq?: string;
|
|
3869
|
+
};
|
|
3497
3870
|
type BucketFilterRegion = {
|
|
3498
3871
|
contains?: string;
|
|
3499
3872
|
eq?: string;
|
|
@@ -3701,6 +4074,33 @@ type SearchFilterId = {
|
|
|
3701
4074
|
less_than_or_equal?: string;
|
|
3702
4075
|
not_eq?: string;
|
|
3703
4076
|
};
|
|
4077
|
+
/**
|
|
4078
|
+
* A "Resource object" representing a extraction_batch
|
|
4079
|
+
*/
|
|
4080
|
+
type ExtractionBatch = {
|
|
4081
|
+
/**
|
|
4082
|
+
* An attributes object for a extraction_batch
|
|
4083
|
+
*/
|
|
4084
|
+
attributes?: {
|
|
4085
|
+
/**
|
|
4086
|
+
* Field included by default.
|
|
4087
|
+
*/
|
|
4088
|
+
name?: string | null | unknown;
|
|
4089
|
+
status?: string | null | unknown;
|
|
4090
|
+
/**
|
|
4091
|
+
* Field included by default.
|
|
4092
|
+
*/
|
|
4093
|
+
user_label?: string | null | unknown;
|
|
4094
|
+
};
|
|
4095
|
+
id: string;
|
|
4096
|
+
/**
|
|
4097
|
+
* A relationships object for a extraction_batch
|
|
4098
|
+
*/
|
|
4099
|
+
relationships?: {
|
|
4100
|
+
[key: string]: never;
|
|
4101
|
+
};
|
|
4102
|
+
type: string;
|
|
4103
|
+
};
|
|
3704
4104
|
type DocumentChunkFilterContent = {
|
|
3705
4105
|
contains?: string;
|
|
3706
4106
|
eq?: string;
|
|
@@ -3892,7 +4292,7 @@ type DocumentStatsFilterFailed = {
|
|
|
3892
4292
|
/**
|
|
3893
4293
|
* A "Resource object" representing a config
|
|
3894
4294
|
*/
|
|
3895
|
-
type Config
|
|
4295
|
+
type Config = {
|
|
3896
4296
|
/**
|
|
3897
4297
|
* An attributes object for a config
|
|
3898
4298
|
*/
|
|
@@ -4467,6 +4867,16 @@ type Agent = {
|
|
|
4467
4867
|
};
|
|
4468
4868
|
type: string;
|
|
4469
4869
|
};
|
|
4870
|
+
type ExtractionBatchFilterId = {
|
|
4871
|
+
eq?: string;
|
|
4872
|
+
greater_than?: string;
|
|
4873
|
+
greater_than_or_equal?: string;
|
|
4874
|
+
in?: Array<string>;
|
|
4875
|
+
is_nil?: boolean;
|
|
4876
|
+
less_than?: string;
|
|
4877
|
+
less_than_or_equal?: string;
|
|
4878
|
+
not_eq?: string;
|
|
4879
|
+
};
|
|
4470
4880
|
/**
|
|
4471
4881
|
* Filters the query to results matching the given filter object
|
|
4472
4882
|
*/
|
|
@@ -4966,6 +5376,10 @@ type ExtractionDocument = {
|
|
|
4966
5376
|
* Field included by default.
|
|
4967
5377
|
*/
|
|
4968
5378
|
storage_path: string;
|
|
5379
|
+
/**
|
|
5380
|
+
* Field included by default.
|
|
5381
|
+
*/
|
|
5382
|
+
upload_url?: string | null | unknown;
|
|
4969
5383
|
};
|
|
4970
5384
|
id: string;
|
|
4971
5385
|
/**
|
|
@@ -5939,7 +6353,7 @@ type PostObjectsRegisterResponses = {
|
|
|
5939
6353
|
* Success
|
|
5940
6354
|
*/
|
|
5941
6355
|
201: {
|
|
5942
|
-
data?:
|
|
6356
|
+
data?: Object$1;
|
|
5943
6357
|
included?: Array<unknown>;
|
|
5944
6358
|
meta?: {
|
|
5945
6359
|
[key: string]: unknown;
|
|
@@ -6174,6 +6588,92 @@ type GetCreditPackagesSlugBySlugResponses = {
|
|
|
6174
6588
|
};
|
|
6175
6589
|
};
|
|
6176
6590
|
type GetCreditPackagesSlugBySlugResponse = GetCreditPackagesSlugBySlugResponses[keyof GetCreditPackagesSlugBySlugResponses];
|
|
6591
|
+
type PostExtractionBatchesData = {
|
|
6592
|
+
/**
|
|
6593
|
+
* Request body for the /extraction/batches operation on extraction_batch resource
|
|
6594
|
+
*/
|
|
6595
|
+
body: {
|
|
6596
|
+
data: {
|
|
6597
|
+
attributes?: {
|
|
6598
|
+
name?: string | unknown;
|
|
6599
|
+
user_label?: string | unknown;
|
|
6600
|
+
workspace_id: string;
|
|
6601
|
+
};
|
|
6602
|
+
relationships?: {
|
|
6603
|
+
[key: string]: never;
|
|
6604
|
+
};
|
|
6605
|
+
type?: "extraction_batch";
|
|
6606
|
+
};
|
|
6607
|
+
};
|
|
6608
|
+
headers: {
|
|
6609
|
+
/**
|
|
6610
|
+
* Application ID for authentication and routing
|
|
6611
|
+
*/
|
|
6612
|
+
"x-application-key": string;
|
|
6613
|
+
};
|
|
6614
|
+
path?: never;
|
|
6615
|
+
query?: {
|
|
6616
|
+
/**
|
|
6617
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
6618
|
+
*/
|
|
6619
|
+
include?: string;
|
|
6620
|
+
/**
|
|
6621
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
6622
|
+
*/
|
|
6623
|
+
fields?: {
|
|
6624
|
+
/**
|
|
6625
|
+
* Comma separated field names for extraction_batch
|
|
6626
|
+
*/
|
|
6627
|
+
extraction_batch?: string;
|
|
6628
|
+
[key: string]: unknown | string | undefined;
|
|
6629
|
+
};
|
|
6630
|
+
};
|
|
6631
|
+
url: "/extraction/batches";
|
|
6632
|
+
};
|
|
6633
|
+
type PostExtractionBatchesErrors = {
|
|
6634
|
+
/**
|
|
6635
|
+
* Bad Request - Invalid input data or malformed request
|
|
6636
|
+
*/
|
|
6637
|
+
400: ErrorResponse;
|
|
6638
|
+
/**
|
|
6639
|
+
* Unauthorized - Missing or invalid authentication token
|
|
6640
|
+
*/
|
|
6641
|
+
401: ErrorResponse;
|
|
6642
|
+
/**
|
|
6643
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
6644
|
+
*/
|
|
6645
|
+
403: ErrorResponse;
|
|
6646
|
+
/**
|
|
6647
|
+
* Not Found - Resource does not exist
|
|
6648
|
+
*/
|
|
6649
|
+
404: ErrorResponse;
|
|
6650
|
+
/**
|
|
6651
|
+
* Too Many Requests - Rate limit exceeded
|
|
6652
|
+
*/
|
|
6653
|
+
429: ErrorResponse;
|
|
6654
|
+
/**
|
|
6655
|
+
* Internal Server Error - Unexpected server error
|
|
6656
|
+
*/
|
|
6657
|
+
500: ErrorResponse;
|
|
6658
|
+
/**
|
|
6659
|
+
* General Error
|
|
6660
|
+
*/
|
|
6661
|
+
default: Errors;
|
|
6662
|
+
};
|
|
6663
|
+
type PostExtractionBatchesError = PostExtractionBatchesErrors[keyof PostExtractionBatchesErrors];
|
|
6664
|
+
type PostExtractionBatchesResponses = {
|
|
6665
|
+
/**
|
|
6666
|
+
* Success
|
|
6667
|
+
*/
|
|
6668
|
+
201: {
|
|
6669
|
+
data?: ExtractionBatch;
|
|
6670
|
+
included?: Array<unknown>;
|
|
6671
|
+
meta?: {
|
|
6672
|
+
[key: string]: unknown;
|
|
6673
|
+
};
|
|
6674
|
+
};
|
|
6675
|
+
};
|
|
6676
|
+
type PostExtractionBatchesResponse = PostExtractionBatchesResponses[keyof PostExtractionBatchesResponses];
|
|
6177
6677
|
type GetLlmAnalyticsPlatformData = {
|
|
6178
6678
|
body?: never;
|
|
6179
6679
|
headers: {
|
|
@@ -6333,6 +6833,90 @@ type PostPaymentsResponses = {
|
|
|
6333
6833
|
};
|
|
6334
6834
|
};
|
|
6335
6835
|
type PostPaymentsResponse = PostPaymentsResponses[keyof PostPaymentsResponses];
|
|
6836
|
+
type GetExtractionBatchesWorkspaceByWorkspaceIdData = {
|
|
6837
|
+
body?: never;
|
|
6838
|
+
headers: {
|
|
6839
|
+
/**
|
|
6840
|
+
* Application ID for authentication and routing
|
|
6841
|
+
*/
|
|
6842
|
+
"x-application-key": string;
|
|
6843
|
+
};
|
|
6844
|
+
path: {
|
|
6845
|
+
workspace_id: string;
|
|
6846
|
+
};
|
|
6847
|
+
query?: {
|
|
6848
|
+
/**
|
|
6849
|
+
* Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
|
|
6850
|
+
*/
|
|
6851
|
+
filter?: ExtractionBatchFilter;
|
|
6852
|
+
/**
|
|
6853
|
+
* Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
|
|
6854
|
+
*/
|
|
6855
|
+
sort?: string;
|
|
6856
|
+
/**
|
|
6857
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
6858
|
+
*/
|
|
6859
|
+
include?: string;
|
|
6860
|
+
/**
|
|
6861
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
6862
|
+
*/
|
|
6863
|
+
fields?: {
|
|
6864
|
+
/**
|
|
6865
|
+
* Comma separated field names for extraction_batch
|
|
6866
|
+
*/
|
|
6867
|
+
extraction_batch?: string;
|
|
6868
|
+
[key: string]: unknown | string | undefined;
|
|
6869
|
+
};
|
|
6870
|
+
};
|
|
6871
|
+
url: "/extraction/batches/workspace/{workspace_id}";
|
|
6872
|
+
};
|
|
6873
|
+
type GetExtractionBatchesWorkspaceByWorkspaceIdErrors = {
|
|
6874
|
+
/**
|
|
6875
|
+
* Bad Request - Invalid input data or malformed request
|
|
6876
|
+
*/
|
|
6877
|
+
400: ErrorResponse;
|
|
6878
|
+
/**
|
|
6879
|
+
* Unauthorized - Missing or invalid authentication token
|
|
6880
|
+
*/
|
|
6881
|
+
401: ErrorResponse;
|
|
6882
|
+
/**
|
|
6883
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
6884
|
+
*/
|
|
6885
|
+
403: ErrorResponse;
|
|
6886
|
+
/**
|
|
6887
|
+
* Not Found - Resource does not exist
|
|
6888
|
+
*/
|
|
6889
|
+
404: ErrorResponse;
|
|
6890
|
+
/**
|
|
6891
|
+
* Too Many Requests - Rate limit exceeded
|
|
6892
|
+
*/
|
|
6893
|
+
429: ErrorResponse;
|
|
6894
|
+
/**
|
|
6895
|
+
* Internal Server Error - Unexpected server error
|
|
6896
|
+
*/
|
|
6897
|
+
500: ErrorResponse;
|
|
6898
|
+
/**
|
|
6899
|
+
* General Error
|
|
6900
|
+
*/
|
|
6901
|
+
default: Errors;
|
|
6902
|
+
};
|
|
6903
|
+
type GetExtractionBatchesWorkspaceByWorkspaceIdError = GetExtractionBatchesWorkspaceByWorkspaceIdErrors[keyof GetExtractionBatchesWorkspaceByWorkspaceIdErrors];
|
|
6904
|
+
type GetExtractionBatchesWorkspaceByWorkspaceIdResponses = {
|
|
6905
|
+
/**
|
|
6906
|
+
* Success
|
|
6907
|
+
*/
|
|
6908
|
+
200: {
|
|
6909
|
+
/**
|
|
6910
|
+
* An array of resource objects representing a extraction_batch
|
|
6911
|
+
*/
|
|
6912
|
+
data?: Array<ExtractionBatch>;
|
|
6913
|
+
included?: Array<unknown>;
|
|
6914
|
+
meta?: {
|
|
6915
|
+
[key: string]: unknown;
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
6918
|
+
};
|
|
6919
|
+
type GetExtractionBatchesWorkspaceByWorkspaceIdResponse = GetExtractionBatchesWorkspaceByWorkspaceIdResponses[keyof GetExtractionBatchesWorkspaceByWorkspaceIdResponses];
|
|
6336
6920
|
type PatchApiKeysByIdRevokeData = {
|
|
6337
6921
|
/**
|
|
6338
6922
|
* Request body for the /api_keys/:id/revoke operation on api_key resource
|
|
@@ -6552,8 +7136,102 @@ type GetExtractionDocumentsByIdStatusErrors = {
|
|
|
6552
7136
|
*/
|
|
6553
7137
|
default: Errors;
|
|
6554
7138
|
};
|
|
6555
|
-
type GetExtractionDocumentsByIdStatusError = GetExtractionDocumentsByIdStatusErrors[keyof GetExtractionDocumentsByIdStatusErrors];
|
|
6556
|
-
type GetExtractionDocumentsByIdStatusResponses = {
|
|
7139
|
+
type GetExtractionDocumentsByIdStatusError = GetExtractionDocumentsByIdStatusErrors[keyof GetExtractionDocumentsByIdStatusErrors];
|
|
7140
|
+
type GetExtractionDocumentsByIdStatusResponses = {
|
|
7141
|
+
/**
|
|
7142
|
+
* Success
|
|
7143
|
+
*/
|
|
7144
|
+
200: {
|
|
7145
|
+
data?: ExtractionDocument;
|
|
7146
|
+
included?: Array<unknown>;
|
|
7147
|
+
meta?: {
|
|
7148
|
+
[key: string]: unknown;
|
|
7149
|
+
};
|
|
7150
|
+
};
|
|
7151
|
+
};
|
|
7152
|
+
type GetExtractionDocumentsByIdStatusResponse = GetExtractionDocumentsByIdStatusResponses[keyof GetExtractionDocumentsByIdStatusResponses];
|
|
7153
|
+
type PatchExtractionDocumentsByIdStatusData = {
|
|
7154
|
+
/**
|
|
7155
|
+
* Request body for the /extraction/documents/:id/status operation on extraction_document resource
|
|
7156
|
+
*/
|
|
7157
|
+
body?: {
|
|
7158
|
+
data: {
|
|
7159
|
+
attributes?: {
|
|
7160
|
+
/**
|
|
7161
|
+
* Credits billed for processing this document
|
|
7162
|
+
*/
|
|
7163
|
+
billed_credits?: number | unknown;
|
|
7164
|
+
error_message?: string | unknown;
|
|
7165
|
+
pages?: number | unknown;
|
|
7166
|
+
progress?: number | unknown;
|
|
7167
|
+
status?: "queued" | "processing" | "completed" | "failed" | unknown;
|
|
7168
|
+
};
|
|
7169
|
+
id: string;
|
|
7170
|
+
relationships?: {
|
|
7171
|
+
[key: string]: never;
|
|
7172
|
+
};
|
|
7173
|
+
type?: "extraction_document";
|
|
7174
|
+
};
|
|
7175
|
+
};
|
|
7176
|
+
headers: {
|
|
7177
|
+
/**
|
|
7178
|
+
* Application ID for authentication and routing
|
|
7179
|
+
*/
|
|
7180
|
+
"x-application-key": string;
|
|
7181
|
+
};
|
|
7182
|
+
path: {
|
|
7183
|
+
id: string;
|
|
7184
|
+
};
|
|
7185
|
+
query?: {
|
|
7186
|
+
/**
|
|
7187
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
7188
|
+
*/
|
|
7189
|
+
include?: string;
|
|
7190
|
+
/**
|
|
7191
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
7192
|
+
*/
|
|
7193
|
+
fields?: {
|
|
7194
|
+
/**
|
|
7195
|
+
* Comma separated field names for extraction_document
|
|
7196
|
+
*/
|
|
7197
|
+
extraction_document?: string;
|
|
7198
|
+
[key: string]: unknown | string | undefined;
|
|
7199
|
+
};
|
|
7200
|
+
};
|
|
7201
|
+
url: "/extraction/documents/{id}/status";
|
|
7202
|
+
};
|
|
7203
|
+
type PatchExtractionDocumentsByIdStatusErrors = {
|
|
7204
|
+
/**
|
|
7205
|
+
* Bad Request - Invalid input data or malformed request
|
|
7206
|
+
*/
|
|
7207
|
+
400: ErrorResponse;
|
|
7208
|
+
/**
|
|
7209
|
+
* Unauthorized - Missing or invalid authentication token
|
|
7210
|
+
*/
|
|
7211
|
+
401: ErrorResponse;
|
|
7212
|
+
/**
|
|
7213
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
7214
|
+
*/
|
|
7215
|
+
403: ErrorResponse;
|
|
7216
|
+
/**
|
|
7217
|
+
* Not Found - Resource does not exist
|
|
7218
|
+
*/
|
|
7219
|
+
404: ErrorResponse;
|
|
7220
|
+
/**
|
|
7221
|
+
* Too Many Requests - Rate limit exceeded
|
|
7222
|
+
*/
|
|
7223
|
+
429: ErrorResponse;
|
|
7224
|
+
/**
|
|
7225
|
+
* Internal Server Error - Unexpected server error
|
|
7226
|
+
*/
|
|
7227
|
+
500: ErrorResponse;
|
|
7228
|
+
/**
|
|
7229
|
+
* General Error
|
|
7230
|
+
*/
|
|
7231
|
+
default: Errors;
|
|
7232
|
+
};
|
|
7233
|
+
type PatchExtractionDocumentsByIdStatusError = PatchExtractionDocumentsByIdStatusErrors[keyof PatchExtractionDocumentsByIdStatusErrors];
|
|
7234
|
+
type PatchExtractionDocumentsByIdStatusResponses = {
|
|
6557
7235
|
/**
|
|
6558
7236
|
* Success
|
|
6559
7237
|
*/
|
|
@@ -6565,22 +7243,15 @@ type GetExtractionDocumentsByIdStatusResponses = {
|
|
|
6565
7243
|
};
|
|
6566
7244
|
};
|
|
6567
7245
|
};
|
|
6568
|
-
type
|
|
6569
|
-
type
|
|
7246
|
+
type PatchExtractionDocumentsByIdStatusResponse = PatchExtractionDocumentsByIdStatusResponses[keyof PatchExtractionDocumentsByIdStatusResponses];
|
|
7247
|
+
type PatchExtractionDocumentsByIdFinishUploadData = {
|
|
6570
7248
|
/**
|
|
6571
|
-
* Request body for the /extraction/documents/:id/
|
|
7249
|
+
* Request body for the /extraction/documents/:id/finish_upload operation on extraction_document resource
|
|
6572
7250
|
*/
|
|
6573
7251
|
body?: {
|
|
6574
7252
|
data: {
|
|
6575
7253
|
attributes?: {
|
|
6576
|
-
|
|
6577
|
-
* Credits billed for processing this document
|
|
6578
|
-
*/
|
|
6579
|
-
billed_credits?: number | unknown;
|
|
6580
|
-
error_message?: string | unknown;
|
|
6581
|
-
pages?: number | unknown;
|
|
6582
|
-
progress?: number | unknown;
|
|
6583
|
-
status?: "queued" | "processing" | "completed" | "failed" | unknown;
|
|
7254
|
+
[key: string]: never;
|
|
6584
7255
|
};
|
|
6585
7256
|
id: string;
|
|
6586
7257
|
relationships?: {
|
|
@@ -6614,9 +7285,9 @@ type PatchExtractionDocumentsByIdStatusData = {
|
|
|
6614
7285
|
[key: string]: unknown | string | undefined;
|
|
6615
7286
|
};
|
|
6616
7287
|
};
|
|
6617
|
-
url: "/extraction/documents/{id}/
|
|
7288
|
+
url: "/extraction/documents/{id}/finish_upload";
|
|
6618
7289
|
};
|
|
6619
|
-
type
|
|
7290
|
+
type PatchExtractionDocumentsByIdFinishUploadErrors = {
|
|
6620
7291
|
/**
|
|
6621
7292
|
* Bad Request - Invalid input data or malformed request
|
|
6622
7293
|
*/
|
|
@@ -6646,8 +7317,8 @@ type PatchExtractionDocumentsByIdStatusErrors = {
|
|
|
6646
7317
|
*/
|
|
6647
7318
|
default: Errors;
|
|
6648
7319
|
};
|
|
6649
|
-
type
|
|
6650
|
-
type
|
|
7320
|
+
type PatchExtractionDocumentsByIdFinishUploadError = PatchExtractionDocumentsByIdFinishUploadErrors[keyof PatchExtractionDocumentsByIdFinishUploadErrors];
|
|
7321
|
+
type PatchExtractionDocumentsByIdFinishUploadResponses = {
|
|
6651
7322
|
/**
|
|
6652
7323
|
* Success
|
|
6653
7324
|
*/
|
|
@@ -6659,7 +7330,7 @@ type PatchExtractionDocumentsByIdStatusResponses = {
|
|
|
6659
7330
|
};
|
|
6660
7331
|
};
|
|
6661
7332
|
};
|
|
6662
|
-
type
|
|
7333
|
+
type PatchExtractionDocumentsByIdFinishUploadResponse = PatchExtractionDocumentsByIdFinishUploadResponses[keyof PatchExtractionDocumentsByIdFinishUploadResponses];
|
|
6663
7334
|
type PatchWorkspacesByIdAllocateData = {
|
|
6664
7335
|
/**
|
|
6665
7336
|
* Request body for the /workspaces/:id/allocate operation on workspace resource
|
|
@@ -7002,7 +7673,7 @@ type GetConfigsResponses = {
|
|
|
7002
7673
|
/**
|
|
7003
7674
|
* An array of resource objects representing a config
|
|
7004
7675
|
*/
|
|
7005
|
-
data?: Array<Config
|
|
7676
|
+
data?: Array<Config>;
|
|
7006
7677
|
included?: Array<unknown>;
|
|
7007
7678
|
meta?: {
|
|
7008
7679
|
[key: string]: unknown;
|
|
@@ -7088,7 +7759,7 @@ type PostConfigsResponses = {
|
|
|
7088
7759
|
* Success
|
|
7089
7760
|
*/
|
|
7090
7761
|
201: {
|
|
7091
|
-
data?: Config
|
|
7762
|
+
data?: Config;
|
|
7092
7763
|
included?: Array<unknown>;
|
|
7093
7764
|
meta?: {
|
|
7094
7765
|
[key: string]: unknown;
|
|
@@ -7703,7 +8374,7 @@ type GetBucketsByIdObjectsResponses = {
|
|
|
7703
8374
|
* Success
|
|
7704
8375
|
*/
|
|
7705
8376
|
200: {
|
|
7706
|
-
data?:
|
|
8377
|
+
data?: Object$1;
|
|
7707
8378
|
included?: Array<unknown>;
|
|
7708
8379
|
meta?: {
|
|
7709
8380
|
[key: string]: unknown;
|
|
@@ -11743,6 +12414,7 @@ type PostExtractionDocumentsUploadData = {
|
|
|
11743
12414
|
body: {
|
|
11744
12415
|
data: {
|
|
11745
12416
|
attributes?: {
|
|
12417
|
+
batch_id?: string | unknown;
|
|
11746
12418
|
file_size_bytes?: number | unknown;
|
|
11747
12419
|
file_type: "pdf" | "docx" | "image" | "zip";
|
|
11748
12420
|
filename: string;
|
|
@@ -12563,6 +13235,79 @@ type GetNotificationLogsByIdResponses = {
|
|
|
12563
13235
|
};
|
|
12564
13236
|
};
|
|
12565
13237
|
type GetNotificationLogsByIdResponse = GetNotificationLogsByIdResponses[keyof GetNotificationLogsByIdResponses];
|
|
13238
|
+
type GetExtractionDocumentsByIdViewData = {
|
|
13239
|
+
body?: never;
|
|
13240
|
+
headers: {
|
|
13241
|
+
/**
|
|
13242
|
+
* Application ID for authentication and routing
|
|
13243
|
+
*/
|
|
13244
|
+
"x-application-key": string;
|
|
13245
|
+
};
|
|
13246
|
+
path: {
|
|
13247
|
+
id: string;
|
|
13248
|
+
};
|
|
13249
|
+
query?: {
|
|
13250
|
+
/**
|
|
13251
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
13252
|
+
*/
|
|
13253
|
+
include?: string;
|
|
13254
|
+
/**
|
|
13255
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
13256
|
+
*/
|
|
13257
|
+
fields?: {
|
|
13258
|
+
/**
|
|
13259
|
+
* Comma separated field names for extraction_document
|
|
13260
|
+
*/
|
|
13261
|
+
extraction_document?: string;
|
|
13262
|
+
[key: string]: unknown | string | undefined;
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
13265
|
+
url: "/extraction/documents/{id}/view";
|
|
13266
|
+
};
|
|
13267
|
+
type GetExtractionDocumentsByIdViewErrors = {
|
|
13268
|
+
/**
|
|
13269
|
+
* Bad Request - Invalid input data or malformed request
|
|
13270
|
+
*/
|
|
13271
|
+
400: ErrorResponse;
|
|
13272
|
+
/**
|
|
13273
|
+
* Unauthorized - Missing or invalid authentication token
|
|
13274
|
+
*/
|
|
13275
|
+
401: ErrorResponse;
|
|
13276
|
+
/**
|
|
13277
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
13278
|
+
*/
|
|
13279
|
+
403: ErrorResponse;
|
|
13280
|
+
/**
|
|
13281
|
+
* Not Found - Resource does not exist
|
|
13282
|
+
*/
|
|
13283
|
+
404: ErrorResponse;
|
|
13284
|
+
/**
|
|
13285
|
+
* Too Many Requests - Rate limit exceeded
|
|
13286
|
+
*/
|
|
13287
|
+
429: ErrorResponse;
|
|
13288
|
+
/**
|
|
13289
|
+
* Internal Server Error - Unexpected server error
|
|
13290
|
+
*/
|
|
13291
|
+
500: ErrorResponse;
|
|
13292
|
+
/**
|
|
13293
|
+
* General Error
|
|
13294
|
+
*/
|
|
13295
|
+
default: Errors;
|
|
13296
|
+
};
|
|
13297
|
+
type GetExtractionDocumentsByIdViewError = GetExtractionDocumentsByIdViewErrors[keyof GetExtractionDocumentsByIdViewErrors];
|
|
13298
|
+
type GetExtractionDocumentsByIdViewResponses = {
|
|
13299
|
+
/**
|
|
13300
|
+
* Success
|
|
13301
|
+
*/
|
|
13302
|
+
200: {
|
|
13303
|
+
data?: ExtractionDocument;
|
|
13304
|
+
included?: Array<unknown>;
|
|
13305
|
+
meta?: {
|
|
13306
|
+
[key: string]: unknown;
|
|
13307
|
+
};
|
|
13308
|
+
};
|
|
13309
|
+
};
|
|
13310
|
+
type GetExtractionDocumentsByIdViewResponse = GetExtractionDocumentsByIdViewResponses[keyof GetExtractionDocumentsByIdViewResponses];
|
|
12566
13311
|
type GetWebhookDeliveriesByIdData = {
|
|
12567
13312
|
body?: never;
|
|
12568
13313
|
headers: {
|
|
@@ -17182,6 +17927,7 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdData = {
|
|
|
17182
17927
|
extraction_document?: string;
|
|
17183
17928
|
[key: string]: unknown | string | undefined;
|
|
17184
17929
|
};
|
|
17930
|
+
batch_id?: string;
|
|
17185
17931
|
};
|
|
17186
17932
|
url: "/extraction/documents/workspace/{workspace_id}";
|
|
17187
17933
|
};
|
|
@@ -17232,6 +17978,96 @@ type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses = {
|
|
|
17232
17978
|
};
|
|
17233
17979
|
};
|
|
17234
17980
|
type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse = GetExtractionDocumentsWorkspaceByWorkspaceIdResponses[keyof GetExtractionDocumentsWorkspaceByWorkspaceIdResponses];
|
|
17981
|
+
type PostExtractionDocumentsBeginUploadData = {
|
|
17982
|
+
/**
|
|
17983
|
+
* Request body for the /extraction/documents/begin_upload operation on extraction_document resource
|
|
17984
|
+
*/
|
|
17985
|
+
body: {
|
|
17986
|
+
data: {
|
|
17987
|
+
attributes?: {
|
|
17988
|
+
batch_id?: string | unknown;
|
|
17989
|
+
content_type?: string | unknown;
|
|
17990
|
+
file_size_bytes?: number | unknown;
|
|
17991
|
+
file_type: "pdf" | "docx" | "image" | "zip";
|
|
17992
|
+
filename: string;
|
|
17993
|
+
parent_document_id?: string | unknown;
|
|
17994
|
+
workspace_id: string;
|
|
17995
|
+
};
|
|
17996
|
+
relationships?: {
|
|
17997
|
+
[key: string]: never;
|
|
17998
|
+
};
|
|
17999
|
+
type?: "extraction_document";
|
|
18000
|
+
};
|
|
18001
|
+
};
|
|
18002
|
+
headers: {
|
|
18003
|
+
/**
|
|
18004
|
+
* Application ID for authentication and routing
|
|
18005
|
+
*/
|
|
18006
|
+
"x-application-key": string;
|
|
18007
|
+
};
|
|
18008
|
+
path?: never;
|
|
18009
|
+
query?: {
|
|
18010
|
+
/**
|
|
18011
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
18012
|
+
*/
|
|
18013
|
+
include?: string;
|
|
18014
|
+
/**
|
|
18015
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
18016
|
+
*/
|
|
18017
|
+
fields?: {
|
|
18018
|
+
/**
|
|
18019
|
+
* Comma separated field names for extraction_document
|
|
18020
|
+
*/
|
|
18021
|
+
extraction_document?: string;
|
|
18022
|
+
[key: string]: unknown | string | undefined;
|
|
18023
|
+
};
|
|
18024
|
+
};
|
|
18025
|
+
url: "/extraction/documents/begin_upload";
|
|
18026
|
+
};
|
|
18027
|
+
type PostExtractionDocumentsBeginUploadErrors = {
|
|
18028
|
+
/**
|
|
18029
|
+
* Bad Request - Invalid input data or malformed request
|
|
18030
|
+
*/
|
|
18031
|
+
400: ErrorResponse;
|
|
18032
|
+
/**
|
|
18033
|
+
* Unauthorized - Missing or invalid authentication token
|
|
18034
|
+
*/
|
|
18035
|
+
401: ErrorResponse;
|
|
18036
|
+
/**
|
|
18037
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
18038
|
+
*/
|
|
18039
|
+
403: ErrorResponse;
|
|
18040
|
+
/**
|
|
18041
|
+
* Not Found - Resource does not exist
|
|
18042
|
+
*/
|
|
18043
|
+
404: ErrorResponse;
|
|
18044
|
+
/**
|
|
18045
|
+
* Too Many Requests - Rate limit exceeded
|
|
18046
|
+
*/
|
|
18047
|
+
429: ErrorResponse;
|
|
18048
|
+
/**
|
|
18049
|
+
* Internal Server Error - Unexpected server error
|
|
18050
|
+
*/
|
|
18051
|
+
500: ErrorResponse;
|
|
18052
|
+
/**
|
|
18053
|
+
* General Error
|
|
18054
|
+
*/
|
|
18055
|
+
default: Errors;
|
|
18056
|
+
};
|
|
18057
|
+
type PostExtractionDocumentsBeginUploadError = PostExtractionDocumentsBeginUploadErrors[keyof PostExtractionDocumentsBeginUploadErrors];
|
|
18058
|
+
type PostExtractionDocumentsBeginUploadResponses = {
|
|
18059
|
+
/**
|
|
18060
|
+
* Success
|
|
18061
|
+
*/
|
|
18062
|
+
201: {
|
|
18063
|
+
data?: ExtractionDocument;
|
|
18064
|
+
included?: Array<unknown>;
|
|
18065
|
+
meta?: {
|
|
18066
|
+
[key: string]: unknown;
|
|
18067
|
+
};
|
|
18068
|
+
};
|
|
18069
|
+
};
|
|
18070
|
+
type PostExtractionDocumentsBeginUploadResponse = PostExtractionDocumentsBeginUploadResponses[keyof PostExtractionDocumentsBeginUploadResponses];
|
|
17235
18071
|
type DeleteAiGraphEdgesByIdData = {
|
|
17236
18072
|
body?: never;
|
|
17237
18073
|
headers: {
|
|
@@ -18632,7 +19468,7 @@ type PatchConfigsByKeyResponses = {
|
|
|
18632
19468
|
* Success
|
|
18633
19469
|
*/
|
|
18634
19470
|
200: {
|
|
18635
|
-
data?: Config
|
|
19471
|
+
data?: Config;
|
|
18636
19472
|
included?: Array<unknown>;
|
|
18637
19473
|
meta?: {
|
|
18638
19474
|
[key: string]: unknown;
|
|
@@ -19412,7 +20248,7 @@ type GetObjectsByIdResponses = {
|
|
|
19412
20248
|
* Success
|
|
19413
20249
|
*/
|
|
19414
20250
|
200: {
|
|
19415
|
-
data?:
|
|
20251
|
+
data?: Object$1;
|
|
19416
20252
|
included?: Array<unknown>;
|
|
19417
20253
|
meta?: {
|
|
19418
20254
|
[key: string]: unknown;
|
|
@@ -19677,7 +20513,7 @@ type PostObjectsBulkDestroyResponses = {
|
|
|
19677
20513
|
* Success
|
|
19678
20514
|
*/
|
|
19679
20515
|
201: {
|
|
19680
|
-
data?:
|
|
20516
|
+
data?: Object$1;
|
|
19681
20517
|
included?: Array<unknown>;
|
|
19682
20518
|
meta?: {
|
|
19683
20519
|
[key: string]: unknown;
|
|
@@ -20872,7 +21708,7 @@ type PostUsersRegisterIsvResponses = {
|
|
|
20872
21708
|
};
|
|
20873
21709
|
};
|
|
20874
21710
|
type PostUsersRegisterIsvResponse = PostUsersRegisterIsvResponses[keyof PostUsersRegisterIsvResponses];
|
|
20875
|
-
type
|
|
21711
|
+
type GetExtractionBatchesByIdData = {
|
|
20876
21712
|
body?: never;
|
|
20877
21713
|
headers: {
|
|
20878
21714
|
/**
|
|
@@ -20881,8 +21717,7 @@ type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
|
20881
21717
|
"x-application-key": string;
|
|
20882
21718
|
};
|
|
20883
21719
|
path: {
|
|
20884
|
-
|
|
20885
|
-
workspace_id: string;
|
|
21720
|
+
id: string;
|
|
20886
21721
|
};
|
|
20887
21722
|
query?: {
|
|
20888
21723
|
/**
|
|
@@ -20894,15 +21729,15 @@ type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
|
20894
21729
|
*/
|
|
20895
21730
|
fields?: {
|
|
20896
21731
|
/**
|
|
20897
|
-
* Comma separated field names for
|
|
21732
|
+
* Comma separated field names for extraction_batch
|
|
20898
21733
|
*/
|
|
20899
|
-
|
|
21734
|
+
extraction_batch?: string;
|
|
20900
21735
|
[key: string]: unknown | string | undefined;
|
|
20901
21736
|
};
|
|
20902
21737
|
};
|
|
20903
|
-
url: "/
|
|
21738
|
+
url: "/extraction/batches/{id}";
|
|
20904
21739
|
};
|
|
20905
|
-
type
|
|
21740
|
+
type GetExtractionBatchesByIdErrors = {
|
|
20906
21741
|
/**
|
|
20907
21742
|
* Bad Request - Invalid input data or malformed request
|
|
20908
21743
|
*/
|
|
@@ -20932,29 +21767,22 @@ type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors = {
|
|
|
20932
21767
|
*/
|
|
20933
21768
|
default: Errors;
|
|
20934
21769
|
};
|
|
20935
|
-
type
|
|
20936
|
-
type
|
|
20937
|
-
/**
|
|
20938
|
-
* Deleted successfully
|
|
20939
|
-
*/
|
|
20940
|
-
200: unknown;
|
|
20941
|
-
};
|
|
20942
|
-
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
21770
|
+
type GetExtractionBatchesByIdError = GetExtractionBatchesByIdErrors[keyof GetExtractionBatchesByIdErrors];
|
|
21771
|
+
type GetExtractionBatchesByIdResponses = {
|
|
20943
21772
|
/**
|
|
20944
|
-
*
|
|
21773
|
+
* Success
|
|
20945
21774
|
*/
|
|
20946
|
-
|
|
20947
|
-
data
|
|
20948
|
-
|
|
20949
|
-
|
|
20950
|
-
|
|
20951
|
-
id: string;
|
|
20952
|
-
relationships?: {
|
|
20953
|
-
[key: string]: never;
|
|
20954
|
-
};
|
|
20955
|
-
type?: "workspace-membership";
|
|
21775
|
+
200: {
|
|
21776
|
+
data?: ExtractionBatch;
|
|
21777
|
+
included?: Array<unknown>;
|
|
21778
|
+
meta?: {
|
|
21779
|
+
[key: string]: unknown;
|
|
20956
21780
|
};
|
|
20957
21781
|
};
|
|
21782
|
+
};
|
|
21783
|
+
type GetExtractionBatchesByIdResponse = GetExtractionBatchesByIdResponses[keyof GetExtractionBatchesByIdResponses];
|
|
21784
|
+
type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
21785
|
+
body?: never;
|
|
20958
21786
|
headers: {
|
|
20959
21787
|
/**
|
|
20960
21788
|
* Application ID for authentication and routing
|
|
@@ -20983,7 +21811,7 @@ type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
|
20983
21811
|
};
|
|
20984
21812
|
url: "/workspace-memberships/{workspace_id}/{user_id}";
|
|
20985
21813
|
};
|
|
20986
|
-
type
|
|
21814
|
+
type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors = {
|
|
20987
21815
|
/**
|
|
20988
21816
|
* Bad Request - Invalid input data or malformed request
|
|
20989
21817
|
*/
|
|
@@ -21013,48 +21841,40 @@ type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors = {
|
|
|
21013
21841
|
*/
|
|
21014
21842
|
default: Errors;
|
|
21015
21843
|
};
|
|
21016
|
-
type
|
|
21017
|
-
type
|
|
21844
|
+
type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError = DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors[keyof DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors];
|
|
21845
|
+
type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses = {
|
|
21018
21846
|
/**
|
|
21019
|
-
*
|
|
21847
|
+
* Deleted successfully
|
|
21020
21848
|
*/
|
|
21021
|
-
200:
|
|
21022
|
-
data?: WorkspaceMembership;
|
|
21023
|
-
included?: Array<unknown>;
|
|
21024
|
-
meta?: {
|
|
21025
|
-
[key: string]: unknown;
|
|
21026
|
-
};
|
|
21027
|
-
};
|
|
21849
|
+
200: unknown;
|
|
21028
21850
|
};
|
|
21029
|
-
type
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21851
|
+
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
21852
|
+
/**
|
|
21853
|
+
* Request body for the /workspace-memberships/:workspace_id/:user_id operation on workspace-membership resource
|
|
21854
|
+
*/
|
|
21855
|
+
body?: {
|
|
21856
|
+
data: {
|
|
21857
|
+
attributes?: {
|
|
21858
|
+
permissions?: Array<"invite_user" | "edit_permissions" | "create_token" | "update_token" | "remove_token" | "add_token_to_workspace" | "remove_token_from_workspace" | "discover_docs" | "rag" | "train_docs" | "edit_agent" | "remove_agent" | "view_audit_log"> | unknown;
|
|
21859
|
+
};
|
|
21860
|
+
id: string;
|
|
21861
|
+
relationships?: {
|
|
21862
|
+
[key: string]: never;
|
|
21863
|
+
};
|
|
21864
|
+
type?: "workspace-membership";
|
|
21865
|
+
};
|
|
21037
21866
|
};
|
|
21038
|
-
|
|
21039
|
-
query?: {
|
|
21040
|
-
/**
|
|
21041
|
-
* Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
|
|
21042
|
-
*/
|
|
21043
|
-
filter?: CreditPackageFilter;
|
|
21044
|
-
/**
|
|
21045
|
-
* Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
|
|
21046
|
-
*/
|
|
21047
|
-
sort?: string;
|
|
21867
|
+
headers: {
|
|
21048
21868
|
/**
|
|
21049
|
-
*
|
|
21869
|
+
* Application ID for authentication and routing
|
|
21050
21870
|
*/
|
|
21051
|
-
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
|
|
21871
|
+
"x-application-key": string;
|
|
21872
|
+
};
|
|
21873
|
+
path: {
|
|
21874
|
+
user_id: string;
|
|
21875
|
+
workspace_id: string;
|
|
21876
|
+
};
|
|
21877
|
+
query?: {
|
|
21058
21878
|
/**
|
|
21059
21879
|
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
21060
21880
|
*/
|
|
@@ -21064,15 +21884,15 @@ type GetCreditPackagesData = {
|
|
|
21064
21884
|
*/
|
|
21065
21885
|
fields?: {
|
|
21066
21886
|
/**
|
|
21067
|
-
* Comma separated field names for
|
|
21887
|
+
* Comma separated field names for workspace-membership
|
|
21068
21888
|
*/
|
|
21069
|
-
|
|
21889
|
+
"workspace-membership"?: string;
|
|
21070
21890
|
[key: string]: unknown | string | undefined;
|
|
21071
21891
|
};
|
|
21072
21892
|
};
|
|
21073
|
-
url: "/
|
|
21893
|
+
url: "/workspace-memberships/{workspace_id}/{user_id}";
|
|
21074
21894
|
};
|
|
21075
|
-
type
|
|
21895
|
+
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors = {
|
|
21076
21896
|
/**
|
|
21077
21897
|
* Bad Request - Invalid input data or malformed request
|
|
21078
21898
|
*/
|
|
@@ -21102,24 +21922,21 @@ type GetCreditPackagesErrors = {
|
|
|
21102
21922
|
*/
|
|
21103
21923
|
default: Errors;
|
|
21104
21924
|
};
|
|
21105
|
-
type
|
|
21106
|
-
type
|
|
21925
|
+
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError = PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors[keyof PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors];
|
|
21926
|
+
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses = {
|
|
21107
21927
|
/**
|
|
21108
21928
|
* Success
|
|
21109
21929
|
*/
|
|
21110
21930
|
200: {
|
|
21111
|
-
|
|
21112
|
-
* An array of resource objects representing a credit_package
|
|
21113
|
-
*/
|
|
21114
|
-
data?: Array<CreditPackage>;
|
|
21931
|
+
data?: WorkspaceMembership;
|
|
21115
21932
|
included?: Array<unknown>;
|
|
21116
21933
|
meta?: {
|
|
21117
21934
|
[key: string]: unknown;
|
|
21118
21935
|
};
|
|
21119
21936
|
};
|
|
21120
21937
|
};
|
|
21121
|
-
type
|
|
21122
|
-
type
|
|
21938
|
+
type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse = PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses[keyof PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses];
|
|
21939
|
+
type GetCreditPackagesData = {
|
|
21123
21940
|
body?: never;
|
|
21124
21941
|
headers: {
|
|
21125
21942
|
/**
|
|
@@ -21132,7 +21949,7 @@ type GetUsersData = {
|
|
|
21132
21949
|
/**
|
|
21133
21950
|
* Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
|
|
21134
21951
|
*/
|
|
21135
|
-
filter?:
|
|
21952
|
+
filter?: CreditPackageFilter;
|
|
21136
21953
|
/**
|
|
21137
21954
|
* Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
|
|
21138
21955
|
*/
|
|
@@ -21156,15 +21973,15 @@ type GetUsersData = {
|
|
|
21156
21973
|
*/
|
|
21157
21974
|
fields?: {
|
|
21158
21975
|
/**
|
|
21159
|
-
* Comma separated field names for
|
|
21976
|
+
* Comma separated field names for credit_package
|
|
21160
21977
|
*/
|
|
21161
|
-
|
|
21978
|
+
credit_package?: string;
|
|
21162
21979
|
[key: string]: unknown | string | undefined;
|
|
21163
21980
|
};
|
|
21164
21981
|
};
|
|
21165
|
-
url: "/
|
|
21982
|
+
url: "/credit-packages";
|
|
21166
21983
|
};
|
|
21167
|
-
type
|
|
21984
|
+
type GetCreditPackagesErrors = {
|
|
21168
21985
|
/**
|
|
21169
21986
|
* Bad Request - Invalid input data or malformed request
|
|
21170
21987
|
*/
|
|
@@ -21194,24 +22011,24 @@ type GetUsersErrors = {
|
|
|
21194
22011
|
*/
|
|
21195
22012
|
default: Errors;
|
|
21196
22013
|
};
|
|
21197
|
-
type
|
|
21198
|
-
type
|
|
22014
|
+
type GetCreditPackagesError = GetCreditPackagesErrors[keyof GetCreditPackagesErrors];
|
|
22015
|
+
type GetCreditPackagesResponses = {
|
|
21199
22016
|
/**
|
|
21200
22017
|
* Success
|
|
21201
22018
|
*/
|
|
21202
22019
|
200: {
|
|
21203
22020
|
/**
|
|
21204
|
-
* An array of resource objects representing a
|
|
22021
|
+
* An array of resource objects representing a credit_package
|
|
21205
22022
|
*/
|
|
21206
|
-
data?: Array<
|
|
22023
|
+
data?: Array<CreditPackage>;
|
|
21207
22024
|
included?: Array<unknown>;
|
|
21208
22025
|
meta?: {
|
|
21209
22026
|
[key: string]: unknown;
|
|
21210
22027
|
};
|
|
21211
22028
|
};
|
|
21212
22029
|
};
|
|
21213
|
-
type
|
|
21214
|
-
type
|
|
22030
|
+
type GetCreditPackagesResponse = GetCreditPackagesResponses[keyof GetCreditPackagesResponses];
|
|
22031
|
+
type GetUsersData = {
|
|
21215
22032
|
body?: never;
|
|
21216
22033
|
headers: {
|
|
21217
22034
|
/**
|
|
@@ -21224,7 +22041,7 @@ type GetObjectsData = {
|
|
|
21224
22041
|
/**
|
|
21225
22042
|
* Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
|
|
21226
22043
|
*/
|
|
21227
|
-
filter?:
|
|
22044
|
+
filter?: UserFilter;
|
|
21228
22045
|
/**
|
|
21229
22046
|
* Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
|
|
21230
22047
|
*/
|
|
@@ -21248,15 +22065,15 @@ type GetObjectsData = {
|
|
|
21248
22065
|
*/
|
|
21249
22066
|
fields?: {
|
|
21250
22067
|
/**
|
|
21251
|
-
* Comma separated field names for
|
|
22068
|
+
* Comma separated field names for user
|
|
21252
22069
|
*/
|
|
21253
|
-
|
|
22070
|
+
user?: string;
|
|
21254
22071
|
[key: string]: unknown | string | undefined;
|
|
21255
22072
|
};
|
|
21256
22073
|
};
|
|
21257
|
-
url: "/
|
|
22074
|
+
url: "/users";
|
|
21258
22075
|
};
|
|
21259
|
-
type
|
|
22076
|
+
type GetUsersErrors = {
|
|
21260
22077
|
/**
|
|
21261
22078
|
* Bad Request - Invalid input data or malformed request
|
|
21262
22079
|
*/
|
|
@@ -21280,336 +22097,121 @@ type GetObjectsErrors = {
|
|
|
21280
22097
|
/**
|
|
21281
22098
|
* Internal Server Error - Unexpected server error
|
|
21282
22099
|
*/
|
|
21283
|
-
500: ErrorResponse;
|
|
21284
|
-
/**
|
|
21285
|
-
* General Error
|
|
21286
|
-
*/
|
|
21287
|
-
default: Errors;
|
|
21288
|
-
};
|
|
21289
|
-
type GetObjectsError = GetObjectsErrors[keyof GetObjectsErrors];
|
|
21290
|
-
type GetObjectsResponses = {
|
|
21291
|
-
/**
|
|
21292
|
-
* Success
|
|
21293
|
-
*/
|
|
21294
|
-
200: {
|
|
21295
|
-
/**
|
|
21296
|
-
* An array of resource objects representing a object
|
|
21297
|
-
*/
|
|
21298
|
-
data?: Array<_Object>;
|
|
21299
|
-
included?: Array<unknown>;
|
|
21300
|
-
meta?: {
|
|
21301
|
-
[key: string]: unknown;
|
|
21302
|
-
};
|
|
21303
|
-
};
|
|
21304
|
-
};
|
|
21305
|
-
type GetObjectsResponse = GetObjectsResponses[keyof GetObjectsResponses];
|
|
21306
|
-
|
|
21307
|
-
type AuthToken = string | undefined;
|
|
21308
|
-
interface Auth {
|
|
21309
|
-
/**
|
|
21310
|
-
* Which part of the request do we use to send the auth?
|
|
21311
|
-
*
|
|
21312
|
-
* @default 'header'
|
|
21313
|
-
*/
|
|
21314
|
-
in?: "header" | "query" | "cookie";
|
|
21315
|
-
/**
|
|
21316
|
-
* Header or query parameter name.
|
|
21317
|
-
*
|
|
21318
|
-
* @default 'Authorization'
|
|
21319
|
-
*/
|
|
21320
|
-
name?: string;
|
|
21321
|
-
scheme?: "basic" | "bearer";
|
|
21322
|
-
type: "apiKey" | "http";
|
|
21323
|
-
}
|
|
21324
|
-
|
|
21325
|
-
interface SerializerOptions<T> {
|
|
21326
|
-
/**
|
|
21327
|
-
* @default true
|
|
21328
|
-
*/
|
|
21329
|
-
explode: boolean;
|
|
21330
|
-
style: T;
|
|
21331
|
-
}
|
|
21332
|
-
type ArrayStyle = "form" | "spaceDelimited" | "pipeDelimited";
|
|
21333
|
-
type ObjectStyle = "form" | "deepObject";
|
|
21334
|
-
|
|
21335
|
-
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
21336
|
-
type BodySerializer = (body: any) => any;
|
|
21337
|
-
type QuerySerializerOptionsObject = {
|
|
21338
|
-
allowReserved?: boolean;
|
|
21339
|
-
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
21340
|
-
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
21341
|
-
};
|
|
21342
|
-
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
21343
|
-
/**
|
|
21344
|
-
* Per-parameter serialization overrides. When provided, these settings
|
|
21345
|
-
* override the global array/object settings for specific parameter names.
|
|
21346
|
-
*/
|
|
21347
|
-
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
21348
|
-
};
|
|
21349
|
-
|
|
21350
|
-
type HttpMethod = "connect" | "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace";
|
|
21351
|
-
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
21352
|
-
/**
|
|
21353
|
-
* Returns the final request URL.
|
|
21354
|
-
*/
|
|
21355
|
-
buildUrl: BuildUrlFn;
|
|
21356
|
-
getConfig: () => Config;
|
|
21357
|
-
request: RequestFn;
|
|
21358
|
-
setConfig: (config: Config) => Config;
|
|
21359
|
-
} & {
|
|
21360
|
-
[K in HttpMethod]: MethodFn;
|
|
21361
|
-
} & ([SseFn] extends [never] ? {
|
|
21362
|
-
sse?: never;
|
|
21363
|
-
} : {
|
|
21364
|
-
sse: {
|
|
21365
|
-
[K in HttpMethod]: SseFn;
|
|
21366
|
-
};
|
|
21367
|
-
});
|
|
21368
|
-
interface Config$1 {
|
|
21369
|
-
/**
|
|
21370
|
-
* Auth token or a function returning auth token. The resolved value will be
|
|
21371
|
-
* added to the request payload as defined by its `security` array.
|
|
21372
|
-
*/
|
|
21373
|
-
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
21374
|
-
/**
|
|
21375
|
-
* A function for serializing request body parameter. By default,
|
|
21376
|
-
* {@link JSON.stringify()} will be used.
|
|
21377
|
-
*/
|
|
21378
|
-
bodySerializer?: BodySerializer | null;
|
|
21379
|
-
/**
|
|
21380
|
-
* An object containing any HTTP headers that you want to pre-populate your
|
|
21381
|
-
* `Headers` object with.
|
|
21382
|
-
*
|
|
21383
|
-
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
21384
|
-
*/
|
|
21385
|
-
headers?: RequestInit["headers"] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
21386
|
-
/**
|
|
21387
|
-
* The request method.
|
|
21388
|
-
*
|
|
21389
|
-
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
21390
|
-
*/
|
|
21391
|
-
method?: Uppercase<HttpMethod>;
|
|
21392
|
-
/**
|
|
21393
|
-
* A function for serializing request query parameters. By default, arrays
|
|
21394
|
-
* will be exploded in form style, objects will be exploded in deepObject
|
|
21395
|
-
* style, and reserved characters are percent-encoded.
|
|
21396
|
-
*
|
|
21397
|
-
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
21398
|
-
* API function is used.
|
|
21399
|
-
*
|
|
21400
|
-
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
21401
|
-
*/
|
|
21402
|
-
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
21403
|
-
/**
|
|
21404
|
-
* A function validating request data. This is useful if you want to ensure
|
|
21405
|
-
* the request conforms to the desired shape, so it can be safely sent to
|
|
21406
|
-
* the server.
|
|
21407
|
-
*/
|
|
21408
|
-
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
21409
|
-
/**
|
|
21410
|
-
* A function transforming response data before it's returned. This is useful
|
|
21411
|
-
* for post-processing data, e.g. converting ISO strings into Date objects.
|
|
21412
|
-
*/
|
|
21413
|
-
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
21414
|
-
/**
|
|
21415
|
-
* A function validating response data. This is useful if you want to ensure
|
|
21416
|
-
* the response conforms to the desired shape, so it can be safely passed to
|
|
21417
|
-
* the transformers and returned to the user.
|
|
21418
|
-
*/
|
|
21419
|
-
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
21420
|
-
}
|
|
21421
|
-
|
|
21422
|
-
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, "method"> & Pick<Config$1, "method" | "responseTransformer" | "responseValidator"> & {
|
|
21423
|
-
/**
|
|
21424
|
-
* Fetch API implementation. You can use this option to provide a custom
|
|
21425
|
-
* fetch instance.
|
|
21426
|
-
*
|
|
21427
|
-
* @default globalThis.fetch
|
|
21428
|
-
*/
|
|
21429
|
-
fetch?: typeof fetch;
|
|
21430
|
-
/**
|
|
21431
|
-
* Implementing clients can call request interceptors inside this hook.
|
|
21432
|
-
*/
|
|
21433
|
-
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
21434
|
-
/**
|
|
21435
|
-
* Callback invoked when a network or parsing error occurs during streaming.
|
|
21436
|
-
*
|
|
21437
|
-
* This option applies only if the endpoint returns a stream of events.
|
|
21438
|
-
*
|
|
21439
|
-
* @param error The error that occurred.
|
|
21440
|
-
*/
|
|
21441
|
-
onSseError?: (error: unknown) => void;
|
|
21442
|
-
/**
|
|
21443
|
-
* Callback invoked when an event is streamed from the server.
|
|
21444
|
-
*
|
|
21445
|
-
* This option applies only if the endpoint returns a stream of events.
|
|
21446
|
-
*
|
|
21447
|
-
* @param event Event streamed from the server.
|
|
21448
|
-
* @returns Nothing (void).
|
|
21449
|
-
*/
|
|
21450
|
-
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
21451
|
-
serializedBody?: RequestInit["body"];
|
|
21452
|
-
/**
|
|
21453
|
-
* Default retry delay in milliseconds.
|
|
21454
|
-
*
|
|
21455
|
-
* This option applies only if the endpoint returns a stream of events.
|
|
21456
|
-
*
|
|
21457
|
-
* @default 3000
|
|
21458
|
-
*/
|
|
21459
|
-
sseDefaultRetryDelay?: number;
|
|
21460
|
-
/**
|
|
21461
|
-
* Maximum number of retry attempts before giving up.
|
|
21462
|
-
*/
|
|
21463
|
-
sseMaxRetryAttempts?: number;
|
|
21464
|
-
/**
|
|
21465
|
-
* Maximum retry delay in milliseconds.
|
|
21466
|
-
*
|
|
21467
|
-
* Applies only when exponential backoff is used.
|
|
21468
|
-
*
|
|
21469
|
-
* This option applies only if the endpoint returns a stream of events.
|
|
21470
|
-
*
|
|
21471
|
-
* @default 30000
|
|
22100
|
+
500: ErrorResponse;
|
|
22101
|
+
/**
|
|
22102
|
+
* General Error
|
|
21472
22103
|
*/
|
|
21473
|
-
|
|
22104
|
+
default: Errors;
|
|
22105
|
+
};
|
|
22106
|
+
type GetUsersError = GetUsersErrors[keyof GetUsersErrors];
|
|
22107
|
+
type GetUsersResponses = {
|
|
21474
22108
|
/**
|
|
21475
|
-
*
|
|
21476
|
-
*
|
|
21477
|
-
* Defaults to using `setTimeout`.
|
|
22109
|
+
* Success
|
|
21478
22110
|
*/
|
|
21479
|
-
|
|
21480
|
-
|
|
22111
|
+
200: {
|
|
22112
|
+
/**
|
|
22113
|
+
* An array of resource objects representing a user
|
|
22114
|
+
*/
|
|
22115
|
+
data?: Array<User>;
|
|
22116
|
+
included?: Array<unknown>;
|
|
22117
|
+
meta?: {
|
|
22118
|
+
[key: string]: unknown;
|
|
22119
|
+
};
|
|
22120
|
+
};
|
|
21481
22121
|
};
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
|
|
21487
|
-
|
|
21488
|
-
|
|
21489
|
-
|
|
22122
|
+
type GetUsersResponse = GetUsersResponses[keyof GetUsersResponses];
|
|
22123
|
+
type GetObjectsData = {
|
|
22124
|
+
body?: never;
|
|
22125
|
+
headers: {
|
|
22126
|
+
/**
|
|
22127
|
+
* Application ID for authentication and routing
|
|
22128
|
+
*/
|
|
22129
|
+
"x-application-key": string;
|
|
22130
|
+
};
|
|
22131
|
+
path?: never;
|
|
22132
|
+
query?: {
|
|
22133
|
+
/**
|
|
22134
|
+
* Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
|
|
22135
|
+
*/
|
|
22136
|
+
filter?: ObjectFilter;
|
|
22137
|
+
/**
|
|
22138
|
+
* Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
|
|
22139
|
+
*/
|
|
22140
|
+
sort?: string;
|
|
22141
|
+
/**
|
|
22142
|
+
* Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
|
|
22143
|
+
*/
|
|
22144
|
+
page?: {
|
|
22145
|
+
after?: string;
|
|
22146
|
+
before?: string;
|
|
22147
|
+
count?: boolean;
|
|
22148
|
+
limit?: number;
|
|
22149
|
+
offset?: number;
|
|
22150
|
+
};
|
|
22151
|
+
/**
|
|
22152
|
+
* Include related resources in the response. Comma-separated list of relationship names to eager-load.
|
|
22153
|
+
*/
|
|
22154
|
+
include?: string;
|
|
22155
|
+
/**
|
|
22156
|
+
* Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
|
|
22157
|
+
*/
|
|
22158
|
+
fields?: {
|
|
22159
|
+
/**
|
|
22160
|
+
* Comma separated field names for object
|
|
22161
|
+
*/
|
|
22162
|
+
object?: string;
|
|
22163
|
+
[key: string]: unknown | string | undefined;
|
|
22164
|
+
};
|
|
22165
|
+
};
|
|
22166
|
+
url: "/objects";
|
|
21490
22167
|
};
|
|
21491
|
-
|
|
21492
|
-
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
21493
|
-
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
21494
|
-
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
21495
|
-
declare class Interceptors<Interceptor> {
|
|
21496
|
-
fns: Array<Interceptor | null>;
|
|
21497
|
-
clear(): void;
|
|
21498
|
-
eject(id: number | Interceptor): void;
|
|
21499
|
-
exists(id: number | Interceptor): boolean;
|
|
21500
|
-
getInterceptorIndex(id: number | Interceptor): number;
|
|
21501
|
-
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
21502
|
-
use(fn: Interceptor): number;
|
|
21503
|
-
}
|
|
21504
|
-
interface Middleware<Req, Res, Err, Options> {
|
|
21505
|
-
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
21506
|
-
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
21507
|
-
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
21508
|
-
}
|
|
21509
|
-
|
|
21510
|
-
type ResponseStyle = "data" | "fields";
|
|
21511
|
-
interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, "body" | "headers" | "method">, Config$1 {
|
|
22168
|
+
type GetObjectsErrors = {
|
|
21512
22169
|
/**
|
|
21513
|
-
*
|
|
22170
|
+
* Bad Request - Invalid input data or malformed request
|
|
21514
22171
|
*/
|
|
21515
|
-
|
|
22172
|
+
400: ErrorResponse;
|
|
21516
22173
|
/**
|
|
21517
|
-
*
|
|
21518
|
-
* fetch instance.
|
|
21519
|
-
*
|
|
21520
|
-
* @default globalThis.fetch
|
|
22174
|
+
* Unauthorized - Missing or invalid authentication token
|
|
21521
22175
|
*/
|
|
21522
|
-
|
|
22176
|
+
401: ErrorResponse;
|
|
21523
22177
|
/**
|
|
21524
|
-
*
|
|
21525
|
-
* options won't have any effect.
|
|
21526
|
-
*
|
|
21527
|
-
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
22178
|
+
* Forbidden - Authenticated but not authorized for this resource
|
|
21528
22179
|
*/
|
|
21529
|
-
|
|
22180
|
+
403: ErrorResponse;
|
|
21530
22181
|
/**
|
|
21531
|
-
*
|
|
21532
|
-
* will infer the appropriate method from the `Content-Type` response header.
|
|
21533
|
-
* You can override this behavior with any of the {@link Body} methods.
|
|
21534
|
-
* Select `stream` if you don't want to parse response data at all.
|
|
21535
|
-
*
|
|
21536
|
-
* @default 'auto'
|
|
22182
|
+
* Not Found - Resource does not exist
|
|
21537
22183
|
*/
|
|
21538
|
-
|
|
22184
|
+
404: ErrorResponse;
|
|
21539
22185
|
/**
|
|
21540
|
-
*
|
|
21541
|
-
*
|
|
21542
|
-
* @default 'fields'
|
|
22186
|
+
* Too Many Requests - Rate limit exceeded
|
|
21543
22187
|
*/
|
|
21544
|
-
|
|
22188
|
+
429: ErrorResponse;
|
|
21545
22189
|
/**
|
|
21546
|
-
*
|
|
21547
|
-
*
|
|
21548
|
-
* @default false
|
|
22190
|
+
* Internal Server Error - Unexpected server error
|
|
21549
22191
|
*/
|
|
21550
|
-
|
|
21551
|
-
}
|
|
21552
|
-
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = "fields", ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
21553
|
-
responseStyle: TResponseStyle;
|
|
21554
|
-
throwOnError: ThrowOnError;
|
|
21555
|
-
}>, Pick<ServerSentEventsOptions<TData>, "onSseError" | "onSseEvent" | "sseDefaultRetryDelay" | "sseMaxRetryAttempts" | "sseMaxRetryDelay"> {
|
|
22192
|
+
500: ErrorResponse;
|
|
21556
22193
|
/**
|
|
21557
|
-
*
|
|
21558
|
-
*
|
|
21559
|
-
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
22194
|
+
* General Error
|
|
21560
22195
|
*/
|
|
21561
|
-
|
|
21562
|
-
|
|
21563
|
-
|
|
22196
|
+
default: Errors;
|
|
22197
|
+
};
|
|
22198
|
+
type GetObjectsError = GetObjectsErrors[keyof GetObjectsErrors];
|
|
22199
|
+
type GetObjectsResponses = {
|
|
21564
22200
|
/**
|
|
21565
|
-
*
|
|
22201
|
+
* Success
|
|
21566
22202
|
*/
|
|
21567
|
-
|
|
21568
|
-
|
|
21569
|
-
|
|
21570
|
-
|
|
21571
|
-
|
|
21572
|
-
|
|
21573
|
-
|
|
21574
|
-
|
|
21575
|
-
|
|
21576
|
-
|
|
21577
|
-
}> : Promise<TResponseStyle extends "data" ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
21578
|
-
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
21579
|
-
error: undefined;
|
|
21580
|
-
} | {
|
|
21581
|
-
data: undefined;
|
|
21582
|
-
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
21583
|
-
}) & {
|
|
21584
|
-
request: Request;
|
|
21585
|
-
response: Response;
|
|
21586
|
-
}>;
|
|
21587
|
-
interface ClientOptions {
|
|
21588
|
-
baseUrl?: string;
|
|
21589
|
-
responseStyle?: ResponseStyle;
|
|
21590
|
-
throwOnError?: boolean;
|
|
21591
|
-
}
|
|
21592
|
-
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method">) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
21593
|
-
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method">) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
21594
|
-
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = "fields">(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, "method"> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, "method">) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
21595
|
-
type BuildUrlFn = <TData extends {
|
|
21596
|
-
body?: unknown;
|
|
21597
|
-
path?: Record<string, unknown>;
|
|
21598
|
-
query?: Record<string, unknown>;
|
|
21599
|
-
url: string;
|
|
21600
|
-
}>(options: TData & Options$1<TData>) => string;
|
|
21601
|
-
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
21602
|
-
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
22203
|
+
200: {
|
|
22204
|
+
/**
|
|
22205
|
+
* An array of resource objects representing a object
|
|
22206
|
+
*/
|
|
22207
|
+
data?: Array<Object$1>;
|
|
22208
|
+
included?: Array<unknown>;
|
|
22209
|
+
meta?: {
|
|
22210
|
+
[key: string]: unknown;
|
|
22211
|
+
};
|
|
22212
|
+
};
|
|
21603
22213
|
};
|
|
21604
|
-
|
|
21605
|
-
body?: unknown;
|
|
21606
|
-
headers?: unknown;
|
|
21607
|
-
path?: unknown;
|
|
21608
|
-
query?: unknown;
|
|
21609
|
-
url: string;
|
|
21610
|
-
}
|
|
21611
|
-
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
21612
|
-
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = "fields"> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, "body" | "path" | "query" | "url"> & ([TData] extends [never] ? unknown : Omit<TData, "url">);
|
|
22214
|
+
type GetObjectsResponse = GetObjectsResponses[keyof GetObjectsResponses];
|
|
21613
22215
|
|
|
21614
22216
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
21615
22217
|
/**
|
|
@@ -21774,6 +22376,16 @@ declare const getSearchIndexes: <ThrowOnError extends boolean = false>(options:
|
|
|
21774
22376
|
*
|
|
21775
22377
|
*/
|
|
21776
22378
|
declare const getCreditPackagesSlugBySlug: <ThrowOnError extends boolean = false>(options: Options<GetCreditPackagesSlugBySlugData, ThrowOnError>) => RequestResult<GetCreditPackagesSlugBySlugResponses, GetCreditPackagesSlugBySlugErrors, ThrowOnError, "fields">;
|
|
22379
|
+
/**
|
|
22380
|
+
* Create batches
|
|
22381
|
+
*
|
|
22382
|
+
* Creates a new resource. Returns the created resource with generated ID.
|
|
22383
|
+
*
|
|
22384
|
+
* **Authentication:** Required - Bearer token or API key
|
|
22385
|
+
* **Rate Limit:** 100 requests per minute
|
|
22386
|
+
*
|
|
22387
|
+
*/
|
|
22388
|
+
declare const postExtractionBatches: <ThrowOnError extends boolean = false>(options: Options<PostExtractionBatchesData, ThrowOnError>) => RequestResult<PostExtractionBatchesResponses, PostExtractionBatchesErrors, ThrowOnError, "fields">;
|
|
21777
22389
|
/**
|
|
21778
22390
|
* List platform
|
|
21779
22391
|
*
|
|
@@ -21786,6 +22398,16 @@ declare const getLlmAnalyticsPlatform: <ThrowOnError extends boolean = false>(op
|
|
|
21786
22398
|
* Process a payment
|
|
21787
22399
|
*/
|
|
21788
22400
|
declare const postPayments: <ThrowOnError extends boolean = false>(options: Options<PostPaymentsData, ThrowOnError>) => RequestResult<PostPaymentsResponses, PostPaymentsErrors, ThrowOnError, "fields">;
|
|
22401
|
+
/**
|
|
22402
|
+
* Get workspace
|
|
22403
|
+
*
|
|
22404
|
+
* Retrieves a single resource by ID.
|
|
22405
|
+
*
|
|
22406
|
+
* **Authentication:** Required - Bearer token or API key
|
|
22407
|
+
* **Rate Limit:** 100 requests per minute
|
|
22408
|
+
*
|
|
22409
|
+
*/
|
|
22410
|
+
declare const getExtractionBatchesWorkspaceByWorkspaceId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionBatchesWorkspaceByWorkspaceIdData, ThrowOnError>) => RequestResult<GetExtractionBatchesWorkspaceByWorkspaceIdResponses, GetExtractionBatchesWorkspaceByWorkspaceIdErrors, ThrowOnError, "fields">;
|
|
21789
22411
|
/**
|
|
21790
22412
|
* Update revoke
|
|
21791
22413
|
*
|
|
@@ -21826,6 +22448,16 @@ declare const getExtractionDocumentsByIdStatus: <ThrowOnError extends boolean =
|
|
|
21826
22448
|
*
|
|
21827
22449
|
*/
|
|
21828
22450
|
declare const patchExtractionDocumentsByIdStatus: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdStatusData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdStatusResponses, PatchExtractionDocumentsByIdStatusErrors, ThrowOnError, "fields">;
|
|
22451
|
+
/**
|
|
22452
|
+
* Update finish upload
|
|
22453
|
+
*
|
|
22454
|
+
* Updates specific fields of an existing resource.
|
|
22455
|
+
*
|
|
22456
|
+
* **Authentication:** Required - Bearer token or API key
|
|
22457
|
+
* **Rate Limit:** 100 requests per minute
|
|
22458
|
+
*
|
|
22459
|
+
*/
|
|
22460
|
+
declare const patchExtractionDocumentsByIdFinishUpload: <ThrowOnError extends boolean = false>(options: Options<PatchExtractionDocumentsByIdFinishUploadData, ThrowOnError>) => RequestResult<PatchExtractionDocumentsByIdFinishUploadResponses, PatchExtractionDocumentsByIdFinishUploadErrors, ThrowOnError, "fields">;
|
|
21829
22461
|
/**
|
|
21830
22462
|
* Update allocate
|
|
21831
22463
|
*
|
|
@@ -22506,6 +23138,16 @@ declare const postTenantsByIdRemoveStorage: <ThrowOnError extends boolean = fals
|
|
|
22506
23138
|
*
|
|
22507
23139
|
*/
|
|
22508
23140
|
declare const getNotificationLogsById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationLogsByIdData, ThrowOnError>) => RequestResult<GetNotificationLogsByIdResponses, GetNotificationLogsByIdErrors, ThrowOnError, "fields">;
|
|
23141
|
+
/**
|
|
23142
|
+
* Get view
|
|
23143
|
+
*
|
|
23144
|
+
* Retrieves a single resource by ID.
|
|
23145
|
+
*
|
|
23146
|
+
* **Authentication:** Required - Bearer token or API key
|
|
23147
|
+
* **Rate Limit:** 100 requests per minute
|
|
23148
|
+
*
|
|
23149
|
+
*/
|
|
23150
|
+
declare const getExtractionDocumentsByIdView: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsByIdViewData, ThrowOnError>) => RequestResult<GetExtractionDocumentsByIdViewResponses, GetExtractionDocumentsByIdViewErrors, ThrowOnError, "fields">;
|
|
22509
23151
|
/**
|
|
22510
23152
|
* Get webhook deliveries
|
|
22511
23153
|
*
|
|
@@ -23034,6 +23676,16 @@ declare const patchBucketsById: <ThrowOnError extends boolean = false>(options:
|
|
|
23034
23676
|
*
|
|
23035
23677
|
*/
|
|
23036
23678
|
declare const getExtractionDocumentsWorkspaceByWorkspaceId: <ThrowOnError extends boolean = false>(options: Options<GetExtractionDocumentsWorkspaceByWorkspaceIdData, ThrowOnError>) => RequestResult<GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, ThrowOnError, "fields">;
|
|
23679
|
+
/**
|
|
23680
|
+
* Create begin upload
|
|
23681
|
+
*
|
|
23682
|
+
* Creates a new resource. Returns the created resource with generated ID.
|
|
23683
|
+
*
|
|
23684
|
+
* **Authentication:** Required - Bearer token or API key
|
|
23685
|
+
* **Rate Limit:** 100 requests per minute
|
|
23686
|
+
*
|
|
23687
|
+
*/
|
|
23688
|
+
declare const postExtractionDocumentsBeginUpload: <ThrowOnError extends boolean = false>(options: Options<PostExtractionDocumentsBeginUploadData, ThrowOnError>) => RequestResult<PostExtractionDocumentsBeginUploadResponses, PostExtractionDocumentsBeginUploadErrors, ThrowOnError, "fields">;
|
|
23037
23689
|
/**
|
|
23038
23690
|
* Delete edges
|
|
23039
23691
|
*
|
|
@@ -23468,6 +24120,16 @@ declare const getAgents: <ThrowOnError extends boolean = false>(options: Options
|
|
|
23468
24120
|
* Platform Admin action to register a new ISV (User + Tenant + App)
|
|
23469
24121
|
*/
|
|
23470
24122
|
declare const postUsersRegisterIsv: <ThrowOnError extends boolean = false>(options: Options<PostUsersRegisterIsvData, ThrowOnError>) => RequestResult<PostUsersRegisterIsvResponses, PostUsersRegisterIsvErrors, ThrowOnError, "fields">;
|
|
24123
|
+
/**
|
|
24124
|
+
* Get batches
|
|
24125
|
+
*
|
|
24126
|
+
* Retrieves a single resource by ID.
|
|
24127
|
+
*
|
|
24128
|
+
* **Authentication:** Required - Bearer token or API key
|
|
24129
|
+
* **Rate Limit:** 100 requests per minute
|
|
24130
|
+
*
|
|
24131
|
+
*/
|
|
24132
|
+
declare const getExtractionBatchesById: <ThrowOnError extends boolean = false>(options: Options<GetExtractionBatchesByIdData, ThrowOnError>) => RequestResult<GetExtractionBatchesByIdResponses, GetExtractionBatchesByIdErrors, ThrowOnError, "fields">;
|
|
23471
24133
|
/**
|
|
23472
24134
|
* Delete workspace memberships
|
|
23473
24135
|
*
|
|
@@ -23899,4 +24561,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
|
|
|
23899
24561
|
*/
|
|
23900
24562
|
declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
|
|
23901
24563
|
|
|
23902
|
-
export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterIsSystem, type AgentFilterName, type AgentFilterSlug, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionDocument, type ExtractionDocumentFilter, type ExtractionDocumentFilterBilledCredits, type ExtractionDocumentFilterContent, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterId, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionResult, type ExtractionResultFilter, type ExtractionResultFilterCreditsUsed, type ExtractionResultFilterExtractedFields, type ExtractionResultFilterExtractionMode, type ExtractionResultFilterId, type ExtractionResultFilterProcessingTimeMs, type ExtractionResultFilterStatus, type ExtractionResultFilterSummary, type ExtractionSchema, type ExtractionSchemaField, type ExtractionSchemaFieldFilter, type ExtractionSchemaFieldFilterExtractionHint, type ExtractionSchemaFieldFilterGroup, type ExtractionSchemaFieldFilterId, type ExtractionSchemaFieldFilterLabel, type ExtractionSchemaFieldFilterName, type ExtractionSchemaFieldFilterOrder, type ExtractionSchemaFieldFilterRequired, type ExtractionSchemaFieldFilterType, type ExtractionSchemaFilter, type ExtractionSchemaFilterId, type ExtractionSchemaFilterIsActive, type ExtractionSchemaFilterVersion, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type GetExtractionDocumentsData, type GetExtractionDocumentsError, type GetExtractionDocumentsErrors, type GetExtractionDocumentsResponse, type GetExtractionDocumentsResponses, type GetExtractionDocumentsWorkspaceByWorkspaceIdData, type GetExtractionDocumentsWorkspaceByWorkspaceIdError, type GetExtractionDocumentsWorkspaceByWorkspaceIdErrors, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
|
|
24564
|
+
export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterIsSystem, type AgentFilterName, type AgentFilterSlug, type AgentFilterVersion, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions, type Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteExtractionDocumentsByIdData, type DeleteExtractionDocumentsByIdError, type DeleteExtractionDocumentsByIdErrors, type DeleteExtractionDocumentsByIdResponses, type DeleteExtractionSchemaFieldsByIdData, type DeleteExtractionSchemaFieldsByIdError, type DeleteExtractionSchemaFieldsByIdErrors, type DeleteExtractionSchemaFieldsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type Error$1 as Error, type ErrorResponse, type Errors, type ExtractionBatch, type ExtractionBatchFilter, type ExtractionBatchFilterId, type ExtractionBatchFilterName, type ExtractionBatchFilterStatus, type ExtractionBatchFilterUserLabel, type ExtractionDocument, type ExtractionDocumentFilter, type ExtractionDocumentFilterBilledCredits, type ExtractionDocumentFilterContent, type ExtractionDocumentFilterErrorMessage, type ExtractionDocumentFilterFileSizeBytes, type ExtractionDocumentFilterFileType, type ExtractionDocumentFilterFilename, type ExtractionDocumentFilterId, type ExtractionDocumentFilterPages, type ExtractionDocumentFilterProgress, type ExtractionDocumentFilterStatus, type ExtractionDocumentFilterStoragePath, type ExtractionDocumentFilterUploadUrl, type ExtractionResult, type ExtractionResultFilter, type ExtractionResultFilterCreditsUsed, type ExtractionResultFilterExtractedFields, type ExtractionResultFilterExtractionMode, type ExtractionResultFilterId, type ExtractionResultFilterProcessingTimeMs, type ExtractionResultFilterStatus, type ExtractionResultFilterSummary, type ExtractionSchema, type ExtractionSchemaField, type ExtractionSchemaFieldFilter, type ExtractionSchemaFieldFilterExtractionHint, type ExtractionSchemaFieldFilterGroup, type ExtractionSchemaFieldFilterId, type ExtractionSchemaFieldFilterLabel, type ExtractionSchemaFieldFilterName, type ExtractionSchemaFieldFilterOrder, type ExtractionSchemaFieldFilterRequired, type ExtractionSchemaFieldFilterType, type ExtractionSchemaFilter, type ExtractionSchemaFilterId, type ExtractionSchemaFilterIsActive, type ExtractionSchemaFilterVersion, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionBatchesByIdData, type GetExtractionBatchesByIdError, type GetExtractionBatchesByIdErrors, type GetExtractionBatchesByIdResponse, type GetExtractionBatchesByIdResponses, type GetExtractionBatchesWorkspaceByWorkspaceIdData, type GetExtractionBatchesWorkspaceByWorkspaceIdError, type GetExtractionBatchesWorkspaceByWorkspaceIdErrors, type GetExtractionBatchesWorkspaceByWorkspaceIdResponse, type GetExtractionBatchesWorkspaceByWorkspaceIdResponses, type GetExtractionDocumentsByIdData, type GetExtractionDocumentsByIdError, type GetExtractionDocumentsByIdErrors, type GetExtractionDocumentsByIdResponse, type GetExtractionDocumentsByIdResponses, type GetExtractionDocumentsByIdStatusData, type GetExtractionDocumentsByIdStatusError, type GetExtractionDocumentsByIdStatusErrors, type GetExtractionDocumentsByIdStatusResponse, type GetExtractionDocumentsByIdStatusResponses, type 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 GetExtractionDocumentsWorkspaceByWorkspaceIdResponse, type GetExtractionDocumentsWorkspaceByWorkspaceIdResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsDocumentByDocumentIdData, type GetExtractionResultsDocumentByDocumentIdError, type GetExtractionResultsDocumentByDocumentIdErrors, type GetExtractionResultsDocumentByDocumentIdResponse, type GetExtractionResultsDocumentByDocumentIdResponses, type GetExtractionSchemaFieldsByIdData, type GetExtractionSchemaFieldsByIdError, type GetExtractionSchemaFieldsByIdErrors, type GetExtractionSchemaFieldsByIdResponse, type GetExtractionSchemaFieldsByIdResponses, type GetExtractionSchemaFieldsData, type GetExtractionSchemaFieldsError, type GetExtractionSchemaFieldsErrors, type GetExtractionSchemaFieldsResponse, type GetExtractionSchemaFieldsResponses, type GetExtractionSchemasByIdData, type GetExtractionSchemasByIdError, type GetExtractionSchemasByIdErrors, type GetExtractionSchemasByIdResponse, type GetExtractionSchemasByIdResponses, type GetExtractionSchemasWorkspaceByWorkspaceIdData, type GetExtractionSchemasWorkspaceByWorkspaceIdError, type GetExtractionSchemasWorkspaceByWorkspaceIdErrors, type GetExtractionSchemasWorkspaceByWorkspaceIdResponse, type GetExtractionSchemasWorkspaceByWorkspaceIdResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type Object$1 as Object, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchExtractionDocumentsByIdFinishUploadData, type PatchExtractionDocumentsByIdFinishUploadError, type PatchExtractionDocumentsByIdFinishUploadErrors, type PatchExtractionDocumentsByIdFinishUploadResponse, type PatchExtractionDocumentsByIdFinishUploadResponses, type PatchExtractionDocumentsByIdStatusData, type PatchExtractionDocumentsByIdStatusError, type PatchExtractionDocumentsByIdStatusErrors, type PatchExtractionDocumentsByIdStatusResponse, type PatchExtractionDocumentsByIdStatusResponses, type PatchExtractionResultsByIdCorrectionsData, type PatchExtractionResultsByIdCorrectionsError, type PatchExtractionResultsByIdCorrectionsErrors, type PatchExtractionResultsByIdCorrectionsResponse, type PatchExtractionResultsByIdCorrectionsResponses, type PatchExtractionResultsByIdRegenerateData, type PatchExtractionResultsByIdRegenerateError, type PatchExtractionResultsByIdRegenerateErrors, type PatchExtractionResultsByIdRegenerateResponse, type PatchExtractionResultsByIdRegenerateResponses, type PatchExtractionSchemaFieldsByIdData, type PatchExtractionSchemaFieldsByIdError, type PatchExtractionSchemaFieldsByIdErrors, type PatchExtractionSchemaFieldsByIdResponse, type PatchExtractionSchemaFieldsByIdResponses, type PatchExtractionSchemasByIdData, type PatchExtractionSchemasByIdError, type PatchExtractionSchemasByIdErrors, type PatchExtractionSchemasByIdResponse, type PatchExtractionSchemasByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostExtractionBatchesData, type PostExtractionBatchesError, type PostExtractionBatchesErrors, type PostExtractionBatchesResponse, type PostExtractionBatchesResponses, type PostExtractionDocumentsBeginUploadData, type PostExtractionDocumentsBeginUploadError, type PostExtractionDocumentsBeginUploadErrors, type PostExtractionDocumentsBeginUploadResponse, type PostExtractionDocumentsBeginUploadResponses, type PostExtractionDocumentsUploadData, type PostExtractionDocumentsUploadError, type PostExtractionDocumentsUploadErrors, type PostExtractionDocumentsUploadResponse, type PostExtractionDocumentsUploadResponses, type PostExtractionResultsData, type PostExtractionResultsError, type PostExtractionResultsErrors, type PostExtractionResultsResponse, type PostExtractionResultsResponses, type PostExtractionSchemaFieldsData, type PostExtractionSchemaFieldsError, type PostExtractionSchemaFieldsErrors, type PostExtractionSchemaFieldsResponse, type PostExtractionSchemaFieldsResponses, type PostExtractionSchemasData, type PostExtractionSchemasError, type PostExtractionSchemasErrors, type PostExtractionSchemasResponse, type PostExtractionSchemasResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, type XApplicationKey, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteExtractionDocumentsById, deleteExtractionSchemaFieldsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocumentsStats, getExtractionBatchesById, getExtractionBatchesWorkspaceByWorkspaceId, getExtractionDocuments, getExtractionDocumentsById, getExtractionDocumentsByIdStatus, getExtractionDocumentsByIdView, getExtractionDocumentsWorkspaceByWorkspaceId, getExtractionResultsById, getExtractionResultsDocumentByDocumentId, getExtractionSchemaFields, getExtractionSchemaFieldsById, getExtractionSchemasById, getExtractionSchemasWorkspaceByWorkspaceId, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchExtractionDocumentsByIdFinishUpload, patchExtractionDocumentsByIdStatus, patchExtractionResultsByIdCorrections, patchExtractionResultsByIdRegenerate, patchExtractionSchemaFieldsById, patchExtractionSchemasById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocumentsBulkDelete, postDocumentsPresignedUpload, postExtractionBatches, postExtractionDocumentsBeginUpload, postExtractionDocumentsUpload, postExtractionResults, postExtractionSchemaFields, postExtractionSchemas, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
|