@qlik/api 1.32.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 +34 -34
  6. package/assistants.js +257 -201
  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 +12 -12
  13. package/automation-connections.js +75 -59
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +4 -4
  17. package/automl-deployments.js +14 -12
  18. package/automl-predictions.d.ts +13 -13
  19. package/automl-predictions.js +56 -44
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{VVD2DPKQ.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/{RCLKKVYB.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 +13 -13
  36. package/conditions.js +97 -75
  37. package/consumption.d.ts +4 -4
  38. package/consumption.js +11 -9
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +3 -3
  42. package/csrf-token.js +10 -8
  43. package/data-alerts.d.ts +22 -22
  44. package/data-alerts.js +139 -107
  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 +6 -6
  54. package/data-qualities.js +28 -22
  55. package/data-sets.d.ts +10 -10
  56. package/data-sets.js +59 -47
  57. package/data-sources.d.ts +7 -7
  58. package/data-sources.js +28 -22
  59. package/data-stores.d.ts +16 -16
  60. package/data-stores.js +92 -72
  61. package/dcaas.d.ts +6 -6
  62. package/dcaas.js +28 -22
  63. package/di-projects.d.ts +22 -22
  64. package/di-projects.js +148 -116
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +12 -12
  68. package/encryption.js +82 -62
  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 +9 -4
  78. package/index.js +101 -67
  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 +23 -23
  85. package/knowledgebases.js +153 -119
  86. package/licenses.d.ts +13 -13
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +17 -17
  89. package/lineage-graphs.js +76 -60
  90. package/ml.d.ts +100 -52
  91. package/ml.js +379 -286
  92. package/notes.d.ts +4 -4
  93. package/notes.js +19 -15
  94. package/notifications.d.ts +4 -4
  95. package/notifications.js +11 -9
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +5 -5
  99. package/oauth-tokens.js +19 -15
  100. package/package.json +8 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +5 -5
  104. package/questions.js +22 -18
  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 +10 -10
  112. package/report-templates.js +64 -50
  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 +14 -14
  118. package/sharing-tasks.js +89 -69
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +17 -17
  122. package/tasks.js +90 -70
  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 +9 -9
  132. package/ui-config.js +61 -47
  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/ml.js CHANGED
@@ -1,294 +1,385 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.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/ml.ts
9
- var getMlDeployments = async (query, options) => invokeFetch("ml", {
10
- method: "get",
11
- pathTemplate: "/api/v1/ml/deployments",
12
- query,
13
- options
14
- });
15
- var createMlDeployment = async (body, options) => invokeFetch("ml", {
16
- method: "post",
17
- pathTemplate: "/api/v1/ml/deployments",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var deleteMlDeployment = async (deploymentId, options) => invokeFetch("ml", {
23
- method: "delete",
24
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
25
- pathVariables: { deploymentId },
26
- options
27
- });
28
- var getMlDeployment = async (deploymentId, options) => invokeFetch("ml", {
29
- method: "get",
30
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
31
- pathVariables: { deploymentId },
32
- options
33
- });
34
- var patchMlDeployment = async (deploymentId, body, options) => invokeFetch("ml", {
35
- method: "patch",
36
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
37
- pathVariables: { deploymentId },
38
- body,
39
- contentType: "application/json",
40
- options
41
- });
42
- var activateModelsMlDeployment = async (deploymentId, options) => invokeFetch("ml", {
43
- method: "post",
44
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/activate-models",
45
- pathVariables: { deploymentId },
46
- options
47
- });
48
- var deactivateModelsMlDeployment = async (deploymentId, options) => invokeFetch("ml", {
49
- method: "post",
50
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/deactivate-models",
51
- pathVariables: { deploymentId },
52
- options
53
- });
54
- var getMlDeploymentAliases = async (deploymentId, query, options) => invokeFetch("ml", {
55
- method: "get",
56
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
57
- pathVariables: { deploymentId },
58
- query,
59
- options
60
- });
61
- var createMlDeploymentAliase = async (deploymentId, body, options) => invokeFetch("ml", {
62
- method: "post",
63
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
64
- pathVariables: { deploymentId },
65
- body,
66
- contentType: "application/json",
67
- options
68
- });
69
- var deleteMlDeploymentAliase = async (deploymentId, aliasId, options) => invokeFetch("ml", {
70
- method: "delete",
71
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
72
- pathVariables: { deploymentId, aliasId },
73
- options
74
- });
75
- var getMlDeploymentAliase = async (deploymentId, aliasId, options) => invokeFetch("ml", {
76
- method: "get",
77
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
78
- pathVariables: { deploymentId, aliasId },
79
- options
80
- });
81
- var patchMlDeploymentAliase = async (deploymentId, aliasId, body, options) => invokeFetch("ml", {
82
- method: "patch",
83
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
84
- pathVariables: { deploymentId, aliasId },
85
- body,
86
- contentType: "application/json",
87
- options
88
- });
89
- var runMlDeploymentAliaseRealtimePredictions = async (deploymentId, aliasName, query, body, options) => invokeFetch("ml", {
90
- method: "post",
91
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasName}/realtime-predictions/actions/run",
92
- pathVariables: { deploymentId, aliasName },
93
- query,
94
- body,
95
- contentType: "application/json",
96
- options
97
- });
98
- var getMlDeploymentBatchPredictions = async (deploymentId, query, options) => invokeFetch("ml", {
99
- method: "get",
100
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
101
- pathVariables: { deploymentId },
102
- query,
103
- options
104
- });
105
- var createMlDeploymentBatchPrediction = async (deploymentId, body, options) => invokeFetch("ml", {
106
- method: "post",
107
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
108
- pathVariables: { deploymentId },
109
- body,
110
- contentType: "application/json",
111
- options
112
- });
113
- var deleteMlDeploymentBatchPrediction = async (deploymentId, batchPredictionId, options) => invokeFetch("ml", {
114
- method: "delete",
115
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
116
- pathVariables: { deploymentId, batchPredictionId },
117
- options
118
- });
119
- var getMlDeploymentBatchPrediction = async (deploymentId, batchPredictionId, options) => invokeFetch("ml", {
120
- method: "get",
121
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
122
- pathVariables: { deploymentId, batchPredictionId },
123
- options
124
- });
125
- var patchMlDeploymentBatchPrediction = async (deploymentId, batchPredictionId, body, options) => invokeFetch("ml", {
126
- method: "patch",
127
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
128
- pathVariables: { deploymentId, batchPredictionId },
129
- body,
130
- contentType: "application/json",
131
- options
132
- });
133
- var predictMlDeploymentBatchPrediction = async (deploymentId, batchPredictionId, options) => invokeFetch("ml", {
134
- method: "post",
135
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict",
136
- pathVariables: { deploymentId, batchPredictionId },
137
- options
138
- });
139
- var deleteMlDeploymentBatchPredictionSchedule = async (deploymentId, batchPredictionId, options) => invokeFetch("ml", {
140
- method: "delete",
141
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
142
- pathVariables: { deploymentId, batchPredictionId },
143
- options
144
- });
145
- var getMlDeploymentBatchPredictionSchedule = async (deploymentId, batchPredictionId, options) => invokeFetch("ml", {
146
- method: "get",
147
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
148
- pathVariables: { deploymentId, batchPredictionId },
149
- options
150
- });
151
- var updateMlDeploymentBatchPredictionSchedule = async (deploymentId, batchPredictionId, body, options) => invokeFetch("ml", {
152
- method: "patch",
153
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
154
- pathVariables: { deploymentId, batchPredictionId },
155
- body,
156
- contentType: "application/json",
157
- options
158
- });
159
- var setMlDeploymentBatchPredictionSchedule = async (deploymentId, batchPredictionId, body, options) => invokeFetch("ml", {
160
- method: "put",
161
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
162
- pathVariables: { deploymentId, batchPredictionId },
163
- body,
164
- contentType: "application/json",
165
- options
166
- });
167
- var addMlDeploymentModels = async (deploymentId, body, options) => invokeFetch("ml", {
168
- method: "post",
169
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/add",
170
- pathVariables: { deploymentId },
171
- body,
172
- contentType: "application/json",
173
- options
174
- });
175
- var removeMlDeploymentModels = async (deploymentId, body, options) => invokeFetch("ml", {
176
- method: "post",
177
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/remove",
178
- pathVariables: { deploymentId },
179
- body,
180
- contentType: "application/json",
181
- options
182
- });
183
- var runMlDeploymentRealtimePredictions = async (deploymentId, query, body, options) => invokeFetch("ml", {
184
- method: "post",
185
- pathTemplate: "/api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run",
186
- pathVariables: { deploymentId },
187
- query,
188
- body,
189
- contentType: "application/json",
190
- options
191
- });
192
- var getMlExperiments = async (query, options) => invokeFetch("ml", {
193
- method: "get",
194
- pathTemplate: "/api/v1/ml/experiments",
195
- query,
196
- options
197
- });
198
- var createMlExperiment = async (body, options) => invokeFetch("ml", {
199
- method: "post",
200
- pathTemplate: "/api/v1/ml/experiments",
201
- body,
202
- contentType: "application/json",
203
- options
204
- });
205
- var deleteMlExperiment = async (experimentId, options) => invokeFetch("ml", {
206
- method: "delete",
207
- pathTemplate: "/api/v1/ml/experiments/{experimentId}",
208
- pathVariables: { experimentId },
209
- options
210
- });
211
- var getMlExperiment = async (experimentId, options) => invokeFetch("ml", {
212
- method: "get",
213
- pathTemplate: "/api/v1/ml/experiments/{experimentId}",
214
- pathVariables: { experimentId },
215
- options
216
- });
217
- var patchMlExperiment = async (experimentId, body, options) => invokeFetch("ml", {
218
- method: "patch",
219
- pathTemplate: "/api/v1/ml/experiments/{experimentId}",
220
- pathVariables: { experimentId },
221
- body,
222
- contentType: "application/json",
223
- options
224
- });
225
- var getMlExperimentModels = async (experimentId, query, options) => invokeFetch("ml", {
226
- method: "get",
227
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/models",
228
- pathVariables: { experimentId },
229
- query,
230
- options
231
- });
232
- var getMlExperimentModel = async (experimentId, modelId, options) => invokeFetch("ml", {
233
- method: "get",
234
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/models/{modelId}",
235
- pathVariables: { experimentId, modelId },
236
- options
237
- });
238
- var getMlExperimentVersions = async (experimentId, query, options) => invokeFetch("ml", {
239
- method: "get",
240
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
241
- pathVariables: { experimentId },
242
- query,
243
- options
244
- });
245
- var createMlExperimentVersion = async (experimentId, body, options) => invokeFetch("ml", {
246
- method: "post",
247
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
248
- pathVariables: { experimentId },
249
- body,
250
- contentType: "application/json",
251
- options
252
- });
253
- var deleteMlExperimentVersion = async (experimentId, experimentVersionId, options) => invokeFetch("ml", {
254
- method: "delete",
255
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
256
- pathVariables: { experimentId, experimentVersionId },
257
- options
258
- });
259
- var getMlExperimentVersion = async (experimentId, experimentVersionId, options) => invokeFetch("ml", {
260
- method: "get",
261
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
262
- pathVariables: { experimentId, experimentVersionId },
263
- options
264
- });
265
- var patchMlExperimentVersion = async (experimentId, experimentVersionId, body, options) => invokeFetch("ml", {
266
- method: "patch",
267
- pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
268
- pathVariables: { experimentId, experimentVersionId },
269
- body,
270
- contentType: "application/json",
271
- options
272
- });
273
- var cancelMlJob = async (corrType, corrId, options) => invokeFetch("ml", {
274
- method: "post",
275
- pathTemplate: "/api/v1/ml/jobs/{corrType}/{corrId}/actions/cancel",
276
- pathVariables: { corrType, corrId },
277
- options
278
- });
279
- var createMlProfileInsight = async (body, options) => invokeFetch("ml", {
280
- method: "post",
281
- pathTemplate: "/api/v1/ml/profile-insights",
282
- body,
283
- contentType: "application/json",
284
- options
285
- });
286
- var getMlProfileInsight = async (dataSetId, options) => invokeFetch("ml", {
287
- method: "get",
288
- pathTemplate: "/api/v1/ml/profile-insights/{dataSetId}",
289
- pathVariables: { dataSetId },
290
- options
291
- });
9
+ async function getMlDeployments(query, options) {
10
+ return invokeFetch("ml", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/ml/deployments",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createMlDeployment(body, options) {
18
+ return invokeFetch("ml", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/ml/deployments",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteMlDeployment(deploymentId, options) {
27
+ return invokeFetch("ml", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
30
+ pathVariables: { deploymentId },
31
+ options
32
+ });
33
+ }
34
+ async function getMlDeployment(deploymentId, options) {
35
+ return invokeFetch("ml", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
38
+ pathVariables: { deploymentId },
39
+ options
40
+ });
41
+ }
42
+ async function patchMlDeployment(deploymentId, body, options) {
43
+ return invokeFetch("ml", {
44
+ method: "patch",
45
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
46
+ pathVariables: { deploymentId },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
52
+ async function activateModelsMlDeployment(deploymentId, options) {
53
+ return invokeFetch("ml", {
54
+ method: "post",
55
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/activate-models",
56
+ pathVariables: { deploymentId },
57
+ options
58
+ });
59
+ }
60
+ async function deactivateModelsMlDeployment(deploymentId, options) {
61
+ return invokeFetch("ml", {
62
+ method: "post",
63
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/deactivate-models",
64
+ pathVariables: { deploymentId },
65
+ options
66
+ });
67
+ }
68
+ async function getMlDeploymentAliases(deploymentId, query, options) {
69
+ return invokeFetch("ml", {
70
+ method: "get",
71
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
72
+ pathVariables: { deploymentId },
73
+ query,
74
+ options
75
+ });
76
+ }
77
+ async function createMlDeploymentAliase(deploymentId, body, options) {
78
+ return invokeFetch("ml", {
79
+ method: "post",
80
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
81
+ pathVariables: { deploymentId },
82
+ body,
83
+ contentType: "application/json",
84
+ options
85
+ });
86
+ }
87
+ async function deleteMlDeploymentAliase(deploymentId, aliasId, options) {
88
+ return invokeFetch("ml", {
89
+ method: "delete",
90
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
91
+ pathVariables: { deploymentId, aliasId },
92
+ options
93
+ });
94
+ }
95
+ async function getMlDeploymentAliase(deploymentId, aliasId, options) {
96
+ return invokeFetch("ml", {
97
+ method: "get",
98
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
99
+ pathVariables: { deploymentId, aliasId },
100
+ options
101
+ });
102
+ }
103
+ async function patchMlDeploymentAliase(deploymentId, aliasId, body, options) {
104
+ return invokeFetch("ml", {
105
+ method: "patch",
106
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
107
+ pathVariables: { deploymentId, aliasId },
108
+ body,
109
+ contentType: "application/json",
110
+ options
111
+ });
112
+ }
113
+ async function runMlDeploymentAliaseRealtimePredictions(deploymentId, aliasName, query, body, options) {
114
+ return invokeFetch("ml", {
115
+ method: "post",
116
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasName}/realtime-predictions/actions/run",
117
+ pathVariables: { deploymentId, aliasName },
118
+ query,
119
+ body,
120
+ contentType: "application/json",
121
+ options
122
+ });
123
+ }
124
+ async function getMlDeploymentBatchPredictions(deploymentId, query, options) {
125
+ return invokeFetch("ml", {
126
+ method: "get",
127
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
128
+ pathVariables: { deploymentId },
129
+ query,
130
+ options
131
+ });
132
+ }
133
+ async function createMlDeploymentBatchPrediction(deploymentId, body, options) {
134
+ return invokeFetch("ml", {
135
+ method: "post",
136
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
137
+ pathVariables: { deploymentId },
138
+ body,
139
+ contentType: "application/json",
140
+ options
141
+ });
142
+ }
143
+ async function deleteMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
144
+ return invokeFetch("ml", {
145
+ method: "delete",
146
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
147
+ pathVariables: { deploymentId, batchPredictionId },
148
+ options
149
+ });
150
+ }
151
+ async function getMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
152
+ return invokeFetch("ml", {
153
+ method: "get",
154
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
155
+ pathVariables: { deploymentId, batchPredictionId },
156
+ options
157
+ });
158
+ }
159
+ async function patchMlDeploymentBatchPrediction(deploymentId, batchPredictionId, body, options) {
160
+ return invokeFetch("ml", {
161
+ method: "patch",
162
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
163
+ pathVariables: { deploymentId, batchPredictionId },
164
+ body,
165
+ contentType: "application/json",
166
+ options
167
+ });
168
+ }
169
+ async function predictMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
170
+ return invokeFetch("ml", {
171
+ method: "post",
172
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict",
173
+ pathVariables: { deploymentId, batchPredictionId },
174
+ options
175
+ });
176
+ }
177
+ async function deleteMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, options) {
178
+ return invokeFetch("ml", {
179
+ method: "delete",
180
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
181
+ pathVariables: { deploymentId, batchPredictionId },
182
+ options
183
+ });
184
+ }
185
+ async function getMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, options) {
186
+ return invokeFetch("ml", {
187
+ method: "get",
188
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
189
+ pathVariables: { deploymentId, batchPredictionId },
190
+ options
191
+ });
192
+ }
193
+ async function updateMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, body, options) {
194
+ return invokeFetch("ml", {
195
+ method: "patch",
196
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
197
+ pathVariables: { deploymentId, batchPredictionId },
198
+ body,
199
+ contentType: "application/json",
200
+ options
201
+ });
202
+ }
203
+ async function setMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, body, options) {
204
+ return invokeFetch("ml", {
205
+ method: "put",
206
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
207
+ pathVariables: { deploymentId, batchPredictionId },
208
+ body,
209
+ contentType: "application/json",
210
+ options
211
+ });
212
+ }
213
+ async function addMlDeploymentModels(deploymentId, body, options) {
214
+ return invokeFetch("ml", {
215
+ method: "post",
216
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/add",
217
+ pathVariables: { deploymentId },
218
+ body,
219
+ contentType: "application/json",
220
+ options
221
+ });
222
+ }
223
+ async function removeMlDeploymentModels(deploymentId, body, options) {
224
+ return invokeFetch("ml", {
225
+ method: "post",
226
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/remove",
227
+ pathVariables: { deploymentId },
228
+ body,
229
+ contentType: "application/json",
230
+ options
231
+ });
232
+ }
233
+ async function runMlDeploymentRealtimePredictions(deploymentId, query, body, options) {
234
+ return invokeFetch("ml", {
235
+ method: "post",
236
+ pathTemplate: "/api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run",
237
+ pathVariables: { deploymentId },
238
+ query,
239
+ body,
240
+ contentType: "application/json",
241
+ options
242
+ });
243
+ }
244
+ async function getMlExperiments(query, options) {
245
+ return invokeFetch("ml", {
246
+ method: "get",
247
+ pathTemplate: "/api/v1/ml/experiments",
248
+ query,
249
+ options
250
+ });
251
+ }
252
+ async function createMlExperiment(body, options) {
253
+ return invokeFetch("ml", {
254
+ method: "post",
255
+ pathTemplate: "/api/v1/ml/experiments",
256
+ body,
257
+ contentType: "application/json",
258
+ options
259
+ });
260
+ }
261
+ async function deleteMlExperiment(experimentId, options) {
262
+ return invokeFetch("ml", {
263
+ method: "delete",
264
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}",
265
+ pathVariables: { experimentId },
266
+ options
267
+ });
268
+ }
269
+ async function getMlExperiment(experimentId, options) {
270
+ return invokeFetch("ml", {
271
+ method: "get",
272
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}",
273
+ pathVariables: { experimentId },
274
+ options
275
+ });
276
+ }
277
+ async function patchMlExperiment(experimentId, body, options) {
278
+ return invokeFetch("ml", {
279
+ method: "patch",
280
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}",
281
+ pathVariables: { experimentId },
282
+ body,
283
+ contentType: "application/json",
284
+ options
285
+ });
286
+ }
287
+ async function getMlExperimentModels(experimentId, query, options) {
288
+ return invokeFetch("ml", {
289
+ method: "get",
290
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/models",
291
+ pathVariables: { experimentId },
292
+ query,
293
+ options
294
+ });
295
+ }
296
+ async function getMlExperimentModel(experimentId, modelId, options) {
297
+ return invokeFetch("ml", {
298
+ method: "get",
299
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/models/{modelId}",
300
+ pathVariables: { experimentId, modelId },
301
+ options
302
+ });
303
+ }
304
+ async function getMlExperimentVersions(experimentId, query, options) {
305
+ return invokeFetch("ml", {
306
+ method: "get",
307
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
308
+ pathVariables: { experimentId },
309
+ query,
310
+ options
311
+ });
312
+ }
313
+ async function createMlExperimentVersion(experimentId, body, options) {
314
+ return invokeFetch("ml", {
315
+ method: "post",
316
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
317
+ pathVariables: { experimentId },
318
+ body,
319
+ contentType: "application/json",
320
+ options
321
+ });
322
+ }
323
+ async function deleteMlExperimentVersion(experimentId, experimentVersionId, options) {
324
+ return invokeFetch("ml", {
325
+ method: "delete",
326
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
327
+ pathVariables: { experimentId, experimentVersionId },
328
+ options
329
+ });
330
+ }
331
+ async function getMlExperimentVersion(experimentId, experimentVersionId, options) {
332
+ return invokeFetch("ml", {
333
+ method: "get",
334
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
335
+ pathVariables: { experimentId, experimentVersionId },
336
+ options
337
+ });
338
+ }
339
+ async function patchMlExperimentVersion(experimentId, experimentVersionId, body, options) {
340
+ return invokeFetch("ml", {
341
+ method: "patch",
342
+ pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
343
+ pathVariables: { experimentId, experimentVersionId },
344
+ body,
345
+ contentType: "application/json",
346
+ options
347
+ });
348
+ }
349
+ async function cancelMlJob(corrType, corrId, options) {
350
+ return invokeFetch("ml", {
351
+ method: "post",
352
+ pathTemplate: "/api/v1/ml/jobs/{corrType}/{corrId}/actions/cancel",
353
+ pathVariables: { corrType, corrId },
354
+ options
355
+ });
356
+ }
357
+ async function createMlProfileInsight(body, options) {
358
+ return invokeFetch("ml", {
359
+ method: "post",
360
+ pathTemplate: "/api/v1/ml/profile-insights",
361
+ body,
362
+ contentType: "application/json",
363
+ options
364
+ });
365
+ }
366
+ async function getMlProfileInsightWithQuery(dataSetId, query, options) {
367
+ return invokeFetch("ml", {
368
+ method: "get",
369
+ pathTemplate: "/api/v1/ml/profile-insights/{dataSetId}",
370
+ pathVariables: { dataSetId },
371
+ query,
372
+ options
373
+ });
374
+ }
375
+ async function getMlProfileInsight(dataSetId, options) {
376
+ return invokeFetch("ml", {
377
+ method: "get",
378
+ pathTemplate: "/api/v1/ml/profile-insights/{dataSetId}",
379
+ pathVariables: { dataSetId },
380
+ options
381
+ });
382
+ }
292
383
  function clearCache() {
293
384
  return clearApiCache("ml");
294
385
  }
@@ -333,6 +424,7 @@ var mlExport = {
333
424
  patchMlExperimentVersion,
334
425
  cancelMlJob,
335
426
  createMlProfileInsight,
427
+ getMlProfileInsightWithQuery,
336
428
  getMlProfileInsight,
337
429
  clearCache
338
430
  };
@@ -370,6 +462,7 @@ export {
370
462
  getMlExperimentVersions,
371
463
  getMlExperiments,
372
464
  getMlProfileInsight,
465
+ getMlProfileInsightWithQuery,
373
466
  patchMlDeployment,
374
467
  patchMlDeploymentAliase,
375
468
  patchMlDeploymentBatchPrediction,