@qlik/api 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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/{42LZKDDD.mjs → 2PUNHMD4.mjs} +1 -1
  14. package/chunks/{HFNJ3ERI.mjs → 45QSVHHO.mjs} +2 -2
  15. package/chunks/{AVQ3WHH7.js → 55OD3EOU.js} +8 -8
  16. package/chunks/{FUU5VIC4.mjs → 5IH4NGHZ.mjs} +1 -1
  17. package/chunks/{KEPPVUY3.mjs → 5Q6T4ICX.mjs} +1 -1
  18. package/chunks/{ILOY5QEA.js → A6R47NQV.js} +4 -4
  19. package/chunks/{FG5GDUSZ.js → ECGUIOPI.js} +3 -3
  20. package/chunks/{WCJ4JQHA.js → EGL4ERKM.js} +8 -8
  21. package/chunks/{O5POHH2Q.mjs → HJGTOAVG.mjs} +3 -3
  22. package/chunks/{3MHXEHLQ.js → HWOIITGY.js} +2 -2
  23. package/chunks/{34FMVD4C.mjs → JMVQWFDT.mjs} +5 -5
  24. package/chunks/{MMUU2CQM.mjs → JQMXDZQY.mjs} +1 -1
  25. package/chunks/NX7ZEIBH.js +41 -0
  26. package/chunks/{HWZC3PIL.mjs → PLTWBEYY.mjs} +1 -1
  27. package/chunks/PTRQR7GJ.js +17 -0
  28. package/chunks/{QMWU5E4D.js → PTU5VIWS.js} +3 -3
  29. package/chunks/{VMS4MOCI.mjs → QX32SETN.mjs} +17 -13
  30. package/chunks/{37PLWNAN.js → WQOWTWQO.js} +17 -13
  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 +1 -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/RMNAO4DP.js +0 -17
  87. package/chunks/SUYUL6MB.js +0 -41
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _WQOWTWQOjs = require('./WQOWTWQO.js');
9
+ require('./4HB3TAEO.js');
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ exports.EncodingError = _WQOWTWQOjs.EncodingError; exports.InvokeFetchError = _WQOWTWQOjs.InvokeFetchError; exports.clearApiCache = _WQOWTWQOjs.clearApiCache; exports.default = _WQOWTWQOjs.invoke_fetch_default; exports.invokeFetch = _WQOWTWQOjs.invokeFetch; exports.parseFetchResponse = _WQOWTWQOjs.parseFetchResponse;
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _FG5GDUSZjs = require('./FG5GDUSZ.js');
3
+ var _ECGUIOPIjs = require('./ECGUIOPI.js');
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
7
7
  const hostConfig = _optionalChain([props, 'access', _ => _.options, 'optionalAccess', _2 => _2.hostConfig]);
