@qlik/api 0.0.16 → 0.1.1

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 (134) hide show
  1. package/README.md +1 -1
  2. package/api-keys.js +25 -25
  3. package/apps.d.ts +9 -1
  4. package/apps.js +97 -97
  5. package/audits.js +23 -23
  6. package/auth.js +14 -14
  7. package/automations.js +47 -47
  8. package/brands.js +35 -35
  9. package/chunks/4HB3TAEO.js +4 -4
  10. package/chunks/{HHOVS7QC.mjs → CHNBNLXY.js} +3 -3
  11. package/chunks/{3YV6X7S6.mjs → FFGE2RP7.js} +1 -1
  12. package/chunks/{HOCTJESP.mjs → JEGN7XQV.js} +3 -3
  13. package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
  14. package/chunks/OPRGGO4C.js +8 -8
  15. package/chunks/{O4EAKEIN.mjs → RHF624NQ.js} +1 -1
  16. package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
  17. package/chunks/{EHAANYDL.mjs → TT66UJZY.js} +3 -3
  18. package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
  19. package/chunks/{6AD3HYSF.mjs → XZQNE4HH.js} +1 -1
  20. package/collections.js +33 -33
  21. package/csp-origins.js +23 -23
  22. package/data-assets.js +21 -21
  23. package/data-connections.js +29 -29
  24. package/data-credentials.js +19 -19
  25. package/data-files.js +35 -35
  26. package/docs/authentication.md +5 -5
  27. package/docs/examples/fetch-spaces.md +1 -15
  28. package/docs/examples/show-sheet-list.md +1 -1
  29. package/docs/features.md +1 -1
  30. package/extensions.js +25 -25
  31. package/glossaries.js +59 -59
  32. package/groups.d.ts +0 -3
  33. package/groups.js +27 -27
  34. package/identity-providers.d.ts +144 -10
  35. package/identity-providers.js +27 -27
  36. package/index.js +53 -53
  37. package/items.js +27 -27
  38. package/licenses.js +29 -29
  39. package/package.json +36 -232
  40. package/qix.d.ts +1 -1
  41. package/qix.js +10 -10
  42. package/quotas.js +15 -15
  43. package/reload-tasks.js +21 -21
  44. package/reloads.js +19 -19
  45. package/roles.js +15 -15
  46. package/spaces.js +35 -35
  47. package/temp-contents.js +17 -17
  48. package/tenants.js +23 -23
  49. package/themes.js +25 -25
  50. package/transports.js +23 -23
  51. package/users.d.ts +1 -3
  52. package/users.js +31 -31
  53. package/web-integrations.js +21 -21
  54. package/web-notifications.js +23 -23
  55. package/webhooks.js +31 -31
  56. package/api-keys.d.mts +0 -336
  57. package/api-keys.mjs +0 -80
  58. package/apps.d.mts +0 -2431
  59. package/apps.mjs +0 -398
  60. package/audits.d.mts +0 -286
  61. package/audits.mjs +0 -64
  62. package/auth-types-nnUcWhuU.d.mts +0 -98
  63. package/auth.d.mts +0 -26
  64. package/auth.mjs +0 -14
  65. package/automations.d.mts +0 -682
  66. package/automations.mjs +0 -173
  67. package/brands.d.mts +0 -670
  68. package/brands.mjs +0 -123
  69. package/chunks/2YWCEGTS.js +0 -21
  70. package/chunks/34ZKUFEA.js +0 -41
  71. package/chunks/4WHZ4EIW.js +0 -57
  72. package/chunks/B4VPD3ZT.js +0 -574
  73. package/chunks/BM4OSDRZ.js +0 -17
  74. package/chunks/DCXUEDOW.mjs +0 -67
  75. package/chunks/MTAQE4WC.js +0 -10411
  76. package/chunks/PLOSYUG2.js +0 -25
  77. package/chunks/URIW2U5M.js +0 -17
  78. package/chunks/VSY5YIQY.mjs +0 -11
  79. package/chunks/WOYJLK4Y.js +0 -1623
  80. package/collections.d.mts +0 -581
  81. package/collections.mjs +0 -114
  82. package/csp-origins.d.mts +0 -273
  83. package/csp-origins.mjs +0 -69
  84. package/data-assets.d.mts +0 -205
  85. package/data-assets.mjs +0 -66
  86. package/data-connections.d.mts +0 -594
  87. package/data-connections.mjs +0 -103
  88. package/data-credentials.d.mts +0 -204
  89. package/data-credentials.mjs +0 -59
  90. package/data-files.d.mts +0 -562
  91. package/data-files.mjs +0 -123
  92. package/extensions.d.mts +0 -293
  93. package/extensions.mjs +0 -77
  94. package/global.types-5iFvFJvX.d.mts +0 -115
  95. package/glossaries.d.mts +0 -1173
  96. package/glossaries.mjs +0 -237
  97. package/groups.d.mts +0 -434
  98. package/groups.mjs +0 -88
  99. package/identity-providers.d.mts +0 -550
  100. package/identity-providers.mjs +0 -83
  101. package/index.d.mts +0 -142
  102. package/index.mjs +0 -716
  103. package/items.d.mts +0 -535
  104. package/items.mjs +0 -87
  105. package/licenses.d.mts +0 -459
  106. package/licenses.mjs +0 -92
  107. package/qix.d.mts +0 -11629
  108. package/qix.mjs +0 -10
  109. package/quotas.d.mts +0 -112
  110. package/quotas.mjs +0 -32
  111. package/reload-tasks.d.mts +0 -227
  112. package/reload-tasks.mjs +0 -62
  113. package/reloads.d.mts +0 -207
  114. package/reloads.mjs +0 -46
  115. package/roles.d.mts +0 -175
  116. package/roles.mjs +0 -31
  117. package/spaces.d.mts +0 -562
  118. package/spaces.mjs +0 -124
  119. package/temp-contents.d.mts +0 -167
  120. package/temp-contents.mjs +0 -41
  121. package/tenants.d.mts +0 -300
  122. package/tenants.mjs +0 -73
  123. package/themes.d.mts +0 -268
  124. package/themes.mjs +0 -77
  125. package/transports.d.mts +0 -319
  126. package/transports.mjs +0 -65
  127. package/users.d.mts +0 -631
  128. package/users.mjs +0 -104
  129. package/web-integrations.d.mts +0 -274
  130. package/web-integrations.mjs +0 -62
  131. package/web-notifications.d.mts +0 -250
  132. package/web-notifications.mjs +0 -69
  133. package/webhooks.d.mts +0 -445
  134. package/webhooks.mjs +0 -104
