@coveo/quantic 3.30.3-pre.fca9d855d9 → 3.30.3-pre.ff43ee0541
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/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer-mocks.d.ts +159 -743
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-selectors.d.ts +51 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/dictionary-field-context/dictionary-field-context-selectors.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/excerpt-length/excerpt-length-selectors.d.ts +26 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-selectors.d.ts +7 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-selectors.d.ts +9 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +16 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query/query-selectors.d.ts +25 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort-criteria/sort-criteria-selectors.d.ts +26 -0
- package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
- package/package.json +2 -2
|
@@ -67,12 +67,19 @@ export declare const streamAnswerAPIStateMockWithStaticFiltersAndTabExpressionWi
|
|
|
67
67
|
insightConfiguration?: import("../../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState | undefined;
|
|
68
68
|
};
|
|
69
69
|
export declare const streamAnswerAPIStateMockWithoutSearchAction: StreamAnswerAPIState;
|
|
70
|
+
export declare const streamAnswerAPIStateMockWithAnalyticsEnabled: StreamAnswerAPIState;
|
|
71
|
+
export declare const streamAnswerAPIStateMockWithFoldingDisabled: StreamAnswerAPIState;
|
|
72
|
+
export declare const streamAnswerAPIStateMockWithFoldingEnabled: StreamAnswerAPIState;
|
|
73
|
+
export declare const streamAnswerAPIStateMockWithDictionaryFieldContext: StreamAnswerAPIState;
|
|
74
|
+
export declare const streamAnswerAPIStateMockWithExcerptLength: StreamAnswerAPIState;
|
|
75
|
+
export declare const streamAnswerAPIStateMockWithQuerySyntaxEnabled: StreamAnswerAPIState;
|
|
70
76
|
export declare const expectedStreamAnswerAPIParam: {
|
|
71
77
|
q: string;
|
|
72
78
|
aq: string;
|
|
73
79
|
cq: string;
|
|
74
80
|
dq: string;
|
|
75
81
|
lq: string;
|
|
82
|
+
enableQuerySyntax: boolean;
|
|
76
83
|
context: {
|
|
77
84
|
testKey: string;
|
|
78
85
|
};
|
|
@@ -179,639 +186,15 @@ export declare const expectedStreamAnswerAPIParam: {
|
|
|
179
186
|
numberOfResults: number;
|
|
180
187
|
firstResult: number;
|
|
181
188
|
tab: string;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
originContext: string;
|
|
191
|
-
source: string[];
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
export declare const expectedStreamAnswerAPIParamWithATabWithAnExpression: {
|
|
195
|
-
cq: string;
|
|
196
|
-
tab: string;
|
|
197
|
-
q: string;
|
|
198
|
-
aq: string;
|
|
199
|
-
dq: string;
|
|
200
|
-
lq: string;
|
|
201
|
-
context: {
|
|
202
|
-
testKey: string;
|
|
203
|
-
};
|
|
204
|
-
pipelineRuleParameters: {
|
|
205
|
-
mlGenerativeQuestionAnswering: {
|
|
206
|
-
responseFormat: {
|
|
207
|
-
contentFormat: string[];
|
|
208
|
-
};
|
|
209
|
-
citationsFieldToInclude: never[];
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
searchHub: string;
|
|
213
|
-
facets: ({
|
|
214
|
-
filterFacetCount: boolean;
|
|
215
|
-
injectionDepth: number;
|
|
216
|
-
numberOfValues: number;
|
|
217
|
-
sortCriteria: string;
|
|
218
|
-
resultsMustMatch: string;
|
|
219
|
-
type: string;
|
|
220
|
-
currentValues: never[];
|
|
221
|
-
freezeCurrentValues: boolean;
|
|
222
|
-
isFieldExpanded: boolean;
|
|
223
|
-
preventAutoSelect: boolean;
|
|
224
|
-
facetId: string;
|
|
225
|
-
field: string;
|
|
226
|
-
rangeAlgorithm?: undefined;
|
|
227
|
-
generateAutomaticRanges?: undefined;
|
|
228
|
-
delimitingCharacter?: undefined;
|
|
229
|
-
basePath?: undefined;
|
|
230
|
-
filterByBasePath?: undefined;
|
|
231
|
-
} | {
|
|
232
|
-
filterFacetCount: boolean;
|
|
233
|
-
injectionDepth: number;
|
|
234
|
-
numberOfValues: number;
|
|
235
|
-
sortCriteria: string;
|
|
236
|
-
rangeAlgorithm: string;
|
|
237
|
-
resultsMustMatch: string;
|
|
238
|
-
currentValues: {
|
|
239
|
-
start: string;
|
|
240
|
-
end: string;
|
|
241
|
-
endInclusive: boolean;
|
|
242
|
-
state: string;
|
|
243
|
-
}[];
|
|
244
|
-
preventAutoSelect: boolean;
|
|
245
|
-
type: string;
|
|
246
|
-
facetId: string;
|
|
247
|
-
field: string;
|
|
248
|
-
generateAutomaticRanges: boolean;
|
|
249
|
-
freezeCurrentValues?: undefined;
|
|
250
|
-
isFieldExpanded?: undefined;
|
|
251
|
-
delimitingCharacter?: undefined;
|
|
252
|
-
basePath?: undefined;
|
|
253
|
-
filterByBasePath?: undefined;
|
|
254
|
-
} | {
|
|
255
|
-
delimitingCharacter: string;
|
|
256
|
-
filterFacetCount: boolean;
|
|
257
|
-
injectionDepth: number;
|
|
258
|
-
numberOfValues: number;
|
|
259
|
-
sortCriteria: string;
|
|
260
|
-
basePath: never[];
|
|
261
|
-
filterByBasePath: boolean;
|
|
262
|
-
resultsMustMatch: string;
|
|
263
|
-
currentValues: never[];
|
|
264
|
-
preventAutoSelect: boolean;
|
|
265
|
-
type: string;
|
|
266
|
-
facetId: string;
|
|
267
|
-
field: string;
|
|
268
|
-
freezeCurrentValues?: undefined;
|
|
269
|
-
isFieldExpanded?: undefined;
|
|
270
|
-
rangeAlgorithm?: undefined;
|
|
271
|
-
generateAutomaticRanges?: undefined;
|
|
272
|
-
} | {
|
|
273
|
-
filterFacetCount: boolean;
|
|
274
|
-
injectionDepth: number;
|
|
275
|
-
numberOfValues: number;
|
|
276
|
-
sortCriteria: string;
|
|
277
|
-
rangeAlgorithm: string;
|
|
278
|
-
resultsMustMatch: string;
|
|
279
|
-
currentValues: {
|
|
280
|
-
endInclusive: boolean;
|
|
281
|
-
state: string;
|
|
282
|
-
start: number;
|
|
283
|
-
end: number;
|
|
284
|
-
}[];
|
|
285
|
-
preventAutoSelect: boolean;
|
|
286
|
-
type: string;
|
|
287
|
-
facetId: string;
|
|
288
|
-
field: string;
|
|
289
|
-
generateAutomaticRanges: boolean;
|
|
290
|
-
freezeCurrentValues?: undefined;
|
|
291
|
-
isFieldExpanded?: undefined;
|
|
292
|
-
delimitingCharacter?: undefined;
|
|
293
|
-
basePath?: undefined;
|
|
294
|
-
filterByBasePath?: undefined;
|
|
295
|
-
})[];
|
|
296
|
-
fieldsToInclude: string[];
|
|
297
|
-
queryCorrection: {
|
|
298
|
-
enabled: boolean;
|
|
299
|
-
options: {
|
|
300
|
-
automaticallyCorrect: string;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
enableDidYouMean: boolean;
|
|
304
|
-
numberOfResults: number;
|
|
305
|
-
firstResult: number;
|
|
306
|
-
analytics: {
|
|
307
|
-
actionCause: string;
|
|
308
|
-
capture: boolean;
|
|
309
|
-
clientId: string;
|
|
310
|
-
clientTimestamp: string;
|
|
311
|
-
customData: undefined;
|
|
312
|
-
documentLocation: string;
|
|
313
|
-
documentReferrer: string;
|
|
314
|
-
originContext: string;
|
|
315
|
-
source: string[];
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
export declare const expectedStreamAnswerAPIParamWithoutAnyTab: {
|
|
319
|
-
tab: string;
|
|
320
|
-
q: string;
|
|
321
|
-
aq: string;
|
|
322
|
-
cq: string;
|
|
323
|
-
dq: string;
|
|
324
|
-
lq: string;
|
|
325
|
-
context: {
|
|
326
|
-
testKey: string;
|
|
327
|
-
};
|
|
328
|
-
pipelineRuleParameters: {
|
|
329
|
-
mlGenerativeQuestionAnswering: {
|
|
330
|
-
responseFormat: {
|
|
331
|
-
contentFormat: string[];
|
|
332
|
-
};
|
|
333
|
-
citationsFieldToInclude: never[];
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
searchHub: string;
|
|
337
|
-
facets: ({
|
|
338
|
-
filterFacetCount: boolean;
|
|
339
|
-
injectionDepth: number;
|
|
340
|
-
numberOfValues: number;
|
|
341
|
-
sortCriteria: string;
|
|
342
|
-
resultsMustMatch: string;
|
|
343
|
-
type: string;
|
|
344
|
-
currentValues: never[];
|
|
345
|
-
freezeCurrentValues: boolean;
|
|
346
|
-
isFieldExpanded: boolean;
|
|
347
|
-
preventAutoSelect: boolean;
|
|
348
|
-
facetId: string;
|
|
349
|
-
field: string;
|
|
350
|
-
rangeAlgorithm?: undefined;
|
|
351
|
-
generateAutomaticRanges?: undefined;
|
|
352
|
-
delimitingCharacter?: undefined;
|
|
353
|
-
basePath?: undefined;
|
|
354
|
-
filterByBasePath?: undefined;
|
|
355
|
-
} | {
|
|
356
|
-
filterFacetCount: boolean;
|
|
357
|
-
injectionDepth: number;
|
|
358
|
-
numberOfValues: number;
|
|
359
|
-
sortCriteria: string;
|
|
360
|
-
rangeAlgorithm: string;
|
|
361
|
-
resultsMustMatch: string;
|
|
362
|
-
currentValues: {
|
|
363
|
-
start: string;
|
|
364
|
-
end: string;
|
|
365
|
-
endInclusive: boolean;
|
|
366
|
-
state: string;
|
|
367
|
-
}[];
|
|
368
|
-
preventAutoSelect: boolean;
|
|
369
|
-
type: string;
|
|
370
|
-
facetId: string;
|
|
371
|
-
field: string;
|
|
372
|
-
generateAutomaticRanges: boolean;
|
|
373
|
-
freezeCurrentValues?: undefined;
|
|
374
|
-
isFieldExpanded?: undefined;
|
|
375
|
-
delimitingCharacter?: undefined;
|
|
376
|
-
basePath?: undefined;
|
|
377
|
-
filterByBasePath?: undefined;
|
|
378
|
-
} | {
|
|
379
|
-
delimitingCharacter: string;
|
|
380
|
-
filterFacetCount: boolean;
|
|
381
|
-
injectionDepth: number;
|
|
382
|
-
numberOfValues: number;
|
|
383
|
-
sortCriteria: string;
|
|
384
|
-
basePath: never[];
|
|
385
|
-
filterByBasePath: boolean;
|
|
386
|
-
resultsMustMatch: string;
|
|
387
|
-
currentValues: never[];
|
|
388
|
-
preventAutoSelect: boolean;
|
|
389
|
-
type: string;
|
|
390
|
-
facetId: string;
|
|
391
|
-
field: string;
|
|
392
|
-
freezeCurrentValues?: undefined;
|
|
393
|
-
isFieldExpanded?: undefined;
|
|
394
|
-
rangeAlgorithm?: undefined;
|
|
395
|
-
generateAutomaticRanges?: undefined;
|
|
396
|
-
} | {
|
|
397
|
-
filterFacetCount: boolean;
|
|
398
|
-
injectionDepth: number;
|
|
399
|
-
numberOfValues: number;
|
|
400
|
-
sortCriteria: string;
|
|
401
|
-
rangeAlgorithm: string;
|
|
402
|
-
resultsMustMatch: string;
|
|
403
|
-
currentValues: {
|
|
404
|
-
endInclusive: boolean;
|
|
405
|
-
state: string;
|
|
406
|
-
start: number;
|
|
407
|
-
end: number;
|
|
408
|
-
}[];
|
|
409
|
-
preventAutoSelect: boolean;
|
|
410
|
-
type: string;
|
|
411
|
-
facetId: string;
|
|
412
|
-
field: string;
|
|
413
|
-
generateAutomaticRanges: boolean;
|
|
414
|
-
freezeCurrentValues?: undefined;
|
|
415
|
-
isFieldExpanded?: undefined;
|
|
416
|
-
delimitingCharacter?: undefined;
|
|
417
|
-
basePath?: undefined;
|
|
418
|
-
filterByBasePath?: undefined;
|
|
419
|
-
})[];
|
|
420
|
-
fieldsToInclude: string[];
|
|
421
|
-
queryCorrection: {
|
|
422
|
-
enabled: boolean;
|
|
423
|
-
options: {
|
|
424
|
-
automaticallyCorrect: string;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
enableDidYouMean: boolean;
|
|
428
|
-
numberOfResults: number;
|
|
429
|
-
firstResult: number;
|
|
430
|
-
analytics: {
|
|
431
|
-
actionCause: string;
|
|
432
|
-
capture: boolean;
|
|
433
|
-
clientId: string;
|
|
434
|
-
clientTimestamp: string;
|
|
435
|
-
customData: undefined;
|
|
436
|
-
documentLocation: string;
|
|
437
|
-
documentReferrer: string;
|
|
438
|
-
originContext: string;
|
|
439
|
-
source: string[];
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
export declare const expectedStreamAnswerAPIParamWithStaticFiltersSelected: {
|
|
443
|
-
cq: string;
|
|
444
|
-
q: string;
|
|
445
|
-
aq: string;
|
|
446
|
-
dq: string;
|
|
447
|
-
lq: string;
|
|
448
|
-
context: {
|
|
449
|
-
testKey: string;
|
|
450
|
-
};
|
|
451
|
-
pipelineRuleParameters: {
|
|
452
|
-
mlGenerativeQuestionAnswering: {
|
|
453
|
-
responseFormat: {
|
|
454
|
-
contentFormat: string[];
|
|
455
|
-
};
|
|
456
|
-
citationsFieldToInclude: never[];
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
searchHub: string;
|
|
460
|
-
facets: ({
|
|
461
|
-
filterFacetCount: boolean;
|
|
462
|
-
injectionDepth: number;
|
|
463
|
-
numberOfValues: number;
|
|
464
|
-
sortCriteria: string;
|
|
465
|
-
resultsMustMatch: string;
|
|
466
|
-
type: string;
|
|
467
|
-
currentValues: never[];
|
|
468
|
-
freezeCurrentValues: boolean;
|
|
469
|
-
isFieldExpanded: boolean;
|
|
470
|
-
preventAutoSelect: boolean;
|
|
471
|
-
facetId: string;
|
|
472
|
-
field: string;
|
|
473
|
-
rangeAlgorithm?: undefined;
|
|
474
|
-
generateAutomaticRanges?: undefined;
|
|
475
|
-
delimitingCharacter?: undefined;
|
|
476
|
-
basePath?: undefined;
|
|
477
|
-
filterByBasePath?: undefined;
|
|
478
|
-
} | {
|
|
479
|
-
filterFacetCount: boolean;
|
|
480
|
-
injectionDepth: number;
|
|
481
|
-
numberOfValues: number;
|
|
482
|
-
sortCriteria: string;
|
|
483
|
-
rangeAlgorithm: string;
|
|
484
|
-
resultsMustMatch: string;
|
|
485
|
-
currentValues: {
|
|
486
|
-
start: string;
|
|
487
|
-
end: string;
|
|
488
|
-
endInclusive: boolean;
|
|
489
|
-
state: string;
|
|
490
|
-
}[];
|
|
491
|
-
preventAutoSelect: boolean;
|
|
492
|
-
type: string;
|
|
493
|
-
facetId: string;
|
|
494
|
-
field: string;
|
|
495
|
-
generateAutomaticRanges: boolean;
|
|
496
|
-
freezeCurrentValues?: undefined;
|
|
497
|
-
isFieldExpanded?: undefined;
|
|
498
|
-
delimitingCharacter?: undefined;
|
|
499
|
-
basePath?: undefined;
|
|
500
|
-
filterByBasePath?: undefined;
|
|
501
|
-
} | {
|
|
502
|
-
delimitingCharacter: string;
|
|
503
|
-
filterFacetCount: boolean;
|
|
504
|
-
injectionDepth: number;
|
|
505
|
-
numberOfValues: number;
|
|
506
|
-
sortCriteria: string;
|
|
507
|
-
basePath: never[];
|
|
508
|
-
filterByBasePath: boolean;
|
|
509
|
-
resultsMustMatch: string;
|
|
510
|
-
currentValues: never[];
|
|
511
|
-
preventAutoSelect: boolean;
|
|
512
|
-
type: string;
|
|
513
|
-
facetId: string;
|
|
514
|
-
field: string;
|
|
515
|
-
freezeCurrentValues?: undefined;
|
|
516
|
-
isFieldExpanded?: undefined;
|
|
517
|
-
rangeAlgorithm?: undefined;
|
|
518
|
-
generateAutomaticRanges?: undefined;
|
|
519
|
-
} | {
|
|
520
|
-
filterFacetCount: boolean;
|
|
521
|
-
injectionDepth: number;
|
|
522
|
-
numberOfValues: number;
|
|
523
|
-
sortCriteria: string;
|
|
524
|
-
rangeAlgorithm: string;
|
|
525
|
-
resultsMustMatch: string;
|
|
526
|
-
currentValues: {
|
|
527
|
-
endInclusive: boolean;
|
|
528
|
-
state: string;
|
|
529
|
-
start: number;
|
|
530
|
-
end: number;
|
|
531
|
-
}[];
|
|
532
|
-
preventAutoSelect: boolean;
|
|
533
|
-
type: string;
|
|
534
|
-
facetId: string;
|
|
535
|
-
field: string;
|
|
536
|
-
generateAutomaticRanges: boolean;
|
|
537
|
-
freezeCurrentValues?: undefined;
|
|
538
|
-
isFieldExpanded?: undefined;
|
|
539
|
-
delimitingCharacter?: undefined;
|
|
540
|
-
basePath?: undefined;
|
|
541
|
-
filterByBasePath?: undefined;
|
|
542
|
-
})[];
|
|
543
|
-
fieldsToInclude: string[];
|
|
544
|
-
queryCorrection: {
|
|
545
|
-
enabled: boolean;
|
|
546
|
-
options: {
|
|
547
|
-
automaticallyCorrect: string;
|
|
548
|
-
};
|
|
549
|
-
};
|
|
550
|
-
enableDidYouMean: boolean;
|
|
551
|
-
numberOfResults: number;
|
|
552
|
-
firstResult: number;
|
|
553
|
-
tab: string;
|
|
554
|
-
analytics: {
|
|
555
|
-
actionCause: string;
|
|
556
|
-
capture: boolean;
|
|
557
|
-
clientId: string;
|
|
558
|
-
clientTimestamp: string;
|
|
559
|
-
customData: undefined;
|
|
560
|
-
documentLocation: string;
|
|
561
|
-
documentReferrer: string;
|
|
562
|
-
originContext: string;
|
|
563
|
-
source: string[];
|
|
564
|
-
};
|
|
565
|
-
};
|
|
566
|
-
export declare const expectedStreamAnswerAPIParamWithStaticFiltersAndTabExpression: {
|
|
567
|
-
cq: string;
|
|
568
|
-
q: string;
|
|
569
|
-
aq: string;
|
|
570
|
-
dq: string;
|
|
571
|
-
lq: string;
|
|
572
|
-
context: {
|
|
573
|
-
testKey: string;
|
|
574
|
-
};
|
|
575
|
-
pipelineRuleParameters: {
|
|
576
|
-
mlGenerativeQuestionAnswering: {
|
|
577
|
-
responseFormat: {
|
|
578
|
-
contentFormat: string[];
|
|
579
|
-
};
|
|
580
|
-
citationsFieldToInclude: never[];
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
searchHub: string;
|
|
584
|
-
facets: ({
|
|
585
|
-
filterFacetCount: boolean;
|
|
586
|
-
injectionDepth: number;
|
|
587
|
-
numberOfValues: number;
|
|
588
|
-
sortCriteria: string;
|
|
589
|
-
resultsMustMatch: string;
|
|
590
|
-
type: string;
|
|
591
|
-
currentValues: never[];
|
|
592
|
-
freezeCurrentValues: boolean;
|
|
593
|
-
isFieldExpanded: boolean;
|
|
594
|
-
preventAutoSelect: boolean;
|
|
595
|
-
facetId: string;
|
|
596
|
-
field: string;
|
|
597
|
-
rangeAlgorithm?: undefined;
|
|
598
|
-
generateAutomaticRanges?: undefined;
|
|
599
|
-
delimitingCharacter?: undefined;
|
|
600
|
-
basePath?: undefined;
|
|
601
|
-
filterByBasePath?: undefined;
|
|
602
|
-
} | {
|
|
603
|
-
filterFacetCount: boolean;
|
|
604
|
-
injectionDepth: number;
|
|
605
|
-
numberOfValues: number;
|
|
606
|
-
sortCriteria: string;
|
|
607
|
-
rangeAlgorithm: string;
|
|
608
|
-
resultsMustMatch: string;
|
|
609
|
-
currentValues: {
|
|
610
|
-
start: string;
|
|
611
|
-
end: string;
|
|
612
|
-
endInclusive: boolean;
|
|
613
|
-
state: string;
|
|
614
|
-
}[];
|
|
615
|
-
preventAutoSelect: boolean;
|
|
616
|
-
type: string;
|
|
617
|
-
facetId: string;
|
|
618
|
-
field: string;
|
|
619
|
-
generateAutomaticRanges: boolean;
|
|
620
|
-
freezeCurrentValues?: undefined;
|
|
621
|
-
isFieldExpanded?: undefined;
|
|
622
|
-
delimitingCharacter?: undefined;
|
|
623
|
-
basePath?: undefined;
|
|
624
|
-
filterByBasePath?: undefined;
|
|
625
|
-
} | {
|
|
626
|
-
delimitingCharacter: string;
|
|
627
|
-
filterFacetCount: boolean;
|
|
628
|
-
injectionDepth: number;
|
|
629
|
-
numberOfValues: number;
|
|
630
|
-
sortCriteria: string;
|
|
631
|
-
basePath: never[];
|
|
632
|
-
filterByBasePath: boolean;
|
|
633
|
-
resultsMustMatch: string;
|
|
634
|
-
currentValues: never[];
|
|
635
|
-
preventAutoSelect: boolean;
|
|
636
|
-
type: string;
|
|
637
|
-
facetId: string;
|
|
638
|
-
field: string;
|
|
639
|
-
freezeCurrentValues?: undefined;
|
|
640
|
-
isFieldExpanded?: undefined;
|
|
641
|
-
rangeAlgorithm?: undefined;
|
|
642
|
-
generateAutomaticRanges?: undefined;
|
|
643
|
-
} | {
|
|
644
|
-
filterFacetCount: boolean;
|
|
645
|
-
injectionDepth: number;
|
|
646
|
-
numberOfValues: number;
|
|
647
|
-
sortCriteria: string;
|
|
648
|
-
rangeAlgorithm: string;
|
|
649
|
-
resultsMustMatch: string;
|
|
650
|
-
currentValues: {
|
|
651
|
-
endInclusive: boolean;
|
|
652
|
-
state: string;
|
|
653
|
-
start: number;
|
|
654
|
-
end: number;
|
|
655
|
-
}[];
|
|
656
|
-
preventAutoSelect: boolean;
|
|
657
|
-
type: string;
|
|
658
|
-
facetId: string;
|
|
659
|
-
field: string;
|
|
660
|
-
generateAutomaticRanges: boolean;
|
|
661
|
-
freezeCurrentValues?: undefined;
|
|
662
|
-
isFieldExpanded?: undefined;
|
|
663
|
-
delimitingCharacter?: undefined;
|
|
664
|
-
basePath?: undefined;
|
|
665
|
-
filterByBasePath?: undefined;
|
|
666
|
-
})[];
|
|
667
|
-
fieldsToInclude: string[];
|
|
668
|
-
queryCorrection: {
|
|
669
|
-
enabled: boolean;
|
|
670
|
-
options: {
|
|
671
|
-
automaticallyCorrect: string;
|
|
672
|
-
};
|
|
673
|
-
};
|
|
674
|
-
enableDidYouMean: boolean;
|
|
675
|
-
numberOfResults: number;
|
|
676
|
-
firstResult: number;
|
|
677
|
-
tab: string;
|
|
678
|
-
analytics: {
|
|
679
|
-
actionCause: string;
|
|
680
|
-
capture: boolean;
|
|
681
|
-
clientId: string;
|
|
682
|
-
clientTimestamp: string;
|
|
683
|
-
customData: undefined;
|
|
684
|
-
documentLocation: string;
|
|
685
|
-
documentReferrer: string;
|
|
686
|
-
originContext: string;
|
|
687
|
-
source: string[];
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
export declare const expectedStreamAnswerAPIParamWithStaticFiltersAndTabExpressionWithoutAdvancedCQ: {
|
|
691
|
-
cq: string;
|
|
692
|
-
q: string;
|
|
693
|
-
aq: string;
|
|
694
|
-
dq: string;
|
|
695
|
-
lq: string;
|
|
696
|
-
context: {
|
|
697
|
-
testKey: string;
|
|
698
|
-
};
|
|
699
|
-
pipelineRuleParameters: {
|
|
700
|
-
mlGenerativeQuestionAnswering: {
|
|
701
|
-
responseFormat: {
|
|
702
|
-
contentFormat: string[];
|
|
703
|
-
};
|
|
704
|
-
citationsFieldToInclude: never[];
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
searchHub: string;
|
|
708
|
-
facets: ({
|
|
709
|
-
filterFacetCount: boolean;
|
|
710
|
-
injectionDepth: number;
|
|
711
|
-
numberOfValues: number;
|
|
712
|
-
sortCriteria: string;
|
|
713
|
-
resultsMustMatch: string;
|
|
714
|
-
type: string;
|
|
715
|
-
currentValues: never[];
|
|
716
|
-
freezeCurrentValues: boolean;
|
|
717
|
-
isFieldExpanded: boolean;
|
|
718
|
-
preventAutoSelect: boolean;
|
|
719
|
-
facetId: string;
|
|
720
|
-
field: string;
|
|
721
|
-
rangeAlgorithm?: undefined;
|
|
722
|
-
generateAutomaticRanges?: undefined;
|
|
723
|
-
delimitingCharacter?: undefined;
|
|
724
|
-
basePath?: undefined;
|
|
725
|
-
filterByBasePath?: undefined;
|
|
726
|
-
} | {
|
|
727
|
-
filterFacetCount: boolean;
|
|
728
|
-
injectionDepth: number;
|
|
729
|
-
numberOfValues: number;
|
|
730
|
-
sortCriteria: string;
|
|
731
|
-
rangeAlgorithm: string;
|
|
732
|
-
resultsMustMatch: string;
|
|
733
|
-
currentValues: {
|
|
734
|
-
start: string;
|
|
735
|
-
end: string;
|
|
736
|
-
endInclusive: boolean;
|
|
737
|
-
state: string;
|
|
738
|
-
}[];
|
|
739
|
-
preventAutoSelect: boolean;
|
|
740
|
-
type: string;
|
|
741
|
-
facetId: string;
|
|
742
|
-
field: string;
|
|
743
|
-
generateAutomaticRanges: boolean;
|
|
744
|
-
freezeCurrentValues?: undefined;
|
|
745
|
-
isFieldExpanded?: undefined;
|
|
746
|
-
delimitingCharacter?: undefined;
|
|
747
|
-
basePath?: undefined;
|
|
748
|
-
filterByBasePath?: undefined;
|
|
749
|
-
} | {
|
|
750
|
-
delimitingCharacter: string;
|
|
751
|
-
filterFacetCount: boolean;
|
|
752
|
-
injectionDepth: number;
|
|
753
|
-
numberOfValues: number;
|
|
754
|
-
sortCriteria: string;
|
|
755
|
-
basePath: never[];
|
|
756
|
-
filterByBasePath: boolean;
|
|
757
|
-
resultsMustMatch: string;
|
|
758
|
-
currentValues: never[];
|
|
759
|
-
preventAutoSelect: boolean;
|
|
760
|
-
type: string;
|
|
761
|
-
facetId: string;
|
|
762
|
-
field: string;
|
|
763
|
-
freezeCurrentValues?: undefined;
|
|
764
|
-
isFieldExpanded?: undefined;
|
|
765
|
-
rangeAlgorithm?: undefined;
|
|
766
|
-
generateAutomaticRanges?: undefined;
|
|
767
|
-
} | {
|
|
768
|
-
filterFacetCount: boolean;
|
|
769
|
-
injectionDepth: number;
|
|
770
|
-
numberOfValues: number;
|
|
771
|
-
sortCriteria: string;
|
|
772
|
-
rangeAlgorithm: string;
|
|
773
|
-
resultsMustMatch: string;
|
|
774
|
-
currentValues: {
|
|
775
|
-
endInclusive: boolean;
|
|
776
|
-
state: string;
|
|
777
|
-
start: number;
|
|
778
|
-
end: number;
|
|
779
|
-
}[];
|
|
780
|
-
preventAutoSelect: boolean;
|
|
781
|
-
type: string;
|
|
782
|
-
facetId: string;
|
|
783
|
-
field: string;
|
|
784
|
-
generateAutomaticRanges: boolean;
|
|
785
|
-
freezeCurrentValues?: undefined;
|
|
786
|
-
isFieldExpanded?: undefined;
|
|
787
|
-
delimitingCharacter?: undefined;
|
|
788
|
-
basePath?: undefined;
|
|
789
|
-
filterByBasePath?: undefined;
|
|
790
|
-
})[];
|
|
791
|
-
fieldsToInclude: string[];
|
|
792
|
-
queryCorrection: {
|
|
793
|
-
enabled: boolean;
|
|
794
|
-
options: {
|
|
795
|
-
automaticallyCorrect: string;
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
enableDidYouMean: boolean;
|
|
799
|
-
numberOfResults: number;
|
|
800
|
-
firstResult: number;
|
|
801
|
-
tab: string;
|
|
802
|
-
analytics: {
|
|
803
|
-
actionCause: string;
|
|
804
|
-
capture: boolean;
|
|
805
|
-
clientId: string;
|
|
806
|
-
clientTimestamp: string;
|
|
807
|
-
customData: undefined;
|
|
808
|
-
documentLocation: string;
|
|
809
|
-
documentReferrer: string;
|
|
810
|
-
originContext: string;
|
|
811
|
-
source: string[];
|
|
189
|
+
locale: string;
|
|
190
|
+
timezone: string;
|
|
191
|
+
referrer: string;
|
|
192
|
+
debug: boolean;
|
|
193
|
+
actionsHistory: never[];
|
|
194
|
+
sortCriteria: string;
|
|
195
|
+
facetOptions: {
|
|
196
|
+
freezeFacetOrder: boolean;
|
|
812
197
|
};
|
|
813
|
-
};
|
|
814
|
-
export declare const expectedStreamAnswerAPIParamWithoutSearchAction: {
|
|
815
198
|
analytics: {
|
|
816
199
|
actionCause: string;
|
|
817
200
|
capture: boolean;
|
|
@@ -823,117 +206,6 @@ export declare const expectedStreamAnswerAPIParamWithoutSearchAction: {
|
|
|
823
206
|
originContext: string;
|
|
824
207
|
source: string[];
|
|
825
208
|
};
|
|
826
|
-
q: string;
|
|
827
|
-
aq: string;
|
|
828
|
-
cq: string;
|
|
829
|
-
dq: string;
|
|
830
|
-
lq: string;
|
|
831
|
-
context: {
|
|
832
|
-
testKey: string;
|
|
833
|
-
};
|
|
834
|
-
pipelineRuleParameters: {
|
|
835
|
-
mlGenerativeQuestionAnswering: {
|
|
836
|
-
responseFormat: {
|
|
837
|
-
contentFormat: string[];
|
|
838
|
-
};
|
|
839
|
-
citationsFieldToInclude: never[];
|
|
840
|
-
};
|
|
841
|
-
};
|
|
842
|
-
searchHub: string;
|
|
843
|
-
facets: ({
|
|
844
|
-
filterFacetCount: boolean;
|
|
845
|
-
injectionDepth: number;
|
|
846
|
-
numberOfValues: number;
|
|
847
|
-
sortCriteria: string;
|
|
848
|
-
resultsMustMatch: string;
|
|
849
|
-
type: string;
|
|
850
|
-
currentValues: never[];
|
|
851
|
-
freezeCurrentValues: boolean;
|
|
852
|
-
isFieldExpanded: boolean;
|
|
853
|
-
preventAutoSelect: boolean;
|
|
854
|
-
facetId: string;
|
|
855
|
-
field: string;
|
|
856
|
-
rangeAlgorithm?: undefined;
|
|
857
|
-
generateAutomaticRanges?: undefined;
|
|
858
|
-
delimitingCharacter?: undefined;
|
|
859
|
-
basePath?: undefined;
|
|
860
|
-
filterByBasePath?: undefined;
|
|
861
|
-
} | {
|
|
862
|
-
filterFacetCount: boolean;
|
|
863
|
-
injectionDepth: number;
|
|
864
|
-
numberOfValues: number;
|
|
865
|
-
sortCriteria: string;
|
|
866
|
-
rangeAlgorithm: string;
|
|
867
|
-
resultsMustMatch: string;
|
|
868
|
-
currentValues: {
|
|
869
|
-
start: string;
|
|
870
|
-
end: string;
|
|
871
|
-
endInclusive: boolean;
|
|
872
|
-
state: string;
|
|
873
|
-
}[];
|
|
874
|
-
preventAutoSelect: boolean;
|
|
875
|
-
type: string;
|
|
876
|
-
facetId: string;
|
|
877
|
-
field: string;
|
|
878
|
-
generateAutomaticRanges: boolean;
|
|
879
|
-
freezeCurrentValues?: undefined;
|
|
880
|
-
isFieldExpanded?: undefined;
|
|
881
|
-
delimitingCharacter?: undefined;
|
|
882
|
-
basePath?: undefined;
|
|
883
|
-
filterByBasePath?: undefined;
|
|
884
|
-
} | {
|
|
885
|
-
delimitingCharacter: string;
|
|
886
|
-
filterFacetCount: boolean;
|
|
887
|
-
injectionDepth: number;
|
|
888
|
-
numberOfValues: number;
|
|
889
|
-
sortCriteria: string;
|
|
890
|
-
basePath: never[];
|
|
891
|
-
filterByBasePath: boolean;
|
|
892
|
-
resultsMustMatch: string;
|
|
893
|
-
currentValues: never[];
|
|
894
|
-
preventAutoSelect: boolean;
|
|
895
|
-
type: string;
|
|
896
|
-
facetId: string;
|
|
897
|
-
field: string;
|
|
898
|
-
freezeCurrentValues?: undefined;
|
|
899
|
-
isFieldExpanded?: undefined;
|
|
900
|
-
rangeAlgorithm?: undefined;
|
|
901
|
-
generateAutomaticRanges?: undefined;
|
|
902
|
-
} | {
|
|
903
|
-
filterFacetCount: boolean;
|
|
904
|
-
injectionDepth: number;
|
|
905
|
-
numberOfValues: number;
|
|
906
|
-
sortCriteria: string;
|
|
907
|
-
rangeAlgorithm: string;
|
|
908
|
-
resultsMustMatch: string;
|
|
909
|
-
currentValues: {
|
|
910
|
-
endInclusive: boolean;
|
|
911
|
-
state: string;
|
|
912
|
-
start: number;
|
|
913
|
-
end: number;
|
|
914
|
-
}[];
|
|
915
|
-
preventAutoSelect: boolean;
|
|
916
|
-
type: string;
|
|
917
|
-
facetId: string;
|
|
918
|
-
field: string;
|
|
919
|
-
generateAutomaticRanges: boolean;
|
|
920
|
-
freezeCurrentValues?: undefined;
|
|
921
|
-
isFieldExpanded?: undefined;
|
|
922
|
-
delimitingCharacter?: undefined;
|
|
923
|
-
basePath?: undefined;
|
|
924
|
-
filterByBasePath?: undefined;
|
|
925
|
-
})[];
|
|
926
|
-
fieldsToInclude: string[];
|
|
927
|
-
queryCorrection: {
|
|
928
|
-
enabled: boolean;
|
|
929
|
-
options: {
|
|
930
|
-
automaticallyCorrect: string;
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
enableDidYouMean: boolean;
|
|
934
|
-
numberOfResults: number;
|
|
935
|
-
firstResult: number;
|
|
936
|
-
tab: string;
|
|
937
209
|
};
|
|
938
210
|
export declare const expectedStreamAnswerAPIParamWithDifferentFacetTimes: {
|
|
939
211
|
facets: {
|
|
@@ -8999,6 +8271,7 @@ export declare const expectedStreamAnswerAPIParamWithDifferentFacetTimes: {
|
|
|
8999
8271
|
cq: string;
|
|
9000
8272
|
dq: string;
|
|
9001
8273
|
lq: string;
|
|
8274
|
+
enableQuerySyntax: boolean;
|
|
9002
8275
|
context: {
|
|
9003
8276
|
testKey: string;
|
|
9004
8277
|
};
|
|
@@ -9022,6 +8295,15 @@ export declare const expectedStreamAnswerAPIParamWithDifferentFacetTimes: {
|
|
|
9022
8295
|
numberOfResults: number;
|
|
9023
8296
|
firstResult: number;
|
|
9024
8297
|
tab: string;
|
|
8298
|
+
locale: string;
|
|
8299
|
+
timezone: string;
|
|
8300
|
+
referrer: string;
|
|
8301
|
+
debug: boolean;
|
|
8302
|
+
actionsHistory: never[];
|
|
8303
|
+
sortCriteria: string;
|
|
8304
|
+
facetOptions: {
|
|
8305
|
+
freezeFacetOrder: boolean;
|
|
8306
|
+
};
|
|
9025
8307
|
analytics: {
|
|
9026
8308
|
actionCause: string;
|
|
9027
8309
|
capture: boolean;
|
|
@@ -9034,3 +8316,137 @@ export declare const expectedStreamAnswerAPIParamWithDifferentFacetTimes: {
|
|
|
9034
8316
|
source: string[];
|
|
9035
8317
|
};
|
|
9036
8318
|
};
|
|
8319
|
+
export declare const expectedStreamAnswerAPIParamWithoutReferrer: {
|
|
8320
|
+
referrer: string;
|
|
8321
|
+
analytics: {
|
|
8322
|
+
documentReferrer: null;
|
|
8323
|
+
actionCause: string;
|
|
8324
|
+
capture: boolean;
|
|
8325
|
+
clientId: string;
|
|
8326
|
+
clientTimestamp: string;
|
|
8327
|
+
customData: undefined;
|
|
8328
|
+
documentLocation: string;
|
|
8329
|
+
originContext: string;
|
|
8330
|
+
source: string[];
|
|
8331
|
+
};
|
|
8332
|
+
q: string;
|
|
8333
|
+
aq: string;
|
|
8334
|
+
cq: string;
|
|
8335
|
+
dq: string;
|
|
8336
|
+
lq: string;
|
|
8337
|
+
enableQuerySyntax: boolean;
|
|
8338
|
+
context: {
|
|
8339
|
+
testKey: string;
|
|
8340
|
+
};
|
|
8341
|
+
pipelineRuleParameters: {
|
|
8342
|
+
mlGenerativeQuestionAnswering: {
|
|
8343
|
+
responseFormat: {
|
|
8344
|
+
contentFormat: string[];
|
|
8345
|
+
};
|
|
8346
|
+
citationsFieldToInclude: never[];
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
searchHub: string;
|
|
8350
|
+
facets: ({
|
|
8351
|
+
filterFacetCount: boolean;
|
|
8352
|
+
injectionDepth: number;
|
|
8353
|
+
numberOfValues: number;
|
|
8354
|
+
sortCriteria: string;
|
|
8355
|
+
resultsMustMatch: string;
|
|
8356
|
+
type: string;
|
|
8357
|
+
currentValues: never[];
|
|
8358
|
+
freezeCurrentValues: boolean;
|
|
8359
|
+
isFieldExpanded: boolean;
|
|
8360
|
+
preventAutoSelect: boolean;
|
|
8361
|
+
facetId: string;
|
|
8362
|
+
field: string;
|
|
8363
|
+
rangeAlgorithm?: undefined;
|
|
8364
|
+
generateAutomaticRanges?: undefined;
|
|
8365
|
+
delimitingCharacter?: undefined;
|
|
8366
|
+
basePath?: undefined;
|
|
8367
|
+
filterByBasePath?: undefined;
|
|
8368
|
+
} | {
|
|
8369
|
+
filterFacetCount: boolean;
|
|
8370
|
+
injectionDepth: number;
|
|
8371
|
+
numberOfValues: number;
|
|
8372
|
+
sortCriteria: string;
|
|
8373
|
+
rangeAlgorithm: string;
|
|
8374
|
+
resultsMustMatch: string;
|
|
8375
|
+
currentValues: {
|
|
8376
|
+
start: string;
|
|
8377
|
+
end: string;
|
|
8378
|
+
endInclusive: boolean;
|
|
8379
|
+
state: string;
|
|
8380
|
+
}[];
|
|
8381
|
+
preventAutoSelect: boolean;
|
|
8382
|
+
type: string;
|
|
8383
|
+
facetId: string;
|
|
8384
|
+
field: string;
|
|
8385
|
+
generateAutomaticRanges: boolean;
|
|
8386
|
+
freezeCurrentValues?: undefined;
|
|
8387
|
+
isFieldExpanded?: undefined;
|
|
8388
|
+
delimitingCharacter?: undefined;
|
|
8389
|
+
basePath?: undefined;
|
|
8390
|
+
filterByBasePath?: undefined;
|
|
8391
|
+
} | {
|
|
8392
|
+
delimitingCharacter: string;
|
|
8393
|
+
filterFacetCount: boolean;
|
|
8394
|
+
injectionDepth: number;
|
|
8395
|
+
numberOfValues: number;
|
|
8396
|
+
sortCriteria: string;
|
|
8397
|
+
basePath: never[];
|
|
8398
|
+
filterByBasePath: boolean;
|
|
8399
|
+
resultsMustMatch: string;
|
|
8400
|
+
currentValues: never[];
|
|
8401
|
+
preventAutoSelect: boolean;
|
|
8402
|
+
type: string;
|
|
8403
|
+
facetId: string;
|
|
8404
|
+
field: string;
|
|
8405
|
+
freezeCurrentValues?: undefined;
|
|
8406
|
+
isFieldExpanded?: undefined;
|
|
8407
|
+
rangeAlgorithm?: undefined;
|
|
8408
|
+
generateAutomaticRanges?: undefined;
|
|
8409
|
+
} | {
|
|
8410
|
+
filterFacetCount: boolean;
|
|
8411
|
+
injectionDepth: number;
|
|
8412
|
+
numberOfValues: number;
|
|
8413
|
+
sortCriteria: string;
|
|
8414
|
+
rangeAlgorithm: string;
|
|
8415
|
+
resultsMustMatch: string;
|
|
8416
|
+
currentValues: {
|
|
8417
|
+
endInclusive: boolean;
|
|
8418
|
+
state: string;
|
|
8419
|
+
start: number;
|
|
8420
|
+
end: number;
|
|
8421
|
+
}[];
|
|
8422
|
+
preventAutoSelect: boolean;
|
|
8423
|
+
type: string;
|
|
8424
|
+
facetId: string;
|
|
8425
|
+
field: string;
|
|
8426
|
+
generateAutomaticRanges: boolean;
|
|
8427
|
+
freezeCurrentValues?: undefined;
|
|
8428
|
+
isFieldExpanded?: undefined;
|
|
8429
|
+
delimitingCharacter?: undefined;
|
|
8430
|
+
basePath?: undefined;
|
|
8431
|
+
filterByBasePath?: undefined;
|
|
8432
|
+
})[];
|
|
8433
|
+
fieldsToInclude: string[];
|
|
8434
|
+
queryCorrection: {
|
|
8435
|
+
enabled: boolean;
|
|
8436
|
+
options: {
|
|
8437
|
+
automaticallyCorrect: string;
|
|
8438
|
+
};
|
|
8439
|
+
};
|
|
8440
|
+
enableDidYouMean: boolean;
|
|
8441
|
+
numberOfResults: number;
|
|
8442
|
+
firstResult: number;
|
|
8443
|
+
tab: string;
|
|
8444
|
+
locale: string;
|
|
8445
|
+
timezone: string;
|
|
8446
|
+
debug: boolean;
|
|
8447
|
+
actionsHistory: never[];
|
|
8448
|
+
sortCriteria: string;
|
|
8449
|
+
facetOptions: {
|
|
8450
|
+
freezeFacetOrder: boolean;
|
|
8451
|
+
};
|
|
8452
|
+
};
|