@qlik/api 0.0.7 → 0.0.9

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 (157) hide show
  1. package/api-keys.d.mts +1 -1
  2. package/api-keys.d.ts +1 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +9 -7
  6. package/apps.d.ts +9 -7
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +1 -1
  10. package/audits.d.ts +1 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +1 -1
  16. package/automations.d.ts +1 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +4 -4
  20. package/brands.d.ts +4 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/chunks/37STYSYC.js +41 -0
  24. package/{enigma-session-SX3S4D67.js → chunks/AGASWXYW.js} +5 -5
  25. package/{invoke-fetch-O6G2T5EO.mjs → chunks/AU62SBT4.mjs} +2 -2
  26. package/{chunk-RG5MJMTS.js → chunks/AULTUQC4.js} +2 -2
  27. package/{chunk-OQ7JMHBC.mjs → chunks/EHZ6H6TD.mjs} +1 -1
  28. package/{chunk-KPCXSJ7B.js → chunks/EL2GSPZZ.js} +3 -3
  29. package/{qix-H5YPUSPO.js → chunks/F7GJTDIU.js} +9 -9
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{chunk-AHJ5TCGF.mjs → chunks/K4YCNLTC.mjs} +1 -1
  32. package/{chunk-AHWPRCGA.mjs → chunks/KDW6ZD2R.mjs} +64 -27
  33. package/{qix-6ZR6KLUS.mjs → chunks/L7DRRU3T.mjs} +3 -3
  34. package/{chunk-ZNLWUSS5.mjs → chunks/POR3DZIU.mjs} +1 -1
  35. package/{chunk-2EGD2BDX.js → chunks/PQ4OWSWX.js} +66 -29
  36. package/chunks/VC2LAFLZ.js +17 -0
  37. package/{chunk-7HKUAHVA.mjs → chunks/VLLTA4EY.mjs} +3 -3
  38. package/{chunk-ZXQHFWQH.js → chunks/W2I5OQA5.js} +3 -3
  39. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  40. package/{auth-UH5NRF5W.mjs → chunks/WQHUX4R2.mjs} +2 -2
  41. package/{chunk-VTS2AFOU.js → chunks/XY3AC335.js} +4 -4
  42. package/{enigma-session-BUSRMT72.mjs → chunks/YDB23Q56.mjs} +2 -2
  43. package/collections.d.mts +5 -21
  44. package/collections.d.ts +5 -21
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +1 -1
  56. package/data-connections.d.ts +1 -1
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +1 -1
  60. package/data-credentials.d.ts +1 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +1 -1
  64. package/data-files.d.ts +1 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +1 -1
  68. package/extensions.d.ts +1 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +1 -1
  74. package/glossaries.d.ts +1 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +1 -1
  78. package/groups.d.ts +1 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +1 -1
  82. package/identity-providers.d.ts +1 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +1 -1
  90. package/items.d.ts +1 -1
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +1 -1
  94. package/licenses.d.ts +1 -1
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +1 -1
  103. package/quotas.d.ts +1 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +1 -1
  107. package/reload-tasks.d.ts +1 -1
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +1 -1
  111. package/reloads.d.ts +1 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +1 -1
  115. package/roles.d.ts +1 -1
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +1 -1
  119. package/spaces.d.ts +1 -1
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +1 -1
  123. package/temp-contents.d.ts +1 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +6 -6
  127. package/tenants.d.ts +6 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +1 -1
  131. package/themes.d.ts +1 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +12 -12
  135. package/transports.d.ts +12 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +5 -11
  139. package/users.d.ts +5 -11
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +1 -1
  143. package/web-integrations.d.ts +1 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +1 -1
  147. package/web-notifications.d.ts +1 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +1 -1
  151. package/webhooks.d.ts +1 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-TB6NYHVR.js +0 -41
  155. package/invoke-fetch-JU62OAXK.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/audits.js CHANGED
@@ -1,46 +1,46 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/audits.ts
9
- var getAudits = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
9
+ var getAudits = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
15
+ var getArchivedAudits = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
21
+ var getAuditsSettings = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "audits", {
22
22
  method: "get",
23
23
  pathTemplate: "/api/v1/audits/settings",
24
24
  options
25
25
  });
