@qlik/api 0.0.12 → 0.0.13

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 (87) hide show
  1. package/api-keys.js +10 -10
  2. package/api-keys.mjs +2 -2
  3. package/apps.js +46 -46
  4. package/apps.mjs +2 -2
  5. package/audits.js +9 -9
  6. package/audits.mjs +2 -2
  7. package/auth.js +3 -3
  8. package/auth.mjs +2 -2
  9. package/automations.js +21 -21
  10. package/automations.mjs +2 -2
  11. package/brands.js +15 -15
  12. package/brands.mjs +2 -2
  13. package/chunks/{JQMXDZQY.mjs → 3INB42LZ.mjs} +1 -1
  14. package/chunks/{45QSVHHO.mjs → 3SBSHHRV.mjs} +2 -2
  15. package/chunks/{WQOWTWQO.js → 6KX2ETIK.js} +24 -45
  16. package/chunks/{5Q6T4ICX.mjs → CX7TY2FM.mjs} +1 -1
  17. package/chunks/GMCMKY65.js +41 -0
  18. package/chunks/{55OD3EOU.js → HHMKNG2O.js} +6 -6
  19. package/chunks/{HWOIITGY.js → ICTODCOL.js} +2 -2
  20. package/chunks/{JMVQWFDT.mjs → IJNQAGVX.mjs} +3 -3
  21. package/chunks/{2PUNHMD4.mjs → J3ZWASEK.mjs} +1 -1
  22. package/chunks/{EGL4ERKM.js → JYRPLJUL.js} +8 -8
  23. package/chunks/{QX32SETN.mjs → JZOX7DKF.mjs} +24 -45
  24. package/chunks/{5IH4NGHZ.mjs → M7UTYYGM.mjs} +1 -1
  25. package/chunks/ME4LNBI3.js +17 -0
  26. package/chunks/{ECGUIOPI.js → SEXEAWEC.js} +3 -3
  27. package/chunks/{A6R47NQV.js → SMKHFJJF.js} +4 -4
  28. package/chunks/{PTU5VIWS.js → TH75GYUY.js} +3 -3
  29. package/chunks/{PLTWBEYY.mjs → VCYQUP4Y.mjs} +1 -1
  30. package/chunks/{HJGTOAVG.mjs → X474LM7J.mjs} +3 -3
  31. package/collections.js +14 -14
  32. package/collections.mjs +2 -2
  33. package/csp-origins.js +9 -9
  34. package/csp-origins.mjs +2 -2
  35. package/data-assets.js +8 -8
  36. package/data-assets.mjs +2 -2
  37. package/data-connections.js +12 -12
  38. package/data-connections.mjs +2 -2
  39. package/data-credentials.js +7 -7
  40. package/data-credentials.mjs +2 -2
  41. package/data-files.js +15 -15
  42. package/data-files.mjs +2 -2
  43. package/extensions.js +10 -10
  44. package/extensions.mjs +2 -2
  45. package/glossaries.js +27 -27
  46. package/glossaries.mjs +2 -2
  47. package/groups.js +11 -11
  48. package/groups.mjs +2 -2
  49. package/identity-providers.js +11 -11
  50. package/identity-providers.mjs +2 -2
  51. package/index.js +8 -8
  52. package/index.mjs +4 -4
  53. package/items.js +11 -11
  54. package/items.mjs +2 -2
  55. package/licenses.js +12 -12
  56. package/licenses.mjs +2 -2
  57. package/package.json +2 -1
  58. package/qix.js +3 -3
  59. package/qix.mjs +2 -2
  60. package/quotas.js +5 -5
  61. package/quotas.mjs +2 -2
  62. package/reload-tasks.js +8 -8
  63. package/reload-tasks.mjs +2 -2
  64. package/reloads.js +7 -7
  65. package/reloads.mjs +2 -2
  66. package/roles.js +5 -5
  67. package/roles.mjs +2 -2
  68. package/spaces.js +15 -15
  69. package/spaces.mjs +2 -2
  70. package/temp-contents.js +6 -6
  71. package/temp-contents.mjs +2 -2
  72. package/tenants.js +9 -9
  73. package/tenants.mjs +2 -2
  74. package/themes.js +10 -10
  75. package/themes.mjs +2 -2
  76. package/transports.js +9 -9
  77. package/transports.mjs +2 -2
  78. package/users.js +13 -13
  79. package/users.mjs +2 -2
  80. package/web-integrations.js +8 -8
  81. package/web-integrations.mjs +2 -2
  82. package/web-notifications.js +9 -9
  83. package/web-notifications.mjs +2 -2
  84. package/webhooks.js +13 -13
  85. package/webhooks.mjs +2 -2
  86. package/chunks/NX7ZEIBH.js +0 -41
  87. package/chunks/PTRQR7GJ.js +0 -17
