@qlik/api 1.0.0 → 1.2.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 (50) hide show
  1. package/api-keys.d.ts +6 -6
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +3 -5
  4. package/apps.js +2 -2
  5. package/audits.js +2 -2
  6. package/auth.js +2 -2
  7. package/automations.js +2 -2
  8. package/brands.js +2 -2
  9. package/chunks/{J47F33WT.js → 243PYOJH.js} +8 -3
  10. package/chunks/{7PI3VAVE.js → 2ZXOEI4D.js} +3 -3
  11. package/chunks/{5ADY5YDO.js → 4NK5KQKY.js} +1 -1
  12. package/chunks/{UHM3LDRC.js → 4PCG3E3I.js} +1 -1
  13. package/chunks/{Z5KDIMTS.js → 5ZXMV3DK.js} +19 -3
  14. package/chunks/{AANKGPDX.js → 664FMSNJ.js} +1 -1
  15. package/chunks/{555I6RED.js → GEU5U7Z5.js} +2 -2
  16. package/collections.d.ts +23 -23
  17. package/collections.js +2 -2
  18. package/csp-origins.js +2 -2
  19. package/data-assets.js +2 -2
  20. package/data-connections.js +2 -2
  21. package/data-credentials.js +2 -2
  22. package/data-files.js +2 -2
  23. package/extensions.js +2 -2
  24. package/glossaries.js +2 -2
  25. package/groups.js +2 -2
  26. package/identity-providers.js +2 -2
  27. package/index.js +4 -4
  28. package/items.d.ts +28 -28
  29. package/items.js +2 -2
  30. package/licenses.js +2 -2
  31. package/package.json +2 -2
  32. package/qix.d.ts +20 -2
  33. package/qix.js +2 -2
  34. package/quotas.js +2 -2
  35. package/reload-tasks.js +2 -2
  36. package/reloads.js +2 -2
  37. package/roles.js +2 -2
  38. package/spaces.d.ts +1 -1
  39. package/spaces.js +2 -2
  40. package/temp-contents.js +2 -2
  41. package/tenants.js +2 -2
  42. package/themes.js +2 -2
  43. package/transports.d.ts +4 -0
  44. package/transports.js +2 -2
  45. package/users.js +2 -2
  46. package/web-integrations.js +2 -2
  47. package/web-notifications.d.ts +3 -1
  48. package/web-notifications.js +2 -2
  49. package/webhooks.d.ts +2 -0
  50. package/webhooks.js +2 -2
package/api-keys.d.ts CHANGED
@@ -16,10 +16,10 @@ type ApiKey = {
16
16
  readonly lastUpdated?: string;
17
17
  /** The status of the API key. */
18
18
  status: "active" | "expired" | "revoked";
19
- /** The ID of the subject for the API key. */
19
+ /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. */
20
20
  sub: string;
21
- /** Type of the subject. */
22
- subType: "user";
21
+ /** Type of the subject. For SCIM, it should be `externalClient`. */
22
+ subType: "user" | "externalClient";
23
23
  /** The tenant ID. */
24
24
  tenantId: string;
25
25
  };
@@ -28,10 +28,10 @@ type ApiKeyBody = {
28
28
  description: string;
29
29
  /** The expiry of the API key, in ISO8601 duration format. */
30
30
  expiry?: string;
31
- /** The ID of the subject for the API key. */
31
+ /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. */
32
32
  sub?: string;
33
- /** Type of the subject. */
34
- subType?: string;
33
+ /** Type of the subject. For SCIM, it should be `externalClient`. */
34
+ subType?: "user" | "externalClient";
35
35
  };
36
36
  /**
37
37
  * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
package/api-keys.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/api-keys.ts
8
8
  var getApiKeys = async (query, options) => invokeFetch("api-keys", {
package/apps.d.ts CHANGED
@@ -1780,13 +1780,10 @@ type GetAppReloadMetadataHttpError = {
1780
1780
  */
