@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/automations.js CHANGED
@@ -1,131 +1,167 @@
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/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
  }
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
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 const createAutomlDeploymentRealtimePrediction: (deploymentId: string, query: {
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) => Promise<CreateAutomlDeploymentRealtimePredictionHttpResponse>;
62
+ }, body: RealtimePredictionInput, options?: ApiCallOptions): Promise<CreateAutomlDeploymentRealtimePredictionHttpResponse>;
63
63
  type CreateAutomlDeploymentRealtimePredictionHttpResponse = {
64
64
  data: void;
65
65
  headers: Headers;
@@ -1,20 +1,22 @@
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/automl-deployments.ts
9
- var createAutomlDeploymentRealtimePrediction = async (deploymentId, query, body, options) => invokeFetch("automl-deployments", {
10
- method: "post",
11
- pathTemplate: "/api/v1/automl-deployments/{deploymentId}/realtime-predictions",
12
- pathVariables: { deploymentId },
13
- query,
14
- body,
15
- contentType: "application/json",
16
- options
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
  }
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
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 const getAutomlPredictionCoordinateShap: (predictionId: string, query: {
42
+ declare function getAutomlPredictionCoordinateShap(predictionId: string, query: {
43
43
  refId?: string;
44
- }, options?: ApiCallOptions) => Promise<GetAutomlPredictionCoordinateShapHttpResponse>;
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 const createAutomlPredictionJob: (predictionId: string, options?: ApiCallOptions) => Promise<CreateAutomlPredictionJobHttpResponse>;
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 const getAutomlPredictionNotPredictedReasons: (predictionId: string, query: {
79
+ declare function getAutomlPredictionNotPredictedReasons(predictionId: string, query: {
80
80
  refId?: string;
81
- }, options?: ApiCallOptions) => Promise<GetAutomlPredictionNotPredictedReasonsHttpResponse>;
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 const getAutomlPredictionPredictions: (predictionId: string, query: {
99
+ declare function getAutomlPredictionPredictions(predictionId: string, query: {
100
100
  refId?: string;
101
- }, options?: ApiCallOptions) => Promise<GetAutomlPredictionPredictionsHttpResponse>;
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 const getAutomlPredictionShap: (predictionId: string, query: {
119
+ declare function getAutomlPredictionShap(predictionId: string, query: {
120
120
  refId?: string;
121
- }, options?: ApiCallOptions) => Promise<GetAutomlPredictionShapHttpResponse>;
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 const getAutomlPredictionSource: (predictionId: string, query: {
139
+ declare function getAutomlPredictionSource(predictionId: string, query: {
140
140
  refId?: string;
141
- }, options?: ApiCallOptions) => Promise<GetAutomlPredictionSourceHttpResponse>;
141
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionSourceHttpResponse>;
142
142
  type GetAutomlPredictionSourceHttpResponse = {
143
143
  data: string;
144
144
  headers: Headers;
@@ -1,52 +1,64 @@
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/automl-predictions.ts
9
- var getAutomlPredictionCoordinateShap = async (predictionId, query, options) => invokeFetch("automl-predictions", {
10
- method: "get",
11
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/coordinate-shap",
12
- pathVariables: { predictionId },
13
- query,
14
- options
15
- });
16
- var createAutomlPredictionJob = async (predictionId, options) => invokeFetch("automl-predictions", {
17
- method: "post",
18
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/jobs",
19
- pathVariables: { predictionId },
20
- options
21
- });
22
- var getAutomlPredictionNotPredictedReasons = async (predictionId, query, options) => invokeFetch("automl-predictions", {
23
- method: "get",
24
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/not-predicted-reasons",
25
- pathVariables: { predictionId },
26
- query,
27
- options
28
- });
29
- var getAutomlPredictionPredictions = async (predictionId, query, options) => invokeFetch("automl-predictions", {
30
- method: "get",
31
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/predictions",
32
- pathVariables: { predictionId },
33
- query,
34
- options
35
- });
36
- var getAutomlPredictionShap = async (predictionId, query, options) => invokeFetch("automl-predictions", {
37
- method: "get",
38
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/shap",
39
- pathVariables: { predictionId },
40
- query,
41
- options
42
- });
43
- var getAutomlPredictionSource = async (predictionId, query, options) => invokeFetch("automl-predictions", {
44
- method: "get",
45
- pathTemplate: "/api/v1/automl-predictions/{predictionId}/source",
46
- pathVariables: { predictionId },
47
- query,
48
- options
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
  }