8
- return (await _FG5GDUSZjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
8
+ return (await _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
9
9
  }
10
10
  function clearApiCache(api) {
11
- void _FG5GDUSZjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
11
+ void _ECGUIOPIjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
12
12
  }
13
13
 
14
14
 
@@ -495,9 +495,21 @@ function isBrowser() {
495
495
  function isNode() {
496
496
  return typeof process === "object" && typeof __require === "function";
497
497
  }
498
- function generateRandomString(targetLength) {
498
+ async function addCryptoToGlobal() {
499
+ if (isNode() && !globalThis.crypto) {
500
+ const crypto = await import(
501
+ /* webpackIgnore: true */
502
+ /* webpackExclude: /node:crypto/ */
503
+ /* webpackMode: "weak" */
504
+ "node:crypto"
505
+ );
506
+ globalThis.crypto = crypto;
507
+ }
508
+ }
509
+ async function generateRandomString(targetLength) {
499
510
  const byteArrayLength = Math.ceil(targetLength * 3 / 4);
500
511
  const array = new Uint8Array(byteArrayLength);
512
+ await addCryptoToGlobal();
501
513
  globalThis.crypto.getRandomValues(array);
502
514
  const base64UrlString = toBase64Url(array);
503
515
  return base64UrlString.substring(0, targetLength);
@@ -521,20 +533,12 @@ function byteArrayToBase64(hashArray) {
521
533
  }
522
534
  async function sha256(message) {
523
535
  const msgBuffer = new TextEncoder().encode(message);
536
+ await addCryptoToGlobal();
524
537
  const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
525
538
  const hashArray = Array.from(new Uint8Array(hashBuffer));
526
539
  const hashBase64 = byteArrayToBase64(hashArray);
527
540
  return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
528
541
  }
529
- async function polyfillMissingGlobals() {
530
- if (isNode() && !globalThis.crypto) {
531
- globalThis.crypto = await import(
532
- /* webpackIgnore: true */
533
- "node:crypto"
534
- );
535
- }
536
- }
537
- await polyfillMissingGlobals();
538
542
 
539
543
  // src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
540
544
  var storagePrefix = "qlik-qmfe-api";
@@ -673,8 +677,8 @@ function toQueryString(queryParams) {
673
677
  async function startFullPageLoginFlow(hostConfig) {
674
678
  const clientId = hostConfig.clientId || "";
675
679
  const locationUrl = toValidLocationUrl(hostConfig);
676
- const verifier = generateRandomString(128);
677
- const state = generateRandomString(43);
680
+ const verifier = await generateRandomString(128);
681
+ const state = await generateRandomString(43);
678
682
  const codeChallenge = await sha256(verifier);
679
683
  const redirectUri = hostConfig.redirectUri || globalThis.location.href;
680
684
  const scopes = ["user_default"];
@@ -944,7 +948,7 @@ var oauth_default = {
944
948
  handleAuthenticationError: handleAuthenticationError5,
945
949
  validateHostConfig: (hostConfig) => internalValidateHostConfig(hostConfig, {
946
950
  requiredProps: ["clientId"],
947
- optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage"]
951
+ optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage", "scope"]
948
952
  })
949
953
  };
950
954
 
@@ -495,9 +495,21 @@ function isBrowser() {
495
495
  function isNode() {
496
496
  return typeof process === "object" && typeof _4HB3TAEOjs.__require === "function";
497
497
  }
498
- function generateRandomString(targetLength) {
498
+ async function addCryptoToGlobal() {
499
+ if (isNode() && !globalThis.crypto) {
500
+ const crypto = await Promise.resolve().then(() => _interopRequireWildcard(require(
501
+ /* webpackIgnore: true */
502
+ /* webpackExclude: /node:crypto/ */
503
+ /* webpackMode: "weak" */
504
+ "crypto"
505
+ )));
506
+ globalThis.crypto = crypto;
507
+ }
508
+ }
509
+ async function generateRandomString(targetLength) {
499
510
  const byteArrayLength = Math.ceil(targetLength * 3 / 4);
500
511
  const array = new Uint8Array(byteArrayLength);
512
+ await addCryptoToGlobal();
501
513
  globalThis.crypto.getRandomValues(array);
502
514
  const base64UrlString = toBase64Url(array);
503
515
  return base64UrlString.substring(0, targetLength);
@@ -521,20 +533,12 @@ function byteArrayToBase64(hashArray) {
521
533
  }
522
534
  async function sha256(message) {
523
535
  const msgBuffer = new TextEncoder().encode(message);
536
+ await addCryptoToGlobal();
524
537
  const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
525
538
  const hashArray = Array.from(new Uint8Array(hashBuffer));
526
539
  const hashBase64 = byteArrayToBase64(hashArray);
527
540
  return hashBase64.replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
528
541
  }
529
- async function polyfillMissingGlobals() {
530
- if (isNode() && !globalThis.crypto) {
531
- globalThis.crypto = await Promise.resolve().then(() => _interopRequireWildcard(require(
532
- /* webpackIgnore: true */
533
- "crypto"
534
- )));
535
- }
536
- }
537
- await polyfillMissingGlobals();
538
542
 
539
543
  // src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
540
544
  var storagePrefix = "qlik-qmfe-api";
@@ -673,8 +677,8 @@ function toQueryString(queryParams) {
673
677
  async function startFullPageLoginFlow(hostConfig) {
674
678
  const clientId = hostConfig.clientId || "";
675
679
  const locationUrl = toValidLocationUrl(hostConfig);
676
- const verifier = generateRandomString(128);
677
- const state = generateRandomString(43);
680
+ const verifier = await generateRandomString(128);
681
+ const state = await generateRandomString(43);
678
682
  const codeChallenge = await sha256(verifier);
679
683
  const redirectUri = hostConfig.redirectUri || globalThis.location.href;
680
684
  const scopes = ["user_default"];
@@ -944,7 +948,7 @@ var oauth_default = {
944
948
  handleAuthenticationError: handleAuthenticationError5,
945
949
  validateHostConfig: (hostConfig) => internalValidateHostConfig(hostConfig, {
946
950
  requiredProps: ["clientId"],
947
- optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage"]
951
+ optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage", "scope"]
948
952
  })
949
953
  };
950
954
 
package/collections.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
- require('./chunks/FG5GDUSZ.js');
4
+ var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
+ require('./chunks/ECGUIOPI.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/collections.ts
9
- var getCollections = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
9
+ var getCollections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/collections",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCollection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
15
+ var createCollection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/collections",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getFavoritesCollection = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
22
+ var getFavoritesCollection = async (options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/collections/favorites",
25
25
  options
26
26
  });
27
- var deleteCollection = async (collectionId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
27
+ var deleteCollection = async (collectionId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/collections/{collectionId}",
30
30
  pathVariables: { collectionId },
31
31
  options
32
32
  });
33
- var getCollection = async (collectionId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
33
+ var getCollection = async (collectionId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/collections/{collectionId}",
36
36
  pathVariables: { collectionId },
37
37
  options
38
38
  });
39
- var patchCollection = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
39
+ var patchCollection = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/collections/{collectionId}",
42
42
  pathVariables: { collectionId },
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _QMWU5E4Djs.invokeF
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateCollection = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
47
+ var updateCollection = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
48
48
  method: "put",
49
49
  pathTemplate: "/api/v1/collections/{collectionId}",
50
50
  pathVariables: { collectionId },
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _QMWU5E4Djs.invoke
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getCollectionItems = async (collectionId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
55
+ var getCollectionItems = async (collectionId, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
56
56
  method: "get",
57
57
  pathTemplate: "/api/v1/collections/{collectionId}/items",
58
58
  pathVariables: { collectionId },
59
59
  query,
60
60
  options
61
61
  });
62
- var addCollectionItem = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
62
+ var addCollectionItem = async (collectionId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
63
63
  method: "post",
64
64
  pathTemplate: "/api/v1/collections/{collectionId}/items",
65
65
  pathVariables: { collectionId },
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _QMWU5E4Djs.invok
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
70
+ var deleteCollectionItem = async (collectionId, itemId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
71
71
  method: "delete",
72
72
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
73
73
  pathVariables: { collectionId, itemId },
74
74
  options
75
75
  });
76
- var getCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
76
+ var getCollectionItem = async (collectionId, itemId, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "collections", {
77
77
  method: "get",
78
78
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
79
79
  pathVariables: { collectionId, itemId },
80
80
  options
81
81
  });
82
82
  function clearCache() {
83
- return _QMWU5E4Djs.clearApiCache.call(void 0, "collections");
83
+ return _PTU5VIWSjs.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/HWZC3PIL.mjs";
5
- import "./chunks/O5POHH2Q.mjs";
4
+ } from "./chunks/PLTWBEYY.mjs";
5
+ import "./chunks/HJGTOAVG.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 _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
- require('./chunks/FG5GDUSZ.js');
4
+ var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
+ require('./chunks/ECGUIOPI.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/csp-origins.ts
9
- var getCSPEntries = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
9
+ var getCSPEntries = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/csp-origins",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCSPEntry = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
15
+ var createCSPEntry = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/csp-origins",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getCSPHeader = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
22
+ var getCSPHeader = async (options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/csp-origins/actions/generate-header",
25
25
  options
26
26
  });
27
- var deleteCSPEntry = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
27
+ var deleteCSPEntry = async (id, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/csp-origins/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var getCSPEntry = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
33
+ var getCSPEntry = async (id, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/csp-origins/{id}",
36
36
  pathVariables: { id },
37
37
  options
38
38
  });
39
- var updateCSPEntry = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
39
+ var updateCSPEntry = async (id, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "csp-origins", {
40
40
  method: "put",
41
41
  pathTemplate: "/api/v1/csp-origins/{id}",
42
42
  pathVariables: { id },
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(v
45
45
  options
46
46
  });
47
47
  function clearCache() {
48
- return _QMWU5E4Djs.clearApiCache.call(void 0, "csp-origins");
48
+ return _PTU5VIWSjs.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/HWZC3PIL.mjs";
5
- import "./chunks/O5POHH2Q.mjs";
4
+ } from "./chunks/PLTWBEYY.mjs";
5
+ import "./chunks/HJGTOAVG.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 _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
- require('./chunks/FG5GDUSZ.js');
4
+ var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
+ require('./chunks/ECGUIOPI.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-assets.ts
9
- var deleteDataAssets = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
9
+ var deleteDataAssets = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/data-assets",
12
12
  body,
13
13
  contentType: "application/json",
14
14
  options
15
15
  });
16
- var createDataAsset = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
16
+ var createDataAsset = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
17
17
  method: "post",
18
18
  pathTemplate: "/api/v1/data-assets",
19
19
  body,
20
20
  contentType: "application/json",
21
21
  options
22
22
  });
23
- var getDataAsset = async (dataAssetId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
23
+ var getDataAsset = async (dataAssetId, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
24
24
  method: "get",
25
25
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
26
26
  pathVariables: { "data-asset-id": dataAssetId },
27
27
  query,
28
28
  options
29
29
  });
30
- var patchDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
30
+ var patchDataAsset = async (dataAssetId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
31
31
  method: "patch",
32
32
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
33
33
  pathVariables: { "data-asset-id": dataAssetId },
@@ -35,7 +35,7 @@ var patchDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFet
35
35
  contentType: "application/json",
36
36
  options
37
37
  });
38
- var updateDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
38
+ var updateDataAsset = async (dataAssetId, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-assets", {
39
39
  method: "put",
40
40
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
41
41
  pathVariables: { "data-asset-id": dataAssetId },
@@ -44,7 +44,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFe
44
44
  options
45
45
  });
46
46
  function clearCache() {
47
- return _QMWU5E4Djs.clearApiCache.call(void 0, "data-assets");
47
+ return _PTU5VIWSjs.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/HWZC3PIL.mjs";
5
- import "./chunks/O5POHH2Q.mjs";
4
+ } from "./chunks/PLTWBEYY.mjs";
5
+ import "./chunks/HJGTOAVG.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 _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
- require('./chunks/FG5GDUSZ.js');
4
+ var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
+ require('./chunks/ECGUIOPI.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-connections.ts
9
- var getDataConnections = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
9
+ var getDataConnections = async (query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/data-connections",
12
12
  query,
13
13
  options
14
14
  });
15
- var createDataConnection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
15
+ var createDataConnection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/data-connections",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var deleteDataConnections = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
22
+ var deleteDataConnections = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/data-connections/actions/delete",
25
25
  body,
26
26
  contentType: "application/json",
27
27
  options
28
28
  });
29
- var duplicateDataAConnection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
29
+ var duplicateDataAConnection = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
30
30
  method: "post",
31
31
  pathTemplate: "/api/v1/data-connections/actions/duplicate",
32
32
  body,
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var updateDataConnections = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
36
+ var updateDataConnections = async (body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
37
37
  method: "post",
38
38
  pathTemplate: "/api/v1/data-connections/actions/update",
39
39
  body,
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var deleteDataConnection = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
43
+ var deleteDataConnection = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
44
44
  method: "delete",
45
45
  pathTemplate: "/api/v1/data-connections/{qID}",
46
46
  pathVariables: { qID },
47
47
  query,
48
48
  options
49
49
  });
50
- var getDataConnection = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
50
+ var getDataConnection = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
51
51
  method: "get",
52
52
  pathTemplate: "/api/v1/data-connections/{qID}",
53
53
  pathVariables: { qID },
54
54
  query,
55
55
  options
56
56
  });
57
- var patchDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
57
+ var patchDataConnection = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
58
58
  method: "patch",
59
59
  pathTemplate: "/api/v1/data-connections/{qID}",
60
60
  pathVariables: { qID },
@@ -63,7 +63,7 @@ var patchDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invok
63
63
  contentType: "application/json",
64
64
  options
65
65
  });
