@qlik/api 0.0.1 → 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 (156) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +27 -13
  5. package/api-keys.d.ts +27 -13
  6. package/api-keys.js +17 -13
  7. package/api-keys.mjs +12 -8
  8. package/apps.d.mts +580 -165
  9. package/apps.d.ts +580 -165
  10. package/apps.js +111 -44
  11. package/apps.mjs +78 -11
  12. package/audits.d.mts +20 -8
  13. package/audits.d.ts +20 -8
  14. package/audits.js +12 -11
  15. package/audits.mjs +7 -6
  16. package/auth-AWZV4DPP.js +41 -0
  17. package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
  18. package/auth.js +4 -3
  19. package/auth.mjs +3 -2
  20. package/automations.d.mts +56 -20
  21. package/automations.d.ts +56 -20
  22. package/automations.js +32 -25
  23. package/automations.mjs +18 -11
  24. package/brands.d.mts +45 -4
  25. package/brands.d.ts +45 -4
  26. package/brands.js +20 -15
  27. package/brands.mjs +7 -2
  28. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  29. package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
  30. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  31. package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
  32. package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
  33. package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
  34. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  35. package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
  36. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  37. package/chunk-P57PW2II.js +11 -0
  38. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  39. package/chunk-ZFXKCRJC.mjs +11 -0
  40. package/collections.d.mts +52 -18
  41. package/collections.d.ts +52 -18
  42. package/collections.js +28 -14
  43. package/collections.mjs +16 -2
  44. package/csp-origins.d.mts +12 -0
  45. package/csp-origins.d.ts +12 -0
  46. package/csp-origins.js +12 -9
  47. package/csp-origins.mjs +5 -2
  48. package/data-assets.d.mts +10 -0
  49. package/data-assets.d.ts +10 -0
  50. package/data-assets.js +13 -8
  51. package/data-assets.mjs +7 -2
  52. package/data-connections.d.mts +20 -0
  53. package/data-connections.d.ts +20 -0
  54. package/data-connections.js +19 -12
  55. package/data-connections.mjs +9 -2
  56. package/data-credentials.d.mts +10 -0
  57. package/data-credentials.d.ts +10 -0
  58. package/data-credentials.js +10 -7
  59. package/data-credentials.mjs +5 -2
  60. package/data-files.d.mts +114 -29
  61. package/data-files.d.ts +114 -29
  62. package/data-files.js +25 -18
  63. package/data-files.mjs +15 -8
  64. package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
  65. package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
  66. package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
  67. package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
  68. package/extensions.d.mts +26 -2
  69. package/extensions.d.ts +26 -2
  70. package/extensions.js +13 -10
  71. package/extensions.mjs +5 -2
  72. package/glossaries.d.mts +55 -20
  73. package/glossaries.d.ts +55 -20
  74. package/glossaries.js +39 -27
  75. package/glossaries.mjs +14 -2
  76. package/groups.d.mts +29 -13
  77. package/groups.d.ts +29 -13
  78. package/groups.js +19 -14
  79. package/groups.mjs +13 -8
  80. package/identity-providers.d.mts +23 -7
  81. package/identity-providers.d.ts +23 -7
  82. package/identity-providers.js +16 -13
  83. package/identity-providers.mjs +8 -5
  84. package/index.js +150 -112
  85. package/index.mjs +146 -108
  86. package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  87. package/invoke-fetch-UNTAUR7O.js +17 -0
  88. package/items.d.mts +25 -22
  89. package/items.d.ts +25 -22
  90. package/items.js +17 -14
  91. package/items.mjs +11 -8
  92. package/licenses.d.mts +20 -0
  93. package/licenses.d.ts +20 -0
  94. package/licenses.js +17 -12
  95. package/licenses.mjs +7 -2
  96. package/package.json +7 -18
  97. package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
  98. package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
  99. package/qix.d.mts +1066 -1017
  100. package/qix.d.ts +1066 -1017
  101. package/qix.js +4 -3
  102. package/qix.mjs +3 -2
  103. package/quotas.d.mts +4 -0
  104. package/quotas.d.ts +4 -0
  105. package/quotas.js +6 -5
  106. package/quotas.mjs +3 -2
  107. package/reload-tasks.d.mts +2 -0
  108. package/reload-tasks.d.ts +2 -0
  109. package/reload-tasks.js +11 -8
  110. package/reload-tasks.mjs +5 -2
  111. package/reloads.d.mts +20 -11
  112. package/reloads.d.ts +20 -11
  113. package/reloads.js +9 -7
  114. package/reloads.mjs +4 -2
  115. package/roles.d.mts +4 -0
  116. package/roles.d.ts +4 -0
  117. package/roles.js +6 -5
  118. package/roles.mjs +3 -2
  119. package/spaces.d.mts +36 -30
  120. package/spaces.d.ts +36 -30
  121. package/spaces.js +21 -15
  122. package/spaces.mjs +8 -2
  123. package/temp-contents.d.mts +9 -70
  124. package/temp-contents.d.ts +9 -70
  125. package/temp-contents.js +10 -29
  126. package/temp-contents.mjs +5 -24
  127. package/tenants.d.mts +12 -0
  128. package/tenants.d.ts +12 -0
  129. package/tenants.js +14 -9
  130. package/tenants.mjs +7 -2
  131. package/themes.d.mts +26 -2
  132. package/themes.d.ts +26 -2
  133. package/themes.js +13 -10
  134. package/themes.mjs +5 -2
  135. package/transports.d.mts +12 -0
  136. package/transports.d.ts +12 -0
  137. package/transports.js +12 -9
  138. package/transports.mjs +5 -2
  139. package/users.d.mts +48 -29
  140. package/users.d.ts +48 -29
  141. package/users.js +18 -13
  142. package/users.mjs +7 -2
  143. package/web-integrations.d.mts +10 -0
  144. package/web-integrations.d.ts +10 -0
  145. package/web-integrations.js +11 -8
  146. package/web-integrations.mjs +5 -2
  147. package/web-notifications.d.mts +12 -0
  148. package/web-notifications.d.ts +12 -0
  149. package/web-notifications.js +12 -9
  150. package/web-notifications.mjs +5 -2
  151. package/webhooks.d.mts +27 -7
  152. package/webhooks.d.ts +27 -7
  153. package/webhooks.js +17 -13
  154. package/webhooks.mjs +6 -2
  155. package/auth-CSVTXOZX.js +0 -36
  156. package/invoke-fetch-PEI54KZO.js +0 -14
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
  */
