@qlik/api 2.2.0 → 2.3.1

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 (232) hide show
  1. package/analytics/change-stores.d.ts +386 -0
  2. package/analytics/change-stores.js +123 -0
  3. package/analytics.d.ts +14 -0
  4. package/analytics.js +13 -0
  5. package/api-keys.d.ts +362 -3
  6. package/api-keys.js +2 -3
  7. package/apps.d.ts +2673 -3
  8. package/apps.js +2 -3
  9. package/assistants.d.ts +1370 -3
  10. package/assistants.js +2 -3
  11. package/audits.d.ts +318 -3
  12. package/audits.js +4 -4
  13. package/auth-types.d.ts +1 -1
  14. package/auth-types.js +1 -2
  15. package/auth.d.ts +94 -2
  16. package/auth.js +63 -3
  17. package/automation-connections.d.ts +366 -3
  18. package/automation-connections.js +2 -3
  19. package/automation-connectors.d.ts +84 -3
  20. package/automation-connectors.js +2 -3
  21. package/automations.d.ts +805 -3
  22. package/automations.js +2 -3
  23. package/automl-deployments.d.ts +101 -3
  24. package/automl-deployments.js +2 -3
  25. package/automl-predictions.d.ts +238 -3
  26. package/automl-predictions.js +2 -3
  27. package/banners.d.ts +184 -3
  28. package/banners.js +2 -3
  29. package/brands.d.ts +670 -3
  30. package/brands.js +2 -3
  31. package/chunks/auth-XusKk8IA.js +32 -0
  32. package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
  33. package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
  34. package/chunks/{auth-functions-BmZgZYSs.js → interceptors-2VSXImC9.js} +498 -146
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-CckTK7bh.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-D9lpiAb-.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-BqxAMJ9M.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-DpvHvpx7.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-BXZPnE6J.js} +48 -50
  41. package/collections.d.ts +582 -3
  42. package/collections.js +2 -3
  43. package/conditions.d.ts +662 -3
  44. package/conditions.js +2 -3
  45. package/consumption.d.ts +182 -3
  46. package/consumption.js +2 -3
  47. package/core/ip-policies.d.ts +328 -4
  48. package/core/ip-policies.js +108 -5
  49. package/core.d.ts +13 -4
  50. package/core.js +3 -4
  51. package/csp-origins.d.ts +273 -3
  52. package/csp-origins.js +2 -3
  53. package/csrf-token.d.ts +62 -3
  54. package/csrf-token.js +2 -3
  55. package/data-alerts.d.ts +1004 -3
  56. package/data-alerts.js +2 -3
  57. package/data-assets.d.ts +207 -3
  58. package/data-assets.js +2 -3
  59. package/data-connections.d.ts +678 -3
  60. package/data-connections.js +2 -3
  61. package/data-credentials.d.ts +292 -3
  62. package/data-credentials.js +2 -3
  63. package/data-files.d.ts +860 -3
  64. package/data-files.js +2 -3
  65. package/data-qualities.d.ts +175 -3
  66. package/data-qualities.js +2 -3
  67. package/data-sets.d.ts +424 -3
  68. package/data-sets.js +2 -3
  69. package/data-sources.d.ts +348 -3
  70. package/data-sources.js +2 -3
  71. package/data-stores.d.ts +537 -3
  72. package/data-stores.js +2 -3
  73. package/dcaas.d.ts +192 -3
  74. package/dcaas.js +2 -3
  75. package/di-projects.d.ts +812 -4
  76. package/di-projects.js +25 -4
  77. package/direct-access-agents.d.ts +710 -4
  78. package/direct-access-agents.js +37 -5
  79. package/docs/authentication.md +1 -1
  80. package/encryption.d.ts +372 -3
  81. package/encryption.js +2 -3
  82. package/extensions.d.ts +295 -3
  83. package/extensions.js +2 -3
  84. package/global-types.d.ts +1 -1
  85. package/global-types.js +0 -2
  86. package/glossaries.d.ts +1223 -3
  87. package/glossaries.js +2 -3
  88. package/groups.d.ts +510 -3
  89. package/groups.js +2 -3
  90. package/identity-providers.d.ts +711 -3
  91. package/identity-providers.js +2 -3
  92. package/index.d.ts +78 -69
  93. package/index.js +28 -10
  94. package/interceptors.d.ts +52 -3
  95. package/interceptors.js +1 -2
  96. package/invoke-fetch-types.d.ts +1 -1
  97. package/items.d.ts +536 -3
  98. package/items.js +2 -3
  99. package/knowledgebases.d.ts +976 -3
  100. package/knowledgebases.js +2 -3
  101. package/licenses.d.ts +663 -3
  102. package/licenses.js +2 -3
  103. package/lineage-graphs.d.ts +704 -3
  104. package/lineage-graphs.js +2 -3
  105. package/ml.d.ts +2808 -3
  106. package/ml.js +2 -3
  107. package/notes.d.ts +110 -3
  108. package/notes.js +2 -3
  109. package/notifications.d.ts +98 -3
  110. package/notifications.js +2 -3
  111. package/oauth-callback.iife.js +1151 -0
  112. package/oauth-clients.d.ts +562 -3
  113. package/oauth-clients.js +2 -3
  114. package/oauth-tokens.d.ts +126 -3
  115. package/oauth-tokens.js +2 -3
  116. package/package.json +5 -4
  117. package/qix.d.ts +3 -3
  118. package/qix.js +38 -3
  119. package/questions.d.ts +364 -3
  120. package/questions.js +2 -3
  121. package/quotas.d.ts +112 -3
  122. package/quotas.js +2 -3
  123. package/reload-tasks.d.ts +249 -3
  124. package/reload-tasks.js +2 -3
  125. package/reloads.d.ts +260 -3
  126. package/reloads.js +2 -3
  127. package/report-templates.d.ts +287 -3
  128. package/report-templates.js +2 -3
  129. package/reports.d.ts +863 -3
  130. package/reports.js +2 -3
  131. package/roles.d.ts +312 -3
  132. package/roles.js +2 -3
  133. package/sharing-tasks.d.ts +1164 -3
  134. package/sharing-tasks.js +2 -3
  135. package/spaces.d.ts +779 -3
  136. package/spaces.js +2 -3
  137. package/tasks.d.ts +564 -3
  138. package/tasks.js +2 -3
  139. package/temp-contents.d.ts +167 -3
  140. package/temp-contents.js +2 -3
  141. package/tenants.d.ts +360 -3
  142. package/tenants.js +2 -3
  143. package/themes.d.ts +270 -3
  144. package/themes.js +2 -3
  145. package/transports.d.ts +435 -4
  146. package/transports.js +20 -5
  147. package/ui-config.d.ts +274 -3
  148. package/ui-config.js +2 -3
  149. package/users.d.ts +674 -3
  150. package/users.js +2 -3
  151. package/web-integrations.d.ts +294 -3
  152. package/web-integrations.js +2 -3
  153. package/web-notifications.d.ts +273 -3
  154. package/web-notifications.js +2 -3
  155. package/webhooks.d.ts +505 -3
  156. package/webhooks.js +2 -3
  157. package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
  158. package/chunks/apps-BwpXUGDb.d.ts +0 -2673
  159. package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
  160. package/chunks/audits-DakwzT97.d.ts +0 -316
  161. package/chunks/auth-6mptVm5Q.d.ts +0 -95
  162. package/chunks/auth-Cle0_tmz.js +0 -32
  163. package/chunks/auth-D11iO7ZV.js +0 -65
  164. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  165. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  166. package/chunks/automations-BGy83EBO.d.ts +0 -797
  167. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  168. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  169. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  170. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  171. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  172. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  173. package/chunks/consumption-DerFk437.d.ts +0 -182
  174. package/chunks/core-DQXNZdnf.d.ts +0 -12
  175. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  176. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  177. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  178. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  179. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  180. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  181. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  182. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  183. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  184. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  185. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  186. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  187. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  188. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  189. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  190. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  191. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  192. package/chunks/groups-C86-UG7S.d.ts +0 -511
  193. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  194. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  195. package/chunks/interceptors-DTYm37AU.js +0 -104
  196. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  197. package/chunks/ip-policies-DXlf172B.js +0 -108
  198. package/chunks/items-C-jzqvFW.d.ts +0 -536
  199. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  200. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  201. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  202. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  203. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  204. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  205. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  206. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  207. package/chunks/qix-CYQsLyGQ.js +0 -40
  208. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  209. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  210. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  211. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  212. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  213. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  214. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  215. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  216. package/chunks/spaces-BK823t-b.d.ts +0 -780
  217. package/chunks/tasks-COKDfShO.d.ts +0 -564
  218. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  219. package/chunks/tenants-Bhn86519.d.ts +0 -361
  220. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  221. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  222. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  223. package/chunks/users-BSOBU_fg.d.ts +0 -675
  224. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  225. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  226. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  227. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  228. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  229. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  230. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  231. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  232. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