26
- var getAuditSources = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
26
+ var getAuditSources = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "audits", {
27
27
  method: "get",
28
28
  pathTemplate: "/api/v1/audits/sources",
29
29
  options
30
30
  });
31
- var getAuditTypes = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
31
+ var getAuditTypes = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "audits", {
32
32
  method: "get",
33
33
  pathTemplate: "/api/v1/audits/types",
34
34
  options
35
35
  });
36
- var getAudit = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "audits", {
36
+ var getAudit = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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 _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "audits");
43
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "audits");
44
44
  }
45
45
  var auditsExport = {
46
46
  getAudits,
package/audits.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/audits.ts
9
9
  var getAudits = async (query, options) => invokeFetch("audits", {
package/auth.js CHANGED
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkVTS2AFOUjs = require('./chunk-VTS2AFOU.js');
7
- require('./chunk-ZXQHFWQH.js');
8
- require('./chunk-P57PW2II.js');
6
+ var _XY3AC335js = require('./chunks/XY3AC335.js');
7
+ require('./chunks/W2I5OQA5.js');
8
+ require('./chunks/4HB3TAEO.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.default = _chunkVTS2AFOUjs.auth_default; exports.logout = _chunkVTS2AFOUjs.logout; exports.registerAuthModule = _chunkVTS2AFOUjs.registerAuthModule; exports.setDefaultHostConfig = _chunkVTS2AFOUjs.setDefaultHostConfig;
14
+ exports.default = _XY3AC335js.auth_default; exports.logout = _XY3AC335js.logout; exports.registerAuthModule = _XY3AC335js.registerAuthModule; exports.setDefaultHostConfig = _XY3AC335js.setDefaultHostConfig;
package/auth.mjs CHANGED
@@ -3,9 +3,9 @@ import {
3
3
  logout,
4
4
  registerAuthModule,
5
5
  setDefaultHostConfig
6
- } from "./chunk-OQ7JMHBC.mjs";
7
- import "./chunk-7HKUAHVA.mjs";
8
- import "./chunk-ZFXKCRJC.mjs";
6
+ } from "./chunks/EHZ6H6TD.mjs";
7
+ import "./chunks/VLLTA4EY.mjs";
8
+ import "./chunks/VSY5YIQY.mjs";
9
9
  export {
10
10
  auth_default as default,
11
11
  logout,
package/automations.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type AutomationDetailRequestObject = {
package/automations.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type AutomationDetailRequestObject = {
package/automations.js CHANGED
@@ -1,55 +1,55 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/automations.ts
9
- var getAutomations = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
9
+ var getAutomations = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
15
+ var createAutomation = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
22
+ var getAutomationsSettings = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "automations", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/automations/settings",
25
25
  options
26
26
  });
27
- var updateAutomationsSettings = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
27
+ var updateAutomationsSettings = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
34
+ var getAutomationsUsageMetrics = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
40
+ var deleteAutomation = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
46
+ var getAutomation = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
52
+ var updateAutomation = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch
57
57
  contentType: "application/json",
58
58
  options
59
59
  });
60
- var copyAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
60
+ var copyAutomation = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.c
65
65
  contentType: "application/json",
66
66
  options
67
67
  });
68
- var disableAutomation = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
68
+ var disableAutomation = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
74
+ var enableAutomation = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
80
+ var moveAutomation = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.c
85
85
  contentType: "application/json",
86
86
  options
87
87
  });
88
- var getAutomationRuns = async (id, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
88
+ var getAutomationRuns = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
95
+ var queueAutomationRun = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFet
100
100
  contentType: "application/json",
101
101
  options
102
102
  });
