@mixedbread/sdk 0.57.1 → 0.59.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 +21 -0
- package/package.json +1 -1
- package/resources/stores/files.d.mts +116 -108
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +116 -108
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/stores.d.mts +116 -108
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +116 -108
- package/resources/stores/stores.d.ts.map +1 -1
- package/resources/stores/stores.js.map +1 -1
- package/resources/stores/stores.mjs.map +1 -1
- package/src/resources/stores/files.ts +124 -108
- package/src/resources/stores/stores.ts +124 -108
- 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
|
@@ -244,11 +244,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
244
244
|
|
|
245
245
|
file_type?: 'text/markdown';
|
|
246
246
|
|
|
247
|
-
language
|
|
247
|
+
language?: string | null;
|
|
248
248
|
|
|
249
|
-
word_count
|
|
249
|
+
word_count?: number | null;
|
|
250
250
|
|
|
251
|
-
file_size
|
|
251
|
+
file_size?: number | null;
|
|
252
252
|
|
|
253
253
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
254
254
|
|
|
@@ -284,11 +284,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
284
284
|
|
|
285
285
|
file_type?: 'text/plain';
|
|
286
286
|
|
|
287
|
-
language
|
|
287
|
+
language?: string | null;
|
|
288
288
|
|
|
289
|
-
word_count
|
|
289
|
+
word_count?: number | null;
|
|
290
290
|
|
|
291
|
-
file_size
|
|
291
|
+
file_size?: number | null;
|
|
292
292
|
|
|
293
293
|
start_line?: number;
|
|
294
294
|
|
|
@@ -304,9 +304,9 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
304
304
|
|
|
305
305
|
file_type?: 'application/pdf';
|
|
306
306
|
|
|
307
|
-
total_pages
|
|
307
|
+
total_pages?: number | null;
|
|
308
308
|
|
|
309
|
-
total_size
|
|
309
|
+
total_size?: number | null;
|
|
310
310
|
|
|
311
311
|
file_extension?: string | null;
|
|
312
312
|
|
|
@@ -318,11 +318,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
318
318
|
|
|
319
319
|
file_type: string;
|
|
320
320
|
|
|
321
|
-
language
|
|
321
|
+
language?: string | null;
|
|
322
322
|
|
|
323
|
-
word_count
|
|
323
|
+
word_count?: number | null;
|
|
324
324
|
|
|
325
|
-
file_size
|
|
325
|
+
file_size?: number | null;
|
|
326
326
|
|
|
327
327
|
start_line?: number;
|
|
328
328
|
|
|
@@ -336,17 +336,19 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
336
336
|
export interface AudioChunkGeneratedMetadata {
|
|
337
337
|
type?: 'audio';
|
|
338
338
|
|
|
339
|
-
file_type
|
|
339
|
+
file_type?: string;
|
|
340
|
+
|
|
341
|
+
file_size?: number | null;
|
|
340
342
|
|
|
341
|
-
|
|
343
|
+
total_duration_seconds?: number | null;
|
|
342
344
|
|
|
343
|
-
|
|
345
|
+
sample_rate?: number | null;
|
|
344
346
|
|
|
345
|
-
|
|
347
|
+
channels?: number | null;
|
|
346
348
|
|
|
347
|
-
|
|
349
|
+
audio_format?: number | null;
|
|
348
350
|
|
|
349
|
-
|
|
351
|
+
bpm?: number | null;
|
|
350
352
|
|
|
351
353
|
file_extension?: string | null;
|
|
352
354
|
|
|
@@ -356,22 +358,24 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
356
358
|
export interface VideoChunkGeneratedMetadata {
|
|
357
359
|
type?: 'video';
|
|
358
360
|
|
|
359
|
-
file_type
|
|
361
|
+
file_type?: string;
|
|
360
362
|
|
|
361
363
|
file_size?: number | null;
|
|
362
364
|
|
|
363
|
-
total_duration_seconds
|
|
365
|
+
total_duration_seconds?: number | null;
|
|
364
366
|
|
|
365
|
-
fps
|
|
367
|
+
fps?: number | null;
|
|
366
368
|
|
|
367
|
-
width
|
|
369
|
+
width?: number | null;
|
|
368
370
|
|
|
369
|
-
height
|
|
371
|
+
height?: number | null;
|
|
370
372
|
|
|
371
|
-
frame_count
|
|
373
|
+
frame_count?: number | null;
|
|
372
374
|
|
|
373
375
|
has_audio_stream?: boolean;
|
|
374
376
|
|
|
377
|
+
bpm?: number | null;
|
|
378
|
+
|
|
375
379
|
file_extension?: string | null;
|
|
376
380
|
|
|
377
381
|
[k: string]: unknown;
|
|
@@ -380,13 +384,13 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
380
384
|
export interface ImageChunkGeneratedMetadata {
|
|
381
385
|
type?: 'image';
|
|
382
386
|
|
|
383
|
-
file_type
|
|
387
|
+
file_type?: string;
|
|
384
388
|
|
|
385
|
-
file_size
|
|
389
|
+
file_size?: number | null;
|
|
386
390
|
|
|
387
|
-
width
|
|
391
|
+
width?: number | null;
|
|
388
392
|
|
|
389
|
-
height
|
|
393
|
+
height?: number | null;
|
|
390
394
|
|
|
391
395
|
file_extension?: string | null;
|
|
392
396
|
|
|
@@ -490,11 +494,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
490
494
|
|
|
491
495
|
file_type?: 'text/markdown';
|
|
492
496
|
|
|
493
|
-
language
|
|
497
|
+
language?: string | null;
|
|
494
498
|
|
|
495
|
-
word_count
|
|
499
|
+
word_count?: number | null;
|
|
496
500
|
|
|
497
|
-
file_size
|
|
501
|
+
file_size?: number | null;
|
|
498
502
|
|
|
499
503
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
500
504
|
|
|
@@ -530,11 +534,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
530
534
|
|
|
531
535
|
file_type?: 'text/plain';
|
|
532
536
|
|
|
533
|
-
language
|
|
537
|
+
language?: string | null;
|
|
534
538
|
|
|
535
|
-
word_count
|
|
539
|
+
word_count?: number | null;
|
|
536
540
|
|
|
537
|
-
file_size
|
|
541
|
+
file_size?: number | null;
|
|
538
542
|
|
|
539
543
|
start_line?: number;
|
|
540
544
|
|
|
@@ -550,9 +554,9 @@ export namespace ScoredImageURLInputChunk {
|
|
|
550
554
|
|
|
551
555
|
file_type?: 'application/pdf';
|
|
552
556
|
|
|
553
|
-
total_pages
|
|
557
|
+
total_pages?: number | null;
|
|
554
558
|
|
|
555
|
-
total_size
|
|
559
|
+
total_size?: number | null;
|
|
556
560
|
|
|
557
561
|
file_extension?: string | null;
|
|
558
562
|
|
|
@@ -564,11 +568,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
564
568
|
|
|
565
569
|
file_type: string;
|
|
566
570
|
|
|
567
|
-
language
|
|
571
|
+
language?: string | null;
|
|
568
572
|
|
|
569
|
-
word_count
|
|
573
|
+
word_count?: number | null;
|
|
570
574
|
|
|
571
|
-
file_size
|
|
575
|
+
file_size?: number | null;
|
|
572
576
|
|
|
573
577
|
start_line?: number;
|
|
574
578
|
|
|
@@ -582,17 +586,19 @@ export namespace ScoredImageURLInputChunk {
|
|
|
582
586
|
export interface AudioChunkGeneratedMetadata {
|
|
583
587
|
type?: 'audio';
|
|
584
588
|
|
|
585
|
-
file_type
|
|
589
|
+
file_type?: string;
|
|
590
|
+
|
|
591
|
+
file_size?: number | null;
|
|
586
592
|
|
|
587
|
-
|
|
593
|
+
total_duration_seconds?: number | null;
|
|
588
594
|
|
|
589
|
-
|
|
595
|
+
sample_rate?: number | null;
|
|
590
596
|
|
|
591
|
-
|
|
597
|
+
channels?: number | null;
|
|
592
598
|
|
|
593
|
-
|
|
599
|
+
audio_format?: number | null;
|
|
594
600
|
|
|
595
|
-
|
|
601
|
+
bpm?: number | null;
|
|
596
602
|
|
|
597
603
|
file_extension?: string | null;
|
|
598
604
|
|
|
@@ -602,22 +608,24 @@ export namespace ScoredImageURLInputChunk {
|
|
|
602
608
|
export interface VideoChunkGeneratedMetadata {
|
|
603
609
|
type?: 'video';
|
|
604
610
|
|
|
605
|
-
file_type
|
|
611
|
+
file_type?: string;
|
|
606
612
|
|
|
607
613
|
file_size?: number | null;
|
|
608
614
|
|
|
609
|
-
total_duration_seconds
|
|
615
|
+
total_duration_seconds?: number | null;
|
|
610
616
|
|
|
611
|
-
fps
|
|
617
|
+
fps?: number | null;
|
|
612
618
|
|
|
613
|
-
width
|
|
619
|
+
width?: number | null;
|
|
614
620
|
|
|
615
|
-
height
|
|
621
|
+
height?: number | null;
|
|
616
622
|
|
|
617
|
-
frame_count
|
|
623
|
+
frame_count?: number | null;
|
|
618
624
|
|
|
619
625
|
has_audio_stream?: boolean;
|
|
620
626
|
|
|
627
|
+
bpm?: number | null;
|
|
628
|
+
|
|
621
629
|
file_extension?: string | null;
|
|
622
630
|
|
|
623
631
|
[k: string]: unknown;
|
|
@@ -626,13 +634,13 @@ export namespace ScoredImageURLInputChunk {
|
|
|
626
634
|
export interface ImageChunkGeneratedMetadata {
|
|
627
635
|
type?: 'image';
|
|
628
636
|
|
|
629
|
-
file_type
|
|
637
|
+
file_type?: string;
|
|
630
638
|
|
|
631
|
-
file_size
|
|
639
|
+
file_size?: number | null;
|
|
632
640
|
|
|
633
|
-
width
|
|
641
|
+
width?: number | null;
|
|
634
642
|
|
|
635
|
-
height
|
|
643
|
+
height?: number | null;
|
|
636
644
|
|
|
637
645
|
file_extension?: string | null;
|
|
638
646
|
|
|
@@ -736,11 +744,11 @@ export namespace ScoredTextInputChunk {
|
|
|
736
744
|
|
|
737
745
|
file_type?: 'text/markdown';
|
|
738
746
|
|
|
739
|
-
language
|
|
747
|
+
language?: string | null;
|
|
740
748
|
|
|
741
|
-
word_count
|
|
749
|
+
word_count?: number | null;
|
|
742
750
|
|
|
743
|
-
file_size
|
|
751
|
+
file_size?: number | null;
|
|
744
752
|
|
|
745
753
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
746
754
|
|
|
@@ -776,11 +784,11 @@ export namespace ScoredTextInputChunk {
|
|
|
776
784
|
|
|
777
785
|
file_type?: 'text/plain';
|
|
778
786
|
|
|
779
|
-
language
|
|
787
|
+
language?: string | null;
|
|
780
788
|
|
|
781
|
-
word_count
|
|
789
|
+
word_count?: number | null;
|
|
782
790
|
|
|
783
|
-
file_size
|
|
791
|
+
file_size?: number | null;
|
|
784
792
|
|
|
785
793
|
start_line?: number;
|
|
786
794
|
|
|
@@ -796,9 +804,9 @@ export namespace ScoredTextInputChunk {
|
|
|
796
804
|
|
|
797
805
|
file_type?: 'application/pdf';
|
|
798
806
|
|
|
799
|
-
total_pages
|
|
807
|
+
total_pages?: number | null;
|
|
800
808
|
|
|
801
|
-
total_size
|
|
809
|
+
total_size?: number | null;
|
|
802
810
|
|
|
803
811
|
file_extension?: string | null;
|
|
804
812
|
|
|
@@ -810,11 +818,11 @@ export namespace ScoredTextInputChunk {
|
|
|
810
818
|
|
|
811
819
|
file_type: string;
|
|
812
820
|
|
|
813
|
-
language
|
|
821
|
+
language?: string | null;
|
|
814
822
|
|
|
815
|
-
word_count
|
|
823
|
+
word_count?: number | null;
|
|
816
824
|
|
|
817
|
-
file_size
|
|
825
|
+
file_size?: number | null;
|
|
818
826
|
|
|
819
827
|
start_line?: number;
|
|
820
828
|
|
|
@@ -828,17 +836,19 @@ export namespace ScoredTextInputChunk {
|
|
|
828
836
|
export interface AudioChunkGeneratedMetadata {
|
|
829
837
|
type?: 'audio';
|
|
830
838
|
|
|
831
|
-
file_type
|
|
839
|
+
file_type?: string;
|
|
840
|
+
|
|
841
|
+
file_size?: number | null;
|
|
832
842
|
|
|
833
|
-
|
|
843
|
+
total_duration_seconds?: number | null;
|
|
834
844
|
|
|
835
|
-
|
|
845
|
+
sample_rate?: number | null;
|
|
836
846
|
|
|
837
|
-
|
|
847
|
+
channels?: number | null;
|
|
838
848
|
|
|
839
|
-
|
|
849
|
+
audio_format?: number | null;
|
|
840
850
|
|
|
841
|
-
|
|
851
|
+
bpm?: number | null;
|
|
842
852
|
|
|
843
853
|
file_extension?: string | null;
|
|
844
854
|
|
|
@@ -848,22 +858,24 @@ export namespace ScoredTextInputChunk {
|
|
|
848
858
|
export interface VideoChunkGeneratedMetadata {
|
|
849
859
|
type?: 'video';
|
|
850
860
|
|
|
851
|
-
file_type
|
|
861
|
+
file_type?: string;
|
|
852
862
|
|
|
853
863
|
file_size?: number | null;
|
|
854
864
|
|
|
855
|
-
total_duration_seconds
|
|
865
|
+
total_duration_seconds?: number | null;
|
|
856
866
|
|
|
857
|
-
fps
|
|
867
|
+
fps?: number | null;
|
|
858
868
|
|
|
859
|
-
width
|
|
869
|
+
width?: number | null;
|
|
860
870
|
|
|
861
|
-
height
|
|
871
|
+
height?: number | null;
|
|
862
872
|
|
|
863
|
-
frame_count
|
|
873
|
+
frame_count?: number | null;
|
|
864
874
|
|
|
865
875
|
has_audio_stream?: boolean;
|
|
866
876
|
|
|
877
|
+
bpm?: number | null;
|
|
878
|
+
|
|
867
879
|
file_extension?: string | null;
|
|
868
880
|
|
|
869
881
|
[k: string]: unknown;
|
|
@@ -872,13 +884,13 @@ export namespace ScoredTextInputChunk {
|
|
|
872
884
|
export interface ImageChunkGeneratedMetadata {
|
|
873
885
|
type?: 'image';
|
|
874
886
|
|
|
875
|
-
file_type
|
|
887
|
+
file_type?: string;
|
|
876
888
|
|
|
877
|
-
file_size
|
|
889
|
+
file_size?: number | null;
|
|
878
890
|
|
|
879
|
-
width
|
|
891
|
+
width?: number | null;
|
|
880
892
|
|
|
881
|
-
height
|
|
893
|
+
height?: number | null;
|
|
882
894
|
|
|
883
895
|
file_extension?: string | null;
|
|
884
896
|
|
|
@@ -972,11 +984,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
972
984
|
|
|
973
985
|
file_type?: 'text/markdown';
|
|
974
986
|
|
|
975
|
-
language
|
|
987
|
+
language?: string | null;
|
|
976
988
|
|
|
977
|
-
word_count
|
|
989
|
+
word_count?: number | null;
|
|
978
990
|
|
|
979
|
-
file_size
|
|
991
|
+
file_size?: number | null;
|
|
980
992
|
|
|
981
993
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
982
994
|
|
|
@@ -1012,11 +1024,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1012
1024
|
|
|
1013
1025
|
file_type?: 'text/plain';
|
|
1014
1026
|
|
|
1015
|
-
language
|
|
1027
|
+
language?: string | null;
|
|
1016
1028
|
|
|
1017
|
-
word_count
|
|
1029
|
+
word_count?: number | null;
|
|
1018
1030
|
|
|
1019
|
-
file_size
|
|
1031
|
+
file_size?: number | null;
|
|
1020
1032
|
|
|
1021
1033
|
start_line?: number;
|
|
1022
1034
|
|
|
@@ -1032,9 +1044,9 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1032
1044
|
|
|
1033
1045
|
file_type?: 'application/pdf';
|
|
1034
1046
|
|
|
1035
|
-
total_pages
|
|
1047
|
+
total_pages?: number | null;
|
|
1036
1048
|
|
|
1037
|
-
total_size
|
|
1049
|
+
total_size?: number | null;
|
|
1038
1050
|
|
|
1039
1051
|
file_extension?: string | null;
|
|
1040
1052
|
|
|
@@ -1046,11 +1058,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1046
1058
|
|
|
1047
1059
|
file_type: string;
|
|
1048
1060
|
|
|
1049
|
-
language
|
|
1061
|
+
language?: string | null;
|
|
1050
1062
|
|
|
1051
|
-
word_count
|
|
1063
|
+
word_count?: number | null;
|
|
1052
1064
|
|
|
1053
|
-
file_size
|
|
1065
|
+
file_size?: number | null;
|
|
1054
1066
|
|
|
1055
1067
|
start_line?: number;
|
|
1056
1068
|
|
|
@@ -1064,17 +1076,19 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1064
1076
|
export interface AudioChunkGeneratedMetadata {
|
|
1065
1077
|
type?: 'audio';
|
|
1066
1078
|
|
|
1067
|
-
file_type
|
|
1079
|
+
file_type?: string;
|
|
1080
|
+
|
|
1081
|
+
file_size?: number | null;
|
|
1068
1082
|
|
|
1069
|
-
|
|
1083
|
+
total_duration_seconds?: number | null;
|
|
1070
1084
|
|
|
1071
|
-
|
|
1085
|
+
sample_rate?: number | null;
|
|
1072
1086
|
|
|
1073
|
-
|
|
1087
|
+
channels?: number | null;
|
|
1074
1088
|
|
|
1075
|
-
|
|
1089
|
+
audio_format?: number | null;
|
|
1076
1090
|
|
|
1077
|
-
|
|
1091
|
+
bpm?: number | null;
|
|
1078
1092
|
|
|
1079
1093
|
file_extension?: string | null;
|
|
1080
1094
|
|
|
@@ -1084,22 +1098,24 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1084
1098
|
export interface VideoChunkGeneratedMetadata {
|
|
1085
1099
|
type?: 'video';
|
|
1086
1100
|
|
|
1087
|
-
file_type
|
|
1101
|
+
file_type?: string;
|
|
1088
1102
|
|
|
1089
1103
|
file_size?: number | null;
|
|
1090
1104
|
|
|
1091
|
-
total_duration_seconds
|
|
1105
|
+
total_duration_seconds?: number | null;
|
|
1092
1106
|
|
|
1093
|
-
fps
|
|
1107
|
+
fps?: number | null;
|
|
1094
1108
|
|
|
1095
|
-
width
|
|
1109
|
+
width?: number | null;
|
|
1096
1110
|
|
|
1097
|
-
height
|
|
1111
|
+
height?: number | null;
|
|
1098
1112
|
|
|
1099
|
-
frame_count
|
|
1113
|
+
frame_count?: number | null;
|
|
1100
1114
|
|
|
1101
1115
|
has_audio_stream?: boolean;
|
|
1102
1116
|
|
|
1117
|
+
bpm?: number | null;
|
|
1118
|
+
|
|
1103
1119
|
file_extension?: string | null;
|
|
1104
1120
|
|
|
1105
1121
|
[k: string]: unknown;
|
|
@@ -1108,13 +1124,13 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1108
1124
|
export interface ImageChunkGeneratedMetadata {
|
|
1109
1125
|
type?: 'image';
|
|
1110
1126
|
|
|
1111
|
-
file_type
|
|
1127
|
+
file_type?: string;
|
|
1112
1128
|
|
|
1113
|
-
file_size
|
|
1129
|
+
file_size?: number | null;
|
|
1114
1130
|
|
|
1115
|
-
width
|
|
1131
|
+
width?: number | null;
|
|
1116
1132
|
|
|
1117
|
-
height
|
|
1133
|
+
height?: number | null;
|
|
1118
1134
|
|
|
1119
1135
|
file_extension?: string | null;
|
|
1120
1136
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.59.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.59.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.59.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.59.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|