@@ -489,55 +489,15 @@ var none_default = {
489
489
  };
490
490
 
491
491
  // src/utils/utils.ts
492
+ import { nanoid } from "nanoid";
492
493
  function isBrowser() {
493
494
  return typeof window === "object" && typeof window.document === "object";
494
495
  }
495
496
  function isNode() {
496
497
  return typeof process === "object" && typeof __require === "function";
497
498
  }
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) {
510
- const byteArrayLength = Math.ceil(targetLength * 3 / 4);
511
- const array = new Uint8Array(byteArrayLength);
512
- await addCryptoToGlobal();
513
- globalThis.crypto.getRandomValues(array);
514
- const base64UrlString = toBase64Url(array);
515
- return base64UrlString.substring(0, targetLength);
516
- }
517
- function toBase64Url(uint8Array) {
518
- const hashArray = Array.from(uint8Array);
519
- const regularBase64 = byteArrayToBase64(hashArray);
520
- return regularBase64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
521
- }
522
- function byteArrayToBase64(hashArray) {
523
- let result2 = "";
524
- if (isBrowser()) {
525
- const byteArrayToString = String.fromCharCode.apply(null, hashArray);
526
- result2 = btoa(byteArrayToString);
527
- } else if (isNode()) {
528
- result2 = Buffer.from(hashArray).toString("base64");
529
- } else {
530
- throw new Error("Environment not supported for oauth2 authentication");
531
- }
532
- return result2;
533
- }
534
- async function sha256(message) {
535
- const msgBuffer = new TextEncoder().encode(message);
536
- await addCryptoToGlobal();
537
- const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
538
- const hashArray = Array.from(new Uint8Array(hashBuffer));
539
- const hashBase64 = byteArrayToBase64(hashArray);
540
- return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
499
+ function generateRandomString(targetLength) {
500
+ return nanoid(targetLength);
541
501
  }
542
502
 
543
503
  // src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
@@ -674,11 +634,30 @@ function toQueryString(queryParams) {
674
634
  const query = queryParamsKeys.map((k) => `${k}=${queryParams[k]}`).join("&");
675
635
  return query;
676
636
  }
637
+ function byteArrayToBase64(hashArray) {
638
+ let result2 = "";
639
+ if (isBrowser()) {
640
+ const byteArrayToString = String.fromCharCode.apply(null, hashArray);
641
+ result2 = btoa(byteArrayToString);
642
+ } else if (isNode()) {
643
+ result2 = Buffer.from(hashArray).toString("base64");
644
+ } else {
645
+ throw new Error("Environment not supported for oauth2 authentication");
646
+ }
647
+ return result2;
648
+ }
649
+ async function sha256(message) {
650
+ const msgBuffer = new TextEncoder().encode(message);
651
+ const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
652
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
653
+ const hashBase64 = byteArrayToBase64(hashArray);
654
+ return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
655
+ }
677
656
  async function startFullPageLoginFlow(hostConfig) {
678
657
  const clientId = hostConfig.clientId || "";
679
658
  const locationUrl = toValidLocationUrl(hostConfig);
680
- const verifier = await generateRandomString(128);
681
- const state = await generateRandomString(43);
659
+ const verifier = generateRandomString(128);
660
+ const state = generateRandomString(43);
682
661
  const codeChallenge = await sha256(verifier);
683
662
  const redirectUri = hostConfig.redirectUri || globalThis.location.href;
684
663
  const scopes = ["user_default"];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAuthRuntimeModule
3
- } from "./HJGTOAVG.mjs";
3
+ } from "./X474LM7J.mjs";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _6KX2ETIKjs = require('./6KX2ETIK.js');
9
+ require('./4HB3TAEO.js');
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ exports.EncodingError = _6KX2ETIKjs.EncodingError; exports.InvokeFetchError = _6KX2ETIKjs.InvokeFetchError; exports.clearApiCache = _6KX2ETIKjs.clearApiCache; exports.default = _6KX2ETIKjs.invoke_fetch_default; exports.invokeFetch = _6KX2ETIKjs.invokeFetch; exports.parseFetchResponse = _6KX2ETIKjs.parseFetchResponse;
@@ -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("./NX7ZEIBH.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./GMCMKY65.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("./EGL4ERKM.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./JYRPLJUL.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("./PTRQR7GJ.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./ME4LNBI3.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
 
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _ECGUIOPIjs = require('./ECGUIOPI.js');
3
+ var _SEXEAWECjs = require('./SEXEAWEC.js');
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
7
- void _ECGUIOPIjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
7
+ void _SEXEAWECjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
8
8
  }
9
9
  function logout() {
10
- void _ECGUIOPIjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
10
+ void _SEXEAWECjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
11
11
  }
12
12
  function setDefaultHostConfig(hostConfig) {
13
- void _ECGUIOPIjs.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
13
+ void _SEXEAWECjs.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
14
14
  }
15
15
  var auth_default = {
16
16
  registerAuthModule,
@@ -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 _ECGUIOPIjs = require('./ECGUIOPI.js');
3
+ var _SEXEAWECjs = require('./SEXEAWEC.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 _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
8
+ return (await _SEXEAWECjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
9
9
  }
10
10
  function clearApiCache(api) {
11
- void _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
11
+ void _SEXEAWECjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
12
12
  }
13
13
 
14
14
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./HJGTOAVG.mjs";
3
+ } from "./X474LM7J.mjs";
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
@@ -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("./JQMXDZQY.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? import("./3INB42LZ.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("./45QSVHHO.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? import("./3SBSHHRV.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("./2PUNHMD4.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? import("./J3ZWASEK.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
  export {
package/collections.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
- require('./chunks/ECGUIOPI.js');
4
+ var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
+ require('./chunks/SEXEAWEC.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/collections.ts
9
- var getCollections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
9
+ var getCollections = async (query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
15
+ var createCollection = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
22
+ var getFavoritesCollection = async (options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
27
+ var deleteCollection = async (collectionId, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
33
+ var getCollection = async (collectionId, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
39
+ var patchCollection = async (collectionId, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeF
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateCollection = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
47
+ var updateCollection = async (collectionId, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invoke
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getCollectionItems = async (collectionId, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
55
+ var getCollectionItems = async (collectionId, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
62
+ var addCollectionItem = async (collectionId, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invok
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteCollectionItem = async (collectionId, itemId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
70
+ var deleteCollectionItem = async (collectionId, itemId, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
76
+ var getCollectionItem = async (collectionId, itemId, options) => _TH75GYUYjs.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 _PTU5VIWSjs.clearApiCache.call(void 0, "collections");
83
+ return _TH75GYUYjs.clearApiCache.call(void 0, "collections");
84
84
  }
85
85
  var collectionsExport = {
86
86
  getCollections,
package/collections.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PLTWBEYY.mjs";
5
- import "./chunks/HJGTOAVG.mjs";
4
+ } from "./chunks/VCYQUP4Y.mjs";
5
+ import "./chunks/X474LM7J.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/collections.ts
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 _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
- require('./chunks/ECGUIOPI.js');
4
+ var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
+ require('./chunks/SEXEAWEC.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/csp-origins.ts
9
- var getCSPEntries = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
9
+ var getCSPEntries = async (query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
15
+ var createCSPEntry = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
22
+ var getCSPHeader = async (options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
27
+ var deleteCSPEntry = async (id, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
33
+ var getCSPEntry = async (id, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
39
+ var updateCSPEntry = async (id, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(v
45
45
  options
46
46
  });
47
47
  function clearCache() {
48
- return _PTU5VIWSjs.clearApiCache.call(void 0, "csp-origins");
48
+ return _TH75GYUYjs.clearApiCache.call(void 0, "csp-origins");
49
49
  }
50
50
  var cspOriginsExport = {
51
51
  getCSPEntries,
package/csp-origins.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PLTWBEYY.mjs";
5
- import "./chunks/HJGTOAVG.mjs";
4
+ } from "./chunks/VCYQUP4Y.mjs";
5
+ import "./chunks/X474LM7J.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/csp-origins.ts
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 _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
- require('./chunks/ECGUIOPI.js');
4
+ var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
+ require('./chunks/SEXEAWEC.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-assets.ts
9
- var deleteDataAssets = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
9
+ var deleteDataAssets = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
16
+ var createDataAsset = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
23
+ var getDataAsset = async (dataAssetId, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
30
+ var patchDataAsset = async (dataAssetId, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFet
35
35
  contentType: "application/json",
36
36
  options
37
37
  });
38
- var updateDataAsset = async (dataAssetId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
38
+ var updateDataAsset = async (dataAssetId, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFe
44
44
  options
45
45
  });
46
46
  function clearCache() {
47
- return _PTU5VIWSjs.clearApiCache.call(void 0, "data-assets");
47
+ return _TH75GYUYjs.clearApiCache.call(void 0, "data-assets");
48
48
  }
49
49
  var dataAssetsExport = {
50
50
  deleteDataAssets,
package/data-assets.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PLTWBEYY.mjs";
5
- import "./chunks/HJGTOAVG.mjs";
4
+ } from "./chunks/VCYQUP4Y.mjs";
5
+ import "./chunks/X474LM7J.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -1,60 +1,60 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
- require('./chunks/ECGUIOPI.js');
4
+ var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
+ require('./chunks/SEXEAWEC.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-connections.ts
9
- var getDataConnections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
9
+ var getDataConnections = async (query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
15
+ var createDataConnection = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
22
+ var deleteDataConnections = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
29
+ var duplicateDataAConnection = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
36
+ var updateDataConnections = async (body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
43
+ var deleteDataConnection = async (qID, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
50
+ var getDataConnection = async (qID, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
57
+ var patchDataConnection = async (qID, query, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invok
63
63
  contentType: "application/json",
64
64
  options
65
65
  });
66
- var updateDataConnection = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
66
+ var updateDataConnection = async (qID, query, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invo
73
73
  options
74
74
  });
75
75
  function clearCache() {
76
- return _PTU5VIWSjs.clearApiCache.call(void 0, "data-connections");
76
+ return _TH75GYUYjs.clearApiCache.call(void 0, "data-connections");
77
77
  }
78
78
  var dataConnectionsExport = {
79
79
  getDataConnections,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PLTWBEYY.mjs";
5
- import "./chunks/HJGTOAVG.mjs";
4
+ } from "./chunks/VCYQUP4Y.mjs";
5
+ import "./chunks/X474LM7J.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
- require('./chunks/ECGUIOPI.js');
4
+ var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
+ require('./chunks/SEXEAWEC.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-credentials.ts
9
- var deleteDataCredential = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
9
+ var deleteDataCredential = async (qID, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
16
+ var getDataCredential = async (qID, query, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
23
+ var patchDataCredential = async (qID, query, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invok
29
29
  contentType: "application/json",
30
30
  options
31
31
  });
32
- var updateDataCredential = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
32
+ var updateDataCredential = async (qID, query, body, options) => _TH75GYUYjs.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) => _PTU5VIWSjs.invo
39
39
  options
40
40
  });
41
41
  function clearCache() {
42
- return _PTU5VIWSjs.clearApiCache.call(void 0, "data-credentials");
42
+ return _TH75GYUYjs.clearApiCache.call(void 0, "data-credentials");
43
43
  }
44
44
  var dataCredentialsExport = {
45
45
  deleteDataCredential,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PLTWBEYY.mjs";
5
- import "./chunks/HJGTOAVG.mjs";
4
+ } from "./chunks/VCYQUP4Y.mjs";
5
+ import "./chunks/X474LM7J.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-credentials.ts