@qlik/api 0.0.1 → 0.0.2

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 (126) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +13 -13
  5. package/api-keys.d.ts +13 -13
  6. package/api-keys.js +13 -13
  7. package/api-keys.mjs +8 -8
  8. package/apps.d.mts +104 -19
  9. package/apps.d.ts +104 -19
  10. package/apps.js +53 -44
  11. package/apps.mjs +20 -11
  12. package/audits.d.mts +8 -8
  13. package/audits.d.ts +8 -8
  14. package/audits.js +11 -11
  15. package/audits.mjs +6 -6
  16. package/auth-OU7OTB7Y.js +38 -0
  17. package/auth-RTFXVSSK.mjs +38 -0
  18. package/auth.js +3 -3
  19. package/auth.mjs +2 -2
  20. package/automations.d.mts +20 -20
  21. package/automations.d.ts +20 -20
  22. package/automations.js +25 -25
  23. package/automations.mjs +11 -11
  24. package/brands.js +15 -15
  25. package/brands.mjs +2 -2
  26. package/chunk-6JERR27K.js +17 -0
  27. package/chunk-7REWEWCX.mjs +21 -0
  28. package/chunk-E42WUFCK.mjs +57 -0
  29. package/chunk-H7SAZYEE.js +21 -0
  30. package/chunk-KMMWJZHM.mjs +25 -0
  31. package/chunk-M7F4JFOB.js +57 -0
  32. package/chunk-NALKLKZS.mjs +1342 -0
  33. package/chunk-QN23TPIE.js +25 -0
  34. package/chunk-RMKP2BDX.js +1342 -0
  35. package/chunk-W4J34XGA.mjs +17 -0
  36. package/collections.d.mts +1 -1
  37. package/collections.d.ts +1 -1
  38. package/collections.js +13 -13
  39. package/collections.mjs +2 -2
  40. package/csp-origins.js +9 -9
  41. package/csp-origins.mjs +2 -2
  42. package/data-assets.js +8 -8
  43. package/data-assets.mjs +2 -2
  44. package/data-connections.d.mts +2 -0
  45. package/data-connections.d.ts +2 -0
  46. package/data-connections.js +12 -12
  47. package/data-connections.mjs +2 -2
  48. package/data-credentials.d.mts +2 -0
  49. package/data-credentials.d.ts +2 -0
  50. package/data-credentials.js +7 -7
  51. package/data-credentials.mjs +2 -2
  52. package/data-files.d.mts +16 -16
  53. package/data-files.d.ts +16 -16
  54. package/data-files.js +18 -18
  55. package/data-files.mjs +8 -8
  56. package/enigma-session-HGXKZJVO.mjs +10200 -0
  57. package/enigma-session-VPPJMBEM.js +10200 -0
  58. package/esm-M5ZBFTVD.mjs +65 -0
  59. package/esm-RX7B2TUN.js +65 -0
  60. package/extensions.js +10 -10
  61. package/extensions.mjs +2 -2
  62. package/glossaries.js +27 -27
  63. package/glossaries.mjs +2 -2
  64. package/groups.d.mts +13 -13
  65. package/groups.d.ts +13 -13
  66. package/groups.js +14 -14
  67. package/groups.mjs +8 -8
  68. package/identity-providers.d.mts +7 -7
  69. package/identity-providers.d.ts +7 -7
  70. package/identity-providers.js +13 -13
  71. package/identity-providers.mjs +5 -5
  72. package/index.js +27 -23
  73. package/index.mjs +23 -19
  74. package/invoke-fetch-7PKPQ3FD.js +14 -0
  75. package/invoke-fetch-IMO4AMA3.mjs +14 -0
  76. package/items.d.mts +19 -16
  77. package/items.d.ts +19 -16
  78. package/items.js +14 -14
  79. package/items.mjs +8 -8
  80. package/licenses.d.mts +2 -0
  81. package/licenses.d.ts +2 -0
  82. package/licenses.js +12 -12
  83. package/licenses.mjs +2 -2
  84. package/package.json +6 -17
  85. package/qix-57WD2ZE6.mjs +573 -0
  86. package/qix-K22VHZRH.js +573 -0
  87. package/qix.d.mts +1066 -1017
  88. package/qix.d.ts +1066 -1017
  89. package/qix.js +3 -3
  90. package/qix.mjs +2 -2
  91. package/quotas.js +5 -5
  92. package/quotas.mjs +2 -2
  93. package/reload-tasks.d.mts +2 -0
  94. package/reload-tasks.d.ts +2 -0
  95. package/reload-tasks.js +8 -8
  96. package/reload-tasks.mjs +2 -2
  97. package/reloads.d.mts +4 -2
  98. package/reloads.d.ts +4 -2
  99. package/reloads.js +7 -7
  100. package/reloads.mjs +2 -2
  101. package/roles.js +5 -5
  102. package/roles.mjs +2 -2
  103. package/spaces.d.mts +9 -26
  104. package/spaces.d.ts +9 -26
  105. package/spaces.js +15 -15
  106. package/spaces.mjs +2 -2
  107. package/temp-contents.d.mts +1 -67
  108. package/temp-contents.d.ts +1 -67
  109. package/temp-contents.js +8 -29
  110. package/temp-contents.mjs +3 -24
  111. package/tenants.js +9 -9
  112. package/tenants.mjs +2 -2
  113. package/themes.js +10 -10
  114. package/themes.mjs +2 -2
  115. package/transports.js +9 -9
  116. package/transports.mjs +2 -2
  117. package/users.js +13 -13
  118. package/users.mjs +2 -2
  119. package/web-integrations.js +8 -8
  120. package/web-integrations.mjs +2 -2
  121. package/web-notifications.js +9 -9
  122. package/web-notifications.mjs +2 -2
  123. package/webhooks.d.mts +2 -2
  124. package/webhooks.d.ts +2 -2
  125. package/webhooks.js +13 -13
  126. package/webhooks.mjs +2 -2
