@qlik/api 2.2.0 → 2.3.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 (231) 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-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
  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-DipDBQQ5.js} +258 -54
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.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 +6 -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-D11iO7ZV.js +0 -65
  163. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  164. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  165. package/chunks/automations-BGy83EBO.d.ts +0 -797
  166. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  167. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  168. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  169. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  170. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  171. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  172. package/chunks/consumption-DerFk437.d.ts +0 -182
  173. package/chunks/core-DQXNZdnf.d.ts +0 -12
  174. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  175. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  176. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  177. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  178. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  179. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  180. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  181. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  182. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  183. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  184. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  185. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  186. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  187. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  188. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  189. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  190. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  191. package/chunks/groups-C86-UG7S.d.ts +0 -511
  192. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  193. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  194. package/chunks/interceptors-DTYm37AU.js +0 -104
  195. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  196. package/chunks/ip-policies-DXlf172B.js +0 -108
  197. package/chunks/items-C-jzqvFW.d.ts +0 -536
  198. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  199. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  200. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  201. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  202. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  203. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  204. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  205. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  206. package/chunks/qix-CYQsLyGQ.js +0 -40
  207. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  208. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  209. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  210. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  211. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  212. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  213. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  214. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  215. package/chunks/spaces-BK823t-b.d.ts +0 -780
  216. package/chunks/tasks-COKDfShO.d.ts +0 -564
  217. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  218. package/chunks/tenants-Bhn86519.d.ts +0 -361
  219. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  220. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  221. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  222. package/chunks/users-BSOBU_fg.d.ts +0 -675
  223. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  224. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  225. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  226. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  227. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  228. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  229. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  230. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  231. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,663 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/licenses.d.ts
