@qlik/api 1.31.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/api-keys.d.ts +10 -10
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +1301 -0
  6. package/assistants.js +329 -0
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +366 -0
  13. package/automation-connections.js +107 -0
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +29 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +84 -0
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +662 -0
  36. package/conditions.js +135 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +26 -0
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +25 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +187 -0
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +175 -0
  54. package/data-qualities.js +50 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +87 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +45 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +128 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +45 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +196 -0
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +370 -0
  68. package/encryption.js +118 -0
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +113 -4
  78. package/index.js +626 -40
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +890 -0
  85. package/knowledgebases.js +203 -0
  86. package/licenses.d.ts +14 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +712 -0
  89. package/lineage-graphs.js +108 -0
  90. package/ml.d.ts +2676 -0
  91. package/ml.js +477 -0
  92. package/notes.d.ts +110 -0
  93. package/notes.js +35 -0
  94. package/notifications.d.ts +98 -0
  95. package/notifications.js +26 -0
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +126 -0
  99. package/oauth-tokens.js +35 -0
  100. package/package.json +34 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +364 -0
  104. package/questions.js +38 -0
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +287 -0
  112. package/report-templates.js +94 -0
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +952 -0
  118. package/sharing-tasks.js +125 -0
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +564 -0
  122. package/tasks.js +126 -0
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +274 -0
  132. package/ui-config.js +91 -0
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
@@ -0,0 +1,94 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
+
8
+ // src/public/rest/report-templates.ts
9
+ async function getReportTemplates(query, options) {
10
+ return invokeFetch("report-templates", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/report-templates",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createReportTemplate(body, options) {
18
+ return invokeFetch("report-templates", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/report-templates",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteReportTemplate(id, options) {
27
+ return invokeFetch("report-templates", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/report-templates/{id}",
30
+ pathVariables: { id },
31
+ options
32
+ });
33
+ }
34
+ async function getReportTemplate(id, options) {
35
+ return invokeFetch("report-templates", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/report-templates/{id}",
38
+ pathVariables: { id },
39
+ options
40
+ });
41
+ }
42
+ async function patchReportTemplate(id, body, options) {
43
+ return invokeFetch("report-templates", {
44
+ method: "patch",
45
+ pathTemplate: "/api/v1/report-templates/{id}",
46
+ pathVariables: { id },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
52
+ async function updateReportTemplate(id, body, options) {
53
+ return invokeFetch("report-templates", {
54
+ method: "put",
55
+ pathTemplate: "/api/v1/report-templates/{id}",
56
+ pathVariables: { id },
57
+ body,
58
+ contentType: "application/json",
59
+ options
60
+ });
61
+ }
62
+ async function downloadReportTemplate(id, options) {
63
+ return invokeFetch("report-templates", {
64
+ method: "post",
65
+ pathTemplate: "/api/v1/report-templates/{id}/actions/download",
66
+ pathVariables: { id },
67
+ options
68
+ });
69
+ }
70
+ function clearCache() {
71
+ return clearApiCache("report-templates");
72
+ }
73
+ var reportTemplatesExport = {
74
+ getReportTemplates,
75
+ createReportTemplate,
76
+ deleteReportTemplate,
77
+ getReportTemplate,
78
+ patchReportTemplate,
79
+ updateReportTemplate,
80
+ downloadReportTemplate,
81
+ clearCache
82
+ };
83
+ var report_templates_default = reportTemplatesExport;
84
+ export {
85
+ clearCache,
86
+ createReportTemplate,
87
+ report_templates_default as default,
88
+ deleteReportTemplate,
89
+ downloadReportTemplate,
90
+ getReportTemplate,
91
+ getReportTemplates,
92
+ patchReportTemplate,
93
+ updateReportTemplate
94
+ };
package/reports.d.ts CHANGED
@@ -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
  /**
5
5
  * Error in resource handling
@@ -696,7 +696,7 @@ type ReloadTimestampMatchType = "noCheck" | "requestTimeExact";
696
696
  * @param body an object with the body content
697
697
  * @throws CreateReportHttpError
698
698
  */
699
- declare const createReport: (body: ReportRequest, options?: ApiCallOptions) => Promise<CreateReportHttpResponse>;
699
+ declare function createReport(body: ReportRequest, options?: ApiCallOptions): Promise<CreateReportHttpResponse>;
700
700
  type CreateReportHttpResponse = {
701
701
  data: void;
702
702
  headers: Headers;
@@ -713,7 +713,7 @@ type CreateReportHttpError = {
713
713
  * @param id Identifier of the request.
714
714
  * @throws GetReportStatusHttpError
715
715
  */
716
- declare const getReportStatus: (id: string, options?: ApiCallOptions) => Promise<GetReportStatusHttpResponse>;
716
+ declare function getReportStatus(id: string, options?: ApiCallOptions): Promise<GetReportStatusHttpResponse>;
717
717
  type GetReportStatusHttpResponse = {
718
718
  data: ReportStatus;
719
719
  headers: Headers;
package/reports.js CHANGED
@@ -1,24 +1,28 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/reports.ts
9
- var createReport = async (body, options) => invokeFetch("reports", {
10
- method: "post",
11
- pathTemplate: "/api/v1/reports",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var getReportStatus = async (id, options) => invokeFetch("reports", {
17
- method: "get",
18
- pathTemplate: "/api/v1/reports/{id}/status",
19
- pathVariables: { id },
20
- options
21
- });
9
+ async function createReport(body, options) {
10
+ return invokeFetch("reports", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/reports",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function getReportStatus(id, options) {
19
+ return invokeFetch("reports", {
20
+ method: "get",
21
+ pathTemplate: "/api/v1/reports/{id}/status",
22
+ pathVariables: { id },
23
+ options
24
+ });
25
+ }
22
26
  function clearCache() {
23
27
  return clearApiCache("reports");
24
28
  }
package/roles.d.ts CHANGED
@@ -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 CreateRole = {
5
5
  /** Selection of scopes to assign to role */
@@ -163,7 +163,7 @@ type Role = {
163
163
  * @param query an object with query parameters
164
164
  * @throws GetRolesHttpError
165
165
  */
166
- declare const getRoles: (query: {
166
+ declare function getRoles(query: {
167
167
  /** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. All conditional statements within this query parameter are case insensitive. */
168
168
  filter?: string;
169
169
  /** The number of roles to retrieve. */
@@ -176,7 +176,7 @@ declare const getRoles: (query: {
176
176
  sort?: string;
177
177
  /** Determines wether to return a count of the total records matched in the query. Defaults to false. */
178
178
  totalResults?: boolean;
179
- }, options?: ApiCallOptions) => Promise<GetRolesHttpResponse>;
179
+ }, options?: ApiCallOptions): Promise<GetRolesHttpResponse>;
180
180
  type GetRolesHttpResponse = {
181
181
  data: ListRolesResult;
182
182
  headers: Headers;
@@ -195,7 +195,7 @@ type GetRolesHttpError = {
195
195
  * @param body an object with the body content
196
196
  * @throws CreateRoleHttpError
197
197
  */
198
- declare const createRole: (body: CreateRole, options?: ApiCallOptions) => Promise<CreateRoleHttpResponse>;
198
+ declare function createRole(body: CreateRole, options?: ApiCallOptions): Promise<CreateRoleHttpResponse>;
199
199
  type CreateRoleHttpResponse = {
200
200
  data: Role;
201
201
  headers: Headers;
@@ -212,7 +212,7 @@ type CreateRoleHttpError = {
212
212
  * @param id The unique identifier for the role.
213
213
  * @throws DeleteRoleHttpError
214
214
  */
215
- declare const deleteRole: (id: string, options?: ApiCallOptions) => Promise<DeleteRoleHttpResponse>;
215
+ declare function deleteRole(id: string, options?: ApiCallOptions): Promise<DeleteRoleHttpResponse>;
216
216
  type DeleteRoleHttpResponse = {
217
217
  data: void;
218
218
  headers: Headers;
@@ -229,7 +229,7 @@ type DeleteRoleHttpError = {
229
229
  * @param id The unique identifier for the role.
230
230
  * @throws GetRoleHttpError
231
231
  */
232
- declare const getRole: (id: string, options?: ApiCallOptions) => Promise<GetRoleHttpResponse>;
232
+ declare function getRole(id: string, options?: ApiCallOptions): Promise<GetRoleHttpResponse>;
233
233
  type GetRoleHttpResponse = {
234
234
  data: Role;
235
235
  headers: Headers;
@@ -247,7 +247,7 @@ type GetRoleHttpError = {
247
247
  * @param body an object with the body content
248
248
  * @throws PatchRoleHttpError
249
249
  */
250
- declare const patchRole: (id: string, body: PatchRoles, options?: ApiCallOptions) => Promise<PatchRoleHttpResponse>;
250
+ declare function patchRole(id: string, body: PatchRoles, options?: ApiCallOptions): Promise<PatchRoleHttpResponse>;
251
251
  type PatchRoleHttpResponse = {
252
252
  data: void;
253
253
  headers: Headers;
package/roles.js CHANGED
@@ -1,44 +1,54 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/roles.ts
9
- var getRoles = async (query, options) => invokeFetch("roles", {
10
- method: "get",
11
- pathTemplate: "/api/v1/roles",
12
- query,
13
- options
14
- });
15
- var createRole = async (body, options) => invokeFetch("roles", {
16
- method: "post",
17
- pathTemplate: "/api/v1/roles",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var deleteRole = async (id, options) => invokeFetch("roles", {
23
- method: "delete",
24
- pathTemplate: "/api/v1/roles/{id}",
25
- pathVariables: { id },
26
- options
27
- });
28
- var getRole = async (id, options) => invokeFetch("roles", {
29
- method: "get",
30
- pathTemplate: "/api/v1/roles/{id}",
31
- pathVariables: { id },
32
- options
33
- });
34
- var patchRole = async (id, body, options) => invokeFetch("roles", {
35
- method: "patch",
36
- pathTemplate: "/api/v1/roles/{id}",
37
- pathVariables: { id },
38
- body,
39
- contentType: "application/json",
40
- options
41
- });
9
+ async function getRoles(query, options) {
10
+ return invokeFetch("roles", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/roles",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createRole(body, options) {
18
+ return invokeFetch("roles", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/roles",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteRole(id, options) {
27
+ return invokeFetch("roles", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/roles/{id}",
30
+ pathVariables: { id },
31
+ options
32
+ });
33
+ }
34
+ async function getRole(id, options) {
35
+ return invokeFetch("roles", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/roles/{id}",
38
+ pathVariables: { id },
39
+ options
40
+ });
41
+ }
42
+ async function patchRole(id, body, options) {
43
+ return invokeFetch("roles", {
44
+ method: "patch",
45
+ pathTemplate: "/api/v1/roles/{id}",
46
+ pathVariables: { id },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
42
52
  function clearCache() {
43
53
  return clearApiCache("roles");
44
54
  }