@qlik/api 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-keys.d.mts +1 -1
- package/api-keys.d.ts +1 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +9 -7
- package/apps.d.ts +9 -7
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +1 -1
- package/audits.d.ts +1 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +1 -1
- package/automations.d.ts +1 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +4 -4
- package/brands.d.ts +4 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/chunks/37STYSYC.js +41 -0
- package/{enigma-session-SX3S4D67.js → chunks/AGASWXYW.js} +5 -5
- package/{invoke-fetch-O6G2T5EO.mjs → chunks/AU62SBT4.mjs} +2 -2
- package/{chunk-RG5MJMTS.js → chunks/AULTUQC4.js} +2 -2
- package/{chunk-OQ7JMHBC.mjs → chunks/EHZ6H6TD.mjs} +1 -1
- package/{chunk-KPCXSJ7B.js → chunks/EL2GSPZZ.js} +3 -3
- package/{qix-H5YPUSPO.js → chunks/F7GJTDIU.js} +9 -9
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{chunk-AHJ5TCGF.mjs → chunks/K4YCNLTC.mjs} +1 -1
- package/{chunk-AHWPRCGA.mjs → chunks/KDW6ZD2R.mjs} +64 -27
- package/{qix-6ZR6KLUS.mjs → chunks/L7DRRU3T.mjs} +3 -3
- package/{chunk-ZNLWUSS5.mjs → chunks/POR3DZIU.mjs} +1 -1
- package/{chunk-2EGD2BDX.js → chunks/PQ4OWSWX.js} +66 -29
- package/chunks/VC2LAFLZ.js +17 -0
- package/{chunk-7HKUAHVA.mjs → chunks/VLLTA4EY.mjs} +3 -3
- package/{chunk-ZXQHFWQH.js → chunks/W2I5OQA5.js} +3 -3
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/{auth-UH5NRF5W.mjs → chunks/WQHUX4R2.mjs} +2 -2
- package/{chunk-VTS2AFOU.js → chunks/XY3AC335.js} +4 -4
- package/{enigma-session-BUSRMT72.mjs → chunks/YDB23Q56.mjs} +2 -2
- package/collections.d.mts +5 -21
- package/collections.d.ts +5 -21
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +1 -1
- package/data-connections.d.ts +1 -1
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +1 -1
- package/data-credentials.d.ts +1 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +1 -1
- package/data-files.d.ts +1 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +1 -1
- package/extensions.d.ts +1 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +1 -1
- package/glossaries.d.ts +1 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +1 -1
- package/groups.d.ts +1 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +1 -1
- package/identity-providers.d.ts +1 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +1 -1
- package/items.d.ts +1 -1
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +1 -1
- package/licenses.d.ts +1 -1
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +1 -1
- package/quotas.d.ts +1 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +1 -1
- package/reload-tasks.d.ts +1 -1
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +1 -1
- package/reloads.d.ts +1 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +1 -1
- package/roles.d.ts +1 -1
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +1 -1
- package/spaces.d.ts +1 -1
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +1 -1
- package/temp-contents.d.ts +1 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +6 -6
- package/tenants.d.ts +6 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +1 -1
- package/themes.d.ts +1 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +12 -12
- package/transports.d.ts +12 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +5 -11
- package/users.d.ts +5 -11
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +1 -1
- package/web-integrations.d.ts +1 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +1 -1
- package/web-notifications.d.ts +1 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +1 -1
- package/webhooks.d.ts +1 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-TB6NYHVR.js +0 -41
- package/invoke-fetch-JU62OAXK.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./
|
|
7
|
+
var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
|
|
8
|
+
require('./4HB3TAEO.js');
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
11
11
|
var globalEventListeners = /* @__PURE__ */ new Set();
|
|
@@ -36,7 +36,7 @@ async function resumeAll() {
|
|
|
36
36
|
var initialActions = {};
|
|
37
37
|
var sharedSessions = {};
|
|
38
38
|
function toGlobalAppSessionId({ appId, identity, hostConfig }) {
|
|
39
|
-
const locationUrl =
|
|
39
|
+
const locationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
|
|
40
40
|
return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
|
|
41
41
|
}
|
|
42
42
|
async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
|
|
@@ -83,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
83
83
|
return authSuggestedInWebsocket;
|
|
84
84
|
}
|
|
85
85
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
86
|
-
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
86
|
+
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./AGASWXYW.js")));
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
90
|
-
if (await
|
|
90
|
+
if (await _PQ4OWSWXjs.isWindows.call(void 0, props.hostConfig)) {
|
|
91
91
|
const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
|
|
92
92
|
global = await session.open();
|
|
93
93
|
const loginInfo = await loginInfoPromise;
|
|
94
94
|
if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
|
|
95
|
-
const action = await
|
|
95
|
+
const action = await _PQ4OWSWXjs.handleAuthenticationError.call(void 0, {
|
|
96
96
|
headers: new Headers(),
|
|
97
97
|
status: 101,
|
|
98
98
|
canRetry,
|
|
@@ -389,8 +389,8 @@ async function checkConnectivity(hostConfig) {
|
|
|
389
389
|
timeoutMs: 2e3,
|
|
390
390
|
noCache: true
|
|
391
391
|
};
|
|
392
|
-
const fetchRoot =
|
|
393
|
-
const fetchMe =
|
|
392
|
+
const fetchRoot = _PQ4OWSWXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
|
|
393
|
+
const fetchMe = _PQ4OWSWXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
|
|
394
394
|
await Promise.all([fetchRoot, fetchMe]);
|
|
395
395
|
return Promise.resolve(status);
|
|
396
396
|
}
|
|
@@ -435,7 +435,7 @@ function getOrCreateSharedSession(props) {
|
|
|
435
435
|
// src/qix/qix-functions.ts
|
|
436
436
|
async function createSessionApp() {
|
|
437
437
|
let sharedSession;
|
|
438
|
-
if ((await
|
|
438
|
+
if ((await _PQ4OWSWXjs.getPlatform.call(void 0, )).isCloud) {
|
|
439
439
|
sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
|
|
440
440
|
} else {
|
|
441
441
|
sharedSession = await getOrCreateSharedSession({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./VSY5YIQY.mjs";
|
|
4
4
|
|
|
5
5
|
// src/platform/platform-functions.ts
|
|
6
6
|
var getPlatform = async (options = {}) => {
|
|
@@ -1103,6 +1103,12 @@ function shouldUseCachedResult(options, cacheEntry, defaultMaxCacheTime) {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
var shouldPopulateCache = (method) => method === "get" || method === "GET";
|
|
1105
1105
|
function clone(value) {
|
|
1106
|
+
if (value && (value instanceof Blob || value instanceof Object && value.toString() === "[object Blob]")) {
|
|
1107
|
+
return value;
|
|
1108
|
+
}
|
|
1109
|
+
if (typeof value === "string") {
|
|
1110
|
+
return value;
|
|
1111
|
+
}
|
|
1106
1112
|
return JSON.parse(JSON.stringify(value));
|
|
1107
1113
|
}
|
|
1108
1114
|
function isModifyingVerb2(verb) {
|
|
@@ -1210,11 +1216,33 @@ async function performActualHttpFetch(method, completeUrl, unencodedBody, conten
|
|
|
1210
1216
|
if (interceptors?.request.hasInterceptors()) {
|
|
1211
1217
|
request = await interceptors.request.apply(completeUrl, request);
|
|
1212
1218
|
}
|
|
1213
|
-
|
|
1219
|
+
let fetchResponse = await fetchAndTransformExceptions(completeUrl, request);
|
|
1220
|
+
const location = fetchResponse.headers.get("location");
|
|
1221
|
+
if (location && request.redirect === "follow" && fetchResponse.status === 201) {
|
|
1222
|
+
const followRequest = {
|
|
1223
|
+
method: "get",
|
|
1224
|
+
credentials,
|
|
1225
|
+
mode: request.mode,
|
|
1226
|
+
headers,
|
|
1227
|
+
redirect: request.redirect
|
|
1228
|
+
};
|
|
1229
|
+
let followUrl;
|
|
1230
|
+
try {
|
|
1231
|
+
followUrl = new URL(location).toString();
|
|
1232
|
+
} catch {
|
|
1233
|
+
try {
|
|
1234
|
+
const { origin } = new URL(completeUrl);
|
|
1235
|
+
followUrl = `${origin}/${location}`;
|
|
1236
|
+
} catch {
|
|
1237
|
+
followUrl = location;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
fetchResponse = await fetchAndTransformExceptions(followUrl, followRequest);
|
|
1241
|
+
}
|
|
1214
1242
|
if (fetchTimeoutId) {
|
|
1215
1243
|
clearTimeout(fetchTimeoutId);
|
|
1216
1244
|
}
|
|
1217
|
-
let invokeFetchResponse = await
|
|
1245
|
+
let invokeFetchResponse = await parseFetchResponse(fetchResponse, completeUrl);
|
|
1218
1246
|
if (interceptors?.response.hasInterceptors()) {
|
|
1219
1247
|
invokeFetchResponse = await interceptors.response.apply(invokeFetchResponse);
|
|
1220
1248
|
}
|
|
@@ -1408,6 +1436,9 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
|
|
|
1408
1436
|
function addPagingFunctions(api, value, method, body, options, interceptors, authHeaders, credentials) {
|
|
1409
1437
|
return value.then((resp) => {
|
|
1410
1438
|
const dataWithPotentialLinks = resp.data;
|
|
1439
|
+
if (!dataWithPotentialLinks) {
|
|
1440
|
+
return resp;
|
|
1441
|
+
}
|
|
1411
1442
|
const prevUrl = dataWithPotentialLinks.links?.prev?.href;
|
|
1412
1443
|
const nextUrl = dataWithPotentialLinks.links?.next?.href;
|
|
1413
1444
|
if (prevUrl) {
|
|
@@ -1473,27 +1504,21 @@ async function interceptAuthenticationErrors(hostConfig, resultPromise, performR
|
|
|
1473
1504
|
throw error;
|
|
1474
1505
|
}
|
|
1475
1506
|
}
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
|
|
1507
|
+
function toDownloadableBlob(blob) {
|
|
1508
|
+
const result2 = blob;
|
|
1509
|
+
result2.download = (filename) => download(blob, filename);
|
|
1510
|
+
return result2;
|
|
1511
|
+
}
|
|
1512
|
+
async function download(blob, filename) {
|
|
1513
|
+
if (isBrowser()) {
|
|
1514
|
+
const a = document.createElement("a");
|
|
1515
|
+
a.href = window.URL.createObjectURL(blob);
|
|
1516
|
+
a.download = filename;
|
|
1517
|
+
a.click();
|
|
1518
|
+
} else {
|
|
1519
|
+
const { writeFileSync } = await import("fs");
|
|
1520
|
+
writeFileSync(filename, Buffer.from(await blob.arrayBuffer()));
|
|
1490
1521
|
}
|
|
1491
|
-
const invokeFetchResponse = {
|
|
1492
|
-
status,
|
|
1493
|
-
headers,
|
|
1494
|
-
data: resultData
|
|
1495
|
-
};
|
|
1496
|
-
return invokeFetchResponse;
|
|
1497
1522
|
}
|
|
1498
1523
|
|
|
1499
1524
|
// src/invoke-fetch/invoke-fetch-error.ts
|
|
@@ -1555,10 +1580,22 @@ function clearApiCache(api) {
|
|
|
1555
1580
|
}
|
|
1556
1581
|
async function parseFetchResponse(fetchResponse, url) {
|
|
1557
1582
|
let resultData;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1583
|
+
const contentType = fetchResponse.headers.get("content-type")?.split(";")[0];
|
|
1584
|
+
switch (contentType) {
|
|
1585
|
+
case "image/png":
|
|
1586
|
+
case "image/jpeg":
|
|
1587
|
+
case "image/x-icon":
|
|
1588
|
+
case "application/offset+octet-stream":
|
|
1589
|
+
case "application/octet-stream":
|
|
1590
|
+
resultData = toDownloadableBlob(await fetchResponse.blob());
|
|
1591
|
+
break;
|
|
1592
|
+
default:
|
|
1593
|
+
try {
|
|
1594
|
+
resultData = await fetchResponse.text();
|
|
1595
|
+
resultData = JSON.parse(resultData);
|
|
1596
|
+
} catch {
|
|
1597
|
+
}
|
|
1598
|
+
break;
|
|
1562
1599
|
}
|
|
1563
1600
|
const { status, statusText, headers } = fetchResponse;
|
|
1564
1601
|
const errorMsg = `request to '${url}' failed with status ${status} ${statusText}.`;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
invokeFetch,
|
|
5
5
|
isWindows,
|
|
6
6
|
toValidWebsocketLocationUrl
|
|
7
|
-
} from "./
|
|
8
|
-
import "./
|
|
7
|
+
} from "./KDW6ZD2R.mjs";
|
|
8
|
+
import "./VSY5YIQY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
11
11
|
var globalEventListeners = /* @__PURE__ */ new Set();
|
|
@@ -83,7 +83,7 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
83
83
|
return authSuggestedInWebsocket;
|
|
84
84
|
}
|
|
85
85
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
86
|
-
const { createEnigmaSession } = await import("./
|
|
86
|
+
const { createEnigmaSession } = await import("./YDB23Q56.mjs");
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _4HB3TAEOjs = require('./4HB3TAEO.js');
|
|
4
4
|
|
|
5
5
|
// src/platform/platform-functions.ts
|
|
6
6
|
var getPlatform = async (options = {}) => {
|
|
@@ -493,7 +493,7 @@ function isBrowser() {
|
|
|
493
493
|
return typeof window === "object" && typeof window.document === "object";
|
|
494
494
|
}
|
|
495
495
|
function isNode() {
|
|
496
|
-
return typeof process === "object" && typeof
|
|
496
|
+
return typeof process === "object" && typeof _4HB3TAEOjs.__require === "function";
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
// src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
|
|
@@ -1103,6 +1103,12 @@ function shouldUseCachedResult(options, cacheEntry, defaultMaxCacheTime) {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
var shouldPopulateCache = (method) => method === "get" || method === "GET";
|
|
1105
1105
|
function clone(value) {
|
|
1106
|
+
if (value && (value instanceof Blob || value instanceof Object && value.toString() === "[object Blob]")) {
|
|
1107
|
+
return value;
|
|
1108
|
+
}
|
|
1109
|
+
if (typeof value === "string") {
|
|
1110
|
+
return value;
|
|
1111
|
+
}
|
|
1106
1112
|
return JSON.parse(JSON.stringify(value));
|
|
1107
1113
|
}
|
|
1108
1114
|
function isModifyingVerb2(verb) {
|
|
@@ -1210,11 +1216,33 @@ async function performActualHttpFetch(method, completeUrl, unencodedBody, conten
|
|
|
1210
1216
|
if (_optionalChain([interceptors, 'optionalAccess', _26 => _26.request, 'access', _27 => _27.hasInterceptors, 'call', _28 => _28()])) {
|
|
1211
1217
|
request = await interceptors.request.apply(completeUrl, request);
|
|
1212
1218
|
}
|
|
1213
|
-
|
|
1219
|
+
let fetchResponse = await fetchAndTransformExceptions(completeUrl, request);
|
|
1220
|
+
const location = fetchResponse.headers.get("location");
|
|
1221
|
+
if (location && request.redirect === "follow" && fetchResponse.status === 201) {
|
|
1222
|
+
const followRequest = {
|
|
1223
|
+
method: "get",
|
|
1224
|
+
credentials,
|
|
1225
|
+
mode: request.mode,
|
|
1226
|
+
headers,
|
|
1227
|
+
redirect: request.redirect
|
|
1228
|
+
};
|
|
1229
|
+
let followUrl;
|
|
1230
|
+
try {
|
|
1231
|
+
followUrl = new URL(location).toString();
|
|
1232
|
+
} catch (e3) {
|
|
1233
|
+
try {
|
|
1234
|
+
const { origin } = new URL(completeUrl);
|
|
1235
|
+
followUrl = `${origin}/${location}`;
|
|
1236
|
+
} catch (e4) {
|
|
1237
|
+
followUrl = location;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
fetchResponse = await fetchAndTransformExceptions(followUrl, followRequest);
|
|
1241
|
+
}
|
|
1214
1242
|
if (fetchTimeoutId) {
|
|
1215
1243
|
clearTimeout(fetchTimeoutId);
|
|
1216
1244
|
}
|
|
1217
|
-
let invokeFetchResponse = await
|
|
1245
|
+
let invokeFetchResponse = await parseFetchResponse(fetchResponse, completeUrl);
|
|
1218
1246
|
if (_optionalChain([interceptors, 'optionalAccess', _29 => _29.response, 'access', _30 => _30.hasInterceptors, 'call', _31 => _31()])) {
|
|
1219
1247
|
invokeFetchResponse = await interceptors.response.apply(invokeFetchResponse);
|
|
1220
1248
|
}
|
|
@@ -1408,6 +1436,9 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
|
|
|
1408
1436
|
function addPagingFunctions(api, value, method, body, options, interceptors, authHeaders, credentials) {
|
|
1409
1437
|
return value.then((resp) => {
|
|
1410
1438
|
const dataWithPotentialLinks = resp.data;
|
|
1439
|
+
if (!dataWithPotentialLinks) {
|
|
1440
|
+
return resp;
|
|
1441
|
+
}
|
|
1411
1442
|
const prevUrl = _optionalChain([dataWithPotentialLinks, 'access', _36 => _36.links, 'optionalAccess', _37 => _37.prev, 'optionalAccess', _38 => _38.href]);
|
|
1412
1443
|
const nextUrl = _optionalChain([dataWithPotentialLinks, 'access', _39 => _39.links, 'optionalAccess', _40 => _40.next, 'optionalAccess', _41 => _41.href]);
|
|
1413
1444
|
if (prevUrl) {
|
|
@@ -1473,27 +1504,21 @@ async function interceptAuthenticationErrors(hostConfig, resultPromise, performR
|
|
|
1473
1504
|
throw error;
|
|
1474
1505
|
}
|
|
1475
1506
|
}
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
|
|
1507
|
+
function toDownloadableBlob(blob) {
|
|
1508
|
+
const result2 = blob;
|
|
1509
|
+
result2.download = (filename) => download(blob, filename);
|
|
1510
|
+
return result2;
|
|
1511
|
+
}
|
|
1512
|
+
async function download(blob, filename) {
|
|
1513
|
+
if (isBrowser()) {
|
|
1514
|
+
const a = document.createElement("a");
|
|
1515
|
+
a.href = window.URL.createObjectURL(blob);
|
|
1516
|
+
a.download = filename;
|
|
1517
|
+
a.click();
|
|
1518
|
+
} else {
|
|
1519
|
+
const { writeFileSync } = await Promise.resolve().then(() => _interopRequireWildcard(require("fs")));
|
|
1520
|
+
writeFileSync(filename, Buffer.from(await blob.arrayBuffer()));
|
|
1490
1521
|
}
|
|
1491
|
-
const invokeFetchResponse = {
|
|
1492
|
-
status,
|
|
1493
|
-
headers,
|
|
1494
|
-
data: resultData
|
|
1495
|
-
};
|
|
1496
|
-
return invokeFetchResponse;
|
|
1497
1522
|
}
|
|
1498
1523
|
|
|
1499
1524
|
// src/invoke-fetch/invoke-fetch-error.ts
|
|
@@ -1555,10 +1580,22 @@ function clearApiCache(api) {
|
|
|
1555
1580
|
}
|
|
1556
1581
|
async function parseFetchResponse(fetchResponse, url) {
|
|
1557
1582
|
let resultData;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1583
|
+
const contentType = _optionalChain([fetchResponse, 'access', _46 => _46.headers, 'access', _47 => _47.get, 'call', _48 => _48("content-type"), 'optionalAccess', _49 => _49.split, 'call', _50 => _50(";"), 'access', _51 => _51[0]]);
|
|
1584
|
+
switch (contentType) {
|
|
1585
|
+
case "image/png":
|
|
1586
|
+
case "image/jpeg":
|
|
1587
|
+
case "image/x-icon":
|
|
1588
|
+
case "application/offset+octet-stream":
|
|
1589
|
+
case "application/octet-stream":
|
|
1590
|
+
resultData = toDownloadableBlob(await fetchResponse.blob());
|
|
1591
|
+
break;
|
|
1592
|
+
default:
|
|
1593
|
+
try {
|
|
1594
|
+
resultData = await fetchResponse.text();
|
|
1595
|
+
resultData = JSON.parse(resultData);
|
|
1596
|
+
} catch (e5) {
|
|
1597
|
+
}
|
|
1598
|
+
break;
|
|
1562
1599
|
}
|
|
1563
1600
|
const { status, statusText, headers } = fetchResponse;
|
|
1564
1601
|
const errorMsg = `request to '${url}' failed with status ${status} ${statusText}.`;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
|
|
9
|
+
require('./4HB3TAEO.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.EncodingError = _PQ4OWSWXjs.EncodingError; exports.InvokeFetchError = _PQ4OWSWXjs.InvokeFetchError; exports.clearApiCache = _PQ4OWSWXjs.clearApiCache; exports.default = _PQ4OWSWXjs.invoke_fetch_default; exports.invokeFetch = _PQ4OWSWXjs.invokeFetch; exports.parseFetchResponse = _PQ4OWSWXjs.parseFetchResponse;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!globalThis.process?.argv;
|
|
4
|
-
return isNode ? import("./
|
|
4
|
+
return isNode ? import("./WQHUX4R2.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!globalThis.process?.argv;
|
|
9
|
-
return isNode ? import("./
|
|
9
|
+
return isNode ? import("./L7DRRU3T.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!globalThis.process?.argv;
|
|
14
|
-
return isNode ? import("./
|
|
14
|
+
return isNode ? import("./AU62SBT4.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!_optionalChain([globalThis, 'access', _ => _.process, 'optionalAccess', _2 => _2.argv]);
|
|
4
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
4
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./37STYSYC.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!_optionalChain([globalThis, 'access', _3 => _3.process, 'optionalAccess', _4 => _4.argv]);
|
|
9
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
9
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./F7GJTDIU.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!_optionalChain([globalThis, 'access', _5 => _5.process, 'optionalAccess', _6 => _6.argv]);
|
|
14
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
14
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./VC2LAFLZ.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
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; }require('./
|
|
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; }require('./4HB3TAEO.js');
|
|
2
2
|
|
|
3
3
|
// node_modules/.pnpm/@qlik+runtime-module-loader@0.2.4/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
|
|
4
4
|
window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
toValidEnigmaLocationUrl,
|
|
18
18
|
toValidLocationUrl,
|
|
19
19
|
toValidWebsocketLocationUrl
|
|
20
|
-
} from "./
|
|
21
|
-
import "./
|
|
20
|
+
} from "./KDW6ZD2R.mjs";
|
|
21
|
+
import "./VSY5YIQY.mjs";
|
|
22
22
|
export {
|
|
23
23
|
AuthorizationError,
|
|
24
24
|
InvalidAuthTypeError,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _W2I5OQA5js = require('./W2I5OQA5.js');
|
|
4
4
|
|
|
5
5
|
// src/public/auth.ts
|
|
6
6
|
function registerAuthModule(name, authModule) {
|
|
7
|
-
void
|
|
7
|
+
void _W2I5OQA5js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
|
|
8
8
|
}
|
|
9
9
|
function logout() {
|
|
10
|
-
void
|
|
10
|
+
void _W2I5OQA5js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
|
|
11
11
|
}
|
|
12
12
|
function setDefaultHostConfig(hostConfig) {
|
|
13
|
-
void
|
|
13
|
+
void _W2I5OQA5js.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
|
|
14
14
|
}
|
|
15
15
|
var auth_default = {
|
|
16
16
|
registerAuthModule,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
getRestCallAuthParams,
|
|
3
3
|
getWebSocketAuthParams,
|
|
4
4
|
toValidWebsocketLocationUrl
|
|
5
|
-
} from "./
|
|
6
|
-
import "./
|
|
5
|
+
} from "./KDW6ZD2R.mjs";
|
|
6
|
+
import "./VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/qix/session/enigma-session.ts
|
|
9
9
|
import enigma from "enigma.js";
|
package/collections.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type CollectionByIdPatch = {
|
|
@@ -275,31 +275,15 @@ type CreateCollectionHttpError = {
|
|
|
275
275
|
*/
|
|
276
276
|
declare const getFavoritesCollection: (options?: ApiCallOptions) => Promise<GetFavoritesCollectionHttpResponse>;
|
|
277
277
|
type GetFavoritesCollectionHttpResponse = {
|
|
278
|
-
data:
|
|
278
|
+
data: CollectionResultResponseBody;
|
|
279
279
|
headers: Headers;
|
|
280
280
|
status: number;
|
|
281
281
|
};
|
|
282
|
-
type
|
|
283
|
-
data: unknown;
|
|
284
|
-
headers: Headers;
|
|
285
|
-
status: 302;
|
|
286
|
-
};
|
|
287
|
-
type GetFavoritesCollection401HttpError = {
|
|
282
|
+
type GetFavoritesCollectionHttpError = {
|
|
288
283
|
data: ErrorResponseBody;
|
|
289
284
|
headers: Headers;
|
|
290
|
-
status:
|
|
291
|
-
};
|
|
292
|
-
type GetFavoritesCollection404HttpError = {
|
|
293
|
-
data: ErrorResponseBody;
|
|
294
|
-
headers: Headers;
|
|
295
|
-
status: 404;
|
|
296
|
-
};
|
|
297
|
-
type GetFavoritesCollection500HttpError = {
|
|
298
|
-
data: ErrorResponseBody;
|
|
299
|
-
headers: Headers;
|
|
300
|
-
status: 500;
|
|
285
|
+
status: number;
|
|
301
286
|
};
|
|
302
|
-
type GetFavoritesCollectionHttpError = GetFavoritesCollection302HttpError | GetFavoritesCollection401HttpError | GetFavoritesCollection404HttpError | GetFavoritesCollection500HttpError;
|
|
303
287
|
/**
|
|
304
288
|
* Deletes a collection and removes all items from the collection.
|
|
305
289
|
*
|
|
@@ -566,4 +550,4 @@ interface CollectionsAPI {
|
|
|
566
550
|
*/
|
|
567
551
|
declare const collectionsExport: CollectionsAPI;
|
|
568
552
|
|
|
569
|
-
export { type AddCollectionItemHttpError, type AddCollectionItemHttpResponse, type CollectionByIdPatch, type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsAPI, type CollectionsAddCollectionItemRequestBody, type CollectionsCreateCollectionRequestBody, type CollectionsLinksResponseBody, type CollectionsListCollectionItemsResponseBody, type CollectionsListCollectionsResponseBody, type CollectionsUpdateCollectionRequestBody, type CreateCollectionHttpError, type CreateCollectionHttpResponse, type DeleteCollectionHttpError, type DeleteCollectionHttpResponse, type DeleteCollectionItemHttpError, type DeleteCollectionItemHttpResponse, type ErrorResponseBody, type GetCollectionHttpError, type GetCollectionHttpResponse, type GetCollectionItemHttpError, type GetCollectionItemHttpResponse, type GetCollectionItemsHttpError, type GetCollectionItemsHttpResponse, type GetCollectionsHttpError, type GetCollectionsHttpResponse, type
|
|
553
|
+
export { type AddCollectionItemHttpError, type AddCollectionItemHttpResponse, type CollectionByIdPatch, type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsAPI, type CollectionsAddCollectionItemRequestBody, type CollectionsCreateCollectionRequestBody, type CollectionsLinksResponseBody, type CollectionsListCollectionItemsResponseBody, type CollectionsListCollectionsResponseBody, type CollectionsUpdateCollectionRequestBody, type CreateCollectionHttpError, type CreateCollectionHttpResponse, type DeleteCollectionHttpError, type DeleteCollectionHttpResponse, type DeleteCollectionItemHttpError, type DeleteCollectionItemHttpResponse, type ErrorResponseBody, type GetCollectionHttpError, type GetCollectionHttpResponse, type GetCollectionItemHttpError, type GetCollectionItemHttpResponse, type GetCollectionItemsHttpError, type GetCollectionItemsHttpResponse, type GetCollectionsHttpError, type GetCollectionsHttpResponse, type GetFavoritesCollectionHttpError, type GetFavoritesCollectionHttpResponse, type ItemLinksResponseBody, type ItemMetaResponseBody, type ItemResourceTypeEnum, type ItemResultResponseBody, type ItemTagResponseBody, type ItemViewsResponseBody, type ItemViewsWeeksResponseBody, type ItemsLinksResponseBody, type ItemsResourceSizeResponseBody, type ItemsResultResponseBody, type Link, type Meta, type PatchCollectionHttpError, type PatchCollectionHttpResponse, type ServiceError, type UpdateCollectionHttpError, type UpdateCollectionHttpResponse, addCollectionItem, clearCache, createCollection, collectionsExport as default, deleteCollection, deleteCollectionItem, getCollection, getCollectionItem, getCollectionItems, getCollections, getFavoritesCollection, patchCollection, updateCollection };
|
package/collections.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type CollectionByIdPatch = {
|
|
@@ -275,31 +275,15 @@ type CreateCollectionHttpError = {
|
|
|
275
275
|
*/
|
|
276
276
|
declare const getFavoritesCollection: (options?: ApiCallOptions) => Promise<GetFavoritesCollectionHttpResponse>;
|
|
277
277
|
type GetFavoritesCollectionHttpResponse = {
|
|
278
|
-
data:
|
|
278
|
+
data: CollectionResultResponseBody;
|
|
279
279
|
headers: Headers;
|
|
280
280
|
status: number;
|
|
281
281
|
};
|
|
282
|
-
type
|
|
283
|
-
data: unknown;
|
|
284
|
-
headers: Headers;
|
|
285
|
-
status: 302;
|
|
286
|
-
};
|
|
287
|
-
type GetFavoritesCollection401HttpError = {
|
|
282
|
+
type GetFavoritesCollectionHttpError = {
|
|
288
283
|
data: ErrorResponseBody;
|
|
289
284
|
headers: Headers;
|
|
290
|
-
status:
|
|
291
|
-
};
|
|
292
|
-
type GetFavoritesCollection404HttpError = {
|
|
293
|
-
data: ErrorResponseBody;
|
|
294
|
-
headers: Headers;
|
|
295
|
-
status: 404;
|
|
296
|
-
};
|
|
297
|
-
type GetFavoritesCollection500HttpError = {
|
|
298
|
-
data: ErrorResponseBody;
|
|
299
|
-
headers: Headers;
|
|
300
|
-
status: 500;
|
|
285
|
+
status: number;
|
|
301
286
|
};
|
|
302
|
-
type GetFavoritesCollectionHttpError = GetFavoritesCollection302HttpError | GetFavoritesCollection401HttpError | GetFavoritesCollection404HttpError | GetFavoritesCollection500HttpError;
|
|
303
287
|
/**
|
|
304
288
|
* Deletes a collection and removes all items from the collection.
|
|
305
289
|
*
|
|
@@ -566,4 +550,4 @@ interface CollectionsAPI {
|
|
|
566
550
|
*/
|
|
567
551
|
declare const collectionsExport: CollectionsAPI;
|
|
568
552
|
|
|
569
|
-
export { type AddCollectionItemHttpError, type AddCollectionItemHttpResponse, type CollectionByIdPatch, type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsAPI, type CollectionsAddCollectionItemRequestBody, type CollectionsCreateCollectionRequestBody, type CollectionsLinksResponseBody, type CollectionsListCollectionItemsResponseBody, type CollectionsListCollectionsResponseBody, type CollectionsUpdateCollectionRequestBody, type CreateCollectionHttpError, type CreateCollectionHttpResponse, type DeleteCollectionHttpError, type DeleteCollectionHttpResponse, type DeleteCollectionItemHttpError, type DeleteCollectionItemHttpResponse, type ErrorResponseBody, type GetCollectionHttpError, type GetCollectionHttpResponse, type GetCollectionItemHttpError, type GetCollectionItemHttpResponse, type GetCollectionItemsHttpError, type GetCollectionItemsHttpResponse, type GetCollectionsHttpError, type GetCollectionsHttpResponse, type
|
|
553
|
+
export { type AddCollectionItemHttpError, type AddCollectionItemHttpResponse, type CollectionByIdPatch, type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsAPI, type CollectionsAddCollectionItemRequestBody, type CollectionsCreateCollectionRequestBody, type CollectionsLinksResponseBody, type CollectionsListCollectionItemsResponseBody, type CollectionsListCollectionsResponseBody, type CollectionsUpdateCollectionRequestBody, type CreateCollectionHttpError, type CreateCollectionHttpResponse, type DeleteCollectionHttpError, type DeleteCollectionHttpResponse, type DeleteCollectionItemHttpError, type DeleteCollectionItemHttpResponse, type ErrorResponseBody, type GetCollectionHttpError, type GetCollectionHttpResponse, type GetCollectionItemHttpError, type GetCollectionItemHttpResponse, type GetCollectionItemsHttpError, type GetCollectionItemsHttpResponse, type GetCollectionsHttpError, type GetCollectionsHttpResponse, type GetFavoritesCollectionHttpError, type GetFavoritesCollectionHttpResponse, type ItemLinksResponseBody, type ItemMetaResponseBody, type ItemResourceTypeEnum, type ItemResultResponseBody, type ItemTagResponseBody, type ItemViewsResponseBody, type ItemViewsWeeksResponseBody, type ItemsLinksResponseBody, type ItemsResourceSizeResponseBody, type ItemsResultResponseBody, type Link, type Meta, type PatchCollectionHttpError, type PatchCollectionHttpResponse, type ServiceError, type UpdateCollectionHttpError, type UpdateCollectionHttpResponse, addCollectionItem, clearCache, createCollection, collectionsExport as default, deleteCollection, deleteCollectionItem, getCollection, getCollectionItem, getCollectionItems, getCollections, getFavoritesCollection, patchCollection, updateCollection };
|