@distilled.cloud/typesense 0.19.1 → 0.20.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/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/createAnalyticsEvent.d.ts +4 -4
- package/lib/operations/createCollection.d.ts +58 -58
- package/lib/operations/createConversationModel.d.ts +4 -4
- package/lib/operations/createKey.d.ts +4 -4
- package/lib/operations/createNLSearchModel.d.ts +13 -13
- package/lib/operations/deleteAlias.d.ts +1 -1
- package/lib/operations/deleteAnalyticsRule.d.ts +6 -6
- package/lib/operations/deleteCollection.d.ts +30 -30
- package/lib/operations/deleteSynonymSetItem.d.ts +1 -1
- package/lib/operations/getAlias.d.ts +1 -1
- package/lib/operations/getAliases.d.ts +1 -1
- package/lib/operations/getAnalyticsEvents.d.ts +6 -6
- package/lib/operations/getAnalyticsStatus.d.ts +5 -5
- package/lib/operations/getCollection.d.ts +30 -30
- package/lib/operations/getCollections.d.ts +30 -30
- package/lib/operations/getKey.d.ts +2 -2
- package/lib/operations/getKeys.d.ts +2 -2
- package/lib/operations/getSchemaChanges.d.ts +1 -1
- package/lib/operations/getStemmingDictionary.d.ts +1 -1
- package/lib/operations/indexDocument.d.ts +1 -1
- package/lib/operations/multiSearch.d.ts +105 -105
- package/lib/operations/retrieveAllPresets.d.ts +1 -1
- package/lib/operations/retrieveAnalyticsRule.d.ts +6 -6
- package/lib/operations/retrieveAnalyticsRules.d.ts +6 -6
- package/lib/operations/retrieveCurationSet.d.ts +17 -17
- package/lib/operations/retrieveCurationSetItem.d.ts +16 -16
- package/lib/operations/retrieveCurationSetItems.d.ts +16 -16
- package/lib/operations/retrieveCurationSets.d.ts +17 -17
- package/lib/operations/retrievePreset.d.ts +1 -1
- package/lib/operations/retrieveStopwordsSet.d.ts +1 -1
- package/lib/operations/retrieveStopwordsSets.d.ts +1 -1
- package/lib/operations/retrieveSynonymSet.d.ts +2 -2
- package/lib/operations/retrieveSynonymSetItem.d.ts +3 -3
- package/lib/operations/retrieveSynonymSetItems.d.ts +2 -2
- package/lib/operations/retrieveSynonymSets.d.ts +2 -2
- package/lib/operations/searchCollection.d.ts +45 -45
- package/lib/operations/updateCollection.d.ts +44 -44
- package/lib/operations/updateConversationModel.d.ts +5 -5
- package/lib/operations/updateDocument.d.ts +1 -1
- package/lib/operations/upsertAlias.d.ts +1 -1
- package/lib/operations/upsertAnalyticsRule.d.ts +11 -11
- package/lib/operations/upsertCurationSet.d.ts +34 -34
- package/lib/operations/upsertCurationSetItem.d.ts +31 -31
- package/lib/operations/upsertPreset.d.ts +1 -1
- package/lib/operations/upsertStopwordsSet.d.ts +2 -2
- package/lib/operations/upsertSynonymSet.d.ts +5 -5
- package/lib/operations/upsertSynonymSetItem.d.ts +5 -5
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -62,53 +62,53 @@ export type GetCollectionsOutput = typeof GetCollectionsOutput.Type;
|
|
|
62
62
|
export declare const getCollections: import("@distilled.cloud/core/client").OperationMethod<{
|
|
63
63
|
readonly getCollectionsParameters?: string | undefined;
|
|
64
64
|
}, readonly {
|
|
65
|
-
readonly
|
|
66
|
-
readonly default_sorting_field?: string | undefined;
|
|
67
|
-
readonly enable_nested_fields?: boolean | undefined;
|
|
65
|
+
readonly name: string;
|
|
68
66
|
readonly fields: readonly {
|
|
67
|
+
readonly name: string;
|
|
68
|
+
readonly type: string;
|
|
69
|
+
readonly optional?: boolean | undefined;
|
|
70
|
+
readonly facet?: boolean | undefined;
|
|
71
|
+
readonly index?: boolean | undefined;
|
|
72
|
+
readonly locale?: string | undefined;
|
|
73
|
+
readonly sort?: boolean | undefined;
|
|
74
|
+
readonly infix?: boolean | undefined;
|
|
75
|
+
readonly reference?: string | undefined;
|
|
69
76
|
readonly async_reference?: boolean | undefined;
|
|
77
|
+
readonly num_dim?: number | undefined;
|
|
70
78
|
readonly drop?: boolean | undefined;
|
|
79
|
+
readonly store?: boolean | undefined;
|
|
80
|
+
readonly vec_dist?: string | undefined;
|
|
81
|
+
readonly range_index?: boolean | undefined;
|
|
82
|
+
readonly stem?: boolean | undefined;
|
|
83
|
+
readonly stem_dictionary?: string | undefined;
|
|
84
|
+
readonly token_separators?: readonly string[] | undefined;
|
|
85
|
+
readonly symbols_to_index?: readonly string[] | undefined;
|
|
71
86
|
readonly embed?: {
|
|
72
87
|
readonly from: readonly string[];
|
|
73
88
|
readonly model_config: {
|
|
74
|
-
readonly
|
|
89
|
+
readonly model_name: string;
|
|
75
90
|
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
91
|
+
readonly url?: string | undefined;
|
|
92
|
+
readonly access_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
93
|
+
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
76
94
|
readonly client_id?: string | undefined;
|
|
77
95
|
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
78
|
-
readonly indexing_prefix?: string | undefined;
|
|
79
|
-
readonly model_name: string;
|
|
80
96
|
readonly project_id?: string | undefined;
|
|
97
|
+
readonly indexing_prefix?: string | undefined;
|
|
81
98
|
readonly query_prefix?: string | undefined;
|
|
82
|
-
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
83
|
-
readonly url?: string | undefined;
|
|
84
99
|
};
|
|
85
100
|
} | undefined;
|
|
86
|
-
readonly facet?: boolean | undefined;
|
|
87
|
-
readonly index?: boolean | undefined;
|
|
88
|
-
readonly infix?: boolean | undefined;
|
|
89
|
-
readonly locale?: string | undefined;
|
|
90
|
-
readonly name: string;
|
|
91
|
-
readonly num_dim?: number | undefined;
|
|
92
|
-
readonly optional?: boolean | undefined;
|
|
93
|
-
readonly range_index?: boolean | undefined;
|
|
94
|
-
readonly reference?: string | undefined;
|
|
95
|
-
readonly sort?: boolean | undefined;
|
|
96
|
-
readonly stem?: boolean | undefined;
|
|
97
|
-
readonly stem_dictionary?: string | undefined;
|
|
98
|
-
readonly store?: boolean | undefined;
|
|
99
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
100
|
-
readonly token_separators?: readonly string[] | undefined;
|
|
101
|
-
readonly type: string;
|
|
102
|
-
readonly vec_dist?: string | undefined;
|
|
103
101
|
}[];
|
|
104
|
-
readonly
|
|
105
|
-
readonly name: string;
|
|
106
|
-
readonly num_documents: number;
|
|
107
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
108
|
-
readonly synonym_sets?: readonly string[] | undefined;
|
|
102
|
+
readonly default_sorting_field?: string | undefined;
|
|
109
103
|
readonly token_separators?: readonly string[] | undefined;
|
|
104
|
+
readonly synonym_sets?: readonly string[] | undefined;
|
|
105
|
+
readonly enable_nested_fields?: boolean | undefined;
|
|
106
|
+
readonly symbols_to_index?: readonly string[] | undefined;
|
|
110
107
|
readonly voice_query_model?: {
|
|
111
108
|
readonly model_name?: string | undefined;
|
|
112
109
|
} | undefined;
|
|
110
|
+
readonly metadata?: unknown;
|
|
111
|
+
readonly num_documents: number;
|
|
112
|
+
readonly created_at: number;
|
|
113
113
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
114
114
|
//# sourceMappingURL=getCollections.d.ts.map
|
|
@@ -24,12 +24,12 @@ export type GetKeyOutput = typeof GetKeyOutput.Type;
|
|
|
24
24
|
export declare const getKey: import("@distilled.cloud/core/client").OperationMethod<{
|
|
25
25
|
readonly keyId: number;
|
|
26
26
|
}, {
|
|
27
|
+
readonly value?: string | undefined;
|
|
28
|
+
readonly description: string;
|
|
27
29
|
readonly actions: readonly string[];
|
|
28
30
|
readonly collections: readonly string[];
|
|
29
|
-
readonly description: string;
|
|
30
31
|
readonly expires_at?: number | undefined;
|
|
31
32
|
readonly id?: number | undefined;
|
|
32
|
-
readonly value?: string | undefined;
|
|
33
33
|
readonly value_prefix?: string | undefined;
|
|
34
34
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
35
35
|
//# sourceMappingURL=getKey.d.ts.map
|
|
@@ -18,12 +18,12 @@ export type GetKeysOutput = typeof GetKeysOutput.Type;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const getKeys: import("@distilled.cloud/core/client").OperationMethod<{}, {
|
|
20
20
|
readonly keys: readonly {
|
|
21
|
+
readonly value?: string | undefined;
|
|
22
|
+
readonly description: string;
|
|
21
23
|
readonly actions: readonly string[];
|
|
22
24
|
readonly collections: readonly string[];
|
|
23
|
-
readonly description: string;
|
|
24
25
|
readonly expires_at?: number | undefined;
|
|
25
26
|
readonly id?: number | undefined;
|
|
26
|
-
readonly value?: string | undefined;
|
|
27
27
|
readonly value_prefix?: string | undefined;
|
|
28
28
|
}[];
|
|
29
29
|
}, never, import("~/credentials.ts").Credentials>;
|
|
@@ -13,8 +13,8 @@ export type GetSchemaChangesOutput = typeof GetSchemaChangesOutput.Type;
|
|
|
13
13
|
* Returns the status of any ongoing schema change operations. If no schema changes are in progress, returns an empty response.
|
|
14
14
|
*/
|
|
15
15
|
export declare const getSchemaChanges: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
|
|
16
|
-
readonly altered_docs?: number | undefined;
|
|
17
16
|
readonly collection?: string | undefined;
|
|
18
17
|
readonly validated_docs?: number | undefined;
|
|
18
|
+
readonly altered_docs?: number | undefined;
|
|
19
19
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
20
20
|
//# sourceMappingURL=getSchemaChanges.d.ts.map
|
|
@@ -24,8 +24,8 @@ export declare const getStemmingDictionary: import("@distilled.cloud/core/client
|
|
|
24
24
|
}, {
|
|
25
25
|
readonly id: string;
|
|
26
26
|
readonly words: readonly {
|
|
27
|
-
readonly root: string;
|
|
28
27
|
readonly word: string;
|
|
28
|
+
readonly root: string;
|
|
29
29
|
}[];
|
|
30
30
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
31
31
|
//# sourceMappingURL=getStemmingDictionary.d.ts.map
|
|
@@ -18,8 +18,8 @@ export type IndexDocumentOutput = typeof IndexDocumentOutput.Type;
|
|
|
18
18
|
* @param dirty_values - Dealing with Dirty Data
|
|
19
19
|
*/
|
|
20
20
|
export declare const indexDocument: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly action?: string | undefined;
|
|
22
21
|
readonly collectionName: string;
|
|
22
|
+
readonly action?: string | undefined;
|
|
23
23
|
readonly dirty_values?: string | undefined;
|
|
24
24
|
}, unknown, NotFound, import("~/credentials.ts").Credentials>;
|
|
25
25
|
//# sourceMappingURL=indexDocument.d.ts.map
|
|
@@ -205,138 +205,121 @@ export type MultiSearchOutput = typeof MultiSearchOutput.Type;
|
|
|
205
205
|
*/
|
|
206
206
|
export declare const multiSearch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
207
207
|
readonly multiSearchParameters: string;
|
|
208
|
+
readonly union?: boolean | undefined;
|
|
208
209
|
readonly searches: readonly {
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly curation_tags?: string | undefined;
|
|
215
|
-
readonly drop_tokens_mode?: "both_sides:3" | "left_to_right" | "right_to_left" | undefined;
|
|
216
|
-
readonly drop_tokens_threshold?: number | undefined;
|
|
217
|
-
readonly enable_analytics?: boolean | undefined;
|
|
218
|
-
readonly enable_curations?: boolean | undefined;
|
|
219
|
-
readonly enable_synonyms?: boolean | undefined;
|
|
220
|
-
readonly enable_typos_for_alpha_numerical_tokens?: boolean | undefined;
|
|
221
|
-
readonly enable_typos_for_numerical_tokens?: boolean | undefined;
|
|
222
|
-
readonly exclude_fields?: string | undefined;
|
|
223
|
-
readonly exhaustive_search?: boolean | undefined;
|
|
224
|
-
readonly facet_by?: string | undefined;
|
|
225
|
-
readonly facet_query?: string | undefined;
|
|
226
|
-
readonly facet_return_parent?: string | undefined;
|
|
227
|
-
readonly facet_strategy?: string | undefined;
|
|
228
|
-
readonly filter_by?: string | undefined;
|
|
229
|
-
readonly filter_curated_hits?: boolean | undefined;
|
|
230
|
-
readonly group_by?: string | undefined;
|
|
231
|
-
readonly group_limit?: number | undefined;
|
|
232
|
-
readonly group_missing_values?: boolean | undefined;
|
|
233
|
-
readonly hidden_hits?: string | undefined;
|
|
234
|
-
readonly highlight_affix_num_tokens?: number | undefined;
|
|
235
|
-
readonly highlight_end_tag?: string | undefined;
|
|
236
|
-
readonly highlight_fields?: string | undefined;
|
|
237
|
-
readonly highlight_full_fields?: string | undefined;
|
|
238
|
-
readonly highlight_start_tag?: string | undefined;
|
|
239
|
-
readonly include_fields?: string | undefined;
|
|
210
|
+
readonly q?: string | undefined;
|
|
211
|
+
readonly query_by?: string | undefined;
|
|
212
|
+
readonly query_by_weights?: string | undefined;
|
|
213
|
+
readonly text_match_type?: string | undefined;
|
|
214
|
+
readonly prefix?: string | undefined;
|
|
240
215
|
readonly infix?: string | undefined;
|
|
241
|
-
readonly limit?: number | undefined;
|
|
242
216
|
readonly max_extra_prefix?: number | undefined;
|
|
243
217
|
readonly max_extra_suffix?: number | undefined;
|
|
218
|
+
readonly filter_by?: string | undefined;
|
|
219
|
+
readonly sort_by?: string | undefined;
|
|
220
|
+
readonly facet_by?: string | undefined;
|
|
244
221
|
readonly max_facet_values?: number | undefined;
|
|
245
|
-
readonly
|
|
246
|
-
readonly min_len_2typo?: number | undefined;
|
|
222
|
+
readonly facet_query?: string | undefined;
|
|
247
223
|
readonly num_typos?: string | undefined;
|
|
248
|
-
readonly offset?: number | undefined;
|
|
249
224
|
readonly page?: number | undefined;
|
|
250
225
|
readonly per_page?: number | undefined;
|
|
226
|
+
readonly limit?: number | undefined;
|
|
227
|
+
readonly offset?: number | undefined;
|
|
228
|
+
readonly group_by?: string | undefined;
|
|
229
|
+
readonly group_limit?: number | undefined;
|
|
230
|
+
readonly group_missing_values?: boolean | undefined;
|
|
231
|
+
readonly include_fields?: string | undefined;
|
|
232
|
+
readonly exclude_fields?: string | undefined;
|
|
233
|
+
readonly highlight_full_fields?: string | undefined;
|
|
234
|
+
readonly highlight_affix_num_tokens?: number | undefined;
|
|
235
|
+
readonly highlight_start_tag?: string | undefined;
|
|
236
|
+
readonly highlight_end_tag?: string | undefined;
|
|
237
|
+
readonly snippet_threshold?: number | undefined;
|
|
238
|
+
readonly drop_tokens_threshold?: number | undefined;
|
|
239
|
+
readonly drop_tokens_mode?: "both_sides:3" | "left_to_right" | "right_to_left" | undefined;
|
|
240
|
+
readonly typo_tokens_threshold?: number | undefined;
|
|
241
|
+
readonly enable_typos_for_alpha_numerical_tokens?: boolean | undefined;
|
|
242
|
+
readonly filter_curated_hits?: boolean | undefined;
|
|
243
|
+
readonly enable_synonyms?: boolean | undefined;
|
|
244
|
+
readonly enable_analytics?: boolean | undefined;
|
|
245
|
+
readonly synonym_prefix?: boolean | undefined;
|
|
246
|
+
readonly synonym_num_typos?: number | undefined;
|
|
251
247
|
readonly pinned_hits?: string | undefined;
|
|
248
|
+
readonly hidden_hits?: string | undefined;
|
|
249
|
+
readonly curation_tags?: string | undefined;
|
|
250
|
+
readonly highlight_fields?: string | undefined;
|
|
252
251
|
readonly pre_segmented_query?: boolean | undefined;
|
|
253
|
-
readonly prefix?: string | undefined;
|
|
254
252
|
readonly preset?: string | undefined;
|
|
253
|
+
readonly enable_curations?: boolean | undefined;
|
|
255
254
|
readonly prioritize_exact_match?: boolean | undefined;
|
|
256
|
-
readonly prioritize_num_matching_fields?: boolean | undefined;
|
|
257
255
|
readonly prioritize_token_position?: boolean | undefined;
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
260
|
-
readonly
|
|
261
|
-
readonly remote_embedding_num_tries?: number | undefined;
|
|
262
|
-
readonly remote_embedding_timeout_ms?: number | undefined;
|
|
263
|
-
readonly rerank_hybrid_matches?: boolean | undefined;
|
|
256
|
+
readonly prioritize_num_matching_fields?: boolean | undefined;
|
|
257
|
+
readonly enable_typos_for_numerical_tokens?: boolean | undefined;
|
|
258
|
+
readonly exhaustive_search?: boolean | undefined;
|
|
264
259
|
readonly search_cutoff_ms?: number | undefined;
|
|
265
|
-
readonly snippet_threshold?: number | undefined;
|
|
266
|
-
readonly sort_by?: string | undefined;
|
|
267
|
-
readonly stopwords?: string | undefined;
|
|
268
|
-
readonly synonym_num_typos?: number | undefined;
|
|
269
|
-
readonly synonym_prefix?: boolean | undefined;
|
|
270
|
-
readonly text_match_type?: string | undefined;
|
|
271
|
-
readonly typo_tokens_threshold?: number | undefined;
|
|
272
260
|
readonly use_cache?: boolean | undefined;
|
|
273
|
-
readonly
|
|
261
|
+
readonly cache_ttl?: number | undefined;
|
|
262
|
+
readonly min_len_1typo?: number | undefined;
|
|
263
|
+
readonly min_len_2typo?: number | undefined;
|
|
274
264
|
readonly vector_query?: string | undefined;
|
|
265
|
+
readonly remote_embedding_timeout_ms?: number | undefined;
|
|
266
|
+
readonly remote_embedding_num_tries?: number | undefined;
|
|
267
|
+
readonly facet_strategy?: string | undefined;
|
|
268
|
+
readonly stopwords?: string | undefined;
|
|
269
|
+
readonly facet_return_parent?: string | undefined;
|
|
275
270
|
readonly voice_query?: string | undefined;
|
|
271
|
+
readonly conversation?: boolean | undefined;
|
|
272
|
+
readonly conversation_model_id?: string | undefined;
|
|
273
|
+
readonly conversation_id?: string | undefined;
|
|
274
|
+
readonly validate_field_names?: boolean | undefined;
|
|
275
|
+
readonly collection?: string | undefined;
|
|
276
276
|
readonly "x-typesense-api-key"?: string | undefined;
|
|
277
|
+
readonly rerank_hybrid_matches?: boolean | undefined;
|
|
277
278
|
}[];
|
|
278
|
-
readonly union?: boolean | undefined;
|
|
279
279
|
}, {
|
|
280
|
-
readonly conversation?: {
|
|
281
|
-
readonly answer: string;
|
|
282
|
-
readonly conversation_history: readonly unknown[];
|
|
283
|
-
readonly conversation_id: string;
|
|
284
|
-
readonly query: string;
|
|
285
|
-
} | undefined;
|
|
286
280
|
readonly results: readonly {
|
|
287
|
-
readonly code?: number | undefined;
|
|
288
|
-
readonly conversation?: {
|
|
289
|
-
readonly answer: string;
|
|
290
|
-
readonly conversation_history: readonly unknown[];
|
|
291
|
-
readonly conversation_id: string;
|
|
292
|
-
readonly query: string;
|
|
293
|
-
} | undefined;
|
|
294
|
-
readonly error?: string | undefined;
|
|
295
281
|
readonly facet_counts?: readonly {
|
|
296
282
|
readonly counts?: readonly {
|
|
297
283
|
readonly count?: number | undefined;
|
|
298
284
|
readonly highlighted?: string | undefined;
|
|
299
|
-
readonly parent?: unknown;
|
|
300
285
|
readonly value?: string | undefined;
|
|
286
|
+
readonly parent?: unknown;
|
|
301
287
|
}[] | undefined;
|
|
302
288
|
readonly field_name?: string | undefined;
|
|
303
289
|
readonly sampled?: boolean | undefined;
|
|
304
290
|
readonly stats?: {
|
|
305
|
-
readonly avg?: number | undefined;
|
|
306
291
|
readonly max?: number | undefined;
|
|
307
292
|
readonly min?: number | undefined;
|
|
308
293
|
readonly sum?: number | undefined;
|
|
309
294
|
readonly total_values?: number | undefined;
|
|
295
|
+
readonly avg?: number | undefined;
|
|
310
296
|
} | undefined;
|
|
311
297
|
}[] | undefined;
|
|
312
298
|
readonly found?: number | undefined;
|
|
313
299
|
readonly found_docs?: number | undefined;
|
|
300
|
+
readonly search_time_ms?: number | undefined;
|
|
301
|
+
readonly out_of?: number | undefined;
|
|
302
|
+
readonly search_cutoff?: boolean | undefined;
|
|
303
|
+
readonly page?: number | undefined;
|
|
314
304
|
readonly grouped_hits?: readonly {
|
|
315
305
|
readonly found?: number | undefined;
|
|
316
306
|
readonly group_key: readonly unknown[];
|
|
317
307
|
readonly hits: readonly {
|
|
318
|
-
readonly document?: {
|
|
319
|
-
readonly [x: string]: unknown;
|
|
320
|
-
} | undefined;
|
|
321
|
-
readonly geo_distance_meters?: {
|
|
322
|
-
readonly [x: string]: number;
|
|
323
|
-
} | undefined;
|
|
324
|
-
readonly highlight?: {
|
|
325
|
-
readonly [x: string]: unknown;
|
|
326
|
-
} | undefined;
|
|
327
308
|
readonly highlights?: readonly {
|
|
328
309
|
readonly field?: string | undefined;
|
|
329
|
-
readonly indices?: readonly number[] | undefined;
|
|
330
|
-
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
331
310
|
readonly snippet?: string | undefined;
|
|
332
311
|
readonly snippets?: readonly string[] | undefined;
|
|
333
312
|
readonly value?: string | undefined;
|
|
334
313
|
readonly values?: readonly string[] | undefined;
|
|
314
|
+
readonly indices?: readonly number[] | undefined;
|
|
315
|
+
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
335
316
|
}[] | undefined;
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
317
|
+
readonly highlight?: {
|
|
318
|
+
readonly [x: string]: unknown;
|
|
319
|
+
} | undefined;
|
|
320
|
+
readonly document?: {
|
|
321
|
+
readonly [x: string]: unknown;
|
|
338
322
|
} | undefined;
|
|
339
|
-
readonly search_index?: number | undefined;
|
|
340
323
|
readonly text_match?: number | undefined;
|
|
341
324
|
readonly text_match_info?: {
|
|
342
325
|
readonly best_field_score?: string | undefined;
|
|
@@ -347,32 +330,32 @@ export declare const multiSearch: import("@distilled.cloud/core/client").Operati
|
|
|
347
330
|
readonly tokens_matched?: number | undefined;
|
|
348
331
|
readonly typo_prefix_score?: number | undefined;
|
|
349
332
|
} | undefined;
|
|
333
|
+
readonly geo_distance_meters?: {
|
|
334
|
+
readonly [x: string]: number;
|
|
335
|
+
} | undefined;
|
|
350
336
|
readonly vector_distance?: number | undefined;
|
|
337
|
+
readonly hybrid_search_info?: {
|
|
338
|
+
readonly rank_fusion_score?: number | undefined;
|
|
339
|
+
} | undefined;
|
|
340
|
+
readonly search_index?: number | undefined;
|
|
351
341
|
}[];
|
|
352
342
|
}[] | undefined;
|
|
353
343
|
readonly hits?: readonly {
|
|
354
|
-
readonly document?: {
|
|
355
|
-
readonly [x: string]: unknown;
|
|
356
|
-
} | undefined;
|
|
357
|
-
readonly geo_distance_meters?: {
|
|
358
|
-
readonly [x: string]: number;
|
|
359
|
-
} | undefined;
|
|
360
|
-
readonly highlight?: {
|
|
361
|
-
readonly [x: string]: unknown;
|
|
362
|
-
} | undefined;
|
|
363
344
|
readonly highlights?: readonly {
|
|
364
345
|
readonly field?: string | undefined;
|
|
365
|
-
readonly indices?: readonly number[] | undefined;
|
|
366
|
-
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
367
346
|
readonly snippet?: string | undefined;
|
|
368
347
|
readonly snippets?: readonly string[] | undefined;
|
|
369
348
|
readonly value?: string | undefined;
|
|
370
349
|
readonly values?: readonly string[] | undefined;
|
|
350
|
+
readonly indices?: readonly number[] | undefined;
|
|
351
|
+
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
371
352
|
}[] | undefined;
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
353
|
+
readonly highlight?: {
|
|
354
|
+
readonly [x: string]: unknown;
|
|
355
|
+
} | undefined;
|
|
356
|
+
readonly document?: {
|
|
357
|
+
readonly [x: string]: unknown;
|
|
374
358
|
} | undefined;
|
|
375
|
-
readonly search_index?: number | undefined;
|
|
376
359
|
readonly text_match?: number | undefined;
|
|
377
360
|
readonly text_match_info?: {
|
|
378
361
|
readonly best_field_score?: string | undefined;
|
|
@@ -383,33 +366,50 @@ export declare const multiSearch: import("@distilled.cloud/core/client").Operati
|
|
|
383
366
|
readonly tokens_matched?: number | undefined;
|
|
384
367
|
readonly typo_prefix_score?: number | undefined;
|
|
385
368
|
} | undefined;
|
|
369
|
+
readonly geo_distance_meters?: {
|
|
370
|
+
readonly [x: string]: number;
|
|
371
|
+
} | undefined;
|
|
386
372
|
readonly vector_distance?: number | undefined;
|
|
373
|
+
readonly hybrid_search_info?: {
|
|
374
|
+
readonly rank_fusion_score?: number | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
readonly search_index?: number | undefined;
|
|
387
377
|
}[] | undefined;
|
|
388
|
-
readonly metadata?: {
|
|
389
|
-
readonly [x: string]: unknown;
|
|
390
|
-
} | undefined;
|
|
391
|
-
readonly out_of?: number | undefined;
|
|
392
|
-
readonly page?: number | undefined;
|
|
393
378
|
readonly request_params?: {
|
|
394
379
|
readonly collection_name: string;
|
|
395
380
|
readonly first_q?: string | undefined;
|
|
396
|
-
readonly per_page: number;
|
|
397
381
|
readonly q: string;
|
|
382
|
+
readonly per_page: number;
|
|
398
383
|
readonly voice_query?: {
|
|
399
384
|
readonly transcribed_query?: string | undefined;
|
|
400
385
|
} | undefined;
|
|
401
386
|
} | undefined;
|
|
402
|
-
readonly
|
|
403
|
-
|
|
387
|
+
readonly conversation?: {
|
|
388
|
+
readonly answer: string;
|
|
389
|
+
readonly conversation_history: readonly unknown[];
|
|
390
|
+
readonly conversation_id: string;
|
|
391
|
+
readonly query: string;
|
|
392
|
+
} | undefined;
|
|
404
393
|
readonly union_request_params?: readonly {
|
|
405
394
|
readonly collection_name: string;
|
|
406
395
|
readonly first_q?: string | undefined;
|
|
407
|
-
readonly per_page: number;
|
|
408
396
|
readonly q: string;
|
|
397
|
+
readonly per_page: number;
|
|
409
398
|
readonly voice_query?: {
|
|
410
399
|
readonly transcribed_query?: string | undefined;
|
|
411
400
|
} | undefined;
|
|
412
401
|
}[] | undefined;
|
|
402
|
+
readonly metadata?: {
|
|
403
|
+
readonly [x: string]: unknown;
|
|
404
|
+
} | undefined;
|
|
405
|
+
readonly code?: number | undefined;
|
|
406
|
+
readonly error?: string | undefined;
|
|
413
407
|
}[];
|
|
408
|
+
readonly conversation?: {
|
|
409
|
+
readonly answer: string;
|
|
410
|
+
readonly conversation_history: readonly unknown[];
|
|
411
|
+
readonly conversation_id: string;
|
|
412
|
+
readonly query: string;
|
|
413
|
+
} | undefined;
|
|
414
414
|
}, BadRequest, import("~/credentials.ts").Credentials>;
|
|
415
415
|
//# sourceMappingURL=multiSearch.d.ts.map
|
|
@@ -15,8 +15,8 @@ export type RetrieveAllPresetsOutput = typeof RetrieveAllPresetsOutput.Type;
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const retrieveAllPresets: import("@distilled.cloud/core/client").OperationMethod<{}, {
|
|
17
17
|
readonly presets: readonly {
|
|
18
|
-
readonly name: string;
|
|
19
18
|
readonly value: unknown;
|
|
19
|
+
readonly name: string;
|
|
20
20
|
}[];
|
|
21
21
|
}, never, import("~/credentials.ts").Credentials>;
|
|
22
22
|
//# sourceMappingURL=retrieveAllPresets.d.ts.map
|
|
@@ -31,19 +31,19 @@ export type RetrieveAnalyticsRuleOutput = typeof RetrieveAnalyticsRuleOutput.Typ
|
|
|
31
31
|
export declare const retrieveAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
32
|
readonly ruleName: string;
|
|
33
33
|
}, {
|
|
34
|
+
readonly name: string;
|
|
35
|
+
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
34
36
|
readonly collection: string;
|
|
35
37
|
readonly event_type: string;
|
|
36
|
-
readonly
|
|
38
|
+
readonly rule_tag?: string | undefined;
|
|
37
39
|
readonly params?: {
|
|
38
|
-
readonly capture_search_requests?: boolean | undefined;
|
|
39
|
-
readonly counter_field?: string | undefined;
|
|
40
40
|
readonly destination_collection?: string | undefined;
|
|
41
|
-
readonly expand_query?: boolean | undefined;
|
|
42
41
|
readonly limit?: number | undefined;
|
|
42
|
+
readonly capture_search_requests?: boolean | undefined;
|
|
43
43
|
readonly meta_fields?: readonly string[] | undefined;
|
|
44
|
+
readonly expand_query?: boolean | undefined;
|
|
45
|
+
readonly counter_field?: string | undefined;
|
|
44
46
|
readonly weight?: number | undefined;
|
|
45
47
|
} | undefined;
|
|
46
|
-
readonly rule_tag?: string | undefined;
|
|
47
|
-
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
48
48
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
49
49
|
//# sourceMappingURL=retrieveAnalyticsRule.d.ts.map
|
|
@@ -30,19 +30,19 @@ export type RetrieveAnalyticsRulesOutput = typeof RetrieveAnalyticsRulesOutput.T
|
|
|
30
30
|
export declare const retrieveAnalyticsRules: import("@distilled.cloud/core/client").OperationMethod<{
|
|
31
31
|
readonly rule_tag?: string | undefined;
|
|
32
32
|
}, readonly {
|
|
33
|
+
readonly name: string;
|
|
34
|
+
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
33
35
|
readonly collection: string;
|
|
34
36
|
readonly event_type: string;
|
|
35
|
-
readonly
|
|
37
|
+
readonly rule_tag?: string | undefined;
|
|
36
38
|
readonly params?: {
|
|
37
|
-
readonly capture_search_requests?: boolean | undefined;
|
|
38
|
-
readonly counter_field?: string | undefined;
|
|
39
39
|
readonly destination_collection?: string | undefined;
|
|
40
|
-
readonly expand_query?: boolean | undefined;
|
|
41
40
|
readonly limit?: number | undefined;
|
|
41
|
+
readonly capture_search_requests?: boolean | undefined;
|
|
42
42
|
readonly meta_fields?: readonly string[] | undefined;
|
|
43
|
+
readonly expand_query?: boolean | undefined;
|
|
44
|
+
readonly counter_field?: string | undefined;
|
|
43
45
|
readonly weight?: number | undefined;
|
|
44
46
|
} | undefined;
|
|
45
|
-
readonly rule_tag?: string | undefined;
|
|
46
|
-
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
47
47
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
48
48
|
//# sourceMappingURL=retrieveAnalyticsRules.d.ts.map
|
|
@@ -44,32 +44,32 @@ export type RetrieveCurationSetOutput = typeof RetrieveCurationSetOutput.Type;
|
|
|
44
44
|
export declare const retrieveCurationSet: import("@distilled.cloud/core/client").OperationMethod<{
|
|
45
45
|
readonly curationSetName: string;
|
|
46
46
|
}, {
|
|
47
|
-
readonly description?: string | undefined;
|
|
48
47
|
readonly items: readonly {
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
readonly
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
readonly filter_curated_hits?: boolean | undefined;
|
|
56
|
-
readonly id?: string | undefined;
|
|
48
|
+
readonly rule: {
|
|
49
|
+
readonly tags?: readonly string[] | undefined;
|
|
50
|
+
readonly query?: string | undefined;
|
|
51
|
+
readonly match?: "contains" | "exact" | undefined;
|
|
52
|
+
readonly filter_by?: string | undefined;
|
|
53
|
+
};
|
|
57
54
|
readonly includes?: readonly {
|
|
58
55
|
readonly id: string;
|
|
59
56
|
readonly position: number;
|
|
60
57
|
}[] | undefined;
|
|
61
|
-
readonly
|
|
58
|
+
readonly excludes?: readonly {
|
|
59
|
+
readonly id: string;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
readonly filter_by?: string | undefined;
|
|
62
62
|
readonly remove_matched_tokens?: boolean | undefined;
|
|
63
|
-
readonly
|
|
64
|
-
readonly rule: {
|
|
65
|
-
readonly filter_by?: string | undefined;
|
|
66
|
-
readonly match?: "contains" | "exact" | undefined;
|
|
67
|
-
readonly query?: string | undefined;
|
|
68
|
-
readonly tags?: readonly string[] | undefined;
|
|
69
|
-
};
|
|
63
|
+
readonly metadata?: unknown;
|
|
70
64
|
readonly sort_by?: string | undefined;
|
|
65
|
+
readonly replace_query?: string | undefined;
|
|
66
|
+
readonly filter_curated_hits?: boolean | undefined;
|
|
67
|
+
readonly effective_from_ts?: number | undefined;
|
|
68
|
+
readonly effective_to_ts?: number | undefined;
|
|
71
69
|
readonly stop_processing?: boolean | undefined;
|
|
70
|
+
readonly id?: string | undefined;
|
|
72
71
|
}[];
|
|
72
|
+
readonly description?: string | undefined;
|
|
73
73
|
readonly name: string;
|
|
74
74
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
75
75
|
//# sourceMappingURL=retrieveCurationSet.d.ts.map
|
|
@@ -43,28 +43,28 @@ export declare const retrieveCurationSetItem: import("@distilled.cloud/core/clie
|
|
|
43
43
|
readonly curationSetName: string;
|
|
44
44
|
readonly itemId: string;
|
|
45
45
|
}, {
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
readonly filter_curated_hits?: boolean | undefined;
|
|
53
|
-
readonly id: string;
|
|
46
|
+
readonly rule: {
|
|
47
|
+
readonly tags?: readonly string[] | undefined;
|
|
48
|
+
readonly query?: string | undefined;
|
|
49
|
+
readonly match?: "contains" | "exact" | undefined;
|
|
50
|
+
readonly filter_by?: string | undefined;
|
|
51
|
+
};
|
|
54
52
|
readonly includes?: readonly {
|
|
55
53
|
readonly id: string;
|
|
56
54
|
readonly position: number;
|
|
57
55
|
}[] | undefined;
|
|
58
|
-
readonly
|
|
56
|
+
readonly excludes?: readonly {
|
|
57
|
+
readonly id: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
readonly filter_by?: string | undefined;
|
|
59
60
|
readonly remove_matched_tokens?: boolean | undefined;
|
|
60
|
-
readonly
|
|
61
|
-
readonly rule: {
|
|
62
|
-
readonly filter_by?: string | undefined;
|
|
63
|
-
readonly match?: "contains" | "exact" | undefined;
|
|
64
|
-
readonly query?: string | undefined;
|
|
65
|
-
readonly tags?: readonly string[] | undefined;
|
|
66
|
-
};
|
|
61
|
+
readonly metadata?: unknown;
|
|
67
62
|
readonly sort_by?: string | undefined;
|
|
63
|
+
readonly replace_query?: string | undefined;
|
|
64
|
+
readonly filter_curated_hits?: boolean | undefined;
|
|
65
|
+
readonly effective_from_ts?: number | undefined;
|
|
66
|
+
readonly effective_to_ts?: number | undefined;
|
|
68
67
|
readonly stop_processing?: boolean | undefined;
|
|
68
|
+
readonly id: string;
|
|
69
69
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
70
70
|
//# sourceMappingURL=retrieveCurationSetItem.d.ts.map
|