@coveo/platform-client 58.12.0 → 58.13.1
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/Enums.js +1 -1
- package/dist/esm/resources/Enums.js +1 -1
- package/dist/types/resources/Enums.d.ts +1 -1
- 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
|
@@ -329,7 +329,7 @@ var SecurityProviderType;
|
|
|
329
329
|
SecurityProviderType["DROPBOX_FOR_BUSINESS"] = "DROPBOX_FOR_BUSINESS";
|
|
330
330
|
SecurityProviderType["EMAIL"] = "EMAIL";
|
|
331
331
|
SecurityProviderType["EXPANDED"] = "EXPANDED";
|
|
332
|
-
SecurityProviderType["FILE"] = "
|
|
332
|
+
SecurityProviderType["FILE"] = "FILE";
|
|
333
333
|
SecurityProviderType["GOOGLE_DRIVE_DOMAIN_WIDE"] = "GOOGLE_DRIVE_DOMAIN_WIDE";
|
|
334
334
|
SecurityProviderType["GENERIC_REST"] = "GENERIC_REST";
|
|
335
335
|
SecurityProviderType["GRAPHQL"] = "GRAPHQL";
|
|
@@ -324,7 +324,7 @@ export var SecurityProviderType;
|
|
|
324
324
|
SecurityProviderType["DROPBOX_FOR_BUSINESS"] = "DROPBOX_FOR_BUSINESS";
|
|
325
325
|
SecurityProviderType["EMAIL"] = "EMAIL";
|
|
326
326
|
SecurityProviderType["EXPANDED"] = "EXPANDED";
|
|
327
|
-
SecurityProviderType["FILE"] = "
|
|
327
|
+
SecurityProviderType["FILE"] = "FILE";
|
|
328
328
|
SecurityProviderType["GOOGLE_DRIVE_DOMAIN_WIDE"] = "GOOGLE_DRIVE_DOMAIN_WIDE";
|
|
329
329
|
SecurityProviderType["GENERIC_REST"] = "GENERIC_REST";
|
|
330
330
|
SecurityProviderType["GRAPHQL"] = "GRAPHQL";
|
|
@@ -298,7 +298,7 @@ export declare enum SecurityProviderType {
|
|
|
298
298
|
DROPBOX_FOR_BUSINESS = "DROPBOX_FOR_BUSINESS",
|
|
299
299
|
EMAIL = "EMAIL",
|
|
300
300
|
EXPANDED = "EXPANDED",
|
|
301
|
-
FILE = "
|
|
301
|
+
FILE = "FILE",
|
|
302
302
|
GOOGLE_DRIVE_DOMAIN_WIDE = "GOOGLE_DRIVE_DOMAIN_WIDE",
|
|
303
303
|
GENERIC_REST = "GENERIC_REST",
|
|
304
304
|
GRAPHQL = "GRAPHQL",
|
|
@@ -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.
|