@coveo/quantic 3.30.0 → 3.30.1-pre.0b6ca95bda

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.
Files changed (28) hide show
  1. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +10 -8
  2. package/force-app/main/default/staticresources/coveoheadless/definitions/api/api-client-utils.d.ts +1 -1
  3. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +2 -2
  4. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +2 -2
  5. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +2 -2
  6. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +3 -93
  7. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +2 -2
  8. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +2 -2
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +2 -2
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +4 -4
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +2 -2
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer-mocks.d.ts +2003 -0
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/utils/testingUtils.d.ts +8 -0
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions-loader.d.ts +14 -1
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions.d.ts +2 -9
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions-loader.d.ts +35 -0
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/answer-api-selectors.d.ts +72 -0
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +2 -0
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +2005 -0
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +5 -0
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +2 -0
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +1 -0
  23. package/force-app/main/default/staticresources/coveoheadless/headless.js +12 -10
  24. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +11 -9
  25. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -7
  26. package/package.json +4 -3
  27. package/docs/out/quantic-docs.json +0 -6440
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/tests/stream-answer-api-state-mock.d.ts +0 -1051
@@ -0,0 +1,2003 @@
1
+ /** biome-ignore-all lint/suspicious/noExplicitAny: <mock> */
2
+ import type { StreamAnswerAPIState } from '../../../api/knowledge/stream-answer-api-state.js';
3
+ export declare const streamAnswerAPIStateMock: StreamAnswerAPIState;
4
+ export declare const streamAnswerAPIStateMockWithATabWithAnExpression: StreamAnswerAPIState;
5
+ export declare const streamAnswerAPIStateMockWithoutAnyTab: StreamAnswerAPIState;
6
+ export declare const streamAnswerAPIStateMockWithStaticFiltersSelected: StreamAnswerAPIState;
7
+ export declare const streamAnswerAPIStateMockWithNonValidFilters: StreamAnswerAPIState;
8
+ export declare const streamAnswerAPIStateMockWithoutAnyFilters: StreamAnswerAPIState;
9
+ export declare const streamAnswerAPIStateMockWithStaticFiltersAndTabExpression: StreamAnswerAPIState;
10
+ export declare const streamAnswerAPIStateMockWithStaticFiltersAndTabExpressionWithEmptyCQ: {
11
+ advancedSearchQueries: {
12
+ cq: string;
13
+ cqWasSet: boolean;
14
+ aq: string;
15
+ aqWasSet: boolean;
16
+ lq: string;
17
+ lqWasSet: boolean;
18
+ dq: string;
19
+ dqWasSet: boolean;
20
+ defaultFilters: {
21
+ cq: string;
22
+ aq: string;
23
+ lq: string;
24
+ dq: string;
25
+ };
26
+ };
27
+ searchHub: string;
28
+ pipeline: string;
29
+ answer: import("@reduxjs/toolkit/query").CombinedState<{
30
+ getAnswer: import("@reduxjs/toolkit/query").QueryDefinition<Partial<import("../../../api/search/search/search-request.js").SearchRequest>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("../../../api/knowledge/generated-answer-stream.js").GeneratedAnswerStream, "answer">;
31
+ }, never, "answer">;
32
+ configuration: import("../../../features/configuration/configuration-state.js").ConfigurationState;
33
+ facetSet?: import("../../../features/facets/facet-set/facet-set-state.js").FacetSetState | undefined;
34
+ dateFacetSet?: import("../../../features/facets/range-facets/date-facet-set/date-facet-set-state.js").DateFacetSetState | undefined;
35
+ numericFacetSet?: import("../../../features/facets/range-facets/numeric-facet-set/numeric-facet-set-state.js").NumericFacetSetState | undefined;
36
+ categoryFacetSet?: import("../../../features/facets/category-facet-set/category-facet-set-state.js").CategoryFacetSetState | undefined;
37
+ automaticFacetSet?: import("../../../features/facets/automatic-facet-set/automatic-facet-set-state.js").AutomaticFacetSetState | undefined;
38
+ facetOptions?: import("../../../features/facet-options/facet-options-state.js").FacetOptionsState | undefined;
39
+ query?: import("../../../features/query/query-state.js").QueryState | undefined;
40
+ tabSet?: import("../../../features/tab-set/tab-set-state.js").TabSetState | undefined;
41
+ staticFilterSet?: import("../../../features/static-filter-set/static-filter-set-state.js").StaticFilterSetState | undefined;
42
+ pagination?: import("../../../features/pagination/pagination-state.js").PaginationState | undefined;
43
+ sortCriteria?: string | undefined;
44
+ context?: import("../../../features/context/context-state.js").ContextState | undefined;
45
+ dictionaryFieldContext?: import("../../../features/dictionary-field-context/dictionary-field-context-state.js").DictionaryFieldContextState | undefined;
46
+ querySet?: import("../../../features/query-set/query-set-state.js").QuerySetState | undefined;
47
+ debug?: boolean | undefined;
48
+ facetSearchSet?: import("../../../features/facets/facet-search-set/specific/specific-facet-search-set-state.js").SpecificFacetSearchSetState | undefined;
49
+ categoryFacetSearchSet?: import("../../../features/facets/facet-search-set/category/category-facet-search-set-state.js").CategoryFacetSearchSetState | undefined;
50
+ standaloneSearchBoxSet?: import("../../../features/standalone-search-box-set/standalone-search-box-set-state.js").StandaloneSearchBoxSetState | undefined;
51
+ querySuggest?: import("../../../features/query-suggest/query-suggest-state.js").QuerySuggestSet | undefined;
52
+ search?: import("../../../features/search/search-state.js").SearchState | undefined;
53
+ resultPreview?: import("../../../features/result-preview/result-preview-state.js").ResultPreviewState | undefined;
54
+ didYouMean?: import("../../../features/did-you-mean/did-you-mean-state.js").DidYouMeanState | undefined;
55
+ fields?: import("../../../features/fields/fields-state.js").FieldsState | undefined;
56
+ facetOrder?: import("../../../features/facets/facet-order/facet-order-state.js").FacetOrderState | undefined;
57
+ version?: string | undefined;
58
+ history?: import("../../../app/undoable.js").StateWithHistory<import("../../../features/history/history-state.js").HistoryState> | undefined;
59
+ folding?: import("../../../features/folding/folding-state.js").FoldingState | undefined;
60
+ triggers?: import("../../../features/triggers/triggers-state.js").TriggerState | undefined;
61
+ questionAnswering?: import("../../../features/question-answering/question-answering-state.js").QuestionAnsweringState | undefined;
62
+ recentResults?: import("../../../features/recent-results/recent-results-state.js").RecentResultsState | undefined;
63
+ recentQueries?: import("../../../features/recent-queries/recent-queries-state.js").RecentQueriesState | undefined;
64
+ excerptLength?: import("../../../features/excerpt-length/excerpt-length-state.js").ExcerptLengthState | undefined;
65
+ generatedAnswer: import("../../generated-answer/headless-generated-answer.js").GeneratedAnswerState;
66
+ instantResults?: import("../../../features/instant-results/instant-results-state.js").InstantResultsState | undefined;
67
+ insightConfiguration?: import("../../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState | undefined;
68
+ };
69
+ export declare const streamAnswerAPIStateMockWithoutSearchAction: StreamAnswerAPIState;
70
+ export declare const expectedStreamAnswerAPIParam: {
71
+ q: string;
72
+ aq: string;
73
+ cq: string;
74
+ dq: string;
75
+ lq: string;
76
+ context: {
77
+ testKey: string;
78
+ };
79
+ pipelineRuleParameters: {
80
+ mlGenerativeQuestionAnswering: {
81
+ responseFormat: {
82
+ contentFormat: string[];
83
+ };
84
+ citationsFieldToInclude: never[];
85
+ };
86
+ };
87
+ searchHub: string;
88
+ facets: {
89
+ '0': {
90
+ filterFacetCount: boolean;
91
+ injectionDepth: number;
92
+ numberOfValues: number;
93
+ sortCriteria: string;
94
+ resultsMustMatch: string;
95
+ type: string;
96
+ currentValues: never[];
97
+ freezeCurrentValues: boolean;
98
+ isFieldExpanded: boolean;
99
+ preventAutoSelect: boolean;
100
+ facetId: string;
101
+ field: string;
102
+ };
103
+ '1': {
104
+ filterFacetCount: boolean;
105
+ injectionDepth: number;
106
+ numberOfValues: number;
107
+ sortCriteria: string;
108
+ rangeAlgorithm: string;
109
+ resultsMustMatch: string;
110
+ currentValues: {
111
+ start: string;
112
+ end: string;
113
+ endInclusive: boolean;
114
+ state: string;
115
+ }[];
116
+ preventAutoSelect: boolean;
117
+ type: string;
118
+ facetId: string;
119
+ field: string;
120
+ generateAutomaticRanges: boolean;
121
+ };
122
+ '2': {
123
+ filterFacetCount: boolean;
124
+ injectionDepth: number;
125
+ numberOfValues: number;
126
+ sortCriteria: string;
127
+ rangeAlgorithm: string;
128
+ resultsMustMatch: string;
129
+ currentValues: never[];
130
+ preventAutoSelect: boolean;
131
+ type: string;
132
+ facetId: string;
133
+ field: string;
134
+ generateAutomaticRanges: boolean;
135
+ };
136
+ '3': {
137
+ filterFacetCount: boolean;
138
+ injectionDepth: number;
139
+ numberOfValues: number;
140
+ sortCriteria: string;
141
+ rangeAlgorithm: string;
142
+ resultsMustMatch: string;
143
+ currentValues: never[];
144
+ preventAutoSelect: boolean;
145
+ type: string;
146
+ facetId: string;
147
+ generateAutomaticRanges: boolean;
148
+ field: string;
149
+ };
150
+ '4': {
151
+ filterFacetCount: boolean;
152
+ injectionDepth: number;
153
+ numberOfValues: number;
154
+ sortCriteria: string;
155
+ resultsMustMatch: string;
156
+ type: string;
157
+ currentValues: never[];
158
+ freezeCurrentValues: boolean;
159
+ isFieldExpanded: boolean;
160
+ preventAutoSelect: boolean;
161
+ facetId: string;
162
+ field: string;
163
+ };
164
+ '5': {
165
+ delimitingCharacter: string;
166
+ filterFacetCount: boolean;
167
+ injectionDepth: number;
168
+ numberOfValues: number;
169
+ sortCriteria: string;
170
+ basePath: never[];
171
+ filterByBasePath: boolean;
172
+ resultsMustMatch: string;
173
+ currentValues: never[];
174
+ preventAutoSelect: boolean;
175
+ type: string;
176
+ facetId: string;
177
+ field: string;
178
+ };
179
+ '6': {
180
+ filterFacetCount: boolean;
181
+ injectionDepth: number;
182
+ numberOfValues: number;
183
+ sortCriteria: string;
184
+ rangeAlgorithm: string;
185
+ resultsMustMatch: string;
186
+ currentValues: never[];
187
+ preventAutoSelect: boolean;
188
+ type: string;
189
+ facetId: string;
190
+ field: string;
191
+ generateAutomaticRanges: boolean;
192
+ };
193
+ '7': {
194
+ filterFacetCount: boolean;
195
+ injectionDepth: number;
196
+ numberOfValues: number;
197
+ sortCriteria: string;
198
+ rangeAlgorithm: string;
199
+ resultsMustMatch: string;
200
+ currentValues: {
201
+ endInclusive: boolean;
202
+ state: string;
203
+ start: number;
204
+ end: number;
205
+ }[];
206
+ preventAutoSelect: boolean;
207
+ type: string;
208
+ facetId: string;
209
+ field: string;
210
+ generateAutomaticRanges: boolean;
211
+ };
212
+ '8': {
213
+ filterFacetCount: boolean;
214
+ injectionDepth: number;
215
+ numberOfValues: number;
216
+ sortCriteria: string;
217
+ rangeAlgorithm: string;
218
+ resultsMustMatch: string;
219
+ currentValues: {
220
+ endInclusive: boolean;
221
+ state: string;
222
+ start: number;
223
+ end: number;
224
+ }[];
225
+ preventAutoSelect: boolean;
226
+ type: string;
227
+ facetId: string;
228
+ field: string;
229
+ generateAutomaticRanges: boolean;
230
+ };
231
+ '9': {
232
+ filterFacetCount: boolean;
233
+ injectionDepth: number;
234
+ numberOfValues: number;
235
+ sortCriteria: string;
236
+ resultsMustMatch: string;
237
+ type: string;
238
+ currentValues: never[];
239
+ freezeCurrentValues: boolean;
240
+ isFieldExpanded: boolean;
241
+ preventAutoSelect: boolean;
242
+ facetId: string;
243
+ field: string;
244
+ };
245
+ '10': {
246
+ filterFacetCount: boolean;
247
+ injectionDepth: number;
248
+ numberOfValues: number;
249
+ sortCriteria: string;
250
+ resultsMustMatch: string;
251
+ type: string;
252
+ currentValues: never[];
253
+ freezeCurrentValues: boolean;
254
+ isFieldExpanded: boolean;
255
+ preventAutoSelect: boolean;
256
+ facetId: string;
257
+ field: string;
258
+ };
259
+ '11': {
260
+ filterFacetCount: boolean;
261
+ injectionDepth: number;
262
+ numberOfValues: number;
263
+ sortCriteria: string;
264
+ rangeAlgorithm: string;
265
+ resultsMustMatch: string;
266
+ currentValues: never[];
267
+ preventAutoSelect: boolean;
268
+ type: string;
269
+ facetId: string;
270
+ field: string;
271
+ generateAutomaticRanges: boolean;
272
+ };
273
+ '12': {
274
+ filterFacetCount: boolean;
275
+ injectionDepth: number;
276
+ numberOfValues: number;
277
+ sortCriteria: string;
278
+ rangeAlgorithm: string;
279
+ resultsMustMatch: string;
280
+ currentValues: never[];
281
+ preventAutoSelect: boolean;
282
+ type: string;
283
+ generateAutomaticRanges: boolean;
284
+ facetId: string;
285
+ field: string;
286
+ };
287
+ };
288
+ fieldsToInclude: string[];
289
+ queryCorrection: {
290
+ enabled: boolean;
291
+ options: {
292
+ automaticallyCorrect: string;
293
+ };
294
+ };
295
+ enableDidYouMean: boolean;
296
+ numberOfResults: number;
297
+ firstResult: number;
298
+ tab: string;
299
+ analytics: {
300
+ actionCause: string;
301
+ capture: boolean;
302
+ clientId: string;
303
+ clientTimestamp: string;
304
+ customData: undefined;
305
+ documentLocation: string;
306
+ documentReferrer: string;
307
+ originContext: string;
308
+ source: string[];
309
+ };
310
+ };
311
+ export declare const expectedStreamAnswerAPIParamWithATabWithAnExpression: {
312
+ cq: string;
313
+ tab: string;
314
+ q: string;
315
+ aq: string;
316
+ dq: string;
317
+ lq: string;
318
+ context: {
319
+ testKey: string;
320
+ };
321
+ pipelineRuleParameters: {
322
+ mlGenerativeQuestionAnswering: {
323
+ responseFormat: {
324
+ contentFormat: string[];
325
+ };
326
+ citationsFieldToInclude: never[];
327
+ };
328
+ };
329
+ searchHub: string;
330
+ facets: {
331
+ '0': {
332
+ filterFacetCount: boolean;
333
+ injectionDepth: number;
334
+ numberOfValues: number;
335
+ sortCriteria: string;
336
+ resultsMustMatch: string;
337
+ type: string;
338
+ currentValues: never[];
339
+ freezeCurrentValues: boolean;
340
+ isFieldExpanded: boolean;
341
+ preventAutoSelect: boolean;
342
+ facetId: string;
343
+ field: string;
344
+ };
345
+ '1': {
346
+ filterFacetCount: boolean;
347
+ injectionDepth: number;
348
+ numberOfValues: number;
349
+ sortCriteria: string;
350
+ rangeAlgorithm: string;
351
+ resultsMustMatch: string;
352
+ currentValues: {
353
+ start: string;
354
+ end: string;
355
+ endInclusive: boolean;
356
+ state: string;
357
+ }[];
358
+ preventAutoSelect: boolean;
359
+ type: string;
360
+ facetId: string;
361
+ field: string;
362
+ generateAutomaticRanges: boolean;
363
+ };
364
+ '2': {
365
+ filterFacetCount: boolean;
366
+ injectionDepth: number;
367
+ numberOfValues: number;
368
+ sortCriteria: string;
369
+ rangeAlgorithm: string;
370
+ resultsMustMatch: string;
371
+ currentValues: never[];
372
+ preventAutoSelect: boolean;
373
+ type: string;
374
+ facetId: string;
375
+ field: string;
376
+ generateAutomaticRanges: boolean;
377
+ };
378
+ '3': {
379
+ filterFacetCount: boolean;
380
+ injectionDepth: number;
381
+ numberOfValues: number;
382
+ sortCriteria: string;
383
+ rangeAlgorithm: string;
384
+ resultsMustMatch: string;
385
+ currentValues: never[];
386
+ preventAutoSelect: boolean;
387
+ type: string;
388
+ facetId: string;
389
+ generateAutomaticRanges: boolean;
390
+ field: string;
391
+ };
392
+ '4': {
393
+ filterFacetCount: boolean;
394
+ injectionDepth: number;
395
+ numberOfValues: number;
396
+ sortCriteria: string;
397
+ resultsMustMatch: string;
398
+ type: string;
399
+ currentValues: never[];
400
+ freezeCurrentValues: boolean;
401
+ isFieldExpanded: boolean;
402
+ preventAutoSelect: boolean;
403
+ facetId: string;
404
+ field: string;
405
+ };
406
+ '5': {
407
+ delimitingCharacter: string;
408
+ filterFacetCount: boolean;
409
+ injectionDepth: number;
410
+ numberOfValues: number;
411
+ sortCriteria: string;
412
+ basePath: never[];
413
+ filterByBasePath: boolean;
414
+ resultsMustMatch: string;
415
+ currentValues: never[];
416
+ preventAutoSelect: boolean;
417
+ type: string;
418
+ facetId: string;
419
+ field: string;
420
+ };
421
+ '6': {
422
+ filterFacetCount: boolean;
423
+ injectionDepth: number;
424
+ numberOfValues: number;
425
+ sortCriteria: string;
426
+ rangeAlgorithm: string;
427
+ resultsMustMatch: string;
428
+ currentValues: never[];
429
+ preventAutoSelect: boolean;
430
+ type: string;
431
+ facetId: string;
432
+ field: string;
433
+ generateAutomaticRanges: boolean;
434
+ };
435
+ '7': {
436
+ filterFacetCount: boolean;
437
+ injectionDepth: number;
438
+ numberOfValues: number;
439
+ sortCriteria: string;
440
+ rangeAlgorithm: string;
441
+ resultsMustMatch: string;
442
+ currentValues: {
443
+ endInclusive: boolean;
444
+ state: string;
445
+ start: number;
446
+ end: number;
447
+ }[];
448
+ preventAutoSelect: boolean;
449
+ type: string;
450
+ facetId: string;
451
+ field: string;
452
+ generateAutomaticRanges: boolean;
453
+ };
454
+ '8': {
455
+ filterFacetCount: boolean;
456
+ injectionDepth: number;
457
+ numberOfValues: number;
458
+ sortCriteria: string;
459
+ rangeAlgorithm: string;
460
+ resultsMustMatch: string;
461
+ currentValues: {
462
+ endInclusive: boolean;
463
+ state: string;
464
+ start: number;
465
+ end: number;
466
+ }[];
467
+ preventAutoSelect: boolean;
468
+ type: string;
469
+ facetId: string;
470
+ field: string;
471
+ generateAutomaticRanges: boolean;
472
+ };
473
+ '9': {
474
+ filterFacetCount: boolean;
475
+ injectionDepth: number;
476
+ numberOfValues: number;
477
+ sortCriteria: string;
478
+ resultsMustMatch: string;
479
+ type: string;
480
+ currentValues: never[];
481
+ freezeCurrentValues: boolean;
482
+ isFieldExpanded: boolean;
483
+ preventAutoSelect: boolean;
484
+ facetId: string;
485
+ field: string;
486
+ };
487
+ '10': {
488
+ filterFacetCount: boolean;
489
+ injectionDepth: number;
490
+ numberOfValues: number;
491
+ sortCriteria: string;
492
+ resultsMustMatch: string;
493
+ type: string;
494
+ currentValues: never[];
495
+ freezeCurrentValues: boolean;
496
+ isFieldExpanded: boolean;
497
+ preventAutoSelect: boolean;
498
+ facetId: string;
499
+ field: string;
500
+ };
501
+ '11': {
502
+ filterFacetCount: boolean;
503
+ injectionDepth: number;
504
+ numberOfValues: number;
505
+ sortCriteria: string;
506
+ rangeAlgorithm: string;
507
+ resultsMustMatch: string;
508
+ currentValues: never[];
509
+ preventAutoSelect: boolean;
510
+ type: string;
511
+ facetId: string;
512
+ field: string;
513
+ generateAutomaticRanges: boolean;
514
+ };
515
+ '12': {
516
+ filterFacetCount: boolean;
517
+ injectionDepth: number;
518
+ numberOfValues: number;
519
+ sortCriteria: string;
520
+ rangeAlgorithm: string;
521
+ resultsMustMatch: string;
522
+ currentValues: never[];
523
+ preventAutoSelect: boolean;
524
+ type: string;
525
+ generateAutomaticRanges: boolean;
526
+ facetId: string;
527
+ field: string;
528
+ };
529
+ };
530
+ fieldsToInclude: string[];
531
+ queryCorrection: {
532
+ enabled: boolean;
533
+ options: {
534
+ automaticallyCorrect: string;
535
+ };
536
+ };
537
+ enableDidYouMean: boolean;
538
+ numberOfResults: number;
539
+ firstResult: number;
540
+ analytics: {
541
+ actionCause: string;
542
+ capture: boolean;
543
+ clientId: string;
544
+ clientTimestamp: string;
545
+ customData: undefined;
546
+ documentLocation: string;
547
+ documentReferrer: string;
548
+ originContext: string;
549
+ source: string[];
550
+ };
551
+ };
552
+ export declare const expectedStreamAnswerAPIParamWithoutAnyTab: {
553
+ tab: string;
554
+ q: string;
555
+ aq: string;
556
+ cq: string;
557
+ dq: string;
558
+ lq: string;
559
+ context: {
560
+ testKey: string;
561
+ };
562
+ pipelineRuleParameters: {
563
+ mlGenerativeQuestionAnswering: {
564
+ responseFormat: {
565
+ contentFormat: string[];
566
+ };
567
+ citationsFieldToInclude: never[];
568
+ };
569
+ };
570
+ searchHub: string;
571
+ facets: {
572
+ '0': {
573
+ filterFacetCount: boolean;
574
+ injectionDepth: number;
575
+ numberOfValues: number;
576
+ sortCriteria: string;
577
+ resultsMustMatch: string;
578
+ type: string;
579
+ currentValues: never[];
580
+ freezeCurrentValues: boolean;
581
+ isFieldExpanded: boolean;
582
+ preventAutoSelect: boolean;
583
+ facetId: string;
584
+ field: string;
585
+ };
586
+ '1': {
587
+ filterFacetCount: boolean;
588
+ injectionDepth: number;
589
+ numberOfValues: number;
590
+ sortCriteria: string;
591
+ rangeAlgorithm: string;
592
+ resultsMustMatch: string;
593
+ currentValues: {
594
+ start: string;
595
+ end: string;
596
+ endInclusive: boolean;
597
+ state: string;
598
+ }[];
599
+ preventAutoSelect: boolean;
600
+ type: string;
601
+ facetId: string;
602
+ field: string;
603
+ generateAutomaticRanges: boolean;
604
+ };
605
+ '2': {
606
+ filterFacetCount: boolean;
607
+ injectionDepth: number;
608
+ numberOfValues: number;
609
+ sortCriteria: string;
610
+ rangeAlgorithm: string;
611
+ resultsMustMatch: string;
612
+ currentValues: never[];
613
+ preventAutoSelect: boolean;
614
+ type: string;
615
+ facetId: string;
616
+ field: string;
617
+ generateAutomaticRanges: boolean;
618
+ };
619
+ '3': {
620
+ filterFacetCount: boolean;
621
+ injectionDepth: number;
622
+ numberOfValues: number;
623
+ sortCriteria: string;
624
+ rangeAlgorithm: string;
625
+ resultsMustMatch: string;
626
+ currentValues: never[];
627
+ preventAutoSelect: boolean;
628
+ type: string;
629
+ facetId: string;
630
+ generateAutomaticRanges: boolean;
631
+ field: string;
632
+ };
633
+ '4': {
634
+ filterFacetCount: boolean;
635
+ injectionDepth: number;
636
+ numberOfValues: number;
637
+ sortCriteria: string;
638
+ resultsMustMatch: string;
639
+ type: string;
640
+ currentValues: never[];
641
+ freezeCurrentValues: boolean;
642
+ isFieldExpanded: boolean;
643
+ preventAutoSelect: boolean;
644
+ facetId: string;
645
+ field: string;
646
+ };
647
+ '5': {
648
+ delimitingCharacter: string;
649
+ filterFacetCount: boolean;
650
+ injectionDepth: number;
651
+ numberOfValues: number;
652
+ sortCriteria: string;
653
+ basePath: never[];
654
+ filterByBasePath: boolean;
655
+ resultsMustMatch: string;
656
+ currentValues: never[];
657
+ preventAutoSelect: boolean;
658
+ type: string;
659
+ facetId: string;
660
+ field: string;
661
+ };
662
+ '6': {
663
+ filterFacetCount: boolean;
664
+ injectionDepth: number;
665
+ numberOfValues: number;
666
+ sortCriteria: string;
667
+ rangeAlgorithm: string;
668
+ resultsMustMatch: string;
669
+ currentValues: never[];
670
+ preventAutoSelect: boolean;
671
+ type: string;
672
+ facetId: string;
673
+ field: string;
674
+ generateAutomaticRanges: boolean;
675
+ };
676
+ '7': {
677
+ filterFacetCount: boolean;
678
+ injectionDepth: number;
679
+ numberOfValues: number;
680
+ sortCriteria: string;
681
+ rangeAlgorithm: string;
682
+ resultsMustMatch: string;
683
+ currentValues: {
684
+ endInclusive: boolean;
685
+ state: string;
686
+ start: number;
687
+ end: number;
688
+ }[];
689
+ preventAutoSelect: boolean;
690
+ type: string;
691
+ facetId: string;
692
+ field: string;
693
+ generateAutomaticRanges: boolean;
694
+ };
695
+ '8': {
696
+ filterFacetCount: boolean;
697
+ injectionDepth: number;
698
+ numberOfValues: number;
699
+ sortCriteria: string;
700
+ rangeAlgorithm: string;
701
+ resultsMustMatch: string;
702
+ currentValues: {
703
+ endInclusive: boolean;
704
+ state: string;
705
+ start: number;
706
+ end: number;
707
+ }[];
708
+ preventAutoSelect: boolean;
709
+ type: string;
710
+ facetId: string;
711
+ field: string;
712
+ generateAutomaticRanges: boolean;
713
+ };
714
+ '9': {
715
+ filterFacetCount: boolean;
716
+ injectionDepth: number;
717
+ numberOfValues: number;
718
+ sortCriteria: string;
719
+ resultsMustMatch: string;
720
+ type: string;
721
+ currentValues: never[];
722
+ freezeCurrentValues: boolean;
723
+ isFieldExpanded: boolean;
724
+ preventAutoSelect: boolean;
725
+ facetId: string;
726
+ field: string;
727
+ };
728
+ '10': {
729
+ filterFacetCount: boolean;
730
+ injectionDepth: number;
731
+ numberOfValues: number;
732
+ sortCriteria: string;
733
+ resultsMustMatch: string;
734
+ type: string;
735
+ currentValues: never[];
736
+ freezeCurrentValues: boolean;
737
+ isFieldExpanded: boolean;
738
+ preventAutoSelect: boolean;
739
+ facetId: string;
740
+ field: string;
741
+ };
742
+ '11': {
743
+ filterFacetCount: boolean;
744
+ injectionDepth: number;
745
+ numberOfValues: number;
746
+ sortCriteria: string;
747
+ rangeAlgorithm: string;
748
+ resultsMustMatch: string;
749
+ currentValues: never[];
750
+ preventAutoSelect: boolean;
751
+ type: string;
752
+ facetId: string;
753
+ field: string;
754
+ generateAutomaticRanges: boolean;
755
+ };
756
+ '12': {
757
+ filterFacetCount: boolean;
758
+ injectionDepth: number;
759
+ numberOfValues: number;
760
+ sortCriteria: string;
761
+ rangeAlgorithm: string;
762
+ resultsMustMatch: string;
763
+ currentValues: never[];
764
+ preventAutoSelect: boolean;
765
+ type: string;
766
+ generateAutomaticRanges: boolean;
767
+ facetId: string;
768
+ field: string;
769
+ };
770
+ };
771
+ fieldsToInclude: string[];
772
+ queryCorrection: {
773
+ enabled: boolean;
774
+ options: {
775
+ automaticallyCorrect: string;
776
+ };
777
+ };
778
+ enableDidYouMean: boolean;
779
+ numberOfResults: number;
780
+ firstResult: number;
781
+ analytics: {
782
+ actionCause: string;
783
+ capture: boolean;
784
+ clientId: string;
785
+ clientTimestamp: string;
786
+ customData: undefined;
787
+ documentLocation: string;
788
+ documentReferrer: string;
789
+ originContext: string;
790
+ source: string[];
791
+ };
792
+ };
793
+ export declare const expectedStreamAnswerAPIParamWithStaticFiltersSelected: {
794
+ cq: string;
795
+ q: string;
796
+ aq: string;
797
+ dq: string;
798
+ lq: string;
799
+ context: {
800
+ testKey: string;
801
+ };
802
+ pipelineRuleParameters: {
803
+ mlGenerativeQuestionAnswering: {
804
+ responseFormat: {
805
+ contentFormat: string[];
806
+ };
807
+ citationsFieldToInclude: never[];
808
+ };
809
+ };
810
+ searchHub: string;
811
+ facets: {
812
+ '0': {
813
+ filterFacetCount: boolean;
814
+ injectionDepth: number;
815
+ numberOfValues: number;
816
+ sortCriteria: string;
817
+ resultsMustMatch: string;
818
+ type: string;
819
+ currentValues: never[];
820
+ freezeCurrentValues: boolean;
821
+ isFieldExpanded: boolean;
822
+ preventAutoSelect: boolean;
823
+ facetId: string;
824
+ field: string;
825
+ };
826
+ '1': {
827
+ filterFacetCount: boolean;
828
+ injectionDepth: number;
829
+ numberOfValues: number;
830
+ sortCriteria: string;
831
+ rangeAlgorithm: string;
832
+ resultsMustMatch: string;
833
+ currentValues: {
834
+ start: string;
835
+ end: string;
836
+ endInclusive: boolean;
837
+ state: string;
838
+ }[];
839
+ preventAutoSelect: boolean;
840
+ type: string;
841
+ facetId: string;
842
+ field: string;
843
+ generateAutomaticRanges: boolean;
844
+ };
845
+ '2': {
846
+ filterFacetCount: boolean;
847
+ injectionDepth: number;
848
+ numberOfValues: number;
849
+ sortCriteria: string;
850
+ rangeAlgorithm: string;
851
+ resultsMustMatch: string;
852
+ currentValues: never[];
853
+ preventAutoSelect: boolean;
854
+ type: string;
855
+ facetId: string;
856
+ field: string;
857
+ generateAutomaticRanges: boolean;
858
+ };
859
+ '3': {
860
+ filterFacetCount: boolean;
861
+ injectionDepth: number;
862
+ numberOfValues: number;
863
+ sortCriteria: string;
864
+ rangeAlgorithm: string;
865
+ resultsMustMatch: string;
866
+ currentValues: never[];
867
+ preventAutoSelect: boolean;
868
+ type: string;
869
+ facetId: string;
870
+ generateAutomaticRanges: boolean;
871
+ field: string;
872
+ };
873
+ '4': {
874
+ filterFacetCount: boolean;
875
+ injectionDepth: number;
876
+ numberOfValues: number;
877
+ sortCriteria: string;
878
+ resultsMustMatch: string;
879
+ type: string;
880
+ currentValues: never[];
881
+ freezeCurrentValues: boolean;
882
+ isFieldExpanded: boolean;
883
+ preventAutoSelect: boolean;
884
+ facetId: string;
885
+ field: string;
886
+ };
887
+ '5': {
888
+ delimitingCharacter: string;
889
+ filterFacetCount: boolean;
890
+ injectionDepth: number;
891
+ numberOfValues: number;
892
+ sortCriteria: string;
893
+ basePath: never[];
894
+ filterByBasePath: boolean;
895
+ resultsMustMatch: string;
896
+ currentValues: never[];
897
+ preventAutoSelect: boolean;
898
+ type: string;
899
+ facetId: string;
900
+ field: string;
901
+ };
902
+ '6': {
903
+ filterFacetCount: boolean;
904
+ injectionDepth: number;
905
+ numberOfValues: number;
906
+ sortCriteria: string;
907
+ rangeAlgorithm: string;
908
+ resultsMustMatch: string;
909
+ currentValues: never[];
910
+ preventAutoSelect: boolean;
911
+ type: string;
912
+ facetId: string;
913
+ field: string;
914
+ generateAutomaticRanges: boolean;
915
+ };
916
+ '7': {
917
+ filterFacetCount: boolean;
918
+ injectionDepth: number;
919
+ numberOfValues: number;
920
+ sortCriteria: string;
921
+ rangeAlgorithm: string;
922
+ resultsMustMatch: string;
923
+ currentValues: {
924
+ endInclusive: boolean;
925
+ state: string;
926
+ start: number;
927
+ end: number;
928
+ }[];
929
+ preventAutoSelect: boolean;
930
+ type: string;
931
+ facetId: string;
932
+ field: string;
933
+ generateAutomaticRanges: boolean;
934
+ };
935
+ '8': {
936
+ filterFacetCount: boolean;
937
+ injectionDepth: number;
938
+ numberOfValues: number;
939
+ sortCriteria: string;
940
+ rangeAlgorithm: string;
941
+ resultsMustMatch: string;
942
+ currentValues: {
943
+ endInclusive: boolean;
944
+ state: string;
945
+ start: number;
946
+ end: number;
947
+ }[];
948
+ preventAutoSelect: boolean;
949
+ type: string;
950
+ facetId: string;
951
+ field: string;
952
+ generateAutomaticRanges: boolean;
953
+ };
954
+ '9': {
955
+ filterFacetCount: boolean;
956
+ injectionDepth: number;
957
+ numberOfValues: number;
958
+ sortCriteria: string;
959
+ resultsMustMatch: string;
960
+ type: string;
961
+ currentValues: never[];
962
+ freezeCurrentValues: boolean;
963
+ isFieldExpanded: boolean;
964
+ preventAutoSelect: boolean;
965
+ facetId: string;
966
+ field: string;
967
+ };
968
+ '10': {
969
+ filterFacetCount: boolean;
970
+ injectionDepth: number;
971
+ numberOfValues: number;
972
+ sortCriteria: string;
973
+ resultsMustMatch: string;
974
+ type: string;
975
+ currentValues: never[];
976
+ freezeCurrentValues: boolean;
977
+ isFieldExpanded: boolean;
978
+ preventAutoSelect: boolean;
979
+ facetId: string;
980
+ field: string;
981
+ };
982
+ '11': {
983
+ filterFacetCount: boolean;
984
+ injectionDepth: number;
985
+ numberOfValues: number;
986
+ sortCriteria: string;
987
+ rangeAlgorithm: string;
988
+ resultsMustMatch: string;
989
+ currentValues: never[];
990
+ preventAutoSelect: boolean;
991
+ type: string;
992
+ facetId: string;
993
+ field: string;
994
+ generateAutomaticRanges: boolean;
995
+ };
996
+ '12': {
997
+ filterFacetCount: boolean;
998
+ injectionDepth: number;
999
+ numberOfValues: number;
1000
+ sortCriteria: string;
1001
+ rangeAlgorithm: string;
1002
+ resultsMustMatch: string;
1003
+ currentValues: never[];
1004
+ preventAutoSelect: boolean;
1005
+ type: string;
1006
+ generateAutomaticRanges: boolean;
1007
+ facetId: string;
1008
+ field: string;
1009
+ };
1010
+ };
1011
+ fieldsToInclude: string[];
1012
+ queryCorrection: {
1013
+ enabled: boolean;
1014
+ options: {
1015
+ automaticallyCorrect: string;
1016
+ };
1017
+ };
1018
+ enableDidYouMean: boolean;
1019
+ numberOfResults: number;
1020
+ firstResult: number;
1021
+ tab: string;
1022
+ analytics: {
1023
+ actionCause: string;
1024
+ capture: boolean;
1025
+ clientId: string;
1026
+ clientTimestamp: string;
1027
+ customData: undefined;
1028
+ documentLocation: string;
1029
+ documentReferrer: string;
1030
+ originContext: string;
1031
+ source: string[];
1032
+ };
1033
+ };
1034
+ export declare const expectedStreamAnswerAPIParamWithStaticFiltersAndTabExpression: {
1035
+ cq: string;
1036
+ q: string;
1037
+ aq: string;
1038
+ dq: string;
1039
+ lq: string;
1040
+ context: {
1041
+ testKey: string;
1042
+ };
1043
+ pipelineRuleParameters: {
1044
+ mlGenerativeQuestionAnswering: {
1045
+ responseFormat: {
1046
+ contentFormat: string[];
1047
+ };
1048
+ citationsFieldToInclude: never[];
1049
+ };
1050
+ };
1051
+ searchHub: string;
1052
+ facets: {
1053
+ '0': {
1054
+ filterFacetCount: boolean;
1055
+ injectionDepth: number;
1056
+ numberOfValues: number;
1057
+ sortCriteria: string;
1058
+ resultsMustMatch: string;
1059
+ type: string;
1060
+ currentValues: never[];
1061
+ freezeCurrentValues: boolean;
1062
+ isFieldExpanded: boolean;
1063
+ preventAutoSelect: boolean;
1064
+ facetId: string;
1065
+ field: string;
1066
+ };
1067
+ '1': {
1068
+ filterFacetCount: boolean;
1069
+ injectionDepth: number;
1070
+ numberOfValues: number;
1071
+ sortCriteria: string;
1072
+ rangeAlgorithm: string;
1073
+ resultsMustMatch: string;
1074
+ currentValues: {
1075
+ start: string;
1076
+ end: string;
1077
+ endInclusive: boolean;
1078
+ state: string;
1079
+ }[];
1080
+ preventAutoSelect: boolean;
1081
+ type: string;
1082
+ facetId: string;
1083
+ field: string;
1084
+ generateAutomaticRanges: boolean;
1085
+ };
1086
+ '2': {
1087
+ filterFacetCount: boolean;
1088
+ injectionDepth: number;
1089
+ numberOfValues: number;
1090
+ sortCriteria: string;
1091
+ rangeAlgorithm: string;
1092
+ resultsMustMatch: string;
1093
+ currentValues: never[];
1094
+ preventAutoSelect: boolean;
1095
+ type: string;
1096
+ facetId: string;
1097
+ field: string;
1098
+ generateAutomaticRanges: boolean;
1099
+ };
1100
+ '3': {
1101
+ filterFacetCount: boolean;
1102
+ injectionDepth: number;
1103
+ numberOfValues: number;
1104
+ sortCriteria: string;
1105
+ rangeAlgorithm: string;
1106
+ resultsMustMatch: string;
1107
+ currentValues: never[];
1108
+ preventAutoSelect: boolean;
1109
+ type: string;
1110
+ facetId: string;
1111
+ generateAutomaticRanges: boolean;
1112
+ field: string;
1113
+ };
1114
+ '4': {
1115
+ filterFacetCount: boolean;
1116
+ injectionDepth: number;
1117
+ numberOfValues: number;
1118
+ sortCriteria: string;
1119
+ resultsMustMatch: string;
1120
+ type: string;
1121
+ currentValues: never[];
1122
+ freezeCurrentValues: boolean;
1123
+ isFieldExpanded: boolean;
1124
+ preventAutoSelect: boolean;
1125
+ facetId: string;
1126
+ field: string;
1127
+ };
1128
+ '5': {
1129
+ delimitingCharacter: string;
1130
+ filterFacetCount: boolean;
1131
+ injectionDepth: number;
1132
+ numberOfValues: number;
1133
+ sortCriteria: string;
1134
+ basePath: never[];
1135
+ filterByBasePath: boolean;
1136
+ resultsMustMatch: string;
1137
+ currentValues: never[];
1138
+ preventAutoSelect: boolean;
1139
+ type: string;
1140
+ facetId: string;
1141
+ field: string;
1142
+ };
1143
+ '6': {
1144
+ filterFacetCount: boolean;
1145
+ injectionDepth: number;
1146
+ numberOfValues: number;
1147
+ sortCriteria: string;
1148
+ rangeAlgorithm: string;
1149
+ resultsMustMatch: string;
1150
+ currentValues: never[];
1151
+ preventAutoSelect: boolean;
1152
+ type: string;
1153
+ facetId: string;
1154
+ field: string;
1155
+ generateAutomaticRanges: boolean;
1156
+ };
1157
+ '7': {
1158
+ filterFacetCount: boolean;
1159
+ injectionDepth: number;
1160
+ numberOfValues: number;
1161
+ sortCriteria: string;
1162
+ rangeAlgorithm: string;
1163
+ resultsMustMatch: string;
1164
+ currentValues: {
1165
+ endInclusive: boolean;
1166
+ state: string;
1167
+ start: number;
1168
+ end: number;
1169
+ }[];
1170
+ preventAutoSelect: boolean;
1171
+ type: string;
1172
+ facetId: string;
1173
+ field: string;
1174
+ generateAutomaticRanges: boolean;
1175
+ };
1176
+ '8': {
1177
+ filterFacetCount: boolean;
1178
+ injectionDepth: number;
1179
+ numberOfValues: number;
1180
+ sortCriteria: string;
1181
+ rangeAlgorithm: string;
1182
+ resultsMustMatch: string;
1183
+ currentValues: {
1184
+ endInclusive: boolean;
1185
+ state: string;
1186
+ start: number;
1187
+ end: number;
1188
+ }[];
1189
+ preventAutoSelect: boolean;
1190
+ type: string;
1191
+ facetId: string;
1192
+ field: string;
1193
+ generateAutomaticRanges: boolean;
1194
+ };
1195
+ '9': {
1196
+ filterFacetCount: boolean;
1197
+ injectionDepth: number;
1198
+ numberOfValues: number;
1199
+ sortCriteria: string;
1200
+ resultsMustMatch: string;
1201
+ type: string;
1202
+ currentValues: never[];
1203
+ freezeCurrentValues: boolean;
1204
+ isFieldExpanded: boolean;
1205
+ preventAutoSelect: boolean;
1206
+ facetId: string;
1207
+ field: string;
1208
+ };
1209
+ '10': {
1210
+ filterFacetCount: boolean;
1211
+ injectionDepth: number;
1212
+ numberOfValues: number;
1213
+ sortCriteria: string;
1214
+ resultsMustMatch: string;
1215
+ type: string;
1216
+ currentValues: never[];
1217
+ freezeCurrentValues: boolean;
1218
+ isFieldExpanded: boolean;
1219
+ preventAutoSelect: boolean;
1220
+ facetId: string;
1221
+ field: string;
1222
+ };
1223
+ '11': {
1224
+ filterFacetCount: boolean;
1225
+ injectionDepth: number;
1226
+ numberOfValues: number;
1227
+ sortCriteria: string;
1228
+ rangeAlgorithm: string;
1229
+ resultsMustMatch: string;
1230
+ currentValues: never[];
1231
+ preventAutoSelect: boolean;
1232
+ type: string;
1233
+ facetId: string;
1234
+ field: string;
1235
+ generateAutomaticRanges: boolean;
1236
+ };
1237
+ '12': {
1238
+ filterFacetCount: boolean;
1239
+ injectionDepth: number;
1240
+ numberOfValues: number;
1241
+ sortCriteria: string;
1242
+ rangeAlgorithm: string;
1243
+ resultsMustMatch: string;
1244
+ currentValues: never[];
1245
+ preventAutoSelect: boolean;
1246
+ type: string;
1247
+ generateAutomaticRanges: boolean;
1248
+ facetId: string;
1249
+ field: string;
1250
+ };
1251
+ };
1252
+ fieldsToInclude: string[];
1253
+ queryCorrection: {
1254
+ enabled: boolean;
1255
+ options: {
1256
+ automaticallyCorrect: string;
1257
+ };
1258
+ };
1259
+ enableDidYouMean: boolean;
1260
+ numberOfResults: number;
1261
+ firstResult: number;
1262
+ tab: string;
1263
+ analytics: {
1264
+ actionCause: string;
1265
+ capture: boolean;
1266
+ clientId: string;
1267
+ clientTimestamp: string;
1268
+ customData: undefined;
1269
+ documentLocation: string;
1270
+ documentReferrer: string;
1271
+ originContext: string;
1272
+ source: string[];
1273
+ };
1274
+ };
1275
+ export declare const expectedStreamAnswerAPIParamWithStaticFiltersAndTabExpressionWithoutAdvancedCQ: {
1276
+ cq: string;
1277
+ q: string;
1278
+ aq: string;
1279
+ dq: string;
1280
+ lq: string;
1281
+ context: {
1282
+ testKey: string;
1283
+ };
1284
+ pipelineRuleParameters: {
1285
+ mlGenerativeQuestionAnswering: {
1286
+ responseFormat: {
1287
+ contentFormat: string[];
1288
+ };
1289
+ citationsFieldToInclude: never[];
1290
+ };
1291
+ };
1292
+ searchHub: string;
1293
+ facets: {
1294
+ '0': {
1295
+ filterFacetCount: boolean;
1296
+ injectionDepth: number;
1297
+ numberOfValues: number;
1298
+ sortCriteria: string;
1299
+ resultsMustMatch: string;
1300
+ type: string;
1301
+ currentValues: never[];
1302
+ freezeCurrentValues: boolean;
1303
+ isFieldExpanded: boolean;
1304
+ preventAutoSelect: boolean;
1305
+ facetId: string;
1306
+ field: string;
1307
+ };
1308
+ '1': {
1309
+ filterFacetCount: boolean;
1310
+ injectionDepth: number;
1311
+ numberOfValues: number;
1312
+ sortCriteria: string;
1313
+ rangeAlgorithm: string;
1314
+ resultsMustMatch: string;
1315
+ currentValues: {
1316
+ start: string;
1317
+ end: string;
1318
+ endInclusive: boolean;
1319
+ state: string;
1320
+ }[];
1321
+ preventAutoSelect: boolean;
1322
+ type: string;
1323
+ facetId: string;
1324
+ field: string;
1325
+ generateAutomaticRanges: boolean;
1326
+ };
1327
+ '2': {
1328
+ filterFacetCount: boolean;
1329
+ injectionDepth: number;
1330
+ numberOfValues: number;
1331
+ sortCriteria: string;
1332
+ rangeAlgorithm: string;
1333
+ resultsMustMatch: string;
1334
+ currentValues: never[];
1335
+ preventAutoSelect: boolean;
1336
+ type: string;
1337
+ facetId: string;
1338
+ field: string;
1339
+ generateAutomaticRanges: boolean;
1340
+ };
1341
+ '3': {
1342
+ filterFacetCount: boolean;
1343
+ injectionDepth: number;
1344
+ numberOfValues: number;
1345
+ sortCriteria: string;
1346
+ rangeAlgorithm: string;
1347
+ resultsMustMatch: string;
1348
+ currentValues: never[];
1349
+ preventAutoSelect: boolean;
1350
+ type: string;
1351
+ facetId: string;
1352
+ generateAutomaticRanges: boolean;
1353
+ field: string;
1354
+ };
1355
+ '4': {
1356
+ filterFacetCount: boolean;
1357
+ injectionDepth: number;
1358
+ numberOfValues: number;
1359
+ sortCriteria: string;
1360
+ resultsMustMatch: string;
1361
+ type: string;
1362
+ currentValues: never[];
1363
+ freezeCurrentValues: boolean;
1364
+ isFieldExpanded: boolean;
1365
+ preventAutoSelect: boolean;
1366
+ facetId: string;
1367
+ field: string;
1368
+ };
1369
+ '5': {
1370
+ delimitingCharacter: string;
1371
+ filterFacetCount: boolean;
1372
+ injectionDepth: number;
1373
+ numberOfValues: number;
1374
+ sortCriteria: string;
1375
+ basePath: never[];
1376
+ filterByBasePath: boolean;
1377
+ resultsMustMatch: string;
1378
+ currentValues: never[];
1379
+ preventAutoSelect: boolean;
1380
+ type: string;
1381
+ facetId: string;
1382
+ field: string;
1383
+ };
1384
+ '6': {
1385
+ filterFacetCount: boolean;
1386
+ injectionDepth: number;
1387
+ numberOfValues: number;
1388
+ sortCriteria: string;
1389
+ rangeAlgorithm: string;
1390
+ resultsMustMatch: string;
1391
+ currentValues: never[];
1392
+ preventAutoSelect: boolean;
1393
+ type: string;
1394
+ facetId: string;
1395
+ field: string;
1396
+ generateAutomaticRanges: boolean;
1397
+ };
1398
+ '7': {
1399
+ filterFacetCount: boolean;
1400
+ injectionDepth: number;
1401
+ numberOfValues: number;
1402
+ sortCriteria: string;
1403
+ rangeAlgorithm: string;
1404
+ resultsMustMatch: string;
1405
+ currentValues: {
1406
+ endInclusive: boolean;
1407
+ state: string;
1408
+ start: number;
1409
+ end: number;
1410
+ }[];
1411
+ preventAutoSelect: boolean;
1412
+ type: string;
1413
+ facetId: string;
1414
+ field: string;
1415
+ generateAutomaticRanges: boolean;
1416
+ };
1417
+ '8': {
1418
+ filterFacetCount: boolean;
1419
+ injectionDepth: number;
1420
+ numberOfValues: number;
1421
+ sortCriteria: string;
1422
+ rangeAlgorithm: string;
1423
+ resultsMustMatch: string;
1424
+ currentValues: {
1425
+ endInclusive: boolean;
1426
+ state: string;
1427
+ start: number;
1428
+ end: number;
1429
+ }[];
1430
+ preventAutoSelect: boolean;
1431
+ type: string;
1432
+ facetId: string;
1433
+ field: string;
1434
+ generateAutomaticRanges: boolean;
1435
+ };
1436
+ '9': {
1437
+ filterFacetCount: boolean;
1438
+ injectionDepth: number;
1439
+ numberOfValues: number;
1440
+ sortCriteria: string;
1441
+ resultsMustMatch: string;
1442
+ type: string;
1443
+ currentValues: never[];
1444
+ freezeCurrentValues: boolean;
1445
+ isFieldExpanded: boolean;
1446
+ preventAutoSelect: boolean;
1447
+ facetId: string;
1448
+ field: string;
1449
+ };
1450
+ '10': {
1451
+ filterFacetCount: boolean;
1452
+ injectionDepth: number;
1453
+ numberOfValues: number;
1454
+ sortCriteria: string;
1455
+ resultsMustMatch: string;
1456
+ type: string;
1457
+ currentValues: never[];
1458
+ freezeCurrentValues: boolean;
1459
+ isFieldExpanded: boolean;
1460
+ preventAutoSelect: boolean;
1461
+ facetId: string;
1462
+ field: string;
1463
+ };
1464
+ '11': {
1465
+ filterFacetCount: boolean;
1466
+ injectionDepth: number;
1467
+ numberOfValues: number;
1468
+ sortCriteria: string;
1469
+ rangeAlgorithm: string;
1470
+ resultsMustMatch: string;
1471
+ currentValues: never[];
1472
+ preventAutoSelect: boolean;
1473
+ type: string;
1474
+ facetId: string;
1475
+ field: string;
1476
+ generateAutomaticRanges: boolean;
1477
+ };
1478
+ '12': {
1479
+ filterFacetCount: boolean;
1480
+ injectionDepth: number;
1481
+ numberOfValues: number;
1482
+ sortCriteria: string;
1483
+ rangeAlgorithm: string;
1484
+ resultsMustMatch: string;
1485
+ currentValues: never[];
1486
+ preventAutoSelect: boolean;
1487
+ type: string;
1488
+ generateAutomaticRanges: boolean;
1489
+ facetId: string;
1490
+ field: string;
1491
+ };
1492
+ };
1493
+ fieldsToInclude: string[];
1494
+ queryCorrection: {
1495
+ enabled: boolean;
1496
+ options: {
1497
+ automaticallyCorrect: string;
1498
+ };
1499
+ };
1500
+ enableDidYouMean: boolean;
1501
+ numberOfResults: number;
1502
+ firstResult: number;
1503
+ tab: string;
1504
+ analytics: {
1505
+ actionCause: string;
1506
+ capture: boolean;
1507
+ clientId: string;
1508
+ clientTimestamp: string;
1509
+ customData: undefined;
1510
+ documentLocation: string;
1511
+ documentReferrer: string;
1512
+ originContext: string;
1513
+ source: string[];
1514
+ };
1515
+ };
1516
+ export declare const expectedStreamAnswerAPIParamWithoutSearchAction: {
1517
+ analytics: {
1518
+ actionCause: string;
1519
+ capture: boolean;
1520
+ clientId: string;
1521
+ clientTimestamp: string;
1522
+ customData: undefined;
1523
+ documentLocation: string;
1524
+ documentReferrer: string;
1525
+ originContext: string;
1526
+ source: string[];
1527
+ };
1528
+ q: string;
1529
+ aq: string;
1530
+ cq: string;
1531
+ dq: string;
1532
+ lq: string;
1533
+ context: {
1534
+ testKey: string;
1535
+ };
1536
+ pipelineRuleParameters: {
1537
+ mlGenerativeQuestionAnswering: {
1538
+ responseFormat: {
1539
+ contentFormat: string[];
1540
+ };
1541
+ citationsFieldToInclude: never[];
1542
+ };
1543
+ };
1544
+ searchHub: string;
1545
+ facets: {
1546
+ '0': {
1547
+ filterFacetCount: boolean;
1548
+ injectionDepth: number;
1549
+ numberOfValues: number;
1550
+ sortCriteria: string;
1551
+ resultsMustMatch: string;
1552
+ type: string;
1553
+ currentValues: never[];
1554
+ freezeCurrentValues: boolean;
1555
+ isFieldExpanded: boolean;
1556
+ preventAutoSelect: boolean;
1557
+ facetId: string;
1558
+ field: string;
1559
+ };
1560
+ '1': {
1561
+ filterFacetCount: boolean;
1562
+ injectionDepth: number;
1563
+ numberOfValues: number;
1564
+ sortCriteria: string;
1565
+ rangeAlgorithm: string;
1566
+ resultsMustMatch: string;
1567
+ currentValues: {
1568
+ start: string;
1569
+ end: string;
1570
+ endInclusive: boolean;
1571
+ state: string;
1572
+ }[];
1573
+ preventAutoSelect: boolean;
1574
+ type: string;
1575
+ facetId: string;
1576
+ field: string;
1577
+ generateAutomaticRanges: boolean;
1578
+ };
1579
+ '2': {
1580
+ filterFacetCount: boolean;
1581
+ injectionDepth: number;
1582
+ numberOfValues: number;
1583
+ sortCriteria: string;
1584
+ rangeAlgorithm: string;
1585
+ resultsMustMatch: string;
1586
+ currentValues: never[];
1587
+ preventAutoSelect: boolean;
1588
+ type: string;
1589
+ facetId: string;
1590
+ field: string;
1591
+ generateAutomaticRanges: boolean;
1592
+ };
1593
+ '3': {
1594
+ filterFacetCount: boolean;
1595
+ injectionDepth: number;
1596
+ numberOfValues: number;
1597
+ sortCriteria: string;
1598
+ rangeAlgorithm: string;
1599
+ resultsMustMatch: string;
1600
+ currentValues: never[];
1601
+ preventAutoSelect: boolean;
1602
+ type: string;
1603
+ facetId: string;
1604
+ generateAutomaticRanges: boolean;
1605
+ field: string;
1606
+ };
1607
+ '4': {
1608
+ filterFacetCount: boolean;
1609
+ injectionDepth: number;
1610
+ numberOfValues: number;
1611
+ sortCriteria: string;
1612
+ resultsMustMatch: string;
1613
+ type: string;
1614
+ currentValues: never[];
1615
+ freezeCurrentValues: boolean;
1616
+ isFieldExpanded: boolean;
1617
+ preventAutoSelect: boolean;
1618
+ facetId: string;
1619
+ field: string;
1620
+ };
1621
+ '5': {
1622
+ delimitingCharacter: string;
1623
+ filterFacetCount: boolean;
1624
+ injectionDepth: number;
1625
+ numberOfValues: number;
1626
+ sortCriteria: string;
1627
+ basePath: never[];
1628
+ filterByBasePath: boolean;
1629
+ resultsMustMatch: string;
1630
+ currentValues: never[];
1631
+ preventAutoSelect: boolean;
1632
+ type: string;
1633
+ facetId: string;
1634
+ field: string;
1635
+ };
1636
+ '6': {
1637
+ filterFacetCount: boolean;
1638
+ injectionDepth: number;
1639
+ numberOfValues: number;
1640
+ sortCriteria: string;
1641
+ rangeAlgorithm: string;
1642
+ resultsMustMatch: string;
1643
+ currentValues: never[];
1644
+ preventAutoSelect: boolean;
1645
+ type: string;
1646
+ facetId: string;
1647
+ field: string;
1648
+ generateAutomaticRanges: boolean;
1649
+ };
1650
+ '7': {
1651
+ filterFacetCount: boolean;
1652
+ injectionDepth: number;
1653
+ numberOfValues: number;
1654
+ sortCriteria: string;
1655
+ rangeAlgorithm: string;
1656
+ resultsMustMatch: string;
1657
+ currentValues: {
1658
+ endInclusive: boolean;
1659
+ state: string;
1660
+ start: number;
1661
+ end: number;
1662
+ }[];
1663
+ preventAutoSelect: boolean;
1664
+ type: string;
1665
+ facetId: string;
1666
+ field: string;
1667
+ generateAutomaticRanges: boolean;
1668
+ };
1669
+ '8': {
1670
+ filterFacetCount: boolean;
1671
+ injectionDepth: number;
1672
+ numberOfValues: number;
1673
+ sortCriteria: string;
1674
+ rangeAlgorithm: string;
1675
+ resultsMustMatch: string;
1676
+ currentValues: {
1677
+ endInclusive: boolean;
1678
+ state: string;
1679
+ start: number;
1680
+ end: number;
1681
+ }[];
1682
+ preventAutoSelect: boolean;
1683
+ type: string;
1684
+ facetId: string;
1685
+ field: string;
1686
+ generateAutomaticRanges: boolean;
1687
+ };
1688
+ '9': {
1689
+ filterFacetCount: boolean;
1690
+ injectionDepth: number;
1691
+ numberOfValues: number;
1692
+ sortCriteria: string;
1693
+ resultsMustMatch: string;
1694
+ type: string;
1695
+ currentValues: never[];
1696
+ freezeCurrentValues: boolean;
1697
+ isFieldExpanded: boolean;
1698
+ preventAutoSelect: boolean;
1699
+ facetId: string;
1700
+ field: string;
1701
+ };
1702
+ '10': {
1703
+ filterFacetCount: boolean;
1704
+ injectionDepth: number;
1705
+ numberOfValues: number;
1706
+ sortCriteria: string;
1707
+ resultsMustMatch: string;
1708
+ type: string;
1709
+ currentValues: never[];
1710
+ freezeCurrentValues: boolean;
1711
+ isFieldExpanded: boolean;
1712
+ preventAutoSelect: boolean;
1713
+ facetId: string;
1714
+ field: string;
1715
+ };
1716
+ '11': {
1717
+ filterFacetCount: boolean;
1718
+ injectionDepth: number;
1719
+ numberOfValues: number;
1720
+ sortCriteria: string;
1721
+ rangeAlgorithm: string;
1722
+ resultsMustMatch: string;
1723
+ currentValues: never[];
1724
+ preventAutoSelect: boolean;
1725
+ type: string;
1726
+ facetId: string;
1727
+ field: string;
1728
+ generateAutomaticRanges: boolean;
1729
+ };
1730
+ '12': {
1731
+ filterFacetCount: boolean;
1732
+ injectionDepth: number;
1733
+ numberOfValues: number;
1734
+ sortCriteria: string;
1735
+ rangeAlgorithm: string;
1736
+ resultsMustMatch: string;
1737
+ currentValues: never[];
1738
+ preventAutoSelect: boolean;
1739
+ type: string;
1740
+ generateAutomaticRanges: boolean;
1741
+ facetId: string;
1742
+ field: string;
1743
+ };
1744
+ };
1745
+ fieldsToInclude: string[];
1746
+ queryCorrection: {
1747
+ enabled: boolean;
1748
+ options: {
1749
+ automaticallyCorrect: string;
1750
+ };
1751
+ };
1752
+ enableDidYouMean: boolean;
1753
+ numberOfResults: number;
1754
+ firstResult: number;
1755
+ tab: string;
1756
+ };
1757
+ export declare const expectedStreamAnswerAPIParamWithDifferentFacetTimes: {
1758
+ facets: {
1759
+ currentValues: {
1760
+ start: string;
1761
+ end: string;
1762
+ endInclusive: boolean;
1763
+ state: string;
1764
+ }[];
1765
+ '0': {
1766
+ filterFacetCount: boolean;
1767
+ injectionDepth: number;
1768
+ numberOfValues: number;
1769
+ sortCriteria: string;
1770
+ resultsMustMatch: string;
1771
+ type: string;
1772
+ currentValues: never[];
1773
+ freezeCurrentValues: boolean;
1774
+ isFieldExpanded: boolean;
1775
+ preventAutoSelect: boolean;
1776
+ facetId: string;
1777
+ field: string;
1778
+ };
1779
+ '1': {
1780
+ filterFacetCount: boolean;
1781
+ injectionDepth: number;
1782
+ numberOfValues: number;
1783
+ sortCriteria: string;
1784
+ rangeAlgorithm: string;
1785
+ resultsMustMatch: string;
1786
+ currentValues: {
1787
+ start: string;
1788
+ end: string;
1789
+ endInclusive: boolean;
1790
+ state: string;
1791
+ }[];
1792
+ preventAutoSelect: boolean;
1793
+ type: string;
1794
+ facetId: string;
1795
+ field: string;
1796
+ generateAutomaticRanges: boolean;
1797
+ };
1798
+ '2': {
1799
+ filterFacetCount: boolean;
1800
+ injectionDepth: number;
1801
+ numberOfValues: number;
1802
+ sortCriteria: string;
1803
+ rangeAlgorithm: string;
1804
+ resultsMustMatch: string;
1805
+ currentValues: never[];
1806
+ preventAutoSelect: boolean;
1807
+ type: string;
1808
+ facetId: string;
1809
+ field: string;
1810
+ generateAutomaticRanges: boolean;
1811
+ };
1812
+ '3': {
1813
+ filterFacetCount: boolean;
1814
+ injectionDepth: number;
1815
+ numberOfValues: number;
1816
+ sortCriteria: string;
1817
+ rangeAlgorithm: string;
1818
+ resultsMustMatch: string;
1819
+ currentValues: never[];
1820
+ preventAutoSelect: boolean;
1821
+ type: string;
1822
+ facetId: string;
1823
+ generateAutomaticRanges: boolean;
1824
+ field: string;
1825
+ };
1826
+ '4': {
1827
+ filterFacetCount: boolean;
1828
+ injectionDepth: number;
1829
+ numberOfValues: number;
1830
+ sortCriteria: string;
1831
+ resultsMustMatch: string;
1832
+ type: string;
1833
+ currentValues: never[];
1834
+ freezeCurrentValues: boolean;
1835
+ isFieldExpanded: boolean;
1836
+ preventAutoSelect: boolean;
1837
+ facetId: string;
1838
+ field: string;
1839
+ };
1840
+ '5': {
1841
+ delimitingCharacter: string;
1842
+ filterFacetCount: boolean;
1843
+ injectionDepth: number;
1844
+ numberOfValues: number;
1845
+ sortCriteria: string;
1846
+ basePath: never[];
1847
+ filterByBasePath: boolean;
1848
+ resultsMustMatch: string;
1849
+ currentValues: never[];
1850
+ preventAutoSelect: boolean;
1851
+ type: string;
1852
+ facetId: string;
1853
+ field: string;
1854
+ };
1855
+ '6': {
1856
+ filterFacetCount: boolean;
1857
+ injectionDepth: number;
1858
+ numberOfValues: number;
1859
+ sortCriteria: string;
1860
+ rangeAlgorithm: string;
1861
+ resultsMustMatch: string;
1862
+ currentValues: never[];
1863
+ preventAutoSelect: boolean;
1864
+ type: string;
1865
+ facetId: string;
1866
+ field: string;
1867
+ generateAutomaticRanges: boolean;
1868
+ };
1869
+ '7': {
1870
+ filterFacetCount: boolean;
1871
+ injectionDepth: number;
1872
+ numberOfValues: number;
1873
+ sortCriteria: string;
1874
+ rangeAlgorithm: string;
1875
+ resultsMustMatch: string;
1876
+ currentValues: {
1877
+ endInclusive: boolean;
1878
+ state: string;
1879
+ start: number;
1880
+ end: number;
1881
+ }[];
1882
+ preventAutoSelect: boolean;
1883
+ type: string;
1884
+ facetId: string;
1885
+ field: string;
1886
+ generateAutomaticRanges: boolean;
1887
+ };
1888
+ '8': {
1889
+ filterFacetCount: boolean;
1890
+ injectionDepth: number;
1891
+ numberOfValues: number;
1892
+ sortCriteria: string;
1893
+ rangeAlgorithm: string;
1894
+ resultsMustMatch: string;
1895
+ currentValues: {
1896
+ endInclusive: boolean;
1897
+ state: string;
1898
+ start: number;
1899
+ end: number;
1900
+ }[];
1901
+ preventAutoSelect: boolean;
1902
+ type: string;
1903
+ facetId: string;
1904
+ field: string;
1905
+ generateAutomaticRanges: boolean;
1906
+ };
1907
+ '9': {
1908
+ filterFacetCount: boolean;
1909
+ injectionDepth: number;
1910
+ numberOfValues: number;
1911
+ sortCriteria: string;
1912
+ resultsMustMatch: string;
1913
+ type: string;
1914
+ currentValues: never[];
1915
+ freezeCurrentValues: boolean;
1916
+ isFieldExpanded: boolean;
1917
+ preventAutoSelect: boolean;
1918
+ facetId: string;
1919
+ field: string;
1920
+ };
1921
+ '10': {
1922
+ filterFacetCount: boolean;
1923
+ injectionDepth: number;
1924
+ numberOfValues: number;
1925
+ sortCriteria: string;
1926
+ resultsMustMatch: string;
1927
+ type: string;
1928
+ currentValues: never[];
1929
+ freezeCurrentValues: boolean;
1930
+ isFieldExpanded: boolean;
1931
+ preventAutoSelect: boolean;
1932
+ facetId: string;
1933
+ field: string;
1934
+ };
1935
+ '11': {
1936
+ filterFacetCount: boolean;
1937
+ injectionDepth: number;
1938
+ numberOfValues: number;
1939
+ sortCriteria: string;
1940
+ rangeAlgorithm: string;
1941
+ resultsMustMatch: string;
1942
+ currentValues: never[];
1943
+ preventAutoSelect: boolean;
1944
+ type: string;
1945
+ facetId: string;
1946
+ field: string;
1947
+ generateAutomaticRanges: boolean;
1948
+ };
1949
+ '12': {
1950
+ filterFacetCount: boolean;
1951
+ injectionDepth: number;
1952
+ numberOfValues: number;
1953
+ sortCriteria: string;
1954
+ rangeAlgorithm: string;
1955
+ resultsMustMatch: string;
1956
+ currentValues: never[];
1957
+ preventAutoSelect: boolean;
1958
+ type: string;
1959
+ generateAutomaticRanges: boolean;
1960
+ facetId: string;
1961
+ field: string;
1962
+ };
1963
+ };
1964
+ q: string;
1965
+ aq: string;
1966
+ cq: string;
1967
+ dq: string;
1968
+ lq: string;
1969
+ context: {
1970
+ testKey: string;
1971
+ };
1972
+ pipelineRuleParameters: {
1973
+ mlGenerativeQuestionAnswering: {
1974
+ responseFormat: {
1975
+ contentFormat: string[];
1976
+ };
1977
+ citationsFieldToInclude: never[];
1978
+ };
1979
+ };
1980
+ searchHub: string;
1981
+ fieldsToInclude: string[];
1982
+ queryCorrection: {
1983
+ enabled: boolean;
1984
+ options: {
1985
+ automaticallyCorrect: string;
1986
+ };
1987
+ };
1988
+ enableDidYouMean: boolean;
1989
+ numberOfResults: number;
1990
+ firstResult: number;
1991
+ tab: string;
1992
+ analytics: {
1993
+ actionCause: string;
1994
+ capture: boolean;
1995
+ clientId: string;
1996
+ clientTimestamp: string;
1997
+ customData: undefined;
1998
+ documentLocation: string;
1999
+ documentReferrer: string;
2000
+ originContext: string;
2001
+ source: string[];
2002
+ };
2003
+ };