@@ -0,0 +1,65 @@
1
+ // node_modules/.pnpm/@qlik+runtime-module-loader@0.2.2/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
2
+ window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
3
+ window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
4
+ window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
5
+ });
6
+ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateResolvers.qlikMainPromise || (async () => {
7
+ if (window.QlikMain) {
8
+ return window.QlikMain;
9
+ }
10
+ const url = await window.__qlikMainPrivateResolvers.mainUrlPromise;
11
+ return new Promise((resolve, reject) => {
12
+ if (window.QlikMain) {
13
+ resolve(window.QlikMain);
14
+ }
15
+ const script = window.document.createElement("script");
16
+ script.src = url;
17
+ script.addEventListener("error", (err) => {
18
+ reject(err);
19
+ });
20
+ script.addEventListener("load", () => {
21
+ if (window.QlikMain) {
22
+ resolve(window.QlikMain);
23
+ }
24
+ });
25
+ window.document.head.appendChild(script);
26
+ });
27
+ })();
28
+ function provideHostConfigForMainJsUrl(hostConfig) {
29
+ const trailingSlashes = /\/+$/;
30
+ function toMainJsUrl(hc) {
31
+ const url = hc?.embedRuntimeUrl || hc?.url || hc?.host;
32
+ if (!url) {
33
+ return void 0;
34
+ }
35
+ let locationUrl;
36
+ if (url.toLowerCase().startsWith("https://") || url.toLowerCase().startsWith("http://")) {
37
+ locationUrl = url;
38
+ } else {
39
+ locationUrl = `https://${url}`;
40
+ }
41
+ locationUrl = locationUrl.replace(trailingSlashes, "");
42
+ return `${locationUrl}/main.js`;
43
+ }
44
+ const potentialMainJsUrl = toMainJsUrl(hostConfig);
45
+ if (potentialMainJsUrl) {
46
+ window.__qlikMainPrivateResolvers.resolveMainJsUrl(potentialMainJsUrl);
47
+ }
48
+ }
49
+ async function importRuntimeModule(name, hostConfig) {
50
+ if (hostConfig?.runtimeModuleMocks?.[name]) {
51
+ return hostConfig?.runtimeModuleMocks?.[name];
52
+ }
53
+ provideHostConfigForMainJsUrl(hostConfig);
54
+ return importFromCdn(name);
55
+ }
56
+ async function importUnsupportedAndUnstableRuntimeModule(name) {
57
+ return importFromCdn(name);
58
+ }
59
+ async function importFromCdn(name) {
60
+ return (await window.__qlikMainPrivateResolvers.qlikMainPromise).import(name);
61
+ }
62
+ export {
63
+ importRuntimeModule,
64
+ importUnsupportedAndUnstableRuntimeModule
65
+ };
@@ -0,0 +1,65 @@
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; }// node_modules/.pnpm/@qlik+runtime-module-loader@0.2.2/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
2
+ window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
3
+ window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
4
+ window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
5
+ });
6
+ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateResolvers.qlikMainPromise || (async () => {
7
+ if (window.QlikMain) {
8
+ return window.QlikMain;
9
+ }
10
+ const url = await window.__qlikMainPrivateResolvers.mainUrlPromise;
11
+ return new Promise((resolve, reject) => {
12
+ if (window.QlikMain) {
13
+ resolve(window.QlikMain);
14
+ }
15
+ const script = window.document.createElement("script");
16
+ script.src = url;
17
+ script.addEventListener("error", (err) => {
18
+ reject(err);
19
+ });
20
+ script.addEventListener("load", () => {
21
+ if (window.QlikMain) {
22
+ resolve(window.QlikMain);
23
+ }
24
+ });
25
+ window.document.head.appendChild(script);
26
+ });
27
+ })();
28
+ function provideHostConfigForMainJsUrl(hostConfig) {
29
+ const trailingSlashes = /\/+$/;
30
+ function toMainJsUrl(hc) {
31
+ const url = _optionalChain([hc, 'optionalAccess', _ => _.embedRuntimeUrl]) || _optionalChain([hc, 'optionalAccess', _2 => _2.url]) || _optionalChain([hc, 'optionalAccess', _3 => _3.host]);
32
+ if (!url) {
33
+ return void 0;
34
+ }
35
+ let locationUrl;
36
+ if (url.toLowerCase().startsWith("https://") || url.toLowerCase().startsWith("http://")) {
37
+ locationUrl = url;
38
+ } else {
39
+ locationUrl = `https://${url}`;
40
+ }
41
+ locationUrl = locationUrl.replace(trailingSlashes, "");
42
+ return `${locationUrl}/main.js`;
43
+ }
44
+ const potentialMainJsUrl = toMainJsUrl(hostConfig);
45
+ if (potentialMainJsUrl) {
46
+ window.__qlikMainPrivateResolvers.resolveMainJsUrl(potentialMainJsUrl);
47
+ }
48
+ }
49
+ async function importRuntimeModule(name, hostConfig) {
50
+ if (_optionalChain([hostConfig, 'optionalAccess', _4 => _4.runtimeModuleMocks, 'optionalAccess', _5 => _5[name]])) {
51
+ return _optionalChain([hostConfig, 'optionalAccess', _6 => _6.runtimeModuleMocks, 'optionalAccess', _7 => _7[name]]);
52
+ }
53
+ provideHostConfigForMainJsUrl(hostConfig);
54
+ return importFromCdn(name);
55
+ }
56
+ async function importUnsupportedAndUnstableRuntimeModule(name) {
57
+ return importFromCdn(name);
58
+ }
59
+ async function importFromCdn(name) {
60
+ return (await window.__qlikMainPrivateResolvers.qlikMainPromise).import(name);
61
+ }
62
+
63
+
64
+
65
+ exports.importRuntimeModule = importRuntimeModule; exports.importUnsupportedAndUnstableRuntimeModule = importUnsupportedAndUnstableRuntimeModule;
package/extensions.js CHANGED
@@ -1,54 +1,54 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
4
+ var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
+ require('./chunk-H7SAZYEE.js');
6
6
 
7
7
  // src/public/rest/extensions.ts
8
- var getExtensions = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
8
+ var getExtensions = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/extensions",
11
11
  options
12
12
  });
13
- var uploadExtension = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
13
+ var uploadExtension = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
14
14
  method: "post",
15
15
  pathTemplate: "/api/v1/extensions",
16
16
  body,
17
17
  options
18
18
  });
19
- var deleteExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
19
+ var deleteExtension = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
20
20
  method: "delete",
21
21
  pathTemplate: "/api/v1/extensions/{id}",
22
22
  pathVariables: { id },
23
23
  options
24
24
  });
25
- var getExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
25
+ var getExtension = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
26
26
  method: "get",
27
27
  pathTemplate: "/api/v1/extensions/{id}",
28
28
  pathVariables: { id },
29
29
  options
30
30
  });
31
- var patchExtension = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
31
+ var patchExtension = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
32
32
  method: "patch",
33
33
  pathTemplate: "/api/v1/extensions/{id}",
34
34
  pathVariables: { id },
35
35
  body,
36
36
  options
37
37
  });
38
- var downloadExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
38
+ var downloadExtension = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
39
39
  method: "get",
40
40
  pathTemplate: "/api/v1/extensions/{id}/file",
41
41
  pathVariables: { id },
42
42
  options
43
43
  });
44
- var downloadFileFromExtension = async (id, filepath, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
44
+ var downloadFileFromExtension = async (id, filepath, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "extensions", {
45
45
  method: "get",
46
46
  pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
47
47
  pathVariables: { id, filepath },
48
48
  options
49
49
  });
50
50
  function clearCache() {
51
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "extensions");
51
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "extensions");
52
52
  }
53
53
  var extensionsExport = {
54
54
  getExtensions,
package/extensions.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-W4J34XGA.mjs";
5
+ import "./chunk-7REWEWCX.mjs";
6
6
 
7
7
  // src/public/rest/extensions.ts
8
8
  var getExtensions = async (options) => invokeFetch("extensions", {
package/glossaries.js CHANGED
@@ -1,163 +1,163 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
4
+ var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
+ require('./chunk-H7SAZYEE.js');
6
6
 
7
7
  // src/public/rest/glossaries.ts
8
- var getGlossaries = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
8
+ var getGlossaries = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/glossaries",
11
11
  query,
12
12
  options
13
13
  });
14
- var createGlossary = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
14
+ var createGlossary = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/glossaries",
17
17
  body,
18
18
  options
19
19
  });
20
- var importGlossary = async (query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
20
+ var importGlossary = async (query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
21
21
  method: "post",
22
22
  pathTemplate: "/api/v1/glossaries/actions/import",
23
23
  query,
24
24
  body,
25
25
  options
26
26
  });
27
- var deleteGlossary = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
27
+ var deleteGlossary = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/glossaries/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var getGlossary = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
33
+ var getGlossary = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/glossaries/{id}",
36
36
  pathVariables: { id },
37
37
  options
38
38
  });
39
- var patchGlossary = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
39
+ var patchGlossary = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/glossaries/{id}",
42
42
  pathVariables: { id },
43
43
  body,
44
44
  options
45
45
  });
46
- var updateGlossary = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
46
+ var updateGlossary = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
47
47
  method: "put",
48
48
  pathTemplate: "/api/v1/glossaries/{id}",
49
49
  pathVariables: { id },
50
50
  body,
51
51
  options
52
52
  });
53
- var exportGlossary = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
53
+ var exportGlossary = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
54
54
  method: "get",
55
55
  pathTemplate: "/api/v1/glossaries/{id}/actions/export",
56
56
  pathVariables: { id },
57
57
  options
58
58
  });
59
- var getGlossaryCategories = async (id, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
59
+ var getGlossaryCategories = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
60
60
  method: "get",
61
61
  pathTemplate: "/api/v1/glossaries/{id}/categories",
62
62
  pathVariables: { id },
63
63
  query,
64
64
  options
65
65
  });
66
- var createGlossaryCategory = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
66
+ var createGlossaryCategory = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
67
67
  method: "post",
68
68
  pathTemplate: "/api/v1/glossaries/{id}/categories",
69
69
  pathVariables: { id },
70
70
  body,
71
71
  options
72
72
  });
73
- var deleteGlossaryCategory = async (id, categoryId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
73
+ var deleteGlossaryCategory = async (id, categoryId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
74
74
  method: "delete",
75
75
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
76
76
  pathVariables: { id, categoryId },
77
77
  options
78
78
  });
79
- var getGlossaryCategory = async (id, categoryId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
79
+ var getGlossaryCategory = async (id, categoryId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
80
80
  method: "get",
81
81
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
82
82
  pathVariables: { id, categoryId },
83
83
  options
84
84
  });
85
- var patchGlossaryCategory = async (id, categoryId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
85
+ var patchGlossaryCategory = async (id, categoryId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
86
86
  method: "patch",
87
87
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
88
88
  pathVariables: { id, categoryId },
89
89
  body,
90
90
  options
91
91
  });
92
- var updateGlossaryCategory = async (id, categoryId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
92
+ var updateGlossaryCategory = async (id, categoryId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
93
93
  method: "put",
94
94
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
95
95
  pathVariables: { id, categoryId },
96
96
  body,
97
97
  options
98
98
  });
99
- var getGlossaryTerms = async (id, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
99
+ var getGlossaryTerms = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
100
100
  method: "get",
101
101
  pathTemplate: "/api/v1/glossaries/{id}/terms",
102
102
  pathVariables: { id },
103
103
  query,
104
104
  options
105
105
  });
106
- var createGlossaryTerm = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
106
+ var createGlossaryTerm = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
107
107
  method: "post",
108
108
  pathTemplate: "/api/v1/glossaries/{id}/terms",
109
109
  pathVariables: { id },
110
110
  body,
111
111
  options
112
112
  });
113
- var deleteGlossaryTerm = async (id, termId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
113
+ var deleteGlossaryTerm = async (id, termId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
114
114
  method: "delete",
115
115
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
116
116
  pathVariables: { id, termId },
117
117
  options
118
118
  });
119
- var getGlossaryTerm = async (id, termId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
119
+ var getGlossaryTerm = async (id, termId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
120
120
  method: "get",
121
121
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
122
122
  pathVariables: { id, termId },
123
123
  options
124
124
  });
125
- var patchGlossaryTerm = async (id, termId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
125
+ var patchGlossaryTerm = async (id, termId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
126
126
  method: "patch",
127
127
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
128
128
  pathVariables: { id, termId },
129
129
  body,
130
130
  options
131
131
  });
132
- var updateGlossaryTerm = async (id, termId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
132
+ var updateGlossaryTerm = async (id, termId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
133
133
  method: "put",
134
134
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
135
135
  pathVariables: { id, termId },
136
136
  body,
137
137
  options
138
138
  });
139
- var changeGlossaryTermStatus = async (id, termId, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
139
+ var changeGlossaryTermStatus = async (id, termId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
140
140
  method: "post",
141
141
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
142
142
  pathVariables: { id, termId },
143
143
  query,
144
144
  options
145
145
  });
146
- var getGlossaryTermLinks = async (id, termId, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
146
+ var getGlossaryTermLinks = async (id, termId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
147
147
  method: "get",
148
148
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
149
149
  pathVariables: { id, termId },
150
150
  query,
151
151
  options
152
152
  });
153
- var createGlossaryTermLink = async (id, termId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
153
+ var createGlossaryTermLink = async (id, termId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
154
154
  method: "post",
155
155
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
156
156
  pathVariables: { id, termId },
157
157
  body,
158
158
  options
159
159
  });
160
- var getGlossaryTermRevisions = async (id, termId, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "glossaries", {
160
+ var getGlossaryTermRevisions = async (id, termId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "glossaries", {
161
161
  method: "get",
162
162
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
163
163
  pathVariables: { id, termId },
@@ -165,7 +165,7 @@ var getGlossaryTermRevisions = async (id, termId, query, options) => _chunkOULT3
165
165
  options
166
166
  });
167
167
  function clearCache() {
168
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "glossaries");
168
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "glossaries");
169
169
  }
