@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.
- package/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
package/esm-M5ZBFTVD.mjs
ADDED
|
@@ -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
|
+
};
|
package/esm-RX7B2TUN.js
ADDED
|
@@ -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
|
|
5
|
-
require('./chunk-
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
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-
|
|
5
|
-
import "./chunk-
|
|
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
|
|
5
|
-
require('./chunk-
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
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-
|
|
5
|
-
import "./chunk-
|
|
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
|
|
237
|
+
* @throws GetGroupsSettingsHttpError
|
|
238
238
|
*/
|
|
239
|
-
declare const
|
|
240
|
-
type
|
|
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
|
|
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
|
|
253
|
+
* @throws PatchGroupsSettingsHttpError
|
|
254
254
|
*/
|
|
255
|
-
declare const
|
|
256
|
-
type
|
|
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
|
|
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
|
|
341
|
+
* @throws GetGroupsSettingsHttpError
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
getGroupsSettings: typeof getGroupsSettings;
|
|
344
344
|
/**
|
|
345
345
|
* Update group settings
|
|
346
346
|
* @param body an object with the body content
|
|
347
|
-
* @throws
|
|
347
|
+
* @throws PatchGroupsSettingsHttpError
|
|
348
348
|
*/
|
|
349
|
-
|
|
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
|
|
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
|
|
237
|
+
* @throws GetGroupsSettingsHttpError
|
|
238
238
|
*/
|
|
239
|
-
declare const
|
|
240
|
-
type
|
|
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
|
|
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
|
|
253
|
+
* @throws PatchGroupsSettingsHttpError
|
|
254
254
|
*/
|
|
255
|
-
declare const
|
|
256
|
-
type
|
|
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
|
|
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
|
|
341
|
+
* @throws GetGroupsSettingsHttpError
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
getGroupsSettings: typeof getGroupsSettings;
|
|
344
344
|
/**
|
|
345
345
|
* Update group settings
|
|
346
346
|
* @param body an object with the body content
|
|
347
|
-
* @throws
|
|
347
|
+
* @throws PatchGroupsSettingsHttpError
|
|
348
348
|
*/
|
|
349
|
-
|
|
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
|
|
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
|
|
5
|
-
require('./chunk-
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
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
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
58
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "groups");
|
|
59
59
|
}
|
|
60
60
|
var groupsExport = {
|
|
61
61
|
getGroups,
|
|
62
62
|
createGroup,
|
|
63
63
|
filterGroups,
|
|
64
|
-
|
|
65
|
-
|
|
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.
|
|
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;
|