package/audits.js CHANGED
@@ -1,46 +1,46 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/audits.ts
9
- var getAudits = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
9
+ var getAudits = async (query, options) => invokeFetch("audits", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/audits",
12
12
  query,
13
13
  options
14
14
  });
15
- var getArchivedAudits = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
15
+ var getArchivedAudits = async (query, options) => invokeFetch("audits", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/audits/archive",
18
18
  query,
19
19
  options
20
20
  });
21
- var getAuditsSettings = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
21
+ var getAuditsSettings = async (options) => invokeFetch("audits", {
22
22
  method: "get",
23
23
  pathTemplate: "/api/v1/audits/settings",
24
24
  options
25
25
  });
26
- var getAuditSources = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
26
+ var getAuditSources = async (options) => invokeFetch("audits", {
27
27
  method: "get",
28
28
  pathTemplate: "/api/v1/audits/sources",
29
29
  options
30
30
  });
31
- var getAuditTypes = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
31
+ var getAuditTypes = async (options) => invokeFetch("audits", {
32
32
  method: "get",
33
33
  pathTemplate: "/api/v1/audits/types",
34
34
  options
35
35
  });
36
- var getAudit = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "audits", {
36
+ var getAudit = async (id, options) => invokeFetch("audits", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/audits/{id}",
39
39
  pathVariables: { id },
40
40
  options
41
41
  });
42
42
  function clearCache() {
43
- return _URIW2U5Mjs.clearApiCache.call(void 0, "audits");
43
+ return clearApiCache("audits");
44
44
  }
