@qlik/api 1.32.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 +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/automations.js
CHANGED
|
@@ -1,131 +1,167 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
9
|
+
async function getAutomations(query, options) {
|
|
10
|
+
return invokeFetch("automations", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/automations",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createAutomation(body, options) {
|
|
18
|
+
return invokeFetch("automations", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/automations",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getAutomationsUsageMetrics(query, options) {
|
|
27
|
+
return invokeFetch("automations", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/automations/usage",
|
|
30
|
+
query,
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function deleteAutomation(id, options) {
|
|
35
|
+
return invokeFetch("automations", {
|
|
36
|
+
method: "delete",
|
|
37
|
+
pathTemplate: "/api/v1/automations/{id}",
|
|
38
|
+
pathVariables: { id },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function getAutomationWithQuery(id, query, options) {
|
|
43
|
+
return invokeFetch("automations", {
|
|
44
|
+
method: "get",
|
|
45
|
+
pathTemplate: "/api/v1/automations/{id}",
|
|
46
|
+
pathVariables: { id },
|
|
47
|
+
query,
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function getAutomation(id, options) {
|
|
52
|
+
return invokeFetch("automations", {
|
|
53
|
+
method: "get",
|
|
54
|
+
pathTemplate: "/api/v1/automations/{id}",
|
|
55
|
+
pathVariables: { id },
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function updateAutomation(id, body, options) {
|
|
60
|
+
return invokeFetch("automations", {
|
|
61
|
+
method: "put",
|
|
62
|
+
pathTemplate: "/api/v1/automations/{id}",
|
|
63
|
+
pathVariables: { id },
|
|
64
|
+
body,
|
|
65
|
+
contentType: "application/json",
|
|
66
|
+
options
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
async function copyAutomation(id, body, options) {
|
|
70
|
+
return invokeFetch("automations", {
|
|
71
|
+
method: "post",
|
|
72
|
+
pathTemplate: "/api/v1/automations/{id}/actions/copy",
|
|
73
|
+
pathVariables: { id },
|
|
74
|
+
body,
|
|
75
|
+
contentType: "application/json",
|
|
76
|
+
options
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
async function disableAutomation(id, options) {
|
|
80
|
+
return invokeFetch("automations", {
|
|
81
|
+
method: "post",
|
|
82
|
+
pathTemplate: "/api/v1/automations/{id}/actions/disable",
|
|
83
|
+
pathVariables: { id },
|
|
84
|
+
options
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
async function enableAutomation(id, options) {
|
|
88
|
+
return invokeFetch("automations", {
|
|
89
|
+
method: "post",
|
|
90
|
+
pathTemplate: "/api/v1/automations/{id}/actions/enable",
|
|
91
|
+
pathVariables: { id },
|
|
92
|
+
options
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
async function moveAutomation(id, body, options) {
|
|
96
|
+
return invokeFetch("automations", {
|
|
97
|
+
method: "post",
|
|
98
|
+
pathTemplate: "/api/v1/automations/{id}/actions/move",
|
|
99
|
+
pathVariables: { id },
|
|
100
|
+
body,
|
|
101
|
+
contentType: "application/json",
|
|
102
|
+
options
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
async function getAutomationRuns(id, query, options) {
|
|
106
|
+
return invokeFetch("automations", {
|
|
107
|
+
method: "get",
|
|
108
|
+
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
109
|
+
pathVariables: { id },
|
|
110
|
+
query,
|
|
111
|
+
options
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
async function queueAutomationRun(id, body, options) {
|
|
115
|
+
return invokeFetch("automations", {
|
|
116
|
+
method: "post",
|
|
117
|
+
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
118
|
+
pathVariables: { id },
|
|
119
|
+
body,
|
|
120
|
+
contentType: "application/json",
|
|
121
|
+
options
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async function getAutomationRunWithQuery(id, runId, query, options) {
|
|
125
|
+
return invokeFetch("automations", {
|
|
126
|
+
method: "get",
|
|
127
|
+
pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
|
|
128
|
+
pathVariables: { id, runId },
|
|
129
|
+
query,
|
|
130
|
+
options
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
async function getAutomationRun(id, runId, options) {
|
|
134
|
+
return invokeFetch("automations", {
|
|
135
|
+
method: "get",
|
|
136
|
+
pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
|
|
137
|
+
pathVariables: { id, runId },
|
|
138
|
+
options
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
async function getAutomationRunDetails(id, runId, options) {
|
|
142
|
+
return invokeFetch("automations", {
|
|
143
|
+
method: "post",
|
|
144
|
+
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
|
|
145
|
+
pathVariables: { id, runId },
|
|
146
|
+
options
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
async function retryAutomationRun(id, runId, options) {
|
|
150
|
+
return invokeFetch("automations", {
|
|
151
|
+
method: "post",
|
|
152
|
+
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
|
|
153
|
+
pathVariables: { id, runId },
|
|
154
|
+
options
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
async function stopAutomationRun(id, runId, options) {
|
|
158
|
+
return invokeFetch("automations", {
|
|
159
|
+
method: "post",
|
|
160
|
+
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
|
|
161
|
+
pathVariables: { id, runId },
|
|
162
|
+
options
|
|
163
|
+
});
|
|
164
|
+
}
|
|
129
165
|
function clearCache() {
|
|
130
166
|
return clearApiCache("automations");
|
|
131
167
|
}
|
package/automl-deployments.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type AppErrorResponse = {
|
|
5
5
|
errors?: Error[];
|
|
@@ -50,7 +50,7 @@ type RealtimePredictionInput = {
|
|
|
50
50
|
* @param body an object with the body content
|
|
51
51
|
* @throws CreateAutomlDeploymentRealtimePredictionHttpError
|
|
52
52
|
*/
|
|
53
|
-
declare
|
|
53
|
+
declare function createAutomlDeploymentRealtimePrediction(deploymentId: string, query: {
|
|
54
54
|
/** If true, will include a column with the reason why a prediction was not produced. */
|
|
55
55
|
includeNotPredictedReason?: boolean;
|
|
56
56
|
/** If true, the shapley values will be included in the response. */
|
|
@@ -59,7 +59,7 @@ declare const createAutomlDeploymentRealtimePrediction: (deploymentId: string, q
|
|
|
59
59
|
includeSource?: boolean;
|
|
60
60
|
/** The name of the feature in the source data to use as an index in the response data. The column will be included with its original name and values. This is intended to allow the caller to join results with source data. */
|
|
61
61
|
index?: string;
|
|
62
|
-
}, body: RealtimePredictionInput, options?: ApiCallOptions)
|
|
62
|
+
}, body: RealtimePredictionInput, options?: ApiCallOptions): Promise<CreateAutomlDeploymentRealtimePredictionHttpResponse>;
|
|
63
63
|
type CreateAutomlDeploymentRealtimePredictionHttpResponse = {
|
|
64
64
|
data: void;
|
|
65
65
|
headers: Headers;
|
package/automl-deployments.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automl-deployments.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
async function createAutomlDeploymentRealtimePrediction(deploymentId, query, body, options) {
|
|
10
|
+
return invokeFetch("automl-deployments", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/automl-deployments/{deploymentId}/realtime-predictions",
|
|
13
|
+
pathVariables: { deploymentId },
|
|
14
|
+
query,
|
|
15
|
+
body,
|
|
16
|
+
contentType: "application/json",
|
|
17
|
+
options
|
|
18
|
+
});
|
|
19
|
+
}
|
|
18
20
|
function clearCache() {
|
|
19
21
|
return clearApiCache("automl-deployments");
|
|
20
22
|
}
|
package/automl-predictions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type AppErrorResponse = {
|
|
5
5
|
errors?: Error[];
|
|
@@ -39,9 +39,9 @@ type Error = {
|
|
|
39
39
|
* @param query an object with query parameters
|
|
40
40
|
* @throws GetAutomlPredictionCoordinateShapHttpError
|
|
41
41
|
*/
|
|
42
|
-
declare
|
|
42
|
+
declare function getAutomlPredictionCoordinateShap(predictionId: string, query: {
|
|
43
43
|
refId?: string;
|
|
44
|
-
}, options?: ApiCallOptions)
|
|
44
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionCoordinateShapHttpResponse>;
|
|
45
45
|
type GetAutomlPredictionCoordinateShapHttpResponse = {
|
|
46
46
|
data: string;
|
|
47
47
|
headers: Headers;
|
|
@@ -58,7 +58,7 @@ type GetAutomlPredictionCoordinateShapHttpError = {
|
|
|
58
58
|
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
59
59
|
* @throws CreateAutomlPredictionJobHttpError
|
|
60
60
|
*/
|
|
61
|
-
declare
|
|
61
|
+
declare function createAutomlPredictionJob(predictionId: string, options?: ApiCallOptions): Promise<CreateAutomlPredictionJobHttpResponse>;
|
|
62
62
|
type CreateAutomlPredictionJobHttpResponse = {
|
|
63
63
|
data: void;
|
|
64
64
|
headers: Headers;
|
|
@@ -76,9 +76,9 @@ type CreateAutomlPredictionJobHttpError = {
|
|
|
76
76
|
* @param query an object with query parameters
|
|
77
77
|
* @throws GetAutomlPredictionNotPredictedReasonsHttpError
|
|
78
78
|
*/
|
|
79
|
-
declare
|
|
79
|
+
declare function getAutomlPredictionNotPredictedReasons(predictionId: string, query: {
|
|
80
80
|
refId?: string;
|
|
81
|
-
}, options?: ApiCallOptions)
|
|
81
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionNotPredictedReasonsHttpResponse>;
|
|
82
82
|
type GetAutomlPredictionNotPredictedReasonsHttpResponse = {
|
|
83
83
|
data: string;
|
|
84
84
|
headers: Headers;
|
|
@@ -96,9 +96,9 @@ type GetAutomlPredictionNotPredictedReasonsHttpError = {
|
|
|
96
96
|
* @param query an object with query parameters
|
|
97
97
|
* @throws GetAutomlPredictionPredictionsHttpError
|
|
98
98
|
*/
|
|
99
|
-
declare
|
|
99
|
+
declare function getAutomlPredictionPredictions(predictionId: string, query: {
|
|
100
100
|
refId?: string;
|
|
101
|
-
}, options?: ApiCallOptions)
|
|
101
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionPredictionsHttpResponse>;
|
|
102
102
|
type GetAutomlPredictionPredictionsHttpResponse = {
|
|
103
103
|
data: void;
|
|
104
104
|
headers: Headers;
|
|
@@ -116,9 +116,9 @@ type GetAutomlPredictionPredictionsHttpError = {
|
|
|
116
116
|
* @param query an object with query parameters
|
|
117
117
|
* @throws GetAutomlPredictionShapHttpError
|
|
118
118
|
*/
|
|
119
|
-
declare
|
|
119
|
+
declare function getAutomlPredictionShap(predictionId: string, query: {
|
|
120
120
|
refId?: string;
|
|
121
|
-
}, options?: ApiCallOptions)
|
|
121
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionShapHttpResponse>;
|
|
122
122
|
type GetAutomlPredictionShapHttpResponse = {
|
|
123
123
|
data: void;
|
|
124
124
|
headers: Headers;
|
|
@@ -136,9 +136,9 @@ type GetAutomlPredictionShapHttpError = {
|
|
|
136
136
|
* @param query an object with query parameters
|
|
137
137
|
* @throws GetAutomlPredictionSourceHttpError
|
|
138
138
|
*/
|
|
139
|
-
declare
|
|
139
|
+
declare function getAutomlPredictionSource(predictionId: string, query: {
|
|
140
140
|
refId?: string;
|
|
141
|
-
}, options?: ApiCallOptions)
|
|
141
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionSourceHttpResponse>;
|
|
142
142
|
type GetAutomlPredictionSourceHttpResponse = {
|
|
143
143
|
data: string;
|
|
144
144
|
headers: Headers;
|
package/automl-predictions.js
CHANGED
|
@@ -1,52 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automl-predictions.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
9
|
+
async function getAutomlPredictionCoordinateShap(predictionId, query, options) {
|
|
10
|
+
return invokeFetch("automl-predictions", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/coordinate-shap",
|
|
13
|
+
pathVariables: { predictionId },
|
|
14
|
+
query,
|
|
15
|
+
options
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function createAutomlPredictionJob(predictionId, options) {
|
|
19
|
+
return invokeFetch("automl-predictions", {
|
|
20
|
+
method: "post",
|
|
21
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/jobs",
|
|
22
|
+
pathVariables: { predictionId },
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getAutomlPredictionNotPredictedReasons(predictionId, query, options) {
|
|
27
|
+
return invokeFetch("automl-predictions", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/not-predicted-reasons",
|
|
30
|
+
pathVariables: { predictionId },
|
|
31
|
+
query,
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function getAutomlPredictionPredictions(predictionId, query, options) {
|
|
36
|
+
return invokeFetch("automl-predictions", {
|
|
37
|
+
method: "get",
|
|
38
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/predictions",
|
|
39
|
+
pathVariables: { predictionId },
|
|
40
|
+
query,
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function getAutomlPredictionShap(predictionId, query, options) {
|
|
45
|
+
return invokeFetch("automl-predictions", {
|
|
46
|
+
method: "get",
|
|
47
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/shap",
|
|
48
|
+
pathVariables: { predictionId },
|
|
49
|
+
query,
|
|
50
|
+
options
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
async function getAutomlPredictionSource(predictionId, query, options) {
|
|
54
|
+
return invokeFetch("automl-predictions", {
|
|
55
|
+
method: "get",
|
|
56
|
+
pathTemplate: "/api/v1/automl-predictions/{predictionId}/source",
|
|
57
|
+
pathVariables: { predictionId },
|
|
58
|
+
query,
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
50
62
|
function clearCache() {
|
|
51
63
|
return clearApiCache("automl-predictions");
|
|
52
64
|
}
|