@qlik/api 1.33.0 → 1.34.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/api-keys.d.ts +3 -2
- package/api-keys.js +2 -2
- package/apps.js +2 -2
- package/assistants.js +2 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automation-connections.js +2 -2
- package/automations.d.ts +2 -2
- package/automations.js +2 -2
- package/automl-deployments.js +2 -2
- package/automl-predictions.js +2 -2
- package/brands.js +2 -2
- package/chunks/{XF3TPZKZ.js → 4V6T7Y4L.js} +4 -1
- package/chunks/{SPATCXXU.js → 6C6WMV7V.js} +1 -1
- package/chunks/{LIEZG7IM.js → 6WNP7HZQ.js} +2 -2
- package/chunks/{YYZCS5PW.js → EEE42MLS.js} +1 -1
- package/chunks/{OTIO4SEJ.js → I2HA7WJB.js} +37 -31
- package/chunks/{62DXIH3S.js → M7AINAXZ.js} +1 -1
- package/chunks/{GPRUNZV4.js → QAOVZB27.js} +3 -3
- package/chunks/{33GQY7N7.js → QZKOA6VR.js} +1 -1
- package/chunks/{RP3EJGHG.js → VUYZKBT5.js} +3 -3
- package/collections.js +2 -2
- package/conditions.js +2 -2
- package/consumption.js +2 -2
- package/csp-origins.js +2 -2
- package/csrf-token.js +2 -2
- package/data-alerts.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/data-qualities.js +2 -2
- package/data-sets.js +2 -2
- package/data-sources.js +2 -2
- package/data-stores.js +2 -2
- package/dcaas.js +2 -2
- package/di-projects.js +2 -2
- package/direct-access-agents.d.ts +22 -22
- package/direct-access-agents.js +2 -2
- package/encryption.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.js +5 -4
- package/items.js +2 -2
- package/knowledgebases.js +2 -2
- package/licenses.d.ts +3 -1
- package/licenses.js +2 -2
- package/lineage-graphs.js +2 -2
- package/ml.d.ts +139 -9
- package/ml.js +14 -2
- package/notes.js +2 -2
- package/notifications.js +2 -2
- package/oauth-clients.js +2 -2
- package/oauth-tokens.js +2 -2
- package/package.json +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +2 -2
- package/questions.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.js +2 -2
- package/report-templates.js +2 -2
- package/reports.js +2 -2
- package/roles.js +2 -2
- package/sharing-tasks.js +2 -2
- package/spaces.d.ts +5 -1
- package/spaces.js +2 -2
- package/tasks.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/ui-config.js +2 -2
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
|
@@ -80,7 +80,7 @@ type UpdateConfigurationFlatFileRequest = {
|
|
|
80
80
|
contentsToSave?: string[];
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
|
-
* Restarts the specified agent. If a reload is in `RELOADING` status
|
|
83
|
+
* Restarts the specified agent. If a reload is in `RELOADING` status the `restart` action will be ignored. Use `force-restart` to restart the agent even if a reload is in `RELOADING` status. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
84
84
|
*
|
|
85
85
|
* @param agentId The agent ID
|
|
86
86
|
* @param agentAction The type of action to perform. Permitted values are `restart` (will not restart the agent if a reload is in `RELOADING` status) and `force-restart` (will restart the agent even if a reload is in `RELOADING` status).
|
|
@@ -95,10 +95,10 @@ type RestartDirectAccessAgentHttpResponse = {
|
|
|
95
95
|
type RestartDirectAccessAgentHttpError = {
|
|
96
96
|
data: ErrorResponse;
|
|
97
97
|
headers: Headers;
|
|
98
|
-
status: 400 | 403 | 404;
|
|
98
|
+
status: 400 | 403 | 404 | 409 | 500;
|
|
99
99
|
};
|
|
100
100
|
/**
|
|
101
|
-
* Retrieves the connector agent configuration from the specified agent. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.2+.
|
|
101
|
+
* Retrieves the connector agent configuration from the specified agent. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
102
102
|
*
|
|
103
103
|
* @param agentId The agent ID
|
|
104
104
|
* @param query an object with query parameters
|
|
@@ -116,10 +116,10 @@ type GetDirectAccessAgentConfigurationHttpResponse = {
|
|
|
116
116
|
type GetDirectAccessAgentConfigurationHttpError = {
|
|
117
117
|
data: ErrorResponse;
|
|
118
118
|
headers: Headers;
|
|
119
|
-
status: 404;
|
|
119
|
+
status: 403 | 404;
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
|
-
* Makes changes to the local agent configuration using JSON Patch. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.2+.
|
|
122
|
+
* Makes changes to the local agent configuration using JSON Patch. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
123
123
|
*
|
|
124
124
|
* @param agentId The agent ID
|
|
125
125
|
* @param body an object with the body content
|
|
@@ -140,10 +140,10 @@ type PatchDirectAccessAgentConfiguration207HttpResponse = {
|
|
|
140
140
|
type PatchDirectAccessAgentConfigurationHttpError = {
|
|
141
141
|
data: ErrorResponse;
|
|
142
142
|
headers: Headers;
|
|
143
|
-
status: 400 | 404 | 415;
|
|
143
|
+
status: 400 | 403 | 404 | 415;
|
|
144
144
|
};
|
|
145
145
|
/**
|
|
146
|
-
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
146
|
+
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
147
147
|
*
|
|
148
148
|
* @param agentId The agent ID
|
|
149
149
|
* @param connectorType The connector to retrieve the list of files for
|
|
@@ -159,10 +159,10 @@ type GetDirectAccessAgentConnectorFilesHttpResponse = {
|
|
|
159
159
|
type GetDirectAccessAgentConnectorFilesHttpError = {
|
|
160
160
|
data: ErrorResponse;
|
|
161
161
|
headers: Headers;
|
|
162
|
-
status: 404;
|
|
162
|
+
status: 403 | 404;
|
|
163
163
|
};
|
|
164
164
|
/**
|
|
165
|
-
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
165
|
+
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
166
166
|
*
|
|
167
167
|
* @param agentId The agent ID
|
|
168
168
|
* @param connectorType The connector to retrieve the list of files for
|
|
@@ -177,10 +177,10 @@ type GetDirectAccessAgentConnectorFilesWithoutQueryHttpResponse = {
|
|
|
177
177
|
type GetDirectAccessAgentConnectorFilesWithoutQueryHttpError = {
|
|
178
178
|
data: ErrorResponse;
|
|
179
179
|
headers: Headers;
|
|
180
|
-
status: 404;
|
|
180
|
+
status: 403 | 404;
|
|
181
181
|
};
|
|
182
182
|
/**
|
|
183
|
-
* Retrieves the configuration items in the flat file for the specified connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
183
|
+
* Retrieves the configuration items in the flat file for the specified connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
184
184
|
*
|
|
185
185
|
* @param agentId The agent ID
|
|
186
186
|
* @param connectorType The connector type to retrieve
|
|
@@ -196,10 +196,10 @@ type GetDirectAccessAgentConnectorFileHttpResponse = {
|
|
|
196
196
|
type GetDirectAccessAgentConnectorFileHttpError = {
|
|
197
197
|
data: ErrorResponse;
|
|
198
198
|
headers: Headers;
|
|
199
|
-
status: 404;
|
|
199
|
+
status: 403 | 404;
|
|
200
200
|
};
|
|
201
201
|
/**
|
|
202
|
-
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
202
|
+
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
203
203
|
*
|
|
204
204
|
* @param agentId The agent ID
|
|
205
205
|
* @param connectorType The connector type to update
|
|
@@ -220,7 +220,7 @@ type UpdateDirectAccessAgentConnectorFileHttpError = {
|
|
|
220
220
|
status: 400 | 404 | 409;
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
223
|
-
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
223
|
+
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
224
224
|
*
|
|
225
225
|
* @param agentId The agent ID
|
|
226
226
|
* @param connectorType The connector type to update
|
|
@@ -245,7 +245,7 @@ type UpdateDirectAccessAgentConnectorFileWithoutQueryHttpError = {
|
|
|
245
245
|
declare function clearCache(): void;
|
|
246
246
|
interface DirectAccessAgentsAPI {
|
|
247
247
|
/**
|
|
248
|
-
* Restarts the specified agent. If a reload is in `RELOADING` status
|
|
248
|
+
* Restarts the specified agent. If a reload is in `RELOADING` status the `restart` action will be ignored. Use `force-restart` to restart the agent even if a reload is in `RELOADING` status. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
249
249
|
*
|
|
250
250
|
* @param agentId The agent ID
|
|
251
251
|
* @param agentAction The type of action to perform. Permitted values are `restart` (will not restart the agent if a reload is in `RELOADING` status) and `force-restart` (will restart the agent even if a reload is in `RELOADING` status).
|
|
@@ -253,7 +253,7 @@ interface DirectAccessAgentsAPI {
|
|
|
253
253
|
*/
|
|
254
254
|
restartDirectAccessAgent: typeof restartDirectAccessAgent;
|
|
255
255
|
/**
|
|
256
|
-
* Retrieves the connector agent configuration from the specified agent. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.2+.
|
|
256
|
+
* Retrieves the connector agent configuration from the specified agent. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
257
257
|
*
|
|
258
258
|
* @param agentId The agent ID
|
|
259
259
|
* @param query an object with query parameters
|
|
@@ -261,7 +261,7 @@ interface DirectAccessAgentsAPI {
|
|
|
261
261
|
*/
|
|
262
262
|
getDirectAccessAgentConfiguration: typeof getDirectAccessAgentConfiguration;
|
|
263
263
|
/**
|
|
264
|
-
* Makes changes to the local agent configuration using JSON Patch. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.2+.
|
|
264
|
+
* Makes changes to the local agent configuration using JSON Patch. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.2+.
|
|
265
265
|
*
|
|
266
266
|
* @param agentId The agent ID
|
|
267
267
|
* @param body an object with the body content
|
|
@@ -269,7 +269,7 @@ interface DirectAccessAgentsAPI {
|
|
|
269
269
|
*/
|
|
270
270
|
patchDirectAccessAgentConfiguration: typeof patchDirectAccessAgentConfiguration;
|
|
271
271
|
/**
|
|
272
|
-
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
272
|
+
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
273
273
|
*
|
|
274
274
|
* @param agentId The agent ID
|
|
275
275
|
* @param connectorType The connector to retrieve the list of files for
|
|
@@ -278,7 +278,7 @@ interface DirectAccessAgentsAPI {
|
|
|
278
278
|
*/
|
|
279
279
|
getDirectAccessAgentConnectorFiles: typeof getDirectAccessAgentConnectorFiles;
|
|
280
280
|
/**
|
|
281
|
-
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
281
|
+
* Retrieves the configuration files associated with the connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
282
282
|
*
|
|
283
283
|
* @param agentId The agent ID
|
|
284
284
|
* @param connectorType The connector to retrieve the list of files for
|
|
@@ -286,7 +286,7 @@ interface DirectAccessAgentsAPI {
|
|
|
286
286
|
*/
|
|
287
287
|
getDirectAccessAgentConnectorFilesWithoutQuery: typeof getDirectAccessAgentConnectorFilesWithoutQuery;
|
|
288
288
|
/**
|
|
289
|
-
* Retrieves the configuration items in the flat file for the specified connector. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
289
|
+
* Retrieves the configuration items in the flat file for the specified connector. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
290
290
|
*
|
|
291
291
|
* @param agentId The agent ID
|
|
292
292
|
* @param connectorType The connector type to retrieve
|
|
@@ -295,7 +295,7 @@ interface DirectAccessAgentsAPI {
|
|
|
295
295
|
*/
|
|
296
296
|
getDirectAccessAgentConnectorFile: typeof getDirectAccessAgentConnectorFile;
|
|
297
297
|
/**
|
|
298
|
-
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
298
|
+
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
299
299
|
*
|
|
300
300
|
* @param agentId The agent ID
|
|
301
301
|
* @param connectorType The connector type to update
|
|
@@ -306,7 +306,7 @@ interface DirectAccessAgentsAPI {
|
|
|
306
306
|
*/
|
|
307
307
|
updateDirectAccessAgentConnectorFile: typeof updateDirectAccessAgentConnectorFile;
|
|
308
308
|
/**
|
|
309
|
-
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role. Available in Direct Access Gateway V1.7.4+.
|
|
309
|
+
* Completely replaces the contents of the connector's configuration file. Partial updates are not supported. Requestor must be assigned the `TenantAdmin` role and needs to be either a Gateway's space owner or a member in the Gateway's space with `Can Consume Data` role. Available in Direct Access Gateway V1.7.4+.
|
|
310
310
|
*
|
|
311
311
|
* @param agentId The agent ID
|
|
312
312
|
* @param connectorType The connector type to update
|
package/direct-access-agents.js
CHANGED
package/encryption.js
CHANGED
package/extensions.js
CHANGED
package/glossaries.js
CHANGED
package/groups.js
CHANGED
package/identity-providers.js
CHANGED
package/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qix_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/QZKOA6VR.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/6C6WMV7V.js";
|
|
7
7
|
import {
|
|
8
8
|
interceptors_default
|
|
9
9
|
} from "./chunks/ZCTVPXGO.js";
|
|
10
10
|
import {
|
|
11
11
|
clearApiCache,
|
|
12
12
|
invokeFetch
|
|
13
|
-
} from "./chunks/
|
|
14
|
-
import "./chunks/
|
|
13
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
14
|
+
import "./chunks/QAOVZB27.js";
|
|
15
15
|
import "./chunks/7MMXU6EL.js";
|
|
16
16
|
|
|
17
17
|
// src/runtime-api-generator/runtime-api-generator-common.ts
|
|
@@ -911,6 +911,7 @@ var mlMiniModule = apiDefToApiPublic("ml", {
|
|
|
911
911
|
"": ["getMlExperiments:GQ:", "createMlExperiment:PBJ:"],
|
|
912
912
|
"{experimentId}": {
|
|
913
913
|
"": ["deleteMlExperiment:D:", "getMlExperiment:G:", "patchMlExperiment:ABJ:"],
|
|
914
|
+
actions: { "recommend-models": ["recommendModelsMlExperiment:PBJ:"] },
|
|
914
915
|
models: { "": ["getMlExperimentModels:GQ:"], "{modelId}": ["getMlExperimentModel:G:"] },
|
|
915
916
|
versions: {
|
|
916
917
|
"": ["getMlExperimentVersions:GQ:", "createMlExperimentVersion:PBJ:"],
|
package/items.js
CHANGED
package/knowledgebases.js
CHANGED
package/licenses.d.ts
CHANGED
|
@@ -328,6 +328,8 @@ type LicenseOverview = {
|
|
|
328
328
|
capabilityBankId?: string;
|
|
329
329
|
/** An ISO 8601 timestamp for when the license was last changed. */
|
|
330
330
|
changeTime?: string;
|
|
331
|
+
/** Customer ID */
|
|
332
|
+
customerId?: string;
|
|
331
333
|
/** An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future. */
|
|
332
334
|
latestValidTime?: string;
|
|
333
335
|
licenseKey: string;
|
|
@@ -388,7 +390,7 @@ type LicenseStatus = {
|
|
|
388
390
|
/** Boolean indicating if it is a trial license. */
|
|
389
391
|
trial: boolean;
|
|
390
392
|
/** Type of license key. */
|
|
391
|
-
type: "Signed" | "Plain" | 2;
|
|
393
|
+
type: "Signed" | "Plain" | "2.0";
|
|
392
394
|
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
393
395
|
valid: string;
|
|
394
396
|
};
|
package/licenses.js
CHANGED
package/lineage-graphs.js
CHANGED
package/ml.d.ts
CHANGED
|
@@ -90,14 +90,22 @@ type AliasInput = {
|
|
|
90
90
|
* The mode of an alias. Default mode means the model assigned to that alias will be used if alias is not specified
|
|
91
91
|
*/
|
|
92
92
|
type AliasMode = "default" | "undefined";
|
|
93
|
+
/**
|
|
94
|
+
* @example
|
|
95
|
+
* [
|
|
96
|
+
* {
|
|
97
|
+
* op: "replace",
|
|
98
|
+
* path: "/name"
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* op: "replace",
|
|
102
|
+
* path: "/models"
|
|
103
|
+
* }
|
|
104
|
+
* ]
|
|
105
|
+
*/
|
|
93
106
|
type AliasPatch = AliasPatchItem[];
|
|
94
107
|
/**
|
|
95
108
|
* Alias values that can be patched.
|
|
96
|
-
* @example
|
|
97
|
-
* {
|
|
98
|
-
* op: "replace",
|
|
99
|
-
* path: "/name"
|
|
100
|
-
* }
|
|
101
109
|
*/
|
|
102
110
|
type AliasPatchItem = {
|
|
103
111
|
/** All patch requests use the replace operation */
|
|
@@ -158,7 +166,10 @@ type BatchPrediction = {
|
|
|
158
166
|
/** Timestamp when this was updated */
|
|
159
167
|
updatedAt?: UpdatedAt;
|
|
160
168
|
/** Sets which files, file names, and spaces are used to write results of
|
|
161
|
-
* batch predictions (output files) to the catalog.
|
|
169
|
+
* batch predictions (output files) to the catalog.
|
|
170
|
+
*
|
|
171
|
+
* Note that for predictions based on time series models, `dstShapName`
|
|
172
|
+
* and `dstCoordShapName` do not apply and will be ignored if set. */
|
|
162
173
|
writeback?: BatchPredictionWriteback;
|
|
163
174
|
};
|
|
164
175
|
/**
|
|
@@ -215,7 +226,10 @@ type BatchPredictionInput = {
|
|
|
215
226
|
/** Configuration to schedule a batch prediction */
|
|
216
227
|
schedule?: BatchPredictionScheduleInputAttributes;
|
|
217
228
|
/** Sets which files, file names, and spaces are used to write results of
|
|
218
|
-
* batch predictions (output files) to the catalog.
|
|
229
|
+
* batch predictions (output files) to the catalog.
|
|
230
|
+
*
|
|
231
|
+
* Note that for predictions based on time series models, `dstShapName`
|
|
232
|
+
* and `dstCoordShapName` do not apply and will be ignored if set. */
|
|
219
233
|
writeback?: BatchPredictionWriteback;
|
|
220
234
|
};
|
|
221
235
|
type?: "batch-prediction";
|
|
@@ -327,6 +341,9 @@ type BatchPredictionStatus = "modified" | "ready" | "error" | "cancelled" | "pen
|
|
|
327
341
|
/**
|
|
328
342
|
* Sets which files, file names, and spaces are used to write results of
|
|
329
343
|
* batch predictions (output files) to the catalog.
|
|
344
|
+
*
|
|
345
|
+
* Note that for predictions based on time series models, `dstShapName`
|
|
346
|
+
* and `dstCoordShapName` do not apply and will be ignored if set.
|
|
330
347
|
*/
|
|
331
348
|
type BatchPredictionWriteback = {
|
|
332
349
|
dstCoordShapName?: string;
|
|
@@ -354,7 +371,7 @@ type ColumnTransform = {
|
|
|
354
371
|
changeType: string;
|
|
355
372
|
name: string;
|
|
356
373
|
};
|
|
357
|
-
type ConfigurationKey = "DATE_INDEX" | "FUTURE_FEATURE" | "GROUP_ID" | "FORECAST_GAP_SIZE" | "FORECAST_WINDOW_SIZE";
|
|
374
|
+
type ConfigurationKey = "DATE_INDEX" | "FUTURE_FEATURE" | "GROUP_ID" | "FORECAST_GAP_SIZE" | "FORECAST_WINDOW_SIZE" | "GROUP_ID_PRIMARY";
|
|
358
375
|
/**
|
|
359
376
|
* The ID of a correlated resource of corrType
|
|
360
377
|
*/
|
|
@@ -618,6 +635,30 @@ type ExperimentInput = {
|
|
|
618
635
|
* The model training mode for the experiment version
|
|
619
636
|
*/
|
|
620
637
|
type ExperimentMode = "intelligent" | "manual" | "manual_hpo";
|
|
638
|
+
/**
|
|
639
|
+
* Criteria to determine which pool of models to provide recommendations from
|
|
640
|
+
*/
|
|
641
|
+
type ExperimentModelRecommendationFilter = {
|
|
642
|
+
/** The model algorithms to consider */
|
|
643
|
+
algorithms?: ModelAlgorithm[];
|
|
644
|
+
/** Whether to only consider models that are already deployed */
|
|
645
|
+
deployed?: boolean;
|
|
646
|
+
/** Whether to only consider models with 100% sampling */
|
|
647
|
+
fullSampling?: boolean;
|
|
648
|
+
/** The versionNumbers of the experiment versions to consider models from */
|
|
649
|
+
versionNumbers?: number[];
|
|
650
|
+
};
|
|
651
|
+
type ExperimentModelRecommendationPostResponse = {
|
|
652
|
+
data: {
|
|
653
|
+
/** Model recommendations */
|
|
654
|
+
attributes: {
|
|
655
|
+
bestModel?: ModelForRecommendations;
|
|
656
|
+
fastestModel?: ModelForRecommendations;
|
|
657
|
+
mostAccurateModel?: ModelForRecommendations;
|
|
658
|
+
};
|
|
659
|
+
type: "model-recommendation";
|
|
660
|
+
};
|
|
661
|
+
};
|
|
621
662
|
/**
|
|
622
663
|
* @example
|
|
623
664
|
* [
|
|
@@ -743,6 +784,13 @@ type ExperimentVersionGetResponse = {
|
|
|
743
784
|
id: EntityId;
|
|
744
785
|
type: "experiment-version";
|
|
745
786
|
};
|
|
787
|
+
/** Metadata not directly part of the ExperimentVersion type */
|
|
788
|
+
meta?: {
|
|
789
|
+
/** TrainingMetadata returned from MLCore. This will contain
|
|
790
|
+
* more specific information about items like groups, systemRecommendations,
|
|
791
|
+
* and window/gap values */
|
|
792
|
+
trainingMetadata?: TrainingMetadata;
|
|
793
|
+
};
|
|
746
794
|
};
|
|
747
795
|
/**
|
|
748
796
|
* ID of the experiment version
|
|
@@ -850,6 +898,12 @@ type FeatureInsights = {
|
|
|
850
898
|
* objects within a NestedColumn, each of which may contain its own
|
|
851
899
|
* FeatureInsights. */
|
|
852
900
|
engineeredFeatures?: string[];
|
|
901
|
+
/** Only applies for time series experiment types. This intial estimate
|
|
902
|
+
* of the combined max forecast window and gap (aka - horizon). It only
|
|
903
|
+
* applies to possible date index columns. After the experiment version
|
|
904
|
+
* is created, we get a more precise number for subsequent versions.
|
|
905
|
+
* When training data is grouped, this estimate may be less accurate. */
|
|
906
|
+
estimatedMaxForecastHorizon?: number;
|
|
853
907
|
/** Experiment types in this feature insight */
|
|
854
908
|
experimentTypes: ExperimentType[];
|
|
855
909
|
/** List of insights about this feature. */
|
|
@@ -885,6 +939,15 @@ type FileType = string;
|
|
|
885
939
|
type FindResponseMeta = {
|
|
886
940
|
count: number;
|
|
887
941
|
};
|
|
942
|
+
/**
|
|
943
|
+
* A group identifier that consists of the column name associated
|
|
944
|
+
* and the type of group (primary or secondary).
|
|
945
|
+
*/
|
|
946
|
+
type GroupId = {
|
|
947
|
+
column: string;
|
|
948
|
+
/** Indicates the type of group (primary or secondary groups) */
|
|
949
|
+
type?: TimeseriesGroupType;
|
|
950
|
+
};
|
|
888
951
|
/**
|
|
889
952
|
* A optional column name upon which to create an index. Must be unique for
|
|
890
953
|
* every row. If not included, Qlik will create a unique index column.
|
|
@@ -975,6 +1038,12 @@ type ModelFindResponse = {
|
|
|
975
1038
|
/** Meta for FIND operations */
|
|
976
1039
|
meta?: FindResponseMeta;
|
|
977
1040
|
};
|
|
1041
|
+
type ModelForRecommendations = Model & {
|
|
1042
|
+
metrics?: {
|
|
1043
|
+
/** This represents model prediction speed in rows/second */
|
|
1044
|
+
predictionSpeed: number;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
978
1047
|
type ModelGetResponse = {
|
|
979
1048
|
data: {
|
|
980
1049
|
/** A model based on an algorithm within an experiment version. */
|
|
@@ -1363,11 +1432,46 @@ type SpaceId = string;
|
|
|
1363
1432
|
* Tenant ID for this entity
|
|
1364
1433
|
*/
|
|
1365
1434
|
type TenantId = string;
|
|
1435
|
+
/**
|
|
1436
|
+
* Indicates the type of group (primary or secondary groups)
|
|
1437
|
+
*/
|
|
1438
|
+
type TimeseriesGroupType = "primary" | "secondary";
|
|
1366
1439
|
/**
|
|
1367
1440
|
* Training duration in seconds. If provided, minimum is 900 (15m) and
|
|
1368
1441
|
* max is 21600 (6h).
|
|
1369
1442
|
*/
|
|
1370
1443
|
type TrainingDuration = number;
|
|
1444
|
+
/**
|
|
1445
|
+
* TrainingMetadata returned from MLCore. This will contain
|
|
1446
|
+
* more specific information about items like groups, systemRecommendations,
|
|
1447
|
+
* and window/gap values
|
|
1448
|
+
*/
|
|
1449
|
+
type TrainingMetadata = {
|
|
1450
|
+
/** The maximum value to be used for the length of the apply dataset.
|
|
1451
|
+
* This value is 3x the forecast window */
|
|
1452
|
+
applyWindow?: number;
|
|
1453
|
+
/** Timestamp when this was created */
|
|
1454
|
+
createdAt?: CreatedAt;
|
|
1455
|
+
/** The maximum range that can be forecasted */
|
|
1456
|
+
forecastWindow?: number;
|
|
1457
|
+
futureCovarianceColumns?: string[];
|
|
1458
|
+
/** The gap between the end of the training dataset
|
|
1459
|
+
* and the start of the forecast window */
|
|
1460
|
+
gap?: number;
|
|
1461
|
+
isUsingSystemRecGrouping?: boolean;
|
|
1462
|
+
/** The maximum value for the forecast horizon
|
|
1463
|
+
* The forecast horizon is equal to the gap + forecast window */
|
|
1464
|
+
maxForecastHorizon?: number;
|
|
1465
|
+
/** The grouping selected for the experiment version */
|
|
1466
|
+
selectedGrouping?: GroupId[];
|
|
1467
|
+
staticCovarianceColumns?: string[];
|
|
1468
|
+
/** Recommended groupings constructed from the workers */
|
|
1469
|
+
systemRecommendations?: GroupId[];
|
|
1470
|
+
targetColumns?: string[];
|
|
1471
|
+
timeRangeUsed?: string[];
|
|
1472
|
+
/** The interval of time between each grouping of data in the dataset */
|
|
1473
|
+
timeStep?: string;
|
|
1474
|
+
};
|
|
1371
1475
|
type Transform = {
|
|
1372
1476
|
column?: ColumnTransform;
|
|
1373
1477
|
};
|
|
@@ -2037,6 +2141,24 @@ type PatchMlExperimentHttpError = {
|
|
|
2037
2141
|
headers: Headers;
|
|
2038
2142
|
status: number;
|
|
2039
2143
|
};
|
|
2144
|
+
/**
|
|
2145
|
+
* Returns model recommendations for a specified experiment, including the best-performing, fastest, and most accurate models based on evaluation metrics.
|
|
2146
|
+
*
|
|
2147
|
+
* @param experimentId ID of the experiment
|
|
2148
|
+
* @param body an object with the body content
|
|
2149
|
+
* @throws RecommendModelsMlExperimentHttpError
|
|
2150
|
+
*/
|
|
2151
|
+
declare function recommendModelsMlExperiment(experimentId: string, body: ExperimentModelRecommendationFilter, options?: ApiCallOptions): Promise<RecommendModelsMlExperimentHttpResponse>;
|
|
2152
|
+
type RecommendModelsMlExperimentHttpResponse = {
|
|
2153
|
+
data: ExperimentModelRecommendationPostResponse;
|
|
2154
|
+
headers: Headers;
|
|
2155
|
+
status: 200;
|
|
2156
|
+
};
|
|
2157
|
+
type RecommendModelsMlExperimentHttpError = {
|
|
2158
|
+
data: Failure;
|
|
2159
|
+
headers: Headers;
|
|
2160
|
+
status: number;
|
|
2161
|
+
};
|
|
2040
2162
|
/**
|
|
2041
2163
|
* List models
|
|
2042
2164
|
*
|
|
@@ -2567,6 +2689,14 @@ interface MlAPI {
|
|
|
2567
2689
|
* @throws PatchMlExperimentHttpError
|
|
2568
2690
|
*/
|
|
2569
2691
|
patchMlExperiment: typeof patchMlExperiment;
|
|
2692
|
+
/**
|
|
2693
|
+
* Returns model recommendations for a specified experiment, including the best-performing, fastest, and most accurate models based on evaluation metrics.
|
|
2694
|
+
*
|
|
2695
|
+
* @param experimentId ID of the experiment
|
|
2696
|
+
* @param body an object with the body content
|
|
2697
|
+
* @throws RecommendModelsMlExperimentHttpError
|
|
2698
|
+
*/
|
|
2699
|
+
recommendModelsMlExperiment: typeof recommendModelsMlExperiment;
|
|
2570
2700
|
/**
|
|
2571
2701
|
* List models
|
|
2572
2702
|
*
|
|
@@ -2673,4 +2803,4 @@ interface MlAPI {
|
|
|
2673
2803
|
*/
|
|
2674
2804
|
declare const mlExport: MlAPI;
|
|
2675
2805
|
|
|
2676
|
-
export { type APIError, type ActivateModelsMlDeploymentHttpError, type ActivateModelsMlDeploymentHttpResponse, type AddMlDeploymentModelsHttpError, type AddMlDeploymentModelsHttpResponse, type Alias, type AliasFindResponse, type AliasGetResponse, type AliasId, type AliasInput, type AliasMode, type AliasPatch, type AliasPatchItem, type AliasPostResponse, type AnyType, type BatchPrediction, type BatchPredictionActionResponse, type BatchPredictionFindResponse, type BatchPredictionGetResponse, type BatchPredictionInput, type BatchPredictionPatch, type BatchPredictionPostResponse, type BatchPredictionSchedule, type BatchPredictionScheduleGetResponse, type BatchPredictionScheduleInput, type BatchPredictionScheduleInputAttributes, type BatchPredictionSchedulePatch, type BatchPredictionSchedulePutResponse, type BatchPredictionStatus, type BatchPredictionWriteback, type BinaryImbalanceSampling, type CancelMlJobHttpError, type CancelMlJobHttpResponse, type ChangeType, type ColumnTransform, type ConfigurationKey, type CorrId, type CorrType, type CreateMlDeploymentAliaseHttpError, type CreateMlDeploymentAliaseHttpResponse, type CreateMlDeploymentBatchPredictionHttpError, type CreateMlDeploymentBatchPredictionHttpResponse, type CreateMlDeploymentHttpError, type CreateMlDeploymentHttpResponse, type CreateMlExperimentHttpError, type CreateMlExperimentHttpResponse, type CreateMlExperimentVersionHttpError, type CreateMlExperimentVersionHttpResponse, type CreateMlProfileInsightHttpError, type CreateMlProfileInsightHttpResponse, type CreatedAt, type CreatedBy, type DataSchemaConfiguration, type DataSetId, type DataType, type DatasetOrigin, type DateIndexes, type DeactivateModelsMlDeploymentHttpError, type DeactivateModelsMlDeploymentHttpResponse, type DeleteMlDeploymentAliaseHttpError, type DeleteMlDeploymentAliaseHttpResponse, type DeleteMlDeploymentBatchPredictionHttpError, type DeleteMlDeploymentBatchPredictionHttpResponse, type DeleteMlDeploymentBatchPredictionScheduleHttpError, type DeleteMlDeploymentBatchPredictionScheduleHttpResponse, type DeleteMlDeploymentHttpError, type DeleteMlDeploymentHttpResponse, type DeleteMlExperimentHttpError, type DeleteMlExperimentHttpResponse, type DeleteMlExperimentVersionHttpError, type DeleteMlExperimentVersionHttpResponse, type DeletedAt, type DeployedModelIds, type DeployedModelsInput, type Deployment, type DeploymentFindResponse, type DeploymentGetResponse, type DeploymentId, type DeploymentInput, type DeploymentPatch, type DeploymentPostResponse, type DroppedFeature, type EntityDescription, type EntityId, type EntityName, type EnumSortAliases, type EnumSortBatchPredictions, type EnumSortDeployments, type EnumSortExperimentVersions, type EnumSortExperiments, type EnumSortModels, type ErrorMessage, type Errors, type Experiment, type ExperimentFindResponse, type ExperimentGetResponse, type ExperimentId, type ExperimentInput, type ExperimentMode, type ExperimentPatch, type ExperimentPatchItem, type ExperimentPostResponse, type ExperimentType, type ExperimentVersion, type ExperimentVersionFindResponse, type ExperimentVersionGetResponse, type ExperimentVersionId, type ExperimentVersionInput, type ExperimentVersionPatch, type ExperimentVersionPostResponse, type Failure, type Feature, type FeatureInsights, type FeatureType, type FeaturesList, type FileType, type FindResponseMeta, type GetMlDeploymentAliaseHttpError, type GetMlDeploymentAliaseHttpResponse, type GetMlDeploymentAliasesHttpError, type GetMlDeploymentAliasesHttpResponse, type GetMlDeploymentBatchPredictionHttpError, type GetMlDeploymentBatchPredictionHttpResponse, type GetMlDeploymentBatchPredictionScheduleHttpError, type GetMlDeploymentBatchPredictionScheduleHttpResponse, type GetMlDeploymentBatchPredictionsHttpError, type GetMlDeploymentBatchPredictionsHttpResponse, type GetMlDeploymentHttpError, type GetMlDeploymentHttpResponse, type GetMlDeploymentsHttpError, type GetMlDeploymentsHttpResponse, type GetMlExperimentHttpError, type GetMlExperimentHttpResponse, type GetMlExperimentModelHttpError, type GetMlExperimentModelHttpResponse, type GetMlExperimentModelsHttpError, type GetMlExperimentModelsHttpResponse, type GetMlExperimentVersionHttpError, type GetMlExperimentVersionHttpResponse, type GetMlExperimentVersionsHttpError, type GetMlExperimentVersionsHttpResponse, type GetMlExperimentsHttpError, type GetMlExperimentsHttpResponse, type GetMlProfileInsightHttpError, type GetMlProfileInsightHttpResponse, type GetMlProfileInsightWithQueryHttpError, type GetMlProfileInsightWithQueryHttpResponse, type IndexColumn, type Insights, type JobType, type MlAPI, type Model, type ModelAlgorithm, type ModelAlgorithmAbbreviation, type ModelFindResponse, type ModelGetResponse, type ModelId, type ModelInfo, type ModelMetrics, type ModelMetricsBinary, type ModelMetricsMulticlass, type ModelMetricsRegression, type ModelMetricsTimeseries, type ModelState, type ModelStatus, type ModelsInfo, type OutputFile, type OwnerId, type ParentJobId, type PatchMlDeploymentAliaseHttpError, type PatchMlDeploymentAliaseHttpResponse, type PatchMlDeploymentBatchPredictionHttpError, type PatchMlDeploymentBatchPredictionHttpResponse, type PatchMlDeploymentHttpError, type PatchMlDeploymentHttpResponse, type PatchMlExperimentHttpError, type PatchMlExperimentHttpResponse, type PatchMlExperimentVersionHttpError, type PatchMlExperimentVersionHttpResponse, type Pipeline, type PredictMlDeploymentBatchPredictionHttpError, type PredictMlDeploymentBatchPredictionHttpResponse, type PredictionJobResponse, type PreprocessedInsightColumn, type ProfileInsights, type ProfileInsightsGetResponse, type ProfileInsightsInput, type RealTimePredictionInputSchema, type RealTimePredictionSchema, type RealtimePrediction, type RealtimePredictionInput, type RemoveMlDeploymentModelsHttpError, type RemoveMlDeploymentModelsHttpResponse, type ResponseLinks, type RunMlDeploymentAliaseRealtimePredictionsHttpError, type RunMlDeploymentAliaseRealtimePredictionsHttpResponse, type RunMlDeploymentRealtimePredictionsHttpError, type RunMlDeploymentRealtimePredictionsHttpResponse, type SetMlDeploymentBatchPredictionScheduleHttpError, type SetMlDeploymentBatchPredictionScheduleHttpResponse, type SpaceId, type TenantId, type TrainingDuration, type Transform, type UpdateMlDeploymentBatchPredictionScheduleHttpError, type UpdateMlDeploymentBatchPredictionScheduleHttpResponse, type UpdatedAt, activateModelsMlDeployment, addMlDeploymentModels, cancelMlJob, clearCache, createMlDeployment, createMlDeploymentAliase, createMlDeploymentBatchPrediction, createMlExperiment, createMlExperimentVersion, createMlProfileInsight, deactivateModelsMlDeployment, mlExport as default, deleteMlDeployment, deleteMlDeploymentAliase, deleteMlDeploymentBatchPrediction, deleteMlDeploymentBatchPredictionSchedule, deleteMlExperiment, deleteMlExperimentVersion, getMlDeployment, getMlDeploymentAliase, getMlDeploymentAliases, getMlDeploymentBatchPrediction, getMlDeploymentBatchPredictionSchedule, getMlDeploymentBatchPredictions, getMlDeployments, getMlExperiment, getMlExperimentModel, getMlExperimentModels, getMlExperimentVersion, getMlExperimentVersions, getMlExperiments, getMlProfileInsight, getMlProfileInsightWithQuery, patchMlDeployment, patchMlDeploymentAliase, patchMlDeploymentBatchPrediction, patchMlExperiment, patchMlExperimentVersion, predictMlDeploymentBatchPrediction, removeMlDeploymentModels, runMlDeploymentAliaseRealtimePredictions, runMlDeploymentRealtimePredictions, setMlDeploymentBatchPredictionSchedule, updateMlDeploymentBatchPredictionSchedule };
|
|
2806
|
+
export { type APIError, type ActivateModelsMlDeploymentHttpError, type ActivateModelsMlDeploymentHttpResponse, type AddMlDeploymentModelsHttpError, type AddMlDeploymentModelsHttpResponse, type Alias, type AliasFindResponse, type AliasGetResponse, type AliasId, type AliasInput, type AliasMode, type AliasPatch, type AliasPatchItem, type AliasPostResponse, type AnyType, type BatchPrediction, type BatchPredictionActionResponse, type BatchPredictionFindResponse, type BatchPredictionGetResponse, type BatchPredictionInput, type BatchPredictionPatch, type BatchPredictionPostResponse, type BatchPredictionSchedule, type BatchPredictionScheduleGetResponse, type BatchPredictionScheduleInput, type BatchPredictionScheduleInputAttributes, type BatchPredictionSchedulePatch, type BatchPredictionSchedulePutResponse, type BatchPredictionStatus, type BatchPredictionWriteback, type BinaryImbalanceSampling, type CancelMlJobHttpError, type CancelMlJobHttpResponse, type ChangeType, type ColumnTransform, type ConfigurationKey, type CorrId, type CorrType, type CreateMlDeploymentAliaseHttpError, type CreateMlDeploymentAliaseHttpResponse, type CreateMlDeploymentBatchPredictionHttpError, type CreateMlDeploymentBatchPredictionHttpResponse, type CreateMlDeploymentHttpError, type CreateMlDeploymentHttpResponse, type CreateMlExperimentHttpError, type CreateMlExperimentHttpResponse, type CreateMlExperimentVersionHttpError, type CreateMlExperimentVersionHttpResponse, type CreateMlProfileInsightHttpError, type CreateMlProfileInsightHttpResponse, type CreatedAt, type CreatedBy, type DataSchemaConfiguration, type DataSetId, type DataType, type DatasetOrigin, type DateIndexes, type DeactivateModelsMlDeploymentHttpError, type DeactivateModelsMlDeploymentHttpResponse, type DeleteMlDeploymentAliaseHttpError, type DeleteMlDeploymentAliaseHttpResponse, type DeleteMlDeploymentBatchPredictionHttpError, type DeleteMlDeploymentBatchPredictionHttpResponse, type DeleteMlDeploymentBatchPredictionScheduleHttpError, type DeleteMlDeploymentBatchPredictionScheduleHttpResponse, type DeleteMlDeploymentHttpError, type DeleteMlDeploymentHttpResponse, type DeleteMlExperimentHttpError, type DeleteMlExperimentHttpResponse, type DeleteMlExperimentVersionHttpError, type DeleteMlExperimentVersionHttpResponse, type DeletedAt, type DeployedModelIds, type DeployedModelsInput, type Deployment, type DeploymentFindResponse, type DeploymentGetResponse, type DeploymentId, type DeploymentInput, type DeploymentPatch, type DeploymentPostResponse, type DroppedFeature, type EntityDescription, type EntityId, type EntityName, type EnumSortAliases, type EnumSortBatchPredictions, type EnumSortDeployments, type EnumSortExperimentVersions, type EnumSortExperiments, type EnumSortModels, type ErrorMessage, type Errors, type Experiment, type ExperimentFindResponse, type ExperimentGetResponse, type ExperimentId, type ExperimentInput, type ExperimentMode, type ExperimentModelRecommendationFilter, type ExperimentModelRecommendationPostResponse, type ExperimentPatch, type ExperimentPatchItem, type ExperimentPostResponse, type ExperimentType, type ExperimentVersion, type ExperimentVersionFindResponse, type ExperimentVersionGetResponse, type ExperimentVersionId, type ExperimentVersionInput, type ExperimentVersionPatch, type ExperimentVersionPostResponse, type Failure, type Feature, type FeatureInsights, type FeatureType, type FeaturesList, type FileType, type FindResponseMeta, type GetMlDeploymentAliaseHttpError, type GetMlDeploymentAliaseHttpResponse, type GetMlDeploymentAliasesHttpError, type GetMlDeploymentAliasesHttpResponse, type GetMlDeploymentBatchPredictionHttpError, type GetMlDeploymentBatchPredictionHttpResponse, type GetMlDeploymentBatchPredictionScheduleHttpError, type GetMlDeploymentBatchPredictionScheduleHttpResponse, type GetMlDeploymentBatchPredictionsHttpError, type GetMlDeploymentBatchPredictionsHttpResponse, type GetMlDeploymentHttpError, type GetMlDeploymentHttpResponse, type GetMlDeploymentsHttpError, type GetMlDeploymentsHttpResponse, type GetMlExperimentHttpError, type GetMlExperimentHttpResponse, type GetMlExperimentModelHttpError, type GetMlExperimentModelHttpResponse, type GetMlExperimentModelsHttpError, type GetMlExperimentModelsHttpResponse, type GetMlExperimentVersionHttpError, type GetMlExperimentVersionHttpResponse, type GetMlExperimentVersionsHttpError, type GetMlExperimentVersionsHttpResponse, type GetMlExperimentsHttpError, type GetMlExperimentsHttpResponse, type GetMlProfileInsightHttpError, type GetMlProfileInsightHttpResponse, type GetMlProfileInsightWithQueryHttpError, type GetMlProfileInsightWithQueryHttpResponse, type GroupId, type IndexColumn, type Insights, type JobType, type MlAPI, type Model, type ModelAlgorithm, type ModelAlgorithmAbbreviation, type ModelFindResponse, type ModelForRecommendations, type ModelGetResponse, type ModelId, type ModelInfo, type ModelMetrics, type ModelMetricsBinary, type ModelMetricsMulticlass, type ModelMetricsRegression, type ModelMetricsTimeseries, type ModelState, type ModelStatus, type ModelsInfo, type OutputFile, type OwnerId, type ParentJobId, type PatchMlDeploymentAliaseHttpError, type PatchMlDeploymentAliaseHttpResponse, type PatchMlDeploymentBatchPredictionHttpError, type PatchMlDeploymentBatchPredictionHttpResponse, type PatchMlDeploymentHttpError, type PatchMlDeploymentHttpResponse, type PatchMlExperimentHttpError, type PatchMlExperimentHttpResponse, type PatchMlExperimentVersionHttpError, type PatchMlExperimentVersionHttpResponse, type Pipeline, type PredictMlDeploymentBatchPredictionHttpError, type PredictMlDeploymentBatchPredictionHttpResponse, type PredictionJobResponse, type PreprocessedInsightColumn, type ProfileInsights, type ProfileInsightsGetResponse, type ProfileInsightsInput, type RealTimePredictionInputSchema, type RealTimePredictionSchema, type RealtimePrediction, type RealtimePredictionInput, type RecommendModelsMlExperimentHttpError, type RecommendModelsMlExperimentHttpResponse, type RemoveMlDeploymentModelsHttpError, type RemoveMlDeploymentModelsHttpResponse, type ResponseLinks, type RunMlDeploymentAliaseRealtimePredictionsHttpError, type RunMlDeploymentAliaseRealtimePredictionsHttpResponse, type RunMlDeploymentRealtimePredictionsHttpError, type RunMlDeploymentRealtimePredictionsHttpResponse, type SetMlDeploymentBatchPredictionScheduleHttpError, type SetMlDeploymentBatchPredictionScheduleHttpResponse, type SpaceId, type TenantId, type TimeseriesGroupType, type TrainingDuration, type TrainingMetadata, type Transform, type UpdateMlDeploymentBatchPredictionScheduleHttpError, type UpdateMlDeploymentBatchPredictionScheduleHttpResponse, type UpdatedAt, activateModelsMlDeployment, addMlDeploymentModels, cancelMlJob, clearCache, createMlDeployment, createMlDeploymentAliase, createMlDeploymentBatchPrediction, createMlExperiment, createMlExperimentVersion, createMlProfileInsight, deactivateModelsMlDeployment, mlExport as default, deleteMlDeployment, deleteMlDeploymentAliase, deleteMlDeploymentBatchPrediction, deleteMlDeploymentBatchPredictionSchedule, deleteMlExperiment, deleteMlExperimentVersion, getMlDeployment, getMlDeploymentAliase, getMlDeploymentAliases, getMlDeploymentBatchPrediction, getMlDeploymentBatchPredictionSchedule, getMlDeploymentBatchPredictions, getMlDeployments, getMlExperiment, getMlExperimentModel, getMlExperimentModels, getMlExperimentVersion, getMlExperimentVersions, getMlExperiments, getMlProfileInsight, getMlProfileInsightWithQuery, patchMlDeployment, patchMlDeploymentAliase, patchMlDeploymentBatchPrediction, patchMlExperiment, patchMlExperimentVersion, predictMlDeploymentBatchPrediction, recommendModelsMlExperiment, removeMlDeploymentModels, runMlDeploymentAliaseRealtimePredictions, runMlDeploymentRealtimePredictions, setMlDeploymentBatchPredictionSchedule, updateMlDeploymentBatchPredictionSchedule };
|
package/ml.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
6
|
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/ml.ts
|
|
@@ -284,6 +284,16 @@ async function patchMlExperiment(experimentId, body, options) {
|
|
|
284
284
|
options
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
+
async function recommendModelsMlExperiment(experimentId, body, options) {
|
|
288
|
+
return invokeFetch("ml", {
|
|
289
|
+
method: "post",
|
|
290
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/actions/recommend-models",
|
|
291
|
+
pathVariables: { experimentId },
|
|
292
|
+
body,
|
|
293
|
+
contentType: "application/json",
|
|
294
|
+
options
|
|
295
|
+
});
|
|
296
|
+
}
|
|
287
297
|
async function getMlExperimentModels(experimentId, query, options) {
|
|
288
298
|
return invokeFetch("ml", {
|
|
289
299
|
method: "get",
|
|
@@ -415,6 +425,7 @@ var mlExport = {
|
|
|
415
425
|
deleteMlExperiment,
|
|
416
426
|
getMlExperiment,
|
|
417
427
|
patchMlExperiment,
|
|
428
|
+
recommendModelsMlExperiment,
|
|
418
429
|
getMlExperimentModels,
|
|
419
430
|
getMlExperimentModel,
|
|
420
431
|
getMlExperimentVersions,
|
|
@@ -469,6 +480,7 @@ export {
|
|
|
469
480
|
patchMlExperiment,
|
|
470
481
|
patchMlExperimentVersion,
|
|
471
482
|
predictMlDeploymentBatchPrediction,
|
|
483
|
+
recommendModelsMlExperiment,
|
|
472
484
|
removeMlDeploymentModels,
|
|
473
485
|
runMlDeploymentAliaseRealtimePredictions,
|
|
474
486
|
runMlDeploymentRealtimePredictions,
|