@qlik/api 1.4.1 → 1.6.0

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 (80) hide show
  1. package/.github/workflows/release.yaml +6 -1
  2. package/api-keys.d.ts +1 -1
  3. package/api-keys.js +3 -2
  4. package/apps.d.ts +1 -1
  5. package/apps.js +3 -2
  6. package/audits.d.ts +1 -1
  7. package/audits.js +3 -2
  8. package/auth.js +2 -2
  9. package/automations.d.ts +91 -10
  10. package/automations.js +21 -2
  11. package/brands.d.ts +1 -1
  12. package/brands.js +3 -2
  13. package/chunks/2ZQ3ZX7F.js +33 -0
  14. package/chunks/{2G2EK3MP.js → 5WSW4QG3.js} +2 -1
  15. package/chunks/{JK564JXC.js → BPM4DLZK.js} +1 -1
  16. package/chunks/{DD5UK3PZ.js → CUE3GZGJ.js} +7 -5
  17. package/chunks/{GEU5U7Z5.js → CYO4KHYF.js} +1 -1
  18. package/chunks/{QGXPKKG2.js → FFVTXKKA.js} +2 -1
  19. package/chunks/{54UDXFVD.js → I5CSZHWM.js} +3 -3
  20. package/chunks/{5GE4XPP3.js → KSB5ROQL.js} +42 -40
  21. package/chunks/{3IA4SDJA.js → NR2F7MAJ.js} +5 -4
  22. package/chunks/{W3BAQSQ7.js → S3X62FNR.js} +14 -2
  23. package/chunks/{LDQGW22R.js → SW3DXPAP.js} +2 -1
  24. package/collections.d.ts +1 -1
  25. package/collections.js +3 -2
  26. package/csp-origins.d.ts +1 -1
  27. package/csp-origins.js +3 -2
  28. package/data-assets.d.ts +1 -1
  29. package/data-assets.js +3 -2
  30. package/data-connections.d.ts +1 -1
  31. package/data-connections.js +3 -2
  32. package/data-credentials.d.ts +1 -1
  33. package/data-credentials.js +3 -2
  34. package/data-files.d.ts +1 -1
  35. package/data-files.js +3 -2
  36. package/docs/examples/fetch-spaces.md +1 -1
  37. package/extensions.d.ts +1 -1
  38. package/extensions.js +3 -2
  39. package/{global.types-CMQsAHYd.d.ts → global.types-Xt6XzwlN.d.ts} +7 -0
  40. package/glossaries.d.ts +10 -8
  41. package/glossaries.js +3 -2
  42. package/groups.d.ts +1 -1
  43. package/groups.js +3 -2
  44. package/identity-providers.d.ts +1 -1
  45. package/identity-providers.js +3 -2
  46. package/index.d.ts +1 -1
  47. package/index.js +7 -6
  48. package/items.d.ts +1 -1
  49. package/items.js +3 -2
  50. package/licenses.d.ts +1 -1
  51. package/licenses.js +3 -2
  52. package/package.json +2 -6
  53. package/qix.d.ts +7 -7
  54. package/qix.js +2 -2
  55. package/quotas.d.ts +1 -1
  56. package/quotas.js +3 -2
  57. package/reload-tasks.d.ts +1 -1
  58. package/reload-tasks.js +3 -2
  59. package/reloads.d.ts +1 -1
  60. package/reloads.js +3 -2
  61. package/roles.d.ts +1 -1
  62. package/roles.js +3 -2
  63. package/spaces.d.ts +1 -1
  64. package/spaces.js +3 -2
  65. package/temp-contents.d.ts +1 -1
  66. package/temp-contents.js +3 -2
  67. package/tenants.d.ts +1 -1
  68. package/tenants.js +3 -2
  69. package/themes.d.ts +1 -1
  70. package/themes.js +3 -2
  71. package/transports.d.ts +1 -1
  72. package/transports.js +3 -2
  73. package/users.d.ts +1 -1
  74. package/users.js +3 -2
  75. package/web-integrations.d.ts +1 -1
  76. package/web-integrations.js +3 -2
  77. package/web-notifications.d.ts +1 -1
  78. package/web-notifications.js +3 -2
  79. package/webhooks.d.ts +1 -1
  80. package/webhooks.js +3 -2
