@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
|
@@ -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,19 @@ export namespace StoreFile {
|
|
|
715
715
|
export interface AudioChunkGeneratedMetadata {
|
|
716
716
|
type?: 'audio';
|
|
717
717
|
|
|
718
|
-
file_type
|
|
718
|
+
file_type?: string;
|
|
719
|
+
|
|
720
|
+
file_size?: number | null;
|
|
719
721
|
|
|
720
|
-
|
|
722
|
+
total_duration_seconds?: number | null;
|
|
721
723
|
|
|
722
|
-
|
|
724
|
+
sample_rate?: number | null;
|
|
723
725
|
|
|
724
|
-
|
|
726
|
+
channels?: number | null;
|
|
725
727
|
|
|
726
|
-
|
|
728
|
+
audio_format?: number | null;
|
|
727
729
|
|
|
728
|
-
|
|
730
|
+
bpm?: number | null;
|
|
729
731
|
|
|
730
732
|
file_extension?: string | null;
|
|
731
733
|
|
|
@@ -735,22 +737,24 @@ export namespace StoreFile {
|
|
|
735
737
|
export interface VideoChunkGeneratedMetadata {
|
|
736
738
|
type?: 'video';
|
|
737
739
|
|
|
738
|
-
file_type
|
|
740
|
+
file_type?: string;
|
|
739
741
|
|
|
740
742
|
file_size?: number | null;
|
|
741
743
|
|
|
742
|
-
total_duration_seconds
|
|
744
|
+
total_duration_seconds?: number | null;
|
|
743
745
|
|
|
744
|
-
fps
|
|
746
|
+
fps?: number | null;
|
|
745
747
|
|
|
746
|
-
width
|
|
748
|
+
width?: number | null;
|
|
747
749
|
|
|
748
|
-
height
|
|
750
|
+
height?: number | null;
|
|
749
751
|
|
|
750
|
-
frame_count
|
|
752
|
+
frame_count?: number | null;
|
|
751
753
|
|
|
752
754
|
has_audio_stream?: boolean;
|
|
753
755
|
|
|
756
|
+
bpm?: number | null;
|
|
757
|
+
|
|
754
758
|
file_extension?: string | null;
|
|
755
759
|
|
|
756
760
|
[k: string]: unknown;
|
|
@@ -759,13 +763,13 @@ export namespace StoreFile {
|
|
|
759
763
|
export interface ImageChunkGeneratedMetadata {
|
|
760
764
|
type?: 'image';
|
|
761
765
|
|
|
762
|
-
file_type
|
|
766
|
+
file_type?: string;
|
|
763
767
|
|
|
764
|
-
file_size
|
|
768
|
+
file_size?: number | null;
|
|
765
769
|
|
|
766
|
-
width
|
|
770
|
+
width?: number | null;
|
|
767
771
|
|
|
768
|
-
height
|
|
772
|
+
height?: number | null;
|
|
769
773
|
|
|
770
774
|
file_extension?: string | null;
|
|
771
775
|
|
|
@@ -829,11 +833,11 @@ export namespace StoreFile {
|
|
|
829
833
|
|
|
830
834
|
file_type?: 'text/markdown';
|
|
831
835
|
|
|
832
|
-
language
|
|
836
|
+
language?: string | null;
|
|
833
837
|
|
|
834
|
-
word_count
|
|
838
|
+
word_count?: number | null;
|
|
835
839
|
|
|
836
|
-
file_size
|
|
840
|
+
file_size?: number | null;
|
|
837
841
|
|
|
838
842
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
839
843
|
|
|
@@ -869,11 +873,11 @@ export namespace StoreFile {
|
|
|
869
873
|
|
|
870
874
|
file_type?: 'text/plain';
|
|
871
875
|
|
|
872
|
-
language
|
|
876
|
+
language?: string | null;
|
|
873
877
|
|
|
874
|
-
word_count
|
|
878
|
+
word_count?: number | null;
|
|
875
879
|
|
|
876
|
-
file_size
|
|
880
|
+
file_size?: number | null;
|
|
877
881
|
|
|
878
882
|
start_line?: number;
|
|
879
883
|
|
|
@@ -889,9 +893,9 @@ export namespace StoreFile {
|
|
|
889
893
|
|
|
890
894
|
file_type?: 'application/pdf';
|
|
891
895
|
|
|
892
|
-
total_pages
|
|
896
|
+
total_pages?: number | null;
|
|
893
897
|
|
|
894
|
-
total_size
|
|
898
|
+
total_size?: number | null;
|
|
895
899
|
|
|
896
900
|
file_extension?: string | null;
|
|
897
901
|
|
|
@@ -903,11 +907,11 @@ export namespace StoreFile {
|
|
|
903
907
|
|
|
904
908
|
file_type: string;
|
|
905
909
|
|
|
906
|
-
language
|
|
910
|
+
language?: string | null;
|
|
907
911
|
|
|
908
|
-
word_count
|
|
912
|
+
word_count?: number | null;
|
|
909
913
|
|
|
910
|
-
file_size
|
|
914
|
+
file_size?: number | null;
|
|
911
915
|
|
|
912
916
|
start_line?: number;
|
|
913
917
|
|
|
@@ -921,17 +925,19 @@ export namespace StoreFile {
|
|
|
921
925
|
export interface AudioChunkGeneratedMetadata {
|
|
922
926
|
type?: 'audio';
|
|
923
927
|
|
|
924
|
-
file_type
|
|
928
|
+
file_type?: string;
|
|
929
|
+
|
|
930
|
+
file_size?: number | null;
|
|
925
931
|
|
|
926
|
-
|
|
932
|
+
total_duration_seconds?: number | null;
|
|
927
933
|
|
|
928
|
-
|
|
934
|
+
sample_rate?: number | null;
|
|
929
935
|
|
|
930
|
-
|
|
936
|
+
channels?: number | null;
|
|
931
937
|
|
|
932
|
-
|
|
938
|
+
audio_format?: number | null;
|
|
933
939
|
|
|
934
|
-
|
|
940
|
+
bpm?: number | null;
|
|
935
941
|
|
|
936
942
|
file_extension?: string | null;
|
|
937
943
|
|
|
@@ -941,22 +947,24 @@ export namespace StoreFile {
|
|
|
941
947
|
export interface VideoChunkGeneratedMetadata {
|
|
942
948
|
type?: 'video';
|
|
943
949
|
|
|
944
|
-
file_type
|
|
950
|
+
file_type?: string;
|
|
945
951
|
|
|
946
952
|
file_size?: number | null;
|
|
947
953
|
|
|
948
|
-
total_duration_seconds
|
|
954
|
+
total_duration_seconds?: number | null;
|
|
949
955
|
|
|
950
|
-
fps
|
|
956
|
+
fps?: number | null;
|
|
951
957
|
|
|
952
|
-
width
|
|
958
|
+
width?: number | null;
|
|
953
959
|
|
|
954
|
-
height
|
|
960
|
+
height?: number | null;
|
|
955
961
|
|
|
956
|
-
frame_count
|
|
962
|
+
frame_count?: number | null;
|
|
957
963
|
|
|
958
964
|
has_audio_stream?: boolean;
|
|
959
965
|
|
|
966
|
+
bpm?: number | null;
|
|
967
|
+
|
|
960
968
|
file_extension?: string | null;
|
|
961
969
|
|
|
962
970
|
[k: string]: unknown;
|
|
@@ -965,13 +973,13 @@ export namespace StoreFile {
|
|
|
965
973
|
export interface ImageChunkGeneratedMetadata {
|
|
966
974
|
type?: 'image';
|
|
967
975
|
|
|
968
|
-
file_type
|
|
976
|
+
file_type?: string;
|
|
969
977
|
|
|
970
|
-
file_size
|
|
978
|
+
file_size?: number | null;
|
|
971
979
|
|
|
972
|
-
width
|
|
980
|
+
width?: number | null;
|
|
973
981
|
|
|
974
|
-
height
|
|
982
|
+
height?: number | null;
|
|
975
983
|
|
|
976
984
|
file_extension?: string | null;
|
|
977
985
|
|
|
@@ -1055,11 +1063,11 @@ export namespace StoreFile {
|
|
|
1055
1063
|
|
|
1056
1064
|
file_type?: 'text/markdown';
|
|
1057
1065
|
|
|
1058
|
-
language
|
|
1066
|
+
language?: string | null;
|
|
1059
1067
|
|
|
1060
|
-
word_count
|
|
1068
|
+
word_count?: number | null;
|
|
1061
1069
|
|
|
1062
|
-
file_size
|
|
1070
|
+
file_size?: number | null;
|
|
1063
1071
|
|
|
1064
1072
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
1065
1073
|
|
|
@@ -1095,11 +1103,11 @@ export namespace StoreFile {
|
|
|
1095
1103
|
|
|
1096
1104
|
file_type?: 'text/plain';
|
|
1097
1105
|
|
|
1098
|
-
language
|
|
1106
|
+
language?: string | null;
|
|
1099
1107
|
|
|
1100
|
-
word_count
|
|
1108
|
+
word_count?: number | null;
|
|
1101
1109
|
|
|
1102
|
-
file_size
|
|
1110
|
+
file_size?: number | null;
|
|
1103
1111
|
|
|
1104
1112
|
start_line?: number;
|
|
1105
1113
|
|
|
@@ -1115,9 +1123,9 @@ export namespace StoreFile {
|
|
|
1115
1123
|
|
|
1116
1124
|
file_type?: 'application/pdf';
|
|
1117
1125
|
|
|
1118
|
-
total_pages
|
|
1126
|
+
total_pages?: number | null;
|
|
1119
1127
|
|
|
1120
|
-
total_size
|
|
1128
|
+
total_size?: number | null;
|
|
1121
1129
|
|
|
1122
1130
|
file_extension?: string | null;
|
|
1123
1131
|
|
|
@@ -1129,11 +1137,11 @@ export namespace StoreFile {
|
|
|
1129
1137
|
|
|
1130
1138
|
file_type: string;
|
|
1131
1139
|
|
|
1132
|
-
language
|
|
1140
|
+
language?: string | null;
|
|
1133
1141
|
|
|
1134
|
-
word_count
|
|
1142
|
+
word_count?: number | null;
|
|
1135
1143
|
|
|
1136
|
-
file_size
|
|
1144
|
+
file_size?: number | null;
|
|
1137
1145
|
|
|
1138
1146
|
start_line?: number;
|
|
1139
1147
|
|
|
@@ -1147,17 +1155,19 @@ export namespace StoreFile {
|
|
|
1147
1155
|
export interface AudioChunkGeneratedMetadata {
|
|
1148
1156
|
type?: 'audio';
|
|
1149
1157
|
|
|
1150
|
-
file_type
|
|
1158
|
+
file_type?: string;
|
|
1159
|
+
|
|
1160
|
+
file_size?: number | null;
|
|
1151
1161
|
|
|
1152
|
-
|
|
1162
|
+
total_duration_seconds?: number | null;
|
|
1153
1163
|
|
|
1154
|
-
|
|
1164
|
+
sample_rate?: number | null;
|
|
1155
1165
|
|
|
1156
|
-
|
|
1166
|
+
channels?: number | null;
|
|
1157
1167
|
|
|
1158
|
-
|
|
1168
|
+
audio_format?: number | null;
|
|
1159
1169
|
|
|
1160
|
-
|
|
1170
|
+
bpm?: number | null;
|
|
1161
1171
|
|
|
1162
1172
|
file_extension?: string | null;
|
|
1163
1173
|
|
|
@@ -1167,22 +1177,24 @@ export namespace StoreFile {
|
|
|
1167
1177
|
export interface VideoChunkGeneratedMetadata {
|
|
1168
1178
|
type?: 'video';
|
|
1169
1179
|
|
|
1170
|
-
file_type
|
|
1180
|
+
file_type?: string;
|
|
1171
1181
|
|
|
1172
1182
|
file_size?: number | null;
|
|
1173
1183
|
|
|
1174
|
-
total_duration_seconds
|
|
1184
|
+
total_duration_seconds?: number | null;
|
|
1175
1185
|
|
|
1176
|
-
fps
|
|
1186
|
+
fps?: number | null;
|
|
1177
1187
|
|
|
1178
|
-
width
|
|
1188
|
+
width?: number | null;
|
|
1179
1189
|
|
|
1180
|
-
height
|
|
1190
|
+
height?: number | null;
|
|
1181
1191
|
|
|
1182
|
-
frame_count
|
|
1192
|
+
frame_count?: number | null;
|
|
1183
1193
|
|
|
1184
1194
|
has_audio_stream?: boolean;
|
|
1185
1195
|
|
|
1196
|
+
bpm?: number | null;
|
|
1197
|
+
|
|
1186
1198
|
file_extension?: string | null;
|
|
1187
1199
|
|
|
1188
1200
|
[k: string]: unknown;
|
|
@@ -1191,13 +1203,13 @@ export namespace StoreFile {
|
|
|
1191
1203
|
export interface ImageChunkGeneratedMetadata {
|
|
1192
1204
|
type?: 'image';
|
|
1193
1205
|
|
|
1194
|
-
file_type
|
|
1206
|
+
file_type?: string;
|
|
1195
1207
|
|
|
1196
|
-
file_size
|
|
1208
|
+
file_size?: number | null;
|
|
1197
1209
|
|
|
1198
|
-
width
|
|
1210
|
+
width?: number | null;
|
|
1199
1211
|
|
|
1200
|
-
height
|
|
1212
|
+
height?: number | null;
|
|
1201
1213
|
|
|
1202
1214
|
file_extension?: string | null;
|
|
1203
1215
|
|
|
@@ -1271,11 +1283,11 @@ export namespace StoreFile {
|
|
|
1271
1283
|
|
|
1272
1284
|
file_type?: 'text/markdown';
|
|
1273
1285
|
|
|
1274
|
-
language
|
|
1286
|
+
language?: string | null;
|
|
1275
1287
|
|
|
1276
|
-
word_count
|
|
1288
|
+
word_count?: number | null;
|
|
1277
1289
|
|
|
1278
|
-
file_size
|
|
1290
|
+
file_size?: number | null;
|
|
1279
1291
|
|
|
1280
1292
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
1281
1293
|
|
|
@@ -1311,11 +1323,11 @@ export namespace StoreFile {
|
|
|
1311
1323
|
|
|
1312
1324
|
file_type?: 'text/plain';
|
|
1313
1325
|
|
|
1314
|
-
language
|
|
1326
|
+
language?: string | null;
|
|
1315
1327
|
|
|
1316
|
-
word_count
|
|
1328
|
+
word_count?: number | null;
|
|
1317
1329
|
|
|
1318
|
-
file_size
|
|
1330
|
+
file_size?: number | null;
|
|
1319
1331
|
|
|
1320
1332
|
start_line?: number;
|
|
1321
1333
|
|
|
@@ -1331,9 +1343,9 @@ export namespace StoreFile {
|
|
|
1331
1343
|
|
|
1332
1344
|
file_type?: 'application/pdf';
|
|
1333
1345
|
|
|
1334
|
-
total_pages
|
|
1346
|
+
total_pages?: number | null;
|
|
1335
1347
|
|
|
1336
|
-
total_size
|
|
1348
|
+
total_size?: number | null;
|
|
1337
1349
|
|
|
1338
1350
|
file_extension?: string | null;
|
|
1339
1351
|
|
|
@@ -1345,11 +1357,11 @@ export namespace StoreFile {
|
|
|
1345
1357
|
|
|
1346
1358
|
file_type: string;
|
|
1347
1359
|
|
|
1348
|
-
language
|
|
1360
|
+
language?: string | null;
|
|
1349
1361
|
|
|
1350
|
-
word_count
|
|
1362
|
+
word_count?: number | null;
|
|
1351
1363
|
|
|
1352
|
-
file_size
|
|
1364
|
+
file_size?: number | null;
|
|
1353
1365
|
|
|
1354
1366
|
start_line?: number;
|
|
1355
1367
|
|
|
@@ -1363,17 +1375,19 @@ export namespace StoreFile {
|
|
|
1363
1375
|
export interface AudioChunkGeneratedMetadata {
|
|
1364
1376
|
type?: 'audio';
|
|
1365
1377
|
|
|
1366
|
-
file_type
|
|
1378
|
+
file_type?: string;
|
|
1379
|
+
|
|
1380
|
+
file_size?: number | null;
|
|
1367
1381
|
|
|
1368
|
-
|
|
1382
|
+
total_duration_seconds?: number | null;
|
|
1369
1383
|
|
|
1370
|
-
|
|
1384
|
+
sample_rate?: number | null;
|
|
1371
1385
|
|
|
1372
|
-
|
|
1386
|
+
channels?: number | null;
|
|
1373
1387
|
|
|
1374
|
-
|
|
1388
|
+
audio_format?: number | null;
|
|
1375
1389
|
|
|
1376
|
-
|
|
1390
|
+
bpm?: number | null;
|
|
1377
1391
|
|
|
1378
1392
|
file_extension?: string | null;
|
|
1379
1393
|
|
|
@@ -1383,22 +1397,24 @@ export namespace StoreFile {
|
|
|
1383
1397
|
export interface VideoChunkGeneratedMetadata {
|
|
1384
1398
|
type?: 'video';
|
|
1385
1399
|
|
|
1386
|
-
file_type
|
|
1400
|
+
file_type?: string;
|
|
1387
1401
|
|
|
1388
1402
|
file_size?: number | null;
|
|
1389
1403
|
|
|
1390
|
-
total_duration_seconds
|
|
1404
|
+
total_duration_seconds?: number | null;
|
|
1391
1405
|
|
|
1392
|
-
fps
|
|
1406
|
+
fps?: number | null;
|
|
1393
1407
|
|
|
1394
|
-
width
|
|
1408
|
+
width?: number | null;
|
|
1395
1409
|
|
|
1396
|
-
height
|
|
1410
|
+
height?: number | null;
|
|
1397
1411
|
|
|
1398
|
-
frame_count
|
|
1412
|
+
frame_count?: number | null;
|
|
1399
1413
|
|
|
1400
1414
|
has_audio_stream?: boolean;
|
|
1401
1415
|
|
|
1416
|
+
bpm?: number | null;
|
|
1417
|
+
|
|
1402
1418
|
file_extension?: string | null;
|
|
1403
1419
|
|
|
1404
1420
|
[k: string]: unknown;
|
|
@@ -1407,13 +1423,13 @@ export namespace StoreFile {
|
|
|
1407
1423
|
export interface ImageChunkGeneratedMetadata {
|
|
1408
1424
|
type?: 'image';
|
|
1409
1425
|
|
|
1410
|
-
file_type
|
|
1426
|
+
file_type?: string;
|
|
1411
1427
|
|
|
1412
|
-
file_size
|
|
1428
|
+
file_size?: number | null;
|
|
1413
1429
|
|
|
1414
|
-
width
|
|
1430
|
+
width?: number | null;
|
|
1415
1431
|
|
|
1416
|
-
height
|
|
1432
|
+
height?: number | null;
|
|
1417
1433
|
|
|
1418
1434
|
file_extension?: string | null;
|
|
1419
1435
|
|