@@ -214,6 +215,8 @@ declare const getLicenseAssignments: (query: {
214
215
  filter?: string;
215
216
  /** The preferred number of entries to return. */
216
217
  limit?: number;
218
+ /** Only return assignments which are 'orphans' in the current tenant. */
219
+ orphans?: boolean;
217
220
  /** The requested page. */
218
221
  page?: string;
219
222
  /** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
@@ -233,6 +236,7 @@ type GetLicenseAssignmentsHttpError = {
233
236
  };
234
237
  /**
235
238
  * Assigns license access to the given users
239
+ *
236
240
  * @param body an object with the body content
237
241
  * @throws AddLicenseAssignmentsHttpError
238
242
  */
@@ -249,6 +253,7 @@ type AddLicenseAssignmentsHttpError = {
249
253
  };
250
254
  /**
251
255
  * Removes license access for the given users
256
+ *
252
257
  * @param body an object with the body content
253
258
  * @throws DeleteLicenseAssignmentsHttpError
254
259
  */
@@ -265,6 +270,7 @@ type DeleteLicenseAssignmentsHttpError = {
265
270
  };
266
271
  /**
267
272
  * Updates license access for the given users
273
+ *
268
274
  * @param body an object with the body content
269
275
  * @throws UpdateLicenseAssignmentsHttpError
270
276
  */
@@ -281,6 +287,7 @@ type UpdateLicenseAssignmentsHttpError = {
281
287
  };
282
288
  /**
283
289
  * Retrieves license consumption for the current tenant
290
+ *
284
291
  * @param query an object with query parameters
285
292
  * @throws GetLicenseConsumptionHttpError
286
293
  */
@@ -308,6 +315,7 @@ type GetLicenseConsumptionHttpError = {
308
315
  };
309
316
  /**
310
317
  * Gets the general information of the license applied to the current tenant
318
+ *
311
319
  * @throws GetLicenseOverviewHttpError
312
320
  */
313
321
  declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicenseOverviewHttpResponse>;
@@ -323,6 +331,7 @@ type GetLicenseOverviewHttpError = {
323
331
  };
324
332
  /**
325
333
  * Get auto assign settings for tenant.
334
+ *
326
335
  * @throws GetLicenseSettingsHttpError
327
336
  */
328
337
  declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicenseSettingsHttpResponse>;
@@ -338,6 +347,7 @@ type GetLicenseSettingsHttpError = {
338
347
  };
339
348
  /**
340
349
  * Set auto assign settings for tenant
350
+ *
341
351
  * @param body an object with the body content
342
352
  * @throws UpdateLicenseSettingsHttpError
343
353
  */
@@ -354,6 +364,7 @@ type UpdateLicenseSettingsHttpError = {
354
364
  };
355
365
  /**
356
366
  * Gets the license status information of the current tenant
367
+ *
357
368
  * @throws GetLicenseStatusHttpError
358
369
  */
359
370
  declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicenseStatusHttpResponse>;
@@ -374,52 +385,61 @@ declare function clearCache(): void;
374
385
  interface LicensesAPI {
375
386
  /**
376
387
  * Retrieves assignments for the current tenant
388
+ *
377
389
  * @param query an object with query parameters
378
390
  * @throws GetLicenseAssignmentsHttpError
379
391
  */
380
392
  getLicenseAssignments: typeof getLicenseAssignments;
381
393
  /**
382
394
  * Assigns license access to the given users
395
+ *
383
396
  * @param body an object with the body content
384
397
  * @throws AddLicenseAssignmentsHttpError
385
398
  */
386
399
  addLicenseAssignments: typeof addLicenseAssignments;
387
400
  /**
388
401
  * Removes license access for the given users
402
+ *
389
403
  * @param body an object with the body content
390
404
  * @throws DeleteLicenseAssignmentsHttpError
391
405
  */
392
406
  deleteLicenseAssignments: typeof deleteLicenseAssignments;
393
407
  /**
394
408
  * Updates license access for the given users
409
+ *
395
410
  * @param body an object with the body content
396
411
  * @throws UpdateLicenseAssignmentsHttpError
397
412
  */
398
413
  updateLicenseAssignments: typeof updateLicenseAssignments;
399
414
  /**
400
415
  * Retrieves license consumption for the current tenant
416
+ *
401
417
  * @param query an object with query parameters
402
418
  * @throws GetLicenseConsumptionHttpError
403
419
  */
404
420
  getLicenseConsumption: typeof getLicenseConsumption;
405
421
  /**
406
422
  * Gets the general information of the license applied to the current tenant
423
+ *
407
424
  * @throws GetLicenseOverviewHttpError
408
425
  */
409
426
  getLicenseOverview: typeof getLicenseOverview;
410
427
  /**
411
428
  * Get auto assign settings for tenant.
429
+ *
412
430
  * @throws GetLicenseSettingsHttpError
413
431
  */
414
432
  getLicenseSettings: typeof getLicenseSettings;
415
433
  /**
416
434
  * Set auto assign settings for tenant
435
+ *
417
436
  * @param body an object with the body content
418
437
  * @throws UpdateLicenseSettingsHttpError
419
438
  */
420
439
  updateLicenseSettings: typeof updateLicenseSettings;
421
440
  /**
422
441
  * Gets the license status information of the current tenant
442
+ *
423
443
  * @throws GetLicenseStatusHttpError
424
444
  */
425
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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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 _chunkOULT3V2Ujs.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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.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
@@ -1,33 +1,21 @@
1
1
  {
2
2
  "name": "@qlik/api",
3
- "version": "0.0.1",
4
3
  "description": "Exposes functions for interacting with Qlik apis",
5
4
  "repository": {
6
5
  "type": "git",
7
6
  "url": "git+https://github.com/qlik-oss/qlik-api-ts.git"
8
7
  },
9
- "publishConfig": {
10
- "access": "public"
11
- },
12
8
  "license": "ISC",
13
- "files": [
14
- "docs",
15
- "*.js",
16
- "*.mjs",
17
- "*.d.ts",
18
- "*.d.mts"
19
- ],
20
9
  "dependencies": {
21
- "@qlik/embed-runtime": "^0.5.10",
22
- "@qlik/runtime-module-loader": "^0.1.15",
10
+ "@qlik/embed-runtime": "^0.6.2",
11
+ "@qlik/runtime-module-loader": "^0.2.3",
23
12
  "bufferutil": "^4.0.8",
24
13
  "enigma.js": "^2.12.0",
25
14
  "lodash": "^4.17.21",
26
- "ws": "^8.14.2"
15
+ "ws": "^8.15.1"
27
16
  },
28
17
  "engines": {
29
- "node": ">=16",
30
- "pnpm": ">=8"
18
+ "node": ">=16"
31
19
  },
32
20
  "main": "index.js",
33
21
  "module": "index.mjs",
@@ -260,5 +248,6 @@
260
248
  "./auth.mjs": {
261
249
  "import": "./auth.mjs"
262
250
  }
263
- }
264
- }
251
+ },
252
+ "version": "0.0.3"
253
+ }
@@ -4,7 +4,8 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkXASXL2NCjs = require('./chunk-XASXL2NC.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 = _chunkXASXL2NCjs.toValidEnigmaLocationUrl.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-TEB53FAF.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 _chunkXASXL2NCjs.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 _chunkXASXL2NCjs.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 = _chunkXASXL2NCjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
392
- const fetchMe = _chunkXASXL2NCjs.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 _chunkXASXL2NCjs.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({
@@ -3,8 +3,9 @@ import {
3
3
  handleAuthenticationError,
4
4
  invokeFetch,
5
5
  isWindows,
6
- toValidEnigmaLocationUrl
7
- } from "./chunk-4OMEH5SW.mjs";
6
+ toValidWebsocketLocationUrl
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();
@@ -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 = toValidEnigmaLocationUrl(hostConfig);
39
+ const locationUrl = toValidWebsocketLocationUrl(hostConfig);
39
40
  return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
40
41
  }
41
42
  async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
@@ -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-4L373ALV.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;