@coveo/platform-client 57.2.0 → 57.3.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.
- package/dist/cjs/resources/ApiKeyTemplate/ApiKeyTemplate.js +2 -1
- package/dist/cjs/resources/ApiKeyTemplate/ApiKeyTemplate.js.map +1 -1
- package/dist/esm/resources/ApiKeyTemplate/ApiKeyTemplate.js +2 -1
- package/dist/esm/resources/ApiKeyTemplate/ApiKeyTemplate.js.map +1 -1
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.d.ts +9 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
const APICore_js_1 = tslib_1.__importDefault(require("../../APICore.js"));
|
|
4
5
|
const Resource_js_1 = tslib_1.__importDefault(require("../Resource.js"));
|
|
5
6
|
class ApiKeyTemplate extends Resource_js_1.default {
|
|
6
|
-
static baseUrl =
|
|
7
|
+
static baseUrl = `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/templates/apikeys`;
|
|
7
8
|
get(apiKeyTemplateId) {
|
|
8
9
|
return this.api.get(`${ApiKeyTemplate.baseUrl}/${apiKeyTemplateId}`);
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeyTemplate.js","sourceRoot":"","sources":["../../../../src/resources/ApiKeyTemplate/ApiKeyTemplate.ts"],"names":[],"mappings":";;;AAAA,yEAAsC;AAGtC,MAAqB,cAAe,SAAQ,qBAAQ;IAChD,MAAM,CAAC,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"ApiKeyTemplate.js","sourceRoot":"","sources":["../../../../src/resources/ApiKeyTemplate/ApiKeyTemplate.ts"],"names":[],"mappings":";;;AAAA,0EAAmC;AACnC,yEAAsC;AAGtC,MAAqB,cAAe,SAAQ,qBAAQ;IAChD,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,oBAAoB,CAAC;IAE/E,GAAG,CAAC,gBAAwB;QACxB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAsB,GAAG,cAAc,CAAC,OAAO,IAAI,gBAAgB,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,cAAc,CAAC,OAAO,yBAAyB,CACrD,CAAC;IACN,CAAC;;AAXL,iCAYC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import API from '../../APICore.js';
|
|
1
2
|
import Resource from '../Resource.js';
|
|
2
3
|
export default class ApiKeyTemplate extends Resource {
|
|
3
|
-
static baseUrl =
|
|
4
|
+
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/templates/apikeys`;
|
|
4
5
|
get(apiKeyTemplateId) {
|
|
5
6
|
return this.api.get(`${ApiKeyTemplate.baseUrl}/${apiKeyTemplateId}`);
|
|
6
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeyTemplate.js","sourceRoot":"","sources":["../../../../src/resources/ApiKeyTemplate/ApiKeyTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAGtC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,QAAQ;IAChD,MAAM,CAAC,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"ApiKeyTemplate.js","sourceRoot":"","sources":["../../../../src/resources/ApiKeyTemplate/ApiKeyTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAGtC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,QAAQ;IAChD,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,oBAAoB,CAAC;IAE/E,GAAG,CAAC,gBAAwB;QACxB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAsB,GAAG,cAAc,CAAC,OAAO,IAAI,gBAAgB,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED,sBAAsB;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,cAAc,CAAC,OAAO,yBAAyB,CACrD,CAAC;IACN,CAAC"}
|
|
@@ -25,6 +25,15 @@ export interface ModelDetailsBuildingStats {
|
|
|
25
25
|
invalidHtmlDocumentCount?: number;
|
|
26
26
|
documentWithoutIdCount?: number;
|
|
27
27
|
documentWithDuplicatedIdCount?: number;
|
|
28
|
+
documentsWithChunksCount?: number;
|
|
29
|
+
documentsWithChunksRatio?: number;
|
|
30
|
+
chunkCount?: number;
|
|
31
|
+
meanChunkLength?: number;
|
|
32
|
+
chunksPerDocument?: {
|
|
33
|
+
min?: number;
|
|
34
|
+
max?: number;
|
|
35
|
+
mean?: number;
|
|
36
|
+
};
|
|
28
37
|
commerceEventCounts?: ModelDetailsCommerceEvents;
|
|
29
38
|
modelDetailedStatsPerSource?: ModelDetailsStatsPerSource[];
|
|
30
39
|
}
|
|
@@ -4,4 +4,12 @@ export interface ModelDetailsStatsPerSource {
|
|
|
4
4
|
invalidHtmlDocumentCount: number;
|
|
5
5
|
documentWithoutIdCount: number;
|
|
6
6
|
documentWithDuplicatedIdCount: number;
|
|
7
|
+
documentsWithChunksCount?: number;
|
|
8
|
+
documentsWithChunksRatio?: number;
|
|
9
|
+
chunkCount?: number;
|
|
10
|
+
chunksPerDocument?: {
|
|
11
|
+
min?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
mean?: number;
|
|
14
|
+
};
|
|
7
15
|
}
|