66
- var updateDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
66
+ var updateDataConnection = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-connections", {
67
67
  method: "put",
68
68
  pathTemplate: "/api/v1/data-connections/{qID}",
69
69
  pathVariables: { qID },
@@ -73,7 +73,7 @@ var updateDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invo
73
73
  options
74
74
  });
75
75
  function clearCache() {
76
- return _QMWU5E4Djs.clearApiCache.call(void 0, "data-connections");
76
+ return _PTU5VIWSjs.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/HWZC3PIL.mjs";
5
- import "./chunks/O5POHH2Q.mjs";
4
+ } from "./chunks/PLTWBEYY.mjs";
5
+ import "./chunks/HJGTOAVG.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 _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
- require('./chunks/FG5GDUSZ.js');
4
+ var _PTU5VIWSjs = require('./chunks/PTU5VIWS.js');
5
+ require('./chunks/ECGUIOPI.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-credentials.ts
9
- var deleteDataCredential = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
9
+ var deleteDataCredential = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/data-credentials/{qID}",
12
12
  pathVariables: { qID },
13
13
  query,
14
14
  options
15
15
  });
16
- var getDataCredential = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
16
+ var getDataCredential = async (qID, query, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
17
17
  method: "get",
18
18
  pathTemplate: "/api/v1/data-credentials/{qID}",
19
19
  pathVariables: { qID },
20
20
  query,
21
21
  options
22
22
  });
23
- var patchDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
23
+ var patchDataCredential = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
24
24
  method: "patch",
25
25
  pathTemplate: "/api/v1/data-credentials/{qID}",
26
26
  pathVariables: { qID },
@@ -29,7 +29,7 @@ var patchDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invok
29
29
  contentType: "application/json",
30
30
  options
31
31
  });
32
- var updateDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
32
+ var updateDataCredential = async (qID, query, body, options) => _PTU5VIWSjs.invokeFetch.call(void 0, "data-credentials", {
33
33
  method: "put",
34
34
  pathTemplate: "/api/v1/data-credentials/{qID}",
35
35
  pathVariables: { qID },
@@ -39,7 +39,7 @@ var updateDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invo
39
39
  options
40
40
  });
41
41
  function clearCache() {
42
- return _QMWU5E4Djs.clearApiCache.call(void 0, "data-credentials");
42
+ return _PTU5VIWSjs.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/HWZC3PIL.mjs";
5
- import "./chunks/O5POHH2Q.mjs";
4
+ } from "./chunks/PLTWBEYY.mjs";
5
+ import "./chunks/HJGTOAVG.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-credentials.ts