@mixedbread/sdk 0.66.0 → 0.67.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/client.d.mts +0 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +0 -1
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/shared.d.mts +0 -17
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -17
- package/resources/shared.d.ts.map +1 -1
- package/resources/stores/files.d.mts +37 -1
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +37 -1
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/stores.d.mts +125 -19
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +125 -19
- package/resources/stores/stores.d.ts.map +1 -1
- package/resources/stores/stores.js +1 -1
- package/resources/stores/stores.js.map +1 -1
- package/resources/stores/stores.mjs +1 -1
- package/resources/stores/stores.mjs.map +1 -1
- package/src/client.ts +0 -1
- package/src/resources/shared.ts +0 -20
- package/src/resources/stores/files.ts +44 -2
- package/src/resources/stores/stores.ts +148 -24
- 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
|
@@ -184,8 +184,8 @@ export class Stores extends APIResource {
|
|
|
184
184
|
* @example
|
|
185
185
|
* ```ts
|
|
186
186
|
* const response = await client.stores.search({
|
|
187
|
-
* query: 'how to configure SSL',
|
|
188
187
|
* store_identifiers: ['string'],
|
|
188
|
+
* query: 'how to configure SSL',
|
|
189
189
|
* });
|
|
190
190
|
* ```
|
|
191
191
|
*/
|
|
@@ -1119,12 +1119,7 @@ export interface StoreListParams extends CursorParams {
|
|
|
1119
1119
|
|
|
1120
1120
|
export interface StoreMetadataFacetsParams {
|
|
1121
1121
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
*/
|
|
1124
|
-
query?: string | null;
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* IDs or names of stores to search
|
|
1122
|
+
* IDs or names of stores
|
|
1128
1123
|
*/
|
|
1129
1124
|
store_identifiers: Array<string>;
|
|
1130
1125
|
|
|
@@ -1137,9 +1132,9 @@ export interface StoreMetadataFacetsParams {
|
|
|
1137
1132
|
* Optional filter conditions
|
|
1138
1133
|
*/
|
|
1139
1134
|
filters?:
|
|
1140
|
-
|
|
|
1135
|
+
| StoreMetadataFacetsParams.SearchFilterInput
|
|
1141
1136
|
| Shared.SearchFilterCondition
|
|
1142
|
-
| Array<
|
|
1137
|
+
| Array<StoreMetadataFacetsParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1143
1138
|
| null;
|
|
1144
1139
|
|
|
1145
1140
|
/**
|
|
@@ -1147,6 +1142,11 @@ export interface StoreMetadataFacetsParams {
|
|
|
1147
1142
|
*/
|
|
1148
1143
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1149
1144
|
|
|
1145
|
+
/**
|
|
1146
|
+
* Search query text
|
|
1147
|
+
*/
|
|
1148
|
+
query?: string | null;
|
|
1149
|
+
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Search configuration options
|
|
1152
1152
|
*/
|
|
@@ -1173,15 +1173,51 @@ export interface StoreMetadataFacetsParams {
|
|
|
1173
1173
|
max_files?: number;
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
|
-
export
|
|
1176
|
+
export namespace StoreMetadataFacetsParams {
|
|
1177
1177
|
/**
|
|
1178
|
-
*
|
|
1179
|
-
* passed messages.
|
|
1178
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1180
1179
|
*/
|
|
1181
|
-
|
|
1180
|
+
export interface SearchFilterInput {
|
|
1181
|
+
/**
|
|
1182
|
+
* List of conditions or filters to be ANDed together
|
|
1183
|
+
*/
|
|
1184
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* List of conditions or filters to be ORed together
|
|
1188
|
+
*/
|
|
1189
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* List of conditions or filters to be NOTed
|
|
1193
|
+
*/
|
|
1194
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1199
|
+
*/
|
|
1200
|
+
export interface SearchFilterInput {
|
|
1201
|
+
/**
|
|
1202
|
+
* List of conditions or filters to be ANDed together
|
|
1203
|
+
*/
|
|
1204
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* List of conditions or filters to be ORed together
|
|
1208
|
+
*/
|
|
1209
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1182
1210
|
|
|
1211
|
+
/**
|
|
1212
|
+
* List of conditions or filters to be NOTed
|
|
1213
|
+
*/
|
|
1214
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export interface StoreQuestionAnsweringParams {
|
|
1183
1219
|
/**
|
|
1184
|
-
* IDs or names of stores
|
|
1220
|
+
* IDs or names of stores
|
|
1185
1221
|
*/
|
|
1186
1222
|
store_identifiers: Array<string>;
|
|
1187
1223
|
|
|
@@ -1194,9 +1230,9 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1194
1230
|
* Optional filter conditions
|
|
1195
1231
|
*/
|
|
1196
1232
|
filters?:
|
|
1197
|
-
|
|
|
1233
|
+
| StoreQuestionAnsweringParams.SearchFilterInput
|
|
1198
1234
|
| Shared.SearchFilterCondition
|
|
1199
|
-
| Array<
|
|
1235
|
+
| Array<StoreQuestionAnsweringParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1200
1236
|
| null;
|
|
1201
1237
|
|
|
1202
1238
|
/**
|
|
@@ -1204,6 +1240,12 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1204
1240
|
*/
|
|
1205
1241
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1206
1242
|
|
|
1243
|
+
/**
|
|
1244
|
+
* Question to answer. If not provided, the question will be extracted from the
|
|
1245
|
+
* passed messages.
|
|
1246
|
+
*/
|
|
1247
|
+
query?: string;
|
|
1248
|
+
|
|
1207
1249
|
/**
|
|
1208
1250
|
* Search configuration options
|
|
1209
1251
|
*/
|
|
@@ -1227,6 +1269,46 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1227
1269
|
}
|
|
1228
1270
|
|
|
1229
1271
|
export namespace StoreQuestionAnsweringParams {
|
|
1272
|
+
/**
|
|
1273
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1274
|
+
*/
|
|
1275
|
+
export interface SearchFilterInput {
|
|
1276
|
+
/**
|
|
1277
|
+
* List of conditions or filters to be ANDed together
|
|
1278
|
+
*/
|
|
1279
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* List of conditions or filters to be ORed together
|
|
1283
|
+
*/
|
|
1284
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* List of conditions or filters to be NOTed
|
|
1288
|
+
*/
|
|
1289
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1294
|
+
*/
|
|
1295
|
+
export interface SearchFilterInput {
|
|
1296
|
+
/**
|
|
1297
|
+
* List of conditions or filters to be ANDed together
|
|
1298
|
+
*/
|
|
1299
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* List of conditions or filters to be ORed together
|
|
1303
|
+
*/
|
|
1304
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* List of conditions or filters to be NOTed
|
|
1308
|
+
*/
|
|
1309
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1230
1312
|
/**
|
|
1231
1313
|
* Question answering configuration options
|
|
1232
1314
|
*/
|
|
@@ -1245,12 +1327,7 @@ export namespace StoreQuestionAnsweringParams {
|
|
|
1245
1327
|
|
|
1246
1328
|
export interface StoreSearchParams {
|
|
1247
1329
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*/
|
|
1250
|
-
query: string | ContentAPI.ImageURLInput | ContentAPI.TextInput;
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* IDs or names of stores to search
|
|
1330
|
+
* IDs or names of stores
|
|
1254
1331
|
*/
|
|
1255
1332
|
store_identifiers: Array<string>;
|
|
1256
1333
|
|
|
@@ -1263,9 +1340,9 @@ export interface StoreSearchParams {
|
|
|
1263
1340
|
* Optional filter conditions
|
|
1264
1341
|
*/
|
|
1265
1342
|
filters?:
|
|
1266
|
-
|
|
|
1343
|
+
| StoreSearchParams.SearchFilterInput
|
|
1267
1344
|
| Shared.SearchFilterCondition
|
|
1268
|
-
| Array<
|
|
1345
|
+
| Array<StoreSearchParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1269
1346
|
| null;
|
|
1270
1347
|
|
|
1271
1348
|
/**
|
|
@@ -1273,12 +1350,59 @@ export interface StoreSearchParams {
|
|
|
1273
1350
|
*/
|
|
1274
1351
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1275
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* Search query text
|
|
1355
|
+
*/
|
|
1356
|
+
query: string | ContentAPI.ImageURLInput | ContentAPI.TextInput;
|
|
1357
|
+
|
|
1276
1358
|
/**
|
|
1277
1359
|
* Search configuration options
|
|
1278
1360
|
*/
|
|
1279
1361
|
search_options?: StoreChunkSearchOptions;
|
|
1280
1362
|
}
|
|
1281
1363
|
|
|
1364
|
+
export namespace StoreSearchParams {
|
|
1365
|
+
/**
|
|
1366
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1367
|
+
*/
|
|
1368
|
+
export interface SearchFilterInput {
|
|
1369
|
+
/**
|
|
1370
|
+
* List of conditions or filters to be ANDed together
|
|
1371
|
+
*/
|
|
1372
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* List of conditions or filters to be ORed together
|
|
1376
|
+
*/
|
|
1377
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* List of conditions or filters to be NOTed
|
|
1381
|
+
*/
|
|
1382
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1387
|
+
*/
|
|
1388
|
+
export interface SearchFilterInput {
|
|
1389
|
+
/**
|
|
1390
|
+
* List of conditions or filters to be ANDed together
|
|
1391
|
+
*/
|
|
1392
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* List of conditions or filters to be ORed together
|
|
1396
|
+
*/
|
|
1397
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* List of conditions or filters to be NOTed
|
|
1401
|
+
*/
|
|
1402
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1282
1406
|
Stores.Files = Files;
|
|
1283
1407
|
|
|
1284
1408
|
export declare namespace Stores {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.67.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.67.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.67.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.67.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|