@qlik/api 0.0.2 → 0.0.3

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 (171) hide show
  1. package/api-keys.d.mts +14 -0
  2. package/api-keys.d.ts +14 -0
  3. package/api-keys.js +14 -10
  4. package/api-keys.mjs +6 -2
  5. package/apps.d.mts +478 -148
  6. package/apps.d.ts +478 -148
  7. package/apps.js +100 -42
  8. package/apps.mjs +60 -2
  9. package/audits.d.mts +12 -0
  10. package/audits.d.ts +12 -0
  11. package/audits.js +10 -9
  12. package/audits.mjs +3 -2
  13. package/auth-AWZV4DPP.js +41 -0
  14. package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
  15. package/auth.js +4 -3
  16. package/auth.mjs +3 -2
  17. package/automations.d.mts +36 -0
  18. package/automations.d.ts +36 -0
  19. package/automations.js +28 -21
  20. package/automations.mjs +9 -2
  21. package/brands.d.mts +45 -4
  22. package/brands.d.ts +45 -4
  23. package/brands.js +20 -15
  24. package/brands.mjs +7 -2
  25. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  26. package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
  27. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  28. package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
  29. package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
  30. package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
  31. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  32. package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
  33. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  34. package/chunk-P57PW2II.js +11 -0
  35. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  36. package/chunk-ZFXKCRJC.mjs +11 -0
  37. package/collections.d.mts +51 -17
  38. package/collections.d.ts +51 -17
  39. package/collections.js +28 -14
  40. package/collections.mjs +16 -2
  41. package/csp-origins.d.mts +12 -0
  42. package/csp-origins.d.ts +12 -0
  43. package/csp-origins.js +12 -9
  44. package/csp-origins.mjs +5 -2
  45. package/data-assets.d.mts +10 -0
  46. package/data-assets.d.ts +10 -0
  47. package/data-assets.js +13 -8
  48. package/data-assets.mjs +7 -2
  49. package/data-connections.d.mts +18 -0
  50. package/data-connections.d.ts +18 -0
  51. package/data-connections.js +19 -12
  52. package/data-connections.mjs +9 -2
  53. package/data-credentials.d.mts +8 -0
  54. package/data-credentials.d.ts +8 -0
  55. package/data-credentials.js +10 -7
  56. package/data-credentials.mjs +5 -2
  57. package/data-files.d.mts +98 -13
  58. package/data-files.d.ts +98 -13
  59. package/data-files.js +22 -15
  60. package/data-files.mjs +9 -2
  61. package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
  62. package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
  63. package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
  64. package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
  65. package/extensions.d.mts +26 -2
  66. package/extensions.d.ts +26 -2
  67. package/extensions.js +13 -10
  68. package/extensions.mjs +5 -2
  69. package/glossaries.d.mts +55 -20
  70. package/glossaries.d.ts +55 -20
  71. package/glossaries.js +39 -27
  72. package/glossaries.mjs +14 -2
  73. package/groups.d.mts +16 -0
  74. package/groups.d.ts +16 -0
  75. package/groups.js +16 -11
  76. package/groups.mjs +7 -2
  77. package/identity-providers.d.mts +16 -0
  78. package/identity-providers.d.ts +16 -0
  79. package/identity-providers.js +14 -11
  80. package/identity-providers.mjs +5 -2
  81. package/index.js +135 -101
  82. package/index.mjs +131 -97
  83. package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  84. package/invoke-fetch-UNTAUR7O.js +17 -0
  85. package/items.d.mts +6 -6
  86. package/items.d.ts +6 -6
  87. package/items.js +14 -11
  88. package/items.mjs +5 -2
  89. package/licenses.d.mts +18 -0
  90. package/licenses.d.ts +18 -0
  91. package/licenses.js +17 -12
  92. package/licenses.mjs +7 -2
  93. package/package.json +4 -4
  94. package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
  95. package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
  96. package/qix.d.mts +1 -1
  97. package/qix.d.ts +1 -1
  98. package/qix.js +4 -3
  99. package/qix.mjs +3 -2
  100. package/quotas.d.mts +4 -0
  101. package/quotas.d.ts +4 -0
  102. package/quotas.js +6 -5
  103. package/quotas.mjs +3 -2
  104. package/reload-tasks.js +11 -8
  105. package/reload-tasks.mjs +5 -2
  106. package/reloads.d.mts +17 -10
  107. package/reloads.d.ts +17 -10
  108. package/reloads.js +9 -7
  109. package/reloads.mjs +4 -2
  110. package/roles.d.mts +4 -0
  111. package/roles.d.ts +4 -0
  112. package/roles.js +6 -5
  113. package/roles.mjs +3 -2
  114. package/spaces.d.mts +27 -4
  115. package/spaces.d.ts +27 -4
  116. package/spaces.js +21 -15
  117. package/spaces.mjs +8 -2
  118. package/temp-contents.d.mts +8 -3
  119. package/temp-contents.d.ts +8 -3
  120. package/temp-contents.js +8 -6
  121. package/temp-contents.mjs +4 -2
  122. package/tenants.d.mts +12 -0
  123. package/tenants.d.ts +12 -0
  124. package/tenants.js +14 -9
  125. package/tenants.mjs +7 -2
  126. package/themes.d.mts +26 -2
  127. package/themes.d.ts +26 -2
  128. package/themes.js +13 -10
  129. package/themes.mjs +5 -2
  130. package/transports.d.mts +12 -0
  131. package/transports.d.ts +12 -0
  132. package/transports.js +12 -9
  133. package/transports.mjs +5 -2
  134. package/users.d.mts +48 -29
  135. package/users.d.ts +48 -29
  136. package/users.js +18 -13
  137. package/users.mjs +7 -2
  138. package/web-integrations.d.mts +10 -0
  139. package/web-integrations.d.ts +10 -0
  140. package/web-integrations.js +11 -8
  141. package/web-integrations.mjs +5 -2
  142. package/web-notifications.d.mts +12 -0
  143. package/web-notifications.d.ts +12 -0
  144. package/web-notifications.js +12 -9
  145. package/web-notifications.mjs +5 -2
  146. package/webhooks.d.mts +25 -5
  147. package/webhooks.d.ts +25 -5
  148. package/webhooks.js +17 -13
  149. package/webhooks.mjs +6 -2
  150. package/auth-CSVTXOZX.js +0 -36
  151. package/auth-OU7OTB7Y.js +0 -38
  152. package/auth-TE272Q34.mjs +0 -36
  153. package/chunk-4ES65KO3.js +0 -57
  154. package/chunk-4FLMND6T.js +0 -25
  155. package/chunk-4OMEH5SW.mjs +0 -1337
  156. package/chunk-6JERR27K.js +0 -17
  157. package/chunk-E42WUFCK.mjs +0 -57
  158. package/chunk-H7SAZYEE.js +0 -21
  159. package/chunk-KMMWJZHM.mjs +0 -25
  160. package/chunk-W4J34XGA.mjs +0 -17
  161. package/chunk-WM7FQU2U.mjs +0 -21
  162. package/chunk-XASXL2NC.js +0 -1337
  163. package/enigma-session-4L373ALV.mjs +0 -10196
  164. package/enigma-session-TEB53FAF.js +0 -10196
  165. package/esm-4X3DKK5D.js +0 -63
  166. package/esm-SOWVJKOQ.mjs +0 -63
  167. package/invoke-fetch-7PKPQ3FD.js +0 -14
  168. package/invoke-fetch-MSSJAZ7K.mjs +0 -14
  169. package/invoke-fetch-PEI54KZO.js +0 -14
  170. package/qix-EU7PXRZ6.mjs +0 -573
  171. package/qix-RLTISYTB.js +0 -573
