@coveo/platform-client 42.5.0 → 42.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"StatementGroupsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.ts"],"names":[],"mappings":";;;AAoRA,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACpD,iFAAiC,CAAA;AACrC,CAAC,EAFW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAEvD"}
1
+ {"version":3,"file":"StatementGroupsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.ts"],"names":[],"mappings":";;;AAkSA,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACpD,iFAAiC,CAAA;AACrC,CAAC,EAFW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAEvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatementGroupsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.ts"],"names":[],"mappings":"AAoRA,MAAM,CAAN,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACpD,iFAAiC,CAAA;AACrC,CAAC,EAFW,4CAA4C,GAA5C,4CAA4C,KAA5C,4CAA4C,QAEvD"}
1
+ {"version":3,"file":"StatementGroupsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.ts"],"names":[],"mappings":"AAkSA,MAAM,CAAN,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACpD,iFAAiC,CAAA;AACrC,CAAC,EAFW,4CAA4C,GAA5C,4CAA4C,KAA5C,4CAA4C,QAEvD"}
@@ -147,6 +147,18 @@ export interface ListStatementGroupsOptions extends Paginated {
147
147
  * If you leave this parameter <em>undefined</em> or pass an empty array, all group types will be allowed in the results.
148
148
  */
149
149
  types?: StatementGroupType[];
150
+ /**
151
+ * The sort criteria to apply on the results.
152
+ *
153
+ * @default position
154
+ */
155
+ sortBy?: 'position' | 'description' | 'definition' | 'name' | 'status';
156
+ /**
157
+ * Whether to sort by ascending order.
158
+ *
159
+ * @default true
160
+ */
161
+ isOrderAscending?: boolean;
150
162
  }
151
163
  export type CreateStatementGroupModel = CreatePermanentStatementGroupModel | CreateCampaignStatementGroupModel;
152
164
  interface CreateStatementGroupModelBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "42.5.0",
3
+ "version": "42.6.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -32,15 +32,15 @@
32
32
  "prepare": "husky install"
33
33
  },
34
34
  "devDependencies": {
35
- "@commitlint/cli": "17.4.4",
35
+ "@commitlint/cli": "17.5.0",
36
36
  "@commitlint/config-conventional": "17.4.4",
37
37
  "@types/jest": "29.5.0",
38
- "@typescript-eslint/eslint-plugin": "5.55.0",
39
- "@typescript-eslint/parser": "5.55.0",
38
+ "@typescript-eslint/eslint-plugin": "5.56.0",
39
+ "@typescript-eslint/parser": "5.56.0",
40
40
  "abortcontroller-polyfill": "1.7.5",
41
41
  "cz-conventional-changelog": "3.3.0",
42
42
  "eslint": "8.36.0",
43
- "eslint-config-prettier": "8.7.0",
43
+ "eslint-config-prettier": "8.8.0",
44
44
  "eslint-config-typescript": "3.0.0",
45
45
  "eslint-plugin-jest": "27.2.1",
46
46
  "eslint-plugin-prettier": "4.2.1",
@@ -49,7 +49,7 @@
49
49
  "jest-fetch-mock": "3.0.3",
50
50
  "jest-runner-eslint": "2.0.0",
51
51
  "lint-staged": "13.2.0",
52
- "prettier": "2.8.5",
52
+ "prettier": "2.8.7",
53
53
  "semantic-release": "20.1.3",
54
54
  "ts-jest": "29.0.5",
55
55
  "tsjs": "4.2.1",