@qlik/api 0.0.11 → 0.0.12
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/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{6QHMH76M.mjs → 2PUNHMD4.mjs} +1 -1
- package/chunks/{TPTPAX2U.mjs → 45QSVHHO.mjs} +2 -2
- package/chunks/{MQGSH6BQ.js → 55OD3EOU.js} +8 -8
- package/chunks/{G36LDZ2O.mjs → 5IH4NGHZ.mjs} +1 -1
- package/chunks/{4E3AP3QF.mjs → 5Q6T4ICX.mjs} +1 -1
- package/chunks/{277NFGPR.js → A6R47NQV.js} +4 -4
- package/chunks/{NBNOAZT5.js → ECGUIOPI.js} +3 -3
- package/chunks/{QMOQD6PE.js → EGL4ERKM.js} +8 -8
- package/chunks/{E3HDOP72.mjs → HJGTOAVG.mjs} +3 -3
- package/chunks/{XP7ALS4O.js → HWOIITGY.js} +2 -2
- package/chunks/{QJNIUMNI.mjs → JMVQWFDT.mjs} +5 -5
- package/chunks/{K2WB4AWW.mjs → JQMXDZQY.mjs} +1 -1
- package/chunks/NX7ZEIBH.js +41 -0
- package/chunks/{J3UXBHGX.mjs → PLTWBEYY.mjs} +1 -1
- package/chunks/PTRQR7GJ.js +17 -0
- package/chunks/{NZ6E5ZHO.js → PTU5VIWS.js} +3 -3
- package/chunks/{MHLTST5J.mjs → QX32SETN.mjs} +16 -12
- package/chunks/{FT7SZRB6.js → WQOWTWQO.js} +16 -12
- package/collections.js +14 -14
- 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.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- 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.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/SPJKF5VW.js +0 -17
- package/chunks/X3YDQVZ6.js +0 -41
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _WQOWTWQOjs = require('./WQOWTWQO.js');
|
|
9
|
+
require('./4HB3TAEO.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.EncodingError = _WQOWTWQOjs.EncodingError; exports.InvokeFetchError = _WQOWTWQOjs.InvokeFetchError; exports.clearApiCache = _WQOWTWQOjs.clearApiCache; exports.default = _WQOWTWQOjs.invoke_fetch_default; exports.invokeFetch = _WQOWTWQOjs.invokeFetch; exports.parseFetchResponse = _WQOWTWQOjs.parseFetchResponse;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _ECGUIOPIjs = require('./ECGUIOPI.js');
|
|
4
4
|
|
|
5
5
|
// src/public/invoke-fetch.ts
|
|
6
6
|
async function invokeFetch(api, props) {
|
|
7
7
|
const hostConfig = _optionalChain([props, 'access', _ => _.options, 'optionalAccess', _2 => _2.hostConfig]);
|
|
8
|
-
return (await
|
|
8
|
+
return (await _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
|
|
9
9
|
}
|
|
10
10
|
function clearApiCache(api) {
|
|
11
|
-
void
|
|
11
|
+
void _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
@@ -495,9 +495,21 @@ function isBrowser() {
|
|
|
495
495
|
function isNode() {
|
|
496
496
|
return typeof process === "object" && typeof __require === "function";
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
async function addCryptoToGlobal() {
|
|
499
|
+
if (isNode() && !globalThis.crypto) {
|
|
500
|
+
const crypto = await import(
|
|
501
|
+
/* webpackIgnore: true */
|
|
502
|
+
/* webpackExclude: /node:crypto/ */
|
|
503
|
+
/* webpackMode: "weak" */
|
|
504
|
+
"node:crypto"
|
|
505
|
+
);
|
|
506
|
+
globalThis.crypto = crypto;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
async function generateRandomString(targetLength) {
|
|
499
510
|
const byteArrayLength = Math.ceil(targetLength * 3 / 4);
|
|
500
511
|
const array = new Uint8Array(byteArrayLength);
|
|
512
|
+
await addCryptoToGlobal();
|
|
501
513
|
globalThis.crypto.getRandomValues(array);
|
|
502
514
|
const base64UrlString = toBase64Url(array);
|
|
503
515
|
return base64UrlString.substring(0, targetLength);
|
|
@@ -521,20 +533,12 @@ function byteArrayToBase64(hashArray) {
|
|
|
521
533
|
}
|
|
522
534
|
async function sha256(message) {
|
|
523
535
|
const msgBuffer = new TextEncoder().encode(message);
|
|
536
|
+
await addCryptoToGlobal();
|
|
524
537
|
const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
|
|
525
538
|
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
526
539
|
const hashBase64 = byteArrayToBase64(hashArray);
|
|
527
540
|
return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
|
|
528
541
|
}
|
|
529
|
-
async function polyfillMissingGlobals() {
|
|
530
|
-
if (isNode() && !globalThis.crypto) {
|
|
531
|
-
globalThis.crypto = await import(
|
|
532
|
-
/* webpackIgnore: true */
|
|
533
|
-
"node:crypto"
|
|
534
|
-
);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
await polyfillMissingGlobals();
|
|
538
542
|
|
|
539
543
|
// src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
|
|
540
544
|
var storagePrefix = "qlik-qmfe-api";
|
|
@@ -673,8 +677,8 @@ function toQueryString(queryParams) {
|
|
|
673
677
|
async function startFullPageLoginFlow(hostConfig) {
|
|
674
678
|
const clientId = hostConfig.clientId || "";
|
|
675
679
|
const locationUrl = toValidLocationUrl(hostConfig);
|
|
676
|
-
const verifier = generateRandomString(128);
|
|
677
|
-
const state = generateRandomString(43);
|
|
680
|
+
const verifier = await generateRandomString(128);
|
|
681
|
+
const state = await generateRandomString(43);
|
|
678
682
|
const codeChallenge = await sha256(verifier);
|
|
679
683
|
const redirectUri = hostConfig.redirectUri || globalThis.location.href;
|
|
680
684
|
const scopes = ["user_default"];
|
|
@@ -495,9 +495,21 @@ function isBrowser() {
|
|
|
495
495
|
function isNode() {
|
|
496
496
|
return typeof process === "object" && typeof _4HB3TAEOjs.__require === "function";
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
async function addCryptoToGlobal() {
|
|
499
|
+
if (isNode() && !globalThis.crypto) {
|
|
500
|
+
const crypto = await Promise.resolve().then(() => _interopRequireWildcard(require(
|
|
501
|
+
/* webpackIgnore: true */
|
|
502
|
+
/* webpackExclude: /node:crypto/ */
|
|
503
|
+
/* webpackMode: "weak" */
|
|
504
|
+
"crypto"
|
|
505
|
+
)));
|
|
506
|
+
globalThis.crypto = crypto;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
async function generateRandomString(targetLength) {
|
|
499
510
|
const byteArrayLength = Math.ceil(targetLength * 3 / 4);
|
|
500
511
|
const array = new Uint8Array(byteArrayLength);
|
|
512
|
+
await addCryptoToGlobal();
|
|
501
513
|
globalThis.crypto.getRandomValues(array);
|
|
502
514
|
const base64UrlString = toBase64Url(array);
|
|
503
515
|
return base64UrlString.substring(0, targetLength);
|
|
@@ -521,20 +533,12 @@ function byteArrayToBase64(hashArray) {
|
|
|
521
533
|
}
|
|
522
534
|
async function sha256(message) {
|
|
523
535
|
const msgBuffer = new TextEncoder().encode(message);
|
|
536
|
+
await addCryptoToGlobal();
|
|
524
537
|
const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
|
|
525
538
|
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
526
539
|
const hashBase64 = byteArrayToBase64(hashArray);
|
|
527
540
|
return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
|
|
528
541
|
}
|
|
529
|
-
async function polyfillMissingGlobals() {
|
|
530
|
-
if (isNode() && !globalThis.crypto) {
|
|
531
|
-
globalThis.crypto = await Promise.resolve().then(() => _interopRequireWildcard(require(
|
|
532
|
-
/* webpackIgnore: true */
|
|
533
|
-
"crypto"
|
|
534
|
-
)));
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
await polyfillMissingGlobals();
|
|
538
542
|
|
|
539
543
|
// src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
|
|
540
544
|
var storagePrefix = "qlik-qmfe-api";
|
|
@@ -673,8 +677,8 @@ function toQueryString(queryParams) {
|
|
|
673
677
|
async function startFullPageLoginFlow(hostConfig) {
|
|
674
678
|
const clientId = hostConfig.clientId || "";
|
|
675
679
|
const locationUrl = toValidLocationUrl(hostConfig);
|
|
676
|
-
const verifier = generateRandomString(128);
|
|
677
|
-
const state = generateRandomString(43);
|
|
680
|
+
const verifier = await generateRandomString(128);
|
|
681
|
+
const state = await generateRandomString(43);
|
|
678
682
|
const codeChallenge = await sha256(verifier);
|
|
679
683
|
const redirectUri = hostConfig.redirectUri || globalThis.location.href;
|
|
680
684
|
const scopes = ["user_default"];
|
package/collections.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
|
|
5
|
+
require('./chunks/ECGUIOPI.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/collections.ts
|
|
9
|
-
var getCollections = async (query, options) =>
|
|
9
|
+
var getCollections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/collections",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCollection = async (body, options) =>
|
|
15
|
+
var createCollection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/collections",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getFavoritesCollection = async (options) =>
|
|
22
|
+
var getFavoritesCollection = async (options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/collections/favorites",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCollection = async (collectionId, options) =>
|
|
27
|
+
var deleteCollection = async (collectionId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
30
30
|
pathVariables: { collectionId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCollection = async (collectionId, options) =>
|
|
33
|
+
var getCollection = async (collectionId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
36
36
|
pathVariables: { collectionId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchCollection = async (collectionId, body, options) =>
|
|
39
|
+
var patchCollection = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
42
42
|
pathVariables: { collectionId },
|
|
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeF
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateCollection = async (collectionId, body, options) =>
|
|
47
|
+
var updateCollection = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
48
48
|
method: "put",
|
|
49
49
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
50
50
|
pathVariables: { collectionId },
|
|
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invoke
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getCollectionItems = async (collectionId, query, options) =>
|
|
55
|
+
var getCollectionItems = async (collectionId, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
58
58
|
pathVariables: { collectionId },
|
|
59
59
|
query,
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
|
-
var addCollectionItem = async (collectionId, body, options) =>
|
|
62
|
+
var addCollectionItem = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
63
63
|
method: "post",
|
|
64
64
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
65
65
|
pathVariables: { collectionId },
|
|
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _NZ6E5ZHOjs.invok
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteCollectionItem = async (collectionId, itemId, options) =>
|
|
70
|
+
var deleteCollectionItem = async (collectionId, itemId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
71
71
|
method: "delete",
|
|
72
72
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
73
73
|
pathVariables: { collectionId, itemId },
|
|
74
74
|
options
|
|
75
75
|
});
|
|
76
|
-
var getCollectionItem = async (collectionId, itemId, options) =>
|
|
76
|
+
var getCollectionItem = async (collectionId, itemId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
|
|
77
77
|
method: "get",
|
|
78
78
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
79
79
|
pathVariables: { collectionId, itemId },
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
82
|
function clearCache() {
|
|
83
|
-
return
|
|
83
|
+
return _PTU5VIWSjs.clearApiCache.call(void 0, "collections");
|
|
84
84
|
}
|
|
85
85
|
var collectionsExport = {
|
|
86
86
|
getCollections,
|
package/collections.mjs
CHANGED
package/csp-origins.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
|
|
5
|
+
require('./chunks/ECGUIOPI.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csp-origins.ts
|
|
9
|
-
var getCSPEntries = async (query, options) =>
|
|
9
|
+
var getCSPEntries = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/csp-origins",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCSPEntry = async (body, options) =>
|
|
15
|
+
var createCSPEntry = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/csp-origins",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getCSPHeader = async (options) =>
|
|
22
|
+
var getCSPHeader = async (options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/csp-origins/actions/generate-header",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCSPEntry = async (id, options) =>
|
|
27
|
+
var deleteCSPEntry = async (id, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCSPEntry = async (id, options) =>
|
|
33
|
+
var getCSPEntry = async (id, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var updateCSPEntry = async (id, body, options) =>
|
|
39
|
+
var updateCSPEntry = async (id, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
|
|
40
40
|
method: "put",
|
|
41
41
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
42
42
|
pathVariables: { id },
|
|
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(v
|
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
47
|
function clearCache() {
|
|
48
|
-
return
|
|
48
|
+
return _PTU5VIWSjs.clearApiCache.call(void 0, "csp-origins");
|
|
49
49
|
}
|
|
50
50
|
var cspOriginsExport = {
|
|
51
51
|
getCSPEntries,
|
package/csp-origins.mjs
CHANGED
package/data-assets.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
|
|
5
|
+
require('./chunks/ECGUIOPI.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-assets.ts
|
|
9
|
-
var deleteDataAssets = async (body, options) =>
|
|
9
|
+
var deleteDataAssets = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/data-assets",
|
|
12
12
|
body,
|
|
13
13
|
contentType: "application/json",
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var createDataAsset = async (body, options) =>
|
|
16
|
+
var createDataAsset = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
|
|
17
17
|
method: "post",
|
|
18
18
|
pathTemplate: "/api/v1/data-assets",
|
|
19
19
|
body,
|
|
20
20
|
contentType: "application/json",
|
|
21
21
|
options
|
|
22
22
|
});
|
|
23
|
-
var getDataAsset = async (dataAssetId, query, options) =>
|
|
23
|
+
var getDataAsset = async (dataAssetId, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
|
|
24
24
|
method: "get",
|
|
25
25
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
26
26
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
27
27
|
query,
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
|
-
var patchDataAsset = async (dataAssetId, body, options) =>
|
|
30
|
+
var patchDataAsset = async (dataAssetId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
|
|
31
31
|
method: "patch",
|
|
32
32
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
33
33
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -35,7 +35,7 @@ var patchDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFet
|
|
|
35
35
|
contentType: "application/json",
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var updateDataAsset = async (dataAssetId, body, options) =>
|
|
38
|
+
var updateDataAsset = async (dataAssetId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
|
|
39
39
|
method: "put",
|
|
40
40
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
41
41
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -44,7 +44,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFe
|
|
|
44
44
|
options
|
|
45
45
|
});
|
|
46
46
|
function clearCache() {
|
|
47
|
-
return
|
|
47
|
+
return _PTU5VIWSjs.clearApiCache.call(void 0, "data-assets");
|
|
48
48
|
}
|
|
49
49
|
var dataAssetsExport = {
|
|
50
50
|
deleteDataAssets,
|
package/data-assets.mjs
CHANGED
package/data-connections.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
|
|
5
|
+
require('./chunks/ECGUIOPI.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-connections.ts
|
|
9
|
-
var getDataConnections = async (query, options) =>
|
|
9
|
+
var getDataConnections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/data-connections",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createDataConnection = async (body, options) =>
|
|
15
|
+
var createDataConnection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/data-connections",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteDataConnections = async (body, options) =>
|
|
22
|
+
var deleteDataConnections = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/data-connections/actions/delete",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var duplicateDataAConnection = async (body, options) =>
|
|
29
|
+
var duplicateDataAConnection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/data-connections/actions/duplicate",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var updateDataConnections = async (body, options) =>
|
|
36
|
+
var updateDataConnections = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
37
37
|
method: "post",
|
|
38
38
|
pathTemplate: "/api/v1/data-connections/actions/update",
|
|
39
39
|
body,
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var deleteDataConnection = async (qID, query, options) =>
|
|
43
|
+
var deleteDataConnection = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
44
44
|
method: "delete",
|
|
45
45
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
46
46
|
pathVariables: { qID },
|
|
47
47
|
query,
|
|
48
48
|
options
|
|
49
49
|
});
|
|
50
|
-
var getDataConnection = async (qID, query, options) =>
|
|
50
|
+
var getDataConnection = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
51
51
|
method: "get",
|
|
52
52
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
53
53
|
pathVariables: { qID },
|
|
54
54
|
query,
|
|
55
55
|
options
|
|
56
56
|
});
|
|
57
|
-
var patchDataConnection = async (qID, query, body, options) =>
|
|
57
|
+
var patchDataConnection = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
58
58
|
method: "patch",
|
|
59
59
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
60
60
|
pathVariables: { qID },
|
|
@@ -63,7 +63,7 @@ var patchDataConnection = async (qID, query, body, options) => _NZ6E5ZHOjs.invok
|
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
options
|
|
65
65
|
});
|
|
66
|
-
var updateDataConnection = async (qID, query, body, options) =>
|
|
66
|
+
var updateDataConnection = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
|
|
67
67
|
method: "put",
|
|
68
68
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
69
69
|
pathVariables: { qID },
|
|
@@ -73,7 +73,7 @@ var updateDataConnection = async (qID, query, body, options) => _NZ6E5ZHOjs.invo
|
|
|
73
73
|
options
|
|
74
74
|
});
|
|
75
75
|
function clearCache() {
|
|
76
|
-
return
|
|
76
|
+
return _PTU5VIWSjs.clearApiCache.call(void 0, "data-connections");
|
|
77
77
|
}
|
|
78
78
|
var dataConnectionsExport = {
|
|
79
79
|
getDataConnections,
|
package/data-connections.mjs
CHANGED
package/data-credentials.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
|
|
5
|
+
require('./chunks/ECGUIOPI.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-credentials.ts
|
|
9
|
-
var deleteDataCredential = async (qID, query, options) =>
|
|
9
|
+
var deleteDataCredential = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
12
12
|
pathVariables: { qID },
|
|
13
13
|
query,
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var getDataCredential = async (qID, query, options) =>
|
|
16
|
+
var getDataCredential = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
|
|
17
17
|
method: "get",
|
|
18
18
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
19
19
|
pathVariables: { qID },
|
|
20
20
|
query,
|
|
21
21
|
options
|
|
22
22
|
});
|
|
23
|
-
var patchDataCredential = async (qID, query, body, options) =>
|
|
23
|
+
var patchDataCredential = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
|
|
24
24
|
method: "patch",
|
|
25
25
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
26
26
|
pathVariables: { qID },
|
|
@@ -29,7 +29,7 @@ var patchDataCredential = async (qID, query, body, options) => _NZ6E5ZHOjs.invok
|
|
|
29
29
|
contentType: "application/json",
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var updateDataCredential = async (qID, query, body, options) =>
|
|
32
|
+
var updateDataCredential = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
|
|
33
33
|
method: "put",
|
|
34
34
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
35
35
|
pathVariables: { qID },
|
|
@@ -39,7 +39,7 @@ var updateDataCredential = async (qID, query, body, options) => _NZ6E5ZHOjs.invo
|
|
|
39
39
|
options
|
|
40
40
|
});
|
|
41
41
|
function clearCache() {
|
|
42
|
-
return
|
|
42
|
+
return _PTU5VIWSjs.clearApiCache.call(void 0, "data-credentials");
|
|
43
43
|
}
|
|
44
44
|
var dataCredentialsExport = {
|
|
45
45
|
deleteDataCredential,
|
package/data-credentials.mjs
CHANGED