@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.
Files changed (142) hide show
  1. package/api-keys.d.ts +10 -10
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +1301 -0
  6. package/assistants.js +329 -0
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +366 -0
  13. package/automation-connections.js +107 -0
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +29 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +84 -0
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +662 -0
  36. package/conditions.js +135 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +26 -0
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +25 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +187 -0
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +175 -0
  54. package/data-qualities.js +50 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +87 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +45 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +128 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +45 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +196 -0
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +370 -0
  68. package/encryption.js +118 -0
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +113 -4
  78. package/index.js +626 -40
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +890 -0
  85. package/knowledgebases.js +203 -0
  86. package/licenses.d.ts +14 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +712 -0
  89. package/lineage-graphs.js +108 -0
  90. package/ml.d.ts +2676 -0
  91. package/ml.js +477 -0
  92. package/notes.d.ts +110 -0
  93. package/notes.js +35 -0
  94. package/notifications.d.ts +98 -0
  95. package/notifications.js +26 -0
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +126 -0
  99. package/oauth-tokens.js +35 -0
  100. package/package.json +34 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +364 -0
  104. package/questions.js +38 -0
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +287 -0
  112. package/report-templates.js +94 -0
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +952 -0
  118. package/sharing-tasks.js +125 -0
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +564 -0
  122. package/tasks.js +126 -0
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +274 -0
  132. package/ui-config.js +91 -0
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. 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/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
6
- import "./chunks/2ZQ3ZX7F.js";
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
- var getAutomations = async (query, options) => invokeFetch("automations", {
10
- method: "get",
11
- pathTemplate: "/api/v1/automations",
12
- query,
13
- options
14
- });
15
- var createAutomation = async (body, options) => invokeFetch("automations", {
16
- method: "post",
17
- pathTemplate: "/api/v1/automations",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var getAutomationsUsageMetrics = async (query, options) => invokeFetch("automations", {
23
- method: "get",
24
- pathTemplate: "/api/v1/automations/usage",
25
- query,
26
- options
27
- });
28
- var deleteAutomation = async (id, options) => invokeFetch("automations", {
29
- method: "delete",
30
- pathTemplate: "/api/v1/automations/{id}",
31
- pathVariables: { id },
32
- options
33
- });
34
- var getAutomationWithQuery = async (id, query, options) => invokeFetch("automations", {
35
- method: "get",
36
- pathTemplate: "/api/v1/automations/{id}",
37
- pathVariables: { id },
38
- query,
39
- options
40
- });
41
- var getAutomation = async (id, options) => invokeFetch("automations", {
42
- method: "get",
43
- pathTemplate: "/api/v1/automations/{id}",
44
- pathVariables: { id },
45
- options
46
- });
47
- var updateAutomation = async (id, body, options) => invokeFetch("automations", {
48
- method: "put",
49
- pathTemplate: "/api/v1/automations/{id}",
50
- pathVariables: { id },
51
- body,
52
- contentType: "application/json",
53
- options
54
- });
55
- var copyAutomation = async (id, body, options) => invokeFetch("automations", {
56
- method: "post",
57
- pathTemplate: "/api/v1/automations/{id}/actions/copy",
58
- pathVariables: { id },
59
- body,
60
- contentType: "application/json",
61
- options
62
- });
63
- var disableAutomation = async (id, options) => invokeFetch("automations", {
64
- method: "post",
65
- pathTemplate: "/api/v1/automations/{id}/actions/disable",
66
- pathVariables: { id },
67
- options
68
- });
69
- var enableAutomation = async (id, options) => invokeFetch("automations", {
70
- method: "post",
71
- pathTemplate: "/api/v1/automations/{id}/actions/enable",
72
- pathVariables: { id },
73
- options
74
- });
75
- var moveAutomation = async (id, body, options) => invokeFetch("automations", {
76
- method: "post",
77
- pathTemplate: "/api/v1/automations/{id}/actions/move",
78
- pathVariables: { id },
79
- body,
80
- contentType: "application/json",
81
- options
82
- });
83
- var getAutomationRuns = async (id, query, options) => invokeFetch("automations", {
84
- method: "get",
85
- pathTemplate: "/api/v1/automations/{id}/runs",
86
- pathVariables: { id },
87
- query,
88
- options
89
- });
90
- var queueAutomationRun = async (id, body, options) => invokeFetch("automations", {
91
- method: "post",
92
- pathTemplate: "/api/v1/automations/{id}/runs",
93
- pathVariables: { id },
94
- body,
95
- contentType: "application/json",
96
- options
97
- });
98
- var getAutomationRunWithQuery = async (id, runId, query, options) => invokeFetch("automations", {
99
- method: "get",
100
- pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
101
- pathVariables: { id, runId },
102
- query,
103
- options
104
- });
105
- var getAutomationRun = async (id, runId, options) => invokeFetch("automations", {
106
- method: "get",
107
- pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
108
- pathVariables: { id, runId },
109
- options
110
- });
111
- var getAutomationRunDetails = async (id, runId, options) => invokeFetch("automations", {
112
- method: "post",
113
- pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
114
- pathVariables: { id, runId },
115
- options
116
- });
117
- var retryAutomationRun = async (id, runId, options) => invokeFetch("automations", {
118
- method: "post",
119
- pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
120
- pathVariables: { id, runId },
121
- options
122
- });
123
- var stopAutomationRun = async (id, runId, options) => invokeFetch("automations", {
124
- method: "post",
125
- pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
126
- pathVariables: { id, runId },
127
- options
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 };