@coveo/platform-client 61.5.0 → 61.5.1

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.
@@ -1,5 +1,14 @@
1
1
  import { ConditionModel } from '../../Pipelines/index.js';
2
2
  import { MLModelStatusInfo } from '../MachineLearningInterfaces.js';
3
+ interface CustomQueryParametersWithSubmodel {
4
+ submodel: string;
5
+ strategy?: never;
6
+ }
7
+ interface CustomQueryParametersWithStrategy {
8
+ submodel?: never;
9
+ strategy: string;
10
+ }
11
+ type CustomQueryParameters = CustomQueryParametersWithSubmodel | CustomQueryParametersWithStrategy;
3
12
  export interface ModelAssociationsListParams {
4
13
  page: number;
5
14
  pageSize: number;
@@ -41,7 +50,6 @@ export interface AssociationItem {
41
50
  /**
42
51
  * The additional parameters to send to Coveo ML.
43
52
  */
44
- customQueryParameters?: {
45
- submodel: string;
46
- };
53
+ customQueryParameters?: CustomQueryParameters;
47
54
  }
55
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "61.5.0",
3
+ "version": "61.5.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {