@qlik/api 0.0.14 → 0.0.16

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 (102) hide show
  1. package/api-keys.js +10 -10
  2. package/api-keys.mjs +2 -2
  3. package/apps.d.mts +20 -10
  4. package/apps.d.ts +20 -10
  5. package/apps.js +46 -46
  6. package/apps.mjs +2 -2
  7. package/audits.d.mts +0 -1
  8. package/audits.d.ts +0 -1
  9. package/audits.js +9 -9
  10. package/audits.mjs +2 -2
  11. package/auth.js +3 -3
  12. package/auth.mjs +2 -2
  13. package/automations.js +21 -21
  14. package/automations.mjs +2 -2
  15. package/brands.js +15 -15
  16. package/brands.mjs +2 -2
  17. package/chunks/{SEXEAWEC.js → 2YWCEGTS.js} +3 -3
  18. package/chunks/34ZKUFEA.js +41 -0
  19. package/chunks/{VCYQUP4Y.mjs → 3YV6X7S6.mjs} +1 -1
  20. package/chunks/{ICTODCOL.js → 4WHZ4EIW.js} +2 -2
  21. package/chunks/{M7UTYYGM.mjs → 6AD3HYSF.mjs} +1 -1
  22. package/chunks/{3INB42LZ.mjs → 6WX5AGKQ.mjs} +1 -1
  23. package/chunks/{JYRPLJUL.js → B4VPD3ZT.js} +11 -11
  24. package/chunks/BM4OSDRZ.js +17 -0
  25. package/chunks/{JZOX7DKF.mjs → BYD63JCG.mjs} +43 -41
  26. package/chunks/{H32EGPZN.mjs → DCXUEDOW.mjs} +1 -1
  27. package/chunks/{X474LM7J.mjs → EHAANYDL.mjs} +3 -3
  28. package/chunks/{3SBSHHRV.mjs → HHOVS7QC.mjs} +5 -5
  29. package/chunks/{IJNQAGVX.mjs → HOCTJESP.mjs} +70 -4
  30. package/chunks/{HHMKNG2O.js → MTAQE4WC.js} +75 -9
  31. package/chunks/{CX7TY2FM.mjs → O4EAKEIN.mjs} +1 -1
  32. package/chunks/{WM2VCN4G.js → OPRGGO4C.js} +1 -1
  33. package/chunks/{SMKHFJJF.js → PLOSYUG2.js} +4 -4
  34. package/chunks/{J3ZWASEK.mjs → UKVTBYP6.mjs} +1 -1
  35. package/chunks/{TH75GYUY.js → URIW2U5M.js} +3 -3
  36. package/chunks/{6KX2ETIK.js → WOYJLK4Y.js} +43 -41
  37. package/collections.js +14 -14
  38. package/collections.mjs +2 -2
  39. package/csp-origins.js +9 -9
  40. package/csp-origins.mjs +2 -2
  41. package/data-assets.js +8 -8
  42. package/data-assets.mjs +2 -2
  43. package/data-connections.d.mts +97 -61
  44. package/data-connections.d.ts +97 -61
  45. package/data-connections.js +12 -12
  46. package/data-connections.mjs +2 -2
  47. package/data-credentials.d.mts +3 -2
  48. package/data-credentials.d.ts +3 -2
  49. package/data-credentials.js +7 -7
  50. package/data-credentials.mjs +2 -2
  51. package/data-files.js +15 -15
  52. package/data-files.mjs +2 -2
  53. package/docs/examples/open-without-data.md +40 -0
  54. package/docs/examples.md +1 -0
  55. package/docs/qix.md +21 -2
  56. package/extensions.js +10 -10
  57. package/extensions.mjs +2 -2
  58. package/glossaries.js +27 -27
  59. package/glossaries.mjs +2 -2
  60. package/groups.js +11 -11
  61. package/groups.mjs +2 -2
  62. package/identity-providers.js +11 -11
  63. package/identity-providers.mjs +2 -2
  64. package/index.js +8 -8
  65. package/index.mjs +4 -4
  66. package/items.js +11 -11
  67. package/items.mjs +2 -2
  68. package/licenses.js +12 -12
  69. package/licenses.mjs +2 -2
  70. package/package.json +3 -3
  71. package/qix.d.mts +6 -1
  72. package/qix.d.ts +6 -1
  73. package/qix.js +3 -3
  74. package/qix.mjs +2 -2
  75. package/quotas.js +5 -5
  76. package/quotas.mjs +2 -2
  77. package/reload-tasks.js +8 -8
  78. package/reload-tasks.mjs +2 -2
  79. package/reloads.js +7 -7
  80. package/reloads.mjs +2 -2
  81. package/roles.js +5 -5
  82. package/roles.mjs +2 -2
  83. package/spaces.js +15 -15
  84. package/spaces.mjs +2 -2
  85. package/temp-contents.js +6 -6
  86. package/temp-contents.mjs +2 -2
  87. package/tenants.js +9 -9
  88. package/tenants.mjs +2 -2
  89. package/themes.js +10 -10
  90. package/themes.mjs +2 -2
  91. package/transports.js +9 -9
  92. package/transports.mjs +2 -2
  93. package/users.js +13 -13
  94. package/users.mjs +2 -2
  95. package/web-integrations.js +8 -8
  96. package/web-integrations.mjs +2 -2
  97. package/web-notifications.js +9 -9
  98. package/web-notifications.mjs +2 -2
  99. package/webhooks.js +13 -13
  100. package/webhooks.mjs +2 -2
  101. package/chunks/GMCMKY65.js +0 -41
  102. package/chunks/ME4LNBI3.js +0 -17