package/items.d.ts CHANGED
@@ -18,8 +18,7 @@ type ItemsSettingsPatch = {
18
18
  op: "replace";
19
19
  /** Field of Settings to be patched (updated). */
20
20
  path: "/usageMetricsEnabled";
21
- /** The value to be used within the operations.
22
- // */
21
+ /** The value to be used within the operations. */
23
22
  value: boolean;
24
23
  }[];
25
24
  type ItemsSettingsResponseBody = {
@@ -235,8 +234,7 @@ declare const getItems: (query: {
235
234
  name?: string | undefined;
236
235
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
237
236
  next?: string | undefined;
238
- /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time).
239
- // */
237
+ /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
240
238
  noActions?: boolean | undefined;
241
239
  /** User's unique identifier. */
242
240
  notCreatedByUserId?: string | undefined;
@@ -261,7 +259,7 @@ declare const getItems: (query: {
261
259
  /** Whether or not to return items in a shared space. */
262
260
  shared?: boolean | undefined;
263
261
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
264
- sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
262
+ sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
265
263
  /** The space's unique identifier (supports \'personal\' as spaceId). */
266
264
  spaceId?: string | undefined;
267
265
  /** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
@@ -297,6 +295,7 @@ type GetItemsSettingsHttpError = {
297
295
  };
298
296
  /**
299
297
  * Updates the settings provided in the patch body.
298
+ *
300
299
  * @param body an object with the body content
301
300
  * @throws PatchItemsSettingsHttpError
302
301
  */
@@ -382,7 +381,7 @@ declare const getItemCollections: (itemId: string, query: {
382
381
  /** The case-insensitive string used to search for a resource by name or description. */
383
382
  query?: string | undefined;
384
383
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
385
- sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
384
+ sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
386
385
  /** The case-sensitive string used to search for a collection by type. */
387
386
  type?: CollectionTypes | undefined;
388
387
  }, options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
@@ -449,6 +448,7 @@ interface ItemsAPI {
449
448
  getItemsSettings: typeof getItemsSettings;
450
449
  /**
451
450
  * Updates the settings provided in the patch body.
451
+ *
452
452
  * @param body an object with the body content
453
453
  * @throws PatchItemsSettingsHttpError
454
454
  */
package/items.js CHANGED
@@ -1,54 +1,57 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/items.ts
8
- var getItems = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
9
+ var getItems = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/items",
11
12
  query,
12
13
  options
13
14
  });
14
- var getItemsSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
15
+ var getItemsSettings = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
15
16
  method: "get",
16
17
  pathTemplate: "/api/v1/items/settings",
17
18
  options
18
19
  });
19
- var patchItemsSettings = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
20
+ var patchItemsSettings = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
20
21
  method: "patch",
21
22
  pathTemplate: "/api/v1/items/settings",
22
23
  body,
24
+ contentType: "application/json",
23
25
  options
24
26
  });
