@qlik/api 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/api-keys.d.mts +10 -1
  2. package/api-keys.d.ts +10 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +134 -8
  6. package/apps.d.ts +134 -8
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +14 -1
  10. package/audits.d.ts +14 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +9 -1
  16. package/automations.d.ts +9 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +19 -4
  20. package/brands.d.ts +19 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
  24. package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
  25. package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
  26. package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
  27. package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
  28. package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
  29. package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
  32. package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
  33. package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
  34. package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
  35. package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
  36. package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
  37. package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
  38. package/chunks/RMNAO4DP.js +17 -0
  39. package/chunks/SUYUL6MB.js +41 -0
  40. package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
  41. package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
  42. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  43. package/collections.d.mts +34 -22
  44. package/collections.d.ts +34 -22
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +13 -2
  56. package/data-connections.d.ts +13 -2
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +6 -1
  60. package/data-credentials.d.ts +6 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +7 -1
  64. package/data-files.d.ts +7 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +13 -1
  68. package/extensions.d.ts +13 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +51 -1
  74. package/glossaries.d.ts +51 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +40 -1
  78. package/groups.d.ts +40 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +43 -1
  82. package/identity-providers.d.ts +43 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +33 -2
  90. package/items.d.ts +33 -2
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +8 -5
  94. package/licenses.d.ts +8 -5
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +4 -1
  103. package/quotas.d.ts +4 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +7 -4
  107. package/reload-tasks.d.ts +7 -4
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +10 -1
  111. package/reloads.d.ts +10 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +11 -2
  115. package/roles.d.ts +11 -2
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +38 -6
  119. package/spaces.d.ts +38 -6
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +7 -1
  123. package/temp-contents.d.ts +7 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +18 -6
  127. package/tenants.d.ts +18 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +10 -1
  131. package/themes.d.ts +10 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +21 -12
  135. package/transports.d.ts +21 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +90 -25
  139. package/users.d.ts +90 -25
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +19 -1
  143. package/web-integrations.d.ts +19 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +19 -1
  147. package/web-notifications.d.ts +19 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +4 -1
  151. package/webhooks.d.ts +4 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-XY6FVSVM.js +0 -41
  155. package/invoke-fetch-FRLO3CK6.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./chunk-ZFXKCRJC.mjs";
3
+ } from "./VSY5YIQY.mjs";
4
4
 
5
5
  // src/platform/platform-functions.ts