1781
1781
  declare const getAppReportFilters: (appId: string, query: {
1782
1782
  /** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. Cannot be combined with any of the fields marked as deprecated. All conditional statements within this query parameter are case insensitive.
1783
- * The following fields support the `co` (contains) operator: `name` , `description`
1783
+ * The following fields support the `co` (contains) operator: `name`, `description`
1784
1784
  * The following fields support the `eq` (equals) operator: `ownerId`
1785
- * ```
1786
1785
  * Example:
1787
- * ```
1788
- * (name co "query1" or description co "query2") and ownerId eq "123"
1789
- * ``` */
1786
+ * (name co "query1" or description co "query2") and ownerId eq "123" */
1790
1787
  filter?: string;
1791
1788
  /** The filter type (REP, SUB). REP stands for report bookmark, SUB for subscription bookmark. */
1792
1789
  filterTypes?: ("REP" | "SUB")[];
@@ -1794,6 +1791,7 @@ declare const getAppReportFilters: (appId: string, query: {
1794
1791
  limit?: number;
1795
1792
  /** If present, the cursor that starts the page of data that is returned. */
1796
1793
  page?: string;
1794
+ /** Sorting parameters. */
1797
1795
  sort?: ("+ownerId" | "-ownerId" | "-name" | "+name" | "+description" | "-description" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt")[];
1798
1796
  }, options?: ApiCallOptions) => Promise<GetAppReportFiltersHttpResponse>;
1799
1797
  type GetAppReportFiltersHttpResponse = {
package/apps.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/apps.ts
8
8
  var createApp = async (body, options) => invokeFetch("apps", {
package/audits.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/audits.ts
8
8
  var getAudits = async (query, options) => invokeFetch("audits", {
package/auth.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  logout,
5
5
  registerAuthModule,
6
6
  setDefaultHostConfig
7
- } from "./chunks/UHM3LDRC.js";
8
- import "./chunks/7PI3VAVE.js";
7
+ } from "./chunks/4PCG3E3I.js";
8
+ import "./chunks/2ZXOEI4D.js";
9
9
  export {
10
10
  auth_default as default,
11
11
  getAccessToken,
package/automations.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/automations.ts
8
8
  var getAutomations = async (query, options) => invokeFetch("automations", {
package/brands.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/brands.ts
8
8
  var getBrands = async (query, options) => invokeFetch("brands", {
@@ -10364,7 +10364,8 @@ async function createEnigmaSession({
10364
10364
  appId,
10365
10365
  identity,
10366
10366
  hostConfig,
10367
- withoutData = false
10367
+ withoutData = false,
10368
+ useReloadEngine = false
10368
10369
  }) {
10369
10370
  const locationUrl = toValidWebsocketLocationUrl(hostConfig);
10370
10371
  const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
@@ -10372,7 +10373,11 @@ async function createEnigmaSession({
10372
10373
  identity = "no_data";
10373
10374
  }
10374
10375
  const identityPart = identity ? `/identity/${identity}` : "";
10375
- let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}`.replace(/^http/, "ws");
10376
+ const reloadEnginePart = useReloadEngine ? "&workloadType=interactive-reload" : "";
10377
+ let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}${reloadEnginePart}`.replace(
10378
+ /^http/,
10379
+ "ws"
10380
+ );
10376
10381
  const isNodeEnvironment = typeof window === "undefined";
10377
10382
  let createSocketMethod;
10378
10383
  if (isNodeEnvironment) {
@@ -10395,7 +10400,7 @@ async function createEnigmaSession({
10395
10400
  schema: engine_api_default,
10396
10401
  mixins: mixins5,
10397
10402
  url,
10398
- suspendOnClose: true,
10403
+ suspendOnClose: !useReloadEngine,
10399
10404
  createSocket: createSocketMethod,
10400
10405
  requestInterceptors: [somethingWithEmptyMethodsRequestInterceptor],
10401
10406
  responseInterceptors: [
@@ -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("./LI7EZYL4.js") : import("./555I6RED.js").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? import("./LI7EZYL4.js") : import("./GEU5U7Z5.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 = !!globalThis.process?.argv;
9
- return isNode ? import("./Z5KDIMTS.js") : import("./555I6RED.js").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? import("./5ZXMV3DK.js") : import("./GEU5U7Z5.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 = !!globalThis.process?.argv;
14
- return isNode ? import("./OKMBHX5N.js") : import("./555I6RED.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? import("./OKMBHX5N.js") : import("./GEU5U7Z5.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQixRuntimeModule
3
- } from "./7PI3VAVE.js";
3
+ } from "./2ZXOEI4D.js";
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAuthRuntimeModule
3
- } from "./7PI3VAVE.js";
3
+ } from "./2ZXOEI4D.js";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -35,9 +35,25 @@ async function resumeAll() {
35
35
  }
36
36
  var initialActions = {};
37
37
  var sharedSessions = {};
38
- function toGlobalAppSessionId({ appId, identity, hostConfig, withoutData }) {
38
+ function toGlobalAppSessionId({
39
+ appId,
40
+ identity,
41
+ hostConfig,
42
+ withoutData,
43
+ useReloadEngine
44
+ }) {
39
45
  const locationUrl = toValidWebsocketLocationUrl(hostConfig);
40
- return (identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId) + (withoutData ? "/withoutData" : "");
46
+ let url = `${locationUrl}/${appId}`;
47
+ if (identity) {
48
+ url += `/${identity}`;
49
+ }
50
+ if (useReloadEngine) {
51
+ url += "/useReloadEngine";
52
+ }
53
+ if (withoutData) {
54
+ url += "/withoutData";
55
+ }
56
+ return url;
41
57
  }
42
58
  async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
43
59
  for (const initialAction of initialActionsForApp) {
@@ -83,7 +99,7 @@ function listenForWindowsAuthenticationInformation(session) {
83
99
  return authSuggestedInWebsocket;
84
100
  }
85
101
  async function createAndSetupEnigmaSession(props, canRetry) {
86
- const { createEnigmaSession } = await import("./J47F33WT.js");
102
+ const { createEnigmaSession } = await import("./243PYOJH.js");
87
103
  const session = await createEnigmaSession(props);
88
104
  setupSessionListeners(session, props);
89
105
  let global;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./7PI3VAVE.js";
3
+ } from "./2ZXOEI4D.js";
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/@qlik+runtime-module-loader@0.2.6/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
1
+ // node_modules/.pnpm/@qlik+runtime-module-loader@0.2.7/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
2
2
  window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
3
3
  window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
4
4
  window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
@@ -39,7 +39,7 @@ function provideHostConfigForMainJsUrl(hostConfig) {
39
39
  locationUrl = `https://${url}`;
40
40
  }
41
41
  locationUrl = locationUrl.replace(trailingSlashes, "");
42
- return `${locationUrl}/main.js`;
42
+ return `${locationUrl}/qlik-embed/main.js`;
43
43
  }
44
44
  const potentialMainJsUrl = toMainJsUrl(hostConfig);
45
45
  if (potentialMainJsUrl) {
package/collections.d.ts CHANGED
@@ -240,31 +240,31 @@ type Meta = {
240
240
  */
241
241
  declare const getCollections: (query: {
242
242
  /** The case-sensitive string used to search for a resource by creatorId. */
243
- creatorId?: string | undefined;
243
+ creatorId?: string;
244
244
  /** The collection's unique identifier. */
245
- id?: string | undefined;
245
+ id?: string;
246
246
  /** Includes the list of items belonging to the collections. Supported parameters are 'limit', 'sort' and 'resourceType'. Supported formats are json formatted string or deep object style using square brackets. */
247
- includeItems?: string | undefined;
247
+ includeItems?: string;
248
248
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
249
- limit?: number | undefined;
249
+ limit?: number;
250
250
  /** The case-sensitive string used to search for a collection by name. */
251
- name?: string | undefined;
251
+ name?: string;
252
252
  /** The cursor to the next page of resources. Provide either the
253
253
  * next or prev cursor, but not both. */
254
- next?: string | undefined;
254
+ next?: string;
255
255
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
256
- prev?: string | undefined;
256
+ prev?: string;
257
257
  /** The case-insensitive string used to search for a resource by name or description. */
258
- query?: string | undefined;
258
+ query?: string;
259
259
  /** The property of a resource to sort on (default sort is +createdAt).
260
260
  * The supported properties are createdAt, updatedAt, and name. A property
261
261
  * must be prefixed by + or - to indicate ascending or descending sort order
262
262
  * respectively. */
263
- sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
263
+ sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
264
264
  /** The case-sensitive string used to filter for a collection by type. */
265
- type?: CollectionTypes | undefined;
265
+ type?: CollectionTypes;
266
266
  /** A commaseparated case-sensitive string used to filter by multiple types. */
267
- types?: CollectionTypes[] | undefined;
267
+ types?: CollectionTypes[];
268
268
  }, options?: ApiCallOptions) => Promise<GetCollectionsHttpResponse>;
269
269
  type GetCollectionsHttpResponse = {
270
270
  data: CollectionsListCollectionsResponseBody;
@@ -391,30 +391,30 @@ type UpdateCollectionHttpError = {
391
391
  */
392
392
  declare const getCollectionItems: (collectionId: string, query: {
393
393
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
394
- limit?: number | undefined;
394
+ limit?: number;
395
395
  /** The case-insensitive string used to search for a resource by name. */
396
- name?: string | undefined;
396
+ name?: string;
397
397
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
398
- next?: string | undefined;
398
+ next?: string;
399
399
  /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
400
- noActions?: boolean | undefined;
400
+ noActions?: boolean;
401
401
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
402
- prev?: string | undefined;
402
+ prev?: string;
403
403
  /** The case-insensitive string used to search for a resource by name or description. */
404
- query?: string | undefined;
404
+ query?: string;
405
405
  /** The case-sensitive string used to search for an item by resourceId. If resourceId is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
406
- resourceId?: string | undefined;
406
+ resourceId?: string;
407
407
  /** The case-sensitive string used to search for an item by resourceLink. If resourceLink is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
408
- resourceLink?: string | undefined;
408
+ resourceLink?: string;
409
409
  /** The case-sensitive string used to search for an item by resourceType. */
410
- resourceType?: ItemResourceTypeEnum | undefined;
410
+ resourceType?: ItemResourceTypeEnum;
411
411
  /** @deprecated
412
412
  * Whether or not to return items in a shared space. */
413
- shared?: boolean | undefined;
413
+ shared?: boolean;
414
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. */
415
- sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
415
+ sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
416
416
  /** The space's unique identifier (supports \'personal\' as spaceId). */
417
- spaceId?: string | undefined;
417
+ spaceId?: string;
418
418
  }, options?: ApiCallOptions) => Promise<GetCollectionItemsHttpResponse>;
419
419
  type GetCollectionItemsHttpResponse = {
420
420
  data: CollectionsListCollectionItemsResponseBody;
package/collections.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/collections.ts
8
8
  var getCollections = async (query, options) => invokeFetch("collections", {
package/csp-origins.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/csp-origins.ts
8
8
  var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
package/data-assets.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/data-assets.ts
8
8
  var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/data-connections.ts
8
8
  var getDataConnections = async (query, options) => invokeFetch("data-connections", {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/data-credentials.ts
8
8
  var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
package/data-files.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/data-files.ts
8
8
  var getDataFiles = async (query, options) => invokeFetch("data-files", {
package/extensions.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/extensions.ts
8
8
  var getExtensions = async (options) => invokeFetch("extensions", {
package/glossaries.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/glossaries.ts
8
8
  var getGlossaries = async (query, options) => invokeFetch("glossaries", {
package/groups.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/groups.ts
8
8
  var getGroups = async (query, options) => invokeFetch("groups", {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/identity-providers.ts
8
8
  var getIdps = async (query, options) => invokeFetch("identity-providers", {
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  auth_default
3
- } from "./chunks/UHM3LDRC.js";
3
+ } from "./chunks/4PCG3E3I.js";
4
4
  import {
5
5
  qix_default
6
- } from "./chunks/5ADY5YDO.js";
6
+ } from "./chunks/4NK5KQKY.js";
7
7
  import {
8
8
  clearApiCache,
9
9
  invokeFetch
10
- } from "./chunks/AANKGPDX.js";
11
- import "./chunks/7PI3VAVE.js";
10
+ } from "./chunks/664FMSNJ.js";
11
+ import "./chunks/2ZXOEI4D.js";
12
12
 
13
13
  // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
14
14
  var methodAbbreviations = {
package/items.d.ts CHANGED
@@ -253,48 +253,48 @@ type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
253
253
  */
254
254
  declare const getItems: (query: {
255
255
  /** The collection's unique identifier. */
256
- collectionId?: string | undefined;
256
+ collectionId?: string;
257
257
  /** User's unique identifier. */
258
- createdByUserId?: string | undefined;
258
+ createdByUserId?: string;
259
259
  /** The item's unique identifier. */
260
- id?: string | undefined;
260
+ id?: string;
261
261
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
262
- limit?: number | undefined;
262
+ limit?: number;
263
263
  /** The case-insensitive string used to search for a resource by name. */
264
- name?: string | undefined;
264
+ name?: string;
265
265
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
266
- next?: string | undefined;
266
+ next?: string;
267
267
  /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
268
- noActions?: boolean | undefined;
268
+ noActions?: boolean;
269
269
  /** User's unique identifier. */
270
- notCreatedByUserId?: string | undefined;
270
+ notCreatedByUserId?: string;
271
271
  /** Owner identifier. */
272
- notOwnerId?: string | undefined;
272
+ notOwnerId?: string;
273
273
  /** Owner identifier. */
274
- ownerId?: string | undefined;
274
+ ownerId?: string;
275
275
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
276
- prev?: string | undefined;
276
+ prev?: string;
277
277
  /** The case-insensitive string used to search for a resource by name or description. */
278
- query?: string | undefined;
278
+ query?: string;
279
279
  /** The case-sensitive string used to search for an item by resourceId. If resourceId is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
280
- resourceId?: string | undefined;
280
+ resourceId?: string;
281
281
  /** The case-sensitive strings used to search for an item by resourceIds. The maximum number of resourceIds it supports is 100. If resourceIds is provided, then resourceType must be provided. For example '?resourceIds=appId1,appId2' */
282
- resourceIds?: string | undefined;
282
+ resourceIds?: string;
283
283
  /** The case-sensitive string used to search for an item by resourceLink. If resourceLink is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
284
- resourceLink?: string | undefined;
284
+ resourceLink?: string;
285
285
  /** the case-sensitive string used to filter items by resourceSubType(s). For example '?resourceSubType=chart-monitoring,qix-df,qvd'. Will return a 400 error if used in conjuction with the square bracket syntax for resourceSubType filtering in the 'resourceType' query parameter. */
286
- resourceSubType?: string | undefined;
286
+ resourceSubType?: string;
287
287
  /** The case-sensitive string used to filter items by resourceType(s). For example '?resourceType=app,qvapp'. Additionally, a optional resourceSubType filter can be added to each resourceType. For example '?resourceType=app[qvd,chart-monitoring],qvapp'. An trailing comma can be used to include the empty resourceSubType, e.g. '?resourceType=app[qvd,chart-monitoring,]', or, to include only empty resourceSubTypes, '?resourceType=app[]' This syntax replaces the 'resourceSubType' query param, and using both in the same query will result in a 400 error. */
288
- resourceType?: ItemResourceTypeEnum | undefined;
288
+ resourceType?: ItemResourceTypeEnum;
289
289
  /** @deprecated
290
290
  * Whether or not to return items in a shared space. */
291
- shared?: boolean | undefined;
291
+ shared?: boolean;
292
292
  /** 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. */
293
- sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
293
+ sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
294
294
  /** The space's unique identifier (supports \'personal\' as spaceId). */
295
- spaceId?: string | undefined;
295
+ spaceId?: string;
296
296
  /** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
297
- spaceType?: SpaceTypeEnum | undefined;
297
+ spaceType?: SpaceTypeEnum;
298
298
  }, options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
299
299
  type GetItemsHttpResponse = {
300
300
  data: ItemsListItemsResponseBody;
@@ -402,19 +402,19 @@ type UpdateItemHttpError = {
402
402
  */
403
403
  declare const getItemCollections: (itemId: string, query: {
404
404
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
405
- limit?: number | undefined;
405
+ limit?: number;
406
406
  /** The case-sensitive string used to search for a collection by name. */
407
- name?: string | undefined;
407
+ name?: string;
408
408
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
409
- next?: string | undefined;
409
+ next?: string;
410
410
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
411
- prev?: string | undefined;
411
+ prev?: string;
412
412
  /** The case-insensitive string used to search for a resource by name or description. */
413
- query?: string | undefined;
413
+ query?: string;
414
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. */
415
- sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
415
+ sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
416
416
  /** The case-sensitive string used to search for a collection by type. */
417
- type?: CollectionTypes | undefined;
417
+ type?: CollectionTypes;
418
418
  }, options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
419
419
  type GetItemCollectionsHttpResponse = {
420
420
  data: ItemsListItemCollectionsResponseBody;
package/items.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/items.ts
8
8
  var getItems = async (query, options) => invokeFetch("items", {
package/licenses.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/licenses.ts
8
8
  var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@qlik/embed-runtime": "^0.7.0",
15
- "@qlik/runtime-module-loader": "^0.2.6",
15
+ "@qlik/runtime-module-loader": "^0.2.7",
16
16
  "ajv": "^8.12.0",
17
17
  "bufferutil": "^4.0.8",
18
18
  "enigma.js": "^2.14.0",
@@ -58,5 +58,5 @@
58
58
  "./qix": "./qix.js",
59
59
  "./auth": "./auth.js"
60
60
  },
61
- "version": "1.0.0"
61
+ "version": "1.2.0"
62
62
  }
package/qix.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './global.types-CMQsAHYd.js';
2
2
  import { H as HostConfig } from './auth-types-Bqw3vbLs.js';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.2028.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.2038.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
@@ -3088,9 +3088,13 @@ type NxBookmark = {
3088
3088
  */
3089
3089
  qPatches?: NxPatches[];
3090
3090
  /**
3091
- * Information about cyclic groups.
3091
+ * Information about cyclic groups by zero-based index. This field is unused.
3092
3092
  */
3093
3093
  qCyclicGroupStates?: CyclicGroupPosition[];
3094
+ /**
3095
+ * Information about cyclic groups indexed by field definition.
3096
+ */
3097
+ qGroupStates?: GroupState[];
3094
3098
  };
3095
3099
  type NxCalcCond = {
3096
3100
  /**
@@ -3949,6 +3953,10 @@ type NxInlineDimensionDef = {
3949
3953
  * This parameter is optional.
3950
3954
  */
3951
3955
  qLabelExpression?: string;
3956
+ /**
3957
+ * Alias of the dimension.
3958
+ */
3959
+ qAlias?: string;
3952
3960
  };
3953
3961
  type NxInlineMeasureDef = {
3954
3962
  /**
@@ -4065,6 +4073,10 @@ type NxLibraryDimension = {
4065
4073
  */
4066
4074
  qFieldLabels?: string[];
4067
4075
  qLabelExpression?: string;
4076
+ /**
4077
+ * Alias of the dimension.
4078
+ */
4079
+ qAlias?: string;
4068
4080
  };
4069
4081
  type NxLibraryDimensionDef = {
4070
4082
  /**
@@ -4085,6 +4097,10 @@ type NxLibraryDimensionDef = {
4085
4097
  */
4086
4098
  qFieldLabels?: string[];
4087
4099
  qLabelExpression?: string;
4100
+ /**
4101
+ * Alias of the dimension.
4102
+ */
4103
+ qAlias?: string;
4088
4104
  };
4089
4105
  /**
4090
4106
  * Information about the library measure. Is the layout for _NxLibraryMeasureDef_.
@@ -11568,6 +11584,8 @@ type OpenAppSessionProps = {
11568
11584
  hostConfig?: HostConfig;
11569
11585
  /** Set to true if app should be opened without loading the data blob */
11570
11586
  withoutData?: boolean;
11587
+ /** Use a separate reload engine to perform a reload */
11588
+ useReloadEngine?: boolean;
11571
11589
  };
11572
11590
  type DocAction = (doc: Doc) => Promise<unknown>;
11573
11591
  type CloseProps = {
package/qix.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  openAppSession,
3
3
  qix_default
4
- } from "./chunks/5ADY5YDO.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/4NK5KQKY.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
  export {
7
7
  qix_default as default,
8
8
  openAppSession
package/quotas.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/quotas.ts
8
8
  var getQuotas = async (query, options) => invokeFetch("quotas", {
package/reload-tasks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/reload-tasks.ts
8
8
  var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
package/reloads.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/reloads.ts
8
8
  var getReloads = async (query, options) => invokeFetch("reloads", {
package/roles.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/roles.ts
8
8
  var getRoles = async (query, options) => invokeFetch("roles", {
package/spaces.d.ts CHANGED
@@ -365,7 +365,7 @@ declare const getSpaceAssignments: (spaceId: string, query: {
365
365
  next?: string;
366
366
  /** The previous page cursor. Previous links make use of this. */
367
367
  prev?: string;
368
- /** The type of assignment. */
368
+ /** The type of assignment. Supported values are user or group. */
369
369
  type?: AssignmentType;
370
370
  }, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
371
371
  type GetSpaceAssignmentsHttpResponse = {
package/spaces.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/spaces.ts
8
8
  var getSpaces = async (query, options) => invokeFetch("spaces", {
package/temp-contents.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/temp-contents.ts
8
8
  var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
package/tenants.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/tenants.ts
8
8
  var createTenant = async (body, options) => invokeFetch("tenants", {
package/themes.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/themes.ts
8
8
  var getThemes = async (options) => invokeFetch("themes", {
package/transports.d.ts CHANGED
@@ -90,6 +90,8 @@ type GetEmailConfig = {
90
90
  authFailures?: number;
91
91
  /** used for SMTP authentication */
92
92
  emailAddress?: string;
93
+ /** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */
94
+ errorCode?: string;
93
95
  /** Is the configuration valid */
94
96
  isValid?: boolean;
95
97
  lastUpdated?: string;
@@ -122,6 +124,8 @@ type GetMicrosoft365Config = {
122
124
  providerTenantId?: string;
123
125
  };
124
126
  type SmtpCheck = {
127
+ /** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */
128
+ errorCode?: string;
125
129
  /** true if smtp config is correct and complete. Will return false if smtp-config does not exist at all */
126
130
  isValid?: boolean;
127
131
  };
package/transports.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/transports.ts
8
8
  var deleteEmailConfig = async (options) => invokeFetch("transports", {
package/users.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/users.ts
8
8
  var getUsers = async (query, options) => invokeFetch("users", {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/web-integrations.ts
8
8
  var getWebIntegrations = async (query, options) => invokeFetch("web-integrations", {
@@ -46,10 +46,12 @@ type Notification = {
46
46
  readonly body: string;
47
47
  readonly createdAt: string;
48
48
  readonly id: string;
49
+ meta: unknown;
49
50
  read: boolean;
50
51
  readonly resourceId?: string;
51
52
  resourceType?: string;
52
53
  readonly spaceId?: string;
54
+ spaceType?: string;
53
55
  subResourceType?: string;
54
56
  readonly tenantId?: string;
55
57
  readonly updatedAt: string;
@@ -62,7 +64,7 @@ type NotificationPatch = {
62
64
  /** The operation to be performed. */
63
65
  op: "replace";
64
66
  /** The path for the given resource field to patch. */
65
- path: "/description";
67
+ path: "/read";
66
68
  /** The value to be used for this operation. */
67
69
  value: string;
68
70
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/web-notifications.ts
8
8
  var getNotifications = async (query, options) => invokeFetch("web-notifications", {
package/webhooks.d.ts CHANGED
@@ -70,6 +70,8 @@ type Link = {
70
70
  href: string;
71
71
  };
72
72
  type WebhookBase = {
73
+ /** If enabled the certificate chain of the configured URL will be checked for revocation before sending the webhook. */
74
+ checkCertificateRevocation?: boolean;
73
75
  /** The UTC timestamp when the webhook was created */
74
76
  readonly createdAt?: string;
75
77
  /** The id of the user that created the webhook */
package/webhooks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AANKGPDX.js";
5
- import "./chunks/7PI3VAVE.js";
4
+ } from "./chunks/664FMSNJ.js";
5
+ import "./chunks/2ZXOEI4D.js";
6
6
 
7
7
  // src/public/rest/webhooks.ts
8
8
  var getWebhooks = async (query, options) => invokeFetch("webhooks", {