@qlik/api 1.30.0 → 1.32.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 (138) hide show
  1. package/api-keys.d.ts +2 -2
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +4 -2
  4. package/apps.js +2 -2
  5. package/assistants.d.ts +1301 -0
  6. package/assistants.js +273 -0
  7. package/audits.d.ts +2 -2
  8. package/audits.js +2 -2
  9. package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
  10. package/auth.d.ts +27 -3
  11. package/auth.js +8 -4
  12. package/automation-connections.d.ts +366 -0
  13. package/automation-connections.js +91 -0
  14. package/automations.d.ts +2 -2
  15. package/automations.js +2 -2
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +27 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +72 -0
  20. package/brands.d.ts +2 -2
  21. package/brands.js +2 -2
  22. package/chunks/{JIX6RMFP.js → 6ZONDHRN.js} +1 -1
  23. package/chunks/ETNHFALU.js +61 -0
  24. package/chunks/{G6QUM5WQ.js → FKDGGR2O.js} +137 -45
  25. package/chunks/{TXC5XORK.js → LTNGXTXG.js} +3 -3
  26. package/chunks/{OTTC4QSX.js → LY7RP2HA.js} +7 -3
  27. package/chunks/{FKCZFVJL.js → M64RLKVG.js} +2074 -12
  28. package/chunks/{F5UDCCRD.js → PLVPW5IR.js} +1 -1
  29. package/chunks/{QK4TMJ64.js → RCLKKVYB.js} +11 -1
  30. package/chunks/{QWQLGDMI.js → UZTIZ4H5.js} +392 -372
  31. package/chunks/{PTDXR7AY.js → VVD2DPKQ.js} +2 -2
  32. package/chunks/{IQBP2PKS.js → YTT2FEVE.js} +1 -1
  33. package/collections.d.ts +3 -3
  34. package/collections.js +2 -2
  35. package/conditions.d.ts +662 -0
  36. package/conditions.js +113 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +24 -0
  39. package/csp-origins.d.ts +2 -2
  40. package/csp-origins.js +2 -2
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +23 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +155 -0
  45. package/data-assets.d.ts +2 -2
  46. package/data-assets.js +2 -2
  47. package/data-connections.d.ts +7 -7
  48. package/data-connections.js +2 -2
  49. package/data-credentials.d.ts +2 -2
  50. package/data-credentials.js +2 -2
  51. package/data-files.d.ts +2 -2
  52. package/data-files.js +2 -2
  53. package/data-qualities.d.ts +175 -0
  54. package/data-qualities.js +44 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +75 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +39 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +108 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +39 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +164 -0
  65. package/docs/authentication.md +47 -0
  66. package/encryption.d.ts +370 -0
  67. package/encryption.js +98 -0
  68. package/extensions.d.ts +2 -2
  69. package/extensions.js +2 -2
  70. package/glossaries.d.ts +2 -2
  71. package/glossaries.js +2 -2
  72. package/groups.d.ts +5 -4
  73. package/groups.js +2 -2
  74. package/identity-providers.d.ts +2 -2
  75. package/identity-providers.js +2 -2
  76. package/index.d.ts +110 -4
  77. package/index.js +556 -4
  78. package/interceptors.d.ts +2 -2
  79. package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
  80. package/items.d.ts +3 -3
  81. package/items.js +2 -2
  82. package/knowledgebases.d.ts +890 -0
  83. package/knowledgebases.js +169 -0
  84. package/licenses.d.ts +6 -3
  85. package/licenses.js +2 -2
  86. package/lineage-graphs.d.ts +712 -0
  87. package/lineage-graphs.js +92 -0
  88. package/ml.d.ts +2628 -0
  89. package/ml.js +384 -0
  90. package/notes.d.ts +110 -0
  91. package/notes.js +31 -0
  92. package/notifications.d.ts +98 -0
  93. package/notifications.js +24 -0
  94. package/oauth-clients.d.ts +7 -2
  95. package/oauth-clients.js +2 -2
  96. package/oauth-tokens.d.ts +126 -0
  97. package/oauth-tokens.js +31 -0
  98. package/package.json +29 -2
  99. package/qix.d.ts +421 -26
  100. package/qix.js +2 -2
  101. package/questions.d.ts +364 -0
  102. package/questions.js +34 -0
  103. package/quotas.d.ts +2 -2
  104. package/quotas.js +2 -2
  105. package/reload-tasks.d.ts +4 -2
  106. package/reload-tasks.js +2 -2
  107. package/reloads.d.ts +4 -2
  108. package/reloads.js +2 -2
  109. package/report-templates.d.ts +287 -0
  110. package/report-templates.js +80 -0
  111. package/reports.d.ts +2 -2
  112. package/reports.js +2 -2
  113. package/roles.d.ts +2 -2
  114. package/roles.js +2 -2
  115. package/sharing-tasks.d.ts +952 -0
  116. package/sharing-tasks.js +105 -0
  117. package/spaces.d.ts +3 -7
  118. package/spaces.js +2 -2
  119. package/tasks.d.ts +564 -0
  120. package/tasks.js +106 -0
  121. package/temp-contents.d.ts +2 -2
  122. package/temp-contents.js +2 -2
  123. package/tenants.d.ts +2 -2
  124. package/tenants.js +2 -2
  125. package/themes.d.ts +2 -2
  126. package/themes.js +2 -2
  127. package/transports.d.ts +2 -2
  128. package/transports.js +2 -2
  129. package/ui-config.d.ts +274 -0
  130. package/ui-config.js +77 -0
  131. package/users.d.ts +2 -2
  132. package/users.js +2 -2
  133. package/web-integrations.d.ts +2 -2
  134. package/web-integrations.js +2 -2
  135. package/web-notifications.d.ts +2 -2
  136. package/web-notifications.js +2 -2
  137. package/webhooks.d.ts +2 -2
  138. package/webhooks.js +2 -2