6
6
  var getPlatform = async (options = {}) => {
@@ -495,6 +495,46 @@ function isBrowser() {
495
495
  function isNode() {
496
496
  return typeof process === "object" && typeof __require === "function";
497
497
  }
498
+ function generateRandomString(targetLength) {
499
+ const byteArrayLength = Math.ceil(targetLength * 3 / 4);
500
+ const array = new Uint8Array(byteArrayLength);
501
+ globalThis.crypto.getRandomValues(array);
502
+ const base64UrlString = toBase64Url(array);
503
+ return base64UrlString.substring(0, targetLength);
504
+ }
505
+ function toBase64Url(uint8Array) {
506
+ const hashArray = Array.from(uint8Array);
507
+ const regularBase64 = byteArrayToBase64(hashArray);
508
+ return regularBase64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
509
+ }
510
+ function byteArrayToBase64(hashArray) {
511
+ let result2 = "";
512
+ if (isBrowser()) {
513
+ const byteArrayToString = String.fromCharCode.apply(null, hashArray);
514
+ result2 = btoa(byteArrayToString);
515
+ } else if (isNode()) {
516
+ result2 = Buffer.from(hashArray).toString("base64");
517
+ } else {
518
+ throw new Error("Environment not supported for oauth2 authentication");
519
+ }
520
+ return result2;
521
+ }
522
+ async function sha256(message) {
523
+ const msgBuffer = new TextEncoder().encode(message);
524
+ const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
525
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
526
+ const hashBase64 = byteArrayToBase64(hashArray);
527
+ return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
528
+ }
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();
498
538
 
499
539
  // src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
500
540
  var storagePrefix = "qlik-qmfe-api";
@@ -619,42 +659,11 @@ function handleOAuthCallback() {
619
659
  }
620
660
 
621
661
  // src/auth/internal/default-auth-modules/oauth/oauth-utils.ts
622
- function generateRandomString(targetLength) {
623
- const byteArrayLength = Math.ceil(targetLength * 3 / 4);
624
- const array = new Uint8Array(byteArrayLength);
625
- globalThis.crypto.getRandomValues(array);
626
- const base64UrlString = toBase64Url(array);
627
- return base64UrlString.substring(0, targetLength);
628
- }
629
- function toBase64Url(uint8Array) {
630
- const hashArray = Array.from(uint8Array);
631
- const regularBase64 = byteArrayToBase64(hashArray);
632
- return regularBase64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
633
- }
634
- function byteArrayToBase64(hashArray) {
635
- let result2 = "";
636
- if (isBrowser()) {
637
- const byteArrayToString = String.fromCharCode.apply(null, hashArray);
638
- result2 = btoa(byteArrayToString);
639
- } else if (isNode()) {
640
- result2 = Buffer.from(hashArray).toString("base64");
641
- } else {
642
- throw new Error("Environment not supported for oauth2 authentication");
643
- }
644
- return result2;
645
- }
646
662
  function handlePossibleErrors(data) {
647
663
  if (data.errors) {
648
664
  throw new AuthorizationError(data.errors);
649
665
  }
650
666
  }
651
- async function sha256(message) {
652
- const msgBuffer = new TextEncoder().encode(message);
653
- const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
654
- const hashArray = Array.from(new Uint8Array(hashBuffer));
655
- const hashBase64 = byteArrayToBase64(hashArray);
656
- return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
657
- }
658
667
  function toQueryString(queryParams) {
659
668
  const queryParamsKeys = Object.keys(queryParams);
660
669
  queryParamsKeys.sort();
@@ -1103,6 +1112,12 @@ function shouldUseCachedResult(options, cacheEntry, defaultMaxCacheTime) {
1103
1112
  }
1104
1113
  var shouldPopulateCache = (method) => method === "get" || method === "GET";
1105
1114
  function clone(value) {
1115
+ if (value && (value instanceof Blob || value instanceof Object && value.toString() === "[object Blob]")) {
1116
+ return value;
1117
+ }
1118
+ if (typeof value === "string") {
1119
+ return value;
1120
+ }
1106
1121
  return JSON.parse(JSON.stringify(value));
1107
1122
  }
1108
1123
  function isModifyingVerb2(verb) {
@@ -1214,7 +1229,7 @@ async function performActualHttpFetch(method, completeUrl, unencodedBody, conten
1214
1229
  if (fetchTimeoutId) {
1215
1230
  clearTimeout(fetchTimeoutId);
1216
1231
  }
1217
- let invokeFetchResponse = await parseFetchResponse2(fetchResponse, completeUrl);
1232
+ let invokeFetchResponse = await parseFetchResponse(fetchResponse, completeUrl);
1218
1233
  if (interceptors?.response.hasInterceptors()) {
1219
1234
  invokeFetchResponse = await interceptors.response.apply(invokeFetchResponse);
1220
1235
  }
@@ -1476,27 +1491,21 @@ async function interceptAuthenticationErrors(hostConfig, resultPromise, performR
1476
1491
  throw error;
1477
1492
  }
1478
1493
  }
1479
- async function parseFetchResponse2(fetchResponse, url) {
1480
- let resultData;
1481
- try {
1482
- resultData = await fetchResponse.text();
1483
- resultData = JSON.parse(resultData);
1484
- } catch {
1485
- }
1486
- const { status, statusText, headers } = fetchResponse;
1487
- const errorMsg = `request to '${url}' failed with status ${status} ${statusText}.`;
1488
- if (status >= 300) {
1489
- throw new InvokeFetchError(errorMsg, status, headers, resultData);
1490
- }
1491
- if (status === 0) {
1492
- throw new InvokeFetchError(errorMsg, 302, headers, resultData);
1494
+ function toDownloadableBlob(blob) {
1495
+ const result2 = blob;
1496
+ result2.download = (filename) => download(blob, filename);
1497
+ return result2;
1498
+ }
1499
+ async function download(blob, filename) {
1500
+ if (isBrowser()) {
1501
+ const a = document.createElement("a");
1502
+ a.href = window.URL.createObjectURL(blob);
1503
+ a.download = filename;
1504
+ a.click();
1505
+ } else {
1506
+ const { writeFileSync } = await import("fs");
1507
+ writeFileSync(filename, Buffer.from(await blob.arrayBuffer()));
1493
1508
  }
1494
- const invokeFetchResponse = {
1495
- status,
1496
- headers,
1497
- data: resultData
1498
- };
1499
- return invokeFetchResponse;
1500
1509
  }
1501
1510
 
1502
1511
  // src/invoke-fetch/invoke-fetch-error.ts
@@ -1558,10 +1567,22 @@ function clearApiCache(api) {
1558
1567
  }
1559
1568
  async function parseFetchResponse(fetchResponse, url) {
1560
1569
  let resultData;
1561
- try {
1562
- resultData = await fetchResponse.text();
1563
- resultData = JSON.parse(resultData);
1564
- } catch {
1570
+ const contentType = fetchResponse.headers.get("content-type")?.split(";")[0];
1571
+ switch (contentType) {
1572
+ case "image/png":
1573
+ case "image/jpeg":
1574
+ case "image/x-icon":
1575
+ case "application/offset+octet-stream":
1576
+ case "application/octet-stream":
1577
+ resultData = toDownloadableBlob(await fetchResponse.blob());
1578
+ break;
1579
+ default:
1580
+ try {
1581
+ resultData = await fetchResponse.text();
1582
+ resultData = JSON.parse(resultData);
1583
+ } catch {
1584
+ }
1585
+ break;
1565
1586
  }
1566
1587
  const { status, statusText, headers } = fetchResponse;
1567
1588
  const errorMsg = `request to '${url}' failed with status ${status} ${statusText}.`;
@@ -1606,6 +1627,7 @@ export {
1606
1627
  setDefaultHostConfig2 as setDefaultHostConfig,
1607
1628
  checkForCrossDomainRequest,
1608
1629
  logout,
1630
+ generateRandomString,
1609
1631
  InvokeFetchError,
1610
1632
  EncodingError,
1611
1633
  invokeFetch,
@@ -4,8 +4,8 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkQTCDGPKSjs = require('./chunk-QTCDGPKS.js');
8
- require('./chunk-P57PW2II.js');
7
+ var _37PLWNANjs = require('./37PLWNAN.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 = _chunkQTCDGPKSjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
39
+ const locationUrl = _37PLWNANjs.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("./enigma-session-VTHT4O6N.js")));
86
+ const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./AVQ3WHH7.js")));
87
87
  const session = await createEnigmaSession(props);
88
88
  setupSessionListeners(session, props);
89
89
  let global;
90
- if (await _chunkQTCDGPKSjs.isWindows.call(void 0, props.hostConfig)) {
90
+ if (await _37PLWNANjs.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 _chunkQTCDGPKSjs.handleAuthenticationError.call(void 0, {
95
+ const action = await _37PLWNANjs.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 = _chunkQTCDGPKSjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
- const fetchMe = _chunkQTCDGPKSjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
392
+ const fetchRoot = _37PLWNANjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
+ const fetchMe = _37PLWNANjs.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 _chunkQTCDGPKSjs.getPlatform.call(void 0, )).isCloud) {
438
+ if ((await _37PLWNANjs.getPlatform.call(void 0, )).isCloud) {
439
439
  sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
440
440
  } else {
441
441
  sharedSession = await getOrCreateSharedSession({
@@ -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('./chunk-P57PW2II.js');
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 || {};
package/collections.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type CollectionByIdPatch = {
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
22
22
  name: string;
23
23
  type: CollectionTypes;
24
24
  };
25
+ /**
26
+ * ListCollectionItemsResponseBody result type
27
+ */
25
28
  type CollectionsListCollectionItemsResponseBody = {
26
29
  data: ItemResultResponseBody[];
27
30
  };
31
+ /**
32
+ * ListCollectionsResponseBody result type
33
+ */
28
34
  type CollectionsListCollectionsResponseBody = {
29
35
  data: CollectionResultResponseBody[];
30
36
  links: CollectionsLinksResponseBody;
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
52
58
  items?: Link;
53
59
  self?: Link;
54
60
  };
61
+ /**
62
+ * Collection metadata and computed fields.
63
+ */
55
64
  type CollectionMetaResponseBody = {
56
65
  /** Multiple items. */
57
66
  items?: ItemsResultResponseBody;
58
67
  };
68
+ /**
69
+ * A collection.
70
+ */
59
71
  type CollectionResultResponseBody = {
60
72
  /** The RFC3339 datetime when the collection was created. */
61
73
  createdAt: string;
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
92
104
  self?: Link;
93
105
  thumbnail?: Link;
94
106
  };
107
+ /**
108
+ * Item metadata and computed fields.
109
+ */
95
110
  type ItemMetaResponseBody = {
96
111
  /** The actions that the user can perform on the item. */
97
112
  actions: string[];
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
102
117
  /** An array of tags that the item is part of. */
103
118
  tags: ItemTagResponseBody[];
104
119
  };
120
+ /**
121
+ * The case-sensitive string defining the item's type.
122
+ */
105
123
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ /**
125
+ * An item.
126
+ */
106
127
  type ItemResultResponseBody = {
107
128
  /** The actions that the user can perform on the item. */
108
129
  actions: string[];
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
154
175
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
155
176
  updaterId?: string;
156
177
  };
178
+ /**
179
+ * Holds basic information about a tag or collection.
180
+ */
157
181
  type ItemTagResponseBody = {
158
182
  /** The ID of the tag/collection. */
159
183
  id: string;
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
191
215
  /** Size of the app in memory in bytes. */
192
216
  appMemory?: number;
193
217
  };
218
+ /**
219
+ * Multiple items.
220
+ */
194
221
  type ItemsResultResponseBody = {
195
222
  data: ItemResultResponseBody[];
196
223
  links: ItemsLinksResponseBody;
@@ -275,31 +302,15 @@ type CreateCollectionHttpError = {
275
302
  */
276
303
  declare const getFavoritesCollection: (options?: ApiCallOptions) => Promise<GetFavoritesCollectionHttpResponse>;
277
304
  type GetFavoritesCollectionHttpResponse = {
278
- data: void;
305
+ data: CollectionResultResponseBody;
279
306
  headers: Headers;
280
307
  status: number;
281
308
  };
282
- type GetFavoritesCollection302HttpError = {
283
- data: unknown;
284
- headers: Headers;
285
- status: 302;
286
- };
287
- type GetFavoritesCollection401HttpError = {
309
+ type GetFavoritesCollectionHttpError = {
288
310
  data: ErrorResponseBody;
289
311
  headers: Headers;
290
- status: 401;
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;
312
+ status: number;
301
313
  };
302
- type GetFavoritesCollectionHttpError = GetFavoritesCollection302HttpError | GetFavoritesCollection401HttpError | GetFavoritesCollection404HttpError | GetFavoritesCollection500HttpError;
303
314
  /**
304
315
  * Deletes a collection and removes all items from the collection.
305
316
  *
@@ -397,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
397
408
  resourceLink?: string | undefined;
398
409
  /** The case-sensitive string used to search for an item by resourceType. */
399
410
  resourceType?: ItemResourceTypeEnum | undefined;
400
- /** Whether or not to return items in a shared space. */
411
+ /** @deprecated
412
+ * Whether or not to return items in a shared space. */
401
413
  shared?: boolean | undefined;
402
414
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
403
415
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
@@ -566,4 +578,4 @@ interface CollectionsAPI {
566
578
  */
567
579
  declare const collectionsExport: CollectionsAPI;
568
580
 
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 GetFavoritesCollection302HttpError, type GetFavoritesCollection401HttpError, type GetFavoritesCollection404HttpError, type GetFavoritesCollection500HttpError, 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 };
581
+ 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-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type CollectionByIdPatch = {
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
22
22
  name: string;
23
23
  type: CollectionTypes;
24
24
  };
25
+ /**
26
+ * ListCollectionItemsResponseBody result type
27
+ */
25
28
  type CollectionsListCollectionItemsResponseBody = {
26
29
  data: ItemResultResponseBody[];
27
30
  };
31
+ /**
32
+ * ListCollectionsResponseBody result type
33
+ */
28
34
  type CollectionsListCollectionsResponseBody = {
29
35
  data: CollectionResultResponseBody[];
30
36
  links: CollectionsLinksResponseBody;
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
52
58
  items?: Link;
53
59
  self?: Link;
54
60
  };
61
+ /**
62
+ * Collection metadata and computed fields.
63
+ */
55
64
  type CollectionMetaResponseBody = {
56
65
  /** Multiple items. */
57
66
  items?: ItemsResultResponseBody;
58
67
  };
68
+ /**
69
+ * A collection.
70
+ */
59
71
  type CollectionResultResponseBody = {
60
72
  /** The RFC3339 datetime when the collection was created. */
61
73
  createdAt: string;
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
92
104
  self?: Link;
93
105
  thumbnail?: Link;
94
106
  };
107
+ /**
108
+ * Item metadata and computed fields.
109
+ */
95
110
  type ItemMetaResponseBody = {
96
111
  /** The actions that the user can perform on the item. */
97
112
  actions: string[];
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
102
117
  /** An array of tags that the item is part of. */
103
118
  tags: ItemTagResponseBody[];
104
119
  };
120
+ /**
121
+ * The case-sensitive string defining the item's type.
122
+ */
105
123
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ /**
125
+ * An item.
126
+ */
106
127
  type ItemResultResponseBody = {
107
128
  /** The actions that the user can perform on the item. */
108
129
  actions: string[];
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
154
175
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
155
176
  updaterId?: string;
156
177
  };
178
+ /**
179
+ * Holds basic information about a tag or collection.
180
+ */
157
181
  type ItemTagResponseBody = {
158
182
  /** The ID of the tag/collection. */
159
183
  id: string;
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
191
215
  /** Size of the app in memory in bytes. */
192
216
  appMemory?: number;
193
217
  };
218
+ /**
219
+ * Multiple items.
220
+ */
194
221
  type ItemsResultResponseBody = {
195
222
  data: ItemResultResponseBody[];
196
223
  links: ItemsLinksResponseBody;
@@ -275,31 +302,15 @@ type CreateCollectionHttpError = {
275
302
  */
276
303
  declare const getFavoritesCollection: (options?: ApiCallOptions) => Promise<GetFavoritesCollectionHttpResponse>;
277
304
  type GetFavoritesCollectionHttpResponse = {
278
- data: void;
305
+ data: CollectionResultResponseBody;
279
306
  headers: Headers;
280
307
  status: number;
281
308
  };
282
- type GetFavoritesCollection302HttpError = {
283
- data: unknown;
284
- headers: Headers;
285
- status: 302;
286
- };
287
- type GetFavoritesCollection401HttpError = {
309
+ type GetFavoritesCollectionHttpError = {
288
310
  data: ErrorResponseBody;
289
311
  headers: Headers;
290
- status: 401;
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;
312
+ status: number;
301
313
  };
302
- type GetFavoritesCollectionHttpError = GetFavoritesCollection302HttpError | GetFavoritesCollection401HttpError | GetFavoritesCollection404HttpError | GetFavoritesCollection500HttpError;
303
314
  /**
304
315
  * Deletes a collection and removes all items from the collection.
305
316
  *
@@ -397,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
397
408
  resourceLink?: string | undefined;
398
409
  /** The case-sensitive string used to search for an item by resourceType. */
399
410
  resourceType?: ItemResourceTypeEnum | undefined;
400
- /** Whether or not to return items in a shared space. */
411
+ /** @deprecated
412
+ * Whether or not to return items in a shared space. */
401
413
  shared?: boolean | undefined;
402
414
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
403
415
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
@@ -566,4 +578,4 @@ interface CollectionsAPI {
566
578
  */
567
579
  declare const collectionsExport: CollectionsAPI;
568
580
 
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 GetFavoritesCollection302HttpError, type GetFavoritesCollection401HttpError, type GetFavoritesCollection404HttpError, type GetFavoritesCollection500HttpError, 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 };
581
+ 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.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/collections.ts
9
- var getCollections = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
9
+ var getCollections = async (query, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
15
+ var createCollection = async (body, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
22
+ var getFavoritesCollection = async (options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
27
+ var deleteCollection = async (collectionId, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
33
+ var getCollection = async (collectionId, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
39
+ var patchCollection = async (collectionId, body, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.in
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateCollection = async (collectionId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
47
+ var updateCollection = async (collectionId, body, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.i
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getCollectionItems = async (collectionId, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
55
+ var getCollectionItems = async (collectionId, query, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
62
+ var addCollectionItem = async (collectionId, body, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteCollectionItem = async (collectionId, itemId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
70
+ var deleteCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.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) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
76
+ var getCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.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 _chunkEALMXU6Sjs.clearApiCache.call(void 0, "collections");
83
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "collections");
84
84
  }
85
85
  var collectionsExport = {
86
86
  getCollections,
package/collections.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/collections.ts
9
9
  var getCollections = async (query, options) => invokeFetch("collections", {
package/csp-origins.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type CSPEntry = {
package/csp-origins.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type CSPEntry = {