25
- var deleteItem = async (itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
27
+ var deleteItem = async (itemId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
26
28
  method: "delete",
27
29
  pathTemplate: "/api/v1/items/{itemId}",
28
30
  pathVariables: { itemId },
29
31
  options
30
32
  });
31
- var getItem = async (itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
33
+ var getItem = async (itemId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
32
34
  method: "get",
33
35
  pathTemplate: "/api/v1/items/{itemId}",
34
36
  pathVariables: { itemId },
35
37
  options
36
38
  });
37
- var updateItem = async (itemId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
39
+ var updateItem = async (itemId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
38
40
  method: "put",
39
41
  pathTemplate: "/api/v1/items/{itemId}",
40
42
  pathVariables: { itemId },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
- var getItemCollections = async (itemId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
47
+ var getItemCollections = async (itemId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
45
48
  method: "get",
46
49
  pathTemplate: "/api/v1/items/{itemId}/collections",
47
50
  pathVariables: { itemId },
48
51
  query,
49
52
  options
50
53
  });
51
- var getPublishedItems = async (itemId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
54
+ var getPublishedItems = async (itemId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "items", {
52
55
  method: "get",
53
56
  pathTemplate: "/api/v1/items/{itemId}/publisheditems",
54
57
  pathVariables: { itemId },
@@ -56,7 +59,7 @@ var getPublishedItems = async (itemId, query, options) => _chunk6JERR27Kjs.invok
56
59
  options
57
60
  });
58
61
  function clearCache() {
59
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "items");
62
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "items");
60
63
  }
61
64
  var itemsExport = {
62
65
  getItems,
package/items.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/items.ts
8
9
  var getItems = async (query, options) => invokeFetch("items", {
@@ -20,6 +21,7 @@ var patchItemsSettings = async (body, options) => invokeFetch("items", {
20
21
  method: "patch",
21
22
  pathTemplate: "/api/v1/items/settings",
22
23
  body,
24
+ contentType: "application/json",
23
25
  options
24
26
  });
25
27
  var deleteItem = async (itemId, options) => invokeFetch("items", {
@@ -39,6 +41,7 @@ var updateItem = async (itemId, body, options) => invokeFetch("items", {
39
41
  pathTemplate: "/api/v1/items/{itemId}",
40
42
  pathVariables: { itemId },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
47
  var getItemCollections = async (itemId, query, options) => invokeFetch("items", {
package/licenses.d.mts CHANGED
@@ -206,6 +206,7 @@ type SettingsBody = {
206
206
  };
207
207
  /**
208
208
  * Retrieves assignments for the current tenant
209
+ *
209
210
  * @param query an object with query parameters
210
211
  * @throws GetLicenseAssignmentsHttpError
211
212
  */
@@ -235,6 +236,7 @@ type GetLicenseAssignmentsHttpError = {
235
236
  };
236
237
  /**
237
238
  * Assigns license access to the given users
239
+ *
238
240
  * @param body an object with the body content
239
241
  * @throws AddLicenseAssignmentsHttpError
240
242
  */
@@ -251,6 +253,7 @@ type AddLicenseAssignmentsHttpError = {
251
253
  };
252
254
  /**
253
255
  * Removes license access for the given users
256
+ *
254
257
  * @param body an object with the body content
255
258
  * @throws DeleteLicenseAssignmentsHttpError
256
259
  */
@@ -267,6 +270,7 @@ type DeleteLicenseAssignmentsHttpError = {
267
270
  };
268
271
  /**
269
272
  * Updates license access for the given users
273
+ *
270
274
  * @param body an object with the body content
271
275
  * @throws UpdateLicenseAssignmentsHttpError
272
276
  */
@@ -283,6 +287,7 @@ type UpdateLicenseAssignmentsHttpError = {
283
287
  };
284
288
  /**
285
289
  * Retrieves license consumption for the current tenant
290
+ *
286
291
  * @param query an object with query parameters
287
292
  * @throws GetLicenseConsumptionHttpError
288
293
  */
@@ -310,6 +315,7 @@ type GetLicenseConsumptionHttpError = {
310
315
  };
311
316
  /**
312
317
  * Gets the general information of the license applied to the current tenant
318
+ *
313
319
  * @throws GetLicenseOverviewHttpError
314
320
  */
315
321
  declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicenseOverviewHttpResponse>;
@@ -325,6 +331,7 @@ type GetLicenseOverviewHttpError = {
325
331
  };
326
332
  /**
327
333
  * Get auto assign settings for tenant.
334
+ *
328
335
  * @throws GetLicenseSettingsHttpError
329
336
  */
330
337
  declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicenseSettingsHttpResponse>;
@@ -340,6 +347,7 @@ type GetLicenseSettingsHttpError = {
340
347
  };
341
348
  /**
342
349
  * Set auto assign settings for tenant
350
+ *
343
351
  * @param body an object with the body content
344
352
  * @throws UpdateLicenseSettingsHttpError
345
353
  */
@@ -356,6 +364,7 @@ type UpdateLicenseSettingsHttpError = {
356
364
  };
357
365
  /**
358
366
  * Gets the license status information of the current tenant
367
+ *
359
368
  * @throws GetLicenseStatusHttpError
360
369
  */
361
370
  declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicenseStatusHttpResponse>;
@@ -376,52 +385,61 @@ declare function clearCache(): void;
376
385
  interface LicensesAPI {
377
386
  /**
378
387
  * Retrieves assignments for the current tenant
388
+ *
379
389
  * @param query an object with query parameters
380
390
  * @throws GetLicenseAssignmentsHttpError
381
391
  */
382
392
  getLicenseAssignments: typeof getLicenseAssignments;
383
393
  /**
384
394
  * Assigns license access to the given users
395
+ *
385
396
  * @param body an object with the body content
386
397
  * @throws AddLicenseAssignmentsHttpError
387
398
  */
388
399
  addLicenseAssignments: typeof addLicenseAssignments;
389
400
  /**
390
401
  * Removes license access for the given users
402
+ *
391
403
  * @param body an object with the body content
392
404
  * @throws DeleteLicenseAssignmentsHttpError
393
405
  */
394
406
  deleteLicenseAssignments: typeof deleteLicenseAssignments;
395
407
  /**
396
408
  * Updates license access for the given users
409
+ *
397
410
  * @param body an object with the body content
398
411
  * @throws UpdateLicenseAssignmentsHttpError
399
412
  */
400
413
  updateLicenseAssignments: typeof updateLicenseAssignments;
401
414
  /**
402
415
  * Retrieves license consumption for the current tenant
416
+ *
403
417
  * @param query an object with query parameters
404
418
  * @throws GetLicenseConsumptionHttpError
405
419
  */
406
420
  getLicenseConsumption: typeof getLicenseConsumption;
407
421
  /**
408
422
  * Gets the general information of the license applied to the current tenant
423
+ *
409
424
  * @throws GetLicenseOverviewHttpError
410
425
  */
411
426
  getLicenseOverview: typeof getLicenseOverview;
412
427
  /**
413
428
  * Get auto assign settings for tenant.
429
+ *
414
430
  * @throws GetLicenseSettingsHttpError
415
431
  */
416
432
  getLicenseSettings: typeof getLicenseSettings;
417
433
  /**
418
434
  * Set auto assign settings for tenant
435
+ *
419
436
  * @param body an object with the body content
420
437
  * @throws UpdateLicenseSettingsHttpError
421
438
  */
422
439
  updateLicenseSettings: typeof updateLicenseSettings;
423
440
  /**
424
441
  * Gets the license status information of the current tenant
442
+ *
425
443
  * @throws GetLicenseStatusHttpError
426
444
  */
427
445
  getLicenseStatus: typeof getLicenseStatus;
package/licenses.d.ts CHANGED
@@ -206,6 +206,7 @@ type SettingsBody = {
206
206
  };
207
207
  /**
208
208
  * Retrieves assignments for the current tenant
209
+ *
209
210
  * @param query an object with query parameters
210
211
  * @throws GetLicenseAssignmentsHttpError
211
212
  */
@@ -235,6 +236,7 @@ type GetLicenseAssignmentsHttpError = {
235
236
  };
236
237
  /**
237
238
  * Assigns license access to the given users
239
+ *
238
240
  * @param body an object with the body content
239
241
  * @throws AddLicenseAssignmentsHttpError
240
242
  */
@@ -251,6 +253,7 @@ type AddLicenseAssignmentsHttpError = {
251
253
  };
252
254
  /**
253
255
  * Removes license access for the given users
256
+ *
254
257
  * @param body an object with the body content
255
258
  * @throws DeleteLicenseAssignmentsHttpError
256
259
  */
@@ -267,6 +270,7 @@ type DeleteLicenseAssignmentsHttpError = {
267
270
  };
268
271
  /**
269
272
  * Updates license access for the given users
273
+ *
270
274
  * @param body an object with the body content
271
275
  * @throws UpdateLicenseAssignmentsHttpError
272
276
  */
@@ -283,6 +287,7 @@ type UpdateLicenseAssignmentsHttpError = {
283
287
  };
284
288
  /**
285
289
  * Retrieves license consumption for the current tenant
290
+ *
286
291
  * @param query an object with query parameters
287
292
  * @throws GetLicenseConsumptionHttpError
288
293
  */
@@ -310,6 +315,7 @@ type GetLicenseConsumptionHttpError = {
310
315
  };
311
316
  /**
312
317
  * Gets the general information of the license applied to the current tenant
318
+ *
313
319
  * @throws GetLicenseOverviewHttpError
314
320
  */
315
321
  declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicenseOverviewHttpResponse>;
@@ -325,6 +331,7 @@ type GetLicenseOverviewHttpError = {
325
331
  };
326
332
  /**
327
333
  * Get auto assign settings for tenant.
334
+ *
328
335
  * @throws GetLicenseSettingsHttpError
329
336
  */
330
337
  declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicenseSettingsHttpResponse>;
@@ -340,6 +347,7 @@ type GetLicenseSettingsHttpError = {
340
347
  };
341
348
  /**
342
349
  * Set auto assign settings for tenant
350
+ *
343
351
  * @param body an object with the body content
344
352
  * @throws UpdateLicenseSettingsHttpError
345
353
  */
@@ -356,6 +364,7 @@ type UpdateLicenseSettingsHttpError = {
356
364
  };
357
365
  /**
358
366
  * Gets the license status information of the current tenant
367
+ *
359
368
  * @throws GetLicenseStatusHttpError
360
369
  */
361
370
  declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicenseStatusHttpResponse>;
@@ -376,52 +385,61 @@ declare function clearCache(): void;
376
385
  interface LicensesAPI {
377
386
  /**
378
387
  * Retrieves assignments for the current tenant
388
+ *
379
389
  * @param query an object with query parameters
380
390
  * @throws GetLicenseAssignmentsHttpError
381
391
  */
382
392
  getLicenseAssignments: typeof getLicenseAssignments;
383
393
  /**
384
394
  * Assigns license access to the given users
395
+ *
385
396
  * @param body an object with the body content
386
397
  * @throws AddLicenseAssignmentsHttpError
387
398
  */
388
399
  addLicenseAssignments: typeof addLicenseAssignments;
389
400
  /**
390
401
  * Removes license access for the given users
402
+ *
391
403
  * @param body an object with the body content
392
404
  * @throws DeleteLicenseAssignmentsHttpError
393
405
  */
394
406
  deleteLicenseAssignments: typeof deleteLicenseAssignments;
395
407
  /**
396
408
  * Updates license access for the given users
409
+ *
397
410
  * @param body an object with the body content
398
411
  * @throws UpdateLicenseAssignmentsHttpError
399
412
  */
400
413
  updateLicenseAssignments: typeof updateLicenseAssignments;
401
414
  /**
402
415
  * Retrieves license consumption for the current tenant
416
+ *
403
417
  * @param query an object with query parameters
404
418
  * @throws GetLicenseConsumptionHttpError
405
419
  */
406
420
  getLicenseConsumption: typeof getLicenseConsumption;
407
421
  /**
408
422
  * Gets the general information of the license applied to the current tenant
423
+ *
409
424
  * @throws GetLicenseOverviewHttpError
410
425
  */
411
426
  getLicenseOverview: typeof getLicenseOverview;
412
427
  /**
413
428
  * Get auto assign settings for tenant.
429
+ *
414
430
  * @throws GetLicenseSettingsHttpError
415
431
  */
416
432
  getLicenseSettings: typeof getLicenseSettings;
417
433
  /**
418
434
  * Set auto assign settings for tenant
435
+ *
419
436
  * @param body an object with the body content
420
437
  * @throws UpdateLicenseSettingsHttpError
421
438
  */
422
439
  updateLicenseSettings: typeof updateLicenseSettings;
423
440
  /**
424
441
  * Gets the license status information of the current tenant
442
+ *
425
443
  * @throws GetLicenseStatusHttpError
426
444
  */
427
445
  getLicenseStatus: typeof getLicenseStatus;
package/licenses.js CHANGED
@@ -1,63 +1,68 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/licenses.ts
8
- var getLicenseAssignments = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
9
+ var getLicenseAssignments = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/licenses/assignments",
11
12
  query,
12
13
  options
13
14
  });
14
- var addLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
15
+ var addLicenseAssignments = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/licenses/assignments/actions/add",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var deleteLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
22
+ var deleteLicenseAssignments = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
21
23
  method: "post",
22
24
  pathTemplate: "/api/v1/licenses/assignments/actions/delete",
23
25
  body,
26
+ contentType: "application/json",
24
27
  options
25
28
  });
26
- var updateLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
29
+ var updateLicenseAssignments = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
27
30
  method: "post",
28
31
  pathTemplate: "/api/v1/licenses/assignments/actions/update",
29
32
  body,
33
+ contentType: "application/json",
30
34
  options
31
35
  });
32
- var getLicenseConsumption = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
36
+ var getLicenseConsumption = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
33
37
  method: "get",
34
38
  pathTemplate: "/api/v1/licenses/consumption",
35
39
  query,
36
40
  options
37
41
  });
38
- var getLicenseOverview = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
42
+ var getLicenseOverview = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
39
43
  method: "get",
40
44
  pathTemplate: "/api/v1/licenses/overview",
41
45
  options
42
46
  });
43
- var getLicenseSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
47
+ var getLicenseSettings = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
44
48
  method: "get",
45
49
  pathTemplate: "/api/v1/licenses/settings",
46
50
  options
47
51
  });