4
-
5
- /**
6
- * @example
7
- * {
8
- * add: [
9
- * {
10
- * subject: "qlik\kalle",
11
- * type: "professional"
12
- * },
13
- * {
14
- * subject: "qlik\nalle",
15
- * type: "analyzer"
16
- * }
17
- * ]
18
- * }
19
- */
20
- type AssignmentsActionsAddRequest = {
21
- add: {
22
- /** @deprecated
23
- * User name */
24
- name?: string;
25
- /** User subject */
26
- subject: string;
27
- /** Allotment type */
28
- type: string;
29
- /** @deprecated
30
- * User ID */
31
- userId?: string;
32
- }[];
33
- };
34
- /**
35
- * @example
36
- * {
37
- * data: [
38
- * {
39
- * status: 201,
40
- * subject: "qlik\kalle",
41
- * type: "professional"
42
- * },
43
- * {
44
- * code: "LICENSES-011",
45
- * status: 403,
46
- * subject: "qlik\nalle",
47
- * title: "No available allotment error, No available allotment.",
48
- * type: "analyzer"
49
- * }
50
- * ]
51
- * }
52
- */
53
- type AssignmentsActionsAddResponse = {
54
- data: {
55
- /** Error code */
56
- code?: string;
57
- /** Response status */
58
- status: number;
59
- /** Subject */
60
- subject: string;
61
- /** Error title */
62
- title?: string;
63
- /** Allotment type */
64
- type?: string;
65
- }[];
66
- };
67
- /**
68
- * @example
69
- * {
70
- * delete: [
71
- * {
72
- * subject: "qlik\malik",
73
- * type: "analyzer"
74
- * }
75
- * ]
76
- * }
77
- */
78
- type AssignmentsActionsDeleteRequest = {
79
- delete: {
80
- /** User subject */
81
- subject: string;
82
- /** Allotment type */
83
- type: string;
84
- }[];
85
- };
86
- /**
87
- * @example
88
- * {
89
- * data: [
90
- * {
91
- * status: 200,
92
- * subject: "qlik\malik",
93
- * type: "professional"
94
- * },
95
- * {
96
- * code: "LICENSES-016",
97
- * status: 404,
98
- * subject: "qlik\no",
99
- * title: "Assignment not found.",
100
- * type: "analyzer"
101
- * }
102
- * ]
103
- * }
104
- */
105
- type AssignmentsActionsDeleteResponse = {
106
- data: {
107
- /** Error code */
108
- code?: string;
109
- /** Response status */
110
- status: number;
111
- /** Subject */
112
- subject?: string;
113
- /** Error title */
114
- title?: string;
115
- /** Allotment type */
116
- type?: string;
117
- }[];
118
- };
119
- /**
120
- * @example
121
- * {
122
- * update: [
123
- * {
124
- * sourceType: "analyzer",
125
- * subject: "qlik\malik",
126
- * type: "professional"
127
- * }
128
- * ]
129
- * }
130
- */
131
- type AssignmentsActionsUpdateRequest = {
132
- update: {
133
- /** The current user subject, in case that should be patched. */
134
- sourceSubject?: string;
135
- /** Current assignment type. */
136
- sourceType?: string;
137
- /** User subject, the current or the desired after the patch. */
138
- subject: string;
139
- /** Target assignment type. */
140
- type?: string;
141
- }[];
142
- };
143
- /**
144
- * @example
145
- * {
146
- * data: [
147
- * {
148
- * sourceType: "analyzer",
149
- * status: 200,
150
- * subject: "qlik\malik",
151
- * type: "professional"
152
- * },
153
- * {
154
- * code: "LICENSES-016",
155
- * sourceType: "analyzer",
156
- * status: 404,
157
- * subject: "qlik/sara",
158
- * title: "Assignment not found."
159
- * }
160
- * ]
161
- * }
162
- */
163
- type AssignmentsActionsUpdateResponse = {
164
- data: {
165
- /** Error code */
166
- code?: string;
167
- /** Current subject. */
168
- sourceSubject?: string;
169
- /** Current allotment type. */
170
- sourceType?: string;
171
- /** HTTP status code indicating the result of the individual assignment operation. A value of 200 represents a successful update, while 201 indicates a new resource was created due to a subject update. Any 400-level status codes indicate an error. */
172
- status: number;
173
- /** Target subject. */
174
- subject?: string;
175
- /** Error title */
176
- title?: string;
177
- /** Target allotment type. */
178
- type?: string;
179
- }[];
180
- };
181
- /**
182
- * @example
183
- * {
184
- * data: [
185
- * {
186
- * created: "2020-12-03T09:24:48.114Z",
187
- * excess: false,
188
- * subject: "qlik\kalle",
189
- * type: "analyzer"
190
- * },
191
- * {
192
- * created: "2020-12-03T09:24:48.114Z",
193
- * subject: "qlik\nalle"
194
- * }
195
- * ],
196
- * links: {
197
- * next: {
198
- * href: "http://license/v1/licenses/assignments?limit=4&page=bmV4dDpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZrQUE%3D"
199
- * },
200
- * prev: {
201
- * href: "http://license/v1/licenses/assignments?limit=4&page=cHJldjpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZ0QUE%3D"
202
- * }
203
- * }
204
- * }
205
- */
206
- type AssignmentsResponse = {
207
- data: {
208
- /** Assignment created date. */
209
- created: string;
210
- /** Assignment excess status. */
211
- excess: boolean;
212
- /** Subject */
213
- subject: string;
214
- /** Allotment type */
215
- type: string;
216
- }[];
217
- links: {
218
- next?: Href;
219
- prev?: Href;
220
- };
221
- };
222
- type ConsumptionEventsResponse = {
223
- data: {
224
- /** Allotment ID */
225
- allotmentId?: string;
226
- /** App ID */
227
- appId?: string;
228
- /** Analyzer capacity chunks consumed. */
229
- capacityUsed?: number;
230
- /** Engine session duration. */
231
- duration?: string;
232
- /** Engine session end time. */
233
- endTime?: string;
234
- /** ID */
235
- id?: string;
236
- /** License usage */
237
- licenseUsage?: string;
238
- /** Analyzer capacity minutes consumed. */
239
- minutesUsed?: number;
240
- /** Engine session ID. */
241
- sessionId?: string;
242
- /** User ID */
243
- userId?: string;
244
- }[];
245
- links: {
246
- next?: Href;
247
- prev?: Href;
248
- };
249
- };
250
- /**
251
- * @example
252
- * {
253
- * error: "util.Error",
254
- * errors: [
255
- * {
256
- * code: "LICENSES-123",
257
- * title: "error title"
258
- * }
259
- * ],
260
- * message: "error message"
261
- * }
262
- */
263
- type ErrorResponse = {
264
- /** @deprecated
265
- * Error type */
266
- error: string;
267
- errors: {
268
- /** Error code */
269
- code: string;
270
- /** Additional error detail. */
271
- detail?: string;
272
- /** Error title */
273
- title: string;
274
- }[];
275
- /** @deprecated
276
- * Error message */
277
- message: string;
278
- };
279
- type Href = {
280
- /** link */
281
- href?: string;
282
- };
283
- /**
284
- * @example
285
- * {
286
- * allotments: [
287
- * {
288
- * name: "analyzer_time",
289
- * overage: 100,
290
- * units: 300,
291
- * unitsUsed: 242,
292
- * usageClass: "time"
293
- * },
294
- * {
295
- * name: "professional",
296
- * units: 200,
297
- * unitsUsed: 15,
298
- * usageClass: "assigned"
299
- * }
300
- * ],
301
- * licenseKey: "hejhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6IktFWTEifQ.eyJqdGkiOiIxZjZkZTc0Zi04MDcyLTRjMTQtYjc1OS02ZjlkYmJmYWM5MjAiLCJsaWNlbnNlIjoiOTk5OTAwMDAwMDAwMTIzNCJ9.fwa6l6gY1MR_Ja2OMnV65V68fbzQYW5OAKUFnLfG9oZjNAbjhdDkZvS2S2zHaBnSrSva1ARh5iq_S0KTBOKKcJJDTb7jRVURyaAvbCuBDk_0ITrUudHaT9U_Mc9EKkfT8mR6vthhZxVzEhyYPFS7gDw7M6bav2ntpDsoJFPgous",
302
- * licenseNumber: "9999000000001204",
303
- * origin: "Internal",
304
- * parameters: [
305
- * {
306
- * name: "qlikAlerting",
307
- * valid: "./.",
308
- * values: {
309
- * "saas_alerting": "FULL"
310
- * }
311
- * }
312
- * ],
313
- * product: "Qlik Sense Enterprise SaaS",
314
- * secondaryNumber: "12345",
315
- * status: "Ok",
316
- * trial: false,
317
- * valid: "2018-01-01/2018-12-31"
318
- * }
319
- */
320
- type LicenseOverview = {
321
- allotments: {
322
- name: "professional" | "analyzer" | "analyzer_time";
323
- /** Overage value; -1 means unbounded overage. */
324
- overage?: number;
325
- units: number;
326
- unitsUsed: number;
327
- usageClass: string;
328
- }[];
329
- /** the capability bank id */
330
- capabilityBankId?: string;
331
- /** An ISO 8601 timestamp for when the license was last changed. */
332
- changeTime?: string;
333
- /** Customer ID */
334
- customerId?: string;
335
- /** An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future. */
336
- latestValidTime?: string;
337
- licenseKey: string;
338
- licenseNumber: string;
339
- licenseType?: string;
340
- /** Origin of license key. */
341
- origin: "Internal" | "External";
342
- /** The license parameters. */
343
- parameters: {
344
- /** Parameters for licenses to control access to the parameters. */
345
- access?: {
346
- /** Name of an allotment that the user must have access to. to */
347
- allotment?: string;
348
- };
349
- /** Parameter set (provision) name. */
350
- name: string;
351
- /** Time interval for parameter validity. */
352
- valid: string;
353
- /** Parameter values */
354
- values?: unknown;
355
- }[];
356
- /** the parent number of the license. can be shared by multiple license numbers */
357
- parentLicenseNumber?: string;
358
- /** The product the license is valid for. */
359
- product: string;
360
- /** The secondary number of a definition. */
361
- secondaryNumber: string;
362
- /** Enum with status of license. Only status Ok grants license. access. */
363
- status: "Ok" | "Blacklisted" | "Expired";
364
- /** Boolean indicating if it is a trial license. */
365
- trial: boolean;
366
- /** An ISO 8601 timestamp for when the license was last updated. */
367
- updated: string;
368
- /** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
369
- valid: string;
370
- };
371
- /**
372
- * @example
373
- * {
374
- * extensionStatus: "Unavailable",
375
- * origin: "Internal",
376
- * product: "Qlik Sense Business",
377
- * status: "Ok",
378
- * trial: false,
379
- * type: "Signed",
380
- * valid: "2018-01-01/2018-12-31"
381
- * }
382
- */
383
- type LicenseStatus = {
384
- /** Boolean indicating if the license is deactivated. */
385
- deactivated: boolean;
386
- /** Enum with extension status of license. access. */
387
- extensionStatus: "Unavailable" | "Pending" | "Available";
388
- /** Origin of license key. */
389
- origin: "Internal" | "External";
390
- /** The product the license is valid for. */
391
- product: string;
392
- /** Enum with status of license. Only status Ok grants license. access. */
393
- status: "Ok" | "Blacklisted" | "Expired" | "Missing";
394
- /** Boolean indicating if it is a trial license. */
395
- trial: boolean;
396
- /** Type of license key. */
397
- type: "Signed" | "Plain" | "2.0";
398
- /** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
399
- valid: string;
400
- };
401
- /**
402
- * @example
403
- * {
404
- * autoAssignAnalyzer: true,
405
- * autoAssignProfessional: false
406
- * }
407
- */
408
- type SettingsBody = {
409
- /** If analyzer users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available. */
410
- autoAssignAnalyzer?: boolean;
411
- /** If professional users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available. */
412
- autoAssignProfessional?: boolean;
413
- };
414
- /**
415
- * Retrieves assignments for the current tenant
416
- *
417
- * @param query an object with query parameters
418
- * @throws GetLicenseAssignmentsHttpError
419
- */
420
- declare function getLicenseAssignments(query: {
421
- /** The filter for finding entries. */
422
- filter?: string;
423
- /** The preferred number of entries to return. */
424
- limit?: number;
425
- /** Only return assignments which are 'orphans' in the current tenant. */
426
- orphans?: boolean;
427
- /** The requested page. */
428
- page?: string;
429
- /** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
430
- sort?: string;
431
- }, options?: ApiCallOptions): Promise<GetLicenseAssignmentsHttpResponse>;
432
- type GetLicenseAssignmentsHttpResponse = {
433
- data: AssignmentsResponse;
434
- headers: Headers;
435
- status: 200;
436
- prev?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
437
- next?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
438
- };
439
- type GetLicenseAssignmentsHttpError = {
440
- data: ErrorResponse;
441
- headers: Headers;
442
- status: 400 | 401 | 403;
443
- };
444
- /**
445
- * Assigns license access to the given users
446
- *
447
- * @param body an object with the body content
448
- * @throws AddLicenseAssignmentsHttpError
449
- */
450
- declare function addLicenseAssignments(body: AssignmentsActionsAddRequest, options?: ApiCallOptions): Promise<AddLicenseAssignmentsHttpResponse>;
451
- type AddLicenseAssignmentsHttpResponse = {
452
- data: AssignmentsActionsAddResponse;
453
- headers: Headers;
454
- status: 207;
455
- };
456
- type AddLicenseAssignmentsHttpError = {
457
- data: ErrorResponse;
458
- headers: Headers;
459
- status: 400 | 401 | 403;
460
- };
461
- /**
462
- * Removes license access for the given users
463
- *
464
- * @param body an object with the body content
465
- * @throws DeleteLicenseAssignmentsHttpError
466
- */
467
- declare function deleteLicenseAssignments(body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions): Promise<DeleteLicenseAssignmentsHttpResponse>;
468
- type DeleteLicenseAssignmentsHttpResponse = {
469
- data: AssignmentsActionsDeleteResponse;
470
- headers: Headers;
471
- status: 207;
472
- };
473
- type DeleteLicenseAssignmentsHttpError = {
474
- data: ErrorResponse;
475
- headers: Headers;
476
- status: 400 | 401 | 403;
477
- };
478
- /**
479
- * Updates license access for the given users
480
- *
481
- * @param body an object with the body content
482
- * @throws UpdateLicenseAssignmentsHttpError
483
- */
484
- declare function updateLicenseAssignments(body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions): Promise<UpdateLicenseAssignmentsHttpResponse>;
485
- type UpdateLicenseAssignmentsHttpResponse = {
486
- data: AssignmentsActionsUpdateResponse;
487
- headers: Headers;
488
- status: 207;
489
- };
490
- type UpdateLicenseAssignmentsHttpError = {
491
- data: ErrorResponse;
492
- headers: Headers;
493
- status: 400 | 401 | 403;
494
- };
495
- /**
496
- * Retrieves license consumption for the current tenant
497
- *
498
- * @param query an object with query parameters
499
- * @throws GetLicenseConsumptionHttpError
500
- */
501
- declare function getLicenseConsumption(query: {
502
- /** The SCIM filter for the query. Filterable property is "endTime". */
503
- filter?: string;
504
- /** The preferred number of entries to return. */
505
- limit?: number;
506
- /** The requested page. */
507
- page?: string;
508
- /** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
509
- sort?: string;
510
- }, options?: ApiCallOptions): Promise<GetLicenseConsumptionHttpResponse>;
511
- type GetLicenseConsumptionHttpResponse = {
512
- data: ConsumptionEventsResponse;
513
- headers: Headers;
514
- status: 200;
515
- prev?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
516
- next?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
517
- };
518
- type GetLicenseConsumptionHttpError = {
519
- data: ErrorResponse;
520
- headers: Headers;
521
- status: 400 | 401 | 403;
522
- };
523
- /**
524
- * Gets the general information of the license applied to the current tenant
525
- *
526
- * @throws GetLicenseOverviewHttpError
527
- */
528
- declare function getLicenseOverview(options?: ApiCallOptions): Promise<GetLicenseOverviewHttpResponse>;
529
- type GetLicenseOverviewHttpResponse = {
530
- data: LicenseOverview;
531
- headers: Headers;
532
- status: 200;
533
- };
534
- type GetLicenseOverviewHttpError = {
535
- data: ErrorResponse;
536
- headers: Headers;
537
- status: 400 | 401 | 404;
538
- };
539
- /**
540
- * Get auto assign settings for tenant.
541
- *
542
- * @throws GetLicenseSettingsHttpError
543
- */
544
- declare function getLicenseSettings(options?: ApiCallOptions): Promise<GetLicenseSettingsHttpResponse>;
545
- type GetLicenseSettingsHttpResponse = {
546
- data: SettingsBody;
547
- headers: Headers;
548
- status: 200;
549
- };
550
- type GetLicenseSettingsHttpError = {
551
- data: ErrorResponse;
552
- headers: Headers;
553
- status: 400 | 401 | 403;
554
- };
555
- /**
556
- * Set auto assign settings for tenant
557
- *
558
- * @param body an object with the body content
559
- * @throws UpdateLicenseSettingsHttpError
560
- */
561
- declare function updateLicenseSettings(body: SettingsBody, options?: ApiCallOptions): Promise<UpdateLicenseSettingsHttpResponse>;
562
- type UpdateLicenseSettingsHttpResponse = {
563
- data: SettingsBody;
564
- headers: Headers;
565
- status: 200;
566
- };
567
- type UpdateLicenseSettingsHttpError = {
568
- data: ErrorResponse;
569
- headers: Headers;
570
- status: 400 | 401 | 403;
571
- };
572
- /**
573
- * Gets the license status information of the current tenant
574
- *
575
- * @throws GetLicenseStatusHttpError
576
- */
577
- declare function getLicenseStatus(options?: ApiCallOptions): Promise<GetLicenseStatusHttpResponse>;
578
- type GetLicenseStatusHttpResponse = {
579
- data: LicenseStatus;
580
- headers: Headers;
581
- status: 200;
582
- };
583
- type GetLicenseStatusHttpError = {
584
- data: ErrorResponse;
585
- headers: Headers;
586
- status: 400 | 401;
587
- };
588
- /**
589
- * Clears the cache for licenses api requests.
590
- */
591
- declare function clearCache(): void;
592
- type LicensesAPI = {
593
- /**
594
- * Retrieves assignments for the current tenant
595
- *
596
- * @param query an object with query parameters
597
- * @throws GetLicenseAssignmentsHttpError
598
- */
599
- getLicenseAssignments: typeof getLicenseAssignments;
600
- /**
601
- * Assigns license access to the given users
602
- *
603
- * @param body an object with the body content
604
- * @throws AddLicenseAssignmentsHttpError
605
- */
606
- addLicenseAssignments: typeof addLicenseAssignments;
607
- /**
608
- * Removes license access for the given users
609
- *
610
- * @param body an object with the body content
611
- * @throws DeleteLicenseAssignmentsHttpError
612
- */
613
- deleteLicenseAssignments: typeof deleteLicenseAssignments;
614
- /**
615
- * Updates license access for the given users
616
- *
617
- * @param body an object with the body content
618
- * @throws UpdateLicenseAssignmentsHttpError
619
- */
620
- updateLicenseAssignments: typeof updateLicenseAssignments;
621
- /**
622
- * Retrieves license consumption for the current tenant
623
- *
624
- * @param query an object with query parameters
625
- * @throws GetLicenseConsumptionHttpError
626
- */
627
- getLicenseConsumption: typeof getLicenseConsumption;
628
- /**
629
- * Gets the general information of the license applied to the current tenant
630
- *
631
- * @throws GetLicenseOverviewHttpError
632
- */
633
- getLicenseOverview: typeof getLicenseOverview;
634
- /**
635
- * Get auto assign settings for tenant.
636
- *
637
- * @throws GetLicenseSettingsHttpError
638
- */
639
- getLicenseSettings: typeof getLicenseSettings;
640
- /**
641
- * Set auto assign settings for tenant
642
- *
643
- * @param body an object with the body content
644
- * @throws UpdateLicenseSettingsHttpError
645
- */
646
- updateLicenseSettings: typeof updateLicenseSettings;
647
- /**
648
- * Gets the license status information of the current tenant
649
- *
650
- * @throws GetLicenseStatusHttpError
651
- */
652
- getLicenseStatus: typeof getLicenseStatus;
653
- /**
654
- * Clears the cache for licenses api requests.
655
- */
656
- clearCache: typeof clearCache;
657
- };
658
- /**
659
- * Functions for the licenses api
660
- */
661
- declare const licensesExport: LicensesAPI;
662
- //#endregion
663
- export { UpdateLicenseAssignmentsHttpResponse as A, getLicenseStatus as B, GetLicenseStatusHttpResponse as C, LicensesAPI as D, LicenseStatus as E, deleteLicenseAssignments as F, updateLicenseAssignments as H, getLicenseAssignments as I, getLicenseConsumption as L, UpdateLicenseSettingsHttpResponse as M, addLicenseAssignments as N, SettingsBody as O, clearCache as P, getLicenseOverview as R, GetLicenseStatusHttpError as S, LicenseOverview as T, updateLicenseSettings as U, licensesExport as V, GetLicenseConsumptionHttpResponse as _, AssignmentsActionsDeleteRequest as a, GetLicenseSettingsHttpError as b, AssignmentsActionsUpdateResponse as c, DeleteLicenseAssignmentsHttpError as d, DeleteLicenseAssignmentsHttpResponse as f, GetLicenseConsumptionHttpError as g, GetLicenseAssignmentsHttpResponse as h, AssignmentsActionsAddResponse as i, UpdateLicenseSettingsHttpError as j, UpdateLicenseAssignmentsHttpError as k, AssignmentsResponse as l, GetLicenseAssignmentsHttpError as m, AddLicenseAssignmentsHttpResponse as n, AssignmentsActionsDeleteResponse as o, ErrorResponse as p, AssignmentsActionsAddRequest as r, AssignmentsActionsUpdateRequest as s, AddLicenseAssignmentsHttpError as t, ConsumptionEventsResponse as u, GetLicenseOverviewHttpError as v, Href as w, GetLicenseSettingsHttpResponse as x, GetLicenseOverviewHttpResponse as y, getLicenseSettings as z };