45
45
  var auditsExport = {
46
46
  getAudits,
@@ -52,13 +52,13 @@ var auditsExport = {
52
52
  clearCache
53
53
  };
54
54
  var audits_default = auditsExport;
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
- exports.clearCache = clearCache; exports.default = audits_default; exports.getArchivedAudits = getArchivedAudits; exports.getAudit = getAudit; exports.getAuditSources = getAuditSources; exports.getAuditTypes = getAuditTypes; exports.getAudits = getAudits; exports.getAuditsSettings = getAuditsSettings;
55
+ export {
56
+ clearCache,
57
+ audits_default as default,
58
+ getArchivedAudits,
59
+ getAudit,
60
+ getAuditSources,
61
+ getAuditTypes,
62
+ getAudits,
63
+ getAuditsSettings
64
+ };
package/auth.js CHANGED
@@ -1,14 +1,14 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
- var _PLOSYUG2js = require('./chunks/PLOSYUG2.js');
7
- require('./chunks/2YWCEGTS.js');
8
- require('./chunks/4HB3TAEO.js');
9
-
10
-
11
-
12
-
13
-
14
- exports.default = _PLOSYUG2js.auth_default; exports.logout = _PLOSYUG2js.logout; exports.registerAuthModule = _PLOSYUG2js.registerAuthModule; exports.setDefaultHostConfig = _PLOSYUG2js.setDefaultHostConfig;
1
+ import {
2
+ auth_default,
3
+ logout,
4
+ registerAuthModule,
5
+ setDefaultHostConfig
6
+ } from "./chunks/XZQNE4HH.js";
7
+ import "./chunks/TT66UJZY.js";
8
+ import "./chunks/4HB3TAEO.js";
9
+ export {
10
+ auth_default as default,
11
+ logout,
12
+ registerAuthModule,
13
+ setDefaultHostConfig
14
+ };
package/automations.js CHANGED
@@ -1,55 +1,55 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/automations.ts
9
- var getAutomations = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
9
+ var getAutomations = async (query, options) => invokeFetch("automations", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/automations",
12
12
  query,
13
13
  options
14
14
  });
15
- var createAutomation = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
15
+ var createAutomation = async (body, options) => invokeFetch("automations", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/automations",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getAutomationsSettings = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
22
+ var getAutomationsSettings = async (options) => invokeFetch("automations", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/automations/settings",
25
25
  options
26
26
  });
27
- var updateAutomationsSettings = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
27
+ var updateAutomationsSettings = async (body, options) => invokeFetch("automations", {
28
28
  method: "put",
29
29
  pathTemplate: "/api/v1/automations/settings",
30
30
  body,
31
31
  contentType: "application/json",
32
32
  options
33
33
  });
34
- var getAutomationsUsageMetrics = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
34
+ var getAutomationsUsageMetrics = async (query, options) => invokeFetch("automations", {
35
35
  method: "get",
36
36
  pathTemplate: "/api/v1/automations/usage",
37
37
  query,
38
38
  options
39
39
  });
40
- var deleteAutomation = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
40
+ var deleteAutomation = async (id, options) => invokeFetch("automations", {
41
41
  method: "delete",
42
42
  pathTemplate: "/api/v1/automations/{id}",
43
43
  pathVariables: { id },
44
44
  options
45
45
  });
46
- var getAutomation = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
46
+ var getAutomation = async (id, options) => invokeFetch("automations", {
47
47
  method: "get",
48
48
  pathTemplate: "/api/v1/automations/{id}",
49
49
  pathVariables: { id },
50
50
  options
51
51
  });
52
- var updateAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
52
+ var updateAutomation = async (id, body, options) => invokeFetch("automations", {
53
53
  method: "put",
54
54
  pathTemplate: "/api/v1/automations/{id}",
55
55
  pathVariables: { id },
@@ -57,7 +57,7 @@ var updateAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call
57
57
  contentType: "application/json",
58
58
  options
59
59
  });