package/automations.js CHANGED
@@ -1,6 +1,5 @@
1
- import "./chunks/utils-BnC4lrlq.js";
2
- import "./chunks/public-runtime-modules-Dwjzb3l8.js";
3
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
1
+ import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
4
3
 
5
4
  //#region src/public/rest/automations.ts
6
5
  /**
@@ -1,4 +1,102 @@
1
- import "./chunks/auth-types-E99tzdN0.js";
2
- import "./chunks/invoke-fetch-CbU2Dgqr.js";
3
- import { a as Error, c as automlDeploymentsExport, i as CreateAutomlDeploymentRealtimePredictionHttpResponse, l as clearCache, n as AutomlDeploymentsAPI, o as RealTimePredictionInputSchema, r as CreateAutomlDeploymentRealtimePredictionHttpError, s as RealtimePredictionInput, t as AppErrorResponse, u as createAutomlDeploymentRealtimePrediction } from "./chunks/automl-deployments-CWEpX2pk.js";
1
+ import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
+ import "./chunks/invoke-fetch-C1Z0RJYU.js";
3
+
4
+ //#region src/public/rest/automl-deployments.d.ts
5
+ type AppErrorResponse = {
6
+ errors?: Error[];
7
+ };
8
+ type Error = {
9
+ /** The argument */
10
+ argument?: string;
11
+ /** The unique code for the error */
12
+ code: string;
13
+ /** The unique id of the error instance */
14
+ errorId?: string;
15
+ /** The issue code */
16
+ issue?: string;
17
+ meta?: {
18
+ /** The argument */
19
+ argument?: string;
20
+ /** Extra details for what may have caused the error */
21
+ details?: string;
22
+ /** The unique id of the error instance */
23
+ errorId?: string;
24
+ /** The resource type that the error occurred on */
25
+ resource?: string;
26
+ /** The resource id that the error occurred on */
27
+ resourceId?: string;
28
+ };
29
+ /** The resource type that the error occurred on */
30
+ resource?: string;
31
+ /** The resource id that the error occurred on */
32
+ resourceId?: string;
33
+ /** A summary of what went wrong */
34
+ title?: string;
35
+ };
36
+ type RealTimePredictionInputSchema = {
37
+ /** The name of a feature in the dataset. */
38
+ name?: string;
39
+ };
40
+ type RealtimePredictionInput = {
41
+ /** The rows of the dataset to produce predictions from. Date features must be in ISO 8601 format. */
42
+ rows?: string[][];
43
+ /** The schema of the input dataset. */
44
+ schema?: RealTimePredictionInputSchema[];
45
+ };
46
+ /**
47
+ * @deprecated
48
+ *
49
+ * Generates predictions in a synchronous request and response.
50
+ *
51
+ * @param deploymentId The ID of the ML deployed model that will be employed to produce predictions.
52
+ * @param query an object with query parameters
53
+ * @param body an object with the body content
54
+ * @throws CreateAutomlDeploymentRealtimePredictionHttpError
55
+ */
56
+ declare function createAutomlDeploymentRealtimePrediction(deploymentId: string, query: {
57
+ /** If true, will include a column with the reason why a prediction was not produced. */
58
+ includeNotPredictedReason?: boolean;
59
+ /** If true, the shapley values will be included in the response. */
60
+ includeShap?: boolean;
61
+ /** If true, the source data will be included in the response */
62
+ includeSource?: boolean;
63
+ /** 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. */
64
+ index?: string;
65
+ }, body: RealtimePredictionInput, options?: ApiCallOptions): Promise<CreateAutomlDeploymentRealtimePredictionHttpResponse>;
66
+ type CreateAutomlDeploymentRealtimePredictionHttpResponse = {
67
+ data: void;
68
+ headers: Headers;
69
+ status: 200;
70
+ };
71
+ type CreateAutomlDeploymentRealtimePredictionHttpError = {
72
+ data: AppErrorResponse;
73
+ headers: Headers;
74
+ status: 400 | 401 | 403 | 404 | 409 | 503;
75
+ };
76
+ /**
77
+ * Clears the cache for automl-deployments api requests.
78
+ */
79
+ declare function clearCache(): void;
80
+ type AutomlDeploymentsAPI = {
81
+ /**
82
+ * @deprecated
83
+ *
84
+ * Generates predictions in a synchronous request and response.
85
+ *
86
+ * @param deploymentId The ID of the ML deployed model that will be employed to produce predictions.
87
+ * @param query an object with query parameters
88
+ * @param body an object with the body content
89
+ * @throws CreateAutomlDeploymentRealtimePredictionHttpError
90
+ */
91
+ createAutomlDeploymentRealtimePrediction: typeof createAutomlDeploymentRealtimePrediction;
92
+ /**
93
+ * Clears the cache for automl-deployments api requests.
94
+ */
95
+ clearCache: typeof clearCache;
96
+ };
97
+ /**
98
+ * Functions for the automl-deployments api
99
+ */
100
+ declare const automlDeploymentsExport: AutomlDeploymentsAPI;
101
+ //#endregion
4
102
  export { AppErrorResponse, AutomlDeploymentsAPI, CreateAutomlDeploymentRealtimePredictionHttpError, CreateAutomlDeploymentRealtimePredictionHttpResponse, Error, RealTimePredictionInputSchema, RealtimePredictionInput, clearCache, createAutomlDeploymentRealtimePrediction, automlDeploymentsExport as default };