48
- var updateLicenseSettings = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
52
+ var updateLicenseSettings = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
49
53
  method: "put",
50
54
  pathTemplate: "/api/v1/licenses/settings",
51
55
  body,
56
+ contentType: "application/json",
52
57
  options
53
58
  });
54
- var getLicenseStatus = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
59
+ var getLicenseStatus = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "licenses", {
55
60
  method: "get",
56
61
  pathTemplate: "/api/v1/licenses/status",
57
62
  options
58
63
  });
59
64
  function clearCache() {
60
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "licenses");
65
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "licenses");
61
66
  }
62
67
  var licensesExport = {
63
68
  getLicenseAssignments,
package/licenses.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/licenses.ts
8
9
  var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
@@ -15,18 +16,21 @@ var addLicenseAssignments = async (body, options) => invokeFetch("licenses", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/licenses/assignments/actions/add",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var deleteLicenseAssignments = async (body, options) => invokeFetch("licenses", {
21
23
  method: "post",
22
24
  pathTemplate: "/api/v1/licenses/assignments/actions/delete",
23
25
  body,
26
+ contentType: "application/json",
24
27
  options
25
28
  });
26
29
  var updateLicenseAssignments = async (body, options) => invokeFetch("licenses", {
27
30
  method: "post",
28
31
  pathTemplate: "/api/v1/licenses/assignments/actions/update",
29
32
  body,
33
+ contentType: "application/json",
30
34
  options
31
35
  });