170
170
  var glossariesExport = {
171
171
  getGlossaries,
package/glossaries.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-W4J34XGA.mjs";
5
+ import "./chunk-7REWEWCX.mjs";
6
6
 
7
7
  // src/public/rest/glossaries.ts
8
8
  var getGlossaries = async (query, options) => invokeFetch("glossaries", {
package/groups.d.mts CHANGED
@@ -234,15 +234,15 @@ type FilterGroupsHttpError = {
234
234
  };
235
235
  /**
236
236
  * Returns the active tenant's group settings.
237
- * @throws GetGroupSettingsHttpError
237
+ * @throws GetGroupsSettingsHttpError
238
238
  */
239
- declare const getGroupSettings: (options?: ApiCallOptions) => Promise<GetGroupSettingsHttpResponse>;
240
- type GetGroupSettingsHttpResponse = {
239
+ declare const getGroupsSettings: (options?: ApiCallOptions) => Promise<GetGroupsSettingsHttpResponse>;
240
+ type GetGroupsSettingsHttpResponse = {
241
241
  data: GroupSettings;
242
242
  headers: Headers;
243
243
  status: number;
244
244
  };
245
- type GetGroupSettingsHttpError = {
245
+ type GetGroupsSettingsHttpError = {
246
246
  data: Errors;
247
247
  headers: Headers;
248
248
  status: number;
@@ -250,15 +250,15 @@ type GetGroupSettingsHttpError = {
250
250
  /**
251
251
  * Update group settings
252
252
  * @param body an object with the body content
253
- * @throws PatchGroupSettingsHttpError
253
+ * @throws PatchGroupsSettingsHttpError
254
254
  */
255
- declare const patchGroupSettings: (body: SettingsPatchSchema, options?: ApiCallOptions) => Promise<PatchGroupSettingsHttpResponse>;
256
- type PatchGroupSettingsHttpResponse = {
255
+ declare const patchGroupsSettings: (body: SettingsPatchSchema, options?: ApiCallOptions) => Promise<PatchGroupsSettingsHttpResponse>;
256
+ type PatchGroupsSettingsHttpResponse = {
257
257
  data: void;
258
258
  headers: Headers;
259
259
  status: number;
260
260
  };
261
- type PatchGroupSettingsHttpError = {
261
+ type PatchGroupsSettingsHttpError = {
262
262
  data: Errors;
263
263
  headers: Headers;
264
264
  status: number;
@@ -338,15 +338,15 @@ interface GroupsAPI {
338
338
  filterGroups: typeof filterGroups;
339
339
  /**
340
340
  * Returns the active tenant's group settings.
341
- * @throws GetGroupSettingsHttpError
341
+ * @throws GetGroupsSettingsHttpError
342
342
  */
343
- getGroupSettings: typeof getGroupSettings;
343
+ getGroupsSettings: typeof getGroupsSettings;
344
344
  /**
345
345
  * Update group settings
346
346
  * @param body an object with the body content
347
- * @throws PatchGroupSettingsHttpError
347
+ * @throws PatchGroupsSettingsHttpError
348
348
  */
349
- patchGroupSettings: typeof patchGroupSettings;
349
+ patchGroupsSettings: typeof patchGroupsSettings;
350
350
  /**
351
351
  * Delete group by id
352
352
  * @param groupId The ID of the group to delete.
@@ -376,4 +376,4 @@ interface GroupsAPI {
376
376
  */
377
377
  declare const groupsExport: GroupsAPI;
378
378
 
379
- export { type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CreateGroupHttpError, type CreateGroupHttpResponse, type DeleteGroupHttpError, type DeleteGroupHttpResponse, type Error, type Errors, type Filter, type FilterGroupsHttpError, type FilterGroupsHttpResponse, type GetGroupHttpError, type GetGroupHttpResponse, type GetGroupSettingsHttpError, type GetGroupSettingsHttpResponse, type GetGroupsHttpError, type GetGroupsHttpResponse, type Group, type GroupPatch, type GroupPatchSchema, type GroupPostSchema, type GroupSettings, type Groups, type GroupsAPI, type PatchGroupHttpError, type PatchGroupHttpResponse, type PatchGroupSettingsHttpError, type PatchGroupSettingsHttpResponse, type SettingsPatch, type SettingsPatchSchema, clearCache, createGroup, groupsExport as default, deleteGroup, filterGroups, getGroup, getGroupSettings, getGroups, patchGroup, patchGroupSettings };
379
+ export { type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CreateGroupHttpError, type CreateGroupHttpResponse, type DeleteGroupHttpError, type DeleteGroupHttpResponse, type Error, type Errors, type Filter, type FilterGroupsHttpError, type FilterGroupsHttpResponse, type GetGroupHttpError, type GetGroupHttpResponse, type GetGroupsHttpError, type GetGroupsHttpResponse, type GetGroupsSettingsHttpError, type GetGroupsSettingsHttpResponse, type Group, type GroupPatch, type GroupPatchSchema, type GroupPostSchema, type GroupSettings, type Groups, type GroupsAPI, type PatchGroupHttpError, type PatchGroupHttpResponse, type PatchGroupsSettingsHttpError, type PatchGroupsSettingsHttpResponse, type SettingsPatch, type SettingsPatchSchema, clearCache, createGroup, groupsExport as default, deleteGroup, filterGroups, getGroup, getGroups, getGroupsSettings, patchGroup, patchGroupsSettings };
package/groups.d.ts CHANGED
@@ -234,15 +234,15 @@ type FilterGroupsHttpError = {
234
234
  };
235
235
  /**
236
236
  * Returns the active tenant's group settings.
237
- * @throws GetGroupSettingsHttpError
237
+ * @throws GetGroupsSettingsHttpError
238
238
  */
239
- declare const getGroupSettings: (options?: ApiCallOptions) => Promise<GetGroupSettingsHttpResponse>;
240
- type GetGroupSettingsHttpResponse = {
239
+ declare const getGroupsSettings: (options?: ApiCallOptions) => Promise<GetGroupsSettingsHttpResponse>;
240
+ type GetGroupsSettingsHttpResponse = {
241
241
  data: GroupSettings;
242
242
  headers: Headers;
243
243
  status: number;
244
244
  };
245
- type GetGroupSettingsHttpError = {
245
+ type GetGroupsSettingsHttpError = {
246
246
  data: Errors;
247
247
  headers: Headers;
248
248
  status: number;
@@ -250,15 +250,15 @@ type GetGroupSettingsHttpError = {
250
250
  /**
251
251
  * Update group settings
252
252
  * @param body an object with the body content
253
- * @throws PatchGroupSettingsHttpError
253
+ * @throws PatchGroupsSettingsHttpError
254
254
  */
255
- declare const patchGroupSettings: (body: SettingsPatchSchema, options?: ApiCallOptions) => Promise<PatchGroupSettingsHttpResponse>;
256
- type PatchGroupSettingsHttpResponse = {
255
+ declare const patchGroupsSettings: (body: SettingsPatchSchema, options?: ApiCallOptions) => Promise<PatchGroupsSettingsHttpResponse>;
256
+ type PatchGroupsSettingsHttpResponse = {
257
257
  data: void;
258
258
  headers: Headers;
259
259
  status: number;
260
260
  };
261
- type PatchGroupSettingsHttpError = {
261
+ type PatchGroupsSettingsHttpError = {
262
262
  data: Errors;
263
263
  headers: Headers;
264
264
  status: number;
@@ -338,15 +338,15 @@ interface GroupsAPI {
338
338
  filterGroups: typeof filterGroups;
339
339
  /**
340
340
  * Returns the active tenant's group settings.
341
- * @throws GetGroupSettingsHttpError
341
+ * @throws GetGroupsSettingsHttpError
342
342
  */
343
- getGroupSettings: typeof getGroupSettings;
343
+ getGroupsSettings: typeof getGroupsSettings;
344
344
  /**
345
345
  * Update group settings
346
346
  * @param body an object with the body content
347
- * @throws PatchGroupSettingsHttpError
347
+ * @throws PatchGroupsSettingsHttpError
348
348
  */
349
- patchGroupSettings: typeof patchGroupSettings;
349
+ patchGroupsSettings: typeof patchGroupsSettings;
350
350
  /**
351
351
  * Delete group by id
352
352
  * @param groupId The ID of the group to delete.
@@ -376,4 +376,4 @@ interface GroupsAPI {
376
376
  */
377
377
  declare const groupsExport: GroupsAPI;
378
378
 
379
- export { type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CreateGroupHttpError, type CreateGroupHttpResponse, type DeleteGroupHttpError, type DeleteGroupHttpResponse, type Error, type Errors, type Filter, type FilterGroupsHttpError, type FilterGroupsHttpResponse, type GetGroupHttpError, type GetGroupHttpResponse, type GetGroupSettingsHttpError, type GetGroupSettingsHttpResponse, type GetGroupsHttpError, type GetGroupsHttpResponse, type Group, type GroupPatch, type GroupPatchSchema, type GroupPostSchema, type GroupSettings, type Groups, type GroupsAPI, type PatchGroupHttpError, type PatchGroupHttpResponse, type PatchGroupSettingsHttpError, type PatchGroupSettingsHttpResponse, type SettingsPatch, type SettingsPatchSchema, clearCache, createGroup, groupsExport as default, deleteGroup, filterGroups, getGroup, getGroupSettings, getGroups, patchGroup, patchGroupSettings };
379
+ export { type AssignedRoles, type AssignedRolesRefIDs, type AssignedRolesRefNames, type CreateGroupHttpError, type CreateGroupHttpResponse, type DeleteGroupHttpError, type DeleteGroupHttpResponse, type Error, type Errors, type Filter, type FilterGroupsHttpError, type FilterGroupsHttpResponse, type GetGroupHttpError, type GetGroupHttpResponse, type GetGroupsHttpError, type GetGroupsHttpResponse, type GetGroupsSettingsHttpError, type GetGroupsSettingsHttpResponse, type Group, type GroupPatch, type GroupPatchSchema, type GroupPostSchema, type GroupSettings, type Groups, type GroupsAPI, type PatchGroupHttpError, type PatchGroupHttpResponse, type PatchGroupsSettingsHttpError, type PatchGroupsSettingsHttpResponse, type SettingsPatch, type SettingsPatchSchema, clearCache, createGroup, groupsExport as default, deleteGroup, filterGroups, getGroup, getGroups, getGroupsSettings, patchGroup, patchGroupsSettings };
package/groups.js CHANGED
@@ -1,53 +1,53 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
4
+ var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
+ require('./chunk-H7SAZYEE.js');
6
6
 
7
7
  // src/public/rest/groups.ts
8
- var getGroups = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
8
+ var getGroups = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/groups",
11
11
  query,
12
12
  options
13
13
  });
14
- var createGroup = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
14
+ var createGroup = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/groups",
17
17
  body,
18
18
  options
19
19
  });
20
- var filterGroups = async (query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
20
+ var filterGroups = async (query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
21
21
  method: "post",
22
22
  pathTemplate: "/api/v1/groups/actions/filter",
23
23
  query,
24
24
  body,
25
25
  options
26
26
  });
27
- var getGroupSettings = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
27
+ var getGroupsSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
28
28
  method: "get",
29
29
  pathTemplate: "/api/v1/groups/settings",
30
30
  options
31
31
  });
32
- var patchGroupSettings = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
32
+ var patchGroupsSettings = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
33
33
  method: "patch",
34
34
  pathTemplate: "/api/v1/groups/settings",
35
35
  body,
36
36
  options
37
37
  });
38
- var deleteGroup = async (groupId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
38
+ var deleteGroup = async (groupId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
39
39
  method: "delete",
40
40
  pathTemplate: "/api/v1/groups/{groupId}",
41
41
  pathVariables: { groupId },
42
42
  options
43
43
  });
44
- var getGroup = async (groupId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
44
+ var getGroup = async (groupId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
45
45
  method: "get",
46
46
  pathTemplate: "/api/v1/groups/{groupId}",
47
47
  pathVariables: { groupId },
48
48
  options
49
49
  });
50
- var patchGroup = async (groupId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "groups", {
50
+ var patchGroup = async (groupId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "groups", {
51
51
  method: "patch",
52
52
  pathTemplate: "/api/v1/groups/{groupId}",
53
53
  pathVariables: { groupId },
@@ -55,14 +55,14 @@ var patchGroup = async (groupId, body, options) => _chunkOULT3V2Ujs.invokeFetch.
55
55
  options
56
56
  });
57
57
  function clearCache() {
58
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "groups");
58
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "groups");
59
59
  }
60
60
  var groupsExport = {
61
61
  getGroups,
62
62
  createGroup,
63
63
  filterGroups,
64
- getGroupSettings,
65
- patchGroupSettings,
64
+ getGroupsSettings,
65
+ patchGroupsSettings,
66
66
  deleteGroup,
67
67
  getGroup,
68
68
  patchGroup,
@@ -80,4 +80,4 @@ var groups_default = groupsExport;
80
80
 
81
81
 
82
82
 
83
- exports.clearCache = clearCache; exports.createGroup = createGroup; exports.default = groups_default; exports.deleteGroup = deleteGroup; exports.filterGroups = filterGroups; exports.getGroup = getGroup; exports.getGroupSettings = getGroupSettings; exports.getGroups = getGroups; exports.patchGroup = patchGroup; exports.patchGroupSettings = patchGroupSettings;
83
+ exports.clearCache = clearCache; exports.createGroup = createGroup; exports.default = groups_default; exports.deleteGroup = deleteGroup; exports.filterGroups = filterGroups; exports.getGroup = getGroup; exports.getGroups = getGroups; exports.getGroupsSettings = getGroupsSettings; exports.patchGroup = patchGroup; exports.patchGroupsSettings = patchGroupsSettings;