@qlik/api 1.0.0 → 1.1.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.
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.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.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.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.1.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.2030.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
@@ -3949,6 +3949,10 @@ type NxInlineDimensionDef = {
3949
3949
  * This parameter is optional.
3950
3950
  */
3951
3951
  qLabelExpression?: string;
3952
+ /**
3953
+ * Alias of the dimension.
3954
+ */
3955
+ qAlias?: string;
3952
3956
  };
3953
3957
  type NxInlineMeasureDef = {
3954
3958
  /**
@@ -4065,6 +4069,10 @@ type NxLibraryDimension = {
4065
4069
  */
4066
4070
  qFieldLabels?: string[];
4067
4071
  qLabelExpression?: string;
4072
+ /**
4073
+ * Alias of the dimension.
4074
+ */
4075
+ qAlias?: string;
4068
4076
  };
4069
4077
  type NxLibraryDimensionDef = {
4070
4078
  /**
@@ -4085,6 +4093,10 @@ type NxLibraryDimensionDef = {
4085
4093
  */
4086
4094
  qFieldLabels?: string[];
4087
4095
  qLabelExpression?: string;
4096
+ /**
4097
+ * Alias of the dimension.
4098
+ */
4099
+ qAlias?: string;
4088
4100
  };
4089
4101
  /**
4090
4102
  * Information about the library measure. Is the layout for _NxLibraryMeasureDef_.
@@ -11568,6 +11580,8 @@ type OpenAppSessionProps = {
11568
11580
  hostConfig?: HostConfig;
11569
11581
  /** Set to true if app should be opened without loading the data blob */
11570
11582
  withoutData?: boolean;
11583
+ /** Use a separate reload engine to perform a reload */
11584
+ useReloadEngine?: boolean;
11571
11585
  };
11572
11586
  type DocAction = (doc: Doc) => Promise<unknown>;
11573
11587
  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.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.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", {