@qlik/api 2.4.1 → 2.5.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 (170) hide show
  1. package/analytics/change-stores.d.ts +1 -4
  2. package/analytics/change-stores.js +2 -2
  3. package/analytics.d.ts +0 -1
  4. package/analytics.js +2 -2
  5. package/api-keys.d.ts +1 -3
  6. package/api-keys.js +2 -2
  7. package/apps.d.ts +1 -3
  8. package/apps.js +2 -2
  9. package/assistants.d.ts +35 -37
  10. package/assistants.js +2 -2
  11. package/audits.d.ts +1 -3
  12. package/audits.js +2 -2
  13. package/auth-types.d.ts +1 -110
  14. package/auth.d.ts +1 -1
  15. package/auth.js +1 -1
  16. package/automation-connections.d.ts +6 -7
  17. package/automation-connections.js +3 -3
  18. package/automation-connectors.d.ts +9 -7
  19. package/automation-connectors.js +2 -2
  20. package/automations.d.ts +144 -125
  21. package/automations.js +41 -26
  22. package/automl-deployments.d.ts +1 -3
  23. package/automl-deployments.js +2 -2
  24. package/automl-predictions.d.ts +1 -3
  25. package/automl-predictions.js +2 -2
  26. package/banners.d.ts +1 -3
  27. package/banners.js +2 -2
  28. package/brands.d.ts +1 -3
  29. package/brands.js +2 -2
  30. package/chunks/{auth-B8lJw7rm.js → auth-Cfg2Smt8.js} +1 -1
  31. package/chunks/auth-types-DVvka7Hz.d.ts +385 -0
  32. package/chunks/{boot-interceptors-DqRxTczb.js → interceptors-DMiDeqEz.js} +178 -52
  33. package/chunks/{invoke-fetch-pMN6iqup.js → invoke-fetch-CwBXAsw4.js} +1 -1
  34. package/chunks/{invoke-fetch-DMAi6Fg3.js → invoke-fetch-DxtIsSVQ.js} +3 -3
  35. package/chunks/{public-runtime-modules-2KfyI2qM.js → public-runtime-modules-mBjjPn7I.js} +5 -5
  36. package/chunks/{qix-BdNrIA4s.js → qix-BPCl6Bmh.js} +5 -5
  37. package/chunks/{qix-types-Bjha7sch.d.ts → qix-CJntvLix.d.ts} +46 -3
  38. package/chunks/{qix-chunk-entrypoint-L9RpWwLK.js → qix-chunk-entrypoint-CyQYGyl2.js} +16 -3
  39. package/collections.d.ts +2 -5
  40. package/collections.js +3 -4
  41. package/conditions.d.ts +1 -3
  42. package/conditions.js +2 -2
  43. package/consumption.d.ts +1 -3
  44. package/consumption.js +2 -2
  45. package/core/ip-policies.d.ts +1 -4
  46. package/core/ip-policies.js +2 -2
  47. package/core.d.ts +0 -1
  48. package/core.js +2 -2
  49. package/csp-origins.d.ts +1 -3
  50. package/csp-origins.js +2 -2
  51. package/csrf-token.d.ts +1 -3
  52. package/csrf-token.js +2 -2
  53. package/data-alerts.d.ts +1 -3
  54. package/data-alerts.js +2 -2
  55. package/data-assets.d.ts +1 -3
  56. package/data-assets.js +2 -2
  57. package/data-connections.d.ts +1 -3
  58. package/data-connections.js +2 -2
  59. package/data-credentials.d.ts +1 -3
  60. package/data-credentials.js +2 -2
  61. package/data-files.d.ts +1 -3
  62. package/data-files.js +2 -2
  63. package/data-governance/data-products.d.ts +1 -4
  64. package/data-governance/data-products.js +2 -2
  65. package/data-governance.d.ts +0 -1
  66. package/data-governance.js +2 -2
  67. package/data-qualities.d.ts +1 -3
  68. package/data-qualities.js +2 -2
  69. package/data-sets.d.ts +1 -3
  70. package/data-sets.js +2 -2
  71. package/data-sources.d.ts +1 -3
  72. package/data-sources.js +2 -2
  73. package/data-stores.d.ts +1 -3
  74. package/data-stores.js +2 -2
  75. package/dcaas.d.ts +1 -3
  76. package/dcaas.js +2 -2
  77. package/di-projects.d.ts +28 -8
  78. package/di-projects.js +2 -2
  79. package/direct-access-agents.d.ts +1 -3
  80. package/direct-access-agents.js +2 -2
  81. package/encryption.d.ts +1 -3
  82. package/encryption.js +2 -2
  83. package/extensions.d.ts +1 -3
  84. package/extensions.js +2 -2
  85. package/global-types.d.ts +2 -140
  86. package/glossaries.d.ts +1 -3
  87. package/glossaries.js +2 -2
  88. package/groups.d.ts +1 -3
  89. package/groups.js +2 -2
  90. package/identity-providers.d.ts +1 -3
  91. package/identity-providers.js +2 -2
  92. package/index.d.ts +18 -5
  93. package/index.js +63 -6
  94. package/interceptors.d.ts +1 -3
  95. package/interceptors.js +1 -103
  96. package/invoke-fetch-types.d.ts +1 -97
  97. package/items.d.ts +1 -3
  98. package/items.js +2 -2
  99. package/knowledgebases.d.ts +27 -50
  100. package/knowledgebases.js +2 -2
  101. package/licenses.d.ts +1 -3
  102. package/licenses.js +2 -2
  103. package/lineage-graphs.d.ts +1 -3
  104. package/lineage-graphs.js +2 -2
  105. package/ml.d.ts +1 -3
  106. package/ml.js +2 -2
  107. package/notes.d.ts +9 -3
  108. package/notes.js +6 -2
  109. package/notifications.d.ts +1 -3
  110. package/notifications.js +2 -2
  111. package/oauth-clients.d.ts +1 -3
  112. package/oauth-clients.js +2 -2
  113. package/oauth-tokens.d.ts +1 -3
  114. package/oauth-tokens.js +2 -2
  115. package/package.json +6 -2
  116. package/qix.d.ts +1 -47
  117. package/qix.js +1 -1
  118. package/questions.d.ts +1 -3
  119. package/questions.js +2 -2
  120. package/quotas.d.ts +1 -3
  121. package/quotas.js +2 -2
  122. package/reload-tasks.d.ts +1 -3
  123. package/reload-tasks.js +2 -2
  124. package/reloads.d.ts +1 -3
  125. package/reloads.js +2 -2
  126. package/report-templates.d.ts +3 -4
  127. package/report-templates.js +2 -2
  128. package/reports.d.ts +1 -3
  129. package/reports.js +2 -2
  130. package/roles.d.ts +1 -3
  131. package/roles.js +2 -2
  132. package/sharing-tasks.d.ts +1 -3
  133. package/sharing-tasks.js +2 -2
  134. package/spaces.d.ts +1 -3
  135. package/spaces.js +2 -2
  136. package/tasks.d.ts +1 -3
  137. package/tasks.js +2 -2
  138. package/temp-contents.d.ts +1 -3
  139. package/temp-contents.js +2 -2
  140. package/tenant-settings.d.ts +1 -3
  141. package/tenant-settings.js +2 -2
  142. package/tenants.d.ts +2 -4
  143. package/tenants.js +2 -2
  144. package/themes.d.ts +1 -3
  145. package/themes.js +2 -2
  146. package/transports.d.ts +1 -3
  147. package/transports.js +2 -2
  148. package/ui-config.d.ts +1 -3
  149. package/ui-config.js +2 -2
  150. package/users.d.ts +1 -3
  151. package/users.js +2 -2
  152. package/web-integrations.d.ts +1 -3
  153. package/web-integrations.js +2 -2
  154. package/web-notifications.d.ts +1 -3
  155. package/web-notifications.js +2 -2
  156. package/webhooks.d.ts +7 -9
  157. package/webhooks.js +2 -2
  158. package/workflows/automation-connections.d.ts +317 -0
  159. package/workflows/automation-connections.js +164 -0
  160. package/workflows/automation-connectors.d.ts +79 -0
  161. package/workflows/automation-connectors.js +40 -0
  162. package/workflows/automations.d.ts +790 -0
  163. package/workflows/automations.js +421 -0
  164. package/workflows.d.ts +16 -0
  165. package/workflows.js +18 -0
  166. package/chunks/platform-types-CECrZkOF.d.ts +0 -29
  167. /package/chunks/{dist-DR758NU5.js → dist-BcgFfLgM.js} +0 -0
  168. /package/chunks/{invoke-fetch-DFc3yzaj.d.ts → invoke-fetch-DcuB8t5I.d.ts} +0 -0
  169. /package/chunks/{utils-jkpLuYZR.js → utils-B7chC9_U.js} +0 -0
  170. /package/chunks/{websocket-errors-C5U1tba-.js → websocket-errors-C6cw1uQN.js} +0 -0
