@coveo/platform-client 37.3.0 → 37.4.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.
@@ -2,6 +2,7 @@ import Resource from '../../Resource';
2
2
  import { ListLicenseMonthlyParams, RestListOfMetricsModel, RestListOfMetricValues } from './LicenseMetricsInterface';
3
3
  export default class LicenseMetrics extends Resource {
4
4
  static baseUrl: string;
5
+ listAssignable(): Promise<RestListOfMetricsModel>;
5
6
  listInUse(): Promise<RestListOfMetricsModel>;
6
7
  listMonthly(metric: string, params: ListLicenseMonthlyParams): Promise<RestListOfMetricValues>;
7
8
  }
@@ -8,6 +8,9 @@ var LicenseMetrics = /** @class */ (function (_super) {
8
8
  function LicenseMetrics() {
9
9
  return _super !== null && _super.apply(this, arguments) || this;
10
10
  }
11
+ LicenseMetrics.prototype.listAssignable = function () {
12
+ return this.api.get("".concat(LicenseMetrics.baseUrl, "/assignable"));
13
+ };
11
14
  LicenseMetrics.prototype.listInUse = function () {
12
15
  return this.api.get("".concat(LicenseMetrics.baseUrl, "/inUse"));
13
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LicenseMetrics.js","sourceRoot":"","sources":["../../../../src/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.ts"],"names":[],"mappings":";;;AAAA,qEAAmC;AACnC,oEAAsC;AAGtC;IAA4C,0CAAQ;IAApD;;IAYA,CAAC;IATG,kCAAS,GAAT;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAyB,UAAG,cAAc,CAAC,OAAO,WAAQ,CAAC,CAAC;IACnF,CAAC;IAED,oCAAW,GAAX,UAAY,MAAc,EAAE,MAAgC;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,IAAI,CAAC,SAAS,CAAC,UAAG,cAAc,CAAC,OAAO,sBAAY,MAAM,CAAE,uBAAM,MAAM,EAAE,CAC7E,CAAC;IACN,CAAC;IAVM,sBAAO,GAAG,8BAAuB,iBAAG,CAAC,cAAc,gCAA6B,CAAC;IAW5F,qBAAC;CAAA,AAZD,CAA4C,kBAAQ,GAYnD;kBAZoB,cAAc"}
1
+ {"version":3,"file":"LicenseMetrics.js","sourceRoot":"","sources":["../../../../src/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.ts"],"names":[],"mappings":";;;AAAA,qEAAmC;AACnC,oEAAsC;AAGtC;IAA4C,0CAAQ;IAApD;;IAgBA,CAAC;IAbG,uCAAc,GAAd;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAyB,UAAG,cAAc,CAAC,OAAO,gBAAa,CAAC,CAAC;IACxF,CAAC;IAED,kCAAS,GAAT;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAyB,UAAG,cAAc,CAAC,OAAO,WAAQ,CAAC,CAAC;IACnF,CAAC;IAED,oCAAW,GAAX,UAAY,MAAc,EAAE,MAAgC;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,IAAI,CAAC,SAAS,CAAC,UAAG,cAAc,CAAC,OAAO,sBAAY,MAAM,CAAE,uBAAM,MAAM,EAAE,CAC7E,CAAC;IACN,CAAC;IAdM,sBAAO,GAAG,8BAAuB,iBAAG,CAAC,cAAc,gCAA6B,CAAC;IAe5F,qBAAC;CAAA,AAhBD,CAA4C,kBAAQ,GAgBnD;kBAhBoB,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "37.3.0",
3
+ "version": "37.4.0",
4
4
  "description": "",
5
5
  "main": "dist/Entry.js",
6
6
  "types": "dist/definitions/Entry.d.ts",
@@ -26,18 +26,18 @@
26
26
  "devDependencies": {
27
27
  "@commitlint/cli": "17.2.0",
28
28
  "@commitlint/config-conventional": "17.2.0",
29
- "@types/jest": "29.2.2",
30
- "@typescript-eslint/eslint-plugin": "5.42.0",
31
- "@typescript-eslint/parser": "5.42.0",
29
+ "@types/jest": "29.2.3",
30
+ "@typescript-eslint/eslint-plugin": "5.43.0",
31
+ "@typescript-eslint/parser": "5.43.0",
32
32
  "abortcontroller-polyfill": "1.7.5",
33
33
  "cz-conventional-changelog": "3.3.0",
34
34
  "eslint": "8.27.0",
35
35
  "eslint-config-prettier": "8.5.0",
36
36
  "eslint-config-typescript": "3.0.0",
37
- "eslint-plugin-jest": "27.1.4",
37
+ "eslint-plugin-jest": "27.1.5",
38
38
  "eslint-plugin-prettier": "4.2.1",
39
- "husky": "8.0.1",
40
- "jest": "29.2.2",
39
+ "husky": "8.0.2",
40
+ "jest": "29.3.1",
41
41
  "jest-fetch-mock": "3.0.3",
42
42
  "jest-runner-eslint": "1.1.0",
43
43
  "lint-staged": "13.0.3",