@@ -0,0 +1,169 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
+ import "./chunks/2ZQ3ZX7F.js";
7
+
8
+ // src/public/rest/knowledgebases.ts
9
+ var getKnowledgebases = async (query, options) => invokeFetch("knowledgebases", {
10
+ method: "get",
11
+ pathTemplate: "/api/v1/knowledgebases",
12
+ query,
13
+ options
14
+ });
15
+ var createKnowledgebase = async (body, options) => invokeFetch("knowledgebases", {
16
+ method: "post",
17
+ pathTemplate: "/api/v1/knowledgebases",
18
+ body,
19
+ contentType: "application/json",
20
+ options
21
+ });
22
+ var deleteKnowledgebase = async (id, options) => invokeFetch("knowledgebases", {
23
+ method: "delete",
24
+ pathTemplate: "/api/v1/knowledgebases/{id}",
25
+ pathVariables: { id },
26
+ options
27
+ });
28
+ var getKnowledgebase = async (id, options) => invokeFetch("knowledgebases", {
29
+ method: "get",
30
+ pathTemplate: "/api/v1/knowledgebases/{id}",
31
+ pathVariables: { id },
32
+ options
33
+ });
34
+ var patchKnowledgebase = async (id, body, options) => invokeFetch("knowledgebases", {
35
+ method: "patch",
36
+ pathTemplate: "/api/v1/knowledgebases/{id}",
37
+ pathVariables: { id },
38
+ body,
39
+ contentType: "application/json",
40
+ options
41
+ });
42
+ var createKnowledgebaseDatasource = async (id, body, options) => invokeFetch("knowledgebases", {
43
+ method: "post",
44
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources",
45
+ pathVariables: { id },
46
+ body,
47
+ contentType: "application/json",
48
+ options
49
+ });
50
+ var deleteKnowledgebaseDatasource = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
51
+ method: "delete",
52
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
53
+ pathVariables: { id, datasourceId },
54
+ options
55
+ });
56
+ var updateKnowledgebaseDatasource = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
57
+ method: "put",
58
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
59
+ pathVariables: { id, datasourceId },
60
+ body,
61
+ contentType: "application/json",
62
+ options
63
+ });
64
+ var cancelKnowledgebaseDatasource = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
65
+ method: "post",
66
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/cancel",
67
+ pathVariables: { id, datasourceId },
68
+ options
69
+ });
70
+ var downloadKnowledgebaseDatasource = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
71
+ method: "post",
72
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/download",
73
+ pathVariables: { id, datasourceId },
74
+ body,
75
+ contentType: "application/json",
76
+ options
77
+ });
78
+ var syncKnowledgebaseDatasource = async (id, datasourceId, query, options) => invokeFetch("knowledgebases", {
79
+ method: "post",
80
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/sync",
81
+ pathVariables: { id, datasourceId },
82
+ query,
83
+ options
84
+ });
85
+ var getKnowledgebaseDatasourceHistories = async (id, datasourceId, query, options) => invokeFetch("knowledgebases", {
86
+ method: "get",
87
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories",
88
+ pathVariables: { id, datasourceId },
89
+ query,
90
+ options
91
+ });
92
+ var getKnowledgebaseDatasourceHistory = async (id, datasourceId, syncId, options) => invokeFetch("knowledgebases", {
93
+ method: "get",
94
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories/{syncId}",
95
+ pathVariables: { id, datasourceId, syncId },
96
+ options
97
+ });
98
+ var deleteKnowledgebaseDatasourceSchedule = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
99
+ method: "delete",
100
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
101
+ pathVariables: { id, datasourceId },
102
+ options
103
+ });
104
+ var getKnowledgebaseDatasourceSchedule = async (id, datasourceId, options) => invokeFetch("knowledgebases", {
105
+ method: "get",
106
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
107
+ pathVariables: { id, datasourceId },
108
+ options
109
+ });
110
+ var createKnowledgebaseDatasourceSchedule = async (id, datasourceId, body, options) => invokeFetch("knowledgebases", {
111
+ method: "post",
112
+ pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
113
+ pathVariables: { id, datasourceId },
114
+ body,
115
+ contentType: "application/json",
116
+ options
117
+ });
118
+ var getKnowledgebaseHistories = async (id, query, options) => invokeFetch("knowledgebases", {
119
+ method: "get",
120
+ pathTemplate: "/api/v1/knowledgebases/{id}/histories",
121
+ pathVariables: { id },
122
+ query,
123
+ options
124
+ });
125
+ function clearCache() {
126
+ return clearApiCache("knowledgebases");
127
+ }
128
+ var knowledgebasesExport = {
129
+ getKnowledgebases,
130
+ createKnowledgebase,
131
+ deleteKnowledgebase,
132
+ getKnowledgebase,
133
+ patchKnowledgebase,
134
+ createKnowledgebaseDatasource,
135
+ deleteKnowledgebaseDatasource,
136
+ updateKnowledgebaseDatasource,
137
+ cancelKnowledgebaseDatasource,
138
+ downloadKnowledgebaseDatasource,
139
+ syncKnowledgebaseDatasource,
140
+ getKnowledgebaseDatasourceHistories,
141
+ getKnowledgebaseDatasourceHistory,
142
+ deleteKnowledgebaseDatasourceSchedule,
143
+ getKnowledgebaseDatasourceSchedule,
144
+ createKnowledgebaseDatasourceSchedule,
145
+ getKnowledgebaseHistories,
146
+ clearCache
147
+ };
148
+ var knowledgebases_default = knowledgebasesExport;
149
+ export {
150
+ cancelKnowledgebaseDatasource,
151
+ clearCache,
152
+ createKnowledgebase,
153
+ createKnowledgebaseDatasource,
154
+ createKnowledgebaseDatasourceSchedule,
155
+ knowledgebases_default as default,
156
+ deleteKnowledgebase,
157
+ deleteKnowledgebaseDatasource,
158
+ deleteKnowledgebaseDatasourceSchedule,
159
+ downloadKnowledgebaseDatasource,
160
+ getKnowledgebase,
161
+ getKnowledgebaseDatasourceHistories,
162
+ getKnowledgebaseDatasourceHistory,
163
+ getKnowledgebaseDatasourceSchedule,
164
+ getKnowledgebaseHistories,
165
+ getKnowledgebases,
166
+ patchKnowledgebase,
167
+ syncKnowledgebaseDatasource,
168
+ updateKnowledgebaseDatasource
169
+ };
package/licenses.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * @example
@@ -367,6 +367,7 @@ type LicenseOverview = {
367
367
  /**
368
368
  * @example
369
369
  * {
370
+ * extensionStatus: "Unavailable",
370
371
  * origin: "Internal",
371
372
  * product: "Qlik Sense Business",
372
373
  * status: "Ok",
@@ -376,6 +377,8 @@ type LicenseOverview = {
376
377
  * }
377
378
  */
378
379
  type LicenseStatus = {
380
+ /** Enum with extension status of license. access. */
381
+ extensionStatus: "Unavailable" | "Pending" | "Available";
379
382
  /** Origin of license key. */
380
383
  origin: "Internal" | "External";
381
384
  /** The product the license is valid for. */
@@ -385,7 +388,7 @@ type LicenseStatus = {
385
388
  /** Boolean indicating if it is a trial license. */
386
389
  trial: boolean;
387
390
  /** Type of license key. */
388
- type: "Signed" | "Plain";
391
+ type: "Signed" | "Plain" | 2;
389
392
  /** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
390
393
  valid: string;
391
394
  };
package/licenses.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/licenses.ts