32
36
  var getLicenseConsumption = async (query, options) => invokeFetch("licenses", {
@@ -49,6 +53,7 @@ var updateLicenseSettings = async (body, options) => invokeFetch("licenses", {
49
53
  method: "put",
50
54
  pathTemplate: "/api/v1/licenses/settings",
51
55
  body,
56
+ contentType: "application/json",
52
57
  options
53
58
  });
54
59
  var getLicenseStatus = async (options) => invokeFetch("licenses", {
package/package.json CHANGED
@@ -7,12 +7,12 @@
7
7
  },
8
8
  "license": "ISC",
9
9
  "dependencies": {
10
- "@qlik/embed-runtime": "^0.6.1",
11
- "@qlik/runtime-module-loader": "^0.2.2",
10
+ "@qlik/embed-runtime": "^0.6.2",
11
+ "@qlik/runtime-module-loader": "^0.2.3",
12
12
  "bufferutil": "^4.0.8",
13
13
  "enigma.js": "^2.12.0",
14
14
  "lodash": "^4.17.21",
15
- "ws": "^8.14.2"
15
+ "ws": "^8.15.1"
16
16
  },
17
17
  "engines": {
18
18
  "node": ">=16"
@@ -249,5 +249,5 @@
249
249
  "import": "./auth.mjs"
250
250
  }
251
251
  },
252
- "version": "0.0.2"
252
+ "version": "0.0.3"
253
253
  }
@@ -4,7 +4,8 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkRMKP2BDXjs = require('./chunk-RMKP2BDX.js');
7
+ var _chunkD52VW5UNjs = require('./chunk-D52VW5UN.js');
8
+ require('./chunk-P57PW2II.js');
8
9
 
9
10
  // src/qix/session/shared-sessions.ts
10
11
  var globalEventListeners = /* @__PURE__ */ new Set();
@@ -35,7 +36,7 @@ async function resumeAll() {
35
36
  var initialActions = {};
36
37
  var sharedSessions = {};
37
38
  function toGlobalAppSessionId({ appId, identity, hostConfig }) {
38
- const locationUrl = _chunkRMKP2BDXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
39
+ const locationUrl = _chunkD52VW5UNjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
39
40
  return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
40
41
  }
41
42
  async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
@@ -82,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
82
83
  return authSuggestedInWebsocket;
83
84
  }
84
85
  async function createAndSetupEnigmaSession(props, canRetry) {
85
- const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./enigma-session-VPPJMBEM.js")));
86
+ const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./enigma-session-XPXDQAIV.js")));
86
87
  const session = await createEnigmaSession(props);
87
88
  setupSessionListeners(session, props);
88
89
  let global;
89
- if (await _chunkRMKP2BDXjs.isWindows.call(void 0, props.hostConfig)) {
90
+ if (await _chunkD52VW5UNjs.isWindows.call(void 0, props.hostConfig)) {
90
91
  const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
91
92
  global = await session.open();
92
93
  const loginInfo = await loginInfoPromise;
93
94
  if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
94
- const action = await _chunkRMKP2BDXjs.handleAuthenticationError.call(void 0, {
95
+ const action = await _chunkD52VW5UNjs.handleAuthenticationError.call(void 0, {
95
96
  headers: new Headers(),
96
97
  status: 101,
97
98
  canRetry,
@@ -388,8 +389,8 @@ async function checkConnectivity(hostConfig) {
388
389
  timeoutMs: 2e3,
389
390
  noCache: true
390
391
  };
391
- const fetchRoot = _chunkRMKP2BDXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
392
- const fetchMe = _chunkRMKP2BDXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
392
+ const fetchRoot = _chunkD52VW5UNjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
+ const fetchMe = _chunkD52VW5UNjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
393
394
  await Promise.all([fetchRoot, fetchMe]);
394
395
  return Promise.resolve(status);
395
396
  }
@@ -434,7 +435,7 @@ function getOrCreateSharedSession(props) {
434
435
  // src/qix/qix-functions.ts
435
436
  async function createSessionApp() {
436
437
  let sharedSession;
437
- if ((await _chunkRMKP2BDXjs.getPlatform.call(void 0, )).isCloud) {
438
+ if ((await _chunkD52VW5UNjs.getPlatform.call(void 0, )).isCloud) {
438
439
  sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
439
440
  } else {
440
441
  sharedSession = await getOrCreateSharedSession({
@@ -4,7 +4,8 @@ import {
4
4
  invokeFetch,
5
5
  isWindows,
6
6
  toValidWebsocketLocationUrl
7
- } from "./chunk-NALKLKZS.mjs";
7
+ } from "./chunk-CYRLVHU3.mjs";
8
+ import "./chunk-ZFXKCRJC.mjs";
8
9
 
9
10
  // src/qix/session/shared-sessions.ts
10
11
  var globalEventListeners = /* @__PURE__ */ new Set();
@@ -82,7 +83,7 @@ function listenForWindowsAuthenticationInformation(session) {
82
83
  return authSuggestedInWebsocket;
83
84
  }
84
85
  async function createAndSetupEnigmaSession(props, canRetry) {
85
- const { createEnigmaSession } = await import("./enigma-session-HGXKZJVO.mjs");
86
+ const { createEnigmaSession } = await import("./enigma-session-ZH6MYA54.mjs");
86
87
  const session = await createEnigmaSession(props);
87
88
  setupSessionListeners(session, props);
88
89
  let global;
package/qix.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './global.types-Eto4uYwy.mjs';
2
2
  import { H as HostConfig } from './auth-types-nnUcWhuU.mjs';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.1923.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.1934.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
package/qix.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './global.types-hIvp-WdX.js';
2
2
  import { H as HostConfig } from './auth-types-nnUcWhuU.js';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.1923.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.1934.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.