@mixedbread/sdk 0.58.0 → 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 +8 -0
- package/package.json +1 -1
- package/resources/stores/files.d.mts +108 -108
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +108 -108
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/stores.d.mts +108 -108
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +108 -108
- package/resources/stores/stores.d.ts.map +1 -1
- package/src/resources/stores/files.ts +108 -108
- package/src/resources/stores/stores.ts +108 -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
|
@@ -623,11 +623,11 @@ export namespace StoreFile {
|
|
|
623
623
|
|
|
624
624
|
file_type?: 'text/markdown';
|
|
625
625
|
|
|
626
|
-
language
|
|
626
|
+
language?: string | null;
|
|
627
627
|
|
|
628
|
-
word_count
|
|
628
|
+
word_count?: number | null;
|
|
629
629
|
|
|
630
|
-
file_size
|
|
630
|
+
file_size?: number | null;
|
|
631
631
|
|
|
632
632
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
633
633
|
|
|
@@ -663,11 +663,11 @@ export namespace StoreFile {
|
|
|
663
663
|
|
|
664
664
|
file_type?: 'text/plain';
|
|
665
665
|
|
|
666
|
-
language
|
|
666
|
+
language?: string | null;
|
|
667
667
|
|
|
668
|
-
word_count
|
|
668
|
+
word_count?: number | null;
|
|
669
669
|
|
|
670
|
-
file_size
|
|
670
|
+
file_size?: number | null;
|
|
671
671
|
|
|
672
672
|
start_line?: number;
|
|
673
673
|
|
|
@@ -683,9 +683,9 @@ export namespace StoreFile {
|
|
|
683
683
|
|
|
684
684
|
file_type?: 'application/pdf';
|
|
685
685
|
|
|
686
|
-
total_pages
|
|
686
|
+
total_pages?: number | null;
|
|
687
687
|
|
|
688
|
-
total_size
|
|
688
|
+
total_size?: number | null;
|
|
689
689
|
|
|
690
690
|
file_extension?: string | null;
|
|
691
691
|
|
|
@@ -697,11 +697,11 @@ export namespace StoreFile {
|
|
|
697
697
|
|
|
698
698
|
file_type: string;
|
|
699
699
|
|
|
700
|
-
language
|
|
700
|
+
language?: string | null;
|
|
701
701
|
|
|
702
|
-
word_count
|
|
702
|
+
word_count?: number | null;
|
|
703
703
|
|
|
704
|
-
file_size
|
|
704
|
+
file_size?: number | null;
|
|
705
705
|
|
|
706
706
|
start_line?: number;
|
|
707
707
|
|
|
@@ -715,17 +715,17 @@ export namespace StoreFile {
|
|
|
715
715
|
export interface AudioChunkGeneratedMetadata {
|
|
716
716
|
type?: 'audio';
|
|
717
717
|
|
|
718
|
-
file_type
|
|
718
|
+
file_type?: string;
|
|
719
719
|
|
|
720
|
-
file_size
|
|
720
|
+
file_size?: number | null;
|
|
721
721
|
|
|
722
|
-
total_duration_seconds
|
|
722
|
+
total_duration_seconds?: number | null;
|
|
723
723
|
|
|
724
|
-
sample_rate
|
|
724
|
+
sample_rate?: number | null;
|
|
725
725
|
|
|
726
|
-
channels
|
|
726
|
+
channels?: number | null;
|
|
727
727
|
|
|
728
|
-
audio_format
|
|
728
|
+
audio_format?: number | null;
|
|
729
729
|
|
|
730
730
|
bpm?: number | null;
|
|
731
731
|
|
|
@@ -737,19 +737,19 @@ export namespace StoreFile {
|
|
|
737
737
|
export interface VideoChunkGeneratedMetadata {
|
|
738
738
|
type?: 'video';
|
|
739
739
|
|
|
740
|
-
file_type
|
|
740
|
+
file_type?: string;
|
|
741
741
|
|
|
742
742
|
file_size?: number | null;
|
|
743
743
|
|
|
744
|
-
total_duration_seconds
|
|
744
|
+
total_duration_seconds?: number | null;
|
|
745
745
|
|
|
746
|
-
fps
|
|
746
|
+
fps?: number | null;
|
|
747
747
|
|
|
748
|
-
width
|
|
748
|
+
width?: number | null;
|
|
749
749
|
|
|
750
|
-
height
|
|
750
|
+
height?: number | null;
|
|
751
751
|
|
|
752
|
-
frame_count
|
|
752
|
+
frame_count?: number | null;
|
|
753
753
|
|
|
754
754
|
has_audio_stream?: boolean;
|
|
755
755
|
|
|
@@ -763,13 +763,13 @@ export namespace StoreFile {
|
|
|
763
763
|
export interface ImageChunkGeneratedMetadata {
|
|
764
764
|
type?: 'image';
|
|
765
765
|
|
|
766
|
-
file_type
|
|
766
|
+
file_type?: string;
|
|
767
767
|
|
|
768
|
-
file_size
|
|
768
|
+
file_size?: number | null;
|
|
769
769
|
|
|
770
|
-
width
|
|
770
|
+
width?: number | null;
|
|
771
771
|
|
|
772
|
-
height
|
|
772
|
+
height?: number | null;
|
|
773
773
|
|
|
774
774
|
file_extension?: string | null;
|
|
775
775
|
|
|
@@ -833,11 +833,11 @@ export namespace StoreFile {
|
|
|
833
833
|
|
|
834
834
|
file_type?: 'text/markdown';
|
|
835
835
|
|
|
836
|
-
language
|
|
836
|
+
language?: string | null;
|
|
837
837
|
|
|
838
|
-
word_count
|
|
838
|
+
word_count?: number | null;
|
|
839
839
|
|
|
840
|
-
file_size
|
|
840
|
+
file_size?: number | null;
|
|
841
841
|
|
|
842
842
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
843
843
|
|
|
@@ -873,11 +873,11 @@ export namespace StoreFile {
|
|
|
873
873
|
|
|
874
874
|
file_type?: 'text/plain';
|
|
875
875
|
|
|
876
|
-
language
|
|
876
|
+
language?: string | null;
|
|
877
877
|
|
|
878
|
-
word_count
|
|
878
|
+
word_count?: number | null;
|
|
879
879
|
|
|
880
|
-
file_size
|
|
880
|
+
file_size?: number | null;
|
|
881
881
|
|
|
882
882
|
start_line?: number;
|
|
883
883
|
|
|
@@ -893,9 +893,9 @@ export namespace StoreFile {
|
|
|
893
893
|
|
|
894
894
|
file_type?: 'application/pdf';
|
|
895
895
|
|
|
896
|
-
total_pages
|
|
896
|
+
total_pages?: number | null;
|
|
897
897
|
|
|
898
|
-
total_size
|
|
898
|
+
total_size?: number | null;
|
|
899
899
|
|
|
900
900
|
file_extension?: string | null;
|
|
901
901
|
|
|
@@ -907,11 +907,11 @@ export namespace StoreFile {
|
|
|
907
907
|
|
|
908
908
|
file_type: string;
|
|
909
909
|
|
|
910
|
-
language
|
|
910
|
+
language?: string | null;
|
|
911
911
|
|
|
912
|
-
word_count
|
|
912
|
+
word_count?: number | null;
|
|
913
913
|
|
|
914
|
-
file_size
|
|
914
|
+
file_size?: number | null;
|
|
915
915
|
|
|
916
916
|
start_line?: number;
|
|
917
917
|
|
|
@@ -925,17 +925,17 @@ export namespace StoreFile {
|
|
|
925
925
|
export interface AudioChunkGeneratedMetadata {
|
|
926
926
|
type?: 'audio';
|
|
927
927
|
|
|
928
|
-
file_type
|
|
928
|
+
file_type?: string;
|
|
929
929
|
|
|
930
|
-
file_size
|
|
930
|
+
file_size?: number | null;
|
|
931
931
|
|
|
932
|
-
total_duration_seconds
|
|
932
|
+
total_duration_seconds?: number | null;
|
|
933
933
|
|
|
934
|
-
sample_rate
|
|
934
|
+
sample_rate?: number | null;
|
|
935
935
|
|
|
936
|
-
channels
|
|
936
|
+
channels?: number | null;
|
|
937
937
|
|
|
938
|
-
audio_format
|
|
938
|
+
audio_format?: number | null;
|
|
939
939
|
|
|
940
940
|
bpm?: number | null;
|
|
941
941
|
|
|
@@ -947,19 +947,19 @@ export namespace StoreFile {
|
|
|
947
947
|
export interface VideoChunkGeneratedMetadata {
|
|
948
948
|
type?: 'video';
|
|
949
949
|
|
|
950
|
-
file_type
|
|
950
|
+
file_type?: string;
|
|
951
951
|
|
|
952
952
|
file_size?: number | null;
|
|
953
953
|
|
|
954
|
-
total_duration_seconds
|
|
954
|
+
total_duration_seconds?: number | null;
|
|
955
955
|
|
|
956
|
-
fps
|
|
956
|
+
fps?: number | null;
|
|
957
957
|
|
|
958
|
-
width
|
|
958
|
+
width?: number | null;
|
|
959
959
|
|
|
960
|
-
height
|
|
960
|
+
height?: number | null;
|
|
961
961
|
|
|
962
|
-
frame_count
|
|
962
|
+
frame_count?: number | null;
|
|
963
963
|
|
|
964
964
|
has_audio_stream?: boolean;
|
|
965
965
|
|
|
@@ -973,13 +973,13 @@ export namespace StoreFile {
|
|
|
973
973
|
export interface ImageChunkGeneratedMetadata {
|
|
974
974
|
type?: 'image';
|
|
975
975
|
|
|
976
|
-
file_type
|
|
976
|
+
file_type?: string;
|
|
977
977
|
|
|
978
|
-
file_size
|
|
978
|
+
file_size?: number | null;
|
|
979
979
|
|
|
980
|
-
width
|
|
980
|
+
width?: number | null;
|
|
981
981
|
|
|
982
|
-
height
|
|
982
|
+
height?: number | null;
|
|
983
983
|
|
|
984
984
|
file_extension?: string | null;
|
|
985
985
|
|
|
@@ -1063,11 +1063,11 @@ export namespace StoreFile {
|
|
|
1063
1063
|
|
|
1064
1064
|
file_type?: 'text/markdown';
|
|
1065
1065
|
|
|
1066
|
-
language
|
|
1066
|
+
language?: string | null;
|
|
1067
1067
|
|
|
1068
|
-
word_count
|
|
1068
|
+
word_count?: number | null;
|
|
1069
1069
|
|
|
1070
|
-
file_size
|
|
1070
|
+
file_size?: number | null;
|
|
1071
1071
|
|
|
1072
1072
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
1073
1073
|
|
|
@@ -1103,11 +1103,11 @@ export namespace StoreFile {
|
|
|
1103
1103
|
|
|
1104
1104
|
file_type?: 'text/plain';
|
|
1105
1105
|
|
|
1106
|
-
language
|
|
1106
|
+
language?: string | null;
|
|
1107
1107
|
|
|
1108
|
-
word_count
|
|
1108
|
+
word_count?: number | null;
|
|
1109
1109
|
|
|
1110
|
-
file_size
|
|
1110
|
+
file_size?: number | null;
|
|
1111
1111
|
|
|
1112
1112
|
start_line?: number;
|
|
1113
1113
|
|
|
@@ -1123,9 +1123,9 @@ export namespace StoreFile {
|
|
|
1123
1123
|
|
|
1124
1124
|
file_type?: 'application/pdf';
|
|
1125
1125
|
|
|
1126
|
-
total_pages
|
|
1126
|
+
total_pages?: number | null;
|
|
1127
1127
|
|
|
1128
|
-
total_size
|
|
1128
|
+
total_size?: number | null;
|
|
1129
1129
|
|
|
1130
1130
|
file_extension?: string | null;
|
|
1131
1131
|
|
|
@@ -1137,11 +1137,11 @@ export namespace StoreFile {
|
|
|
1137
1137
|
|
|
1138
1138
|
file_type: string;
|
|
1139
1139
|
|
|
1140
|
-
language
|
|
1140
|
+
language?: string | null;
|
|
1141
1141
|
|
|
1142
|
-
word_count
|
|
1142
|
+
word_count?: number | null;
|
|
1143
1143
|
|
|
1144
|
-
file_size
|
|
1144
|
+
file_size?: number | null;
|
|
1145
1145
|
|
|
1146
1146
|
start_line?: number;
|
|
1147
1147
|
|
|
@@ -1155,17 +1155,17 @@ export namespace StoreFile {
|
|
|
1155
1155
|
export interface AudioChunkGeneratedMetadata {
|
|
1156
1156
|
type?: 'audio';
|
|
1157
1157
|
|
|
1158
|
-
file_type
|
|
1158
|
+
file_type?: string;
|
|
1159
1159
|
|
|
1160
|
-
file_size
|
|
1160
|
+
file_size?: number | null;
|
|
1161
1161
|
|
|
1162
|
-
total_duration_seconds
|
|
1162
|
+
total_duration_seconds?: number | null;
|
|
1163
1163
|
|
|
1164
|
-
sample_rate
|
|
1164
|
+
sample_rate?: number | null;
|
|
1165
1165
|
|
|
1166
|
-
channels
|
|
1166
|
+
channels?: number | null;
|
|
1167
1167
|
|
|
1168
|
-
audio_format
|
|
1168
|
+
audio_format?: number | null;
|
|
1169
1169
|
|
|
1170
1170
|
bpm?: number | null;
|
|
1171
1171
|
|
|
@@ -1177,19 +1177,19 @@ export namespace StoreFile {
|
|
|
1177
1177
|
export interface VideoChunkGeneratedMetadata {
|
|
1178
1178
|
type?: 'video';
|
|
1179
1179
|
|
|
1180
|
-
file_type
|
|
1180
|
+
file_type?: string;
|
|
1181
1181
|
|
|
1182
1182
|
file_size?: number | null;
|
|
1183
1183
|
|
|
1184
|
-
total_duration_seconds
|
|
1184
|
+
total_duration_seconds?: number | null;
|
|
1185
1185
|
|
|
1186
|
-
fps
|
|
1186
|
+
fps?: number | null;
|
|
1187
1187
|
|
|
1188
|
-
width
|
|
1188
|
+
width?: number | null;
|
|
1189
1189
|
|
|
1190
|
-
height
|
|
1190
|
+
height?: number | null;
|
|
1191
1191
|
|
|
1192
|
-
frame_count
|
|
1192
|
+
frame_count?: number | null;
|
|
1193
1193
|
|
|
1194
1194
|
has_audio_stream?: boolean;
|
|
1195
1195
|
|
|
@@ -1203,13 +1203,13 @@ export namespace StoreFile {
|
|
|
1203
1203
|
export interface ImageChunkGeneratedMetadata {
|
|
1204
1204
|
type?: 'image';
|
|
1205
1205
|
|
|
1206
|
-
file_type
|
|
1206
|
+
file_type?: string;
|
|
1207
1207
|
|
|
1208
|
-
file_size
|
|
1208
|
+
file_size?: number | null;
|
|
1209
1209
|
|
|
1210
|
-
width
|
|
1210
|
+
width?: number | null;
|
|
1211
1211
|
|
|
1212
|
-
height
|
|
1212
|
+
height?: number | null;
|
|
1213
1213
|
|
|
1214
1214
|
file_extension?: string | null;
|
|
1215
1215
|
|
|
@@ -1283,11 +1283,11 @@ export namespace StoreFile {
|
|
|
1283
1283
|
|
|
1284
1284
|
file_type?: 'text/markdown';
|
|
1285
1285
|
|
|
1286
|
-
language
|
|
1286
|
+
language?: string | null;
|
|
1287
1287
|
|
|
1288
|
-
word_count
|
|
1288
|
+
word_count?: number | null;
|
|
1289
1289
|
|
|
1290
|
-
file_size
|
|
1290
|
+
file_size?: number | null;
|
|
1291
1291
|
|
|
1292
1292
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
1293
1293
|
|
|
@@ -1323,11 +1323,11 @@ export namespace StoreFile {
|
|
|
1323
1323
|
|
|
1324
1324
|
file_type?: 'text/plain';
|
|
1325
1325
|
|
|
1326
|
-
language
|
|
1326
|
+
language?: string | null;
|
|
1327
1327
|
|
|
1328
|
-
word_count
|
|
1328
|
+
word_count?: number | null;
|
|
1329
1329
|
|
|
1330
|
-
file_size
|
|
1330
|
+
file_size?: number | null;
|
|
1331
1331
|
|
|
1332
1332
|
start_line?: number;
|
|
1333
1333
|
|
|
@@ -1343,9 +1343,9 @@ export namespace StoreFile {
|
|
|
1343
1343
|
|
|
1344
1344
|
file_type?: 'application/pdf';
|
|
1345
1345
|
|
|
1346
|
-
total_pages
|
|
1346
|
+
total_pages?: number | null;
|
|
1347
1347
|
|
|
1348
|
-
total_size
|
|
1348
|
+
total_size?: number | null;
|
|
1349
1349
|
|
|
1350
1350
|
file_extension?: string | null;
|
|
1351
1351
|
|
|
@@ -1357,11 +1357,11 @@ export namespace StoreFile {
|
|
|
1357
1357
|
|
|
1358
1358
|
file_type: string;
|
|
1359
1359
|
|
|
1360
|
-
language
|
|
1360
|
+
language?: string | null;
|
|
1361
1361
|
|
|
1362
|
-
word_count
|
|
1362
|
+
word_count?: number | null;
|
|
1363
1363
|
|
|
1364
|
-
file_size
|
|
1364
|
+
file_size?: number | null;
|
|
1365
1365
|
|
|
1366
1366
|
start_line?: number;
|
|
1367
1367
|
|
|
@@ -1375,17 +1375,17 @@ export namespace StoreFile {
|
|
|
1375
1375
|
export interface AudioChunkGeneratedMetadata {
|
|
1376
1376
|
type?: 'audio';
|
|
1377
1377
|
|
|
1378
|
-
file_type
|
|
1378
|
+
file_type?: string;
|
|
1379
1379
|
|
|
1380
|
-
file_size
|
|
1380
|
+
file_size?: number | null;
|
|
1381
1381
|
|
|
1382
|
-
total_duration_seconds
|
|
1382
|
+
total_duration_seconds?: number | null;
|
|
1383
1383
|
|
|
1384
|
-
sample_rate
|
|
1384
|
+
sample_rate?: number | null;
|
|
1385
1385
|
|
|
1386
|
-
channels
|
|
1386
|
+
channels?: number | null;
|
|
1387
1387
|
|
|
1388
|
-
audio_format
|
|
1388
|
+
audio_format?: number | null;
|
|
1389
1389
|
|
|
1390
1390
|
bpm?: number | null;
|
|
1391
1391
|
|
|
@@ -1397,19 +1397,19 @@ export namespace StoreFile {
|
|
|
1397
1397
|
export interface VideoChunkGeneratedMetadata {
|
|
1398
1398
|
type?: 'video';
|
|
1399
1399
|
|
|
1400
|
-
file_type
|
|
1400
|
+
file_type?: string;
|
|
1401
1401
|
|
|
1402
1402
|
file_size?: number | null;
|
|
1403
1403
|
|
|
1404
|
-
total_duration_seconds
|
|
1404
|
+
total_duration_seconds?: number | null;
|
|
1405
1405
|
|
|
1406
|
-
fps
|
|
1406
|
+
fps?: number | null;
|
|
1407
1407
|
|
|
1408
|
-
width
|
|
1408
|
+
width?: number | null;
|
|
1409
1409
|
|
|
1410
|
-
height
|
|
1410
|
+
height?: number | null;
|
|
1411
1411
|
|
|
1412
|
-
frame_count
|
|
1412
|
+
frame_count?: number | null;
|
|
1413
1413
|
|
|
1414
1414
|
has_audio_stream?: boolean;
|
|
1415
1415
|
|
|
@@ -1423,13 +1423,13 @@ export namespace StoreFile {
|
|
|
1423
1423
|
export interface ImageChunkGeneratedMetadata {
|
|
1424
1424
|
type?: 'image';
|
|
1425
1425
|
|
|
1426
|
-
file_type
|
|
1426
|
+
file_type?: string;
|
|
1427
1427
|
|
|
1428
|
-
file_size
|
|
1428
|
+
file_size?: number | null;
|
|
1429
1429
|
|
|
1430
|
-
width
|
|
1430
|
+
width?: number | null;
|
|
1431
1431
|
|
|
1432
|
-
height
|
|
1432
|
+
height?: number | null;
|
|
1433
1433
|
|
|
1434
1434
|
file_extension?: string | null;
|
|
1435
1435
|
|