diff --git a/src/resources/Enums.ts b/src/resources/Enums.ts index 610c58ec8..0b40a7adc 100644 --- a/src/resources/Enums.ts +++ b/src/resources/Enums.ts @@ -761,6 +761,11 @@ export enum StatementsFeature { QueryParamOverride = 'queryParamOverride', } +export enum StatementsSubFeature { + QueryParamOverride = 'queryParamOverride', + QuerySuggestParamOverride = 'querySuggestParamOverride', +} + export enum ResultRankingsKind { featuredResults = 'featured_result', rankingExpression = 'ranking_expression', diff --git a/src/resources/Pipelines/Statements/StatementsInterfaces.ts b/src/resources/Pipelines/Statements/StatementsInterfaces.ts index fce58f2f1..cd41afea9 100644 --- a/src/resources/Pipelines/Statements/StatementsInterfaces.ts +++ b/src/resources/Pipelines/Statements/StatementsInterfaces.ts @@ -1,5 +1,5 @@ import {Paginated} from '../../BaseInterfaces.js'; -import {ListStatementSortBy, StatementsFeature} from '../../Enums.js'; +import {ListStatementSortBy, StatementsFeature, StatementsSubFeature} from '../../Enums.js'; import {ConditionModel} from '../Conditions/index.js'; export interface StatementModel { @@ -128,6 +128,10 @@ export interface ListStatementParams extends Paginated { * The query pipeline feature to match. */ feature?: StatementsFeature; + /** + * The query pipeline sub-feature to match. + */ + subFeature?: StatementsSubFeature; /** * The unique identifier of the target Coveo Cloud organization. */