60
- var copyAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
60
+ var copyAutomation = async (id, body, options) => invokeFetch("automations", {
61
61
  method: "post",
62
62
  pathTemplate: "/api/v1/automations/{id}/actions/copy",
63
63
  pathVariables: { id },
@@ -65,19 +65,19 @@ var copyAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(v
65
65
  contentType: "application/json",
66
66
  options
67
67
  });
68
- var disableAutomation = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
68
+ var disableAutomation = async (id, options) => invokeFetch("automations", {
69
69
  method: "post",
70
70
  pathTemplate: "/api/v1/automations/{id}/actions/disable",
71
71
  pathVariables: { id },
72
72
  options
73
73
  });
74
- var enableAutomation = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
74
+ var enableAutomation = async (id, options) => invokeFetch("automations", {
75
75
  method: "post",
76
76
  pathTemplate: "/api/v1/automations/{id}/actions/enable",
77
77
  pathVariables: { id },
78
78
  options
79
79
  });
80
- var moveAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
80
+ var moveAutomation = async (id, body, options) => invokeFetch("automations", {
81
81
  method: "post",
82
82
  pathTemplate: "/api/v1/automations/{id}/actions/move",
83
83
  pathVariables: { id },
@@ -85,14 +85,14 @@ var moveAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(v
85
85
  contentType: "application/json",
86
86
  options
87
87
  });
88
- var getAutomationRuns = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
88
+ var getAutomationRuns = async (id, query, options) => invokeFetch("automations", {
89
89
  method: "get",
90
90
  pathTemplate: "/api/v1/automations/{id}/runs",
91
91
  pathVariables: { id },
92
92
  query,
93
93
  options
94
94
  });
95
- var queueAutomationRun = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
95
+ var queueAutomationRun = async (id, body, options) => invokeFetch("automations", {
96
96
  method: "post",
97
97
  pathTemplate: "/api/v1/automations/{id}/runs",
98
98
  pathVariables: { id },
@@ -100,32 +100,32 @@ var queueAutomationRun = async (id, body, options) => _URIW2U5Mjs.invokeFetch.ca
100
100
  contentType: "application/json",
101
101
  options
102
102
  });
103
- var getAutomationRun = async (id, runId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
103
+ var getAutomationRun = async (id, runId, options) => invokeFetch("automations", {
104
104
  method: "get",
105
105
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
106
106
  pathVariables: { id, runId },
107
107
  options
108
108
  });
109
- var getAutomationRunDetails = async (id, runId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
109
+ var getAutomationRunDetails = async (id, runId, options) => invokeFetch("automations", {
110
110
  method: "post",
111
111
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
112
112
  pathVariables: { id, runId },
113
113
  options
114
114
  });
115
- var retryAutomationRun = async (id, runId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
115
+ var retryAutomationRun = async (id, runId, options) => invokeFetch("automations", {
116
116
  method: "post",
117
117
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
118
118
  pathVariables: { id, runId },
119
119
  options
120
120
  });
121
- var stopAutomationRun = async (id, runId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "automations", {
121
+ var stopAutomationRun = async (id, runId, options) => invokeFetch("automations", {
122
122
  method: "post",
123
123
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
124
124
  pathVariables: { id, runId },
125
125
  options
126
126
  });
127
127
  function clearCache() {
128
- return _URIW2U5Mjs.clearApiCache.call(void 0, "automations");
128
+ return clearApiCache("automations");
129
129
  }
130
130
  var automationsExport = {
131
131
  getAutomations,
@@ -149,25 +149,25 @@ var automationsExport = {
149
149
  clearCache
150
150
  };
151
151
  var automations_default = automationsExport;
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
- exports.clearCache = clearCache; exports.copyAutomation = copyAutomation; exports.createAutomation = createAutomation; exports.default = automations_default; exports.deleteAutomation = deleteAutomation; exports.disableAutomation = disableAutomation; exports.enableAutomation = enableAutomation; exports.getAutomation = getAutomation; exports.getAutomationRun = getAutomationRun; exports.getAutomationRunDetails = getAutomationRunDetails; exports.getAutomationRuns = getAutomationRuns; exports.getAutomations = getAutomations; exports.getAutomationsSettings = getAutomationsSettings; exports.getAutomationsUsageMetrics = getAutomationsUsageMetrics; exports.moveAutomation = moveAutomation; exports.queueAutomationRun = queueAutomationRun; exports.retryAutomationRun = retryAutomationRun; exports.stopAutomationRun = stopAutomationRun; exports.updateAutomation = updateAutomation; exports.updateAutomationsSettings = updateAutomationsSettings;
152
+ export {
153
+ clearCache,
154
+ copyAutomation,
155
+ createAutomation,
156
+ automations_default as default,
157
+ deleteAutomation,
158
+ disableAutomation,
159
+ enableAutomation,
160
+ getAutomation,
161
+ getAutomationRun,
162
+ getAutomationRunDetails,
163
+ getAutomationRuns,
164
+ getAutomations,
165
+ getAutomationsSettings,
166
+ getAutomationsUsageMetrics,
167
+ moveAutomation,
168
+ queueAutomationRun,
169
+ retryAutomationRun,
170
+ stopAutomationRun,
171
+ updateAutomation,
172
+ updateAutomationsSettings
173
+ };
package/brands.js CHANGED
@@ -1,42 +1,42 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/FFGE2RP7.js";
5
+ import "./chunks/TT66UJZY.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/brands.ts
9
- var getBrands = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
9
+ var getBrands = async (query, options) => invokeFetch("brands", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/brands",
12
12
  query,
13
13
  options
14
14
  });
15
- var createBrand = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
15
+ var createBrand = async (body, options) => invokeFetch("brands", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/brands",
18
18
  body,
19
19
  contentType: "multipart/form-data",
20
20
  options
21
21
  });
22
- var getActiveBrand = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
22
+ var getActiveBrand = async (options) => invokeFetch("brands", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/brands/active",
25
25
  options
26
26
  });
27
- var deleteBrand = async (brandId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
27
+ var deleteBrand = async (brandId, options) => invokeFetch("brands", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/brands/{brand-id}",
30
30
  pathVariables: { "brand-id": brandId },
31
31
  options
32
32
  });
33
- var getBrand = async (brandId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
33
+ var getBrand = async (brandId, options) => invokeFetch("brands", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/brands/{brand-id}",
36
36
  pathVariables: { "brand-id": brandId },
37
37
  options
38
38
  });
39
- var patchBrand = async (brandId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
39
+ var patchBrand = async (brandId, body, options) => invokeFetch("brands", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/brands/{brand-id}",
42
42
  pathVariables: { "brand-id": brandId },
@@ -44,33 +44,33 @@ var patchBrand = async (brandId, body, options) => _URIW2U5Mjs.invokeFetch.call(
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var activateBrand = async (brandId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
47
+ var activateBrand = async (brandId, body, options) => invokeFetch("brands", {
48
48
  method: "post",
49
49
  pathTemplate: "/api/v1/brands/{brand-id}/actions/activate",
50
50
  pathVariables: { "brand-id": brandId },
51
51
  body,
52
52
  options
53
53
  });
54
- var deactivateBrand = async (brandId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
54
+ var deactivateBrand = async (brandId, body, options) => invokeFetch("brands", {
55
55
  method: "post",
56
56
  pathTemplate: "/api/v1/brands/{brand-id}/actions/deactivate",
57
57
  pathVariables: { "brand-id": brandId },
58
58
  body,
59
59
  options
60
60
  });
61
- var deleteBrandFile = async (brandId, brandFileId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
61
+ var deleteBrandFile = async (brandId, brandFileId, options) => invokeFetch("brands", {
62
62
  method: "delete",
63
63
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
64
64
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
65
65
  options
66
66
  });
67
- var getBrandFile = async (brandId, brandFileId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
67
+ var getBrandFile = async (brandId, brandFileId, options) => invokeFetch("brands", {
68
68
  method: "get",
69
69
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
70
70
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
71
71
  options
72
72
  });
73
- var createBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
73
+ var createBrandFile = async (brandId, brandFileId, body, options) => invokeFetch("brands", {
74
74
  method: "post",
75
75
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
76
76
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
@@ -78,7 +78,7 @@ var createBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs
78
78
  contentType: "multipart/form-data",
79
79
  options
80
80
  });
81
- var updateBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "brands", {
81
+ var updateBrandFile = async (brandId, brandFileId, body, options) => invokeFetch("brands", {
82
82
  method: "put",
83
83
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
84
84
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
@@ -87,7 +87,7 @@ var updateBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs
87
87
  options
88
88
  });
89
89
  function clearCache() {
90
- return _URIW2U5Mjs.clearApiCache.call(void 0, "brands");
90
+ return clearApiCache("brands");
91
91
  }
92
92
  var brandsExport = {
93
93
  getBrands,
@@ -105,19 +105,19 @@ var brandsExport = {
105
105
  clearCache
106
106
  };
107
107
  var brands_default = brandsExport;
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
- exports.activateBrand = activateBrand; exports.clearCache = clearCache; exports.createBrand = createBrand; exports.createBrandFile = createBrandFile; exports.deactivateBrand = deactivateBrand; exports.default = brands_default; exports.deleteBrand = deleteBrand; exports.deleteBrandFile = deleteBrandFile; exports.getActiveBrand = getActiveBrand; exports.getBrand = getBrand; exports.getBrandFile = getBrandFile; exports.getBrands = getBrands; exports.patchBrand = patchBrand; exports.updateBrandFile = updateBrandFile;
108
+ export {
109
+ activateBrand,
110
+ clearCache,
111
+ createBrand,
112
+ createBrandFile,
113
+ deactivateBrand,
114
+ brands_default as default,
115
+ deleteBrand,
116
+ deleteBrandFile,
117
+ getActiveBrand,
118
+ getBrand,
119
+ getBrandFile,
120
+ getBrands,
121
+ patchBrand,
122
+ updateBrandFile
123
+ };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
2
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
3
  }) : x)(function(x) {
4
4
  if (typeof require !== "undefined")
@@ -6,6 +6,6 @@
6
6
  throw Error('Dynamic require of "' + x + '" is not supported');
7
7
  });
8
8
 
9
-
10
-
11
- exports.__require = __require;
9
+ export {
10
+ __require
11
+ };
@@ -4,8 +4,8 @@ import {
4
4
  invokeFetch,
5
5
  isWindows,
6
6
  toValidWebsocketLocationUrl
7
- } from "./BYD63JCG.mjs";
8
- import "./VSY5YIQY.mjs";
7
+ } from "./SIU6HO6B.js";
8
+ import "./4HB3TAEO.js";
9
9
 
10
10
  // src/qix/session/shared-sessions.ts
11
11
  var globalEventListeners = /* @__PURE__ */ new Set();
@@ -83,7 +83,7 @@ function listenForWindowsAuthenticationInformation(session) {
83
83
  return authSuggestedInWebsocket;
84
84
  }
85
85
  async function createAndSetupEnigmaSession(props, canRetry) {
86
- const { createEnigmaSession } = await import("./HOCTJESP.mjs");
86
+ const { createEnigmaSession } = await import("./JEGN7XQV.js");
87
87
  const session = await createEnigmaSession(props);
88
88
  setupSessionListeners(session, props);
89
89
  let global;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./EHAANYDL.mjs";
3
+ } from "./TT66UJZY.js";
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
@@ -3,8 +3,8 @@ import {
3
3
  getRestCallAuthParams,
4
4
  getWebSocketAuthParams,
5
5
  toValidWebsocketLocationUrl
6
- } from "./BYD63JCG.mjs";
7
- import "./VSY5YIQY.mjs";
6
+ } from "./SIU6HO6B.js";
7
+ import "./4HB3TAEO.js";
8
8
 
9
9
  // src/qix/session/enigma-session.ts
10
10
  import enigma from "enigma.js";
@@ -9093,7 +9093,7 @@ var CREATABLE_RESOURCES = [
9093
9093
  { resource: "masterobject", canCreate: true },
9094
9094
  { resource: "snapshot", canCreate: true }
9095
9095
  ];
9096
- var forceReadOnly = true;
9096
+ var forceReadOnly = false;
9097
9097
  function parse(privileges, mapToObj) {
9098
9098
  if (!privileges.length) {
9099
9099
  privileges = ["update", "publish", "export", "exportdata", "changeowner", "delete"];
@@ -17,8 +17,8 @@ import {
17
17
  toValidEnigmaLocationUrl,
18
18
  toValidLocationUrl,
19
19
  toValidWebsocketLocationUrl
20
- } from "./BYD63JCG.mjs";
21
- import "./VSY5YIQY.mjs";
20
+ } from "./SIU6HO6B.js";
21
+ import "./4HB3TAEO.js";
22
22
  export {
23
23
  AuthorizationError,
24
24
  InvalidAuthTypeError,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./4HB3TAEO.js');
1
+ import "./4HB3TAEO.js";
2
2
 
3
3
  // node_modules/.pnpm/@qlik+runtime-module-loader@0.2.5/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
4
4
  window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
@@ -30,7 +30,7 @@ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateReso
30
30
  function provideHostConfigForMainJsUrl(hostConfig) {
31
31
  const trailingSlashes = /\/+$/;
32
32
  function toMainJsUrl(hc) {
33
- const url = _optionalChain([hc, 'optionalAccess', _ => _.embedRuntimeUrl]) || _optionalChain([hc, 'optionalAccess', _2 => _2.url]) || _optionalChain([hc, 'optionalAccess', _3 => _3.host]);
33
+ const url = hc?.embedRuntimeUrl || hc?.url || hc?.host;
34
34
  if (!url) {
35
35
  return void 0;
36
36
  }
@@ -49,8 +49,8 @@ function provideHostConfigForMainJsUrl(hostConfig) {
49
49
  }
50
50
  }
51
51
  async function importRuntimeModule(name, hostConfig) {
52
- if (_optionalChain([hostConfig, 'optionalAccess', _4 => _4.runtimeModuleMocks, 'optionalAccess', _5 => _5[name]])) {
53
- return _optionalChain([hostConfig, 'optionalAccess', _6 => _6.runtimeModuleMocks, 'optionalAccess', _7 => _7[name]]);
52
+ if (hostConfig?.runtimeModuleMocks?.[name]) {
53
+ return hostConfig?.runtimeModuleMocks?.[name];
54
54
  }
55
55
  provideHostConfigForMainJsUrl(hostConfig);
56
56
  return importFromCdn(name);
@@ -61,7 +61,7 @@ async function importUnsupportedAndUnstableRuntimeModule(name) {
61
61
  async function importFromCdn(name) {
62
62
  return (await window.__qlikMainPrivateResolvers.qlikMainPromise).import(name);
63
63
  }
64
-
65
-
66
-
67
- exports.importRuntimeModule = importRuntimeModule; exports.importUnsupportedAndUnstableRuntimeModule = importUnsupportedAndUnstableRuntimeModule;
64
+ export {
65
+ importRuntimeModule,
66
+ importUnsupportedAndUnstableRuntimeModule
67
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQixRuntimeModule
3
- } from "./EHAANYDL.mjs";
3
+ } from "./TT66UJZY.js";
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./VSY5YIQY.mjs";
3
+ } from "./4HB3TAEO.js";
4
4
 
5
5
  // src/platform/platform-functions.ts
6
6
  var getPlatform = async (options = {}) => {
@@ -16,6 +16,7 @@ var getPlatform = async (options = {}) => {
16
16
  return result({ isQSE: true, isWindows: true });
17
17
  }
18
18
  const deploymentType = (productInfo.composition?.deploymentType || "").toLowerCase();
19
+ const isControlCenter = deploymentType === "controlcenter";
19
20
  if (deploymentType === "qliksenseserver") {
20
21
  return result({ isQSE: true, isWindows: true });
21
22
  }
@@ -23,9 +24,9 @@ var getPlatform = async (options = {}) => {
23
24
  return result({ isQSD: true, isWindows: true });
24
25
  }
25
26
  if (productInfo.composition?.provider === "fedramp") {
26
- return result({ isCloud: true, isQCG: true });
27
+ return result({ isCloud: true, isQCG: true, isControlCenter });
27
28
  }
28
- return result({ isCloud: true, isQCS: true });
29
+ return result({ isCloud: true, isQCS: true, isControlCenter });
29
30
  };
30
31
  var productInfoPromises = {};
31
32
  function templateUrl(baseUrl) {
@@ -67,6 +68,7 @@ var result = (data) => ({
67
68
  isCloud: false,
68
69
  isQCS: false,
69
70
  isQCG: false,
71
+ isControlCenter: false,
70
72
  isWindows: false,
71
73
  isQSE: false,
72
74
  isQSD: false,
@@ -1,17 +1,17 @@
1
1
  // src/public/public-runtime-modules.ts
2
2
  function getAuthRuntimeModule(hostConfig) {
3
3
  const isNode = !!globalThis.process?.argv;
4
- return isNode ? import("./6WX5AGKQ.mjs") : import("./DCXUEDOW.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? import("./L2BJNKLV.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
5
5
  }
6
6
  async function getQixRuntimeModule(hostConfig) {
7
7
  await getAuthRuntimeModule(hostConfig);
8
8
  const isNode = !!globalThis.process?.argv;
9
- return isNode ? import("./HHOVS7QC.mjs") : import("./DCXUEDOW.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? import("./CHNBNLXY.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
10
10
  }
11
11
  async function getInvokeFetchRuntimeModule(hostConfig) {
12
12
  await getAuthRuntimeModule(hostConfig);
13
13
  const isNode = !!globalThis.process?.argv;
14
- return isNode ? import("./UKVTBYP6.mjs") : import("./DCXUEDOW.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? import("./XOVMZWDC.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
  export {