@@ -0,0 +1,79 @@
1
+ import { b as ApiCallOptions } from "../chunks/auth-types-DVvka7Hz.js";
2
+ declare namespace automation_connectors_d_exports {
3
+ export { AutomationConnectorsAPI, AutomationConnectorsList, AutomationConnectorsListObject, Error, ErrorResponse, GetAutomationConnectorsHttpError, GetAutomationConnectorsHttpResponse, Links, PaginationLink, clearCache, automationConnectorsExport as default, getAutomationConnectors };
4
+ }
5
+ type AutomationConnectorsList = {
6
+ data?: AutomationConnectorsListObject[];
7
+ links?: Links;
8
+ };
9
+ type AutomationConnectorsListObject = {
10
+ /** Indicates if the connector is billable. */billable?: boolean; /** Indicates if the connector supports webhooks. */
11
+ hasWebhooks?: boolean;
12
+ readonly id?: string; /** The URL to the large logo of the connector. */
13
+ logoLarge?: string; /** The URL to the medium logo of the connector. */
14
+ logoMedium?: string; /** The URL to the small logo of the connector. */
15
+ logoSmall?: string; /** The name of an automation connector. */
16
+ name?: string;
17
+ };
18
+ type Error = {
19
+ /** The unique code for the error */code: string; /** May be used to provide additional details */
20
+ detail?: string; /** A summary of what went wrong */
21
+ title: string;
22
+ };
23
+ type ErrorResponse = {
24
+ errors?: Error[]; /** A way to trace the source of the error. */
25
+ traceId?: string;
26
+ };
27
+ type Links = {
28
+ next?: PaginationLink;
29
+ prev?: PaginationLink;
30
+ };
31
+ type PaginationLink = {
32
+ /** The URL to a resource request */href?: string;
33
+ };
34
+ /**
35
+ * Retrieves a list of automation connectors.
36
+ *
37
+ * @param query an object with query parameters
38
+ * @throws GetAutomationConnectorsHttpError
39
+ */
40
+ declare function getAutomationConnectors(query: {
41
+ /** Filters the result based on the specified criteria: name. */filter?: string; /** The number of automation connectors to retrieve. */
42
+ limit?: number; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
43
+ sort?: "id" | "-id" | "+id" | "name" | "+name" | "-name";
44
+ }, options?: ApiCallOptions): Promise<GetAutomationConnectorsHttpResponse>;
45
+ type GetAutomationConnectorsHttpResponse = {
46
+ data: AutomationConnectorsList;
47
+ headers: Headers;
48
+ status: 200;
49
+ prev?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
50
+ next?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
51
+ };
52
+ type GetAutomationConnectorsHttpError = {
53
+ data: ErrorResponse;
54
+ headers: Headers;
55
+ status: 400 | 401 | 403 | 500 | 503;
56
+ };
57
+ /**
58
+ * Clears the cache for workflows/automation-connectors api requests.
59
+ */
60
+ declare function clearCache(): void;
61
+ type AutomationConnectorsAPI = {
62
+ /**
63
+ * Retrieves a list of automation connectors.
64
+ *
65
+ * @param query an object with query parameters
66
+ * @throws GetAutomationConnectorsHttpError
67
+ */
68
+ getAutomationConnectors: typeof getAutomationConnectors;
69
+ /**
70
+ * Clears the cache for automation-connectors api requests.
71
+ */
72
+ clearCache: typeof clearCache;
73
+ };
74
+ /**
75
+ * Functions for the automation-connectors api
76
+ */
77
+ declare const automationConnectorsExport: AutomationConnectorsAPI;
78
+ //#endregion
79
+ export { AutomationConnectorsAPI, AutomationConnectorsList, AutomationConnectorsListObject, Error, ErrorResponse, GetAutomationConnectorsHttpError, GetAutomationConnectorsHttpResponse, Links, PaginationLink, clearCache, automationConnectorsExport as default, getAutomationConnectors, automation_connectors_d_exports as t };
@@ -0,0 +1,40 @@
1
+ import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
2
+ import "../chunks/public-runtime-modules-mBjjPn7I.js";
3
+ import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DxtIsSVQ.js";
4
+
5
+ //#region src/public/rest/workflows/automation-connectors.ts
6
+ var automation_connectors_exports = /* @__PURE__ */ __exportAll({
7
+ clearCache: () => clearCache,
8
+ default: () => automationConnectorsExport,
9
+ getAutomationConnectors: () => getAutomationConnectors
10
+ });
11
+ /**
12
+ * Retrieves a list of automation connectors.
13
+ *
14
+ * @param query an object with query parameters
15
+ * @throws GetAutomationConnectorsHttpError
16
+ */
17
+ async function getAutomationConnectors(query, options) {
18
+ return invokeFetch("workflows/automation-connectors", {
19
+ method: "get",
20
+ pathTemplate: "/api/workflows/automation-connectors",
21
+ query,
22
+ options
23
+ });
24
+ }
25
+ /**
26
+ * Clears the cache for workflows/automation-connectors api requests.
27
+ */
28
+ function clearCache() {
29
+ return clearApiCache("workflows/automation-connectors");
30
+ }
31
+ /**
32
+ * Functions for the automation-connectors api
33
+ */
34
+ const automationConnectorsExport = {
35
+ getAutomationConnectors,
36
+ clearCache
37
+ };
38
+
39
+ //#endregion
40
+ export { clearCache, automationConnectorsExport as default, getAutomationConnectors, automation_connectors_exports as t };