@coveo/platform-client 43.1.0 → 44.0.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.
@@ -8,7 +8,6 @@ const Resource_js_1 = __importDefault(require("../Resource.js"));
8
8
  const CaseClassificationConfiguration_js_1 = __importDefault(require("./CaseClassificationConfiguration/CaseClassificationConfiguration.js"));
9
9
  const DNEConfiguration_js_1 = __importDefault(require("./DNEConfiguration/DNEConfiguration.js"));
10
10
  const SmartSnippetsConfiguration_js_1 = __importDefault(require("./SmartSnippetsConfiguration/SmartSnippetsConfiguration.js"));
11
- const ModelInformation_js_1 = __importDefault(require("./ModelInformation/ModelInformation.js"));
12
11
  const Models_js_1 = __importDefault(require("./Models/Models.js"));
13
12
  const PQSConfiguration_js_1 = __importDefault(require("./PQSConfiguration/PQSConfiguration.js"));
14
13
  const UserActionHistoryConfiguration_js_1 = __importDefault(require("./UserActionHistoryConfiguration/UserActionHistoryConfiguration.js"));
@@ -17,7 +16,6 @@ class MachineLearning extends Resource_js_1.default {
17
16
  serverlessApi;
18
17
  static baseUrl = `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/machinelearning`;
19
18
  models;
20
- modelInfo;
21
19
  dneConfig;
22
20
  caseClassificationConfig;
23
21
  smartSnippetsConfig;
@@ -28,7 +26,6 @@ class MachineLearning extends Resource_js_1.default {
28
26
  this.api = api;
29
27
  this.serverlessApi = serverlessApi;
30
28
  this.models = new Models_js_1.default(api, serverlessApi);
31
- this.modelInfo = new ModelInformation_js_1.default(api, serverlessApi);
32
29
  this.dneConfig = new DNEConfiguration_js_1.default(api, serverlessApi);
33
30
  this.caseClassificationConfig = new CaseClassificationConfiguration_js_1.default(api, serverlessApi);
34
31
  this.smartSnippetsConfig = new SmartSnippetsConfiguration_js_1.default(api, serverlessApi);
@@ -1 +1 @@
1
- {"version":3,"file":"MachineLearning.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearning.ts"],"names":[],"mappings":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GAAG,CAAC,IAAI,CAAiB,GAAG,eAAe,CAAC,OAAO,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC3F,CAAC;;kBAvBgB,eAAe"}
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ModelInformation.js"), exports);
18
17
  __exportStar(require("./ModelInformationInterfaces.js"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD"}
@@ -3,7 +3,6 @@ import Resource from '../Resource.js';
3
3
  import CaseClassificationConfiguration from './CaseClassificationConfiguration/CaseClassificationConfiguration.js';
4
4
  import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
5
5
  import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
6
- import ModelInformation from './ModelInformation/ModelInformation.js';
7
6
  import Models from './Models/Models.js';
8
7
  import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
9
8
  import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
@@ -12,7 +11,6 @@ class MachineLearning extends Resource {
12
11
  serverlessApi;
13
12
  static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning`;
14
13
  models;
15
- modelInfo;
16
14
  dneConfig;
17
15
  caseClassificationConfig;
18
16
  smartSnippetsConfig;
@@ -23,7 +21,6 @@ class MachineLearning extends Resource {
23
21
  this.api = api;
24
22
  this.serverlessApi = serverlessApi;
25
23
  this.models = new Models(api, serverlessApi);
26
- this.modelInfo = new ModelInformation(api, serverlessApi);
27
24
  this.dneConfig = new DNEConfiguration(api, serverlessApi);
28
25
  this.caseClassificationConfig = new CaseClassificationConfiguration(api, serverlessApi);
29
26
  this.smartSnippetsConfig = new SmartSnippetsConfiguration(api, serverlessApi);
@@ -1 +1 @@
1
- {"version":3,"file":"MachineLearning.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearning.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,+BAA+B,MAAM,sEAAsE,CAAC;AACnH,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,0BAA0B,MAAM,4DAA4D,CAAC;AAEpG,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,8BAA8B,MAAM,oEAAoE,CAAC;AAEhH,MAAqB,eAAgB,SAAQ,QAAQ;IAW3B;IAAoB;IAV1C,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,kBAAkB,CAAC;IAE7E,MAAM,CAAS;IACf,SAAS,CAAmB;IAC5B,SAAS,CAAmB;IAC5B,wBAAwB,CAAkC;IAC1D,mBAAmB,CAA6B;IAChD,uBAAuB,CAAiC;IACxD,SAAS,CAAmB;IAE5B,YAAsB,GAAQ,EAAY,aAAkB;QACxD,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QADR,QAAG,GAAH,GAAG,CAAK;QAAY,kBAAa,GAAb,aAAa,CAAK;QAGxD,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,IA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IAC1D,mBAAmB,CAA6B;IAChD,uBAAuB,CAAiC;IACxD,SAAS,CAAmB;IAE5B,YAAsB,GAAQ,EAAY,aAAkB;QACxD,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QADR,QAAG,GAAH,GAAG,CAAK;QAAY,kBAAa,GAAb,aAAa,CAAK;QAGxD,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC1D,IAAI,CAAC,wBAAwB,GAAG,IAAI,+BAA+B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QACxF,IAAI,CAAC,mBAAmB,GAAG,IAAI,0BAA0B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC9E,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC1D,IAAI,CAAC,uBAAuB,GAAG,IAAI,8BAA8B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IAC1F,CAAC;IAED,QAAQ,CAAC,YAA+B;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAiB,GAAG,eAAe,CAAC,OAAO,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC3F,CAAC;;eAvBgB,eAAe"}
@@ -1,3 +1,2 @@
1
- export * from './ModelInformation.js';
2
1
  export * from './ModelInformationInterfaces.js';
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}
@@ -4,7 +4,6 @@ import CaseClassificationConfiguration from './CaseClassificationConfiguration/C
4
4
  import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
5
5
  import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
6
6
  import { MLModelCreated, RegistrationModel } from './MachineLearningInterfaces.js';
7
- import ModelInformation from './ModelInformation/ModelInformation.js';
8
7
  import Models from './Models/Models.js';
9
8
  import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
10
9
  import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
@@ -13,7 +12,6 @@ export default class MachineLearning extends Resource {
13
12
  protected serverlessApi: API;
14
13
  static baseUrl: string;
15
14
  models: Models;
16
- modelInfo: ModelInformation;
17
15
  dneConfig: DNEConfiguration;
18
16
  caseClassificationConfig: CaseClassificationConfiguration;
19
17
  smartSnippetsConfig: SmartSnippetsConfiguration;
@@ -1,2 +1 @@
1
- export * from './ModelInformation.js';
2
1
  export * from './ModelInformationInterfaces.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "43.1.0",
3
+ "version": "44.0.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const APICore_js_1 = __importDefault(require("../../../APICore.js"));
7
- const Resource_js_1 = __importDefault(require("../../Resource.js"));
8
- class ModelInformation extends Resource_js_1.default {
9
- static getBaseUrl = (engineId, modelName) => `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/machinelearning/engines/${engineId}/models/${modelName}`;
10
- get(engineId, modelName) {
11
- return this.api.get(`${ModelInformation.getBaseUrl(engineId, modelName)}/details`);
12
- }
13
- delete(engineId, modelName) {
14
- return this.api.delete(ModelInformation.getBaseUrl(engineId, modelName));
15
- }
16
- update(engineId, modelName, modelInformation) {
17
- return this.api.put(ModelInformation.getBaseUrl(engineId, modelName), modelInformation);
18
- }
19
- }
20
- exports.default = ModelInformation;
21
- //# sourceMappingURL=ModelInformation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModelInformation.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/ModelInformation.ts"],"names":[],"mappings":";;;;;AAAA,qEAAsC;AACtC,oEAAyC;AAKzC,MAAqB,gBAAiB,SAAQ,qBAAQ;IAClD,MAAM,CAAC,UAAU,GAAG,CAAC,QAAgB,EAAE,SAAiB,EAAE,EAAE,CACxD,uBAAuB,oBAAG,CAAC,cAAc,4BAA4B,QAAQ,WAAW,SAAS,EAAE,CAAC;IAExG,GAAG,CAA4B,QAAgB,EAAE,SAAiB;QAC9D,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAiB,GAAG,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACvG,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,SAAiB;QACtC,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,SAAiB,EAAE,gBAAmC;QAC3E,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAmB,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC;IAC9G,CAAC;;kBAdgB,gBAAgB"}
@@ -1,16 +0,0 @@
1
- import API from '../../../APICore.js';
2
- import Resource from '../../Resource.js';
3
- class ModelInformation extends Resource {
4
- static getBaseUrl = (engineId, modelName) => `/rest/organizations/${API.orgPlaceholder}/machinelearning/engines/${engineId}/models/${modelName}`;
5
- get(engineId, modelName) {
6
- return this.api.get(`${ModelInformation.getBaseUrl(engineId, modelName)}/details`);
7
- }
8
- delete(engineId, modelName) {
9
- return this.api.delete(ModelInformation.getBaseUrl(engineId, modelName));
10
- }
11
- update(engineId, modelName, modelInformation) {
12
- return this.api.put(ModelInformation.getBaseUrl(engineId, modelName), modelInformation);
13
- }
14
- }
15
- export default ModelInformation;
16
- //# sourceMappingURL=ModelInformation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModelInformation.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelInformation/ModelInformation.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,qBAAqB,CAAC;AACtC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAKzC,MAAqB,gBAAiB,SAAQ,QAAQ;IAClD,MAAM,CAAC,UAAU,GAAG,CAAC,QAAgB,EAAE,SAAiB,EAAE,EAAE,CACxD,uBAAuB,GAAG,CAAC,cAAc,4BAA4B,QAAQ,WAAW,SAAS,EAAE,CAAC;IAExG,GAAG,CAA4B,QAAgB,EAAE,SAAiB;QAC9D,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAiB,GAAG,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACvG,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,SAAiB;QACtC,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,SAAiB,EAAE,gBAAmC;QAC3E,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAmB,gBAAgB,CAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC;IAC9G,CAAC;;eAdgB,gBAAgB"}
@@ -1,10 +0,0 @@
1
- import Resource from '../../Resource.js';
2
- import { RegistrationModel } from '../MachineLearningInterfaces.js';
3
- import { MLModelInfo, MLModelTypeInfo } from './ModelInformationInterfaces.js';
4
- import { MLModel } from '../Models/index.js';
5
- export default class ModelInformation extends Resource {
6
- static getBaseUrl: (engineId: string, modelName: string) => string;
7
- get<T extends MLModelTypeInfo>(engineId: string, modelName: string): Promise<MLModelInfo<T>>;
8
- delete(engineId: string, modelName: string): Promise<Record<string, unknown>>;
9
- update(engineId: string, modelName: string, modelInformation: RegistrationModel): Promise<Partial<MLModel<never>>>;
10
- }