103
- var getAutomationRun = async (id, runId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
103
+ var getAutomationRun = async (id, runId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
109
+ var getAutomationRunDetails = async (id, runId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
115
+ var retryAutomationRun = async (id, runId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
121
+ var stopAutomationRun = async (id, runId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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 _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "automations");
128
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "automations");
129
129
  }
130
130
  var automationsExport = {
131
131
  getAutomations,
package/automations.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/automations.ts
9
9
  var getAutomations = async (query, options) => invokeFetch("automations", {
package/brands.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Brand = {
@@ -179,12 +179,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
179
179
  */
180
180
  declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
181
181
  type GetActiveBrandHttpResponse = {
182
- data: NoActiveBrand;
182
+ data: Brand | NoActiveBrand;
183
183
  headers: Headers;
184
184
  status: number;
185
185
  };
186
186
  type GetActiveBrandHttpError = {
187
- data: void;
187
+ data: unknown;
188
188
  headers: Headers;
189
189
  status: number;
190
190
  };
@@ -429,7 +429,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
429
429
  */
430
430
  declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
431
431
  type GetBrandFileHttpResponse = {
432
- data: BodyInit;
432
+ data: DownloadableBlob;
433
433
  headers: Headers;
434
434
  status: number;
435
435
  };
package/brands.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Brand = {
@@ -179,12 +179,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
179
179
  */
180
180
  declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
181
181
  type GetActiveBrandHttpResponse = {
182
- data: NoActiveBrand;
182
+ data: Brand | NoActiveBrand;
183
183
  headers: Headers;
184
184
  status: number;
185
185
  };
186
186
  type GetActiveBrandHttpError = {
187
- data: void;
187
+ data: unknown;
188
188
  headers: Headers;
189
189
  status: number;
190
190
  };
@@ -429,7 +429,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
429
429
  */
430
430
  declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
431
431
  type GetBrandFileHttpResponse = {
432
- data: BodyInit;
432
+ data: DownloadableBlob;
433
433
  headers: Headers;
434
434
  status: number;
435
435
  };
package/brands.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
+ require('./chunks/W2I5OQA5.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/brands.ts
9
- var getBrands = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
9
+ var getBrands = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
15
+ var createBrand = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
22
+ var getActiveBrand = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "brands", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/brands/active",
25
25
  options
26
26
  });
27
- var deleteBrand = async (brandId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
27
+ var deleteBrand = async (brandId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
33
+ var getBrand = async (brandId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
39
+ var patchBrand = async (brandId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var activateBrand = async (brandId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
47
+ var activateBrand = async (brandId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
54
+ var deactivateBrand = async (brandId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
61
+ var deleteBrandFile = async (brandId, brandFileId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
67
+ var getBrandFile = async (brandId, brandFileId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
73
+ var createBrandFile = async (brandId, brandFileId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXS
78
78
  contentType: "multipart/form-data",
79
79
  options
80
80
  });
81
- var updateBrandFile = async (brandId, brandFileId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
81
+ var updateBrandFile = async (brandId, brandFileId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXS
87
87
  options
88
88
  });
89
89
  function clearCache() {
90
- return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "brands");
90
+ return _EL2GSPZZjs.clearApiCache.call(void 0, "brands");
91
91
  }
92
92
  var brandsExport = {
93
93
  getBrands,
package/brands.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/POR3DZIU.mjs";
5
+ import "./chunks/VLLTA4EY.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/brands.ts
9
9
  var getBrands = async (query, options) => invokeFetch("brands", {
@@ -0,0 +1,41 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+ var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
21
+ require('./4HB3TAEO.js');
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+ exports.AuthorizationError = _PQ4OWSWXjs.AuthorizationError; exports.InvalidAuthTypeError = _PQ4OWSWXjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _PQ4OWSWXjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _PQ4OWSWXjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _PQ4OWSWXjs.checkForCrossDomainRequest; exports.default = _PQ4OWSWXjs.auth_default; exports.getRestCallAuthParams = _PQ4OWSWXjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _PQ4OWSWXjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _PQ4OWSWXjs.getWebSocketAuthParams; exports.handleAuthenticationError = _PQ4OWSWXjs.handleAuthenticationError; exports.isHostCrossOrigin = _PQ4OWSWXjs.isHostCrossOrigin; exports.isWindows = _PQ4OWSWXjs.isWindows; exports.logout = _PQ4OWSWXjs.logout; exports.registerAuthModule = _PQ4OWSWXjs.registerAuthModule; exports.setDefaultHostConfig = _PQ4OWSWXjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _PQ4OWSWXjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _PQ4OWSWXjs.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl;
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2EGD2BDXjs = require('./chunk-2EGD2BDX.js');
6
- require('./chunk-P57PW2II.js');
5
+ var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
6
+ require('./4HB3TAEO.js');
7
7
 
8
8
  // src/qix/session/enigma-session.ts
9
9
  var _enigmajs = require('enigma.js'); var _enigmajs2 = _interopRequireDefault(_enigmajs);
@@ -10160,14 +10160,14 @@ async function createEnigmaSession({
10160
10160
  identity,
10161
10161
  hostConfig
10162
10162
  }) {
10163
- const locationUrl = _chunk2EGD2BDXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
10163
+ const locationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
10164
10164
  const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
10165
10165
  const identityPart = identity ? `/identity/${identity}` : "";
10166
10166
  let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}`.replace(/^http/, "ws");
10167
10167
  const isNodeEnvironment = typeof window === "undefined";
10168
10168
  let createSocketMethod;
10169
10169
  if (isNodeEnvironment) {
10170
- const { headers, queryParams } = await _chunk2EGD2BDXjs.getRestCallAuthParams.call(void 0, { hostConfig, method: "POST" });
10170
+ const { headers, queryParams } = await _PQ4OWSWXjs.getRestCallAuthParams.call(void 0, { hostConfig, method: "POST" });
10171
10171
  const WS = (await Promise.resolve().then(() => _interopRequireWildcard(require("ws")))).default;
10172
10172
  Object.entries(queryParams).forEach(([key, value]) => {
10173
10173
  url = `${url}&${key}=${value}`;
@@ -10176,7 +10176,7 @@ async function createEnigmaSession({
10176
10176
  headers
10177
10177
  });
10178
10178
  } else {
10179
- const { queryParams } = await _chunk2EGD2BDXjs.getWebSocketAuthParams.call(void 0, { hostConfig });
10179
+ const { queryParams } = await _PQ4OWSWXjs.getWebSocketAuthParams.call(void 0, { hostConfig });
10180
10180
  Object.entries(queryParams).forEach(([key, value]) => {
10181
10181
  url = `${url}&${key}=${value}`;
10182
10182
  });
@@ -5,8 +5,8 @@ import {
5
5
  invokeFetch,
6
6
  invoke_fetch_default,
7
7
  parseFetchResponse
8
- } from "./chunk-AHWPRCGA.mjs";
9
- import "./chunk-ZFXKCRJC.mjs";
8
+ } from "./KDW6ZD2R.mjs";
9
+ import "./VSY5YIQY.mjs";
10
10
  export {
11
11
  EncodingError,
12
12
  InvokeFetchError,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZXQHFWQHjs = require('./chunk-ZXQHFWQH.js');
3
+ var _W2I5OQA5js = require('./W2I5OQA5.js');
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
7
- const appSessionPromise = _chunkZXQHFWQHjs.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
7
+ const appSessionPromise = _W2I5OQA5js.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
8
8
  (impl) => impl.openAppSession(appSessionProps)
9
9
  );
10
10
  const appSessionProxy = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAuthRuntimeModule
3
- } from "./chunk-7HKUAHVA.mjs";
3
+ } from "./VLLTA4EY.mjs";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -1,14 +1,14 @@
1
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; }
2
2
 
3
- var _chunkZXQHFWQHjs = require('./chunk-ZXQHFWQH.js');
3
+ var _W2I5OQA5js = require('./W2I5OQA5.js');
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
7
7
  const hostConfig = _optionalChain([props, 'access', _ => _.options, 'optionalAccess', _2 => _2.hostConfig]);
8
- return (await _chunkZXQHFWQHjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
8
+ return (await _W2I5OQA5js.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
9
9
  }
10
10
  function clearApiCache(api) {
11
- void _chunkZXQHFWQHjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
11
+ void _W2I5OQA5js.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
12
12
  }
13
13
 
14
14