@coveo/platform-client 58.12.0 → 58.13.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/types/resources/MachineLearning/MachineLearningInterfaces.d.ts +17 -0
- package/dist/types/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.d.ts +2 -12
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.d.ts +2 -13
- package/dist/types/resources/MachineLearning/ModelListing/ModelListingInterfaces.d.ts +1 -13
- package/package.json +1 -1
|
@@ -95,3 +95,20 @@ export declare enum MLModelStatus {
|
|
|
95
95
|
ACTIVE = "ACTIVE",
|
|
96
96
|
INACTIVE = "INACTIVE"
|
|
97
97
|
}
|
|
98
|
+
export interface MLModelStatusInfo {
|
|
99
|
+
/**
|
|
100
|
+
* The status of the model.
|
|
101
|
+
* @example `ACTIVE`
|
|
102
|
+
*/
|
|
103
|
+
modelStatus: MLModelStatus;
|
|
104
|
+
/**
|
|
105
|
+
* The remaining days until the model is archived.
|
|
106
|
+
* @example `4`
|
|
107
|
+
*/
|
|
108
|
+
daysUntilArchival?: number;
|
|
109
|
+
/**
|
|
110
|
+
* The epoch timestamp, in milliseconds, of when the active model was built.
|
|
111
|
+
* @example 1741726807000
|
|
112
|
+
*/
|
|
113
|
+
activeModelBuildDate?: number;
|
|
114
|
+
}
|
package/dist/types/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConditionModel } from '../../Pipelines/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { MLModelStatusInfo } from '../MachineLearningInterfaces.js';
|
|
3
3
|
export interface ModelAssociationsListParams {
|
|
4
4
|
page: number;
|
|
5
5
|
pageSize: number;
|
|
@@ -25,17 +25,7 @@ export interface AssociationItem {
|
|
|
25
25
|
* The current status of the model.
|
|
26
26
|
* @example { modelStatus: "BUILDING", daysUntilArchival : 3 }
|
|
27
27
|
*/
|
|
28
|
-
modelStatusInfo?:
|
|
29
|
-
/**
|
|
30
|
-
* The status of the model.
|
|
31
|
-
* @example "ACTIVE"
|
|
32
|
-
*/
|
|
33
|
-
modelStatus: MLModelStatus;
|
|
34
|
-
/**
|
|
35
|
-
* The remaining days until the model is archived.
|
|
36
|
-
*/
|
|
37
|
-
daysUntilArchival?: number;
|
|
38
|
-
};
|
|
28
|
+
modelStatusInfo?: MLModelStatusInfo;
|
|
39
29
|
/**
|
|
40
30
|
* The condition that must be met to trigger the model association.
|
|
41
31
|
*/
|
package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MLModelStatusInfo } from '../MachineLearningInterfaces.js';
|
|
2
2
|
import { ModelDetails } from './details/ModelDetails.js';
|
|
3
3
|
export interface ModelAssociation {
|
|
4
4
|
/**
|
|
@@ -32,18 +32,7 @@ export interface ModelIssues {
|
|
|
32
32
|
*/
|
|
33
33
|
troubleshoot: string;
|
|
34
34
|
}
|
|
35
|
-
export
|
|
36
|
-
/**
|
|
37
|
-
* The status of the model.
|
|
38
|
-
* @example ACTIVE
|
|
39
|
-
*/
|
|
40
|
-
modelStatus: MLModelStatus;
|
|
41
|
-
/**
|
|
42
|
-
* The remaining days until the model is archived.
|
|
43
|
-
* @example 2
|
|
44
|
-
*/
|
|
45
|
-
daysUntilArchival: number;
|
|
46
|
-
}
|
|
35
|
+
export type ModelStatusInfo = MLModelStatusInfo & Required<Pick<MLModelStatusInfo, 'daysUntilArchival'>>;
|
|
47
36
|
export interface ModelWithDetails {
|
|
48
37
|
/**
|
|
49
38
|
* The id of the engine.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MLModelStatusInfo } from '../MachineLearningInterfaces.js';
|
|
2
2
|
export interface MLListingModel {
|
|
3
3
|
/**
|
|
4
4
|
* The model display name in the Coveo Administration console.
|
|
@@ -49,18 +49,6 @@ export interface MLListingModel {
|
|
|
49
49
|
*/
|
|
50
50
|
requiresAssociation: boolean;
|
|
51
51
|
}
|
|
52
|
-
export interface MLModelStatusInfo {
|
|
53
|
-
/**
|
|
54
|
-
* The status of the model.
|
|
55
|
-
* @Example `ACTIVE`
|
|
56
|
-
*/
|
|
57
|
-
modelStatus: MLModelStatus;
|
|
58
|
-
/**
|
|
59
|
-
* The remaining days until the model is archived.
|
|
60
|
-
* @Example `4`
|
|
61
|
-
*/
|
|
62
|
-
daysUntilArchival?: number;
|
|
63
|
-
}
|
|
64
52
|
export interface MLModelAssociation {
|
|
65
53
|
/**
|
|
66
54
|
* The unique identifier of the query pipeline to which the model is associated.
|