@qlik/api 1.31.0 → 1.33.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 +10 -10
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +1301 -0
- package/assistants.js +329 -0
- 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 +366 -0
- package/automation-connections.js +107 -0
- package/automations.d.ts +27 -27
- package/automations.js +159 -123
- package/automl-deployments.d.ts +97 -0
- package/automl-deployments.js +29 -0
- package/automl-predictions.d.ts +214 -0
- package/automl-predictions.js +84 -0
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
- package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +662 -0
- package/conditions.js +135 -0
- package/consumption.d.ts +182 -0
- package/consumption.js +26 -0
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +62 -0
- package/csrf-token.js +25 -0
- package/data-alerts.d.ts +1004 -0
- package/data-alerts.js +187 -0
- 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 +175 -0
- package/data-qualities.js +50 -0
- package/data-sets.d.ts +424 -0
- package/data-sets.js +87 -0
- package/data-sources.d.ts +268 -0
- package/data-sources.js +45 -0
- package/data-stores.d.ts +537 -0
- package/data-stores.js +128 -0
- package/dcaas.d.ts +192 -0
- package/dcaas.js +45 -0
- package/di-projects.d.ts +673 -0
- package/di-projects.js +196 -0
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +370 -0
- package/encryption.js +118 -0
- 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 +113 -4
- package/index.js +626 -40
- 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 +890 -0
- package/knowledgebases.js +203 -0
- package/licenses.d.ts +14 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +712 -0
- package/lineage-graphs.js +108 -0
- package/ml.d.ts +2676 -0
- package/ml.js +477 -0
- package/notes.d.ts +110 -0
- package/notes.js +35 -0
- package/notifications.d.ts +98 -0
- package/notifications.js +26 -0
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +126 -0
- package/oauth-tokens.js +35 -0
- package/package.json +34 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +364 -0
- package/questions.js +38 -0
- 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 +287 -0
- package/report-templates.js +94 -0
- 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 +952 -0
- package/sharing-tasks.js +125 -0
- package/spaces.d.ts +22 -22
- package/spaces.js +153 -119
- package/tasks.d.ts +564 -0
- package/tasks.js +126 -0
- 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 +274 -0
- package/ui-config.js +91 -0
- 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/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.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
|
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
|
+
|
|
4
|
+
type AppErrorResponse = {
|
|
5
|
+
errors?: Error[];
|
|
6
|
+
};
|
|
7
|
+
type Error = {
|
|
8
|
+
/** The argument */
|
|
9
|
+
argument?: string;
|
|
10
|
+
/** The unique code for the error */
|
|
11
|
+
code: string;
|
|
12
|
+
/** The unique id of the error instance */
|
|
13
|
+
errorId?: string;
|
|
14
|
+
/** The issue code */
|
|
15
|
+
issue?: string;
|
|
16
|
+
meta?: {
|
|
17
|
+
/** The argument */
|
|
18
|
+
argument?: string;
|
|
19
|
+
/** Extra details for what may have caused the error */
|
|
20
|
+
details?: string;
|
|
21
|
+
/** The unique id of the error instance */
|
|
22
|
+
errorId?: string;
|
|
23
|
+
/** The resource type that the error occurred on */
|
|
24
|
+
resource?: string;
|
|
25
|
+
/** The resource id that the error occurred on */
|
|
26
|
+
resourceId?: string;
|
|
27
|
+
};
|
|
28
|
+
/** The resource type that the error occurred on */
|
|
29
|
+
resource?: string;
|
|
30
|
+
/** The resource id that the error occurred on */
|
|
31
|
+
resourceId?: string;
|
|
32
|
+
/** A summary of what went wrong */
|
|
33
|
+
title?: string;
|
|
34
|
+
};
|
|
35
|
+
type RealTimePredictionInputSchema = {
|
|
36
|
+
/** The name of a feature in the dataset. */
|
|
37
|
+
name?: string;
|
|
38
|
+
};
|
|
39
|
+
type RealtimePredictionInput = {
|
|
40
|
+
/** The rows of the dataset to produce predictions from. Date features must be in ISO 8601 format. */
|
|
41
|
+
rows?: string[][];
|
|
42
|
+
/** The schema of the input dataset. */
|
|
43
|
+
schema?: RealTimePredictionInputSchema[];
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Generates predictions in a synchronous request and response.
|
|
47
|
+
*
|
|
48
|
+
* @param deploymentId The ID of the ML deployed model that will be employed to produce predictions.
|
|
49
|
+
* @param query an object with query parameters
|
|
50
|
+
* @param body an object with the body content
|
|
51
|
+
* @throws CreateAutomlDeploymentRealtimePredictionHttpError
|
|
52
|
+
*/
|
|
53
|
+
declare function createAutomlDeploymentRealtimePrediction(deploymentId: string, query: {
|
|
54
|
+
/** If true, will include a column with the reason why a prediction was not produced. */
|
|
55
|
+
includeNotPredictedReason?: boolean;
|
|
56
|
+
/** If true, the shapley values will be included in the response. */
|
|
57
|
+
includeShap?: boolean;
|
|
58
|
+
/** If true, the source data will be included in the response */
|
|
59
|
+
includeSource?: boolean;
|
|
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
|
+
index?: string;
|
|
62
|
+
}, body: RealtimePredictionInput, options?: ApiCallOptions): Promise<CreateAutomlDeploymentRealtimePredictionHttpResponse>;
|
|
63
|
+
type CreateAutomlDeploymentRealtimePredictionHttpResponse = {
|
|
64
|
+
data: void;
|
|
65
|
+
headers: Headers;
|
|
66
|
+
status: 200;
|
|
67
|
+
};
|
|
68
|
+
type CreateAutomlDeploymentRealtimePredictionHttpError = {
|
|
69
|
+
data: AppErrorResponse;
|
|
70
|
+
headers: Headers;
|
|
71
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Clears the cache for automl-deployments api requests.
|
|
75
|
+
*/
|
|
76
|
+
declare function clearCache(): void;
|
|
77
|
+
interface AutomlDeploymentsAPI {
|
|
78
|
+
/**
|
|
79
|
+
* Generates predictions in a synchronous request and response.
|
|
80
|
+
*
|
|
81
|
+
* @param deploymentId The ID of the ML deployed model that will be employed to produce predictions.
|
|
82
|
+
* @param query an object with query parameters
|
|
83
|
+
* @param body an object with the body content
|
|
84
|
+
* @throws CreateAutomlDeploymentRealtimePredictionHttpError
|
|
85
|
+
*/
|
|
86
|
+
createAutomlDeploymentRealtimePrediction: typeof createAutomlDeploymentRealtimePrediction;
|
|
87
|
+
/**
|
|
88
|
+
* Clears the cache for automl-deployments api requests.
|
|
89
|
+
*/
|
|
90
|
+
clearCache: typeof clearCache;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Functions for the automl-deployments api
|
|
94
|
+
*/
|
|
95
|
+
declare const automlDeploymentsExport: AutomlDeploymentsAPI;
|
|
96
|
+
|
|
97
|
+
export { type AppErrorResponse, type AutomlDeploymentsAPI, type CreateAutomlDeploymentRealtimePredictionHttpError, type CreateAutomlDeploymentRealtimePredictionHttpResponse, type Error, type RealTimePredictionInputSchema, type RealtimePredictionInput, clearCache, createAutomlDeploymentRealtimePrediction, automlDeploymentsExport as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
|
+
|
|
8
|
+
// src/public/rest/automl-deployments.ts
|
|
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
|
+
}
|
|
20
|
+
function clearCache() {
|
|
21
|
+
return clearApiCache("automl-deployments");
|
|
22
|
+
}
|
|
23
|
+
var automlDeploymentsExport = { createAutomlDeploymentRealtimePrediction, clearCache };
|
|
24
|
+
var automl_deployments_default = automlDeploymentsExport;
|
|
25
|
+
export {
|
|
26
|
+
clearCache,
|
|
27
|
+
createAutomlDeploymentRealtimePrediction,
|
|
28
|
+
automl_deployments_default as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
|
+
|
|
4
|
+
type AppErrorResponse = {
|
|
5
|
+
errors?: Error[];
|
|
6
|
+
};
|
|
7
|
+
type Error = {
|
|
8
|
+
/** The argument */
|
|
9
|
+
argument?: string;
|
|
10
|
+
/** The unique code for the error */
|
|
11
|
+
code: string;
|
|
12
|
+
/** The unique id of the error instance */
|
|
13
|
+
errorId?: string;
|
|
14
|
+
/** The issue code */
|
|
15
|
+
issue?: string;
|
|
16
|
+
meta?: {
|
|
17
|
+
/** The argument */
|
|
18
|
+
argument?: string;
|
|
19
|
+
/** Extra details for what may have caused the error */
|
|
20
|
+
details?: string;
|
|
21
|
+
/** The unique id of the error instance */
|
|
22
|
+
errorId?: string;
|
|
23
|
+
/** The resource type that the error occurred on */
|
|
24
|
+
resource?: string;
|
|
25
|
+
/** The resource id that the error occurred on */
|
|
26
|
+
resourceId?: string;
|
|
27
|
+
};
|
|
28
|
+
/** The resource type that the error occurred on */
|
|
29
|
+
resource?: string;
|
|
30
|
+
/** The resource id that the error occurred on */
|
|
31
|
+
resourceId?: string;
|
|
32
|
+
/** A summary of what went wrong */
|
|
33
|
+
title?: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Returns a file containing the shapley values in coordinate form that are associated with a prediction ID.
|
|
37
|
+
*
|
|
38
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
39
|
+
* @param query an object with query parameters
|
|
40
|
+
* @throws GetAutomlPredictionCoordinateShapHttpError
|
|
41
|
+
*/
|
|
42
|
+
declare function getAutomlPredictionCoordinateShap(predictionId: string, query: {
|
|
43
|
+
refId?: string;
|
|
44
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionCoordinateShapHttpResponse>;
|
|
45
|
+
type GetAutomlPredictionCoordinateShapHttpResponse = {
|
|
46
|
+
data: string;
|
|
47
|
+
headers: Headers;
|
|
48
|
+
status: 200;
|
|
49
|
+
};
|
|
50
|
+
type GetAutomlPredictionCoordinateShapHttpError = {
|
|
51
|
+
data: AppErrorResponse;
|
|
52
|
+
headers: Headers;
|
|
53
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Retrieve jobs that are associated with a prediction. Job with correlation type `prediction`.
|
|
57
|
+
*
|
|
58
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
59
|
+
* @throws CreateAutomlPredictionJobHttpError
|
|
60
|
+
*/
|
|
61
|
+
declare function createAutomlPredictionJob(predictionId: string, options?: ApiCallOptions): Promise<CreateAutomlPredictionJobHttpResponse>;
|
|
62
|
+
type CreateAutomlPredictionJobHttpResponse = {
|
|
63
|
+
data: void;
|
|
64
|
+
headers: Headers;
|
|
65
|
+
status: 200;
|
|
66
|
+
};
|
|
67
|
+
type CreateAutomlPredictionJobHttpError = {
|
|
68
|
+
data: AppErrorResponse;
|
|
69
|
+
headers: Headers;
|
|
70
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Returns a file containing any rows in a prediction operation where a prediction was unable to be produced.
|
|
74
|
+
*
|
|
75
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
76
|
+
* @param query an object with query parameters
|
|
77
|
+
* @throws GetAutomlPredictionNotPredictedReasonsHttpError
|
|
78
|
+
*/
|
|
79
|
+
declare function getAutomlPredictionNotPredictedReasons(predictionId: string, query: {
|
|
80
|
+
refId?: string;
|
|
81
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionNotPredictedReasonsHttpResponse>;
|
|
82
|
+
type GetAutomlPredictionNotPredictedReasonsHttpResponse = {
|
|
83
|
+
data: string;
|
|
84
|
+
headers: Headers;
|
|
85
|
+
status: 200;
|
|
86
|
+
};
|
|
87
|
+
type GetAutomlPredictionNotPredictedReasonsHttpError = {
|
|
88
|
+
data: AppErrorResponse;
|
|
89
|
+
headers: Headers;
|
|
90
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Returns a file containing the predicted values that are associated with a prediction ID.
|
|
94
|
+
*
|
|
95
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
96
|
+
* @param query an object with query parameters
|
|
97
|
+
* @throws GetAutomlPredictionPredictionsHttpError
|
|
98
|
+
*/
|
|
99
|
+
declare function getAutomlPredictionPredictions(predictionId: string, query: {
|
|
100
|
+
refId?: string;
|
|
101
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionPredictionsHttpResponse>;
|
|
102
|
+
type GetAutomlPredictionPredictionsHttpResponse = {
|
|
103
|
+
data: void;
|
|
104
|
+
headers: Headers;
|
|
105
|
+
status: 200;
|
|
106
|
+
};
|
|
107
|
+
type GetAutomlPredictionPredictionsHttpError = {
|
|
108
|
+
data: AppErrorResponse;
|
|
109
|
+
headers: Headers;
|
|
110
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Returns a file containing the shapley values that are associated with a prediction ID.
|
|
114
|
+
*
|
|
115
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
116
|
+
* @param query an object with query parameters
|
|
117
|
+
* @throws GetAutomlPredictionShapHttpError
|
|
118
|
+
*/
|
|
119
|
+
declare function getAutomlPredictionShap(predictionId: string, query: {
|
|
120
|
+
refId?: string;
|
|
121
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionShapHttpResponse>;
|
|
122
|
+
type GetAutomlPredictionShapHttpResponse = {
|
|
123
|
+
data: void;
|
|
124
|
+
headers: Headers;
|
|
125
|
+
status: 200;
|
|
126
|
+
};
|
|
127
|
+
type GetAutomlPredictionShapHttpError = {
|
|
128
|
+
data: AppErrorResponse;
|
|
129
|
+
headers: Headers;
|
|
130
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Returns a file containing the source values and an index field that are associated with a prediction ID.
|
|
134
|
+
*
|
|
135
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
136
|
+
* @param query an object with query parameters
|
|
137
|
+
* @throws GetAutomlPredictionSourceHttpError
|
|
138
|
+
*/
|
|
139
|
+
declare function getAutomlPredictionSource(predictionId: string, query: {
|
|
140
|
+
refId?: string;
|
|
141
|
+
}, options?: ApiCallOptions): Promise<GetAutomlPredictionSourceHttpResponse>;
|
|
142
|
+
type GetAutomlPredictionSourceHttpResponse = {
|
|
143
|
+
data: string;
|
|
144
|
+
headers: Headers;
|
|
145
|
+
status: 200;
|
|
146
|
+
};
|
|
147
|
+
type GetAutomlPredictionSourceHttpError = {
|
|
148
|
+
data: AppErrorResponse;
|
|
149
|
+
headers: Headers;
|
|
150
|
+
status: 400 | 401 | 403 | 404 | 409 | 503;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Clears the cache for automl-predictions api requests.
|
|
154
|
+
*/
|
|
155
|
+
declare function clearCache(): void;
|
|
156
|
+
interface AutomlPredictionsAPI {
|
|
157
|
+
/**
|
|
158
|
+
* Returns a file containing the shapley values in coordinate form that are associated with a prediction ID.
|
|
159
|
+
*
|
|
160
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
161
|
+
* @param query an object with query parameters
|
|
162
|
+
* @throws GetAutomlPredictionCoordinateShapHttpError
|
|
163
|
+
*/
|
|
164
|
+
getAutomlPredictionCoordinateShap: typeof getAutomlPredictionCoordinateShap;
|
|
165
|
+
/**
|
|
166
|
+
* Retrieve jobs that are associated with a prediction. Job with correlation type `prediction`.
|
|
167
|
+
*
|
|
168
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
169
|
+
* @throws CreateAutomlPredictionJobHttpError
|
|
170
|
+
*/
|
|
171
|
+
createAutomlPredictionJob: typeof createAutomlPredictionJob;
|
|
172
|
+
/**
|
|
173
|
+
* Returns a file containing any rows in a prediction operation where a prediction was unable to be produced.
|
|
174
|
+
*
|
|
175
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
176
|
+
* @param query an object with query parameters
|
|
177
|
+
* @throws GetAutomlPredictionNotPredictedReasonsHttpError
|
|
178
|
+
*/
|
|
179
|
+
getAutomlPredictionNotPredictedReasons: typeof getAutomlPredictionNotPredictedReasons;
|
|
180
|
+
/**
|
|
181
|
+
* Returns a file containing the predicted values that are associated with a prediction ID.
|
|
182
|
+
*
|
|
183
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
184
|
+
* @param query an object with query parameters
|
|
185
|
+
* @throws GetAutomlPredictionPredictionsHttpError
|
|
186
|
+
*/
|
|
187
|
+
getAutomlPredictionPredictions: typeof getAutomlPredictionPredictions;
|
|
188
|
+
/**
|
|
189
|
+
* Returns a file containing the shapley values that are associated with a prediction ID.
|
|
190
|
+
*
|
|
191
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
192
|
+
* @param query an object with query parameters
|
|
193
|
+
* @throws GetAutomlPredictionShapHttpError
|
|
194
|
+
*/
|
|
195
|
+
getAutomlPredictionShap: typeof getAutomlPredictionShap;
|
|
196
|
+
/**
|
|
197
|
+
* Returns a file containing the source values and an index field that are associated with a prediction ID.
|
|
198
|
+
*
|
|
199
|
+
* @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
|
|
200
|
+
* @param query an object with query parameters
|
|
201
|
+
* @throws GetAutomlPredictionSourceHttpError
|
|
202
|
+
*/
|
|
203
|
+
getAutomlPredictionSource: typeof getAutomlPredictionSource;
|
|
204
|
+
/**
|
|
205
|
+
* Clears the cache for automl-predictions api requests.
|
|
206
|
+
*/
|
|
207
|
+
clearCache: typeof clearCache;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Functions for the automl-predictions api
|
|
211
|
+
*/
|
|
212
|
+
declare const automlPredictionsExport: AutomlPredictionsAPI;
|
|
213
|
+
|
|
214
|
+
export { type AppErrorResponse, type AutomlPredictionsAPI, type CreateAutomlPredictionJobHttpError, type CreateAutomlPredictionJobHttpResponse, type Error, type GetAutomlPredictionCoordinateShapHttpError, type GetAutomlPredictionCoordinateShapHttpResponse, type GetAutomlPredictionNotPredictedReasonsHttpError, type GetAutomlPredictionNotPredictedReasonsHttpResponse, type GetAutomlPredictionPredictionsHttpError, type GetAutomlPredictionPredictionsHttpResponse, type GetAutomlPredictionShapHttpError, type GetAutomlPredictionShapHttpResponse, type GetAutomlPredictionSourceHttpError, type GetAutomlPredictionSourceHttpResponse, clearCache, createAutomlPredictionJob, automlPredictionsExport as default, getAutomlPredictionCoordinateShap, getAutomlPredictionNotPredictedReasons, getAutomlPredictionPredictions, getAutomlPredictionShap, getAutomlPredictionSource };
|