@coveo/platform-client 57.10.0 → 57.12.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/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.js.map +1 -0
- package/dist/types/resources/ApiKeys/ApiKeysInterfaces.d.ts +27 -27
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.d.ts +4 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.d.ts +17 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelDetailsPreparationDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelDetailsTrainingDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelDetailsPreparationDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsPreparationDetails.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelDetailsTrainingDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsTrainingDetails.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GranularResource, PrivilegeModel } from '../BaseInterfaces.js';
|
|
2
|
-
import { ApiKeyExposureReportSeverity, ApiKeyReportCreationType
|
|
2
|
+
import { ApiKeyStatus, ApiKeyExposureReportSeverity, ApiKeyReportCreationType } from '../Enums.js';
|
|
3
3
|
import { UserModel } from '../Users/UserInterfaces.js';
|
|
4
4
|
export interface ApiKeyBaseModel extends GranularResource {
|
|
5
5
|
/**
|
|
@@ -102,6 +102,32 @@ export interface ApiKeyModel extends ApiKeyBaseModel {
|
|
|
102
102
|
*/
|
|
103
103
|
exposureReport?: ExposureReport;
|
|
104
104
|
}
|
|
105
|
+
export interface ExposureReport {
|
|
106
|
+
/**
|
|
107
|
+
* API Key logger id associated to the Exposure Report
|
|
108
|
+
*/
|
|
109
|
+
apiKeyLoggerId: string;
|
|
110
|
+
/**
|
|
111
|
+
* The severity of the exposure
|
|
112
|
+
*/
|
|
113
|
+
severity: ApiKeyExposureReportSeverity;
|
|
114
|
+
/**
|
|
115
|
+
* The reason behind the exposure report for a given API key
|
|
116
|
+
*/
|
|
117
|
+
reason: string;
|
|
118
|
+
/**
|
|
119
|
+
* The date the key should be deactivated
|
|
120
|
+
*/
|
|
121
|
+
deactivationDate: number;
|
|
122
|
+
/**
|
|
123
|
+
* The way the API key report has been created
|
|
124
|
+
*/
|
|
125
|
+
creationType: ApiKeyReportCreationType;
|
|
126
|
+
/**
|
|
127
|
+
* Represents the user that has created the report
|
|
128
|
+
*/
|
|
129
|
+
createdBy: UserModel;
|
|
130
|
+
}
|
|
105
131
|
export interface CreateApiKeyModel extends ApiKeyBaseModel {
|
|
106
132
|
/**
|
|
107
133
|
* The duration of the API key in ISO-8601 format. Once the duration is reached the key expires and cannot be used anymore.
|
|
@@ -177,30 +203,4 @@ interface EnforceQueryPipelineConfigurationModel {
|
|
|
177
203
|
interface ImpersonationRestrictionsModel {
|
|
178
204
|
allowedUserIds: QueryAuthenticationModel[];
|
|
179
205
|
}
|
|
180
|
-
interface ExposureReport {
|
|
181
|
-
/**
|
|
182
|
-
* API Key logger id associated to the Exposure Report
|
|
183
|
-
*/
|
|
184
|
-
apiKeyLoggerId: string;
|
|
185
|
-
/**
|
|
186
|
-
* The severity of the exposure
|
|
187
|
-
*/
|
|
188
|
-
severity: ApiKeyExposureReportSeverity;
|
|
189
|
-
/**
|
|
190
|
-
* The reason behind the exposure report for a given API key
|
|
191
|
-
*/
|
|
192
|
-
reason: string;
|
|
193
|
-
/**
|
|
194
|
-
* The date the key should be deactivated
|
|
195
|
-
*/
|
|
196
|
-
deactivationDate: number;
|
|
197
|
-
/**
|
|
198
|
-
* The way the API key report has been created
|
|
199
|
-
*/
|
|
200
|
-
creationType: ApiKeyReportCreationType;
|
|
201
|
-
/**
|
|
202
|
-
* Represents the user that has created the report
|
|
203
|
-
*/
|
|
204
|
-
createdBy: UserModel;
|
|
205
|
-
}
|
|
206
206
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ModelDetailsBuildingStats } from './ModelDetailsBuildingStats.js';
|
|
2
2
|
import { ModelDetailsLanguages } from './ModelDetailsLanguages.js';
|
|
3
3
|
import { ModelDetailsSubModels } from './ModelDetailsSubModels.js';
|
|
4
|
+
import { ModelDetailsPreparationDetails } from './ModelDetailsPreparationDetails.js';
|
|
5
|
+
import { ModelDetailsTrainingDetails } from './ModelDetailsTrainingDetails.js';
|
|
4
6
|
export interface ModelDetails {
|
|
5
7
|
possibleRecommendations?: number;
|
|
6
8
|
totalQueries?: number;
|
|
@@ -18,4 +20,6 @@ export interface ModelDetails {
|
|
|
18
20
|
};
|
|
19
21
|
candidates?: number;
|
|
20
22
|
modelDetailedBuildingStats?: ModelDetailsBuildingStats;
|
|
23
|
+
modelDetailedTrainingDetails: ModelDetailsTrainingDetails;
|
|
24
|
+
modelDetailedPreparationDetails: ModelDetailsPreparationDetails;
|
|
21
25
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface DatasetFieldDetails {
|
|
2
|
+
numSamples: number;
|
|
3
|
+
labelsDistribution: Record<string, number>;
|
|
4
|
+
}
|
|
5
|
+
interface FacetDetails {
|
|
6
|
+
facetLabels: Record<string, string[]>;
|
|
7
|
+
}
|
|
8
|
+
interface DatasetDetails {
|
|
9
|
+
numRows: number;
|
|
10
|
+
dataDetails: Record<string, DatasetFieldDetails>;
|
|
11
|
+
}
|
|
12
|
+
export interface ModelDetailsPreparationDetails {
|
|
13
|
+
trainDatasetsDetails: DatasetDetails;
|
|
14
|
+
testDatasetsDetails: DatasetDetails;
|
|
15
|
+
facetDetails: FacetDetails;
|
|
16
|
+
}
|
|
17
|
+
export {};
|