@qlik/api 1.32.0 → 1.34.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 +13 -12
  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 +29 -29
  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/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
  23. package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
  24. package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
  25. package/chunks/7MMXU6EL.js +86 -0
  26. package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
  27. package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
  28. package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
  29. package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
  30. package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
  31. package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
  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 +102 -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 +16 -14
  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 +238 -60
  91. package/ml.js +391 -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 +27 -23
  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
@@ -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
  * The data integration data asset where the node belongs to
@@ -179,7 +179,7 @@ type Qris = string[];
179
179
  * @param query an object with query parameters
180
180
  * @throws ExpandLineageGraphImpactHttpError
181
181
  */
182
- declare const expandLineageGraphImpact: (id: string, query: {
182
+ declare function expandLineageGraphImpact(id: string, query: {
183
183
  /** The number of downstream resource levels nodes to retrieve. (5 if not provided, -1 means unlimited and 1 means direct lineage) */
184
184
  down?: number;
185
185
  /** The level to get the nodes on. */
@@ -189,7 +189,7 @@ declare const expandLineageGraphImpact: (id: string, query: {
189
189
  * If a TABLE level QRI is used with `level` parameter being `TABLE`, only the RESOURCE level of the node will be
190
190
  * taken into consideration. */
191
191
  node: string;
192
- }, options?: ApiCallOptions) => Promise<ExpandLineageGraphImpactHttpResponse>;
192
+ }, options?: ApiCallOptions): Promise<ExpandLineageGraphImpactHttpResponse>;
193
193
  type ExpandLineageGraphImpactHttpResponse = {
194
194
  data: GraphResponse;
195
195
  headers: Headers;
@@ -241,13 +241,13 @@ type ExpandLineageGraphImpact503HttpError = {
241
241
  * @param query an object with query parameters
242
242
  * @throws SearchLineageGraphImpactHttpError
243
243
  */
244
- declare const searchLineageGraphImpact: (id: string, query: {
244
+ declare function searchLineageGraphImpact(id: string, query: {
245
245
  /** The number of downstream resource levels nodes to search. (5 if not provided, -1 means unlimited) and 1 means direct lineage. */
246
246
  down?: number;
247
247
  /** The expression that matches the SCIM filter format. The filter has to be encoded.
248
248
  * The currently supported attribute is "label", attribute operator "co" (contains), and grouping operator "or". Example: 'label co "label1" or label co "label2"'. The search queries are case insensetive. */
249
249
  filter: string;
250
- }, options?: ApiCallOptions) => Promise<SearchLineageGraphImpactHttpResponse>;
250
+ }, options?: ApiCallOptions): Promise<SearchLineageGraphImpactHttpResponse>;
251
251
  type SearchLineageGraphImpactHttpResponse = {
252
252
  data: GraphsResponse;
253
253
  headers: Headers;
@@ -293,10 +293,10 @@ type SearchLineageGraphImpact503HttpError = {
293
293
  * @param query an object with query parameters
294
294
  * @throws GetLineageGraphImpactOverviewHttpError
295
295
  */
296
- declare const getLineageGraphImpactOverview: (id: string, query: {
296
+ declare function getLineageGraphImpactOverview(id: string, query: {
297
297
  /** The number of downstream resource levels nodes to retrieve. (5 if not provided, -1 means unlimited and 1 means direct lineage) */
298
298
  down?: number;
299
- }, options?: ApiCallOptions) => Promise<GetLineageGraphImpactOverviewHttpResponse>;
299
+ }, options?: ApiCallOptions): Promise<GetLineageGraphImpactOverviewHttpResponse>;
300
300
  type GetLineageGraphImpactOverviewHttpResponse = {
301
301
  data: GraphResponse;
302
302
  headers: Headers;
@@ -343,7 +343,7 @@ type GetLineageGraphImpactOverview503HttpError = {
343
343
  * @param id The id (QRI) for root node.
344
344
  * @throws GetLineageGraphImpactSourceHttpError
345
345
  */
346
- declare const getLineageGraphImpactSource: (id: string, options?: ApiCallOptions) => Promise<GetLineageGraphImpactSourceHttpResponse>;
346
+ declare function getLineageGraphImpactSource(id: string, options?: ApiCallOptions): Promise<GetLineageGraphImpactSourceHttpResponse>;
347
347
  type GetLineageGraphImpactSourceHttpResponse = {
348
348
  data: GraphsResponse;
349
349
  headers: Headers;
@@ -388,14 +388,14 @@ type GetLineageGraphImpactSource503HttpError = {
388
388
  * @param query an object with query parameters
389
389
  * @throws GetLineageGraphNodeHttpError
390
390
  */
391
- declare const getLineageGraphNode: (id: string, query: {
391
+ declare function getLineageGraphNode(id: string, query: {
392
392
  /** To collapse internal nodes, set to true, false otherwise. */
393
393
  collapse?: boolean;
394
394
  /** The graph level to retrieve. */
395
395
  level?: "field" | "table" | "resource" | "all";
396
396
  /** The number of upstream levels of nodes to retrieve. (5 if not provided, -1 means unlimited) */
397
397
  up?: number;
398
- }, options?: ApiCallOptions) => Promise<GetLineageGraphNodeHttpResponse>;
398
+ }, options?: ApiCallOptions): Promise<GetLineageGraphNodeHttpResponse>;
399
399
  type GetLineageGraphNodeHttpResponse = {
400
400
  data: GraphLevelsResponse;
401
401
  headers: Headers;
@@ -441,7 +441,7 @@ type GetLineageGraphNode503HttpError = {
441
441
  * @param query an object with query parameters
442
442
  * @throws ExpandLineageGraphNodeHttpError
443
443
  */
444
- declare const expandLineageGraphNode: (id: string, query: {
444
+ declare function expandLineageGraphNode(id: string, query: {
445
445
  /** To collapse internal nodes, set to true, false otherwise. */
446
446
  collapse?: boolean;
447
447
  /** The level to expand to. */
@@ -450,7 +450,7 @@ declare const expandLineageGraphNode: (id: string, query: {
450
450
  node: string;
451
451
  /** The number of upstream levels of nodes retrieved to expand. (5 if not provided, -1 means unlimited) */
452
452
  up?: number;
453
- }, options?: ApiCallOptions) => Promise<ExpandLineageGraphNodeHttpResponse>;
453
+ }, options?: ApiCallOptions): Promise<ExpandLineageGraphNodeHttpResponse>;
454
454
  type ExpandLineageGraphNodeHttpResponse = {
455
455
  data: GraphResponse;
456
456
  headers: Headers;
@@ -502,7 +502,7 @@ type ExpandLineageGraphNode503HttpError = {
502
502
  * @param query an object with query parameters
503
503
  * @throws SearchLineageGraphNodeHttpError
504
504
  */
505
- declare const searchLineageGraphNode: (id: string, query: {
505
+ declare function searchLineageGraphNode(id: string, query: {
506
506
  /** To collapse internal nodes, set to true, false otherwise. */
507
507
  collapse?: boolean;
508
508
  /** The expression that matches the SCIM filter format. The filter has to be encoded.
@@ -510,7 +510,7 @@ declare const searchLineageGraphNode: (id: string, query: {
510
510
  filter: string;
511
511
  /** The number of upstream levels of nodes retrieved to search. (5 if not provided, -1 means unlimited) */
512
512
  up?: number;
513
- }, options?: ApiCallOptions) => Promise<SearchLineageGraphNodeHttpResponse>;
513
+ }, options?: ApiCallOptions): Promise<SearchLineageGraphNodeHttpResponse>;
514
514
  type SearchLineageGraphNodeHttpResponse = {
515
515
  data: GraphsResponse;
516
516
  headers: Headers;
@@ -556,12 +556,12 @@ type SearchLineageGraphNode503HttpError = {
556
556
  * @param body an object with the body content
557
557
  * @throws CreateLineageGraphNodeOverviewHttpError
558
558
  */
559
- declare const createLineageGraphNodeOverview: (id: string, query: {
559
+ declare function createLineageGraphNodeOverview(id: string, query: {
560
560
  /** To collapse internal nodes, set to true, false otherwise. */
561
561
  collapse?: boolean;
562
562
  /** The number of upstream levels of nodes retrieved to get overview from. (5 if not provided, -1 means unlimited) */
563
563
  up?: number;
564
- }, body: Qris, options?: ApiCallOptions) => Promise<CreateLineageGraphNodeOverviewHttpResponse>;
564
+ }, body: Qris, options?: ApiCallOptions): Promise<CreateLineageGraphNodeOverviewHttpResponse>;
565
565
  type CreateLineageGraphNodeOverviewHttpResponse = CreateLineageGraphNodeOverview200HttpResponse | CreateLineageGraphNodeOverview201HttpResponse | CreateLineageGraphNodeOverview207HttpResponse;
566
566
  type CreateLineageGraphNodeOverview200HttpResponse = {
567
567
  data: OverviewItems;
package/lineage-graphs.js CHANGED
@@ -1,68 +1,84 @@
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/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/lineage-graphs.ts
9
- var expandLineageGraphImpact = async (id, query, options) => invokeFetch("lineage-graphs", {
10
- method: "get",
11
- pathTemplate: "/api/v1/lineage-graphs/impact/{id}/actions/expand",
12
- pathVariables: { id },
13
- query,
14
- options
15
- });
16
- var searchLineageGraphImpact = async (id, query, options) => invokeFetch("lineage-graphs", {
17
- method: "get",
18
- pathTemplate: "/api/v1/lineage-graphs/impact/{id}/actions/search",
19
- pathVariables: { id },
20
- query,
21
- options
22
- });
23
- var getLineageGraphImpactOverview = async (id, query, options) => invokeFetch("lineage-graphs", {
24
- method: "get",
25
- pathTemplate: "/api/v1/lineage-graphs/impact/{id}/overview",
26
- pathVariables: { id },
27
- query,
28
- options
29
- });
30
- var getLineageGraphImpactSource = async (id, options) => invokeFetch("lineage-graphs", {
31
- method: "get",
32
- pathTemplate: "/api/v1/lineage-graphs/impact/{id}/source",
33
- pathVariables: { id },
34
- options
35
- });
36
- var getLineageGraphNode = async (id, query, options) => invokeFetch("lineage-graphs", {
37
- method: "get",
38
- pathTemplate: "/api/v1/lineage-graphs/nodes/{id}",
39
- pathVariables: { id },
40
- query,
41
- options
42
- });
43
- var expandLineageGraphNode = async (id, query, options) => invokeFetch("lineage-graphs", {
44
- method: "get",
45
- pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/actions/expand",
46
- pathVariables: { id },
47
- query,
48
- options
49
- });
50
- var searchLineageGraphNode = async (id, query, options) => invokeFetch("lineage-graphs", {
51
- method: "get",
52
- pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/actions/search",
53
- pathVariables: { id },
54
- query,
55
- options
56
- });
57
- var createLineageGraphNodeOverview = async (id, query, body, options) => invokeFetch("lineage-graphs", {
58
- method: "post",
59
- pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/overview",
60
- pathVariables: { id },
61
- query,
62
- body,
63
- contentType: "application/json",
64
- options
65
- });
9
+ async function expandLineageGraphImpact(id, query, options) {
10
+ return invokeFetch("lineage-graphs", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/lineage-graphs/impact/{id}/actions/expand",
13
+ pathVariables: { id },
14
+ query,
15
+ options
16
+ });
17
+ }
18
+ async function searchLineageGraphImpact(id, query, options) {
19
+ return invokeFetch("lineage-graphs", {
20
+ method: "get",
21
+ pathTemplate: "/api/v1/lineage-graphs/impact/{id}/actions/search",
22
+ pathVariables: { id },
23
+ query,
24
+ options
25
+ });
26
+ }
27
+ async function getLineageGraphImpactOverview(id, query, options) {
28
+ return invokeFetch("lineage-graphs", {
29
+ method: "get",
30
+ pathTemplate: "/api/v1/lineage-graphs/impact/{id}/overview",
31
+ pathVariables: { id },
32
+ query,
33
+ options
34
+ });
35
+ }
36
+ async function getLineageGraphImpactSource(id, options) {
37
+ return invokeFetch("lineage-graphs", {
38
+ method: "get",
39
+ pathTemplate: "/api/v1/lineage-graphs/impact/{id}/source",
40
+ pathVariables: { id },
41
+ options
42
+ });
43
+ }
44
+ async function getLineageGraphNode(id, query, options) {
45
+ return invokeFetch("lineage-graphs", {
46
+ method: "get",
47
+ pathTemplate: "/api/v1/lineage-graphs/nodes/{id}",
48
+ pathVariables: { id },
49
+ query,
50
+ options
51
+ });
52
+ }
53
+ async function expandLineageGraphNode(id, query, options) {
54
+ return invokeFetch("lineage-graphs", {
55
+ method: "get",
56
+ pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/actions/expand",
57
+ pathVariables: { id },
58
+ query,
59
+ options
60
+ });
61
+ }
62
+ async function searchLineageGraphNode(id, query, options) {
63
+ return invokeFetch("lineage-graphs", {
64
+ method: "get",
65
+ pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/actions/search",
66
+ pathVariables: { id },
67
+ query,
68
+ options
69
+ });
70
+ }
71
+ async function createLineageGraphNodeOverview(id, query, body, options) {
72
+ return invokeFetch("lineage-graphs", {
73
+ method: "post",
74
+ pathTemplate: "/api/v1/lineage-graphs/nodes/{id}/overview",
75
+ pathVariables: { id },
76
+ query,
77
+ body,
78
+ contentType: "application/json",
79
+ options
80
+ });
81
+ }
66
82
  function clearCache() {
67
83
  return clearApiCache("lineage-graphs");
68
84
  }