@@ -1,6 +1,5 @@
1
- import "./chunks/utils-BnC4lrlq.js";
2
- import "./chunks/public-runtime-modules-Dwjzb3l8.js";
3
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
1
+ import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
4
3
 
5
4
  //#region src/public/rest/automl-deployments.ts
6
5
  /**
@@ -1,4 +1,239 @@
1
- import "./chunks/auth-types-E99tzdN0.js";
2
- import "./chunks/invoke-fetch-CbU2Dgqr.js";
3
- import { C as getAutomlPredictionSource, S as getAutomlPredictionShap, _ as clearCache, a as Error, b as getAutomlPredictionNotPredictedReasons, c as GetAutomlPredictionNotPredictedReasonsHttpError, d as GetAutomlPredictionPredictionsHttpResponse, f as GetAutomlPredictionShapHttpError, g as automlPredictionsExport, h as GetAutomlPredictionSourceHttpResponse, i as CreateAutomlPredictionJobHttpResponse, l as GetAutomlPredictionNotPredictedReasonsHttpResponse, m as GetAutomlPredictionSourceHttpError, n as AutomlPredictionsAPI, o as GetAutomlPredictionCoordinateShapHttpError, p as GetAutomlPredictionShapHttpResponse, r as CreateAutomlPredictionJobHttpError, s as GetAutomlPredictionCoordinateShapHttpResponse, t as AppErrorResponse, u as GetAutomlPredictionPredictionsHttpError, v as createAutomlPredictionJob, x as getAutomlPredictionPredictions, y as getAutomlPredictionCoordinateShap } from "./chunks/automl-predictions-BNIjRhBm.js";
1
+ import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
+ import "./chunks/invoke-fetch-C1Z0RJYU.js";
3
+
4
+ //#region src/public/rest/automl-predictions.d.ts
5
+ type AppErrorResponse = {
6
+ errors?: Error[];
7
+ };
8
+ type Error = {
9
+ /** The argument */
10
+ argument?: string;
11
+ /** The unique code for the error */
12
+ code: string;
13
+ /** The unique id of the error instance */
14
+ errorId?: string;
15
+ /** The issue code */
16
+ issue?: string;
17
+ meta?: {
18
+ /** The argument */
19
+ argument?: string;
20
+ /** Extra details for what may have caused the error */
21
+ details?: string;
22
+ /** The unique id of the error instance */
23
+ errorId?: string;
24
+ /** The resource type that the error occurred on */
25
+ resource?: string;
26
+ /** The resource id that the error occurred on */
27
+ resourceId?: string;
28
+ };
29
+ /** The resource type that the error occurred on */
30
+ resource?: string;
31
+ /** The resource id that the error occurred on */
32
+ resourceId?: string;
33
+ /** A summary of what went wrong */
34
+ title?: string;
35
+ };
36
+ /**
37
+ * @deprecated
38
+ *
39
+ * Returns a file containing the shapley values in coordinate form that are associated with a prediction ID.
40
+ *
41
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
42
+ * @param query an object with query parameters
43
+ * @throws GetAutomlPredictionCoordinateShapHttpError
44
+ */
45
+ declare function getAutomlPredictionCoordinateShap(predictionId: string, query: {
46
+ refId?: string;
47
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionCoordinateShapHttpResponse>;
48
+ type GetAutomlPredictionCoordinateShapHttpResponse = {
49
+ data: string;
50
+ headers: Headers;
51
+ status: 200;
52
+ };
53
+ type GetAutomlPredictionCoordinateShapHttpError = {
54
+ data: AppErrorResponse;
55
+ headers: Headers;
56
+ status: 400 | 401 | 403 | 404 | 409 | 503;
57
+ };
58
+ /**
59
+ * @deprecated
60
+ *
61
+ * Retrieve jobs that are associated with a prediction. Job with correlation type `prediction`.
62
+ *
63
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
64
+ * @throws CreateAutomlPredictionJobHttpError
65
+ */
66
+ declare function createAutomlPredictionJob(predictionId: string, options?: ApiCallOptions): Promise<CreateAutomlPredictionJobHttpResponse>;
67
+ type CreateAutomlPredictionJobHttpResponse = {
68
+ data: void;
69
+ headers: Headers;
70
+ status: 200;
71
+ };
72
+ type CreateAutomlPredictionJobHttpError = {
73
+ data: AppErrorResponse;
74
+ headers: Headers;
75
+ status: 400 | 401 | 403 | 404 | 409 | 503;
76
+ };
77
+ /**
78
+ * @deprecated
79
+ *
80
+ * Returns a file containing any rows in a prediction operation where a prediction was unable to be produced.
81
+ *
82
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
83
+ * @param query an object with query parameters
84
+ * @throws GetAutomlPredictionNotPredictedReasonsHttpError
85
+ */
86
+ declare function getAutomlPredictionNotPredictedReasons(predictionId: string, query: {
87
+ refId?: string;
88
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionNotPredictedReasonsHttpResponse>;
89
+ type GetAutomlPredictionNotPredictedReasonsHttpResponse = {
90
+ data: string;
91
+ headers: Headers;
92
+ status: 200;
93
+ };
94
+ type GetAutomlPredictionNotPredictedReasonsHttpError = {
95
+ data: AppErrorResponse;
96
+ headers: Headers;
97
+ status: 400 | 401 | 403 | 404 | 409 | 503;
98
+ };
99
+ /**
100
+ * @deprecated
101
+ *
102
+ * Returns a file containing the predicted values that are associated with a prediction ID.
103
+ *
104
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
105
+ * @param query an object with query parameters
106
+ * @throws GetAutomlPredictionPredictionsHttpError
107
+ */
108
+ declare function getAutomlPredictionPredictions(predictionId: string, query: {
109
+ refId?: string;
110
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionPredictionsHttpResponse>;
111
+ type GetAutomlPredictionPredictionsHttpResponse = {
112
+ data: void;
113
+ headers: Headers;
114
+ status: 200;
115
+ };
116
+ type GetAutomlPredictionPredictionsHttpError = {
117
+ data: AppErrorResponse;
118
+ headers: Headers;
119
+ status: 400 | 401 | 403 | 404 | 409 | 503;
120
+ };
121
+ /**
122
+ * @deprecated
123
+ *
124
+ * Returns a file containing the shapley values that are associated with a prediction ID.
125
+ *
126
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
127
+ * @param query an object with query parameters
128
+ * @throws GetAutomlPredictionShapHttpError
129
+ */
130
+ declare function getAutomlPredictionShap(predictionId: string, query: {
131
+ refId?: string;
132
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionShapHttpResponse>;
133
+ type GetAutomlPredictionShapHttpResponse = {
134
+ data: void;
135
+ headers: Headers;
136
+ status: 200;
137
+ };
138
+ type GetAutomlPredictionShapHttpError = {
139
+ data: AppErrorResponse;
140
+ headers: Headers;
141
+ status: 400 | 401 | 403 | 404 | 409 | 503;
142
+ };
143
+ /**
144
+ * @deprecated
145
+ *
146
+ * Returns a file containing the source values and an index field that are associated with a prediction ID.
147
+ *
148
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
149
+ * @param query an object with query parameters
150
+ * @throws GetAutomlPredictionSourceHttpError
151
+ */
152
+ declare function getAutomlPredictionSource(predictionId: string, query: {
153
+ refId?: string;
154
+ }, options?: ApiCallOptions): Promise<GetAutomlPredictionSourceHttpResponse>;
155
+ type GetAutomlPredictionSourceHttpResponse = {
156
+ data: string;
157
+ headers: Headers;
158
+ status: 200;
159
+ };
160
+ type GetAutomlPredictionSourceHttpError = {
161
+ data: AppErrorResponse;
162
+ headers: Headers;
163
+ status: 400 | 401 | 403 | 404 | 409 | 503;
164
+ };
165
+ /**
166
+ * Clears the cache for automl-predictions api requests.
167
+ */
168
+ declare function clearCache(): void;
169
+ type AutomlPredictionsAPI = {
170
+ /**
171
+ * @deprecated
172
+ *
173
+ * Returns a file containing the shapley values in coordinate form that are associated with a prediction ID.
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 GetAutomlPredictionCoordinateShapHttpError
178
+ */
179
+ getAutomlPredictionCoordinateShap: typeof getAutomlPredictionCoordinateShap;
180
+ /**
181
+ * @deprecated
182
+ *
183
+ * Retrieve jobs that are associated with a prediction. Job with correlation type `prediction`.
184
+ *
185
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
186
+ * @throws CreateAutomlPredictionJobHttpError
187
+ */
188
+ createAutomlPredictionJob: typeof createAutomlPredictionJob;
189
+ /**
190
+ * @deprecated
191
+ *
192
+ * Returns a file containing any rows in a prediction operation where a prediction was unable to be produced.
193
+ *
194
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
195
+ * @param query an object with query parameters
196
+ * @throws GetAutomlPredictionNotPredictedReasonsHttpError
197
+ */
198
+ getAutomlPredictionNotPredictedReasons: typeof getAutomlPredictionNotPredictedReasons;
199
+ /**
200
+ * @deprecated
201
+ *
202
+ * Returns a file containing the predicted values that are associated with a prediction ID.
203
+ *
204
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
205
+ * @param query an object with query parameters
206
+ * @throws GetAutomlPredictionPredictionsHttpError
207
+ */
208
+ getAutomlPredictionPredictions: typeof getAutomlPredictionPredictions;
209
+ /**
210
+ * @deprecated
211
+ *
212
+ * Returns a file containing the shapley values that are associated with a prediction ID.
213
+ *
214
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
215
+ * @param query an object with query parameters
216
+ * @throws GetAutomlPredictionShapHttpError
217
+ */
218
+ getAutomlPredictionShap: typeof getAutomlPredictionShap;
219
+ /**
220
+ * @deprecated
221
+ *
222
+ * Returns a file containing the source values and an index field that are associated with a prediction ID.
223
+ *
224
+ * @param predictionId The ID of the prediction configuration object that provides parameters to be applied when the prediction is produced.
225
+ * @param query an object with query parameters
226
+ * @throws GetAutomlPredictionSourceHttpError
227
+ */
228
+ getAutomlPredictionSource: typeof getAutomlPredictionSource;
229
+ /**
230
+ * Clears the cache for automl-predictions api requests.
231
+ */
232
+ clearCache: typeof clearCache;
233
+ };
234
+ /**
235
+ * Functions for the automl-predictions api
236
+ */
237
+ declare const automlPredictionsExport: AutomlPredictionsAPI;
238
+ //#endregion
4
239
  export { AppErrorResponse, AutomlPredictionsAPI, CreateAutomlPredictionJobHttpError, CreateAutomlPredictionJobHttpResponse, Error, GetAutomlPredictionCoordinateShapHttpError, GetAutomlPredictionCoordinateShapHttpResponse, GetAutomlPredictionNotPredictedReasonsHttpError, GetAutomlPredictionNotPredictedReasonsHttpResponse, GetAutomlPredictionPredictionsHttpError, GetAutomlPredictionPredictionsHttpResponse, GetAutomlPredictionShapHttpError, GetAutomlPredictionShapHttpResponse, GetAutomlPredictionSourceHttpError, GetAutomlPredictionSourceHttpResponse, clearCache, createAutomlPredictionJob, automlPredictionsExport as default, getAutomlPredictionCoordinateShap, getAutomlPredictionNotPredictedReasons, getAutomlPredictionPredictions, getAutomlPredictionShap, getAutomlPredictionSource };
@@ -1,6 +1,5 @@
1
- import "./chunks/utils-BnC4lrlq.js";
2
- import "./chunks/public-runtime-modules-Dwjzb3l8.js";
3
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
1
+ import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
4
3
 
5
4
  //#region src/public/rest/automl-predictions.ts
6
5
  /**
package/banners.d.ts CHANGED
@@ -1,4 +1,185 @@
1
- import "./chunks/auth-types-E99tzdN0.js";
2
- import "./chunks/invoke-fetch-CbU2Dgqr.js";
3
- import { C as bannersExport, E as upsertBanners, S as UpsertBannersHttpResponse, T as getBanners, _ as UpsertBanners401HttpError, a as ErrorResponse401, b as UpsertBanners500HttpError, c as ErrorResponse500, d as GetBanners403HttpError, f as GetBanners404HttpError, g as UpsertBanners400HttpError, h as GetBannersHttpResponse, i as ErrorResponse400, l as GetBanners400HttpError, m as GetBannersHttpError, n as BannerUpsertDefinition, o as ErrorResponse403, p as GetBanners500HttpError, r as BannersAPI, s as ErrorResponse404, t as BannerResponse, u as GetBanners401HttpError, v as UpsertBanners403HttpError, w as clearCache, x as UpsertBannersHttpError, y as UpsertBanners404HttpError } from "./chunks/banners-CgBRnZGv.js";
1
+ import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
+ import "./chunks/invoke-fetch-C1Z0RJYU.js";
3
+
4
+ //#region src/public/rest/banners.d.ts
5
+ type BannerResponse = {
6
+ readonly createdAt: string;
7
+ /** userId of the user who created the banner */
8
+ createdBy: string;
9
+ enabled: boolean;
10
+ /** date-time in UTC. */
11
+ endTime: string;
12
+ readonly id: string;
13
+ linkEnabled: boolean;
14
+ linkLabel?: string;
15
+ linkUrl?: string;
16
+ message: string;
17
+ /** date-time in UTC. */
18
+ startTime: string;
19
+ readonly tenantId: string;
20
+ type: "info" | "warning" | "error" | "resolved";
21
+ readonly updatedAt: string;
22
+ /** userId of the user who last modified the banner */
23
+ updatedBy: string;
24
+ };
25
+ type BannerUpsertDefinition = {
26
+ enabled: boolean;
27
+ /** date-time in UTC. */
28
+ endTime: string;
29
+ linkEnabled: boolean;
30
+ linkLabel?: string;
31
+ linkUrl?: string;
32
+ message: string;
33
+ /** date-time in UTC. */
34
+ startTime: string;
35
+ type: "info" | "warning" | "error" | "resolved";
36
+ };
37
+ type ErrorResponse400 = {
38
+ errors?: {
39
+ code?: string;
40
+ detail?: string;
41
+ status?: number;
42
+ title?: string;
43
+ }[];
44
+ traceId?: string;
45
+ };
46
+ type ErrorResponse401 = {
47
+ errors?: {
48
+ code?: string;
49
+ detail?: string;
50
+ status?: number;
51
+ title?: string;
52
+ }[];
53
+ traceId?: string;
54
+ };
55
+ type ErrorResponse403 = {
56
+ errors?: {
57
+ code?: string;
58
+ detail?: string;
59
+ status?: number;
60
+ title?: string;
61
+ }[];
62
+ traceId?: string;
63
+ };
64
+ type ErrorResponse404 = {
65
+ errors?: {
66
+ code?: string;
67
+ detail?: string;
68
+ status?: number;
69
+ title?: string;
70
+ }[];
71
+ traceId?: string;
72
+ };
73
+ type ErrorResponse500 = {
74
+ errors?: {
75
+ code?: string;
76
+ detail?: string;
77
+ status?: number;
78
+ title?: string;
79
+ }[];
80
+ traceId?: string;
81
+ };
82
+ /**
83
+ * Retrieves announcement banner configuration for the tenant, including content, scheduling, and link information for display at the top of the client interface.
84
+ *
85
+ * @throws GetBannersHttpError
86
+ */
87
+ declare function getBanners(options?: ApiCallOptions): Promise<GetBannersHttpResponse>;
88
+ type GetBannersHttpResponse = {
89
+ data: BannerResponse;
90
+ headers: Headers;
91
+ status: 200;
92
+ };
93
+ type GetBannersHttpError = GetBanners400HttpError | GetBanners401HttpError | GetBanners403HttpError | GetBanners404HttpError | GetBanners500HttpError;
94
+ type GetBanners400HttpError = {
95
+ data: ErrorResponse400;
96
+ headers: Headers;
97
+ status: 400;
98
+ };
99
+ type GetBanners401HttpError = {
100
+ data: ErrorResponse401;
101
+ headers: Headers;
102
+ status: 401;
103
+ };
104
+ type GetBanners403HttpError = {
105
+ data: ErrorResponse403;
106
+ headers: Headers;
107
+ status: 403;
108
+ };
109
+ type GetBanners404HttpError = {
110
+ data: ErrorResponse404;
111
+ headers: Headers;
112
+ status: 404;
113
+ };
114
+ type GetBanners500HttpError = {
115
+ data: ErrorResponse500;
116
+ headers: Headers;
117
+ status: 500;
118
+ };
119
+ /**
120
+ * Sets content, scheduling, and optional action links for the tenant-wide announcement banner. Requires `TenantAdmin` role.
121
+ *
122
+ * @param body an object with the body content
123
+ * @throws UpsertBannersHttpError
124
+ */
125
+ declare function upsertBanners(body: BannerUpsertDefinition, options?: ApiCallOptions): Promise<UpsertBannersHttpResponse>;
126
+ type UpsertBannersHttpResponse = {
127
+ data: BannerResponse;
128
+ headers: Headers;
129
+ status: 201;
130
+ };
131
+ type UpsertBannersHttpError = UpsertBanners400HttpError | UpsertBanners401HttpError | UpsertBanners403HttpError | UpsertBanners404HttpError | UpsertBanners500HttpError;
132
+ type UpsertBanners400HttpError = {
133
+ data: ErrorResponse400;
134
+ headers: Headers;
135
+ status: 400;
136
+ };
137
+ type UpsertBanners401HttpError = {
138
+ data: ErrorResponse401;
139
+ headers: Headers;
140
+ status: 401;
141
+ };
142
+ type UpsertBanners403HttpError = {
143
+ data: ErrorResponse403;
144
+ headers: Headers;
145
+ status: 403;
146
+ };
147
+ type UpsertBanners404HttpError = {
148
+ data: ErrorResponse404;
149
+ headers: Headers;
150
+ status: 404;
151
+ };
152
+ type UpsertBanners500HttpError = {
153
+ data: ErrorResponse500;
154
+ headers: Headers;
155
+ status: 500;
156
+ };
157
+ /**
158
+ * Clears the cache for banners api requests.
159
+ */
160
+ declare function clearCache(): void;
161
+ type BannersAPI = {
162
+ /**
163
+ * Retrieves announcement banner configuration for the tenant, including content, scheduling, and link information for display at the top of the client interface.
164
+ *
165
+ * @throws GetBannersHttpError
166
+ */
167
+ getBanners: typeof getBanners;
168
+ /**
169
+ * Sets content, scheduling, and optional action links for the tenant-wide announcement banner. Requires `TenantAdmin` role.
170
+ *
171
+ * @param body an object with the body content
172
+ * @throws UpsertBannersHttpError
173
+ */
174
+ upsertBanners: typeof upsertBanners;
175
+ /**
176
+ * Clears the cache for banners api requests.
177
+ */
178
+ clearCache: typeof clearCache;
179
+ };
180
+ /**
181
+ * Functions for the banners api
182
+ */
183
+ declare const bannersExport: BannersAPI;
184
+ //#endregion
4
185
  export { BannerResponse, BannerUpsertDefinition, BannersAPI, ErrorResponse400, ErrorResponse401, ErrorResponse403, ErrorResponse404, ErrorResponse500, GetBanners400HttpError, GetBanners401HttpError, GetBanners403HttpError, GetBanners404HttpError, GetBanners500HttpError, GetBannersHttpError, GetBannersHttpResponse, UpsertBanners400HttpError, UpsertBanners401HttpError, UpsertBanners403HttpError, UpsertBanners404HttpError, UpsertBanners500HttpError, UpsertBannersHttpError, UpsertBannersHttpResponse, clearCache, bannersExport as default, getBanners, upsertBanners };
package/banners.js CHANGED
@@ -1,6 +1,5 @@
1
- import "./chunks/utils-BnC4lrlq.js";
2
- import "./chunks/public-runtime-modules-Dwjzb3l8.js";
3
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
1
+ import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
4
3
 
5
4
  //#region src/public/rest/banners.ts
6
5
  /**