@gpt-core/admin 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/index.d.mts +4785 -0
- package/dist/index.d.ts +4785 -0
- package/dist/index.js +750 -0
- package/dist/index.mjs +672 -0
- package/package.json +42 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,4785 @@
|
|
|
1
|
+
interface BaseClientConfig {
|
|
2
|
+
baseUrl?: string;
|
|
3
|
+
token?: string;
|
|
4
|
+
apiKey?: string;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class BaseClient {
|
|
7
|
+
constructor(config?: BaseClientConfig);
|
|
8
|
+
protected unwrap<T>(resource: any): T;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class GptAdmin extends BaseClient {
|
|
12
|
+
constructor(config?: BaseClientConfig);
|
|
13
|
+
storage: {};
|
|
14
|
+
webhooks: {
|
|
15
|
+
deliveries: {};
|
|
16
|
+
};
|
|
17
|
+
agents: {};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Filters the query to results matching the given filter object
|
|
22
|
+
*/
|
|
23
|
+
type ledger_filter = {
|
|
24
|
+
and?: Array<ledger_filter>;
|
|
25
|
+
id?: ledger_filter_id;
|
|
26
|
+
not?: ledger_filter;
|
|
27
|
+
or?: Array<ledger_filter>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Filters the query to results matching the given filter object
|
|
31
|
+
*/
|
|
32
|
+
type thread_filter = {
|
|
33
|
+
and?: Array<thread_filter>;
|
|
34
|
+
context_summary?: thread_filter_context_summary;
|
|
35
|
+
id?: thread_filter_id;
|
|
36
|
+
not?: thread_filter;
|
|
37
|
+
or?: Array<thread_filter>;
|
|
38
|
+
title?: thread_filter_title;
|
|
39
|
+
};
|
|
40
|
+
type notification_preference_filter_id = {
|
|
41
|
+
eq?: string;
|
|
42
|
+
greater_than?: string;
|
|
43
|
+
greater_than_or_equal?: string;
|
|
44
|
+
in?: Array<string>;
|
|
45
|
+
is_nil?: boolean;
|
|
46
|
+
less_than?: string;
|
|
47
|
+
less_than_or_equal?: string;
|
|
48
|
+
not_eq?: string;
|
|
49
|
+
};
|
|
50
|
+
type extraction_result_filter_model_used = {
|
|
51
|
+
contains?: string;
|
|
52
|
+
eq?: string;
|
|
53
|
+
greater_than?: string;
|
|
54
|
+
greater_than_or_equal?: string;
|
|
55
|
+
ilike?: string;
|
|
56
|
+
in?: Array<string>;
|
|
57
|
+
is_nil?: boolean;
|
|
58
|
+
less_than?: string;
|
|
59
|
+
less_than_or_equal?: string;
|
|
60
|
+
like?: string;
|
|
61
|
+
not_eq?: string;
|
|
62
|
+
};
|
|
63
|
+
type document_chunk_filter_chunk_index = {
|
|
64
|
+
eq?: number;
|
|
65
|
+
greater_than?: number;
|
|
66
|
+
greater_than_or_equal?: number;
|
|
67
|
+
in?: Array<number>;
|
|
68
|
+
is_nil?: boolean;
|
|
69
|
+
less_than?: number;
|
|
70
|
+
less_than_or_equal?: number;
|
|
71
|
+
not_eq?: number;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Filters the query to results matching the given filter object
|
|
75
|
+
*/
|
|
76
|
+
type transaction_filter = {
|
|
77
|
+
and?: Array<transaction_filter>;
|
|
78
|
+
id?: transaction_filter_id;
|
|
79
|
+
not?: transaction_filter;
|
|
80
|
+
or?: Array<transaction_filter>;
|
|
81
|
+
};
|
|
82
|
+
type pricing_rule_filter_id = {
|
|
83
|
+
eq?: string;
|
|
84
|
+
greater_than?: string;
|
|
85
|
+
greater_than_or_equal?: string;
|
|
86
|
+
in?: Array<string>;
|
|
87
|
+
is_nil?: boolean;
|
|
88
|
+
less_than?: string;
|
|
89
|
+
less_than_or_equal?: string;
|
|
90
|
+
not_eq?: string;
|
|
91
|
+
};
|
|
92
|
+
type plan_filter_monthly_price = {
|
|
93
|
+
eq?: {
|
|
94
|
+
amount: string;
|
|
95
|
+
currency: string;
|
|
96
|
+
};
|
|
97
|
+
greater_than?: {
|
|
98
|
+
amount: string;
|
|
99
|
+
currency: string;
|
|
100
|
+
};
|
|
101
|
+
greater_than_or_equal?: {
|
|
102
|
+
amount: string;
|
|
103
|
+
currency: string;
|
|
104
|
+
};
|
|
105
|
+
in?: Array<{
|
|
106
|
+
amount: string;
|
|
107
|
+
currency: string;
|
|
108
|
+
}>;
|
|
109
|
+
is_nil?: boolean;
|
|
110
|
+
less_than?: {
|
|
111
|
+
amount: string;
|
|
112
|
+
currency: string;
|
|
113
|
+
};
|
|
114
|
+
less_than_or_equal?: {
|
|
115
|
+
amount: string;
|
|
116
|
+
currency: string;
|
|
117
|
+
};
|
|
118
|
+
not_eq?: {
|
|
119
|
+
amount: string;
|
|
120
|
+
currency: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
type workspace_filter_expires_at = {
|
|
124
|
+
eq?: string;
|
|
125
|
+
greater_than?: string;
|
|
126
|
+
greater_than_or_equal?: string;
|
|
127
|
+
in?: Array<string>;
|
|
128
|
+
is_nil?: boolean;
|
|
129
|
+
less_than?: string;
|
|
130
|
+
less_than_or_equal?: string;
|
|
131
|
+
not_eq?: string;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Filters the query to results matching the given filter object
|
|
135
|
+
*/
|
|
136
|
+
type search_filter = {
|
|
137
|
+
and?: Array<search_filter>;
|
|
138
|
+
id?: search_filter_id;
|
|
139
|
+
not?: search_filter;
|
|
140
|
+
or?: Array<search_filter>;
|
|
141
|
+
};
|
|
142
|
+
type user_profile_filter_user_id = {
|
|
143
|
+
eq?: string;
|
|
144
|
+
greater_than?: string;
|
|
145
|
+
greater_than_or_equal?: string;
|
|
146
|
+
in?: Array<string>;
|
|
147
|
+
is_nil?: boolean;
|
|
148
|
+
less_than?: string;
|
|
149
|
+
less_than_or_equal?: string;
|
|
150
|
+
not_eq?: string;
|
|
151
|
+
};
|
|
152
|
+
type saved_search_filter_search_type = {
|
|
153
|
+
eq?: "keyword" | "semantic";
|
|
154
|
+
greater_than?: "keyword" | "semantic";
|
|
155
|
+
greater_than_or_equal?: "keyword" | "semantic";
|
|
156
|
+
in?: Array<string>;
|
|
157
|
+
is_nil?: boolean;
|
|
158
|
+
less_than?: "keyword" | "semantic";
|
|
159
|
+
less_than_or_equal?: "keyword" | "semantic";
|
|
160
|
+
not_eq?: "keyword" | "semantic";
|
|
161
|
+
};
|
|
162
|
+
type eq = "keyword" | "semantic";
|
|
163
|
+
declare const eq: {
|
|
164
|
+
readonly KEYWORD: "keyword";
|
|
165
|
+
readonly SEMANTIC: "semantic";
|
|
166
|
+
};
|
|
167
|
+
type greater_than = "keyword" | "semantic";
|
|
168
|
+
declare const greater_than: {
|
|
169
|
+
readonly KEYWORD: "keyword";
|
|
170
|
+
readonly SEMANTIC: "semantic";
|
|
171
|
+
};
|
|
172
|
+
type greater_than_or_equal = "keyword" | "semantic";
|
|
173
|
+
declare const greater_than_or_equal: {
|
|
174
|
+
readonly KEYWORD: "keyword";
|
|
175
|
+
readonly SEMANTIC: "semantic";
|
|
176
|
+
};
|
|
177
|
+
type less_than = "keyword" | "semantic";
|
|
178
|
+
declare const less_than: {
|
|
179
|
+
readonly KEYWORD: "keyword";
|
|
180
|
+
readonly SEMANTIC: "semantic";
|
|
181
|
+
};
|
|
182
|
+
type less_than_or_equal = "keyword" | "semantic";
|
|
183
|
+
declare const less_than_or_equal: {
|
|
184
|
+
readonly KEYWORD: "keyword";
|
|
185
|
+
readonly SEMANTIC: "semantic";
|
|
186
|
+
};
|
|
187
|
+
type not_eq = "keyword" | "semantic";
|
|
188
|
+
declare const not_eq: {
|
|
189
|
+
readonly KEYWORD: "keyword";
|
|
190
|
+
readonly SEMANTIC: "semantic";
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* A "Resource object" representing a webhook_config
|
|
194
|
+
*/
|
|
195
|
+
type webhook_config = {
|
|
196
|
+
/**
|
|
197
|
+
* An attributes object for a webhook_config
|
|
198
|
+
*/
|
|
199
|
+
attributes?: {
|
|
200
|
+
[key: string]: unknown;
|
|
201
|
+
};
|
|
202
|
+
id: string;
|
|
203
|
+
/**
|
|
204
|
+
* A relationships object for a webhook_config
|
|
205
|
+
*/
|
|
206
|
+
relationships?: {
|
|
207
|
+
[key: string]: unknown;
|
|
208
|
+
};
|
|
209
|
+
type: string;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* A "Resource object" representing a wallet
|
|
213
|
+
*/
|
|
214
|
+
type wallet = {
|
|
215
|
+
/**
|
|
216
|
+
* An attributes object for a wallet
|
|
217
|
+
*/
|
|
218
|
+
attributes?: {
|
|
219
|
+
/**
|
|
220
|
+
* Field included by default.
|
|
221
|
+
*/
|
|
222
|
+
addons?: Array<{
|
|
223
|
+
[key: string]: unknown;
|
|
224
|
+
}> | null | null;
|
|
225
|
+
/**
|
|
226
|
+
* Field included by default.
|
|
227
|
+
*/
|
|
228
|
+
application_id: string;
|
|
229
|
+
/**
|
|
230
|
+
* Field included by default.
|
|
231
|
+
*/
|
|
232
|
+
credits: number;
|
|
233
|
+
/**
|
|
234
|
+
* Field included by default.
|
|
235
|
+
*/
|
|
236
|
+
payment_methods?: Array<{
|
|
237
|
+
[key: string]: unknown;
|
|
238
|
+
}> | null | null;
|
|
239
|
+
/**
|
|
240
|
+
* Field included by default.
|
|
241
|
+
*/
|
|
242
|
+
plan?: {
|
|
243
|
+
[key: string]: unknown;
|
|
244
|
+
} | null | null;
|
|
245
|
+
};
|
|
246
|
+
id: string;
|
|
247
|
+
/**
|
|
248
|
+
* A relationships object for a wallet
|
|
249
|
+
*/
|
|
250
|
+
relationships?: {
|
|
251
|
+
[key: string]: unknown;
|
|
252
|
+
};
|
|
253
|
+
type: string;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* A "Resource object" representing a message
|
|
257
|
+
*/
|
|
258
|
+
type message = {
|
|
259
|
+
/**
|
|
260
|
+
* An attributes object for a message
|
|
261
|
+
*/
|
|
262
|
+
attributes?: {
|
|
263
|
+
[key: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
id: string;
|
|
266
|
+
/**
|
|
267
|
+
* A relationships object for a message
|
|
268
|
+
*/
|
|
269
|
+
relationships?: {
|
|
270
|
+
[key: string]: unknown;
|
|
271
|
+
};
|
|
272
|
+
type: string;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Filters the query to results matching the given filter object
|
|
276
|
+
*/
|
|
277
|
+
type llm_analytics_filter = {
|
|
278
|
+
and?: Array<llm_analytics_filter>;
|
|
279
|
+
id?: llm_analytics_filter_id;
|
|
280
|
+
not?: llm_analytics_filter;
|
|
281
|
+
or?: Array<llm_analytics_filter>;
|
|
282
|
+
};
|
|
283
|
+
type document_stats_filter_pending = {
|
|
284
|
+
eq?: number;
|
|
285
|
+
greater_than?: number;
|
|
286
|
+
greater_than_or_equal?: number;
|
|
287
|
+
in?: Array<number>;
|
|
288
|
+
is_nil?: boolean;
|
|
289
|
+
less_than?: number;
|
|
290
|
+
less_than_or_equal?: number;
|
|
291
|
+
not_eq?: number;
|
|
292
|
+
};
|
|
293
|
+
type bucket_filter_id = {
|
|
294
|
+
eq?: string;
|
|
295
|
+
greater_than?: string;
|
|
296
|
+
greater_than_or_equal?: string;
|
|
297
|
+
in?: Array<string>;
|
|
298
|
+
is_nil?: boolean;
|
|
299
|
+
less_than?: string;
|
|
300
|
+
less_than_or_equal?: string;
|
|
301
|
+
not_eq?: string;
|
|
302
|
+
};
|
|
303
|
+
type bucket_filter_storage_used = {
|
|
304
|
+
eq?: number;
|
|
305
|
+
greater_than?: number;
|
|
306
|
+
greater_than_or_equal?: number;
|
|
307
|
+
in?: Array<number>;
|
|
308
|
+
is_nil?: boolean;
|
|
309
|
+
less_than?: number;
|
|
310
|
+
less_than_or_equal?: number;
|
|
311
|
+
not_eq?: number;
|
|
312
|
+
};
|
|
313
|
+
type document_filter_status = {
|
|
314
|
+
eq?: "pending" | "processing" | "completed" | "failed";
|
|
315
|
+
greater_than?: "pending" | "processing" | "completed" | "failed";
|
|
316
|
+
greater_than_or_equal?: "pending" | "processing" | "completed" | "failed";
|
|
317
|
+
in?: Array<string>;
|
|
318
|
+
is_nil?: boolean;
|
|
319
|
+
less_than?: "pending" | "processing" | "completed" | "failed";
|
|
320
|
+
less_than_or_equal?: "pending" | "processing" | "completed" | "failed";
|
|
321
|
+
not_eq?: "pending" | "processing" | "completed" | "failed";
|
|
322
|
+
};
|
|
323
|
+
type eq2 = "pending" | "processing" | "completed" | "failed";
|
|
324
|
+
declare const eq2: {
|
|
325
|
+
readonly PENDING: "pending";
|
|
326
|
+
readonly PROCESSING: "processing";
|
|
327
|
+
readonly COMPLETED: "completed";
|
|
328
|
+
readonly FAILED: "failed";
|
|
329
|
+
};
|
|
330
|
+
type greater_than2 = "pending" | "processing" | "completed" | "failed";
|
|
331
|
+
declare const greater_than2: {
|
|
332
|
+
readonly PENDING: "pending";
|
|
333
|
+
readonly PROCESSING: "processing";
|
|
334
|
+
readonly COMPLETED: "completed";
|
|
335
|
+
readonly FAILED: "failed";
|
|
336
|
+
};
|
|
337
|
+
type greater_than_or_equal2 = "pending" | "processing" | "completed" | "failed";
|
|
338
|
+
declare const greater_than_or_equal2: {
|
|
339
|
+
readonly PENDING: "pending";
|
|
340
|
+
readonly PROCESSING: "processing";
|
|
341
|
+
readonly COMPLETED: "completed";
|
|
342
|
+
readonly FAILED: "failed";
|
|
343
|
+
};
|
|
344
|
+
type less_than2 = "pending" | "processing" | "completed" | "failed";
|
|
345
|
+
declare const less_than2: {
|
|
346
|
+
readonly PENDING: "pending";
|
|
347
|
+
readonly PROCESSING: "processing";
|
|
348
|
+
readonly COMPLETED: "completed";
|
|
349
|
+
readonly FAILED: "failed";
|
|
350
|
+
};
|
|
351
|
+
type less_than_or_equal2 = "pending" | "processing" | "completed" | "failed";
|
|
352
|
+
declare const less_than_or_equal2: {
|
|
353
|
+
readonly PENDING: "pending";
|
|
354
|
+
readonly PROCESSING: "processing";
|
|
355
|
+
readonly COMPLETED: "completed";
|
|
356
|
+
readonly FAILED: "failed";
|
|
357
|
+
};
|
|
358
|
+
type not_eq2 = "pending" | "processing" | "completed" | "failed";
|
|
359
|
+
declare const not_eq2: {
|
|
360
|
+
readonly PENDING: "pending";
|
|
361
|
+
readonly PROCESSING: "processing";
|
|
362
|
+
readonly COMPLETED: "completed";
|
|
363
|
+
readonly FAILED: "failed";
|
|
364
|
+
};
|
|
365
|
+
type user_filter_id = {
|
|
366
|
+
eq?: string;
|
|
367
|
+
greater_than?: string;
|
|
368
|
+
greater_than_or_equal?: string;
|
|
369
|
+
in?: Array<string>;
|
|
370
|
+
is_nil?: boolean;
|
|
371
|
+
less_than?: string;
|
|
372
|
+
less_than_or_equal?: string;
|
|
373
|
+
not_eq?: string;
|
|
374
|
+
};
|
|
375
|
+
type wallet_filter_credits = {
|
|
376
|
+
eq?: number;
|
|
377
|
+
greater_than?: number;
|
|
378
|
+
greater_than_or_equal?: number;
|
|
379
|
+
in?: Array<number>;
|
|
380
|
+
is_nil?: boolean;
|
|
381
|
+
less_than?: number;
|
|
382
|
+
less_than_or_equal?: number;
|
|
383
|
+
not_eq?: number;
|
|
384
|
+
};
|
|
385
|
+
type wallet_filter_application_id = {
|
|
386
|
+
eq?: string;
|
|
387
|
+
greater_than?: string;
|
|
388
|
+
greater_than_or_equal?: string;
|
|
389
|
+
in?: Array<string>;
|
|
390
|
+
is_nil?: boolean;
|
|
391
|
+
less_than?: string;
|
|
392
|
+
less_than_or_equal?: string;
|
|
393
|
+
not_eq?: string;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* A "Resource object" representing a operation_success
|
|
397
|
+
*/
|
|
398
|
+
type operation_success = {
|
|
399
|
+
/**
|
|
400
|
+
* An attributes object for a operation_success
|
|
401
|
+
*/
|
|
402
|
+
attributes?: {
|
|
403
|
+
/**
|
|
404
|
+
* Field included by default.
|
|
405
|
+
*/
|
|
406
|
+
message?: string | null | null;
|
|
407
|
+
/**
|
|
408
|
+
* Field included by default.
|
|
409
|
+
*/
|
|
410
|
+
success: boolean;
|
|
411
|
+
};
|
|
412
|
+
id: string;
|
|
413
|
+
/**
|
|
414
|
+
* A relationships object for a operation_success
|
|
415
|
+
*/
|
|
416
|
+
relationships?: {
|
|
417
|
+
[key: string]: unknown;
|
|
418
|
+
};
|
|
419
|
+
type: string;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Filters the query to results matching the given filter object
|
|
423
|
+
*/
|
|
424
|
+
type workspace_filter = {
|
|
425
|
+
and?: Array<workspace_filter>;
|
|
426
|
+
archived_at?: workspace_filter_archived_at;
|
|
427
|
+
description?: workspace_filter_description;
|
|
428
|
+
expires_at?: workspace_filter_expires_at;
|
|
429
|
+
id?: workspace_filter_id;
|
|
430
|
+
is_default?: workspace_filter_is_default;
|
|
431
|
+
low_balance_threshold?: workspace_filter_low_balance_threshold;
|
|
432
|
+
not?: workspace_filter;
|
|
433
|
+
or?: Array<workspace_filter>;
|
|
434
|
+
renewal_params?: workspace_filter_renewal_params;
|
|
435
|
+
};
|
|
436
|
+
type credit_package_filter_name = {
|
|
437
|
+
contains?: string;
|
|
438
|
+
eq?: string;
|
|
439
|
+
greater_than?: string;
|
|
440
|
+
greater_than_or_equal?: string;
|
|
441
|
+
ilike?: string;
|
|
442
|
+
in?: Array<string>;
|
|
443
|
+
is_nil?: boolean;
|
|
444
|
+
less_than?: string;
|
|
445
|
+
less_than_or_equal?: string;
|
|
446
|
+
like?: string;
|
|
447
|
+
not_eq?: string;
|
|
448
|
+
};
|
|
449
|
+
type document_filter_tenant_id = {
|
|
450
|
+
eq?: string;
|
|
451
|
+
greater_than?: string;
|
|
452
|
+
greater_than_or_equal?: string;
|
|
453
|
+
in?: Array<string>;
|
|
454
|
+
is_nil?: boolean;
|
|
455
|
+
less_than?: string;
|
|
456
|
+
less_than_or_equal?: string;
|
|
457
|
+
not_eq?: string;
|
|
458
|
+
};
|
|
459
|
+
type tenant_filter_id = {
|
|
460
|
+
eq?: string;
|
|
461
|
+
greater_than?: string;
|
|
462
|
+
greater_than_or_equal?: string;
|
|
463
|
+
in?: Array<string>;
|
|
464
|
+
is_nil?: boolean;
|
|
465
|
+
less_than?: string;
|
|
466
|
+
less_than_or_equal?: string;
|
|
467
|
+
not_eq?: string;
|
|
468
|
+
};
|
|
469
|
+
type token_filter_token = {
|
|
470
|
+
contains?: string;
|
|
471
|
+
eq?: string;
|
|
472
|
+
greater_than?: string;
|
|
473
|
+
greater_than_or_equal?: string;
|
|
474
|
+
in?: Array<string>;
|
|
475
|
+
is_nil?: boolean;
|
|
476
|
+
less_than?: string;
|
|
477
|
+
less_than_or_equal?: string;
|
|
478
|
+
not_eq?: string;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* A "Resource object" representing a user_profile
|
|
482
|
+
*/
|
|
483
|
+
type user_profile = {
|
|
484
|
+
/**
|
|
485
|
+
* An attributes object for a user_profile
|
|
486
|
+
*/
|
|
487
|
+
attributes?: {
|
|
488
|
+
/**
|
|
489
|
+
* Field included by default.
|
|
490
|
+
*/
|
|
491
|
+
avatar_url?: string | null | null;
|
|
492
|
+
/**
|
|
493
|
+
* Field included by default.
|
|
494
|
+
*/
|
|
495
|
+
bio?: string | null | null;
|
|
496
|
+
/**
|
|
497
|
+
* Field included by default.
|
|
498
|
+
*/
|
|
499
|
+
first_name?: string | null | null;
|
|
500
|
+
/**
|
|
501
|
+
* Field included by default.
|
|
502
|
+
*/
|
|
503
|
+
last_name?: string | null | null;
|
|
504
|
+
/**
|
|
505
|
+
* Field included by default.
|
|
506
|
+
*/
|
|
507
|
+
preferences?: {
|
|
508
|
+
[key: string]: unknown;
|
|
509
|
+
} | null | null;
|
|
510
|
+
/**
|
|
511
|
+
* Field included by default.
|
|
512
|
+
*/
|
|
513
|
+
social_links?: {
|
|
514
|
+
[key: string]: unknown;
|
|
515
|
+
} | null | null;
|
|
516
|
+
/**
|
|
517
|
+
* Field included by default.
|
|
518
|
+
*/
|
|
519
|
+
user_id: string;
|
|
520
|
+
};
|
|
521
|
+
id: string;
|
|
522
|
+
/**
|
|
523
|
+
* A relationships object for a user_profile
|
|
524
|
+
*/
|
|
525
|
+
relationships?: {
|
|
526
|
+
user?: {
|
|
527
|
+
/**
|
|
528
|
+
* An identifier for user
|
|
529
|
+
*/
|
|
530
|
+
data?: {
|
|
531
|
+
id: string;
|
|
532
|
+
meta?: {
|
|
533
|
+
[key: string]: unknown;
|
|
534
|
+
};
|
|
535
|
+
type: string;
|
|
536
|
+
} | null;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
type: string;
|
|
540
|
+
};
|
|
541
|
+
/**
|
|
542
|
+
* A "Resource object" representing a thread
|
|
543
|
+
*/
|
|
544
|
+
type thread = {
|
|
545
|
+
/**
|
|
546
|
+
* An attributes object for a thread
|
|
547
|
+
*/
|
|
548
|
+
attributes?: {
|
|
549
|
+
/**
|
|
550
|
+
* Field included by default.
|
|
551
|
+
*/
|
|
552
|
+
context_summary?: string | null | null;
|
|
553
|
+
/**
|
|
554
|
+
* Field included by default.
|
|
555
|
+
*/
|
|
556
|
+
title?: string | null | null;
|
|
557
|
+
};
|
|
558
|
+
id: string;
|
|
559
|
+
/**
|
|
560
|
+
* A relationships object for a thread
|
|
561
|
+
*/
|
|
562
|
+
relationships?: {
|
|
563
|
+
[key: string]: unknown;
|
|
564
|
+
};
|
|
565
|
+
type: string;
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* A "Resource object" representing a ledger
|
|
569
|
+
*/
|
|
570
|
+
type ledger = {
|
|
571
|
+
/**
|
|
572
|
+
* An attributes object for a ledger
|
|
573
|
+
*/
|
|
574
|
+
attributes?: {
|
|
575
|
+
[key: string]: unknown;
|
|
576
|
+
};
|
|
577
|
+
id: string;
|
|
578
|
+
/**
|
|
579
|
+
* A relationships object for a ledger
|
|
580
|
+
*/
|
|
581
|
+
relationships?: {
|
|
582
|
+
[key: string]: unknown;
|
|
583
|
+
};
|
|
584
|
+
type: string;
|
|
585
|
+
};
|
|
586
|
+
type notification_log_filter_id = {
|
|
587
|
+
eq?: string;
|
|
588
|
+
greater_than?: string;
|
|
589
|
+
greater_than_or_equal?: string;
|
|
590
|
+
in?: Array<string>;
|
|
591
|
+
is_nil?: boolean;
|
|
592
|
+
less_than?: string;
|
|
593
|
+
less_than_or_equal?: string;
|
|
594
|
+
not_eq?: string;
|
|
595
|
+
};
|
|
596
|
+
type token_filter_exp_year = {
|
|
597
|
+
eq?: number;
|
|
598
|
+
greater_than?: number;
|
|
599
|
+
greater_than_or_equal?: number;
|
|
600
|
+
in?: Array<number>;
|
|
601
|
+
is_nil?: boolean;
|
|
602
|
+
less_than?: number;
|
|
603
|
+
less_than_or_equal?: number;
|
|
604
|
+
not_eq?: number;
|
|
605
|
+
};
|
|
606
|
+
type workspace_filter_is_default = {
|
|
607
|
+
eq?: boolean;
|
|
608
|
+
greater_than?: boolean;
|
|
609
|
+
greater_than_or_equal?: boolean;
|
|
610
|
+
in?: Array<boolean>;
|
|
611
|
+
is_nil?: boolean;
|
|
612
|
+
less_than?: boolean;
|
|
613
|
+
less_than_or_equal?: boolean;
|
|
614
|
+
not_eq?: boolean;
|
|
615
|
+
};
|
|
616
|
+
type document_chunk_filter_document_id = {
|
|
617
|
+
eq?: string;
|
|
618
|
+
greater_than?: string;
|
|
619
|
+
greater_than_or_equal?: string;
|
|
620
|
+
in?: Array<string>;
|
|
621
|
+
is_nil?: boolean;
|
|
622
|
+
less_than?: string;
|
|
623
|
+
less_than_or_equal?: string;
|
|
624
|
+
not_eq?: string;
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Filters the query to results matching the given filter object
|
|
628
|
+
*/
|
|
629
|
+
type config_filter = {
|
|
630
|
+
and?: Array<config_filter>;
|
|
631
|
+
description?: config_filter_description;
|
|
632
|
+
key?: config_filter_key;
|
|
633
|
+
not?: config_filter;
|
|
634
|
+
or?: Array<config_filter>;
|
|
635
|
+
value?: config_filter_value;
|
|
636
|
+
};
|
|
637
|
+
type plan_filter_storage_days = {
|
|
638
|
+
eq?: number;
|
|
639
|
+
greater_than?: number;
|
|
640
|
+
greater_than_or_equal?: number;
|
|
641
|
+
in?: Array<number>;
|
|
642
|
+
is_nil?: boolean;
|
|
643
|
+
less_than?: number;
|
|
644
|
+
less_than_or_equal?: number;
|
|
645
|
+
not_eq?: number;
|
|
646
|
+
};
|
|
647
|
+
type storage_stats_filter_total_objects = {
|
|
648
|
+
eq?: number;
|
|
649
|
+
greater_than?: number;
|
|
650
|
+
greater_than_or_equal?: number;
|
|
651
|
+
in?: Array<number>;
|
|
652
|
+
is_nil?: boolean;
|
|
653
|
+
less_than?: number;
|
|
654
|
+
less_than_or_equal?: number;
|
|
655
|
+
not_eq?: number;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* Filters the query to results matching the given filter object
|
|
659
|
+
*/
|
|
660
|
+
type audit_log_filter = {
|
|
661
|
+
action?: audit_log_filter_action;
|
|
662
|
+
actor?: user_filter;
|
|
663
|
+
actor_id?: audit_log_filter_actor_id;
|
|
664
|
+
and?: Array<audit_log_filter>;
|
|
665
|
+
changes?: audit_log_filter_changes;
|
|
666
|
+
id?: audit_log_filter_id;
|
|
667
|
+
not?: audit_log_filter;
|
|
668
|
+
or?: Array<audit_log_filter>;
|
|
669
|
+
resource_id?: audit_log_filter_resource_id;
|
|
670
|
+
resource_type?: audit_log_filter_resource_type;
|
|
671
|
+
tenant?: tenant_filter;
|
|
672
|
+
tenant_id?: audit_log_filter_tenant_id;
|
|
673
|
+
workspace?: workspace_filter;
|
|
674
|
+
workspace_id?: audit_log_filter_workspace_id;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* A "Resource object" representing a notification_log
|
|
678
|
+
*/
|
|
679
|
+
type notification_log = {
|
|
680
|
+
/**
|
|
681
|
+
* An attributes object for a notification_log
|
|
682
|
+
*/
|
|
683
|
+
attributes?: {
|
|
684
|
+
[key: string]: unknown;
|
|
685
|
+
};
|
|
686
|
+
id: string;
|
|
687
|
+
/**
|
|
688
|
+
* A relationships object for a notification_log
|
|
689
|
+
*/
|
|
690
|
+
relationships?: {
|
|
691
|
+
[key: string]: unknown;
|
|
692
|
+
};
|
|
693
|
+
type: string;
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* A "Resource object" representing a token
|
|
697
|
+
*/
|
|
698
|
+
type token = {
|
|
699
|
+
/**
|
|
700
|
+
* An attributes object for a token
|
|
701
|
+
*/
|
|
702
|
+
attributes?: {
|
|
703
|
+
/**
|
|
704
|
+
* Field included by default.
|
|
705
|
+
*/
|
|
706
|
+
brand?: string | null | null;
|
|
707
|
+
/**
|
|
708
|
+
* Field included by default.
|
|
709
|
+
*/
|
|
710
|
+
exp_month?: number | null | null;
|
|
711
|
+
/**
|
|
712
|
+
* Field included by default.
|
|
713
|
+
*/
|
|
714
|
+
exp_year?: number | null | null;
|
|
715
|
+
/**
|
|
716
|
+
* Field included by default.
|
|
717
|
+
*/
|
|
718
|
+
last4?: string | null | null;
|
|
719
|
+
/**
|
|
720
|
+
* Field included by default.
|
|
721
|
+
*/
|
|
722
|
+
token?: string | null | null;
|
|
723
|
+
};
|
|
724
|
+
id: string;
|
|
725
|
+
/**
|
|
726
|
+
* A relationships object for a token
|
|
727
|
+
*/
|
|
728
|
+
relationships?: {
|
|
729
|
+
[key: string]: unknown;
|
|
730
|
+
};
|
|
731
|
+
type: string;
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* A "Resource object" representing a customer
|
|
735
|
+
*/
|
|
736
|
+
type customer = {
|
|
737
|
+
/**
|
|
738
|
+
* An attributes object for a customer
|
|
739
|
+
*/
|
|
740
|
+
attributes?: {
|
|
741
|
+
[key: string]: unknown;
|
|
742
|
+
};
|
|
743
|
+
id: string;
|
|
744
|
+
/**
|
|
745
|
+
* A relationships object for a customer
|
|
746
|
+
*/
|
|
747
|
+
relationships?: {
|
|
748
|
+
[key: string]: unknown;
|
|
749
|
+
};
|
|
750
|
+
type: string;
|
|
751
|
+
};
|
|
752
|
+
type presigned_url_filter_storage_path = {
|
|
753
|
+
contains?: string;
|
|
754
|
+
eq?: string;
|
|
755
|
+
greater_than?: string;
|
|
756
|
+
greater_than_or_equal?: string;
|
|
757
|
+
in?: Array<string>;
|
|
758
|
+
is_nil?: boolean;
|
|
759
|
+
less_than?: string;
|
|
760
|
+
less_than_or_equal?: string;
|
|
761
|
+
not_eq?: string;
|
|
762
|
+
};
|
|
763
|
+
type saved_search_filter_name = {
|
|
764
|
+
contains?: string;
|
|
765
|
+
eq?: string;
|
|
766
|
+
greater_than?: string;
|
|
767
|
+
greater_than_or_equal?: string;
|
|
768
|
+
ilike?: string;
|
|
769
|
+
in?: Array<string>;
|
|
770
|
+
is_nil?: boolean;
|
|
771
|
+
less_than?: string;
|
|
772
|
+
less_than_or_equal?: string;
|
|
773
|
+
like?: string;
|
|
774
|
+
not_eq?: string;
|
|
775
|
+
};
|
|
776
|
+
type links = {
|
|
777
|
+
[key: string]: link;
|
|
778
|
+
};
|
|
779
|
+
type object_filter_id = {
|
|
780
|
+
eq?: string;
|
|
781
|
+
greater_than?: string;
|
|
782
|
+
greater_than_or_equal?: string;
|
|
783
|
+
in?: Array<string>;
|
|
784
|
+
is_nil?: boolean;
|
|
785
|
+
less_than?: string;
|
|
786
|
+
less_than_or_equal?: string;
|
|
787
|
+
not_eq?: string;
|
|
788
|
+
};
|
|
789
|
+
type extraction_result_filter_confidence_score = {
|
|
790
|
+
eq?: number;
|
|
791
|
+
greater_than?: number;
|
|
792
|
+
greater_than_or_equal?: number;
|
|
793
|
+
in?: Array<number>;
|
|
794
|
+
is_nil?: boolean;
|
|
795
|
+
less_than?: number;
|
|
796
|
+
less_than_or_equal?: number;
|
|
797
|
+
not_eq?: number;
|
|
798
|
+
};
|
|
799
|
+
type graph_edge_filter_id = {
|
|
800
|
+
eq?: string;
|
|
801
|
+
greater_than?: string;
|
|
802
|
+
greater_than_or_equal?: string;
|
|
803
|
+
in?: Array<string>;
|
|
804
|
+
is_nil?: boolean;
|
|
805
|
+
less_than?: string;
|
|
806
|
+
less_than_or_equal?: string;
|
|
807
|
+
not_eq?: string;
|
|
808
|
+
};
|
|
809
|
+
/**
|
|
810
|
+
* Filters the query to results matching the given filter object
|
|
811
|
+
*/
|
|
812
|
+
type user_filter = {
|
|
813
|
+
and?: Array<user_filter>;
|
|
814
|
+
current_workspace_id?: user_filter_current_workspace_id;
|
|
815
|
+
email?: user_filter_email;
|
|
816
|
+
id?: user_filter_id;
|
|
817
|
+
is_app_admin?: user_filter_is_app_admin;
|
|
818
|
+
is_platform_admin?: user_filter_is_platform_admin;
|
|
819
|
+
not?: user_filter;
|
|
820
|
+
or?: Array<user_filter>;
|
|
821
|
+
profile?: user_profile_filter;
|
|
822
|
+
};
|
|
823
|
+
type transaction_filter_created_at = {
|
|
824
|
+
eq?: unknown;
|
|
825
|
+
greater_than?: unknown;
|
|
826
|
+
greater_than_or_equal?: unknown;
|
|
827
|
+
in?: Array<unknown>;
|
|
828
|
+
is_nil?: boolean;
|
|
829
|
+
less_than?: unknown;
|
|
830
|
+
less_than_or_equal?: unknown;
|
|
831
|
+
not_eq?: unknown;
|
|
832
|
+
};
|
|
833
|
+
/**
|
|
834
|
+
* Filters the query to results matching the given filter object
|
|
835
|
+
*/
|
|
836
|
+
type agent_filter = {
|
|
837
|
+
and?: Array<agent_filter>;
|
|
838
|
+
id?: agent_filter_id;
|
|
839
|
+
not?: agent_filter;
|
|
840
|
+
or?: Array<agent_filter>;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* Filters the query to results matching the given filter object
|
|
844
|
+
*/
|
|
845
|
+
type training_example_filter = {
|
|
846
|
+
and?: Array<training_example_filter>;
|
|
847
|
+
embedding?: training_example_filter_embedding;
|
|
848
|
+
id?: training_example_filter_id;
|
|
849
|
+
input_text?: training_example_filter_input_text;
|
|
850
|
+
not?: training_example_filter;
|
|
851
|
+
or?: Array<training_example_filter>;
|
|
852
|
+
output_json?: training_example_filter_output_json;
|
|
853
|
+
};
|
|
854
|
+
type storage_stats_filter_id = {
|
|
855
|
+
eq?: string;
|
|
856
|
+
greater_than?: string;
|
|
857
|
+
greater_than_or_equal?: string;
|
|
858
|
+
in?: Array<string>;
|
|
859
|
+
is_nil?: boolean;
|
|
860
|
+
less_than?: string;
|
|
861
|
+
less_than_or_equal?: string;
|
|
862
|
+
not_eq?: string;
|
|
863
|
+
};
|
|
864
|
+
type user_filter_is_app_admin = {
|
|
865
|
+
eq?: boolean;
|
|
866
|
+
greater_than?: boolean;
|
|
867
|
+
greater_than_or_equal?: boolean;
|
|
868
|
+
in?: Array<boolean>;
|
|
869
|
+
is_nil?: boolean;
|
|
870
|
+
less_than?: boolean;
|
|
871
|
+
less_than_or_equal?: boolean;
|
|
872
|
+
not_eq?: boolean;
|
|
873
|
+
};
|
|
874
|
+
type training_example_filter_embedding = {
|
|
875
|
+
eq?: unknown;
|
|
876
|
+
greater_than?: unknown;
|
|
877
|
+
greater_than_or_equal?: unknown;
|
|
878
|
+
in?: Array<unknown>;
|
|
879
|
+
is_nil?: boolean;
|
|
880
|
+
less_than?: unknown;
|
|
881
|
+
less_than_or_equal?: unknown;
|
|
882
|
+
not_eq?: unknown;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* A "Resource object" representing a document
|
|
886
|
+
*/
|
|
887
|
+
type document = {
|
|
888
|
+
/**
|
|
889
|
+
* An attributes object for a document
|
|
890
|
+
*/
|
|
891
|
+
attributes?: {
|
|
892
|
+
/**
|
|
893
|
+
* Field included by default.
|
|
894
|
+
*/
|
|
895
|
+
application_id?: string | null | null;
|
|
896
|
+
/**
|
|
897
|
+
* Field included by default.
|
|
898
|
+
*/
|
|
899
|
+
content?: string | null | null;
|
|
900
|
+
/**
|
|
901
|
+
* Field included by default.
|
|
902
|
+
*/
|
|
903
|
+
filename: string;
|
|
904
|
+
/**
|
|
905
|
+
* Field included by default.
|
|
906
|
+
*/
|
|
907
|
+
metadata?: {
|
|
908
|
+
[key: string]: unknown;
|
|
909
|
+
} | null | null;
|
|
910
|
+
/**
|
|
911
|
+
* Field included by default.
|
|
912
|
+
*/
|
|
913
|
+
mime_type: string;
|
|
914
|
+
/**
|
|
915
|
+
* Field included by default.
|
|
916
|
+
*/
|
|
917
|
+
original_filename: string;
|
|
918
|
+
/**
|
|
919
|
+
* Field included by default.
|
|
920
|
+
*/
|
|
921
|
+
size_bytes: number;
|
|
922
|
+
/**
|
|
923
|
+
* Field included by default.
|
|
924
|
+
*/
|
|
925
|
+
status: "pending" | "processing" | "completed" | "failed";
|
|
926
|
+
/**
|
|
927
|
+
* Field included by default.
|
|
928
|
+
*/
|
|
929
|
+
storage_options?: {
|
|
930
|
+
[key: string]: unknown;
|
|
931
|
+
} | null | null;
|
|
932
|
+
/**
|
|
933
|
+
* Field included by default.
|
|
934
|
+
*/
|
|
935
|
+
storage_path: string;
|
|
936
|
+
/**
|
|
937
|
+
* Field included by default.
|
|
938
|
+
*/
|
|
939
|
+
summary?: string | null | null;
|
|
940
|
+
/**
|
|
941
|
+
* Field included by default.
|
|
942
|
+
*/
|
|
943
|
+
summary_embedding?: unknown | null;
|
|
944
|
+
/**
|
|
945
|
+
* Field included by default.
|
|
946
|
+
*/
|
|
947
|
+
tenant_id: string;
|
|
948
|
+
/**
|
|
949
|
+
* Field included by default.
|
|
950
|
+
*/
|
|
951
|
+
uploader_id: string;
|
|
952
|
+
/**
|
|
953
|
+
* Field included by default.
|
|
954
|
+
*/
|
|
955
|
+
workspace_id?: string | null | null;
|
|
956
|
+
};
|
|
957
|
+
id: string;
|
|
958
|
+
/**
|
|
959
|
+
* A relationships object for a document
|
|
960
|
+
*/
|
|
961
|
+
relationships?: {
|
|
962
|
+
application?: {
|
|
963
|
+
/**
|
|
964
|
+
* An identifier for application
|
|
965
|
+
*/
|
|
966
|
+
data?: {
|
|
967
|
+
id: string;
|
|
968
|
+
meta?: {
|
|
969
|
+
[key: string]: unknown;
|
|
970
|
+
};
|
|
971
|
+
type: string;
|
|
972
|
+
} | null;
|
|
973
|
+
};
|
|
974
|
+
chunks?: {
|
|
975
|
+
/**
|
|
976
|
+
* Relationship data for chunks
|
|
977
|
+
*/
|
|
978
|
+
data?: Array<{
|
|
979
|
+
id: string;
|
|
980
|
+
meta?: {
|
|
981
|
+
[key: string]: unknown;
|
|
982
|
+
};
|
|
983
|
+
type: string;
|
|
984
|
+
}>;
|
|
985
|
+
};
|
|
986
|
+
extraction_results?: {
|
|
987
|
+
/**
|
|
988
|
+
* Relationship data for extraction_results
|
|
989
|
+
*/
|
|
990
|
+
data?: Array<{
|
|
991
|
+
id: string;
|
|
992
|
+
meta?: {
|
|
993
|
+
[key: string]: unknown;
|
|
994
|
+
};
|
|
995
|
+
type: string;
|
|
996
|
+
}>;
|
|
997
|
+
};
|
|
998
|
+
tenant?: {
|
|
999
|
+
/**
|
|
1000
|
+
* An identifier for tenant
|
|
1001
|
+
*/
|
|
1002
|
+
data?: {
|
|
1003
|
+
id: string;
|
|
1004
|
+
meta?: {
|
|
1005
|
+
[key: string]: unknown;
|
|
1006
|
+
};
|
|
1007
|
+
type: string;
|
|
1008
|
+
} | null;
|
|
1009
|
+
};
|
|
1010
|
+
uploader?: {
|
|
1011
|
+
/**
|
|
1012
|
+
* An identifier for uploader
|
|
1013
|
+
*/
|
|
1014
|
+
data?: {
|
|
1015
|
+
id: string;
|
|
1016
|
+
meta?: {
|
|
1017
|
+
[key: string]: unknown;
|
|
1018
|
+
};
|
|
1019
|
+
type: string;
|
|
1020
|
+
} | null;
|
|
1021
|
+
};
|
|
1022
|
+
workspace?: {
|
|
1023
|
+
/**
|
|
1024
|
+
* An identifier for workspace
|
|
1025
|
+
*/
|
|
1026
|
+
data?: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
meta?: {
|
|
1029
|
+
[key: string]: unknown;
|
|
1030
|
+
};
|
|
1031
|
+
type: string;
|
|
1032
|
+
} | null;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
type: string;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* Field included by default.
|
|
1039
|
+
*/
|
|
1040
|
+
type status = "pending" | "processing" | "completed" | "failed";
|
|
1041
|
+
/**
|
|
1042
|
+
* Field included by default.
|
|
1043
|
+
*/
|
|
1044
|
+
declare const status: {
|
|
1045
|
+
readonly PENDING: "pending";
|
|
1046
|
+
readonly PROCESSING: "processing";
|
|
1047
|
+
readonly COMPLETED: "completed";
|
|
1048
|
+
readonly FAILED: "failed";
|
|
1049
|
+
};
|
|
1050
|
+
type api_key_filter_status = {
|
|
1051
|
+
eq?: "active" | "revoked" | "expired";
|
|
1052
|
+
greater_than?: "active" | "revoked" | "expired";
|
|
1053
|
+
greater_than_or_equal?: "active" | "revoked" | "expired";
|
|
1054
|
+
in?: Array<string>;
|
|
1055
|
+
is_nil?: boolean;
|
|
1056
|
+
less_than?: "active" | "revoked" | "expired";
|
|
1057
|
+
less_than_or_equal?: "active" | "revoked" | "expired";
|
|
1058
|
+
not_eq?: "active" | "revoked" | "expired";
|
|
1059
|
+
};
|
|
1060
|
+
type eq3 = "active" | "revoked" | "expired";
|
|
1061
|
+
declare const eq3: {
|
|
1062
|
+
readonly ACTIVE: "active";
|
|
1063
|
+
readonly REVOKED: "revoked";
|
|
1064
|
+
readonly EXPIRED: "expired";
|
|
1065
|
+
};
|
|
1066
|
+
type greater_than3 = "active" | "revoked" | "expired";
|
|
1067
|
+
declare const greater_than3: {
|
|
1068
|
+
readonly ACTIVE: "active";
|
|
1069
|
+
readonly REVOKED: "revoked";
|
|
1070
|
+
readonly EXPIRED: "expired";
|
|
1071
|
+
};
|
|
1072
|
+
type greater_than_or_equal3 = "active" | "revoked" | "expired";
|
|
1073
|
+
declare const greater_than_or_equal3: {
|
|
1074
|
+
readonly ACTIVE: "active";
|
|
1075
|
+
readonly REVOKED: "revoked";
|
|
1076
|
+
readonly EXPIRED: "expired";
|
|
1077
|
+
};
|
|
1078
|
+
type less_than3 = "active" | "revoked" | "expired";
|
|
1079
|
+
declare const less_than3: {
|
|
1080
|
+
readonly ACTIVE: "active";
|
|
1081
|
+
readonly REVOKED: "revoked";
|
|
1082
|
+
readonly EXPIRED: "expired";
|
|
1083
|
+
};
|
|
1084
|
+
type less_than_or_equal3 = "active" | "revoked" | "expired";
|
|
1085
|
+
declare const less_than_or_equal3: {
|
|
1086
|
+
readonly ACTIVE: "active";
|
|
1087
|
+
readonly REVOKED: "revoked";
|
|
1088
|
+
readonly EXPIRED: "expired";
|
|
1089
|
+
};
|
|
1090
|
+
type not_eq3 = "active" | "revoked" | "expired";
|
|
1091
|
+
declare const not_eq3: {
|
|
1092
|
+
readonly ACTIVE: "active";
|
|
1093
|
+
readonly REVOKED: "revoked";
|
|
1094
|
+
readonly EXPIRED: "expired";
|
|
1095
|
+
};
|
|
1096
|
+
type graph_edge_filter_properties = {
|
|
1097
|
+
eq?: {
|
|
1098
|
+
[key: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
greater_than?: {
|
|
1101
|
+
[key: string]: unknown;
|
|
1102
|
+
};
|
|
1103
|
+
greater_than_or_equal?: {
|
|
1104
|
+
[key: string]: unknown;
|
|
1105
|
+
};
|
|
1106
|
+
in?: Array<{
|
|
1107
|
+
[key: string]: unknown;
|
|
1108
|
+
}>;
|
|
1109
|
+
is_nil?: boolean;
|
|
1110
|
+
less_than?: {
|
|
1111
|
+
[key: string]: unknown;
|
|
1112
|
+
};
|
|
1113
|
+
less_than_or_equal?: {
|
|
1114
|
+
[key: string]: unknown;
|
|
1115
|
+
};
|
|
1116
|
+
not_eq?: {
|
|
1117
|
+
[key: string]: unknown;
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
type transaction_filter_status = {
|
|
1121
|
+
eq?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1122
|
+
greater_than?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1123
|
+
greater_than_or_equal?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1124
|
+
in?: Array<string>;
|
|
1125
|
+
is_nil?: boolean;
|
|
1126
|
+
less_than?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1127
|
+
less_than_or_equal?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1128
|
+
not_eq?: "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1129
|
+
};
|
|
1130
|
+
type eq4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1131
|
+
declare const eq4: {
|
|
1132
|
+
readonly PENDING: "pending";
|
|
1133
|
+
readonly SUCCESS: "success";
|
|
1134
|
+
readonly FAILED: "failed";
|
|
1135
|
+
readonly REFUNDED: "refunded";
|
|
1136
|
+
readonly VOIDED: "voided";
|
|
1137
|
+
};
|
|
1138
|
+
type greater_than4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1139
|
+
declare const greater_than4: {
|
|
1140
|
+
readonly PENDING: "pending";
|
|
1141
|
+
readonly SUCCESS: "success";
|
|
1142
|
+
readonly FAILED: "failed";
|
|
1143
|
+
readonly REFUNDED: "refunded";
|
|
1144
|
+
readonly VOIDED: "voided";
|
|
1145
|
+
};
|
|
1146
|
+
type greater_than_or_equal4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1147
|
+
declare const greater_than_or_equal4: {
|
|
1148
|
+
readonly PENDING: "pending";
|
|
1149
|
+
readonly SUCCESS: "success";
|
|
1150
|
+
readonly FAILED: "failed";
|
|
1151
|
+
readonly REFUNDED: "refunded";
|
|
1152
|
+
readonly VOIDED: "voided";
|
|
1153
|
+
};
|
|
1154
|
+
type less_than4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1155
|
+
declare const less_than4: {
|
|
1156
|
+
readonly PENDING: "pending";
|
|
1157
|
+
readonly SUCCESS: "success";
|
|
1158
|
+
readonly FAILED: "failed";
|
|
1159
|
+
readonly REFUNDED: "refunded";
|
|
1160
|
+
readonly VOIDED: "voided";
|
|
1161
|
+
};
|
|
1162
|
+
type less_than_or_equal4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1163
|
+
declare const less_than_or_equal4: {
|
|
1164
|
+
readonly PENDING: "pending";
|
|
1165
|
+
readonly SUCCESS: "success";
|
|
1166
|
+
readonly FAILED: "failed";
|
|
1167
|
+
readonly REFUNDED: "refunded";
|
|
1168
|
+
readonly VOIDED: "voided";
|
|
1169
|
+
};
|
|
1170
|
+
type not_eq4 = "pending" | "success" | "failed" | "refunded" | "voided";
|
|
1171
|
+
declare const not_eq4: {
|
|
1172
|
+
readonly PENDING: "pending";
|
|
1173
|
+
readonly SUCCESS: "success";
|
|
1174
|
+
readonly FAILED: "failed";
|
|
1175
|
+
readonly REFUNDED: "refunded";
|
|
1176
|
+
readonly VOIDED: "voided";
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* Filters the query to results matching the given filter object
|
|
1180
|
+
*/
|
|
1181
|
+
type payment_method_filter = {
|
|
1182
|
+
and?: Array<payment_method_filter>;
|
|
1183
|
+
id?: payment_method_filter_id;
|
|
1184
|
+
not?: payment_method_filter;
|
|
1185
|
+
or?: Array<payment_method_filter>;
|
|
1186
|
+
};
|
|
1187
|
+
type user_profile_filter_first_name = {
|
|
1188
|
+
contains?: string;
|
|
1189
|
+
eq?: string;
|
|
1190
|
+
greater_than?: string;
|
|
1191
|
+
greater_than_or_equal?: string;
|
|
1192
|
+
ilike?: string;
|
|
1193
|
+
in?: Array<string>;
|
|
1194
|
+
is_nil?: boolean;
|
|
1195
|
+
less_than?: string;
|
|
1196
|
+
less_than_or_equal?: string;
|
|
1197
|
+
like?: string;
|
|
1198
|
+
not_eq?: string;
|
|
1199
|
+
};
|
|
1200
|
+
type saved_search_filter_id = {
|
|
1201
|
+
eq?: string;
|
|
1202
|
+
greater_than?: string;
|
|
1203
|
+
greater_than_or_equal?: string;
|
|
1204
|
+
in?: Array<string>;
|
|
1205
|
+
is_nil?: boolean;
|
|
1206
|
+
less_than?: string;
|
|
1207
|
+
less_than_or_equal?: string;
|
|
1208
|
+
not_eq?: string;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* Filters the query to results matching the given filter object
|
|
1212
|
+
*/
|
|
1213
|
+
type pricing_rule_filter = {
|
|
1214
|
+
and?: Array<pricing_rule_filter>;
|
|
1215
|
+
id?: pricing_rule_filter_id;
|
|
1216
|
+
not?: pricing_rule_filter;
|
|
1217
|
+
or?: Array<pricing_rule_filter>;
|
|
1218
|
+
};
|
|
1219
|
+
type ledger_filter_id = {
|
|
1220
|
+
eq?: string;
|
|
1221
|
+
greater_than?: string;
|
|
1222
|
+
greater_than_or_equal?: string;
|
|
1223
|
+
in?: Array<string>;
|
|
1224
|
+
is_nil?: boolean;
|
|
1225
|
+
less_than?: string;
|
|
1226
|
+
less_than_or_equal?: string;
|
|
1227
|
+
not_eq?: string;
|
|
1228
|
+
};
|
|
1229
|
+
type config_filter_key = {
|
|
1230
|
+
contains?: string;
|
|
1231
|
+
eq?: string;
|
|
1232
|
+
greater_than?: string;
|
|
1233
|
+
greater_than_or_equal?: string;
|
|
1234
|
+
ilike?: string;
|
|
1235
|
+
in?: Array<string>;
|
|
1236
|
+
is_nil?: boolean;
|
|
1237
|
+
less_than?: string;
|
|
1238
|
+
less_than_or_equal?: string;
|
|
1239
|
+
like?: string;
|
|
1240
|
+
not_eq?: string;
|
|
1241
|
+
};
|
|
1242
|
+
type document_filter_summary = {
|
|
1243
|
+
contains?: string;
|
|
1244
|
+
eq?: string;
|
|
1245
|
+
greater_than?: string;
|
|
1246
|
+
greater_than_or_equal?: string;
|
|
1247
|
+
ilike?: string;
|
|
1248
|
+
in?: Array<string>;
|
|
1249
|
+
is_nil?: boolean;
|
|
1250
|
+
less_than?: string;
|
|
1251
|
+
less_than_or_equal?: string;
|
|
1252
|
+
like?: string;
|
|
1253
|
+
not_eq?: string;
|
|
1254
|
+
};
|
|
1255
|
+
type extraction_result_data_input_update_type = {
|
|
1256
|
+
data?: {
|
|
1257
|
+
[key: string]: unknown;
|
|
1258
|
+
} | null;
|
|
1259
|
+
format?: "entity" | "tabular" | "graph" | "composite" | null;
|
|
1260
|
+
metadata?: {
|
|
1261
|
+
[key: string]: unknown;
|
|
1262
|
+
} | null;
|
|
1263
|
+
schema?: {
|
|
1264
|
+
[key: string]: unknown;
|
|
1265
|
+
} | null;
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* A "Resource object" representing a account
|
|
1269
|
+
*/
|
|
1270
|
+
type account = {
|
|
1271
|
+
/**
|
|
1272
|
+
* An attributes object for a account
|
|
1273
|
+
*/
|
|
1274
|
+
attributes?: {
|
|
1275
|
+
[key: string]: unknown;
|
|
1276
|
+
};
|
|
1277
|
+
id: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* A relationships object for a account
|
|
1280
|
+
*/
|
|
1281
|
+
relationships?: {
|
|
1282
|
+
[key: string]: unknown;
|
|
1283
|
+
};
|
|
1284
|
+
type: string;
|
|
1285
|
+
};
|
|
1286
|
+
type credit_package_filter_id = {
|
|
1287
|
+
eq?: string;
|
|
1288
|
+
greater_than?: string;
|
|
1289
|
+
greater_than_or_equal?: string;
|
|
1290
|
+
in?: Array<string>;
|
|
1291
|
+
is_nil?: boolean;
|
|
1292
|
+
less_than?: string;
|
|
1293
|
+
less_than_or_equal?: string;
|
|
1294
|
+
not_eq?: string;
|
|
1295
|
+
};
|
|
1296
|
+
type document_chunk_filter_embedding = {
|
|
1297
|
+
eq?: unknown;
|
|
1298
|
+
greater_than?: unknown;
|
|
1299
|
+
greater_than_or_equal?: unknown;
|
|
1300
|
+
in?: Array<unknown>;
|
|
1301
|
+
is_nil?: boolean;
|
|
1302
|
+
less_than?: unknown;
|
|
1303
|
+
less_than_or_equal?: unknown;
|
|
1304
|
+
not_eq?: unknown;
|
|
1305
|
+
};
|
|
1306
|
+
type payment_filter_provider_reference = {
|
|
1307
|
+
contains?: string;
|
|
1308
|
+
eq?: string;
|
|
1309
|
+
greater_than?: string;
|
|
1310
|
+
greater_than_or_equal?: string;
|
|
1311
|
+
in?: Array<string>;
|
|
1312
|
+
is_nil?: boolean;
|
|
1313
|
+
less_than?: string;
|
|
1314
|
+
less_than_or_equal?: string;
|
|
1315
|
+
not_eq?: string;
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
* A "Resource object" representing a payment_method
|
|
1319
|
+
*/
|
|
1320
|
+
type payment_method = {
|
|
1321
|
+
/**
|
|
1322
|
+
* An attributes object for a payment_method
|
|
1323
|
+
*/
|
|
1324
|
+
attributes?: {
|
|
1325
|
+
[key: string]: unknown;
|
|
1326
|
+
};
|
|
1327
|
+
id: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* A relationships object for a payment_method
|
|
1330
|
+
*/
|
|
1331
|
+
relationships?: {
|
|
1332
|
+
[key: string]: unknown;
|
|
1333
|
+
};
|
|
1334
|
+
type: string;
|
|
1335
|
+
};
|
|
1336
|
+
type user_filter_current_workspace_id = {
|
|
1337
|
+
eq?: string;
|
|
1338
|
+
greater_than?: string;
|
|
1339
|
+
greater_than_or_equal?: string;
|
|
1340
|
+
in?: Array<string>;
|
|
1341
|
+
is_nil?: boolean;
|
|
1342
|
+
less_than?: string;
|
|
1343
|
+
less_than_or_equal?: string;
|
|
1344
|
+
not_eq?: string;
|
|
1345
|
+
};
|
|
1346
|
+
type user_profile_filter_social_links = {
|
|
1347
|
+
eq?: {
|
|
1348
|
+
[key: string]: unknown;
|
|
1349
|
+
};
|
|
1350
|
+
greater_than?: {
|
|
1351
|
+
[key: string]: unknown;
|
|
1352
|
+
};
|
|
1353
|
+
greater_than_or_equal?: {
|
|
1354
|
+
[key: string]: unknown;
|
|
1355
|
+
};
|
|
1356
|
+
in?: Array<{
|
|
1357
|
+
[key: string]: unknown;
|
|
1358
|
+
}>;
|
|
1359
|
+
is_nil?: boolean;
|
|
1360
|
+
less_than?: {
|
|
1361
|
+
[key: string]: unknown;
|
|
1362
|
+
};
|
|
1363
|
+
less_than_or_equal?: {
|
|
1364
|
+
[key: string]: unknown;
|
|
1365
|
+
};
|
|
1366
|
+
not_eq?: {
|
|
1367
|
+
[key: string]: unknown;
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
type document_filter_uploader_id = {
|
|
1371
|
+
eq?: string;
|
|
1372
|
+
greater_than?: string;
|
|
1373
|
+
greater_than_or_equal?: string;
|
|
1374
|
+
in?: Array<string>;
|
|
1375
|
+
is_nil?: boolean;
|
|
1376
|
+
less_than?: string;
|
|
1377
|
+
less_than_or_equal?: string;
|
|
1378
|
+
not_eq?: string;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* Filters the query to results matching the given filter object
|
|
1382
|
+
*/
|
|
1383
|
+
type credit_package_filter = {
|
|
1384
|
+
and?: Array<credit_package_filter>;
|
|
1385
|
+
id?: credit_package_filter_id;
|
|
1386
|
+
not?: credit_package_filter;
|
|
1387
|
+
or?: Array<credit_package_filter>;
|
|
1388
|
+
};
|
|
1389
|
+
type user_profile_filter_avatar_url = {
|
|
1390
|
+
contains?: string;
|
|
1391
|
+
eq?: string;
|
|
1392
|
+
greater_than?: string;
|
|
1393
|
+
greater_than_or_equal?: string;
|
|
1394
|
+
ilike?: string;
|
|
1395
|
+
in?: Array<string>;
|
|
1396
|
+
is_nil?: boolean;
|
|
1397
|
+
less_than?: string;
|
|
1398
|
+
less_than_or_equal?: string;
|
|
1399
|
+
like?: string;
|
|
1400
|
+
not_eq?: string;
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* A "Resource object" representing a semantic_cache_entry
|
|
1404
|
+
*/
|
|
1405
|
+
type semantic_cache_entry = {
|
|
1406
|
+
/**
|
|
1407
|
+
* An attributes object for a semantic_cache_entry
|
|
1408
|
+
*/
|
|
1409
|
+
attributes?: {
|
|
1410
|
+
[key: string]: unknown;
|
|
1411
|
+
};
|
|
1412
|
+
id: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* A relationships object for a semantic_cache_entry
|
|
1415
|
+
*/
|
|
1416
|
+
relationships?: {
|
|
1417
|
+
[key: string]: unknown;
|
|
1418
|
+
};
|
|
1419
|
+
type: string;
|
|
1420
|
+
};
|
|
1421
|
+
type agent_filter_id = {
|
|
1422
|
+
eq?: string;
|
|
1423
|
+
greater_than?: string;
|
|
1424
|
+
greater_than_or_equal?: string;
|
|
1425
|
+
in?: Array<string>;
|
|
1426
|
+
is_nil?: boolean;
|
|
1427
|
+
less_than?: string;
|
|
1428
|
+
less_than_or_equal?: string;
|
|
1429
|
+
not_eq?: string;
|
|
1430
|
+
};
|
|
1431
|
+
type storage_stats_filter_total_storage_bytes = {
|
|
1432
|
+
eq?: number;
|
|
1433
|
+
greater_than?: number;
|
|
1434
|
+
greater_than_or_equal?: number;
|
|
1435
|
+
in?: Array<number>;
|
|
1436
|
+
is_nil?: boolean;
|
|
1437
|
+
less_than?: number;
|
|
1438
|
+
less_than_or_equal?: number;
|
|
1439
|
+
not_eq?: number;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* A "Resource object" representing a saved_search
|
|
1443
|
+
*/
|
|
1444
|
+
type saved_search = {
|
|
1445
|
+
/**
|
|
1446
|
+
* An attributes object for a saved_search
|
|
1447
|
+
*/
|
|
1448
|
+
attributes?: {
|
|
1449
|
+
/**
|
|
1450
|
+
* Field included by default.
|
|
1451
|
+
*/
|
|
1452
|
+
filters?: {
|
|
1453
|
+
[key: string]: unknown;
|
|
1454
|
+
} | null | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Field included by default.
|
|
1457
|
+
*/
|
|
1458
|
+
is_shared?: boolean | null | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* Field included by default.
|
|
1461
|
+
*/
|
|
1462
|
+
name: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* Field included by default.
|
|
1465
|
+
*/
|
|
1466
|
+
query: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* Field included by default.
|
|
1469
|
+
*/
|
|
1470
|
+
search_type?: ("keyword" | "semantic") | null | null;
|
|
1471
|
+
};
|
|
1472
|
+
id: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* A relationships object for a saved_search
|
|
1475
|
+
*/
|
|
1476
|
+
relationships?: {
|
|
1477
|
+
[key: string]: unknown;
|
|
1478
|
+
};
|
|
1479
|
+
type: string;
|
|
1480
|
+
};
|
|
1481
|
+
type document_filter_content = {
|
|
1482
|
+
contains?: string;
|
|
1483
|
+
eq?: string;
|
|
1484
|
+
greater_than?: string;
|
|
1485
|
+
greater_than_or_equal?: string;
|
|
1486
|
+
ilike?: string;
|
|
1487
|
+
in?: Array<string>;
|
|
1488
|
+
is_nil?: boolean;
|
|
1489
|
+
less_than?: string;
|
|
1490
|
+
less_than_or_equal?: string;
|
|
1491
|
+
like?: string;
|
|
1492
|
+
not_eq?: string;
|
|
1493
|
+
};
|
|
1494
|
+
/**
|
|
1495
|
+
* Filters the query to results matching the given filter object
|
|
1496
|
+
*/
|
|
1497
|
+
type payment_filter = {
|
|
1498
|
+
amount?: payment_filter_amount;
|
|
1499
|
+
and?: Array<payment_filter>;
|
|
1500
|
+
created_at?: payment_filter_created_at;
|
|
1501
|
+
currency?: payment_filter_currency;
|
|
1502
|
+
error_message?: payment_filter_error_message;
|
|
1503
|
+
id?: payment_filter_id;
|
|
1504
|
+
not?: payment_filter;
|
|
1505
|
+
or?: Array<payment_filter>;
|
|
1506
|
+
provider_reference?: payment_filter_provider_reference;
|
|
1507
|
+
status?: payment_filter_status;
|
|
1508
|
+
};
|
|
1509
|
+
type credit_package_filter_created_at = {
|
|
1510
|
+
eq?: unknown;
|
|
1511
|
+
greater_than?: unknown;
|
|
1512
|
+
greater_than_or_equal?: unknown;
|
|
1513
|
+
in?: Array<unknown>;
|
|
1514
|
+
is_nil?: boolean;
|
|
1515
|
+
less_than?: unknown;
|
|
1516
|
+
less_than_or_equal?: unknown;
|
|
1517
|
+
not_eq?: unknown;
|
|
1518
|
+
};
|
|
1519
|
+
type wallet_filter_plan = {
|
|
1520
|
+
eq?: {
|
|
1521
|
+
[key: string]: unknown;
|
|
1522
|
+
};
|
|
1523
|
+
greater_than?: {
|
|
1524
|
+
[key: string]: unknown;
|
|
1525
|
+
};
|
|
1526
|
+
greater_than_or_equal?: {
|
|
1527
|
+
[key: string]: unknown;
|
|
1528
|
+
};
|
|
1529
|
+
in?: Array<{
|
|
1530
|
+
[key: string]: unknown;
|
|
1531
|
+
}>;
|
|
1532
|
+
is_nil?: boolean;
|
|
1533
|
+
less_than?: {
|
|
1534
|
+
[key: string]: unknown;
|
|
1535
|
+
};
|
|
1536
|
+
less_than_or_equal?: {
|
|
1537
|
+
[key: string]: unknown;
|
|
1538
|
+
};
|
|
1539
|
+
not_eq?: {
|
|
1540
|
+
[key: string]: unknown;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
type document_filter_original_filename = {
|
|
1544
|
+
contains?: string;
|
|
1545
|
+
eq?: string;
|
|
1546
|
+
greater_than?: string;
|
|
1547
|
+
greater_than_or_equal?: string;
|
|
1548
|
+
ilike?: string;
|
|
1549
|
+
in?: Array<string>;
|
|
1550
|
+
is_nil?: boolean;
|
|
1551
|
+
less_than?: string;
|
|
1552
|
+
less_than_or_equal?: string;
|
|
1553
|
+
like?: string;
|
|
1554
|
+
not_eq?: string;
|
|
1555
|
+
};
|
|
1556
|
+
type transaction_filter_description = {
|
|
1557
|
+
contains?: string;
|
|
1558
|
+
eq?: string;
|
|
1559
|
+
greater_than?: string;
|
|
1560
|
+
greater_than_or_equal?: string;
|
|
1561
|
+
ilike?: string;
|
|
1562
|
+
in?: Array<string>;
|
|
1563
|
+
is_nil?: boolean;
|
|
1564
|
+
less_than?: string;
|
|
1565
|
+
less_than_or_equal?: string;
|
|
1566
|
+
like?: string;
|
|
1567
|
+
not_eq?: string;
|
|
1568
|
+
};
|
|
1569
|
+
type object_filter_content_type = {
|
|
1570
|
+
contains?: string;
|
|
1571
|
+
eq?: string;
|
|
1572
|
+
greater_than?: string;
|
|
1573
|
+
greater_than_or_equal?: string;
|
|
1574
|
+
ilike?: string;
|
|
1575
|
+
in?: Array<string>;
|
|
1576
|
+
is_nil?: boolean;
|
|
1577
|
+
less_than?: string;
|
|
1578
|
+
less_than_or_equal?: string;
|
|
1579
|
+
like?: string;
|
|
1580
|
+
not_eq?: string;
|
|
1581
|
+
};
|
|
1582
|
+
type document_filter_size_bytes = {
|
|
1583
|
+
eq?: number;
|
|
1584
|
+
greater_than?: number;
|
|
1585
|
+
greater_than_or_equal?: number;
|
|
1586
|
+
in?: Array<number>;
|
|
1587
|
+
is_nil?: boolean;
|
|
1588
|
+
less_than?: number;
|
|
1589
|
+
less_than_or_equal?: number;
|
|
1590
|
+
not_eq?: number;
|
|
1591
|
+
};
|
|
1592
|
+
type embedding_filter_text = {
|
|
1593
|
+
contains?: string;
|
|
1594
|
+
eq?: string;
|
|
1595
|
+
greater_than?: string;
|
|
1596
|
+
greater_than_or_equal?: string;
|
|
1597
|
+
in?: Array<string>;
|
|
1598
|
+
is_nil?: boolean;
|
|
1599
|
+
less_than?: string;
|
|
1600
|
+
less_than_or_equal?: string;
|
|
1601
|
+
not_eq?: string;
|
|
1602
|
+
};
|
|
1603
|
+
/**
|
|
1604
|
+
* Filters the query to results matching the given filter object
|
|
1605
|
+
*/
|
|
1606
|
+
type message_filter = {
|
|
1607
|
+
and?: Array<message_filter>;
|
|
1608
|
+
id?: message_filter_id;
|
|
1609
|
+
not?: message_filter;
|
|
1610
|
+
or?: Array<message_filter>;
|
|
1611
|
+
};
|
|
1612
|
+
/**
|
|
1613
|
+
* A "Resource object" representing a plan
|
|
1614
|
+
*/
|
|
1615
|
+
type plan = {
|
|
1616
|
+
/**
|
|
1617
|
+
* An attributes object for a plan
|
|
1618
|
+
*/
|
|
1619
|
+
attributes?: {
|
|
1620
|
+
[key: string]: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
id: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* A relationships object for a plan
|
|
1625
|
+
*/
|
|
1626
|
+
relationships?: {
|
|
1627
|
+
[key: string]: unknown;
|
|
1628
|
+
};
|
|
1629
|
+
type: string;
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
* Filters the query to results matching the given filter object
|
|
1633
|
+
*/
|
|
1634
|
+
type semantic_cache_entry_filter = {
|
|
1635
|
+
and?: Array<semantic_cache_entry_filter>;
|
|
1636
|
+
id?: semantic_cache_entry_filter_id;
|
|
1637
|
+
not?: semantic_cache_entry_filter;
|
|
1638
|
+
or?: Array<semantic_cache_entry_filter>;
|
|
1639
|
+
};
|
|
1640
|
+
type user_profile_filter_preferences = {
|
|
1641
|
+
eq?: {
|
|
1642
|
+
[key: string]: unknown;
|
|
1643
|
+
};
|
|
1644
|
+
greater_than?: {
|
|
1645
|
+
[key: string]: unknown;
|
|
1646
|
+
};
|
|
1647
|
+
greater_than_or_equal?: {
|
|
1648
|
+
[key: string]: unknown;
|
|
1649
|
+
};
|
|
1650
|
+
in?: Array<{
|
|
1651
|
+
[key: string]: unknown;
|
|
1652
|
+
}>;
|
|
1653
|
+
is_nil?: boolean;
|
|
1654
|
+
less_than?: {
|
|
1655
|
+
[key: string]: unknown;
|
|
1656
|
+
};
|
|
1657
|
+
less_than_or_equal?: {
|
|
1658
|
+
[key: string]: unknown;
|
|
1659
|
+
};
|
|
1660
|
+
not_eq?: {
|
|
1661
|
+
[key: string]: unknown;
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
/**
|
|
1665
|
+
* A "Resource object" representing a application
|
|
1666
|
+
*/
|
|
1667
|
+
type application = {
|
|
1668
|
+
/**
|
|
1669
|
+
* An attributes object for a application
|
|
1670
|
+
*/
|
|
1671
|
+
attributes?: {
|
|
1672
|
+
generated_api_key?: string | null | null;
|
|
1673
|
+
};
|
|
1674
|
+
id: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* A relationships object for a application
|
|
1677
|
+
*/
|
|
1678
|
+
relationships?: {
|
|
1679
|
+
[key: string]: unknown;
|
|
1680
|
+
};
|
|
1681
|
+
type: string;
|
|
1682
|
+
};
|
|
1683
|
+
/**
|
|
1684
|
+
* Filters the query to results matching the given filter object
|
|
1685
|
+
*/
|
|
1686
|
+
type subscription_filter = {
|
|
1687
|
+
and?: Array<subscription_filter>;
|
|
1688
|
+
id?: subscription_filter_id;
|
|
1689
|
+
not?: subscription_filter;
|
|
1690
|
+
or?: Array<subscription_filter>;
|
|
1691
|
+
};
|
|
1692
|
+
/**
|
|
1693
|
+
* A "Resource object" representing a api_key
|
|
1694
|
+
*/
|
|
1695
|
+
type api_key = {
|
|
1696
|
+
/**
|
|
1697
|
+
* An attributes object for a api_key
|
|
1698
|
+
*/
|
|
1699
|
+
attributes?: {
|
|
1700
|
+
current_scopes?: Array<string> | null | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* Field included by default.
|
|
1703
|
+
*/
|
|
1704
|
+
scopes?: Array<string> | null | null;
|
|
1705
|
+
/**
|
|
1706
|
+
* Field included by default.
|
|
1707
|
+
*/
|
|
1708
|
+
status: "active" | "revoked" | "expired";
|
|
1709
|
+
};
|
|
1710
|
+
id: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* A relationships object for a api_key
|
|
1713
|
+
*/
|
|
1714
|
+
relationships?: {
|
|
1715
|
+
[key: string]: unknown;
|
|
1716
|
+
};
|
|
1717
|
+
type: string;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* Field included by default.
|
|
1721
|
+
*/
|
|
1722
|
+
type status2 = "active" | "revoked" | "expired";
|
|
1723
|
+
/**
|
|
1724
|
+
* Field included by default.
|
|
1725
|
+
*/
|
|
1726
|
+
declare const status2: {
|
|
1727
|
+
readonly ACTIVE: "active";
|
|
1728
|
+
readonly REVOKED: "revoked";
|
|
1729
|
+
readonly EXPIRED: "expired";
|
|
1730
|
+
};
|
|
1731
|
+
/**
|
|
1732
|
+
* A "Resource object" representing a document_stats
|
|
1733
|
+
*/
|
|
1734
|
+
type document_stats = {
|
|
1735
|
+
/**
|
|
1736
|
+
* An attributes object for a document_stats
|
|
1737
|
+
*/
|
|
1738
|
+
attributes?: {
|
|
1739
|
+
/**
|
|
1740
|
+
* Field included by default.
|
|
1741
|
+
*/
|
|
1742
|
+
completed?: number | null | null;
|
|
1743
|
+
/**
|
|
1744
|
+
* Field included by default.
|
|
1745
|
+
*/
|
|
1746
|
+
failed?: number | null | null;
|
|
1747
|
+
/**
|
|
1748
|
+
* Field included by default.
|
|
1749
|
+
*/
|
|
1750
|
+
pending?: number | null | null;
|
|
1751
|
+
/**
|
|
1752
|
+
* Field included by default.
|
|
1753
|
+
*/
|
|
1754
|
+
processing?: number | null | null;
|
|
1755
|
+
/**
|
|
1756
|
+
* Field included by default.
|
|
1757
|
+
*/
|
|
1758
|
+
total?: number | null | null;
|
|
1759
|
+
};
|
|
1760
|
+
id: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* A relationships object for a document_stats
|
|
1763
|
+
*/
|
|
1764
|
+
relationships?: {
|
|
1765
|
+
[key: string]: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
type: string;
|
|
1768
|
+
};
|
|
1769
|
+
type document_filter_summary_embedding = {
|
|
1770
|
+
eq?: unknown;
|
|
1771
|
+
greater_than?: unknown;
|
|
1772
|
+
greater_than_or_equal?: unknown;
|
|
1773
|
+
in?: Array<unknown>;
|
|
1774
|
+
is_nil?: boolean;
|
|
1775
|
+
less_than?: unknown;
|
|
1776
|
+
less_than_or_equal?: unknown;
|
|
1777
|
+
not_eq?: unknown;
|
|
1778
|
+
};
|
|
1779
|
+
/**
|
|
1780
|
+
* Filters the query to results matching the given filter object
|
|
1781
|
+
*/
|
|
1782
|
+
type pricing_strategy_filter = {
|
|
1783
|
+
and?: Array<pricing_strategy_filter>;
|
|
1784
|
+
id?: pricing_strategy_filter_id;
|
|
1785
|
+
not?: pricing_strategy_filter;
|
|
1786
|
+
or?: Array<pricing_strategy_filter>;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* Filters the query to results matching the given filter object
|
|
1790
|
+
*/
|
|
1791
|
+
type user_profile_filter = {
|
|
1792
|
+
and?: Array<user_profile_filter>;
|
|
1793
|
+
avatar_url?: user_profile_filter_avatar_url;
|
|
1794
|
+
bio?: user_profile_filter_bio;
|
|
1795
|
+
first_name?: user_profile_filter_first_name;
|
|
1796
|
+
id?: user_profile_filter_id;
|
|
1797
|
+
last_name?: user_profile_filter_last_name;
|
|
1798
|
+
not?: user_profile_filter;
|
|
1799
|
+
or?: Array<user_profile_filter>;
|
|
1800
|
+
preferences?: user_profile_filter_preferences;
|
|
1801
|
+
social_links?: user_profile_filter_social_links;
|
|
1802
|
+
user?: user_filter;
|
|
1803
|
+
user_id?: user_profile_filter_user_id;
|
|
1804
|
+
};
|
|
1805
|
+
type presigned_url_filter_expires_in = {
|
|
1806
|
+
eq?: number;
|
|
1807
|
+
greater_than?: number;
|
|
1808
|
+
greater_than_or_equal?: number;
|
|
1809
|
+
in?: Array<number>;
|
|
1810
|
+
is_nil?: boolean;
|
|
1811
|
+
less_than?: number;
|
|
1812
|
+
less_than_or_equal?: number;
|
|
1813
|
+
not_eq?: number;
|
|
1814
|
+
};
|
|
1815
|
+
type credit_package_filter_price = {
|
|
1816
|
+
eq?: {
|
|
1817
|
+
amount: string;
|
|
1818
|
+
currency: string;
|
|
1819
|
+
};
|
|
1820
|
+
greater_than?: {
|
|
1821
|
+
amount: string;
|
|
1822
|
+
currency: string;
|
|
1823
|
+
};
|
|
1824
|
+
greater_than_or_equal?: {
|
|
1825
|
+
amount: string;
|
|
1826
|
+
currency: string;
|
|
1827
|
+
};
|
|
1828
|
+
in?: Array<{
|
|
1829
|
+
amount: string;
|
|
1830
|
+
currency: string;
|
|
1831
|
+
}>;
|
|
1832
|
+
is_nil?: boolean;
|
|
1833
|
+
less_than?: {
|
|
1834
|
+
amount: string;
|
|
1835
|
+
currency: string;
|
|
1836
|
+
};
|
|
1837
|
+
less_than_or_equal?: {
|
|
1838
|
+
amount: string;
|
|
1839
|
+
currency: string;
|
|
1840
|
+
};
|
|
1841
|
+
not_eq?: {
|
|
1842
|
+
amount: string;
|
|
1843
|
+
currency: string;
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
type llm_analytics_filter_id = {
|
|
1847
|
+
eq?: string;
|
|
1848
|
+
greater_than?: string;
|
|
1849
|
+
greater_than_or_equal?: string;
|
|
1850
|
+
in?: Array<string>;
|
|
1851
|
+
is_nil?: boolean;
|
|
1852
|
+
less_than?: string;
|
|
1853
|
+
less_than_or_equal?: string;
|
|
1854
|
+
not_eq?: string;
|
|
1855
|
+
};
|
|
1856
|
+
/**
|
|
1857
|
+
* Filters the query to results matching the given filter object
|
|
1858
|
+
*/
|
|
1859
|
+
type invitation_filter = {
|
|
1860
|
+
and?: Array<invitation_filter>;
|
|
1861
|
+
id?: invitation_filter_id;
|
|
1862
|
+
not?: invitation_filter;
|
|
1863
|
+
or?: Array<invitation_filter>;
|
|
1864
|
+
};
|
|
1865
|
+
type audit_log_filter_tenant_id = {
|
|
1866
|
+
eq?: string;
|
|
1867
|
+
greater_than?: string;
|
|
1868
|
+
greater_than_or_equal?: string;
|
|
1869
|
+
in?: Array<string>;
|
|
1870
|
+
is_nil?: boolean;
|
|
1871
|
+
less_than?: string;
|
|
1872
|
+
less_than_or_equal?: string;
|
|
1873
|
+
not_eq?: string;
|
|
1874
|
+
};
|
|
1875
|
+
type embedding_filter_usage = {
|
|
1876
|
+
eq?: {
|
|
1877
|
+
[key: string]: unknown;
|
|
1878
|
+
};
|
|
1879
|
+
greater_than?: {
|
|
1880
|
+
[key: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
greater_than_or_equal?: {
|
|
1883
|
+
[key: string]: unknown;
|
|
1884
|
+
};
|
|
1885
|
+
in?: Array<{
|
|
1886
|
+
[key: string]: unknown;
|
|
1887
|
+
}>;
|
|
1888
|
+
is_nil?: boolean;
|
|
1889
|
+
less_than?: {
|
|
1890
|
+
[key: string]: unknown;
|
|
1891
|
+
};
|
|
1892
|
+
less_than_or_equal?: {
|
|
1893
|
+
[key: string]: unknown;
|
|
1894
|
+
};
|
|
1895
|
+
not_eq?: {
|
|
1896
|
+
[key: string]: unknown;
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
type payment_filter_amount = {
|
|
1900
|
+
eq?: number;
|
|
1901
|
+
greater_than?: number;
|
|
1902
|
+
greater_than_or_equal?: number;
|
|
1903
|
+
in?: Array<number>;
|
|
1904
|
+
is_nil?: boolean;
|
|
1905
|
+
less_than?: number;
|
|
1906
|
+
less_than_or_equal?: number;
|
|
1907
|
+
not_eq?: number;
|
|
1908
|
+
};
|
|
1909
|
+
type transaction_filter_error_message = {
|
|
1910
|
+
contains?: string;
|
|
1911
|
+
eq?: string;
|
|
1912
|
+
greater_than?: string;
|
|
1913
|
+
greater_than_or_equal?: string;
|
|
1914
|
+
ilike?: string;
|
|
1915
|
+
in?: Array<string>;
|
|
1916
|
+
is_nil?: boolean;
|
|
1917
|
+
less_than?: string;
|
|
1918
|
+
less_than_or_equal?: string;
|
|
1919
|
+
like?: string;
|
|
1920
|
+
not_eq?: string;
|
|
1921
|
+
};
|
|
1922
|
+
type application_filter_id = {
|
|
1923
|
+
eq?: string;
|
|
1924
|
+
greater_than?: string;
|
|
1925
|
+
greater_than_or_equal?: string;
|
|
1926
|
+
in?: Array<string>;
|
|
1927
|
+
is_nil?: boolean;
|
|
1928
|
+
less_than?: string;
|
|
1929
|
+
less_than_or_equal?: string;
|
|
1930
|
+
not_eq?: string;
|
|
1931
|
+
};
|
|
1932
|
+
type document_filter_storage_path = {
|
|
1933
|
+
contains?: string;
|
|
1934
|
+
eq?: string;
|
|
1935
|
+
greater_than?: string;
|
|
1936
|
+
greater_than_or_equal?: string;
|
|
1937
|
+
ilike?: string;
|
|
1938
|
+
in?: Array<string>;
|
|
1939
|
+
is_nil?: boolean;
|
|
1940
|
+
less_than?: string;
|
|
1941
|
+
less_than_or_equal?: string;
|
|
1942
|
+
like?: string;
|
|
1943
|
+
not_eq?: string;
|
|
1944
|
+
};
|
|
1945
|
+
type audit_log_filter_id = {
|
|
1946
|
+
eq?: string;
|
|
1947
|
+
greater_than?: string;
|
|
1948
|
+
greater_than_or_equal?: string;
|
|
1949
|
+
in?: Array<string>;
|
|
1950
|
+
is_nil?: boolean;
|
|
1951
|
+
less_than?: string;
|
|
1952
|
+
less_than_or_equal?: string;
|
|
1953
|
+
not_eq?: string;
|
|
1954
|
+
};
|
|
1955
|
+
type operation_success_filter_id = {
|
|
1956
|
+
eq?: string;
|
|
1957
|
+
greater_than?: string;
|
|
1958
|
+
greater_than_or_equal?: string;
|
|
1959
|
+
in?: Array<string>;
|
|
1960
|
+
is_nil?: boolean;
|
|
1961
|
+
less_than?: string;
|
|
1962
|
+
less_than_or_equal?: string;
|
|
1963
|
+
not_eq?: string;
|
|
1964
|
+
};
|
|
1965
|
+
type presigned_url_filter_id = {
|
|
1966
|
+
eq?: string;
|
|
1967
|
+
greater_than?: string;
|
|
1968
|
+
greater_than_or_equal?: string;
|
|
1969
|
+
in?: Array<string>;
|
|
1970
|
+
is_nil?: boolean;
|
|
1971
|
+
less_than?: string;
|
|
1972
|
+
less_than_or_equal?: string;
|
|
1973
|
+
not_eq?: string;
|
|
1974
|
+
};
|
|
1975
|
+
type presigned_url_filter_upload_url = {
|
|
1976
|
+
contains?: string;
|
|
1977
|
+
eq?: string;
|
|
1978
|
+
greater_than?: string;
|
|
1979
|
+
greater_than_or_equal?: string;
|
|
1980
|
+
in?: Array<string>;
|
|
1981
|
+
is_nil?: boolean;
|
|
1982
|
+
less_than?: string;
|
|
1983
|
+
less_than_or_equal?: string;
|
|
1984
|
+
not_eq?: string;
|
|
1985
|
+
};
|
|
1986
|
+
/**
|
|
1987
|
+
* A link MUST be represented as either: a string containing the link's URL or a link object.
|
|
1988
|
+
*/
|
|
1989
|
+
type link = string;
|
|
1990
|
+
/**
|
|
1991
|
+
* Filters the query to results matching the given filter object
|
|
1992
|
+
*/
|
|
1993
|
+
type storage_stats_filter = {
|
|
1994
|
+
and?: Array<storage_stats_filter>;
|
|
1995
|
+
id?: storage_stats_filter_id;
|
|
1996
|
+
not?: storage_stats_filter;
|
|
1997
|
+
or?: Array<storage_stats_filter>;
|
|
1998
|
+
total_buckets?: storage_stats_filter_total_buckets;
|
|
1999
|
+
total_objects?: storage_stats_filter_total_objects;
|
|
2000
|
+
total_storage_bytes?: storage_stats_filter_total_storage_bytes;
|
|
2001
|
+
};
|
|
2002
|
+
/**
|
|
2003
|
+
* A "Resource object" representing a transaction
|
|
2004
|
+
*/
|
|
2005
|
+
type transaction = {
|
|
2006
|
+
/**
|
|
2007
|
+
* An attributes object for a transaction
|
|
2008
|
+
*/
|
|
2009
|
+
attributes?: {
|
|
2010
|
+
[key: string]: unknown;
|
|
2011
|
+
};
|
|
2012
|
+
id: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* A relationships object for a transaction
|
|
2015
|
+
*/
|
|
2016
|
+
relationships?: {
|
|
2017
|
+
[key: string]: unknown;
|
|
2018
|
+
};
|
|
2019
|
+
type: string;
|
|
2020
|
+
};
|
|
2021
|
+
/**
|
|
2022
|
+
* A "Resource object" representing a extraction_result
|
|
2023
|
+
*/
|
|
2024
|
+
type extraction_result = {
|
|
2025
|
+
/**
|
|
2026
|
+
* An attributes object for a extraction_result
|
|
2027
|
+
*/
|
|
2028
|
+
attributes?: {
|
|
2029
|
+
/**
|
|
2030
|
+
* Field included by default.
|
|
2031
|
+
*/
|
|
2032
|
+
confidence_score?: number | null | null;
|
|
2033
|
+
/**
|
|
2034
|
+
* Field included by default.
|
|
2035
|
+
*/
|
|
2036
|
+
data: {
|
|
2037
|
+
/**
|
|
2038
|
+
* Field included by default.
|
|
2039
|
+
*/
|
|
2040
|
+
data: {
|
|
2041
|
+
[key: string]: unknown;
|
|
2042
|
+
};
|
|
2043
|
+
/**
|
|
2044
|
+
* Field included by default.
|
|
2045
|
+
*/
|
|
2046
|
+
format: "entity" | "tabular" | "graph" | "composite";
|
|
2047
|
+
/**
|
|
2048
|
+
* Field included by default.
|
|
2049
|
+
*/
|
|
2050
|
+
metadata?: {
|
|
2051
|
+
[key: string]: unknown;
|
|
2052
|
+
} | null | null;
|
|
2053
|
+
/**
|
|
2054
|
+
* Field included by default.
|
|
2055
|
+
*/
|
|
2056
|
+
schema: {
|
|
2057
|
+
[key: string]: unknown;
|
|
2058
|
+
};
|
|
2059
|
+
};
|
|
2060
|
+
/**
|
|
2061
|
+
* Field included by default.
|
|
2062
|
+
*/
|
|
2063
|
+
document_id: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* Field included by default.
|
|
2066
|
+
*/
|
|
2067
|
+
model_used?: string | null | null;
|
|
2068
|
+
/**
|
|
2069
|
+
* Field included by default.
|
|
2070
|
+
*/
|
|
2071
|
+
processing_time_ms?: number | null | null;
|
|
2072
|
+
};
|
|
2073
|
+
id: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* A relationships object for a extraction_result
|
|
2076
|
+
*/
|
|
2077
|
+
relationships?: {
|
|
2078
|
+
document?: {
|
|
2079
|
+
/**
|
|
2080
|
+
* An identifier for document
|
|
2081
|
+
*/
|
|
2082
|
+
data?: {
|
|
2083
|
+
id: string;
|
|
2084
|
+
meta?: {
|
|
2085
|
+
[key: string]: unknown;
|
|
2086
|
+
};
|
|
2087
|
+
type: string;
|
|
2088
|
+
} | null;
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
type: string;
|
|
2092
|
+
};
|
|
2093
|
+
/**
|
|
2094
|
+
* Field included by default.
|
|
2095
|
+
*/
|
|
2096
|
+
type format = "entity" | "tabular" | "graph" | "composite";
|
|
2097
|
+
/**
|
|
2098
|
+
* Field included by default.
|
|
2099
|
+
*/
|
|
2100
|
+
declare const format: {
|
|
2101
|
+
readonly ENTITY: "entity";
|
|
2102
|
+
readonly TABULAR: "tabular";
|
|
2103
|
+
readonly GRAPH: "graph";
|
|
2104
|
+
readonly COMPOSITE: "composite";
|
|
2105
|
+
};
|
|
2106
|
+
type user_filter_is_platform_admin = {
|
|
2107
|
+
eq?: boolean;
|
|
2108
|
+
greater_than?: boolean;
|
|
2109
|
+
greater_than_or_equal?: boolean;
|
|
2110
|
+
in?: Array<boolean>;
|
|
2111
|
+
is_nil?: boolean;
|
|
2112
|
+
less_than?: boolean;
|
|
2113
|
+
less_than_or_equal?: boolean;
|
|
2114
|
+
not_eq?: boolean;
|
|
2115
|
+
};
|
|
2116
|
+
/**
|
|
2117
|
+
* A "Resource object" representing a graph_node
|
|
2118
|
+
*/
|
|
2119
|
+
type graph_node = {
|
|
2120
|
+
/**
|
|
2121
|
+
* An attributes object for a graph_node
|
|
2122
|
+
*/
|
|
2123
|
+
attributes?: {
|
|
2124
|
+
/**
|
|
2125
|
+
* Field included by default.
|
|
2126
|
+
*/
|
|
2127
|
+
label: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* Field included by default.
|
|
2130
|
+
*/
|
|
2131
|
+
properties?: {
|
|
2132
|
+
[key: string]: unknown;
|
|
2133
|
+
} | null | null;
|
|
2134
|
+
/**
|
|
2135
|
+
* Field included by default.
|
|
2136
|
+
*/
|
|
2137
|
+
tenant_id: string;
|
|
2138
|
+
};
|
|
2139
|
+
id: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* A relationships object for a graph_node
|
|
2142
|
+
*/
|
|
2143
|
+
relationships?: {
|
|
2144
|
+
[key: string]: unknown;
|
|
2145
|
+
};
|
|
2146
|
+
type: string;
|
|
2147
|
+
};
|
|
2148
|
+
type extraction_result_filter_processing_time_ms = {
|
|
2149
|
+
eq?: number;
|
|
2150
|
+
greater_than?: number;
|
|
2151
|
+
greater_than_or_equal?: number;
|
|
2152
|
+
in?: Array<number>;
|
|
2153
|
+
is_nil?: boolean;
|
|
2154
|
+
less_than?: number;
|
|
2155
|
+
less_than_or_equal?: number;
|
|
2156
|
+
not_eq?: number;
|
|
2157
|
+
};
|
|
2158
|
+
type document_filter_filename = {
|
|
2159
|
+
contains?: string;
|
|
2160
|
+
eq?: string;
|
|
2161
|
+
greater_than?: string;
|
|
2162
|
+
greater_than_or_equal?: string;
|
|
2163
|
+
ilike?: string;
|
|
2164
|
+
in?: Array<string>;
|
|
2165
|
+
is_nil?: boolean;
|
|
2166
|
+
less_than?: string;
|
|
2167
|
+
less_than_or_equal?: string;
|
|
2168
|
+
like?: string;
|
|
2169
|
+
not_eq?: string;
|
|
2170
|
+
};
|
|
2171
|
+
/**
|
|
2172
|
+
* Filters the query to results matching the given filter object
|
|
2173
|
+
*/
|
|
2174
|
+
type document_stats_filter = {
|
|
2175
|
+
and?: Array<document_stats_filter>;
|
|
2176
|
+
completed?: document_stats_filter_completed;
|
|
2177
|
+
failed?: document_stats_filter_failed;
|
|
2178
|
+
id?: document_stats_filter_id;
|
|
2179
|
+
not?: document_stats_filter;
|
|
2180
|
+
or?: Array<document_stats_filter>;
|
|
2181
|
+
pending?: document_stats_filter_pending;
|
|
2182
|
+
processing?: document_stats_filter_processing;
|
|
2183
|
+
total?: document_stats_filter_total;
|
|
2184
|
+
};
|
|
2185
|
+
type transaction_filter_id = {
|
|
2186
|
+
eq?: string;
|
|
2187
|
+
greater_than?: string;
|
|
2188
|
+
greater_than_or_equal?: string;
|
|
2189
|
+
in?: Array<string>;
|
|
2190
|
+
is_nil?: boolean;
|
|
2191
|
+
less_than?: string;
|
|
2192
|
+
less_than_or_equal?: string;
|
|
2193
|
+
not_eq?: string;
|
|
2194
|
+
};
|
|
2195
|
+
type graph_edge_filter_target_id = {
|
|
2196
|
+
eq?: string;
|
|
2197
|
+
greater_than?: string;
|
|
2198
|
+
greater_than_or_equal?: string;
|
|
2199
|
+
in?: Array<string>;
|
|
2200
|
+
is_nil?: boolean;
|
|
2201
|
+
less_than?: string;
|
|
2202
|
+
less_than_or_equal?: string;
|
|
2203
|
+
not_eq?: string;
|
|
2204
|
+
};
|
|
2205
|
+
/**
|
|
2206
|
+
* Filters the query to results matching the given filter object
|
|
2207
|
+
*/
|
|
2208
|
+
type notification_log_filter = {
|
|
2209
|
+
and?: Array<notification_log_filter>;
|
|
2210
|
+
id?: notification_log_filter_id;
|
|
2211
|
+
not?: notification_log_filter;
|
|
2212
|
+
or?: Array<notification_log_filter>;
|
|
2213
|
+
};
|
|
2214
|
+
type plan_filter_slug = {
|
|
2215
|
+
contains?: string;
|
|
2216
|
+
eq?: string;
|
|
2217
|
+
greater_than?: string;
|
|
2218
|
+
greater_than_or_equal?: string;
|
|
2219
|
+
ilike?: string;
|
|
2220
|
+
in?: Array<string>;
|
|
2221
|
+
is_nil?: boolean;
|
|
2222
|
+
less_than?: string;
|
|
2223
|
+
less_than_or_equal?: string;
|
|
2224
|
+
like?: string;
|
|
2225
|
+
not_eq?: string;
|
|
2226
|
+
};
|
|
2227
|
+
type workspace_filter_archived_at = {
|
|
2228
|
+
eq?: unknown;
|
|
2229
|
+
greater_than?: unknown;
|
|
2230
|
+
greater_than_or_equal?: unknown;
|
|
2231
|
+
in?: Array<unknown>;
|
|
2232
|
+
is_nil?: boolean;
|
|
2233
|
+
less_than?: unknown;
|
|
2234
|
+
less_than_or_equal?: unknown;
|
|
2235
|
+
not_eq?: unknown;
|
|
2236
|
+
};
|
|
2237
|
+
type extraction_result_filter_document_id = {
|
|
2238
|
+
eq?: string;
|
|
2239
|
+
greater_than?: string;
|
|
2240
|
+
greater_than_or_equal?: string;
|
|
2241
|
+
in?: Array<string>;
|
|
2242
|
+
is_nil?: boolean;
|
|
2243
|
+
less_than?: string;
|
|
2244
|
+
less_than_or_equal?: string;
|
|
2245
|
+
not_eq?: string;
|
|
2246
|
+
};
|
|
2247
|
+
/**
|
|
2248
|
+
* A "Resource object" representing a tenant
|
|
2249
|
+
*/
|
|
2250
|
+
type tenant = {
|
|
2251
|
+
/**
|
|
2252
|
+
* An attributes object for a tenant
|
|
2253
|
+
*/
|
|
2254
|
+
attributes?: {
|
|
2255
|
+
/**
|
|
2256
|
+
* Field included by default.
|
|
2257
|
+
*/
|
|
2258
|
+
storage_blocks_purchased?: number | null | null;
|
|
2259
|
+
/**
|
|
2260
|
+
* Field included by default.
|
|
2261
|
+
*/
|
|
2262
|
+
storage_quota_bytes?: number | null | null;
|
|
2263
|
+
};
|
|
2264
|
+
id: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* A relationships object for a tenant
|
|
2267
|
+
*/
|
|
2268
|
+
relationships?: {
|
|
2269
|
+
[key: string]: unknown;
|
|
2270
|
+
};
|
|
2271
|
+
type: string;
|
|
2272
|
+
};
|
|
2273
|
+
type graph_node_filter_label = {
|
|
2274
|
+
contains?: string;
|
|
2275
|
+
eq?: string;
|
|
2276
|
+
greater_than?: string;
|
|
2277
|
+
greater_than_or_equal?: string;
|
|
2278
|
+
ilike?: string;
|
|
2279
|
+
in?: Array<string>;
|
|
2280
|
+
is_nil?: boolean;
|
|
2281
|
+
less_than?: string;
|
|
2282
|
+
less_than_or_equal?: string;
|
|
2283
|
+
like?: string;
|
|
2284
|
+
not_eq?: string;
|
|
2285
|
+
};
|
|
2286
|
+
type user_filter_email = {
|
|
2287
|
+
contains?: string;
|
|
2288
|
+
eq?: string;
|
|
2289
|
+
greater_than?: string;
|
|
2290
|
+
greater_than_or_equal?: string;
|
|
2291
|
+
in?: Array<string>;
|
|
2292
|
+
is_nil?: boolean;
|
|
2293
|
+
less_than?: string;
|
|
2294
|
+
less_than_or_equal?: string;
|
|
2295
|
+
not_eq?: string;
|
|
2296
|
+
};
|
|
2297
|
+
type workspace_filter_low_balance_threshold = {
|
|
2298
|
+
eq?: number;
|
|
2299
|
+
greater_than?: number;
|
|
2300
|
+
greater_than_or_equal?: number;
|
|
2301
|
+
in?: Array<number>;
|
|
2302
|
+
is_nil?: boolean;
|
|
2303
|
+
less_than?: number;
|
|
2304
|
+
less_than_or_equal?: number;
|
|
2305
|
+
not_eq?: number;
|
|
2306
|
+
};
|
|
2307
|
+
type embedding_filter_id = {
|
|
2308
|
+
eq?: string;
|
|
2309
|
+
greater_than?: string;
|
|
2310
|
+
greater_than_or_equal?: string;
|
|
2311
|
+
in?: Array<string>;
|
|
2312
|
+
is_nil?: boolean;
|
|
2313
|
+
less_than?: string;
|
|
2314
|
+
less_than_or_equal?: string;
|
|
2315
|
+
not_eq?: string;
|
|
2316
|
+
};
|
|
2317
|
+
type wallet_filter_id = {
|
|
2318
|
+
eq?: string;
|
|
2319
|
+
greater_than?: string;
|
|
2320
|
+
greater_than_or_equal?: string;
|
|
2321
|
+
in?: Array<string>;
|
|
2322
|
+
is_nil?: boolean;
|
|
2323
|
+
less_than?: string;
|
|
2324
|
+
less_than_or_equal?: string;
|
|
2325
|
+
not_eq?: string;
|
|
2326
|
+
};
|
|
2327
|
+
type audit_log_filter_workspace_id = {
|
|
2328
|
+
eq?: string;
|
|
2329
|
+
greater_than?: string;
|
|
2330
|
+
greater_than_or_equal?: string;
|
|
2331
|
+
in?: Array<string>;
|
|
2332
|
+
is_nil?: boolean;
|
|
2333
|
+
less_than?: string;
|
|
2334
|
+
less_than_or_equal?: string;
|
|
2335
|
+
not_eq?: string;
|
|
2336
|
+
};
|
|
2337
|
+
type token_filter_brand = {
|
|
2338
|
+
contains?: string;
|
|
2339
|
+
eq?: string;
|
|
2340
|
+
greater_than?: string;
|
|
2341
|
+
greater_than_or_equal?: string;
|
|
2342
|
+
in?: Array<string>;
|
|
2343
|
+
is_nil?: boolean;
|
|
2344
|
+
less_than?: string;
|
|
2345
|
+
less_than_or_equal?: string;
|
|
2346
|
+
not_eq?: string;
|
|
2347
|
+
};
|
|
2348
|
+
type tenant_membership_filter_tenant_id = {
|
|
2349
|
+
eq?: string;
|
|
2350
|
+
greater_than?: string;
|
|
2351
|
+
greater_than_or_equal?: string;
|
|
2352
|
+
in?: Array<string>;
|
|
2353
|
+
is_nil?: boolean;
|
|
2354
|
+
less_than?: string;
|
|
2355
|
+
less_than_or_equal?: string;
|
|
2356
|
+
not_eq?: string;
|
|
2357
|
+
};
|
|
2358
|
+
type training_example_filter_input_text = {
|
|
2359
|
+
contains?: string;
|
|
2360
|
+
eq?: string;
|
|
2361
|
+
greater_than?: string;
|
|
2362
|
+
greater_than_or_equal?: string;
|
|
2363
|
+
ilike?: string;
|
|
2364
|
+
in?: Array<string>;
|
|
2365
|
+
is_nil?: boolean;
|
|
2366
|
+
less_than?: string;
|
|
2367
|
+
less_than_or_equal?: string;
|
|
2368
|
+
like?: string;
|
|
2369
|
+
not_eq?: string;
|
|
2370
|
+
};
|
|
2371
|
+
type plan_filter_id = {
|
|
2372
|
+
eq?: string;
|
|
2373
|
+
greater_than?: string;
|
|
2374
|
+
greater_than_or_equal?: string;
|
|
2375
|
+
in?: Array<string>;
|
|
2376
|
+
is_nil?: boolean;
|
|
2377
|
+
less_than?: string;
|
|
2378
|
+
less_than_or_equal?: string;
|
|
2379
|
+
not_eq?: string;
|
|
2380
|
+
};
|
|
2381
|
+
/**
|
|
2382
|
+
* Filters the query to results matching the given filter object
|
|
2383
|
+
*/
|
|
2384
|
+
type object_filter = {
|
|
2385
|
+
and?: Array<object_filter>;
|
|
2386
|
+
content_type?: object_filter_content_type;
|
|
2387
|
+
id?: object_filter_id;
|
|
2388
|
+
key?: object_filter_key;
|
|
2389
|
+
not?: object_filter;
|
|
2390
|
+
or?: Array<object_filter>;
|
|
2391
|
+
size_bytes?: object_filter_size_bytes;
|
|
2392
|
+
};
|
|
2393
|
+
/**
|
|
2394
|
+
* Filters the query to results matching the given filter object
|
|
2395
|
+
*/
|
|
2396
|
+
type application_filter = {
|
|
2397
|
+
and?: Array<application_filter>;
|
|
2398
|
+
id?: application_filter_id;
|
|
2399
|
+
not?: application_filter;
|
|
2400
|
+
or?: Array<application_filter>;
|
|
2401
|
+
};
|
|
2402
|
+
type subscription_filter_id = {
|
|
2403
|
+
eq?: string;
|
|
2404
|
+
greater_than?: string;
|
|
2405
|
+
greater_than_or_equal?: string;
|
|
2406
|
+
in?: Array<string>;
|
|
2407
|
+
is_nil?: boolean;
|
|
2408
|
+
less_than?: string;
|
|
2409
|
+
less_than_or_equal?: string;
|
|
2410
|
+
not_eq?: string;
|
|
2411
|
+
};
|
|
2412
|
+
/**
|
|
2413
|
+
* A "Resource object" representing a training_example
|
|
2414
|
+
*/
|
|
2415
|
+
type training_example = {
|
|
2416
|
+
/**
|
|
2417
|
+
* An attributes object for a training_example
|
|
2418
|
+
*/
|
|
2419
|
+
attributes?: {
|
|
2420
|
+
/**
|
|
2421
|
+
* Field included by default.
|
|
2422
|
+
*/
|
|
2423
|
+
embedding?: unknown | null;
|
|
2424
|
+
/**
|
|
2425
|
+
* Field included by default.
|
|
2426
|
+
*/
|
|
2427
|
+
input_text: string;
|
|
2428
|
+
/**
|
|
2429
|
+
* Field included by default.
|
|
2430
|
+
*/
|
|
2431
|
+
output_json: {
|
|
2432
|
+
[key: string]: unknown;
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
id: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* A relationships object for a training_example
|
|
2438
|
+
*/
|
|
2439
|
+
relationships?: {
|
|
2440
|
+
[key: string]: unknown;
|
|
2441
|
+
};
|
|
2442
|
+
type: string;
|
|
2443
|
+
};
|
|
2444
|
+
/**
|
|
2445
|
+
* Transaction amount in cents or credits
|
|
2446
|
+
*/
|
|
2447
|
+
type transaction_filter_amount = {
|
|
2448
|
+
eq?: number;
|
|
2449
|
+
greater_than?: number;
|
|
2450
|
+
greater_than_or_equal?: number;
|
|
2451
|
+
in?: Array<number>;
|
|
2452
|
+
is_nil?: boolean;
|
|
2453
|
+
less_than?: number;
|
|
2454
|
+
less_than_or_equal?: number;
|
|
2455
|
+
not_eq?: number;
|
|
2456
|
+
};
|
|
2457
|
+
type document_filter_id = {
|
|
2458
|
+
eq?: string;
|
|
2459
|
+
greater_than?: string;
|
|
2460
|
+
greater_than_or_equal?: string;
|
|
2461
|
+
in?: Array<string>;
|
|
2462
|
+
is_nil?: boolean;
|
|
2463
|
+
less_than?: string;
|
|
2464
|
+
less_than_or_equal?: string;
|
|
2465
|
+
not_eq?: string;
|
|
2466
|
+
};
|
|
2467
|
+
type tenant_filter_storage_blocks_purchased = {
|
|
2468
|
+
eq?: number;
|
|
2469
|
+
greater_than?: number;
|
|
2470
|
+
greater_than_or_equal?: number;
|
|
2471
|
+
in?: Array<number>;
|
|
2472
|
+
is_nil?: boolean;
|
|
2473
|
+
less_than?: number;
|
|
2474
|
+
less_than_or_equal?: number;
|
|
2475
|
+
not_eq?: number;
|
|
2476
|
+
};
|
|
2477
|
+
type payment_filter_currency = {
|
|
2478
|
+
contains?: string;
|
|
2479
|
+
eq?: string;
|
|
2480
|
+
greater_than?: string;
|
|
2481
|
+
greater_than_or_equal?: string;
|
|
2482
|
+
in?: Array<string>;
|
|
2483
|
+
is_nil?: boolean;
|
|
2484
|
+
less_than?: string;
|
|
2485
|
+
less_than_or_equal?: string;
|
|
2486
|
+
not_eq?: string;
|
|
2487
|
+
};
|
|
2488
|
+
/**
|
|
2489
|
+
* A "Resource object" representing a user
|
|
2490
|
+
*/
|
|
2491
|
+
type user = {
|
|
2492
|
+
/**
|
|
2493
|
+
* An attributes object for a user
|
|
2494
|
+
*/
|
|
2495
|
+
attributes?: {
|
|
2496
|
+
current_scopes?: Array<string> | null | null;
|
|
2497
|
+
current_workspace_id?: string | null | null;
|
|
2498
|
+
/**
|
|
2499
|
+
* Field included by default.
|
|
2500
|
+
*/
|
|
2501
|
+
email: string;
|
|
2502
|
+
/**
|
|
2503
|
+
* Field included by default.
|
|
2504
|
+
*/
|
|
2505
|
+
is_app_admin: boolean;
|
|
2506
|
+
/**
|
|
2507
|
+
* Field included by default.
|
|
2508
|
+
*/
|
|
2509
|
+
is_platform_admin: boolean;
|
|
2510
|
+
tenant_id?: string | null | null;
|
|
2511
|
+
token?: string | null | null;
|
|
2512
|
+
};
|
|
2513
|
+
id: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* A relationships object for a user
|
|
2516
|
+
*/
|
|
2517
|
+
relationships?: {
|
|
2518
|
+
profile?: {
|
|
2519
|
+
/**
|
|
2520
|
+
* An identifier for profile
|
|
2521
|
+
*/
|
|
2522
|
+
data?: {
|
|
2523
|
+
id: string;
|
|
2524
|
+
meta?: {
|
|
2525
|
+
[key: string]: unknown;
|
|
2526
|
+
};
|
|
2527
|
+
type: string;
|
|
2528
|
+
} | null;
|
|
2529
|
+
};
|
|
2530
|
+
};
|
|
2531
|
+
type: string;
|
|
2532
|
+
};
|
|
2533
|
+
type document_stats_filter_processing = {
|
|
2534
|
+
eq?: number;
|
|
2535
|
+
greater_than?: number;
|
|
2536
|
+
greater_than_or_equal?: number;
|
|
2537
|
+
in?: Array<number>;
|
|
2538
|
+
is_nil?: boolean;
|
|
2539
|
+
less_than?: number;
|
|
2540
|
+
less_than_or_equal?: number;
|
|
2541
|
+
not_eq?: number;
|
|
2542
|
+
};
|
|
2543
|
+
type token_filter_last4 = {
|
|
2544
|
+
contains?: string;
|
|
2545
|
+
eq?: string;
|
|
2546
|
+
greater_than?: string;
|
|
2547
|
+
greater_than_or_equal?: string;
|
|
2548
|
+
in?: Array<string>;
|
|
2549
|
+
is_nil?: boolean;
|
|
2550
|
+
less_than?: string;
|
|
2551
|
+
less_than_or_equal?: string;
|
|
2552
|
+
not_eq?: string;
|
|
2553
|
+
};
|
|
2554
|
+
type tenant_membership_filter_role = {
|
|
2555
|
+
eq?: "owner" | "admin" | "member";
|
|
2556
|
+
greater_than?: "owner" | "admin" | "member";
|
|
2557
|
+
greater_than_or_equal?: "owner" | "admin" | "member";
|
|
2558
|
+
in?: Array<string>;
|
|
2559
|
+
is_nil?: boolean;
|
|
2560
|
+
less_than?: "owner" | "admin" | "member";
|
|
2561
|
+
less_than_or_equal?: "owner" | "admin" | "member";
|
|
2562
|
+
not_eq?: "owner" | "admin" | "member";
|
|
2563
|
+
};
|
|
2564
|
+
type eq5 = "owner" | "admin" | "member";
|
|
2565
|
+
declare const eq5: {
|
|
2566
|
+
readonly OWNER: "owner";
|
|
2567
|
+
readonly ADMIN: "admin";
|
|
2568
|
+
readonly MEMBER: "member";
|
|
2569
|
+
};
|
|
2570
|
+
type greater_than5 = "owner" | "admin" | "member";
|
|
2571
|
+
declare const greater_than5: {
|
|
2572
|
+
readonly OWNER: "owner";
|
|
2573
|
+
readonly ADMIN: "admin";
|
|
2574
|
+
readonly MEMBER: "member";
|
|
2575
|
+
};
|
|
2576
|
+
type greater_than_or_equal5 = "owner" | "admin" | "member";
|
|
2577
|
+
declare const greater_than_or_equal5: {
|
|
2578
|
+
readonly OWNER: "owner";
|
|
2579
|
+
readonly ADMIN: "admin";
|
|
2580
|
+
readonly MEMBER: "member";
|
|
2581
|
+
};
|
|
2582
|
+
type less_than5 = "owner" | "admin" | "member";
|
|
2583
|
+
declare const less_than5: {
|
|
2584
|
+
readonly OWNER: "owner";
|
|
2585
|
+
readonly ADMIN: "admin";
|
|
2586
|
+
readonly MEMBER: "member";
|
|
2587
|
+
};
|
|
2588
|
+
type less_than_or_equal5 = "owner" | "admin" | "member";
|
|
2589
|
+
declare const less_than_or_equal5: {
|
|
2590
|
+
readonly OWNER: "owner";
|
|
2591
|
+
readonly ADMIN: "admin";
|
|
2592
|
+
readonly MEMBER: "member";
|
|
2593
|
+
};
|
|
2594
|
+
type not_eq5 = "owner" | "admin" | "member";
|
|
2595
|
+
declare const not_eq5: {
|
|
2596
|
+
readonly OWNER: "owner";
|
|
2597
|
+
readonly ADMIN: "admin";
|
|
2598
|
+
readonly MEMBER: "member";
|
|
2599
|
+
};
|
|
2600
|
+
type graph_node_filter_id = {
|
|
2601
|
+
eq?: string;
|
|
2602
|
+
greater_than?: string;
|
|
2603
|
+
greater_than_or_equal?: string;
|
|
2604
|
+
in?: Array<string>;
|
|
2605
|
+
is_nil?: boolean;
|
|
2606
|
+
less_than?: string;
|
|
2607
|
+
less_than_or_equal?: string;
|
|
2608
|
+
not_eq?: string;
|
|
2609
|
+
};
|
|
2610
|
+
/**
|
|
2611
|
+
* A "Resource object" representing a storage_stats
|
|
2612
|
+
*/
|
|
2613
|
+
type storage_stats = {
|
|
2614
|
+
/**
|
|
2615
|
+
* An attributes object for a storage_stats
|
|
2616
|
+
*/
|
|
2617
|
+
attributes?: {
|
|
2618
|
+
/**
|
|
2619
|
+
* Field included by default.
|
|
2620
|
+
*/
|
|
2621
|
+
total_buckets?: number | null | null;
|
|
2622
|
+
/**
|
|
2623
|
+
* Field included by default.
|
|
2624
|
+
*/
|
|
2625
|
+
total_objects?: number | null | null;
|
|
2626
|
+
/**
|
|
2627
|
+
* Field included by default.
|
|
2628
|
+
*/
|
|
2629
|
+
total_storage_bytes?: number | null | null;
|
|
2630
|
+
};
|
|
2631
|
+
id: string;
|
|
2632
|
+
/**
|
|
2633
|
+
* A relationships object for a storage_stats
|
|
2634
|
+
*/
|
|
2635
|
+
relationships?: {
|
|
2636
|
+
[key: string]: unknown;
|
|
2637
|
+
};
|
|
2638
|
+
type: string;
|
|
2639
|
+
};
|
|
2640
|
+
type document_filter_application_id = {
|
|
2641
|
+
eq?: string;
|
|
2642
|
+
greater_than?: string;
|
|
2643
|
+
greater_than_or_equal?: string;
|
|
2644
|
+
in?: Array<string>;
|
|
2645
|
+
is_nil?: boolean;
|
|
2646
|
+
less_than?: string;
|
|
2647
|
+
less_than_or_equal?: string;
|
|
2648
|
+
not_eq?: string;
|
|
2649
|
+
};
|
|
2650
|
+
type transaction_filter_service_id = {
|
|
2651
|
+
contains?: string;
|
|
2652
|
+
eq?: string;
|
|
2653
|
+
greater_than?: string;
|
|
2654
|
+
greater_than_or_equal?: string;
|
|
2655
|
+
ilike?: string;
|
|
2656
|
+
in?: Array<string>;
|
|
2657
|
+
is_nil?: boolean;
|
|
2658
|
+
less_than?: string;
|
|
2659
|
+
less_than_or_equal?: string;
|
|
2660
|
+
like?: string;
|
|
2661
|
+
not_eq?: string;
|
|
2662
|
+
};
|
|
2663
|
+
/**
|
|
2664
|
+
* A "Resource object" representing a notification_preference
|
|
2665
|
+
*/
|
|
2666
|
+
type notification_preference = {
|
|
2667
|
+
/**
|
|
2668
|
+
* An attributes object for a notification_preference
|
|
2669
|
+
*/
|
|
2670
|
+
attributes?: {
|
|
2671
|
+
[key: string]: unknown;
|
|
2672
|
+
};
|
|
2673
|
+
id: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* A relationships object for a notification_preference
|
|
2676
|
+
*/
|
|
2677
|
+
relationships?: {
|
|
2678
|
+
[key: string]: unknown;
|
|
2679
|
+
};
|
|
2680
|
+
type: string;
|
|
2681
|
+
};
|
|
2682
|
+
/**
|
|
2683
|
+
* A "Resource object" representing a webhook_delivery
|
|
2684
|
+
*/
|
|
2685
|
+
type webhook_delivery = {
|
|
2686
|
+
/**
|
|
2687
|
+
* An attributes object for a webhook_delivery
|
|
2688
|
+
*/
|
|
2689
|
+
attributes?: {
|
|
2690
|
+
[key: string]: unknown;
|
|
2691
|
+
};
|
|
2692
|
+
id: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* A relationships object for a webhook_delivery
|
|
2695
|
+
*/
|
|
2696
|
+
relationships?: {
|
|
2697
|
+
[key: string]: unknown;
|
|
2698
|
+
};
|
|
2699
|
+
type: string;
|
|
2700
|
+
};
|
|
2701
|
+
/**
|
|
2702
|
+
* A "Resource object" representing a embedding
|
|
2703
|
+
*/
|
|
2704
|
+
type embedding = {
|
|
2705
|
+
/**
|
|
2706
|
+
* An attributes object for a embedding
|
|
2707
|
+
*/
|
|
2708
|
+
attributes?: {
|
|
2709
|
+
/**
|
|
2710
|
+
* Field included by default.
|
|
2711
|
+
*/
|
|
2712
|
+
embedding?: unknown | null;
|
|
2713
|
+
/**
|
|
2714
|
+
* Field included by default.
|
|
2715
|
+
*/
|
|
2716
|
+
model?: string | null | null;
|
|
2717
|
+
/**
|
|
2718
|
+
* Field included by default.
|
|
2719
|
+
*/
|
|
2720
|
+
text?: string | null | null;
|
|
2721
|
+
/**
|
|
2722
|
+
* Field included by default.
|
|
2723
|
+
*/
|
|
2724
|
+
usage?: {
|
|
2725
|
+
[key: string]: unknown;
|
|
2726
|
+
} | null | null;
|
|
2727
|
+
};
|
|
2728
|
+
id: string;
|
|
2729
|
+
/**
|
|
2730
|
+
* A relationships object for a embedding
|
|
2731
|
+
*/
|
|
2732
|
+
relationships?: {
|
|
2733
|
+
[key: string]: unknown;
|
|
2734
|
+
};
|
|
2735
|
+
type: string;
|
|
2736
|
+
};
|
|
2737
|
+
/**
|
|
2738
|
+
* A "Resource object" representing a llm_analytics
|
|
2739
|
+
*/
|
|
2740
|
+
type llm_analytics = {
|
|
2741
|
+
/**
|
|
2742
|
+
* An attributes object for a llm_analytics
|
|
2743
|
+
*/
|
|
2744
|
+
attributes?: {
|
|
2745
|
+
[key: string]: unknown;
|
|
2746
|
+
};
|
|
2747
|
+
id: string;
|
|
2748
|
+
/**
|
|
2749
|
+
* A relationships object for a llm_analytics
|
|
2750
|
+
*/
|
|
2751
|
+
relationships?: {
|
|
2752
|
+
[key: string]: unknown;
|
|
2753
|
+
};
|
|
2754
|
+
type: string;
|
|
2755
|
+
};
|
|
2756
|
+
type error = {
|
|
2757
|
+
/**
|
|
2758
|
+
* An application-specific error code, expressed as a string value.
|
|
2759
|
+
*/
|
|
2760
|
+
code?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
2763
|
+
*/
|
|
2764
|
+
detail?: string;
|
|
2765
|
+
/**
|
|
2766
|
+
* A unique identifier for this particular occurrence of the problem.
|
|
2767
|
+
*/
|
|
2768
|
+
id?: string;
|
|
2769
|
+
links?: links;
|
|
2770
|
+
source?: {
|
|
2771
|
+
/**
|
|
2772
|
+
* A string indicating which query parameter caused the error.
|
|
2773
|
+
*/
|
|
2774
|
+
parameter?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute].
|
|
2777
|
+
*/
|
|
2778
|
+
pointer?: string;
|
|
2779
|
+
};
|
|
2780
|
+
/**
|
|
2781
|
+
* The HTTP status code applicable to this problem, expressed as a string value.
|
|
2782
|
+
*/
|
|
2783
|
+
status?: string;
|
|
2784
|
+
/**
|
|
2785
|
+
* A short, human-readable summary of the problem. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
|
|
2786
|
+
*/
|
|
2787
|
+
title?: string;
|
|
2788
|
+
};
|
|
2789
|
+
type config_filter_value = {
|
|
2790
|
+
contains?: string;
|
|
2791
|
+
eq?: string;
|
|
2792
|
+
greater_than?: string;
|
|
2793
|
+
greater_than_or_equal?: string;
|
|
2794
|
+
ilike?: string;
|
|
2795
|
+
in?: Array<string>;
|
|
2796
|
+
is_nil?: boolean;
|
|
2797
|
+
less_than?: string;
|
|
2798
|
+
less_than_or_equal?: string;
|
|
2799
|
+
like?: string;
|
|
2800
|
+
not_eq?: string;
|
|
2801
|
+
};
|
|
2802
|
+
/**
|
|
2803
|
+
* Filters the query to results matching the given filter object
|
|
2804
|
+
*/
|
|
2805
|
+
type document_filter = {
|
|
2806
|
+
and?: Array<document_filter>;
|
|
2807
|
+
application?: application_filter;
|
|
2808
|
+
application_id?: document_filter_application_id;
|
|
2809
|
+
chunks?: document_chunk_filter;
|
|
2810
|
+
content?: document_filter_content;
|
|
2811
|
+
extraction_results?: extraction_result_filter;
|
|
2812
|
+
filename?: document_filter_filename;
|
|
2813
|
+
id?: document_filter_id;
|
|
2814
|
+
metadata?: document_filter_metadata;
|
|
2815
|
+
mime_type?: document_filter_mime_type;
|
|
2816
|
+
not?: document_filter;
|
|
2817
|
+
or?: Array<document_filter>;
|
|
2818
|
+
original_filename?: document_filter_original_filename;
|
|
2819
|
+
size_bytes?: document_filter_size_bytes;
|
|
2820
|
+
status?: document_filter_status;
|
|
2821
|
+
storage_options?: document_filter_storage_options;
|
|
2822
|
+
storage_path?: document_filter_storage_path;
|
|
2823
|
+
summary?: document_filter_summary;
|
|
2824
|
+
summary_embedding?: document_filter_summary_embedding;
|
|
2825
|
+
tenant?: tenant_filter;
|
|
2826
|
+
tenant_id?: document_filter_tenant_id;
|
|
2827
|
+
uploader?: user_filter;
|
|
2828
|
+
uploader_id?: document_filter_uploader_id;
|
|
2829
|
+
workspace?: workspace_filter;
|
|
2830
|
+
workspace_id?: document_filter_workspace_id;
|
|
2831
|
+
};
|
|
2832
|
+
/**
|
|
2833
|
+
* Filters the query to results matching the given filter object
|
|
2834
|
+
*/
|
|
2835
|
+
type graph_edge_filter = {
|
|
2836
|
+
and?: Array<graph_edge_filter>;
|
|
2837
|
+
id?: graph_edge_filter_id;
|
|
2838
|
+
not?: graph_edge_filter;
|
|
2839
|
+
or?: Array<graph_edge_filter>;
|
|
2840
|
+
properties?: graph_edge_filter_properties;
|
|
2841
|
+
relationship?: graph_edge_filter_relationship;
|
|
2842
|
+
source?: graph_node_filter;
|
|
2843
|
+
source_id?: graph_edge_filter_source_id;
|
|
2844
|
+
target?: graph_node_filter;
|
|
2845
|
+
target_id?: graph_edge_filter_target_id;
|
|
2846
|
+
};
|
|
2847
|
+
type graph_edge_filter_relationship = {
|
|
2848
|
+
contains?: string;
|
|
2849
|
+
eq?: string;
|
|
2850
|
+
greater_than?: string;
|
|
2851
|
+
greater_than_or_equal?: string;
|
|
2852
|
+
ilike?: string;
|
|
2853
|
+
in?: Array<string>;
|
|
2854
|
+
is_nil?: boolean;
|
|
2855
|
+
less_than?: string;
|
|
2856
|
+
less_than_or_equal?: string;
|
|
2857
|
+
like?: string;
|
|
2858
|
+
not_eq?: string;
|
|
2859
|
+
};
|
|
2860
|
+
type semantic_cache_entry_filter_id = {
|
|
2861
|
+
eq?: string;
|
|
2862
|
+
greater_than?: string;
|
|
2863
|
+
greater_than_or_equal?: string;
|
|
2864
|
+
in?: Array<string>;
|
|
2865
|
+
is_nil?: boolean;
|
|
2866
|
+
less_than?: string;
|
|
2867
|
+
less_than_or_equal?: string;
|
|
2868
|
+
not_eq?: string;
|
|
2869
|
+
};
|
|
2870
|
+
/**
|
|
2871
|
+
* A "Resource object" representing a graph_edge
|
|
2872
|
+
*/
|
|
2873
|
+
type graph_edge = {
|
|
2874
|
+
/**
|
|
2875
|
+
* An attributes object for a graph_edge
|
|
2876
|
+
*/
|
|
2877
|
+
attributes?: {
|
|
2878
|
+
/**
|
|
2879
|
+
* Field included by default.
|
|
2880
|
+
*/
|
|
2881
|
+
properties?: {
|
|
2882
|
+
[key: string]: unknown;
|
|
2883
|
+
} | null | null;
|
|
2884
|
+
/**
|
|
2885
|
+
* Field included by default.
|
|
2886
|
+
*/
|
|
2887
|
+
relationship: string;
|
|
2888
|
+
/**
|
|
2889
|
+
* Field included by default.
|
|
2890
|
+
*/
|
|
2891
|
+
source_id: string;
|
|
2892
|
+
/**
|
|
2893
|
+
* Field included by default.
|
|
2894
|
+
*/
|
|
2895
|
+
target_id: string;
|
|
2896
|
+
};
|
|
2897
|
+
id: string;
|
|
2898
|
+
/**
|
|
2899
|
+
* A relationships object for a graph_edge
|
|
2900
|
+
*/
|
|
2901
|
+
relationships?: {
|
|
2902
|
+
source?: {
|
|
2903
|
+
/**
|
|
2904
|
+
* An identifier for source
|
|
2905
|
+
*/
|
|
2906
|
+
data?: {
|
|
2907
|
+
id: string;
|
|
2908
|
+
meta?: {
|
|
2909
|
+
[key: string]: unknown;
|
|
2910
|
+
};
|
|
2911
|
+
type: string;
|
|
2912
|
+
} | null;
|
|
2913
|
+
};
|
|
2914
|
+
target?: {
|
|
2915
|
+
/**
|
|
2916
|
+
* An identifier for target
|
|
2917
|
+
*/
|
|
2918
|
+
data?: {
|
|
2919
|
+
id: string;
|
|
2920
|
+
meta?: {
|
|
2921
|
+
[key: string]: unknown;
|
|
2922
|
+
};
|
|
2923
|
+
type: string;
|
|
2924
|
+
} | null;
|
|
2925
|
+
};
|
|
2926
|
+
};
|
|
2927
|
+
type: string;
|
|
2928
|
+
};
|
|
2929
|
+
type webhook_delivery_filter_id = {
|
|
2930
|
+
eq?: string;
|
|
2931
|
+
greater_than?: string;
|
|
2932
|
+
greater_than_or_equal?: string;
|
|
2933
|
+
in?: Array<string>;
|
|
2934
|
+
is_nil?: boolean;
|
|
2935
|
+
less_than?: string;
|
|
2936
|
+
less_than_or_equal?: string;
|
|
2937
|
+
not_eq?: string;
|
|
2938
|
+
};
|
|
2939
|
+
/**
|
|
2940
|
+
* Filters the query to results matching the given filter object
|
|
2941
|
+
*/
|
|
2942
|
+
type tenant_filter = {
|
|
2943
|
+
and?: Array<tenant_filter>;
|
|
2944
|
+
id?: tenant_filter_id;
|
|
2945
|
+
not?: tenant_filter;
|
|
2946
|
+
or?: Array<tenant_filter>;
|
|
2947
|
+
storage_blocks_purchased?: tenant_filter_storage_blocks_purchased;
|
|
2948
|
+
storage_quota_bytes?: tenant_filter_storage_quota_bytes;
|
|
2949
|
+
};
|
|
2950
|
+
/**
|
|
2951
|
+
* Filters the query to results matching the given filter object
|
|
2952
|
+
*/
|
|
2953
|
+
type account_filter = {
|
|
2954
|
+
and?: Array<account_filter>;
|
|
2955
|
+
id?: account_filter_id;
|
|
2956
|
+
not?: account_filter;
|
|
2957
|
+
or?: Array<account_filter>;
|
|
2958
|
+
};
|
|
2959
|
+
type plan_filter_created_at = {
|
|
2960
|
+
eq?: unknown;
|
|
2961
|
+
greater_than?: unknown;
|
|
2962
|
+
greater_than_or_equal?: unknown;
|
|
2963
|
+
in?: Array<unknown>;
|
|
2964
|
+
is_nil?: boolean;
|
|
2965
|
+
less_than?: unknown;
|
|
2966
|
+
less_than_or_equal?: unknown;
|
|
2967
|
+
not_eq?: unknown;
|
|
2968
|
+
};
|
|
2969
|
+
/**
|
|
2970
|
+
* Filters the query to results matching the given filter object
|
|
2971
|
+
*/
|
|
2972
|
+
type notification_preference_filter = {
|
|
2973
|
+
and?: Array<notification_preference_filter>;
|
|
2974
|
+
id?: notification_preference_filter_id;
|
|
2975
|
+
not?: notification_preference_filter;
|
|
2976
|
+
or?: Array<notification_preference_filter>;
|
|
2977
|
+
};
|
|
2978
|
+
/**
|
|
2979
|
+
* A "Resource object" representing a object
|
|
2980
|
+
*/
|
|
2981
|
+
type storage_object = {
|
|
2982
|
+
/**
|
|
2983
|
+
* An attributes object for a object
|
|
2984
|
+
*/
|
|
2985
|
+
attributes?: {
|
|
2986
|
+
/**
|
|
2987
|
+
* Field included by default.
|
|
2988
|
+
*/
|
|
2989
|
+
content_type: string;
|
|
2990
|
+
/**
|
|
2991
|
+
* Field included by default.
|
|
2992
|
+
*/
|
|
2993
|
+
key: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* Field included by default.
|
|
2996
|
+
*/
|
|
2997
|
+
size_bytes: number;
|
|
2998
|
+
};
|
|
2999
|
+
id: string;
|
|
3000
|
+
/**
|
|
3001
|
+
* A relationships object for a object
|
|
3002
|
+
*/
|
|
3003
|
+
relationships?: {
|
|
3004
|
+
[key: string]: unknown;
|
|
3005
|
+
};
|
|
3006
|
+
type: string;
|
|
3007
|
+
};
|
|
3008
|
+
type errors = Array<error>;
|
|
3009
|
+
type credit_package_filter_updated_at = {
|
|
3010
|
+
eq?: unknown;
|
|
3011
|
+
greater_than?: unknown;
|
|
3012
|
+
greater_than_or_equal?: unknown;
|
|
3013
|
+
in?: Array<unknown>;
|
|
3014
|
+
is_nil?: boolean;
|
|
3015
|
+
less_than?: unknown;
|
|
3016
|
+
less_than_or_equal?: unknown;
|
|
3017
|
+
not_eq?: unknown;
|
|
3018
|
+
};
|
|
3019
|
+
type token_filter_id = {
|
|
3020
|
+
eq?: string;
|
|
3021
|
+
greater_than?: string;
|
|
3022
|
+
greater_than_or_equal?: string;
|
|
3023
|
+
in?: Array<string>;
|
|
3024
|
+
is_nil?: boolean;
|
|
3025
|
+
less_than?: string;
|
|
3026
|
+
less_than_or_equal?: string;
|
|
3027
|
+
not_eq?: string;
|
|
3028
|
+
};
|
|
3029
|
+
type credit_package_filter_credits = {
|
|
3030
|
+
eq?: number;
|
|
3031
|
+
greater_than?: number;
|
|
3032
|
+
greater_than_or_equal?: number;
|
|
3033
|
+
in?: Array<number>;
|
|
3034
|
+
is_nil?: boolean;
|
|
3035
|
+
less_than?: number;
|
|
3036
|
+
less_than_or_equal?: number;
|
|
3037
|
+
not_eq?: number;
|
|
3038
|
+
};
|
|
3039
|
+
type plan_filter_type = {
|
|
3040
|
+
eq?: "plan" | "addon";
|
|
3041
|
+
greater_than?: "plan" | "addon";
|
|
3042
|
+
greater_than_or_equal?: "plan" | "addon";
|
|
3043
|
+
in?: Array<string>;
|
|
3044
|
+
is_nil?: boolean;
|
|
3045
|
+
less_than?: "plan" | "addon";
|
|
3046
|
+
less_than_or_equal?: "plan" | "addon";
|
|
3047
|
+
not_eq?: "plan" | "addon";
|
|
3048
|
+
};
|
|
3049
|
+
type eq6 = "plan" | "addon";
|
|
3050
|
+
declare const eq6: {
|
|
3051
|
+
readonly PLAN: "plan";
|
|
3052
|
+
readonly ADDON: "addon";
|
|
3053
|
+
};
|
|
3054
|
+
type greater_than6 = "plan" | "addon";
|
|
3055
|
+
declare const greater_than6: {
|
|
3056
|
+
readonly PLAN: "plan";
|
|
3057
|
+
readonly ADDON: "addon";
|
|
3058
|
+
};
|
|
3059
|
+
type greater_than_or_equal6 = "plan" | "addon";
|
|
3060
|
+
declare const greater_than_or_equal6: {
|
|
3061
|
+
readonly PLAN: "plan";
|
|
3062
|
+
readonly ADDON: "addon";
|
|
3063
|
+
};
|
|
3064
|
+
type less_than6 = "plan" | "addon";
|
|
3065
|
+
declare const less_than6: {
|
|
3066
|
+
readonly PLAN: "plan";
|
|
3067
|
+
readonly ADDON: "addon";
|
|
3068
|
+
};
|
|
3069
|
+
type less_than_or_equal6 = "plan" | "addon";
|
|
3070
|
+
declare const less_than_or_equal6: {
|
|
3071
|
+
readonly PLAN: "plan";
|
|
3072
|
+
readonly ADDON: "addon";
|
|
3073
|
+
};
|
|
3074
|
+
type not_eq6 = "plan" | "addon";
|
|
3075
|
+
declare const not_eq6: {
|
|
3076
|
+
readonly PLAN: "plan";
|
|
3077
|
+
readonly ADDON: "addon";
|
|
3078
|
+
};
|
|
3079
|
+
type presigned_url_filter_method = {
|
|
3080
|
+
contains?: string;
|
|
3081
|
+
eq?: string;
|
|
3082
|
+
greater_than?: string;
|
|
3083
|
+
greater_than_or_equal?: string;
|
|
3084
|
+
in?: Array<string>;
|
|
3085
|
+
is_nil?: boolean;
|
|
3086
|
+
less_than?: string;
|
|
3087
|
+
less_than_or_equal?: string;
|
|
3088
|
+
not_eq?: string;
|
|
3089
|
+
};
|
|
3090
|
+
/**
|
|
3091
|
+
* A "Resource object" representing a pricing_rule
|
|
3092
|
+
*/
|
|
3093
|
+
type pricing_rule = {
|
|
3094
|
+
/**
|
|
3095
|
+
* An attributes object for a pricing_rule
|
|
3096
|
+
*/
|
|
3097
|
+
attributes?: {
|
|
3098
|
+
[key: string]: unknown;
|
|
3099
|
+
};
|
|
3100
|
+
id: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* A relationships object for a pricing_rule
|
|
3103
|
+
*/
|
|
3104
|
+
relationships?: {
|
|
3105
|
+
[key: string]: unknown;
|
|
3106
|
+
};
|
|
3107
|
+
type: string;
|
|
3108
|
+
};
|
|
3109
|
+
type graph_node_filter_properties = {
|
|
3110
|
+
eq?: {
|
|
3111
|
+
[key: string]: unknown;
|
|
3112
|
+
};
|
|
3113
|
+
greater_than?: {
|
|
3114
|
+
[key: string]: unknown;
|
|
3115
|
+
};
|
|
3116
|
+
greater_than_or_equal?: {
|
|
3117
|
+
[key: string]: unknown;
|
|
3118
|
+
};
|
|
3119
|
+
in?: Array<{
|
|
3120
|
+
[key: string]: unknown;
|
|
3121
|
+
}>;
|
|
3122
|
+
is_nil?: boolean;
|
|
3123
|
+
less_than?: {
|
|
3124
|
+
[key: string]: unknown;
|
|
3125
|
+
};
|
|
3126
|
+
less_than_or_equal?: {
|
|
3127
|
+
[key: string]: unknown;
|
|
3128
|
+
};
|
|
3129
|
+
not_eq?: {
|
|
3130
|
+
[key: string]: unknown;
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
/**
|
|
3134
|
+
* A "Resource object" representing a tenant-membership
|
|
3135
|
+
*/
|
|
3136
|
+
type tenant_membership = {
|
|
3137
|
+
/**
|
|
3138
|
+
* An attributes object for a tenant-membership
|
|
3139
|
+
*/
|
|
3140
|
+
attributes?: {
|
|
3141
|
+
/**
|
|
3142
|
+
* Field included by default.
|
|
3143
|
+
*/
|
|
3144
|
+
role: "owner" | "admin" | "member";
|
|
3145
|
+
/**
|
|
3146
|
+
* Field included by default.
|
|
3147
|
+
*/
|
|
3148
|
+
tenant_id: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* Field included by default.
|
|
3151
|
+
*/
|
|
3152
|
+
user_id: string;
|
|
3153
|
+
};
|
|
3154
|
+
id: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* A relationships object for a tenant-membership
|
|
3157
|
+
*/
|
|
3158
|
+
relationships?: {
|
|
3159
|
+
[key: string]: unknown;
|
|
3160
|
+
};
|
|
3161
|
+
type: string;
|
|
3162
|
+
};
|
|
3163
|
+
/**
|
|
3164
|
+
* Field included by default.
|
|
3165
|
+
*/
|
|
3166
|
+
type role = "owner" | "admin" | "member";
|
|
3167
|
+
/**
|
|
3168
|
+
* Field included by default.
|
|
3169
|
+
*/
|
|
3170
|
+
declare const role: {
|
|
3171
|
+
readonly OWNER: "owner";
|
|
3172
|
+
readonly ADMIN: "admin";
|
|
3173
|
+
readonly MEMBER: "member";
|
|
3174
|
+
};
|
|
3175
|
+
/**
|
|
3176
|
+
* Filters the query to results matching the given filter object
|
|
3177
|
+
*/
|
|
3178
|
+
type saved_search_filter = {
|
|
3179
|
+
and?: Array<saved_search_filter>;
|
|
3180
|
+
filters?: saved_search_filter_filters;
|
|
3181
|
+
id?: saved_search_filter_id;
|
|
3182
|
+
is_shared?: saved_search_filter_is_shared;
|
|
3183
|
+
name?: saved_search_filter_name;
|
|
3184
|
+
not?: saved_search_filter;
|
|
3185
|
+
or?: Array<saved_search_filter>;
|
|
3186
|
+
query?: saved_search_filter_query;
|
|
3187
|
+
search_type?: saved_search_filter_search_type;
|
|
3188
|
+
};
|
|
3189
|
+
type extraction_result_filter_id = {
|
|
3190
|
+
eq?: string;
|
|
3191
|
+
greater_than?: string;
|
|
3192
|
+
greater_than_or_equal?: string;
|
|
3193
|
+
in?: Array<string>;
|
|
3194
|
+
is_nil?: boolean;
|
|
3195
|
+
less_than?: string;
|
|
3196
|
+
less_than_or_equal?: string;
|
|
3197
|
+
not_eq?: string;
|
|
3198
|
+
};
|
|
3199
|
+
type config_filter_description = {
|
|
3200
|
+
contains?: string;
|
|
3201
|
+
eq?: string;
|
|
3202
|
+
greater_than?: string;
|
|
3203
|
+
greater_than_or_equal?: string;
|
|
3204
|
+
ilike?: string;
|
|
3205
|
+
in?: Array<string>;
|
|
3206
|
+
is_nil?: boolean;
|
|
3207
|
+
less_than?: string;
|
|
3208
|
+
less_than_or_equal?: string;
|
|
3209
|
+
like?: string;
|
|
3210
|
+
not_eq?: string;
|
|
3211
|
+
};
|
|
3212
|
+
type audit_log_filter_changes = {
|
|
3213
|
+
eq?: {
|
|
3214
|
+
[key: string]: unknown;
|
|
3215
|
+
};
|
|
3216
|
+
greater_than?: {
|
|
3217
|
+
[key: string]: unknown;
|
|
3218
|
+
};
|
|
3219
|
+
greater_than_or_equal?: {
|
|
3220
|
+
[key: string]: unknown;
|
|
3221
|
+
};
|
|
3222
|
+
in?: Array<{
|
|
3223
|
+
[key: string]: unknown;
|
|
3224
|
+
}>;
|
|
3225
|
+
is_nil?: boolean;
|
|
3226
|
+
less_than?: {
|
|
3227
|
+
[key: string]: unknown;
|
|
3228
|
+
};
|
|
3229
|
+
less_than_or_equal?: {
|
|
3230
|
+
[key: string]: unknown;
|
|
3231
|
+
};
|
|
3232
|
+
not_eq?: {
|
|
3233
|
+
[key: string]: unknown;
|
|
3234
|
+
};
|
|
3235
|
+
};
|
|
3236
|
+
type operation_success_filter_message = {
|
|
3237
|
+
contains?: string;
|
|
3238
|
+
eq?: string;
|
|
3239
|
+
greater_than?: string;
|
|
3240
|
+
greater_than_or_equal?: string;
|
|
3241
|
+
in?: Array<string>;
|
|
3242
|
+
is_nil?: boolean;
|
|
3243
|
+
less_than?: string;
|
|
3244
|
+
less_than_or_equal?: string;
|
|
3245
|
+
not_eq?: string;
|
|
3246
|
+
};
|
|
3247
|
+
type document_filter_metadata = {
|
|
3248
|
+
eq?: {
|
|
3249
|
+
[key: string]: unknown;
|
|
3250
|
+
};
|
|
3251
|
+
greater_than?: {
|
|
3252
|
+
[key: string]: unknown;
|
|
3253
|
+
};
|
|
3254
|
+
greater_than_or_equal?: {
|
|
3255
|
+
[key: string]: unknown;
|
|
3256
|
+
};
|
|
3257
|
+
in?: Array<{
|
|
3258
|
+
[key: string]: unknown;
|
|
3259
|
+
}>;
|
|
3260
|
+
is_nil?: boolean;
|
|
3261
|
+
less_than?: {
|
|
3262
|
+
[key: string]: unknown;
|
|
3263
|
+
};
|
|
3264
|
+
less_than_or_equal?: {
|
|
3265
|
+
[key: string]: unknown;
|
|
3266
|
+
};
|
|
3267
|
+
not_eq?: {
|
|
3268
|
+
[key: string]: unknown;
|
|
3269
|
+
};
|
|
3270
|
+
};
|
|
3271
|
+
/**
|
|
3272
|
+
* Filters the query to results matching the given filter object
|
|
3273
|
+
*/
|
|
3274
|
+
type token_filter = {
|
|
3275
|
+
and?: Array<token_filter>;
|
|
3276
|
+
brand?: token_filter_brand;
|
|
3277
|
+
exp_month?: token_filter_exp_month;
|
|
3278
|
+
exp_year?: token_filter_exp_year;
|
|
3279
|
+
id?: token_filter_id;
|
|
3280
|
+
last4?: token_filter_last4;
|
|
3281
|
+
not?: token_filter;
|
|
3282
|
+
or?: Array<token_filter>;
|
|
3283
|
+
token?: token_filter_token;
|
|
3284
|
+
};
|
|
3285
|
+
/**
|
|
3286
|
+
* A "Resource object" representing a audit-log
|
|
3287
|
+
*/
|
|
3288
|
+
type audit_log = {
|
|
3289
|
+
/**
|
|
3290
|
+
* An attributes object for a audit-log
|
|
3291
|
+
*/
|
|
3292
|
+
attributes?: {
|
|
3293
|
+
/**
|
|
3294
|
+
* Field included by default.
|
|
3295
|
+
*/
|
|
3296
|
+
action: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* Field included by default.
|
|
3299
|
+
*/
|
|
3300
|
+
actor_id?: string | null | null;
|
|
3301
|
+
/**
|
|
3302
|
+
* Field included by default.
|
|
3303
|
+
*/
|
|
3304
|
+
changes?: {
|
|
3305
|
+
[key: string]: unknown;
|
|
3306
|
+
} | null | null;
|
|
3307
|
+
/**
|
|
3308
|
+
* Field included by default.
|
|
3309
|
+
*/
|
|
3310
|
+
resource_id: string;
|
|
3311
|
+
/**
|
|
3312
|
+
* Field included by default.
|
|
3313
|
+
*/
|
|
3314
|
+
resource_type: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* Field included by default.
|
|
3317
|
+
*/
|
|
3318
|
+
tenant_id?: string | null | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* Field included by default.
|
|
3321
|
+
*/
|
|
3322
|
+
workspace_id?: string | null | null;
|
|
3323
|
+
};
|
|
3324
|
+
id: string;
|
|
3325
|
+
/**
|
|
3326
|
+
* A relationships object for a audit-log
|
|
3327
|
+
*/
|
|
3328
|
+
relationships?: {
|
|
3329
|
+
actor?: {
|
|
3330
|
+
/**
|
|
3331
|
+
* An identifier for actor
|
|
3332
|
+
*/
|
|
3333
|
+
data?: {
|
|
3334
|
+
id: string;
|
|
3335
|
+
meta?: {
|
|
3336
|
+
[key: string]: unknown;
|
|
3337
|
+
};
|
|
3338
|
+
type: string;
|
|
3339
|
+
} | null;
|
|
3340
|
+
};
|
|
3341
|
+
tenant?: {
|
|
3342
|
+
/**
|
|
3343
|
+
* An identifier for tenant
|
|
3344
|
+
*/
|
|
3345
|
+
data?: {
|
|
3346
|
+
id: string;
|
|
3347
|
+
meta?: {
|
|
3348
|
+
[key: string]: unknown;
|
|
3349
|
+
};
|
|
3350
|
+
type: string;
|
|
3351
|
+
} | null;
|
|
3352
|
+
};
|
|
3353
|
+
workspace?: {
|
|
3354
|
+
/**
|
|
3355
|
+
* An identifier for workspace
|
|
3356
|
+
*/
|
|
3357
|
+
data?: {
|
|
3358
|
+
id: string;
|
|
3359
|
+
meta?: {
|
|
3360
|
+
[key: string]: unknown;
|
|
3361
|
+
};
|
|
3362
|
+
type: string;
|
|
3363
|
+
} | null;
|
|
3364
|
+
};
|
|
3365
|
+
};
|
|
3366
|
+
type: string;
|
|
3367
|
+
};
|
|
3368
|
+
type payment_filter_error_message = {
|
|
3369
|
+
contains?: string;
|
|
3370
|
+
eq?: string;
|
|
3371
|
+
greater_than?: string;
|
|
3372
|
+
greater_than_or_equal?: string;
|
|
3373
|
+
in?: Array<string>;
|
|
3374
|
+
is_nil?: boolean;
|
|
3375
|
+
less_than?: string;
|
|
3376
|
+
less_than_or_equal?: string;
|
|
3377
|
+
not_eq?: string;
|
|
3378
|
+
};
|
|
3379
|
+
type thread_filter_context_summary = {
|
|
3380
|
+
contains?: string;
|
|
3381
|
+
eq?: string;
|
|
3382
|
+
greater_than?: string;
|
|
3383
|
+
greater_than_or_equal?: string;
|
|
3384
|
+
ilike?: string;
|
|
3385
|
+
in?: Array<string>;
|
|
3386
|
+
is_nil?: boolean;
|
|
3387
|
+
less_than?: string;
|
|
3388
|
+
less_than_or_equal?: string;
|
|
3389
|
+
like?: string;
|
|
3390
|
+
not_eq?: string;
|
|
3391
|
+
};
|
|
3392
|
+
type document_stats_filter_id = {
|
|
3393
|
+
eq?: string;
|
|
3394
|
+
greater_than?: string;
|
|
3395
|
+
greater_than_or_equal?: string;
|
|
3396
|
+
in?: Array<string>;
|
|
3397
|
+
is_nil?: boolean;
|
|
3398
|
+
less_than?: string;
|
|
3399
|
+
less_than_or_equal?: string;
|
|
3400
|
+
not_eq?: string;
|
|
3401
|
+
};
|
|
3402
|
+
type message_filter_id = {
|
|
3403
|
+
eq?: string;
|
|
3404
|
+
greater_than?: string;
|
|
3405
|
+
greater_than_or_equal?: string;
|
|
3406
|
+
in?: Array<string>;
|
|
3407
|
+
is_nil?: boolean;
|
|
3408
|
+
less_than?: string;
|
|
3409
|
+
less_than_or_equal?: string;
|
|
3410
|
+
not_eq?: string;
|
|
3411
|
+
};
|
|
3412
|
+
type document_filter_workspace_id = {
|
|
3413
|
+
eq?: string;
|
|
3414
|
+
greater_than?: string;
|
|
3415
|
+
greater_than_or_equal?: string;
|
|
3416
|
+
in?: Array<string>;
|
|
3417
|
+
is_nil?: boolean;
|
|
3418
|
+
less_than?: string;
|
|
3419
|
+
less_than_or_equal?: string;
|
|
3420
|
+
not_eq?: string;
|
|
3421
|
+
};
|
|
3422
|
+
/**
|
|
3423
|
+
* Filters the query to results matching the given filter object
|
|
3424
|
+
*/
|
|
3425
|
+
type webhook_delivery_filter = {
|
|
3426
|
+
and?: Array<webhook_delivery_filter>;
|
|
3427
|
+
id?: webhook_delivery_filter_id;
|
|
3428
|
+
not?: webhook_delivery_filter;
|
|
3429
|
+
or?: Array<webhook_delivery_filter>;
|
|
3430
|
+
};
|
|
3431
|
+
/**
|
|
3432
|
+
* Filters the query to results matching the given filter object
|
|
3433
|
+
*/
|
|
3434
|
+
type operation_success_filter = {
|
|
3435
|
+
and?: Array<operation_success_filter>;
|
|
3436
|
+
id?: operation_success_filter_id;
|
|
3437
|
+
message?: operation_success_filter_message;
|
|
3438
|
+
not?: operation_success_filter;
|
|
3439
|
+
or?: Array<operation_success_filter>;
|
|
3440
|
+
success?: operation_success_filter_success;
|
|
3441
|
+
};
|
|
3442
|
+
type thread_filter_id = {
|
|
3443
|
+
eq?: string;
|
|
3444
|
+
greater_than?: string;
|
|
3445
|
+
greater_than_or_equal?: string;
|
|
3446
|
+
in?: Array<string>;
|
|
3447
|
+
is_nil?: boolean;
|
|
3448
|
+
less_than?: string;
|
|
3449
|
+
less_than_or_equal?: string;
|
|
3450
|
+
not_eq?: string;
|
|
3451
|
+
};
|
|
3452
|
+
type tenant_membership_filter_user_id = {
|
|
3453
|
+
eq?: string;
|
|
3454
|
+
greater_than?: string;
|
|
3455
|
+
greater_than_or_equal?: string;
|
|
3456
|
+
in?: Array<string>;
|
|
3457
|
+
is_nil?: boolean;
|
|
3458
|
+
less_than?: string;
|
|
3459
|
+
less_than_or_equal?: string;
|
|
3460
|
+
not_eq?: string;
|
|
3461
|
+
};
|
|
3462
|
+
type transaction_filter_currency = {
|
|
3463
|
+
contains?: string;
|
|
3464
|
+
eq?: string;
|
|
3465
|
+
greater_than?: string;
|
|
3466
|
+
greater_than_or_equal?: string;
|
|
3467
|
+
ilike?: string;
|
|
3468
|
+
in?: Array<string>;
|
|
3469
|
+
is_nil?: boolean;
|
|
3470
|
+
less_than?: string;
|
|
3471
|
+
less_than_or_equal?: string;
|
|
3472
|
+
like?: string;
|
|
3473
|
+
not_eq?: string;
|
|
3474
|
+
};
|
|
3475
|
+
type bucket_filter_region = {
|
|
3476
|
+
contains?: string;
|
|
3477
|
+
eq?: string;
|
|
3478
|
+
greater_than?: string;
|
|
3479
|
+
greater_than_or_equal?: string;
|
|
3480
|
+
ilike?: string;
|
|
3481
|
+
in?: Array<string>;
|
|
3482
|
+
is_nil?: boolean;
|
|
3483
|
+
less_than?: string;
|
|
3484
|
+
less_than_or_equal?: string;
|
|
3485
|
+
like?: string;
|
|
3486
|
+
not_eq?: string;
|
|
3487
|
+
};
|
|
3488
|
+
/**
|
|
3489
|
+
* Filters the query to results matching the given filter object
|
|
3490
|
+
*/
|
|
3491
|
+
type presigned_url_filter = {
|
|
3492
|
+
and?: Array<presigned_url_filter>;
|
|
3493
|
+
expires_in?: presigned_url_filter_expires_in;
|
|
3494
|
+
id?: presigned_url_filter_id;
|
|
3495
|
+
not?: presigned_url_filter;
|
|
3496
|
+
or?: Array<presigned_url_filter>;
|
|
3497
|
+
storage_path?: presigned_url_filter_storage_path;
|
|
3498
|
+
upload_url?: presigned_url_filter_upload_url;
|
|
3499
|
+
};
|
|
3500
|
+
type saved_search_filter_is_shared = {
|
|
3501
|
+
eq?: boolean;
|
|
3502
|
+
greater_than?: boolean;
|
|
3503
|
+
greater_than_or_equal?: boolean;
|
|
3504
|
+
in?: Array<boolean>;
|
|
3505
|
+
is_nil?: boolean;
|
|
3506
|
+
less_than?: boolean;
|
|
3507
|
+
less_than_or_equal?: boolean;
|
|
3508
|
+
not_eq?: boolean;
|
|
3509
|
+
};
|
|
3510
|
+
type bucket_filter_type = {
|
|
3511
|
+
eq?: "public" | "private";
|
|
3512
|
+
greater_than?: "public" | "private";
|
|
3513
|
+
greater_than_or_equal?: "public" | "private";
|
|
3514
|
+
in?: Array<string>;
|
|
3515
|
+
is_nil?: boolean;
|
|
3516
|
+
less_than?: "public" | "private";
|
|
3517
|
+
less_than_or_equal?: "public" | "private";
|
|
3518
|
+
not_eq?: "public" | "private";
|
|
3519
|
+
};
|
|
3520
|
+
type eq7 = "public" | "private";
|
|
3521
|
+
declare const eq7: {
|
|
3522
|
+
readonly PUBLIC: "public";
|
|
3523
|
+
readonly PRIVATE: "private";
|
|
3524
|
+
};
|
|
3525
|
+
type greater_than7 = "public" | "private";
|
|
3526
|
+
declare const greater_than7: {
|
|
3527
|
+
readonly PUBLIC: "public";
|
|
3528
|
+
readonly PRIVATE: "private";
|
|
3529
|
+
};
|
|
3530
|
+
type greater_than_or_equal7 = "public" | "private";
|
|
3531
|
+
declare const greater_than_or_equal7: {
|
|
3532
|
+
readonly PUBLIC: "public";
|
|
3533
|
+
readonly PRIVATE: "private";
|
|
3534
|
+
};
|
|
3535
|
+
type less_than7 = "public" | "private";
|
|
3536
|
+
declare const less_than7: {
|
|
3537
|
+
readonly PUBLIC: "public";
|
|
3538
|
+
readonly PRIVATE: "private";
|
|
3539
|
+
};
|
|
3540
|
+
type less_than_or_equal7 = "public" | "private";
|
|
3541
|
+
declare const less_than_or_equal7: {
|
|
3542
|
+
readonly PUBLIC: "public";
|
|
3543
|
+
readonly PRIVATE: "private";
|
|
3544
|
+
};
|
|
3545
|
+
type not_eq7 = "public" | "private";
|
|
3546
|
+
declare const not_eq7: {
|
|
3547
|
+
readonly PUBLIC: "public";
|
|
3548
|
+
readonly PRIVATE: "private";
|
|
3549
|
+
};
|
|
3550
|
+
type document_stats_filter_total = {
|
|
3551
|
+
eq?: number;
|
|
3552
|
+
greater_than?: number;
|
|
3553
|
+
greater_than_or_equal?: number;
|
|
3554
|
+
in?: Array<number>;
|
|
3555
|
+
is_nil?: boolean;
|
|
3556
|
+
less_than?: number;
|
|
3557
|
+
less_than_or_equal?: number;
|
|
3558
|
+
not_eq?: number;
|
|
3559
|
+
};
|
|
3560
|
+
/**
|
|
3561
|
+
* Filters the query to results matching the given filter object
|
|
3562
|
+
*/
|
|
3563
|
+
type extraction_result_filter = {
|
|
3564
|
+
and?: Array<extraction_result_filter>;
|
|
3565
|
+
confidence_score?: extraction_result_filter_confidence_score;
|
|
3566
|
+
document?: document_filter;
|
|
3567
|
+
document_id?: extraction_result_filter_document_id;
|
|
3568
|
+
id?: extraction_result_filter_id;
|
|
3569
|
+
model_used?: extraction_result_filter_model_used;
|
|
3570
|
+
not?: extraction_result_filter;
|
|
3571
|
+
or?: Array<extraction_result_filter>;
|
|
3572
|
+
processing_time_ms?: extraction_result_filter_processing_time_ms;
|
|
3573
|
+
};
|
|
3574
|
+
type training_example_filter_output_json = {
|
|
3575
|
+
eq?: {
|
|
3576
|
+
[key: string]: unknown;
|
|
3577
|
+
};
|
|
3578
|
+
greater_than?: {
|
|
3579
|
+
[key: string]: unknown;
|
|
3580
|
+
};
|
|
3581
|
+
greater_than_or_equal?: {
|
|
3582
|
+
[key: string]: unknown;
|
|
3583
|
+
};
|
|
3584
|
+
in?: Array<{
|
|
3585
|
+
[key: string]: unknown;
|
|
3586
|
+
}>;
|
|
3587
|
+
is_nil?: boolean;
|
|
3588
|
+
less_than?: {
|
|
3589
|
+
[key: string]: unknown;
|
|
3590
|
+
};
|
|
3591
|
+
less_than_or_equal?: {
|
|
3592
|
+
[key: string]: unknown;
|
|
3593
|
+
};
|
|
3594
|
+
not_eq?: {
|
|
3595
|
+
[key: string]: unknown;
|
|
3596
|
+
};
|
|
3597
|
+
};
|
|
3598
|
+
type workspace_filter_renewal_params = {
|
|
3599
|
+
eq?: {
|
|
3600
|
+
[key: string]: unknown;
|
|
3601
|
+
};
|
|
3602
|
+
greater_than?: {
|
|
3603
|
+
[key: string]: unknown;
|
|
3604
|
+
};
|
|
3605
|
+
greater_than_or_equal?: {
|
|
3606
|
+
[key: string]: unknown;
|
|
3607
|
+
};
|
|
3608
|
+
in?: Array<{
|
|
3609
|
+
[key: string]: unknown;
|
|
3610
|
+
}>;
|
|
3611
|
+
is_nil?: boolean;
|
|
3612
|
+
less_than?: {
|
|
3613
|
+
[key: string]: unknown;
|
|
3614
|
+
};
|
|
3615
|
+
less_than_or_equal?: {
|
|
3616
|
+
[key: string]: unknown;
|
|
3617
|
+
};
|
|
3618
|
+
not_eq?: {
|
|
3619
|
+
[key: string]: unknown;
|
|
3620
|
+
};
|
|
3621
|
+
};
|
|
3622
|
+
type graph_node_filter_tenant_id = {
|
|
3623
|
+
eq?: string;
|
|
3624
|
+
greater_than?: string;
|
|
3625
|
+
greater_than_or_equal?: string;
|
|
3626
|
+
in?: Array<string>;
|
|
3627
|
+
is_nil?: boolean;
|
|
3628
|
+
less_than?: string;
|
|
3629
|
+
less_than_or_equal?: string;
|
|
3630
|
+
not_eq?: string;
|
|
3631
|
+
};
|
|
3632
|
+
type storage_stats_filter_total_buckets = {
|
|
3633
|
+
eq?: number;
|
|
3634
|
+
greater_than?: number;
|
|
3635
|
+
greater_than_or_equal?: number;
|
|
3636
|
+
in?: Array<number>;
|
|
3637
|
+
is_nil?: boolean;
|
|
3638
|
+
less_than?: number;
|
|
3639
|
+
less_than_or_equal?: number;
|
|
3640
|
+
not_eq?: number;
|
|
3641
|
+
};
|
|
3642
|
+
/**
|
|
3643
|
+
* A "Resource object" representing a payment
|
|
3644
|
+
*/
|
|
3645
|
+
type payment = {
|
|
3646
|
+
/**
|
|
3647
|
+
* An attributes object for a payment
|
|
3648
|
+
*/
|
|
3649
|
+
attributes?: {
|
|
3650
|
+
/**
|
|
3651
|
+
* Field included by default.
|
|
3652
|
+
*/
|
|
3653
|
+
amount?: number | null | null;
|
|
3654
|
+
/**
|
|
3655
|
+
* Field included by default.
|
|
3656
|
+
*/
|
|
3657
|
+
created_at: unknown;
|
|
3658
|
+
/**
|
|
3659
|
+
* Field included by default.
|
|
3660
|
+
*/
|
|
3661
|
+
currency?: string | null | null;
|
|
3662
|
+
/**
|
|
3663
|
+
* Field included by default.
|
|
3664
|
+
*/
|
|
3665
|
+
error_message?: string | null | null;
|
|
3666
|
+
/**
|
|
3667
|
+
* Field included by default.
|
|
3668
|
+
*/
|
|
3669
|
+
provider_reference?: string | null | null;
|
|
3670
|
+
/**
|
|
3671
|
+
* Field included by default.
|
|
3672
|
+
*/
|
|
3673
|
+
status?: string | null | null;
|
|
3674
|
+
};
|
|
3675
|
+
id: string;
|
|
3676
|
+
/**
|
|
3677
|
+
* A relationships object for a payment
|
|
3678
|
+
*/
|
|
3679
|
+
relationships?: {
|
|
3680
|
+
[key: string]: unknown;
|
|
3681
|
+
};
|
|
3682
|
+
type: string;
|
|
3683
|
+
};
|
|
3684
|
+
type transaction_filter_provider_reference = {
|
|
3685
|
+
contains?: string;
|
|
3686
|
+
eq?: string;
|
|
3687
|
+
greater_than?: string;
|
|
3688
|
+
greater_than_or_equal?: string;
|
|
3689
|
+
ilike?: string;
|
|
3690
|
+
in?: Array<string>;
|
|
3691
|
+
is_nil?: boolean;
|
|
3692
|
+
less_than?: string;
|
|
3693
|
+
less_than_or_equal?: string;
|
|
3694
|
+
like?: string;
|
|
3695
|
+
not_eq?: string;
|
|
3696
|
+
};
|
|
3697
|
+
type plan_filter_updated_at = {
|
|
3698
|
+
eq?: unknown;
|
|
3699
|
+
greater_than?: unknown;
|
|
3700
|
+
greater_than_or_equal?: unknown;
|
|
3701
|
+
in?: Array<unknown>;
|
|
3702
|
+
is_nil?: boolean;
|
|
3703
|
+
less_than?: unknown;
|
|
3704
|
+
less_than_or_equal?: unknown;
|
|
3705
|
+
not_eq?: unknown;
|
|
3706
|
+
};
|
|
3707
|
+
type saved_search_filter_query = {
|
|
3708
|
+
contains?: string;
|
|
3709
|
+
eq?: string;
|
|
3710
|
+
greater_than?: string;
|
|
3711
|
+
greater_than_or_equal?: string;
|
|
3712
|
+
ilike?: string;
|
|
3713
|
+
in?: Array<string>;
|
|
3714
|
+
is_nil?: boolean;
|
|
3715
|
+
less_than?: string;
|
|
3716
|
+
less_than_or_equal?: string;
|
|
3717
|
+
like?: string;
|
|
3718
|
+
not_eq?: string;
|
|
3719
|
+
};
|
|
3720
|
+
type search_filter_id = {
|
|
3721
|
+
eq?: string;
|
|
3722
|
+
greater_than?: string;
|
|
3723
|
+
greater_than_or_equal?: string;
|
|
3724
|
+
in?: Array<string>;
|
|
3725
|
+
is_nil?: boolean;
|
|
3726
|
+
less_than?: string;
|
|
3727
|
+
less_than_or_equal?: string;
|
|
3728
|
+
not_eq?: string;
|
|
3729
|
+
};
|
|
3730
|
+
type document_filter_storage_options = {
|
|
3731
|
+
eq?: {
|
|
3732
|
+
[key: string]: unknown;
|
|
3733
|
+
};
|
|
3734
|
+
greater_than?: {
|
|
3735
|
+
[key: string]: unknown;
|
|
3736
|
+
};
|
|
3737
|
+
greater_than_or_equal?: {
|
|
3738
|
+
[key: string]: unknown;
|
|
3739
|
+
};
|
|
3740
|
+
in?: Array<{
|
|
3741
|
+
[key: string]: unknown;
|
|
3742
|
+
}>;
|
|
3743
|
+
is_nil?: boolean;
|
|
3744
|
+
less_than?: {
|
|
3745
|
+
[key: string]: unknown;
|
|
3746
|
+
};
|
|
3747
|
+
less_than_or_equal?: {
|
|
3748
|
+
[key: string]: unknown;
|
|
3749
|
+
};
|
|
3750
|
+
not_eq?: {
|
|
3751
|
+
[key: string]: unknown;
|
|
3752
|
+
};
|
|
3753
|
+
};
|
|
3754
|
+
type document_chunk_filter_content = {
|
|
3755
|
+
contains?: string;
|
|
3756
|
+
eq?: string;
|
|
3757
|
+
greater_than?: string;
|
|
3758
|
+
greater_than_or_equal?: string;
|
|
3759
|
+
ilike?: string;
|
|
3760
|
+
in?: Array<string>;
|
|
3761
|
+
is_nil?: boolean;
|
|
3762
|
+
less_than?: string;
|
|
3763
|
+
less_than_or_equal?: string;
|
|
3764
|
+
like?: string;
|
|
3765
|
+
not_eq?: string;
|
|
3766
|
+
};
|
|
3767
|
+
type thread_filter_title = {
|
|
3768
|
+
contains?: string;
|
|
3769
|
+
eq?: string;
|
|
3770
|
+
greater_than?: string;
|
|
3771
|
+
greater_than_or_equal?: string;
|
|
3772
|
+
ilike?: string;
|
|
3773
|
+
in?: Array<string>;
|
|
3774
|
+
is_nil?: boolean;
|
|
3775
|
+
less_than?: string;
|
|
3776
|
+
less_than_or_equal?: string;
|
|
3777
|
+
like?: string;
|
|
3778
|
+
not_eq?: string;
|
|
3779
|
+
};
|
|
3780
|
+
type pricing_strategy_filter_id = {
|
|
3781
|
+
eq?: string;
|
|
3782
|
+
greater_than?: string;
|
|
3783
|
+
greater_than_or_equal?: string;
|
|
3784
|
+
in?: Array<string>;
|
|
3785
|
+
is_nil?: boolean;
|
|
3786
|
+
less_than?: string;
|
|
3787
|
+
less_than_or_equal?: string;
|
|
3788
|
+
not_eq?: string;
|
|
3789
|
+
};
|
|
3790
|
+
/**
|
|
3791
|
+
* A "Resource object" representing a presigned_url
|
|
3792
|
+
*/
|
|
3793
|
+
type presigned_url = {
|
|
3794
|
+
/**
|
|
3795
|
+
* An attributes object for a presigned_url
|
|
3796
|
+
*/
|
|
3797
|
+
attributes?: {
|
|
3798
|
+
/**
|
|
3799
|
+
* Field included by default.
|
|
3800
|
+
*/
|
|
3801
|
+
expires_in: number;
|
|
3802
|
+
/**
|
|
3803
|
+
* Field included by default.
|
|
3804
|
+
*/
|
|
3805
|
+
storage_path: string;
|
|
3806
|
+
/**
|
|
3807
|
+
* Field included by default.
|
|
3808
|
+
*/
|
|
3809
|
+
upload_url: string;
|
|
3810
|
+
};
|
|
3811
|
+
id: string;
|
|
3812
|
+
/**
|
|
3813
|
+
* A relationships object for a presigned_url
|
|
3814
|
+
*/
|
|
3815
|
+
relationships?: {
|
|
3816
|
+
[key: string]: unknown;
|
|
3817
|
+
};
|
|
3818
|
+
type: string;
|
|
3819
|
+
};
|
|
3820
|
+
type tenant_filter_storage_quota_bytes = {
|
|
3821
|
+
eq?: number;
|
|
3822
|
+
greater_than?: number;
|
|
3823
|
+
greater_than_or_equal?: number;
|
|
3824
|
+
in?: Array<number>;
|
|
3825
|
+
is_nil?: boolean;
|
|
3826
|
+
less_than?: number;
|
|
3827
|
+
less_than_or_equal?: number;
|
|
3828
|
+
not_eq?: number;
|
|
3829
|
+
};
|
|
3830
|
+
type customer_filter_id = {
|
|
3831
|
+
eq?: string;
|
|
3832
|
+
greater_than?: string;
|
|
3833
|
+
greater_than_or_equal?: string;
|
|
3834
|
+
in?: Array<string>;
|
|
3835
|
+
is_nil?: boolean;
|
|
3836
|
+
less_than?: string;
|
|
3837
|
+
less_than_or_equal?: string;
|
|
3838
|
+
not_eq?: string;
|
|
3839
|
+
};
|
|
3840
|
+
type object_filter_size_bytes = {
|
|
3841
|
+
eq?: number;
|
|
3842
|
+
greater_than?: number;
|
|
3843
|
+
greater_than_or_equal?: number;
|
|
3844
|
+
in?: Array<number>;
|
|
3845
|
+
is_nil?: boolean;
|
|
3846
|
+
less_than?: number;
|
|
3847
|
+
less_than_or_equal?: number;
|
|
3848
|
+
not_eq?: number;
|
|
3849
|
+
};
|
|
3850
|
+
type embedding_filter_embedding = {
|
|
3851
|
+
eq?: unknown;
|
|
3852
|
+
greater_than?: unknown;
|
|
3853
|
+
greater_than_or_equal?: unknown;
|
|
3854
|
+
in?: Array<unknown>;
|
|
3855
|
+
is_nil?: boolean;
|
|
3856
|
+
less_than?: unknown;
|
|
3857
|
+
less_than_or_equal?: unknown;
|
|
3858
|
+
not_eq?: unknown;
|
|
3859
|
+
};
|
|
3860
|
+
/**
|
|
3861
|
+
* A "Resource object" representing a workspace-membership
|
|
3862
|
+
*/
|
|
3863
|
+
type workspace_membership = {
|
|
3864
|
+
/**
|
|
3865
|
+
* An attributes object for a workspace-membership
|
|
3866
|
+
*/
|
|
3867
|
+
attributes?: {
|
|
3868
|
+
[key: string]: unknown;
|
|
3869
|
+
};
|
|
3870
|
+
id: string;
|
|
3871
|
+
/**
|
|
3872
|
+
* A relationships object for a workspace-membership
|
|
3873
|
+
*/
|
|
3874
|
+
relationships?: {
|
|
3875
|
+
[key: string]: unknown;
|
|
3876
|
+
};
|
|
3877
|
+
type: string;
|
|
3878
|
+
};
|
|
3879
|
+
type graph_edge_filter_source_id = {
|
|
3880
|
+
eq?: string;
|
|
3881
|
+
greater_than?: string;
|
|
3882
|
+
greater_than_or_equal?: string;
|
|
3883
|
+
in?: Array<string>;
|
|
3884
|
+
is_nil?: boolean;
|
|
3885
|
+
less_than?: string;
|
|
3886
|
+
less_than_or_equal?: string;
|
|
3887
|
+
not_eq?: string;
|
|
3888
|
+
};
|
|
3889
|
+
type payment_method_filter_id = {
|
|
3890
|
+
eq?: string;
|
|
3891
|
+
greater_than?: string;
|
|
3892
|
+
greater_than_or_equal?: string;
|
|
3893
|
+
in?: Array<string>;
|
|
3894
|
+
is_nil?: boolean;
|
|
3895
|
+
less_than?: string;
|
|
3896
|
+
less_than_or_equal?: string;
|
|
3897
|
+
not_eq?: string;
|
|
3898
|
+
};
|
|
3899
|
+
type transaction_filter_updated_at = {
|
|
3900
|
+
eq?: unknown;
|
|
3901
|
+
greater_than?: unknown;
|
|
3902
|
+
greater_than_or_equal?: unknown;
|
|
3903
|
+
in?: Array<unknown>;
|
|
3904
|
+
is_nil?: boolean;
|
|
3905
|
+
less_than?: unknown;
|
|
3906
|
+
less_than_or_equal?: unknown;
|
|
3907
|
+
not_eq?: unknown;
|
|
3908
|
+
};
|
|
3909
|
+
type operation_success_filter_success = {
|
|
3910
|
+
eq?: boolean;
|
|
3911
|
+
greater_than?: boolean;
|
|
3912
|
+
greater_than_or_equal?: boolean;
|
|
3913
|
+
in?: Array<boolean>;
|
|
3914
|
+
is_nil?: boolean;
|
|
3915
|
+
less_than?: boolean;
|
|
3916
|
+
less_than_or_equal?: boolean;
|
|
3917
|
+
not_eq?: boolean;
|
|
3918
|
+
};
|
|
3919
|
+
type document_stats_filter_failed = {
|
|
3920
|
+
eq?: number;
|
|
3921
|
+
greater_than?: number;
|
|
3922
|
+
greater_than_or_equal?: number;
|
|
3923
|
+
in?: Array<number>;
|
|
3924
|
+
is_nil?: boolean;
|
|
3925
|
+
less_than?: number;
|
|
3926
|
+
less_than_or_equal?: number;
|
|
3927
|
+
not_eq?: number;
|
|
3928
|
+
};
|
|
3929
|
+
/**
|
|
3930
|
+
* A "Resource object" representing a config
|
|
3931
|
+
*/
|
|
3932
|
+
type config = {
|
|
3933
|
+
/**
|
|
3934
|
+
* An attributes object for a config
|
|
3935
|
+
*/
|
|
3936
|
+
attributes?: {
|
|
3937
|
+
/**
|
|
3938
|
+
* Field included by default.
|
|
3939
|
+
*/
|
|
3940
|
+
description?: string | null | null;
|
|
3941
|
+
/**
|
|
3942
|
+
* Field included by default.
|
|
3943
|
+
*/
|
|
3944
|
+
value: string;
|
|
3945
|
+
};
|
|
3946
|
+
id: string;
|
|
3947
|
+
/**
|
|
3948
|
+
* A relationships object for a config
|
|
3949
|
+
*/
|
|
3950
|
+
relationships?: {
|
|
3951
|
+
[key: string]: unknown;
|
|
3952
|
+
};
|
|
3953
|
+
type: string;
|
|
3954
|
+
};
|
|
3955
|
+
type account_filter_id = {
|
|
3956
|
+
eq?: string;
|
|
3957
|
+
greater_than?: string;
|
|
3958
|
+
greater_than_or_equal?: string;
|
|
3959
|
+
in?: Array<string>;
|
|
3960
|
+
is_nil?: boolean;
|
|
3961
|
+
less_than?: string;
|
|
3962
|
+
less_than_or_equal?: string;
|
|
3963
|
+
not_eq?: string;
|
|
3964
|
+
};
|
|
3965
|
+
type workspace_filter_id = {
|
|
3966
|
+
eq?: string;
|
|
3967
|
+
greater_than?: string;
|
|
3968
|
+
greater_than_or_equal?: string;
|
|
3969
|
+
in?: Array<string>;
|
|
3970
|
+
is_nil?: boolean;
|
|
3971
|
+
less_than?: string;
|
|
3972
|
+
less_than_or_equal?: string;
|
|
3973
|
+
not_eq?: string;
|
|
3974
|
+
};
|
|
3975
|
+
type plan_filter_name = {
|
|
3976
|
+
contains?: string;
|
|
3977
|
+
eq?: string;
|
|
3978
|
+
greater_than?: string;
|
|
3979
|
+
greater_than_or_equal?: string;
|
|
3980
|
+
ilike?: string;
|
|
3981
|
+
in?: Array<string>;
|
|
3982
|
+
is_nil?: boolean;
|
|
3983
|
+
less_than?: string;
|
|
3984
|
+
less_than_or_equal?: string;
|
|
3985
|
+
like?: string;
|
|
3986
|
+
not_eq?: string;
|
|
3987
|
+
};
|
|
3988
|
+
type audit_log_filter_actor_id = {
|
|
3989
|
+
eq?: string;
|
|
3990
|
+
greater_than?: string;
|
|
3991
|
+
greater_than_or_equal?: string;
|
|
3992
|
+
in?: Array<string>;
|
|
3993
|
+
is_nil?: boolean;
|
|
3994
|
+
less_than?: string;
|
|
3995
|
+
less_than_or_equal?: string;
|
|
3996
|
+
not_eq?: string;
|
|
3997
|
+
};
|
|
3998
|
+
/**
|
|
3999
|
+
* A "Resource object" representing a ai_config
|
|
4000
|
+
*/
|
|
4001
|
+
type ai_config = {
|
|
4002
|
+
/**
|
|
4003
|
+
* An attributes object for a ai_config
|
|
4004
|
+
*/
|
|
4005
|
+
attributes?: {
|
|
4006
|
+
[key: string]: unknown;
|
|
4007
|
+
};
|
|
4008
|
+
id: string;
|
|
4009
|
+
/**
|
|
4010
|
+
* A relationships object for a ai_config
|
|
4011
|
+
*/
|
|
4012
|
+
relationships?: {
|
|
4013
|
+
[key: string]: unknown;
|
|
4014
|
+
};
|
|
4015
|
+
type: string;
|
|
4016
|
+
};
|
|
4017
|
+
type saved_search_filter_filters = {
|
|
4018
|
+
eq?: {
|
|
4019
|
+
[key: string]: unknown;
|
|
4020
|
+
};
|
|
4021
|
+
greater_than?: {
|
|
4022
|
+
[key: string]: unknown;
|
|
4023
|
+
};
|
|
4024
|
+
greater_than_or_equal?: {
|
|
4025
|
+
[key: string]: unknown;
|
|
4026
|
+
};
|
|
4027
|
+
in?: Array<{
|
|
4028
|
+
[key: string]: unknown;
|
|
4029
|
+
}>;
|
|
4030
|
+
is_nil?: boolean;
|
|
4031
|
+
less_than?: {
|
|
4032
|
+
[key: string]: unknown;
|
|
4033
|
+
};
|
|
4034
|
+
less_than_or_equal?: {
|
|
4035
|
+
[key: string]: unknown;
|
|
4036
|
+
};
|
|
4037
|
+
not_eq?: {
|
|
4038
|
+
[key: string]: unknown;
|
|
4039
|
+
};
|
|
4040
|
+
};
|
|
4041
|
+
type embedding_filter_model = {
|
|
4042
|
+
contains?: string;
|
|
4043
|
+
eq?: string;
|
|
4044
|
+
greater_than?: string;
|
|
4045
|
+
greater_than_or_equal?: string;
|
|
4046
|
+
in?: Array<string>;
|
|
4047
|
+
is_nil?: boolean;
|
|
4048
|
+
less_than?: string;
|
|
4049
|
+
less_than_or_equal?: string;
|
|
4050
|
+
not_eq?: string;
|
|
4051
|
+
};
|
|
4052
|
+
type transaction_filter_type = {
|
|
4053
|
+
eq?: "sale" | "auth" | "refund" | "void";
|
|
4054
|
+
greater_than?: "sale" | "auth" | "refund" | "void";
|
|
4055
|
+
greater_than_or_equal?: "sale" | "auth" | "refund" | "void";
|
|
4056
|
+
in?: Array<string>;
|
|
4057
|
+
is_nil?: boolean;
|
|
4058
|
+
less_than?: "sale" | "auth" | "refund" | "void";
|
|
4059
|
+
less_than_or_equal?: "sale" | "auth" | "refund" | "void";
|
|
4060
|
+
not_eq?: "sale" | "auth" | "refund" | "void";
|
|
4061
|
+
};
|
|
4062
|
+
type eq8 = "sale" | "auth" | "refund" | "void";
|
|
4063
|
+
declare const eq8: {
|
|
4064
|
+
readonly SALE: "sale";
|
|
4065
|
+
readonly AUTH: "auth";
|
|
4066
|
+
readonly REFUND: "refund";
|
|
4067
|
+
readonly VOID: "void";
|
|
4068
|
+
};
|
|
4069
|
+
type greater_than8 = "sale" | "auth" | "refund" | "void";
|
|
4070
|
+
declare const greater_than8: {
|
|
4071
|
+
readonly SALE: "sale";
|
|
4072
|
+
readonly AUTH: "auth";
|
|
4073
|
+
readonly REFUND: "refund";
|
|
4074
|
+
readonly VOID: "void";
|
|
4075
|
+
};
|
|
4076
|
+
type greater_than_or_equal8 = "sale" | "auth" | "refund" | "void";
|
|
4077
|
+
declare const greater_than_or_equal8: {
|
|
4078
|
+
readonly SALE: "sale";
|
|
4079
|
+
readonly AUTH: "auth";
|
|
4080
|
+
readonly REFUND: "refund";
|
|
4081
|
+
readonly VOID: "void";
|
|
4082
|
+
};
|
|
4083
|
+
type less_than8 = "sale" | "auth" | "refund" | "void";
|
|
4084
|
+
declare const less_than8: {
|
|
4085
|
+
readonly SALE: "sale";
|
|
4086
|
+
readonly AUTH: "auth";
|
|
4087
|
+
readonly REFUND: "refund";
|
|
4088
|
+
readonly VOID: "void";
|
|
4089
|
+
};
|
|
4090
|
+
type less_than_or_equal8 = "sale" | "auth" | "refund" | "void";
|
|
4091
|
+
declare const less_than_or_equal8: {
|
|
4092
|
+
readonly SALE: "sale";
|
|
4093
|
+
readonly AUTH: "auth";
|
|
4094
|
+
readonly REFUND: "refund";
|
|
4095
|
+
readonly VOID: "void";
|
|
4096
|
+
};
|
|
4097
|
+
type not_eq8 = "sale" | "auth" | "refund" | "void";
|
|
4098
|
+
declare const not_eq8: {
|
|
4099
|
+
readonly SALE: "sale";
|
|
4100
|
+
readonly AUTH: "auth";
|
|
4101
|
+
readonly REFUND: "refund";
|
|
4102
|
+
readonly VOID: "void";
|
|
4103
|
+
};
|
|
4104
|
+
type token_filter_exp_month = {
|
|
4105
|
+
eq?: number;
|
|
4106
|
+
greater_than?: number;
|
|
4107
|
+
greater_than_or_equal?: number;
|
|
4108
|
+
in?: Array<number>;
|
|
4109
|
+
is_nil?: boolean;
|
|
4110
|
+
less_than?: number;
|
|
4111
|
+
less_than_or_equal?: number;
|
|
4112
|
+
not_eq?: number;
|
|
4113
|
+
};
|
|
4114
|
+
type user_profile_filter_bio = {
|
|
4115
|
+
contains?: string;
|
|
4116
|
+
eq?: string;
|
|
4117
|
+
greater_than?: string;
|
|
4118
|
+
greater_than_or_equal?: string;
|
|
4119
|
+
ilike?: string;
|
|
4120
|
+
in?: Array<string>;
|
|
4121
|
+
is_nil?: boolean;
|
|
4122
|
+
less_than?: string;
|
|
4123
|
+
less_than_or_equal?: string;
|
|
4124
|
+
like?: string;
|
|
4125
|
+
not_eq?: string;
|
|
4126
|
+
};
|
|
4127
|
+
/**
|
|
4128
|
+
* Filters the query to results matching the given filter object
|
|
4129
|
+
*/
|
|
4130
|
+
type webhook_config_filter = {
|
|
4131
|
+
and?: Array<webhook_config_filter>;
|
|
4132
|
+
id?: webhook_config_filter_id;
|
|
4133
|
+
not?: webhook_config_filter;
|
|
4134
|
+
or?: Array<webhook_config_filter>;
|
|
4135
|
+
};
|
|
4136
|
+
/**
|
|
4137
|
+
* A "Resource object" representing a subscription
|
|
4138
|
+
*/
|
|
4139
|
+
type subscription = {
|
|
4140
|
+
/**
|
|
4141
|
+
* An attributes object for a subscription
|
|
4142
|
+
*/
|
|
4143
|
+
attributes?: {
|
|
4144
|
+
[key: string]: unknown;
|
|
4145
|
+
};
|
|
4146
|
+
id: string;
|
|
4147
|
+
/**
|
|
4148
|
+
* A relationships object for a subscription
|
|
4149
|
+
*/
|
|
4150
|
+
relationships?: {
|
|
4151
|
+
[key: string]: unknown;
|
|
4152
|
+
};
|
|
4153
|
+
type: string;
|
|
4154
|
+
};
|
|
4155
|
+
type invitation_filter_id = {
|
|
4156
|
+
eq?: string;
|
|
4157
|
+
greater_than?: string;
|
|
4158
|
+
greater_than_or_equal?: string;
|
|
4159
|
+
in?: Array<string>;
|
|
4160
|
+
is_nil?: boolean;
|
|
4161
|
+
less_than?: string;
|
|
4162
|
+
less_than_or_equal?: string;
|
|
4163
|
+
not_eq?: string;
|
|
4164
|
+
};
|
|
4165
|
+
type training_example_filter_id = {
|
|
4166
|
+
eq?: string;
|
|
4167
|
+
greater_than?: string;
|
|
4168
|
+
greater_than_or_equal?: string;
|
|
4169
|
+
in?: Array<string>;
|
|
4170
|
+
is_nil?: boolean;
|
|
4171
|
+
less_than?: string;
|
|
4172
|
+
less_than_or_equal?: string;
|
|
4173
|
+
not_eq?: string;
|
|
4174
|
+
};
|
|
4175
|
+
/**
|
|
4176
|
+
* Filters the query to results matching the given filter object
|
|
4177
|
+
*/
|
|
4178
|
+
type bucket_filter = {
|
|
4179
|
+
and?: Array<bucket_filter>;
|
|
4180
|
+
id?: bucket_filter_id;
|
|
4181
|
+
name?: bucket_filter_name;
|
|
4182
|
+
not?: bucket_filter;
|
|
4183
|
+
objects?: object_filter;
|
|
4184
|
+
or?: Array<bucket_filter>;
|
|
4185
|
+
region?: bucket_filter_region;
|
|
4186
|
+
storage_used?: bucket_filter_storage_used;
|
|
4187
|
+
type?: bucket_filter_type;
|
|
4188
|
+
};
|
|
4189
|
+
/**
|
|
4190
|
+
* Filters the query to results matching the given filter object
|
|
4191
|
+
*/
|
|
4192
|
+
type customer_filter = {
|
|
4193
|
+
and?: Array<customer_filter>;
|
|
4194
|
+
id?: customer_filter_id;
|
|
4195
|
+
not?: customer_filter;
|
|
4196
|
+
or?: Array<customer_filter>;
|
|
4197
|
+
};
|
|
4198
|
+
type document_filter_mime_type = {
|
|
4199
|
+
contains?: string;
|
|
4200
|
+
eq?: string;
|
|
4201
|
+
greater_than?: string;
|
|
4202
|
+
greater_than_or_equal?: string;
|
|
4203
|
+
ilike?: string;
|
|
4204
|
+
in?: Array<string>;
|
|
4205
|
+
is_nil?: boolean;
|
|
4206
|
+
less_than?: string;
|
|
4207
|
+
less_than_or_equal?: string;
|
|
4208
|
+
like?: string;
|
|
4209
|
+
not_eq?: string;
|
|
4210
|
+
};
|
|
4211
|
+
type presigned_url_filter_headers = {
|
|
4212
|
+
eq?: {
|
|
4213
|
+
[key: string]: unknown;
|
|
4214
|
+
};
|
|
4215
|
+
greater_than?: {
|
|
4216
|
+
[key: string]: unknown;
|
|
4217
|
+
};
|
|
4218
|
+
greater_than_or_equal?: {
|
|
4219
|
+
[key: string]: unknown;
|
|
4220
|
+
};
|
|
4221
|
+
in?: Array<{
|
|
4222
|
+
[key: string]: unknown;
|
|
4223
|
+
}>;
|
|
4224
|
+
is_nil?: boolean;
|
|
4225
|
+
less_than?: {
|
|
4226
|
+
[key: string]: unknown;
|
|
4227
|
+
};
|
|
4228
|
+
less_than_or_equal?: {
|
|
4229
|
+
[key: string]: unknown;
|
|
4230
|
+
};
|
|
4231
|
+
not_eq?: {
|
|
4232
|
+
[key: string]: unknown;
|
|
4233
|
+
};
|
|
4234
|
+
};
|
|
4235
|
+
type audit_log_filter_resource_id = {
|
|
4236
|
+
contains?: string;
|
|
4237
|
+
eq?: string;
|
|
4238
|
+
greater_than?: string;
|
|
4239
|
+
greater_than_or_equal?: string;
|
|
4240
|
+
ilike?: string;
|
|
4241
|
+
in?: Array<string>;
|
|
4242
|
+
is_nil?: boolean;
|
|
4243
|
+
less_than?: string;
|
|
4244
|
+
less_than_or_equal?: string;
|
|
4245
|
+
like?: string;
|
|
4246
|
+
not_eq?: string;
|
|
4247
|
+
};
|
|
4248
|
+
/**
|
|
4249
|
+
* A "Resource object" representing a search
|
|
4250
|
+
*/
|
|
4251
|
+
type search = {
|
|
4252
|
+
/**
|
|
4253
|
+
* An attributes object for a search
|
|
4254
|
+
*/
|
|
4255
|
+
attributes?: {
|
|
4256
|
+
/**
|
|
4257
|
+
* Field included by default.
|
|
4258
|
+
*/
|
|
4259
|
+
results?: Array<{
|
|
4260
|
+
[key: string]: unknown;
|
|
4261
|
+
}> | null | null;
|
|
4262
|
+
};
|
|
4263
|
+
id: string;
|
|
4264
|
+
/**
|
|
4265
|
+
* A relationships object for a search
|
|
4266
|
+
*/
|
|
4267
|
+
relationships?: {
|
|
4268
|
+
[key: string]: unknown;
|
|
4269
|
+
};
|
|
4270
|
+
type: string;
|
|
4271
|
+
};
|
|
4272
|
+
type credit_package_filter_slug = {
|
|
4273
|
+
contains?: string;
|
|
4274
|
+
eq?: string;
|
|
4275
|
+
greater_than?: string;
|
|
4276
|
+
greater_than_or_equal?: string;
|
|
4277
|
+
ilike?: string;
|
|
4278
|
+
in?: Array<string>;
|
|
4279
|
+
is_nil?: boolean;
|
|
4280
|
+
less_than?: string;
|
|
4281
|
+
less_than_or_equal?: string;
|
|
4282
|
+
like?: string;
|
|
4283
|
+
not_eq?: string;
|
|
4284
|
+
};
|
|
4285
|
+
type audit_log_filter_action = {
|
|
4286
|
+
contains?: string;
|
|
4287
|
+
eq?: string;
|
|
4288
|
+
greater_than?: string;
|
|
4289
|
+
greater_than_or_equal?: string;
|
|
4290
|
+
ilike?: string;
|
|
4291
|
+
in?: Array<string>;
|
|
4292
|
+
is_nil?: boolean;
|
|
4293
|
+
less_than?: string;
|
|
4294
|
+
less_than_or_equal?: string;
|
|
4295
|
+
like?: string;
|
|
4296
|
+
not_eq?: string;
|
|
4297
|
+
};
|
|
4298
|
+
type user_profile_filter_last_name = {
|
|
4299
|
+
contains?: string;
|
|
4300
|
+
eq?: string;
|
|
4301
|
+
greater_than?: string;
|
|
4302
|
+
greater_than_or_equal?: string;
|
|
4303
|
+
ilike?: string;
|
|
4304
|
+
in?: Array<string>;
|
|
4305
|
+
is_nil?: boolean;
|
|
4306
|
+
less_than?: string;
|
|
4307
|
+
less_than_or_equal?: string;
|
|
4308
|
+
like?: string;
|
|
4309
|
+
not_eq?: string;
|
|
4310
|
+
};
|
|
4311
|
+
type payment_filter_created_at = {
|
|
4312
|
+
eq?: unknown;
|
|
4313
|
+
greater_than?: unknown;
|
|
4314
|
+
greater_than_or_equal?: unknown;
|
|
4315
|
+
in?: Array<unknown>;
|
|
4316
|
+
is_nil?: boolean;
|
|
4317
|
+
less_than?: unknown;
|
|
4318
|
+
less_than_or_equal?: unknown;
|
|
4319
|
+
not_eq?: unknown;
|
|
4320
|
+
};
|
|
4321
|
+
/**
|
|
4322
|
+
* Filters the query to results matching the given filter object
|
|
4323
|
+
*/
|
|
4324
|
+
type plan_filter = {
|
|
4325
|
+
and?: Array<plan_filter>;
|
|
4326
|
+
id?: plan_filter_id;
|
|
4327
|
+
not?: plan_filter;
|
|
4328
|
+
or?: Array<plan_filter>;
|
|
4329
|
+
};
|
|
4330
|
+
/**
|
|
4331
|
+
* Filters the query to results matching the given filter object
|
|
4332
|
+
*/
|
|
4333
|
+
type api_key_filter = {
|
|
4334
|
+
and?: Array<api_key_filter>;
|
|
4335
|
+
id?: api_key_filter_id;
|
|
4336
|
+
not?: api_key_filter;
|
|
4337
|
+
or?: Array<api_key_filter>;
|
|
4338
|
+
status?: api_key_filter_status;
|
|
4339
|
+
};
|
|
4340
|
+
type presigned_url_filter_url = {
|
|
4341
|
+
contains?: string;
|
|
4342
|
+
eq?: string;
|
|
4343
|
+
greater_than?: string;
|
|
4344
|
+
greater_than_or_equal?: string;
|
|
4345
|
+
in?: Array<string>;
|
|
4346
|
+
is_nil?: boolean;
|
|
4347
|
+
less_than?: string;
|
|
4348
|
+
less_than_or_equal?: string;
|
|
4349
|
+
not_eq?: string;
|
|
4350
|
+
};
|
|
4351
|
+
/**
|
|
4352
|
+
* A "Resource object" representing a bucket
|
|
4353
|
+
*/
|
|
4354
|
+
type bucket = {
|
|
4355
|
+
/**
|
|
4356
|
+
* An attributes object for a bucket
|
|
4357
|
+
*/
|
|
4358
|
+
attributes?: {
|
|
4359
|
+
/**
|
|
4360
|
+
* Field included by default.
|
|
4361
|
+
*/
|
|
4362
|
+
name: string;
|
|
4363
|
+
/**
|
|
4364
|
+
* Field included by default.
|
|
4365
|
+
*/
|
|
4366
|
+
region?: string | null | null;
|
|
4367
|
+
storage_used?: number | null | null;
|
|
4368
|
+
/**
|
|
4369
|
+
* Field included by default.
|
|
4370
|
+
*/
|
|
4371
|
+
type: "public" | "private";
|
|
4372
|
+
};
|
|
4373
|
+
id: string;
|
|
4374
|
+
/**
|
|
4375
|
+
* A relationships object for a bucket
|
|
4376
|
+
*/
|
|
4377
|
+
relationships?: {
|
|
4378
|
+
objects?: {
|
|
4379
|
+
/**
|
|
4380
|
+
* Relationship data for objects
|
|
4381
|
+
*/
|
|
4382
|
+
data?: Array<{
|
|
4383
|
+
id: string;
|
|
4384
|
+
meta?: {
|
|
4385
|
+
[key: string]: unknown;
|
|
4386
|
+
};
|
|
4387
|
+
type: string;
|
|
4388
|
+
}>;
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4391
|
+
type: string;
|
|
4392
|
+
};
|
|
4393
|
+
/**
|
|
4394
|
+
* Field included by default.
|
|
4395
|
+
*/
|
|
4396
|
+
type type = "public" | "private";
|
|
4397
|
+
/**
|
|
4398
|
+
* Field included by default.
|
|
4399
|
+
*/
|
|
4400
|
+
declare const type: {
|
|
4401
|
+
readonly PUBLIC: "public";
|
|
4402
|
+
readonly PRIVATE: "private";
|
|
4403
|
+
};
|
|
4404
|
+
/**
|
|
4405
|
+
* A "Resource object" representing a pricing_strategy
|
|
4406
|
+
*/
|
|
4407
|
+
type pricing_strategy = {
|
|
4408
|
+
/**
|
|
4409
|
+
* An attributes object for a pricing_strategy
|
|
4410
|
+
*/
|
|
4411
|
+
attributes?: {
|
|
4412
|
+
[key: string]: unknown;
|
|
4413
|
+
};
|
|
4414
|
+
id: string;
|
|
4415
|
+
/**
|
|
4416
|
+
* A relationships object for a pricing_strategy
|
|
4417
|
+
*/
|
|
4418
|
+
relationships?: {
|
|
4419
|
+
[key: string]: unknown;
|
|
4420
|
+
};
|
|
4421
|
+
type: string;
|
|
4422
|
+
};
|
|
4423
|
+
type webhook_config_filter_id = {
|
|
4424
|
+
eq?: string;
|
|
4425
|
+
greater_than?: string;
|
|
4426
|
+
greater_than_or_equal?: string;
|
|
4427
|
+
in?: Array<string>;
|
|
4428
|
+
is_nil?: boolean;
|
|
4429
|
+
less_than?: string;
|
|
4430
|
+
less_than_or_equal?: string;
|
|
4431
|
+
not_eq?: string;
|
|
4432
|
+
};
|
|
4433
|
+
/**
|
|
4434
|
+
* A "Resource object" representing a agent
|
|
4435
|
+
*/
|
|
4436
|
+
type agent = {
|
|
4437
|
+
/**
|
|
4438
|
+
* An attributes object for a agent
|
|
4439
|
+
*/
|
|
4440
|
+
attributes?: {
|
|
4441
|
+
test_result?: {
|
|
4442
|
+
[key: string]: unknown;
|
|
4443
|
+
} | null | null;
|
|
4444
|
+
validation_result?: {
|
|
4445
|
+
[key: string]: unknown;
|
|
4446
|
+
} | null | null;
|
|
4447
|
+
};
|
|
4448
|
+
id: string;
|
|
4449
|
+
/**
|
|
4450
|
+
* A relationships object for a agent
|
|
4451
|
+
*/
|
|
4452
|
+
relationships?: {
|
|
4453
|
+
[key: string]: unknown;
|
|
4454
|
+
};
|
|
4455
|
+
type: string;
|
|
4456
|
+
};
|
|
4457
|
+
/**
|
|
4458
|
+
* Filters the query to results matching the given filter object
|
|
4459
|
+
*/
|
|
4460
|
+
type tenant_membership_filter = {
|
|
4461
|
+
and?: Array<tenant_membership_filter>;
|
|
4462
|
+
not?: tenant_membership_filter;
|
|
4463
|
+
or?: Array<tenant_membership_filter>;
|
|
4464
|
+
role?: tenant_membership_filter_role;
|
|
4465
|
+
tenant_id?: tenant_membership_filter_tenant_id;
|
|
4466
|
+
user_id?: tenant_membership_filter_user_id;
|
|
4467
|
+
};
|
|
4468
|
+
/**
|
|
4469
|
+
* A "Resource object" representing a credit_package
|
|
4470
|
+
*/
|
|
4471
|
+
type credit_package = {
|
|
4472
|
+
/**
|
|
4473
|
+
* An attributes object for a credit_package
|
|
4474
|
+
*/
|
|
4475
|
+
attributes?: {
|
|
4476
|
+
[key: string]: unknown;
|
|
4477
|
+
};
|
|
4478
|
+
id: string;
|
|
4479
|
+
/**
|
|
4480
|
+
* A relationships object for a credit_package
|
|
4481
|
+
*/
|
|
4482
|
+
relationships?: {
|
|
4483
|
+
[key: string]: unknown;
|
|
4484
|
+
};
|
|
4485
|
+
type: string;
|
|
4486
|
+
};
|
|
4487
|
+
/**
|
|
4488
|
+
* A "Resource object" representing a document_chunk
|
|
4489
|
+
*/
|
|
4490
|
+
type document_chunk = {
|
|
4491
|
+
/**
|
|
4492
|
+
* An attributes object for a document_chunk
|
|
4493
|
+
*/
|
|
4494
|
+
attributes?: {
|
|
4495
|
+
/**
|
|
4496
|
+
* Field included by default.
|
|
4497
|
+
*/
|
|
4498
|
+
chunk_index: number;
|
|
4499
|
+
/**
|
|
4500
|
+
* Field included by default.
|
|
4501
|
+
*/
|
|
4502
|
+
content: string;
|
|
4503
|
+
/**
|
|
4504
|
+
* Field included by default.
|
|
4505
|
+
*/
|
|
4506
|
+
document_id: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* Field included by default.
|
|
4509
|
+
*/
|
|
4510
|
+
embedding?: unknown | null;
|
|
4511
|
+
};
|
|
4512
|
+
id: string;
|
|
4513
|
+
/**
|
|
4514
|
+
* A relationships object for a document_chunk
|
|
4515
|
+
*/
|
|
4516
|
+
relationships?: {
|
|
4517
|
+
document?: {
|
|
4518
|
+
/**
|
|
4519
|
+
* An identifier for document
|
|
4520
|
+
*/
|
|
4521
|
+
data?: {
|
|
4522
|
+
id: string;
|
|
4523
|
+
meta?: {
|
|
4524
|
+
[key: string]: unknown;
|
|
4525
|
+
};
|
|
4526
|
+
type: string;
|
|
4527
|
+
} | null;
|
|
4528
|
+
};
|
|
4529
|
+
};
|
|
4530
|
+
type: string;
|
|
4531
|
+
};
|
|
4532
|
+
type plan_filter_monthly_credits = {
|
|
4533
|
+
eq?: number;
|
|
4534
|
+
greater_than?: number;
|
|
4535
|
+
greater_than_or_equal?: number;
|
|
4536
|
+
in?: Array<number>;
|
|
4537
|
+
is_nil?: boolean;
|
|
4538
|
+
less_than?: number;
|
|
4539
|
+
less_than_or_equal?: number;
|
|
4540
|
+
not_eq?: number;
|
|
4541
|
+
};
|
|
4542
|
+
/**
|
|
4543
|
+
* Filters the query to results matching the given filter object
|
|
4544
|
+
*/
|
|
4545
|
+
type embedding_filter = {
|
|
4546
|
+
and?: Array<embedding_filter>;
|
|
4547
|
+
embedding?: embedding_filter_embedding;
|
|
4548
|
+
id?: embedding_filter_id;
|
|
4549
|
+
model?: embedding_filter_model;
|
|
4550
|
+
not?: embedding_filter;
|
|
4551
|
+
or?: Array<embedding_filter>;
|
|
4552
|
+
text?: embedding_filter_text;
|
|
4553
|
+
usage?: embedding_filter_usage;
|
|
4554
|
+
};
|
|
4555
|
+
/**
|
|
4556
|
+
* Filters the query to results matching the given filter object
|
|
4557
|
+
*/
|
|
4558
|
+
type wallet_filter = {
|
|
4559
|
+
and?: Array<wallet_filter>;
|
|
4560
|
+
application_id?: wallet_filter_application_id;
|
|
4561
|
+
credits?: wallet_filter_credits;
|
|
4562
|
+
id?: wallet_filter_id;
|
|
4563
|
+
not?: wallet_filter;
|
|
4564
|
+
or?: Array<wallet_filter>;
|
|
4565
|
+
plan?: wallet_filter_plan;
|
|
4566
|
+
};
|
|
4567
|
+
type document_chunk_filter_id = {
|
|
4568
|
+
eq?: string;
|
|
4569
|
+
greater_than?: string;
|
|
4570
|
+
greater_than_or_equal?: string;
|
|
4571
|
+
in?: Array<string>;
|
|
4572
|
+
is_nil?: boolean;
|
|
4573
|
+
less_than?: string;
|
|
4574
|
+
less_than_or_equal?: string;
|
|
4575
|
+
not_eq?: string;
|
|
4576
|
+
};
|
|
4577
|
+
type payment_filter_id = {
|
|
4578
|
+
eq?: string;
|
|
4579
|
+
greater_than?: string;
|
|
4580
|
+
greater_than_or_equal?: string;
|
|
4581
|
+
in?: Array<string>;
|
|
4582
|
+
is_nil?: boolean;
|
|
4583
|
+
less_than?: string;
|
|
4584
|
+
less_than_or_equal?: string;
|
|
4585
|
+
not_eq?: string;
|
|
4586
|
+
};
|
|
4587
|
+
type object_filter_key = {
|
|
4588
|
+
contains?: string;
|
|
4589
|
+
eq?: string;
|
|
4590
|
+
greater_than?: string;
|
|
4591
|
+
greater_than_or_equal?: string;
|
|
4592
|
+
ilike?: string;
|
|
4593
|
+
in?: Array<string>;
|
|
4594
|
+
is_nil?: boolean;
|
|
4595
|
+
less_than?: string;
|
|
4596
|
+
less_than_or_equal?: string;
|
|
4597
|
+
like?: string;
|
|
4598
|
+
not_eq?: string;
|
|
4599
|
+
};
|
|
4600
|
+
type api_key_filter_id = {
|
|
4601
|
+
eq?: string;
|
|
4602
|
+
greater_than?: string;
|
|
4603
|
+
greater_than_or_equal?: string;
|
|
4604
|
+
in?: Array<string>;
|
|
4605
|
+
is_nil?: boolean;
|
|
4606
|
+
less_than?: string;
|
|
4607
|
+
less_than_or_equal?: string;
|
|
4608
|
+
not_eq?: string;
|
|
4609
|
+
};
|
|
4610
|
+
/**
|
|
4611
|
+
* A "Resource object" representing a workspace
|
|
4612
|
+
*/
|
|
4613
|
+
type workspace = {
|
|
4614
|
+
/**
|
|
4615
|
+
* An attributes object for a workspace
|
|
4616
|
+
*/
|
|
4617
|
+
attributes?: {
|
|
4618
|
+
/**
|
|
4619
|
+
* Field included by default.
|
|
4620
|
+
*/
|
|
4621
|
+
archived_at?: unknown | null;
|
|
4622
|
+
/**
|
|
4623
|
+
* Field included by default.
|
|
4624
|
+
*/
|
|
4625
|
+
description?: string | null | null;
|
|
4626
|
+
/**
|
|
4627
|
+
* Field included by default.
|
|
4628
|
+
*/
|
|
4629
|
+
expires_at?: string | null | null;
|
|
4630
|
+
/**
|
|
4631
|
+
* Field included by default.
|
|
4632
|
+
*/
|
|
4633
|
+
is_default: boolean;
|
|
4634
|
+
/**
|
|
4635
|
+
* Field included by default.
|
|
4636
|
+
*/
|
|
4637
|
+
low_balance_threshold: number;
|
|
4638
|
+
/**
|
|
4639
|
+
* Field included by default.
|
|
4640
|
+
*/
|
|
4641
|
+
renewal_params?: {
|
|
4642
|
+
[key: string]: unknown;
|
|
4643
|
+
} | null | null;
|
|
4644
|
+
};
|
|
4645
|
+
id: string;
|
|
4646
|
+
/**
|
|
4647
|
+
* A relationships object for a workspace
|
|
4648
|
+
*/
|
|
4649
|
+
relationships?: {
|
|
4650
|
+
[key: string]: unknown;
|
|
4651
|
+
};
|
|
4652
|
+
type: string;
|
|
4653
|
+
};
|
|
4654
|
+
/**
|
|
4655
|
+
* A "Resource object" representing a invitation
|
|
4656
|
+
*/
|
|
4657
|
+
type invitation = {
|
|
4658
|
+
/**
|
|
4659
|
+
* An attributes object for a invitation
|
|
4660
|
+
*/
|
|
4661
|
+
attributes?: {
|
|
4662
|
+
[key: string]: unknown;
|
|
4663
|
+
};
|
|
4664
|
+
id: string;
|
|
4665
|
+
/**
|
|
4666
|
+
* A relationships object for a invitation
|
|
4667
|
+
*/
|
|
4668
|
+
relationships?: {
|
|
4669
|
+
[key: string]: unknown;
|
|
4670
|
+
};
|
|
4671
|
+
type: string;
|
|
4672
|
+
};
|
|
4673
|
+
/**
|
|
4674
|
+
* Filters the query to results matching the given filter object
|
|
4675
|
+
*/
|
|
4676
|
+
type graph_node_filter = {
|
|
4677
|
+
and?: Array<graph_node_filter>;
|
|
4678
|
+
id?: graph_node_filter_id;
|
|
4679
|
+
label?: graph_node_filter_label;
|
|
4680
|
+
not?: graph_node_filter;
|
|
4681
|
+
or?: Array<graph_node_filter>;
|
|
4682
|
+
properties?: graph_node_filter_properties;
|
|
4683
|
+
tenant_id?: graph_node_filter_tenant_id;
|
|
4684
|
+
};
|
|
4685
|
+
type bucket_filter_name = {
|
|
4686
|
+
contains?: string;
|
|
4687
|
+
eq?: string;
|
|
4688
|
+
greater_than?: string;
|
|
4689
|
+
greater_than_or_equal?: string;
|
|
4690
|
+
ilike?: string;
|
|
4691
|
+
in?: Array<string>;
|
|
4692
|
+
is_nil?: boolean;
|
|
4693
|
+
less_than?: string;
|
|
4694
|
+
less_than_or_equal?: string;
|
|
4695
|
+
like?: string;
|
|
4696
|
+
not_eq?: string;
|
|
4697
|
+
};
|
|
4698
|
+
type audit_log_filter_resource_type = {
|
|
4699
|
+
contains?: string;
|
|
4700
|
+
eq?: string;
|
|
4701
|
+
greater_than?: string;
|
|
4702
|
+
greater_than_or_equal?: string;
|
|
4703
|
+
ilike?: string;
|
|
4704
|
+
in?: Array<string>;
|
|
4705
|
+
is_nil?: boolean;
|
|
4706
|
+
less_than?: string;
|
|
4707
|
+
less_than_or_equal?: string;
|
|
4708
|
+
like?: string;
|
|
4709
|
+
not_eq?: string;
|
|
4710
|
+
};
|
|
4711
|
+
type workspace_filter_description = {
|
|
4712
|
+
contains?: string;
|
|
4713
|
+
eq?: string;
|
|
4714
|
+
greater_than?: string;
|
|
4715
|
+
greater_than_or_equal?: string;
|
|
4716
|
+
ilike?: string;
|
|
4717
|
+
in?: Array<string>;
|
|
4718
|
+
is_nil?: boolean;
|
|
4719
|
+
less_than?: string;
|
|
4720
|
+
less_than_or_equal?: string;
|
|
4721
|
+
like?: string;
|
|
4722
|
+
not_eq?: string;
|
|
4723
|
+
};
|
|
4724
|
+
/**
|
|
4725
|
+
* Filters the query to results matching the given filter object
|
|
4726
|
+
*/
|
|
4727
|
+
type document_chunk_filter = {
|
|
4728
|
+
and?: Array<document_chunk_filter>;
|
|
4729
|
+
chunk_index?: document_chunk_filter_chunk_index;
|
|
4730
|
+
content?: document_chunk_filter_content;
|
|
4731
|
+
document?: document_filter;
|
|
4732
|
+
document_id?: document_chunk_filter_document_id;
|
|
4733
|
+
embedding?: document_chunk_filter_embedding;
|
|
4734
|
+
id?: document_chunk_filter_id;
|
|
4735
|
+
not?: document_chunk_filter;
|
|
4736
|
+
or?: Array<document_chunk_filter>;
|
|
4737
|
+
};
|
|
4738
|
+
type user_profile_filter_id = {
|
|
4739
|
+
eq?: string;
|
|
4740
|
+
greater_than?: string;
|
|
4741
|
+
greater_than_or_equal?: string;
|
|
4742
|
+
in?: Array<string>;
|
|
4743
|
+
is_nil?: boolean;
|
|
4744
|
+
less_than?: string;
|
|
4745
|
+
less_than_or_equal?: string;
|
|
4746
|
+
not_eq?: string;
|
|
4747
|
+
};
|
|
4748
|
+
type document_stats_filter_completed = {
|
|
4749
|
+
eq?: number;
|
|
4750
|
+
greater_than?: number;
|
|
4751
|
+
greater_than_or_equal?: number;
|
|
4752
|
+
in?: Array<number>;
|
|
4753
|
+
is_nil?: boolean;
|
|
4754
|
+
less_than?: number;
|
|
4755
|
+
less_than_or_equal?: number;
|
|
4756
|
+
not_eq?: number;
|
|
4757
|
+
};
|
|
4758
|
+
type payment_filter_status = {
|
|
4759
|
+
eq?: string;
|
|
4760
|
+
greater_than?: string;
|
|
4761
|
+
greater_than_or_equal?: string;
|
|
4762
|
+
in?: Array<string>;
|
|
4763
|
+
is_nil?: boolean;
|
|
4764
|
+
less_than?: string;
|
|
4765
|
+
less_than_or_equal?: string;
|
|
4766
|
+
not_eq?: string;
|
|
4767
|
+
};
|
|
4768
|
+
/**
|
|
4769
|
+
* Filters the query to results matching the given filter object
|
|
4770
|
+
*/
|
|
4771
|
+
type workspace_membership_filter = {
|
|
4772
|
+
and?: Array<workspace_membership_filter>;
|
|
4773
|
+
not?: workspace_membership_filter;
|
|
4774
|
+
or?: Array<workspace_membership_filter>;
|
|
4775
|
+
};
|
|
4776
|
+
/**
|
|
4777
|
+
* Filters the query to results matching the given filter object
|
|
4778
|
+
*/
|
|
4779
|
+
type ai_config_filter = {
|
|
4780
|
+
and?: Array<ai_config_filter>;
|
|
4781
|
+
not?: ai_config_filter;
|
|
4782
|
+
or?: Array<ai_config_filter>;
|
|
4783
|
+
};
|
|
4784
|
+
|
|
4785
|
+
export { GptAdmin, type account, type account_filter, type account_filter_id, type agent, type agent_filter, type agent_filter_id, type ai_config, type ai_config_filter, type api_key, type api_key_filter, type api_key_filter_id, type api_key_filter_status, type application, type application_filter, type application_filter_id, type audit_log, type audit_log_filter, type audit_log_filter_action, type audit_log_filter_actor_id, type audit_log_filter_changes, type audit_log_filter_id, type audit_log_filter_resource_id, type audit_log_filter_resource_type, type audit_log_filter_tenant_id, type audit_log_filter_workspace_id, type bucket, type bucket_filter, type bucket_filter_id, type bucket_filter_name, type bucket_filter_region, type bucket_filter_storage_used, type bucket_filter_type, type config, type config_filter, type config_filter_description, type config_filter_key, type config_filter_value, type credit_package, type credit_package_filter, type credit_package_filter_created_at, type credit_package_filter_credits, type credit_package_filter_id, type credit_package_filter_name, type credit_package_filter_price, type credit_package_filter_slug, type credit_package_filter_updated_at, type customer, type customer_filter, type customer_filter_id, type document, type document_chunk, type document_chunk_filter, type document_chunk_filter_chunk_index, type document_chunk_filter_content, type document_chunk_filter_document_id, type document_chunk_filter_embedding, type document_chunk_filter_id, type document_filter, type document_filter_application_id, type document_filter_content, type document_filter_filename, type document_filter_id, type document_filter_metadata, type document_filter_mime_type, type document_filter_original_filename, type document_filter_size_bytes, type document_filter_status, type document_filter_storage_options, type document_filter_storage_path, type document_filter_summary, type document_filter_summary_embedding, type document_filter_tenant_id, type document_filter_uploader_id, type document_filter_workspace_id, type document_stats, type document_stats_filter, type document_stats_filter_completed, type document_stats_filter_failed, type document_stats_filter_id, type document_stats_filter_pending, type document_stats_filter_processing, type document_stats_filter_total, type embedding, type embedding_filter, type embedding_filter_embedding, type embedding_filter_id, type embedding_filter_model, type embedding_filter_text, type embedding_filter_usage, eq, eq2, eq3, eq4, eq5, eq6, eq7, eq8, type error, type errors, type extraction_result, type extraction_result_data_input_update_type, type extraction_result_filter, type extraction_result_filter_confidence_score, type extraction_result_filter_document_id, type extraction_result_filter_id, type extraction_result_filter_model_used, type extraction_result_filter_processing_time_ms, format, type graph_edge, type graph_edge_filter, type graph_edge_filter_id, type graph_edge_filter_properties, type graph_edge_filter_relationship, type graph_edge_filter_source_id, type graph_edge_filter_target_id, type graph_node, type graph_node_filter, type graph_node_filter_id, type graph_node_filter_label, type graph_node_filter_properties, type graph_node_filter_tenant_id, greater_than, greater_than2, greater_than3, greater_than4, greater_than5, greater_than6, greater_than7, greater_than8, greater_than_or_equal, greater_than_or_equal2, greater_than_or_equal3, greater_than_or_equal4, greater_than_or_equal5, greater_than_or_equal6, greater_than_or_equal7, greater_than_or_equal8, type invitation, type invitation_filter, type invitation_filter_id, type ledger, type ledger_filter, type ledger_filter_id, less_than, less_than2, less_than3, less_than4, less_than5, less_than6, less_than7, less_than8, less_than_or_equal, less_than_or_equal2, less_than_or_equal3, less_than_or_equal4, less_than_or_equal5, less_than_or_equal6, less_than_or_equal7, less_than_or_equal8, type link, type links, type llm_analytics, type llm_analytics_filter, type llm_analytics_filter_id, type message, type message_filter, type message_filter_id, not_eq, not_eq2, not_eq3, not_eq4, not_eq5, not_eq6, not_eq7, not_eq8, type notification_log, type notification_log_filter, type notification_log_filter_id, type notification_preference, type notification_preference_filter, type notification_preference_filter_id, type object_filter, type object_filter_content_type, type object_filter_id, type object_filter_key, type object_filter_size_bytes, type operation_success, type operation_success_filter, type operation_success_filter_id, type operation_success_filter_message, type operation_success_filter_success, type payment, type payment_filter, type payment_filter_amount, type payment_filter_created_at, type payment_filter_currency, type payment_filter_error_message, type payment_filter_id, type payment_filter_provider_reference, type payment_filter_status, type payment_method, type payment_method_filter, type payment_method_filter_id, type plan, type plan_filter, type plan_filter_created_at, type plan_filter_id, type plan_filter_monthly_credits, type plan_filter_monthly_price, type plan_filter_name, type plan_filter_slug, type plan_filter_storage_days, type plan_filter_type, type plan_filter_updated_at, type presigned_url, type presigned_url_filter, type presigned_url_filter_expires_in, type presigned_url_filter_headers, type presigned_url_filter_id, type presigned_url_filter_method, type presigned_url_filter_storage_path, type presigned_url_filter_upload_url, type presigned_url_filter_url, type pricing_rule, type pricing_rule_filter, type pricing_rule_filter_id, type pricing_strategy, type pricing_strategy_filter, type pricing_strategy_filter_id, role, type saved_search, type saved_search_filter, type saved_search_filter_filters, type saved_search_filter_id, type saved_search_filter_is_shared, type saved_search_filter_name, type saved_search_filter_query, type saved_search_filter_search_type, type search, type search_filter, type search_filter_id, type semantic_cache_entry, type semantic_cache_entry_filter, type semantic_cache_entry_filter_id, status, status2, type storage_object, type storage_stats, type storage_stats_filter, type storage_stats_filter_id, type storage_stats_filter_total_buckets, type storage_stats_filter_total_objects, type storage_stats_filter_total_storage_bytes, type subscription, type subscription_filter, type subscription_filter_id, type tenant, type tenant_filter, type tenant_filter_id, type tenant_filter_storage_blocks_purchased, type tenant_filter_storage_quota_bytes, type tenant_membership, type tenant_membership_filter, type tenant_membership_filter_role, type tenant_membership_filter_tenant_id, type tenant_membership_filter_user_id, type thread, type thread_filter, type thread_filter_context_summary, type thread_filter_id, type thread_filter_title, type token, type token_filter, type token_filter_brand, type token_filter_exp_month, type token_filter_exp_year, type token_filter_id, type token_filter_last4, type token_filter_token, type training_example, type training_example_filter, type training_example_filter_embedding, type training_example_filter_id, type training_example_filter_input_text, type training_example_filter_output_json, type transaction, type transaction_filter, type transaction_filter_amount, type transaction_filter_created_at, type transaction_filter_currency, type transaction_filter_description, type transaction_filter_error_message, type transaction_filter_id, type transaction_filter_provider_reference, type transaction_filter_service_id, type transaction_filter_status, type transaction_filter_type, type transaction_filter_updated_at, type, type user, type user_filter, type user_filter_current_workspace_id, type user_filter_email, type user_filter_id, type user_filter_is_app_admin, type user_filter_is_platform_admin, type user_profile, type user_profile_filter, type user_profile_filter_avatar_url, type user_profile_filter_bio, type user_profile_filter_first_name, type user_profile_filter_id, type user_profile_filter_last_name, type user_profile_filter_preferences, type user_profile_filter_social_links, type user_profile_filter_user_id, type wallet, type wallet_filter, type wallet_filter_application_id, type wallet_filter_credits, type wallet_filter_id, type wallet_filter_plan, type webhook_config, type webhook_config_filter, type webhook_config_filter_id, type webhook_delivery, type webhook_delivery_filter, type webhook_delivery_filter_id, type workspace, type workspace_filter, type workspace_filter_archived_at, type workspace_filter_description, type workspace_filter_expires_at, type workspace_filter_id, type workspace_filter_is_default, type workspace_filter_low_balance_threshold, type workspace_filter_renewal_params, type workspace_membership, type workspace_membership_filter };
|