@mixedbread/sdk 0.28.1 → 0.30.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/CHANGELOG.md +39 -0
- package/bin/cli +4 -10
- package/package.json +1 -1
- package/resources/data-sources/connectors.d.mts +4 -4
- package/resources/data-sources/connectors.d.mts.map +1 -1
- package/resources/data-sources/connectors.d.ts +4 -4
- package/resources/data-sources/connectors.d.ts.map +1 -1
- package/resources/vector-stores/files.d.mts +301 -46
- package/resources/vector-stores/files.d.mts.map +1 -1
- package/resources/vector-stores/files.d.ts +301 -46
- package/resources/vector-stores/files.d.ts.map +1 -1
- package/resources/vector-stores/files.js +10 -35
- package/resources/vector-stores/files.js.map +1 -1
- package/resources/vector-stores/files.mjs +10 -35
- package/resources/vector-stores/files.mjs.map +1 -1
- package/resources/vector-stores/vector-stores.d.mts +581 -57
- package/resources/vector-stores/vector-stores.d.mts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts +581 -57
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js +15 -41
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs +15 -41
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/src/resources/data-sources/connectors.ts +4 -4
- package/src/resources/vector-stores/files.ts +352 -49
- package/src/resources/vector-stores/vector-stores.ts +683 -57
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as FilesAPI from './files';
|
|
5
5
|
import * as Shared from '../shared';
|
|
6
|
-
import * as VectorStoresAPI from './vector-stores';
|
|
7
6
|
import { APIPromise } from '../../core/api-promise';
|
|
8
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
9
8
|
import * as polling from '../../lib/polling';
|
|
@@ -12,12 +11,9 @@ import { path } from '../../internal/utils/path';
|
|
|
12
11
|
|
|
13
12
|
export class Files extends APIResource {
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* DEPRECATED: Use POST /stores/{store_identifier}/files instead
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
* file to file: The file to add and index
|
|
19
|
-
*
|
|
20
|
-
* Returns: VectorStoreFile: Details of the added and indexed file
|
|
16
|
+
* @deprecated
|
|
21
17
|
*/
|
|
22
18
|
create(
|
|
23
19
|
vectorStoreIdentifier: string,
|
|
@@ -28,12 +24,9 @@ export class Files extends APIResource {
|
|
|
28
24
|
}
|
|
29
25
|
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* Args: vector_store_identifier: The ID or name of the vector store file_id: The
|
|
34
|
-
* ID of the file
|
|
27
|
+
* DEPRECATED: Use GET /stores/{store_identifier}/files/{file_id} instead
|
|
35
28
|
*
|
|
36
|
-
*
|
|
29
|
+
* @deprecated
|
|
37
30
|
*/
|
|
38
31
|
retrieve(
|
|
39
32
|
fileID: string,
|
|
@@ -48,12 +41,9 @@ export class Files extends APIResource {
|
|
|
48
41
|
}
|
|
49
42
|
|
|
50
43
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* Args: vector_store_identifier: The ID or name of the vector store pagination:
|
|
54
|
-
* Pagination parameters and metadata filter
|
|
44
|
+
* DEPRECATED: Use POST /stores/{store_identifier}/files/list instead
|
|
55
45
|
*
|
|
56
|
-
*
|
|
46
|
+
* @deprecated
|
|
57
47
|
*/
|
|
58
48
|
list(
|
|
59
49
|
vectorStoreIdentifier: string,
|
|
@@ -67,12 +57,9 @@ export class Files extends APIResource {
|
|
|
67
57
|
}
|
|
68
58
|
|
|
69
59
|
/**
|
|
70
|
-
*
|
|
60
|
+
* DEPRECATED: Use DELETE /stores/{store_identifier}/files/{file_id} instead
|
|
71
61
|
*
|
|
72
|
-
*
|
|
73
|
-
* ID of the file to delete
|
|
74
|
-
*
|
|
75
|
-
* Returns: VectorStoreFileDeleted: The deleted file
|
|
62
|
+
* @deprecated
|
|
76
63
|
*/
|
|
77
64
|
delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<FileDeleteResponse> {
|
|
78
65
|
const { vector_store_identifier } = params;
|
|
@@ -80,22 +67,9 @@ export class Files extends APIResource {
|
|
|
80
67
|
}
|
|
81
68
|
|
|
82
69
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* This endpoint searches through vector store files using semantic similarity
|
|
86
|
-
* matching. Unlike chunk search, it returns complete matching files rather than
|
|
87
|
-
* individual chunks. Supports complex search queries with filters and returns
|
|
88
|
-
* relevance-scored results.
|
|
70
|
+
* DEPRECATED: Use POST /stores/{store_identifier}/files/search instead
|
|
89
71
|
*
|
|
90
|
-
*
|
|
91
|
-
* embeddings - metadata filters - pagination parameters - sorting preferences
|
|
92
|
-
* \_state: API state dependency \_ctx: Service context dependency
|
|
93
|
-
*
|
|
94
|
-
* Returns: VectorStoreSearchFileResponse containing: - List of matched files with
|
|
95
|
-
* relevance scores - Pagination details including total result count
|
|
96
|
-
*
|
|
97
|
-
* Raises: HTTPException (400): If search parameters are invalid HTTPException
|
|
98
|
-
* (404): If no vector stores are found to search
|
|
72
|
+
* @deprecated
|
|
99
73
|
*/
|
|
100
74
|
search(body: FileSearchParams, options?: RequestOptions): APIPromise<FileSearchResponse> {
|
|
101
75
|
return this._client.post('/v1/vector_stores/files/search', { body, ...options });
|
|
@@ -225,7 +199,7 @@ export interface RerankConfig {
|
|
|
225
199
|
}
|
|
226
200
|
|
|
227
201
|
/**
|
|
228
|
-
* Represents a scored file
|
|
202
|
+
* Represents a scored store file.
|
|
229
203
|
*/
|
|
230
204
|
export interface ScoredVectorStoreFile {
|
|
231
205
|
/**
|
|
@@ -246,7 +220,7 @@ export interface ScoredVectorStoreFile {
|
|
|
246
220
|
/**
|
|
247
221
|
* Processing status of the file
|
|
248
222
|
*/
|
|
249
|
-
status?:
|
|
223
|
+
status?: 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
|
|
250
224
|
|
|
251
225
|
/**
|
|
252
226
|
* Last error message if processing failed
|
|
@@ -254,12 +228,12 @@ export interface ScoredVectorStoreFile {
|
|
|
254
228
|
last_error?: unknown;
|
|
255
229
|
|
|
256
230
|
/**
|
|
257
|
-
* ID of the containing
|
|
231
|
+
* ID of the containing store
|
|
258
232
|
*/
|
|
259
233
|
vector_store_id: string;
|
|
260
234
|
|
|
261
235
|
/**
|
|
262
|
-
* Timestamp of
|
|
236
|
+
* Timestamp of store file creation
|
|
263
237
|
*/
|
|
264
238
|
created_at: string;
|
|
265
239
|
|
|
@@ -282,10 +256,10 @@ export interface ScoredVectorStoreFile {
|
|
|
282
256
|
* Array of scored file chunks
|
|
283
257
|
*/
|
|
284
258
|
chunks: Array<
|
|
285
|
-
|
|
|
286
|
-
|
|
|
287
|
-
|
|
|
288
|
-
|
|
|
259
|
+
| ScoredVectorStoreFile.MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk
|
|
260
|
+
| ScoredVectorStoreFile.MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredImageURLInputChunk
|
|
261
|
+
| ScoredVectorStoreFile.MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredAudioURLInputChunk
|
|
262
|
+
| ScoredVectorStoreFile.MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredVideoURLInputChunk
|
|
289
263
|
> | null;
|
|
290
264
|
|
|
291
265
|
/**
|
|
@@ -294,10 +268,333 @@ export interface ScoredVectorStoreFile {
|
|
|
294
268
|
score: number;
|
|
295
269
|
}
|
|
296
270
|
|
|
271
|
+
export namespace ScoredVectorStoreFile {
|
|
272
|
+
/**
|
|
273
|
+
* Scored text chunk for deprecated API.
|
|
274
|
+
*/
|
|
275
|
+
export interface MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk {
|
|
276
|
+
/**
|
|
277
|
+
* position of the chunk in a file
|
|
278
|
+
*/
|
|
279
|
+
chunk_index: number;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* mime type of the chunk
|
|
283
|
+
*/
|
|
284
|
+
mime_type?: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* metadata of the chunk
|
|
288
|
+
*/
|
|
289
|
+
generated_metadata?: { [key: string]: unknown } | null;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* model used for this chunk
|
|
293
|
+
*/
|
|
294
|
+
model?: string | null;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* score of the chunk
|
|
298
|
+
*/
|
|
299
|
+
score: number;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* file id
|
|
303
|
+
*/
|
|
304
|
+
file_id: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* filename
|
|
308
|
+
*/
|
|
309
|
+
filename: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* store id
|
|
313
|
+
*/
|
|
314
|
+
vector_store_id: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* file metadata
|
|
318
|
+
*/
|
|
319
|
+
metadata?: unknown;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Input type identifier
|
|
323
|
+
*/
|
|
324
|
+
type?: 'text';
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* The offset of the text in the file relative to the start of the file.
|
|
328
|
+
*/
|
|
329
|
+
offset?: number;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Text content to process
|
|
333
|
+
*/
|
|
334
|
+
text: string;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Scored image chunk for deprecated API.
|
|
339
|
+
*/
|
|
340
|
+
export interface MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredImageURLInputChunk {
|
|
341
|
+
/**
|
|
342
|
+
* position of the chunk in a file
|
|
343
|
+
*/
|
|
344
|
+
chunk_index: number;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* mime type of the chunk
|
|
348
|
+
*/
|
|
349
|
+
mime_type?: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* metadata of the chunk
|
|
353
|
+
*/
|
|
354
|
+
generated_metadata?: { [key: string]: unknown } | null;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* model used for this chunk
|
|
358
|
+
*/
|
|
359
|
+
model?: string | null;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* score of the chunk
|
|
363
|
+
*/
|
|
364
|
+
score: number;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* file id
|
|
368
|
+
*/
|
|
369
|
+
file_id: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* filename
|
|
373
|
+
*/
|
|
374
|
+
filename: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* store id
|
|
378
|
+
*/
|
|
379
|
+
vector_store_id: string;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* file metadata
|
|
383
|
+
*/
|
|
384
|
+
metadata?: unknown;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Input type identifier
|
|
388
|
+
*/
|
|
389
|
+
type?: 'image_url';
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* ocr text of the image
|
|
393
|
+
*/
|
|
394
|
+
ocr_text?: string | null;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* summary of the image
|
|
398
|
+
*/
|
|
399
|
+
summary?: string | null;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* The image input specification.
|
|
403
|
+
*/
|
|
404
|
+
image_url: MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredImageURLInputChunk.ImageURL;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export namespace MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredImageURLInputChunk {
|
|
408
|
+
/**
|
|
409
|
+
* The image input specification.
|
|
410
|
+
*/
|
|
411
|
+
export interface ImageURL {
|
|
412
|
+
/**
|
|
413
|
+
* The image URL. Can be either a URL or a Data URI.
|
|
414
|
+
*/
|
|
415
|
+
url: string;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* The image format/mimetype
|
|
419
|
+
*/
|
|
420
|
+
format?: string;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Scored audio chunk for deprecated API.
|
|
426
|
+
*/
|
|
427
|
+
export interface MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredAudioURLInputChunk {
|
|
428
|
+
/**
|
|
429
|
+
* position of the chunk in a file
|
|
430
|
+
*/
|
|
431
|
+
chunk_index: number;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* mime type of the chunk
|
|
435
|
+
*/
|
|
436
|
+
mime_type?: string;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* metadata of the chunk
|
|
440
|
+
*/
|
|
441
|
+
generated_metadata?: { [key: string]: unknown } | null;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* model used for this chunk
|
|
445
|
+
*/
|
|
446
|
+
model?: string | null;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* score of the chunk
|
|
450
|
+
*/
|
|
451
|
+
score: number;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* file id
|
|
455
|
+
*/
|
|
456
|
+
file_id: string;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* filename
|
|
460
|
+
*/
|
|
461
|
+
filename: string;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* store id
|
|
465
|
+
*/
|
|
466
|
+
vector_store_id: string;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* file metadata
|
|
470
|
+
*/
|
|
471
|
+
metadata?: unknown;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Input type identifier
|
|
475
|
+
*/
|
|
476
|
+
type?: 'audio_url';
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* speech recognition (sr) text of the audio
|
|
480
|
+
*/
|
|
481
|
+
transcription?: string | null;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* summary of the audio
|
|
485
|
+
*/
|
|
486
|
+
summary?: string | null;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* The audio input specification.
|
|
490
|
+
*/
|
|
491
|
+
audio_url: MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredAudioURLInputChunk.AudioURL;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* The sampling rate of the audio.
|
|
495
|
+
*/
|
|
496
|
+
sampling_rate: number;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export namespace MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredAudioURLInputChunk {
|
|
500
|
+
/**
|
|
501
|
+
* The audio input specification.
|
|
502
|
+
*/
|
|
503
|
+
export interface AudioURL {
|
|
504
|
+
/**
|
|
505
|
+
* The audio URL. Can be either a URL or a Data URI.
|
|
506
|
+
*/
|
|
507
|
+
url: string;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Scored video chunk for deprecated API.
|
|
513
|
+
*/
|
|
514
|
+
export interface MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredVideoURLInputChunk {
|
|
515
|
+
/**
|
|
516
|
+
* position of the chunk in a file
|
|
517
|
+
*/
|
|
518
|
+
chunk_index: number;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* mime type of the chunk
|
|
522
|
+
*/
|
|
523
|
+
mime_type?: string;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* metadata of the chunk
|
|
527
|
+
*/
|
|
528
|
+
generated_metadata?: { [key: string]: unknown } | null;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* model used for this chunk
|
|
532
|
+
*/
|
|
533
|
+
model?: string | null;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* score of the chunk
|
|
537
|
+
*/
|
|
538
|
+
score: number;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* file id
|
|
542
|
+
*/
|
|
543
|
+
file_id: string;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* filename
|
|
547
|
+
*/
|
|
548
|
+
filename: string;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* store id
|
|
552
|
+
*/
|
|
553
|
+
vector_store_id: string;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* file metadata
|
|
557
|
+
*/
|
|
558
|
+
metadata?: unknown;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Input type identifier
|
|
562
|
+
*/
|
|
563
|
+
type?: 'video_url';
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* speech recognition (sr) text of the video
|
|
567
|
+
*/
|
|
568
|
+
transcription?: string | null;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* summary of the video
|
|
572
|
+
*/
|
|
573
|
+
summary?: string | null;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* The video input specification.
|
|
577
|
+
*/
|
|
578
|
+
video_url: MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredVideoURLInputChunk.VideoURL;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export namespace MxbaiOmniAPIRoutesV1DeprecatedVectorStoresModelsScoredVideoURLInputChunk {
|
|
582
|
+
/**
|
|
583
|
+
* The video input specification.
|
|
584
|
+
*/
|
|
585
|
+
export interface VideoURL {
|
|
586
|
+
/**
|
|
587
|
+
* The video URL. Can be either a URL or a Data URI.
|
|
588
|
+
*/
|
|
589
|
+
url: string;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
297
594
|
export type VectorStoreFileStatus = 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
|
|
298
595
|
|
|
299
596
|
/**
|
|
300
|
-
* Represents a file stored in a
|
|
597
|
+
* Represents a file stored in a store.
|
|
301
598
|
*/
|
|
302
599
|
export interface VectorStoreFile {
|
|
303
600
|
/**
|
|
@@ -318,7 +615,7 @@ export interface VectorStoreFile {
|
|
|
318
615
|
/**
|
|
319
616
|
* Processing status of the file
|
|
320
617
|
*/
|
|
321
|
-
status?:
|
|
618
|
+
status?: 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
|
|
322
619
|
|
|
323
620
|
/**
|
|
324
621
|
* Last error message if processing failed
|
|
@@ -326,12 +623,12 @@ export interface VectorStoreFile {
|
|
|
326
623
|
last_error?: unknown;
|
|
327
624
|
|
|
328
625
|
/**
|
|
329
|
-
* ID of the containing
|
|
626
|
+
* ID of the containing store
|
|
330
627
|
*/
|
|
331
628
|
vector_store_id: string;
|
|
332
629
|
|
|
333
630
|
/**
|
|
334
|
-
* Timestamp of
|
|
631
|
+
* Timestamp of store file creation
|
|
335
632
|
*/
|
|
336
633
|
created_at: string;
|
|
337
634
|
|
|
@@ -572,6 +869,9 @@ export namespace VectorStoreFile {
|
|
|
572
869
|
}
|
|
573
870
|
}
|
|
574
871
|
|
|
872
|
+
/**
|
|
873
|
+
* List response wrapper for vector store files.
|
|
874
|
+
*/
|
|
575
875
|
export interface FileListResponse {
|
|
576
876
|
/**
|
|
577
877
|
* Response model for cursor-based pagination.
|
|
@@ -641,6 +941,9 @@ export interface FileDeleteResponse {
|
|
|
641
941
|
object?: 'vector_store.file';
|
|
642
942
|
}
|
|
643
943
|
|
|
944
|
+
/**
|
|
945
|
+
* Search response wrapper for vector store files.
|
|
946
|
+
*/
|
|
644
947
|
export interface FileSearchResponse {
|
|
645
948
|
/**
|
|
646
949
|
* The object type of the response
|
|
@@ -725,7 +1028,7 @@ export interface FileListParams {
|
|
|
725
1028
|
/**
|
|
726
1029
|
* Status to filter by
|
|
727
1030
|
*/
|
|
728
|
-
statuses?: Array<
|
|
1031
|
+
statuses?: Array<'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed'> | null;
|
|
729
1032
|
|
|
730
1033
|
/**
|
|
731
1034
|
* Metadata filter to apply to the query
|