@@ -1,3 +1,8 @@
1
+ import {
2
+ isBrowser,
3
+ isNode
4
+ } from "./2ZQ3ZX7F.js";
5
+
1
6
  // src/platform/platform-functions.ts
2
7
  var getPlatform = async (options = {}) => {
3
8
  const isNodeEnvironment = typeof window === "undefined";
@@ -497,39 +502,6 @@ var none_default = {
497
502
  validateHostConfig: (hostConfig) => internalValidateHostConfig(hostConfig, { requiredProps: [], optionalProps: [] })
498
503
  };
499
504
 
500
- // src/utils/utils.ts
501
- import { nanoid } from "nanoid";
502
- function isBrowserInternal() {
503
- if (typeof window !== "undefined" && typeof window.document !== "undefined" && typeof self !== "undefined") {
504
- return true;
505
- }
506
- return false;
507
- }
508
- function isNodeInternal() {
509
- if (typeof process !== "undefined" && process.version && process.versions.node) {
510
- return true;
511
- }
512
- return false;
513
- }
514
- function getEnvironment() {
515
- if (isNodeInternal()) {
516
- return "node";
517
- }
518
- if (isBrowserInternal()) {
519
- return "browser";
520
- }
521
- throw new Error("Environment detection failed. Supported environments are either a browser or in a node environment");
522
- }
523
- function isBrowser() {
524
- return getEnvironment() === "browser";
525
- }
526
- function isNode() {
527
- return getEnvironment() === "node";
528
- }
529
- function generateRandomString(targetLength) {
530
- return nanoid(targetLength);
531
- }
532
-
533
505
  // src/auth/internal/default-auth-modules/oauth/storage-helpers.ts
534
506
  var storagePrefix = "qlik-qmfe-api";
535
507
  function getTopicFromHostConfig(hostConfig) {
@@ -665,6 +637,12 @@ function handleOAuthCallback() {
665
637
  }
666
638
  }
667
639
 
640
+ // src/random/random.ts
641
+ import { nanoid } from "nanoid";
642
+ function generateRandomString(targetLength) {
643
+ return nanoid(targetLength);
644
+ }
645
+
668
646
  // src/auth/internal/default-auth-modules/oauth/oauth-utils.ts
669
647
  function lookupGetAccessFn(getAccessToken2) {
670
648
  return globalThis[getAccessToken2];
@@ -1327,7 +1305,7 @@ async function fetchAndTransformExceptions(input, init) {
1327
1305
  return Promise.reject(new InvokeFetchError(getErrorMessage(e), 0, new Headers(), {}));
1328
1306
  }
1329
1307
  }
1330
- async function performActualHttpFetch(method, completeUrl, unencodedBody, contentType, options, interceptors, authHeaders, credentials) {
1308
+ async function performActualHttpFetch(method, completeUrl, unencodedBody, contentType, options, interceptors, authHeaders, credentials, userAgent) {
1331
1309
  const { body, contentTypeHeader, requestOptions } = encodeBody(unencodedBody, contentType ?? "");
1332
1310
  const headers = {
1333
1311
  ...contentTypeHeader,
@@ -1335,6 +1313,9 @@ async function performActualHttpFetch(method, completeUrl, unencodedBody, conten
1335
1313
  ...options?.headers,
1336
1314
  ...getServiceOverrideHeaderFromLocalStorage()
1337
1315
  };
1316
+ if (!headers["User-Agent"] && userAgent) {
1317
+ headers["User-Agent"] = userAgent;
1318
+ }
1338
1319
  const isCrossOrigin = isHostCrossOrigin(options?.hostConfig);
1339
1320
  let request = {
1340
1321
  method,
@@ -1348,7 +1329,9 @@ async function performActualHttpFetch(method, completeUrl, unencodedBody, conten
1348
1329
  // This adds 'duplex: "half"' if we're sending application/octet-stream, needed in node only.
1349
1330
  };
1350
1331
  let fetchTimeoutId;
1351
- if (options?.timeoutMs && options.timeoutMs > 0) {
1332
+ if (options?.signal) {
1333
+ request.signal = options.signal;
1334
+ } else if (options?.timeoutMs && options.timeoutMs > 0) {
1352
1335
  const controller = new AbortController();
1353
1336
  fetchTimeoutId = setTimeout(() => {
1354
1337
  controller.abort();
@@ -1499,7 +1482,17 @@ function invokeFetchWithUrl(api, props, interceptors) {
1499
1482
  interceptors
1500
1483
  );
1501
1484
  }
1502
- function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body, options, authHeaders, credentials, contentType }, performRetry, interceptors) {
1485
+ function invokeFetchWithUrlAndRetry(api, {
1486
+ method,
1487
+ completeUrl,
1488
+ cacheKey,
1489
+ body,
1490
+ options,
1491
+ authHeaders,
1492
+ credentials,
1493
+ contentType,
1494
+ userAgent
1495
+ }, performRetry, interceptors) {
1503
1496
  if (!cache[api]) {
1504
1497
  cache[api] = {};
1505
1498
  }
@@ -1521,7 +1514,8 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
1521
1514
  options,
1522
1515
  interceptors,
1523
1516
  authHeaders,
1524
- credentials
1517
+ credentials,
1518
+ userAgent
1525
1519
  );
1526
1520
  const resultAfterAuthenticationCheck = interceptAuthenticationErrors(
1527
1521
  options?.hostConfig,
@@ -1698,12 +1692,21 @@ function cleanStack(stack) {
1698
1692
  }
1699
1693
 
1700
1694
  // src/invoke-fetch/invoke-fetch-functions.ts
1695
+ var defaultUserAgent = "qmfe-api/latest";
1701
1696
  async function invokeFetch(api, props, interceptors) {
1702
1697
  checkForCrossDomainRequest(props.options?.hostConfig);
1698
+ let userAgent;
1699
+ if (props?.userAgent) {
1700
+ userAgent = props.userAgent;
1701
+ } else if (isBrowser()) {
1702
+ userAgent = `${window.navigator.userAgent} ${defaultUserAgent}`;
1703
+ } else {
1704
+ userAgent = defaultUserAgent;
1705
+ }
1703
1706
  const { completeUrl, cacheKey, authHeaders, credentials } = await getInvokeFetchUrlParams(props);
1704
1707
  return invokeFetchWithUrl(
1705
1708
  api,
1706
- { ...props, method: props.method.toUpperCase(), completeUrl, cacheKey, authHeaders, credentials },
1709
+ { ...props, method: props.method.toUpperCase(), completeUrl, cacheKey, authHeaders, credentials, userAgent },
1707
1710
  interceptors
1708
1711
  );
1709
1712
  }
@@ -1777,13 +1780,12 @@ export {
1777
1780
  setDefaultHostConfig2 as setDefaultHostConfig,
1778
1781
  checkForCrossDomainRequest,
1779
1782
  logout,
1780
- isBrowser,
1781
- generateRandomString,
1782
1783
  InvokeFetchError,
1783
1784
  EncodingError,
1784
1785
  invokeFetch,
1785
1786
  clearApiCache,
1786
1787
  parseFetchResponse,
1787
1788
  invoke_fetch_default,
1789
+ generateRandomString,
1788
1790
  auth_default
1789
1791
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQixRuntimeModule
3
- } from "./54UDXFVD.js";
3
+ } from "./I5CSZHWM.js";
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
@@ -41,15 +41,16 @@ function openAppSession(appSessionProps) {
41
41
  * this is basically a no op, but if this is the last/only usage
42
42
  * of the underlying enigma websocket that websocket will be closed.
43
43
  */
44
- async close() {
45
- return (await appSessionPromise).close();
44
+ async close(props) {
45
+ return (await appSessionPromise).close(props);
46
46
  }
47
47
  };
48
48
  return appSessionProxy;
49
49
  }
50
- var qix_default = {
50
+ var qix = {
51
51
  openAppSession
52
52
  };
53
+ var qix_default = qix;
53
54
 
54
55
  export {
55
56
  openAppSession,
@@ -1,11 +1,23 @@
1
+ import {
2
+ isBrowser
3
+ } from "./2ZQ3ZX7F.js";
1
4
  import {
2
5
  getInvokeFetchRuntimeModule
3
- } from "./54UDXFVD.js";
6
+ } from "./I5CSZHWM.js";
4
7
 
5
8
  // src/public/invoke-fetch.ts
9
+ var defaultUserAgent = "qlik-api/1.6.0";
6
10
  async function invokeFetch(api, props) {
7
11
  const hostConfig = props.options?.hostConfig;
8
- return (await getInvokeFetchRuntimeModule(hostConfig)).invokeFetch(api, props);
12
+ let userAgent;
13
+ if (props?.userAgent) {
14
+ userAgent = props.userAgent;
15
+ } else if (isBrowser()) {
16
+ userAgent = `${window.navigator.userAgent} ${defaultUserAgent}`;
17
+ } else {
18
+ userAgent = defaultUserAgent;
19
+ }
20
+ return (await getInvokeFetchRuntimeModule(hostConfig)).invokeFetch(api, { ...props, userAgent });
9
21
  }
10
22
  function clearApiCache(api) {
11
23
  void getInvokeFetchRuntimeModule().then((runtimeModule) => runtimeModule.clearApiCache(api));
@@ -5,7 +5,8 @@ import {
5
5
  invokeFetch,
6
6
  invoke_fetch_default,
7
7
  parseFetchResponse
8
- } from "./5GE4XPP3.js";
8
+ } from "./KSB5ROQL.js";
9
+ import "./2ZQ3ZX7F.js";
9
10
  export {
10
11
  EncodingError,
11
12
  InvokeFetchError,
package/collections.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type CollectionByIdPatch = {
package/collections.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/collections.ts
8
9
  var getCollections = async (query, options) => invokeFetch("collections", {
package/csp-origins.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type CSPEntry = {
package/csp-origins.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/csp-origins.ts
8
9
  var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
package/data-assets.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type BatchIdDto = {
package/data-assets.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/data-assets.ts
8
9
  var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type ActionDeleteRequest = {
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/data-connections.ts
8
9
  var getDataConnections = async (query, options) => invokeFetch("data-connections", {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type Credential = {
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/data-credentials.ts
8
9
  var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
package/data-files.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type BatchChangeSpaceItem = {
package/data-files.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/data-files.ts
8
9
  var getDataFiles = async (query, options) => invokeFetch("data-files", {
@@ -34,7 +34,7 @@ const hostConfig = {
34
34
  host: "your-tenant.region.qlikcloud.com",
35
35
  authType: "oauth2",
36
36
  clientId: "<client-id>",
37
- clientSecret "<client-secret>",
37
+ clientSecret: "<client-secret>",
38
38
  };
39
39
 
40
40
  auth.setDefaultHostConfig(hostConfig);
package/extensions.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  /**
package/extensions.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/extensions.ts
8
9
  var getExtensions = async (options) => invokeFetch("extensions", {
@@ -32,8 +32,15 @@ type ApiCallOptions = {
32
32
  /**
33
33
  * Set the amount of time to wait for a response.
34
34
  * If the timeout is exceeded the request is aborted.
35
+ * If both timeoutMs and signal is present, timeoutMs will have no effect, as
36
+ * there is already an abort-signal specified.
35
37
  */
36
38
  timeoutMs?: number;
39
+ /**
40
+ * An abort-signal lets you abort an ongoing fetch request. The abort-signal is created
41
+ * by taking the .signal property of an AbortController.
42
+ */
43
+ signal?: AbortSignal;
37
44
  };
38
45
  type DownloadableBlob = Blob & {
39
46
  /** download the blob in a using the specified filename */
package/glossaries.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  /**
@@ -113,10 +113,10 @@ type Category = {
113
113
  id: string;
114
114
  name: string;
115
115
  parentId?: string;
116
- /** This list contains the uuids of the stewards of the category. */
116
+ /** This list contains the uids of the stewards of the category. */
117
117
  stewards?: string[];
118
118
  readonly updatedAt: string;
119
- /** The uuid of the user who last updated the category */
119
+ /** The uid of the user who last updated the category */
120
120
  readonly updatedBy: string;
121
121
  };
122
122
  type CreateCategory = {
@@ -127,7 +127,7 @@ type CreateCategory = {
127
127
  /** The name of the category. May not be identical to another category belonging to the same parent. */
128
128
  name?: string;
129
129
  parentId?: string;
130
- /** This list contains the uuids of the stewards of the category. */
130
+ /** This list contains the uids of the stewards of the category. */
131
131
  stewards?: string[];
132
132
  };
133
133
  type CreateGlossary = {
@@ -152,7 +152,7 @@ type CreateTerm = {
152
152
  name: string;
153
153
  relatedInformation?: string;
154
154
  relatesTo?: TermRelatesTo[];
155
- /** This list contain the uuids for the terms stewards */
155
+ /** This list contain the uids for the term's stewards */
156
156
  stewards?: string[];
157
157
  tags?: string[];
158
158
  };
@@ -233,7 +233,7 @@ type ExportGlossary = {
233
233
  termTemplate?: TermTemplate;
234
234
  terms?: ExportTerm[];
235
235
  readonly updatedAt?: string;
236
- /** The uuid of the user who last updated the glossary */
236
+ /** The uid of the user who last updated the glossary */
237
237
  readonly updatedBy?: string;
238
238
  };
239
239
  type ExportTerm = {
@@ -358,11 +358,11 @@ type Term = {
358
358
  revision: number;
359
359
  /** Terms status is used determine the status of a term */
360
360
  status: TermStatus;
361
- /** This list contains the uuids of the terms data stewards. */
361
+ /** This list contains the uids of the terms data stewards. */
362
362
  stewards: string[];
363
363
  tags: string[];
364
364
  readonly updatedAt: string;
365
- /** The uuid of the user who last updated the term */
365
+ /** The uid of the user who last updated the term */
366
366
  readonly updatedBy: string;
367
367
  };
368
368
  /**
@@ -385,11 +385,13 @@ type TermLinksTo = {
385
385
  id?: string;
386
386
  name?: string;
387
387
  openUrl?: string;
388
+ /** Different formats based on resource type. Could be e.g. OID or UUID. */
388
389
  resourceId?: string;
389
390
  resourceSpaceId?: string;
390
391
  resourceType?: "app" | "dataset";
391
392
  /** Http status code for item during batch operation. */
392
393
  status?: number;
394
+ /** Different formats based on subresource type. Could be e.g. OID or UUID. */
393
395
  subResourceId?: string;
394
396
  subResourceName?: string;
395
397
  subResourceType?: "master_dimension" | "master_measure";
package/glossaries.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/glossaries.ts
8
9
  var getGlossaries = async (query, options) => invokeFetch("glossaries", {
package/groups.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  /**
package/groups.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/groups.ts
8
9
  var getGroups = async (query, options) => invokeFetch("groups", {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type BaseIDP = {
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/identity-providers.ts
8
9
  var getIdps = async (query, options) => invokeFetch("identity-providers", {
package/index.d.ts CHANGED
@@ -30,7 +30,7 @@ import { UsersAPI } from './users.js';
30
30
  import { WebIntegrationsAPI } from './web-integrations.js';
31
31
  import { WebNotificationsAPI } from './web-notifications.js';
32
32
  import { WebhooksAPI } from './webhooks.js';
33
- import './global.types-CMQsAHYd.js';
33
+ import './global.types-Xt6XzwlN.js';
34
34
  import './auth-types-Bqw3vbLs.js';
35
35
 
36
36
  declare const apiKeys: ApiKeysAPI;
package/index.js CHANGED
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  auth_default
3
- } from "./chunks/JK564JXC.js";
3
+ } from "./chunks/BPM4DLZK.js";
4
4
  import {
5
5
  qix_default
6
- } from "./chunks/3IA4SDJA.js";
6
+ } from "./chunks/NR2F7MAJ.js";
7
7
  import {
8
8
  clearApiCache,
9
9
  invokeFetch
10
- } from "./chunks/W3BAQSQ7.js";
11
- import "./chunks/54UDXFVD.js";
10
+ } from "./chunks/S3X62FNR.js";
11
+ import "./chunks/2ZQ3ZX7F.js";
12
+ import "./chunks/I5CSZHWM.js";
12
13
 
13
14
  // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
14
15
  var methodAbbreviations = {
@@ -257,7 +258,7 @@ var automations = apiDefToApi("automations", {
257
258
  settings: ["getAutomationsSettings:G:", "updateAutomationsSettings:UBJ:"],
258
259
  usage: ["getAutomationsUsageMetrics:GQ:"],
259
260
  "{id}": {
260
- "": ["deleteAutomation:D:", "getAutomation:G:", "updateAutomation:UBJ:"],
261
+ "": ["deleteAutomation:D:", "getAutomationWithQuery:GQ:", "getAutomation:G:", "updateAutomation:UBJ:"],
261
262
  actions: {
262
263
  copy: ["copyAutomation:PBJ:"],
263
264
  disable: ["disableAutomation:P:"],
@@ -267,7 +268,7 @@ var automations = apiDefToApi("automations", {
267
268
  runs: {
268
269
  "": ["getAutomationRuns:GQ:", "queueAutomationRun:PBJ:"],
269
270
  "{runId}": {
270
- "": ["getAutomationRun:G:"],
271
+ "": ["getAutomationRunWithQuery:GQ:", "getAutomationRun:G:"],
271
272
  actions: {
272
273
  export: ["getAutomationRunDetails:P:"],
273
274
  retry: ["retryAutomationRun:P:"],
package/items.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type CollectionTypes = "private" | "public" | "publicgoverned";
package/items.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/items.ts
8
9
  var getItems = async (query, options) => invokeFetch("items", {
package/licenses.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-CMQsAHYd.js';
1
+ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
2
2
  import './auth-types-Bqw3vbLs.js';
3
3
 
4
4
  type AssignmentsActionsAddRequest = {
package/licenses.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/W3BAQSQ7.js";
5
- import "./chunks/54UDXFVD.js";
4
+ } from "./chunks/S3X62FNR.js";
5
+ import "./chunks/2ZQ3ZX7F.js";
6
+ import "./chunks/I5CSZHWM.js";
6
7
 
7
8
  // src/public/rest/licenses.ts
8
9
  var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
package/package.json CHANGED
@@ -11,13 +11,9 @@
11
11
  "fs": false
12
12
  },
13
13
  "dependencies": {
14
- "@qlik/embed-runtime": "^0.7.0",
15
- "@qlik/runtime-module-loader": "^0.2.7",
16
- "ajv": "^8.12.0",
17
- "bufferutil": "^4.0.8",
18
14
  "enigma.js": "^2.14.0",
19
15
  "lodash": "^4.17.21",
20
- "nanoid": "^5.0.6",
16
+ "nanoid": "^5.0.7",
21
17
  "ws": "^8.17.0"
22
18
  },
23
19
  "engines": {
@@ -58,5 +54,5 @@
58
54
  "./qix": "./qix.js",
59
55
  "./auth": "./auth.js"
60
56
  },
61
- "version": "1.4.1"
57
+ "version": "1.6.0"
62
58
  }