package/apps.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/apps.ts
package/audits.d.mts CHANGED
@@ -86,7 +86,6 @@ type GetSettingsResult = {
86
86
  };
87
87
  /**
88
88
  * @deprecated
89
- *
90
89
  */
91
90
  type Href = {
92
91
  /** @deprecated */
package/audits.d.ts CHANGED
@@ -86,7 +86,6 @@ type GetSettingsResult = {
86
86
  };
87
87
  /**
88
88
  * @deprecated
89
- *
90
89
  */
91
90
  type Href = {
92
91
  /** @deprecated */
package/audits.js CHANGED
@@ -1,46 +1,46 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/audits.ts
9
- var getAudits = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
9
+ var getAudits = async (query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
15
+ var getArchivedAudits = async (query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
21
+ var getAuditsSettings = async (options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
26
+ var getAuditSources = async (options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
31
+ var getAuditTypes = async (options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "audits", {
36
+ var getAudit = async (id, options) => _URIW2U5Mjs.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 _TH75GYUYjs.clearApiCache.call(void 0, "audits");
43
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "audits");
44
44
  }
45
45
  var auditsExport = {
46
46
  getAudits,
package/audits.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/audits.ts
package/auth.js CHANGED
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _SMKHFJJFjs = require('./chunks/SMKHFJJF.js');
7
- require('./chunks/SEXEAWEC.js');
6
+ var _PLOSYUG2js = require('./chunks/PLOSYUG2.js');
7
+ require('./chunks/2YWCEGTS.js');
8
8
  require('./chunks/4HB3TAEO.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.default = _SMKHFJJFjs.auth_default; exports.logout = _SMKHFJJFjs.logout; exports.registerAuthModule = _SMKHFJJFjs.registerAuthModule; exports.setDefaultHostConfig = _SMKHFJJFjs.setDefaultHostConfig;
14
+ exports.default = _PLOSYUG2js.auth_default; exports.logout = _PLOSYUG2js.logout; exports.registerAuthModule = _PLOSYUG2js.registerAuthModule; exports.setDefaultHostConfig = _PLOSYUG2js.setDefaultHostConfig;
package/auth.mjs CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  logout,
4
4
  registerAuthModule,
5
5
  setDefaultHostConfig
6
- } from "./chunks/M7UTYYGM.mjs";
7
- import "./chunks/X474LM7J.mjs";
6
+ } from "./chunks/6AD3HYSF.mjs";
7
+ import "./chunks/EHAANYDL.mjs";
8
8
  import "./chunks/VSY5YIQY.mjs";
9
9
  export {
10
10
  auth_default as default,
package/automations.js CHANGED
@@ -1,55 +1,55 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/automations.ts
9
- var getAutomations = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
9
+ var getAutomations = async (query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
15
+ var createAutomation = async (body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
22
+ var getAutomationsSettings = async (options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
27
+ var updateAutomationsSettings = async (body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
34
+ var getAutomationsUsageMetrics = async (query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
40
+ var deleteAutomation = async (id, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
46
+ var getAutomation = async (id, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
52
+ var updateAutomation = async (id, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call
57
57
  contentType: "application/json",
58
58
  options
59
59
  });
60
- var copyAutomation = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
60
+ var copyAutomation = async (id, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(v
65
65
  contentType: "application/json",
66
66
  options
67
67
  });
68
- var disableAutomation = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
68
+ var disableAutomation = async (id, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
74
+ var enableAutomation = async (id, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
80
+ var moveAutomation = async (id, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(v
85
85
  contentType: "application/json",
86
86
  options
87
87
  });
88
- var getAutomationRuns = async (id, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
88
+ var getAutomationRuns = async (id, query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
95
+ var queueAutomationRun = async (id, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.ca
100
100
  contentType: "application/json",
101
101
  options
102
102
  });
103
- var getAutomationRun = async (id, runId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
103
+ var getAutomationRun = async (id, runId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
109
+ var getAutomationRunDetails = async (id, runId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
115
+ var retryAutomationRun = async (id, runId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "automations", {
121
+ var stopAutomationRun = async (id, runId, options) => _URIW2U5Mjs.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 _TH75GYUYjs.clearApiCache.call(void 0, "automations");
128
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "automations");
129
129
  }
130
130
  var automationsExport = {
131
131
  getAutomations,
package/automations.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/automations.ts
package/brands.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/brands.ts
9
- var getBrands = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
9
+ var getBrands = async (query, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
15
+ var createBrand = async (body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
22
+ var getActiveBrand = async (options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
27
+ var deleteBrand = async (brandId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
33
+ var getBrand = async (brandId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
39
+ var patchBrand = async (brandId, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var activateBrand = async (brandId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
47
+ var activateBrand = async (brandId, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
54
+ var deactivateBrand = async (brandId, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
61
+ var deleteBrandFile = async (brandId, brandFileId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
67
+ var getBrandFile = async (brandId, brandFileId, options) => _URIW2U5Mjs.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) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
73
+ var createBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs
78
78
  contentType: "multipart/form-data",
79
79
  options
80
80
  });
81
- var updateBrandFile = async (brandId, brandFileId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "brands", {
81
+ var updateBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs.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) => _TH75GYUYjs
87
87
  options
88
88
  });
89
89
  function clearCache() {
90
- return _TH75GYUYjs.clearApiCache.call(void 0, "brands");
90
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "brands");
91
91
  }
92
92
  var brandsExport = {
93
93
  getBrands,
package/brands.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/brands.ts
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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; }// src/public/public-runtime-modules.ts
2
2
  function getAuthRuntimeModule(hostConfig) {
3
3
  const isNode = !!_optionalChain([globalThis, 'access', _ => _.process, 'optionalAccess', _2 => _2.argv]);
4
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./GMCMKY65.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./34ZKUFEA.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./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 = !!_optionalChain([globalThis, 'access', _3 => _3.process, 'optionalAccess', _4 => _4.argv]);
9
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./JYRPLJUL.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./B4VPD3ZT.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./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 = !!_optionalChain([globalThis, 'access', _5 => _5.process, 'optionalAccess', _6 => _6.argv]);
14
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./ME4LNBI3.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./BM4OSDRZ.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./OPRGGO4C.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
 
@@ -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 _WOYJLK4Yjs = require('./WOYJLK4Y.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 = _WOYJLK4Yjs.AuthorizationError; exports.InvalidAuthTypeError = _WOYJLK4Yjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _WOYJLK4Yjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _WOYJLK4Yjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _WOYJLK4Yjs.checkForCrossDomainRequest; exports.default = _WOYJLK4Yjs.auth_default; exports.getRestCallAuthParams = _WOYJLK4Yjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _WOYJLK4Yjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _WOYJLK4Yjs.getWebSocketAuthParams; exports.handleAuthenticationError = _WOYJLK4Yjs.handleAuthenticationError; exports.isHostCrossOrigin = _WOYJLK4Yjs.isHostCrossOrigin; exports.isWindows = _WOYJLK4Yjs.isWindows; exports.logout = _WOYJLK4Yjs.logout; exports.registerAuthModule = _WOYJLK4Yjs.registerAuthModule; exports.setDefaultHostConfig = _WOYJLK4Yjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _WOYJLK4Yjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _WOYJLK4Yjs.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _WOYJLK4Yjs.toValidWebsocketLocationUrl;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./X474LM7J.mjs";
3
+ } from "./EHAANYDL.mjs";
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _SEXEAWECjs = require('./SEXEAWEC.js');
3
+ var _2YWCEGTSjs = require('./2YWCEGTS.js');
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
7
- const appSessionPromise = _SEXEAWECjs.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
7
+ const appSessionPromise = _2YWCEGTSjs.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 "./X474LM7J.mjs";
3
+ } from "./EHAANYDL.mjs";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -17,7 +17,7 @@ import {
17
17
  toValidEnigmaLocationUrl,
18
18
  toValidLocationUrl,
19
19
  toValidWebsocketLocationUrl
20
- } from "./JZOX7DKF.mjs";
20
+ } from "./BYD63JCG.mjs";
21
21
  import "./VSY5YIQY.mjs";
22
22
  export {
23
23
  AuthorizationError,
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _6KX2ETIKjs = require('./6KX2ETIK.js');
7
+ var _WOYJLK4Yjs = require('./WOYJLK4Y.js');
8
8
  require('./4HB3TAEO.js');
9
9
 
10
10
  // src/qix/session/shared-sessions.ts
@@ -35,9 +35,9 @@ async function resumeAll() {
35
35
  }
36
36
  var initialActions = {};
37
37
  var sharedSessions = {};
38
- function toGlobalAppSessionId({ appId, identity, hostConfig }) {
39
- const locationUrl = _6KX2ETIKjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
40
- return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
38
+ function toGlobalAppSessionId({ appId, identity, hostConfig, withoutData }) {
39
+ const locationUrl = _WOYJLK4Yjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
40
+ return (identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId) + (withoutData ? "/withoutData" : "");
41
41
  }
42
42
  async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
43
43
  for (const initialAction of initialActionsForApp) {
@@ -83,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
83
83
  return authSuggestedInWebsocket;
84
84
  }
85
85
  async function createAndSetupEnigmaSession(props, canRetry) {
86
- const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./HHMKNG2O.js")));
86
+ const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./MTAQE4WC.js")));
87
87
  const session = await createEnigmaSession(props);
88
88
  setupSessionListeners(session, props);
89
89
  let global;
90
- if (await _6KX2ETIKjs.isWindows.call(void 0, props.hostConfig)) {
90
+ if (await _WOYJLK4Yjs.isWindows.call(void 0, props.hostConfig)) {
91
91
  const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
92
92
  global = await session.open();
93
93
  const loginInfo = await loginInfoPromise;
94
94
  if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
95
- const action = await _6KX2ETIKjs.handleAuthenticationError.call(void 0, {
95
+ const action = await _WOYJLK4Yjs.handleAuthenticationError.call(void 0, {
96
96
  headers: new Headers(),
97
97
  status: 101,
98
98
  canRetry,
@@ -296,7 +296,7 @@ function createSharedSession(props) {
296
296
  const global2 = await sharedSession.globalPromise;
297
297
  return global2.createSessionApp();
298
298
  } else {
299
- return global.openDoc(props.appId, "", "", "", false).then((doc) => {
299
+ return global.openDoc(props.appId, "", "", "", !!props.withoutData).then((doc) => {
300
300
  if (!doc) {
301
301
  return Promise.reject(new Error("Doc could not be opened"));
302
302
  }
@@ -389,8 +389,8 @@ async function checkConnectivity(hostConfig) {
389
389
  timeoutMs: 2e3,
390
390
  noCache: true
391
391
  };
392
- const fetchRoot = _6KX2ETIKjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
- const fetchMe = _6KX2ETIKjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
392
+ const fetchRoot = _WOYJLK4Yjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
+ const fetchMe = _WOYJLK4Yjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
394
394
  await Promise.all([fetchRoot, fetchMe]);
395
395
  return Promise.resolve(status);
396
396
  }
@@ -435,7 +435,7 @@ function getOrCreateSharedSession(props) {
435
435
  // src/qix/qix-functions.ts
436
436
  async function createSessionApp() {
437
437
  let sharedSession;
438
- if ((await _6KX2ETIKjs.getPlatform.call(void 0, )).isCloud) {
438
+ if ((await _WOYJLK4Yjs.getPlatform.call(void 0, )).isCloud) {
439
439
  sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
440
440
  } else {
441
441
  sharedSession = await getOrCreateSharedSession({
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _WOYJLK4Yjs = require('./WOYJLK4Y.js');
9
+ require('./4HB3TAEO.js');
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ exports.EncodingError = _WOYJLK4Yjs.EncodingError; exports.InvokeFetchError = _WOYJLK4Yjs.InvokeFetchError; exports.clearApiCache = _WOYJLK4Yjs.clearApiCache; exports.default = _WOYJLK4Yjs.invoke_fetch_default; exports.invokeFetch = _WOYJLK4Yjs.invokeFetch; exports.parseFetchResponse = _WOYJLK4Yjs.parseFetchResponse;