@qlik/api 1.30.0 → 1.31.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 (86) hide show
  1. package/api-keys.d.ts +2 -2
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +4 -2
  4. package/apps.js +2 -2
  5. package/audits.d.ts +2 -2
  6. package/audits.js +2 -2
  7. package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
  8. package/auth.d.ts +27 -3
  9. package/auth.js +8 -4
  10. package/automations.d.ts +2 -2
  11. package/automations.js +2 -2
  12. package/brands.d.ts +2 -2
  13. package/brands.js +2 -2
  14. package/chunks/{JIX6RMFP.js → 6ZONDHRN.js} +1 -1
  15. package/chunks/{TXC5XORK.js → DLKLPD7T.js} +3 -3
  16. package/chunks/ETNHFALU.js +61 -0
  17. package/chunks/{G6QUM5WQ.js → FKDGGR2O.js} +137 -45
  18. package/chunks/{QK4TMJ64.js → GUU3KZGK.js} +11 -1
  19. package/chunks/{IQBP2PKS.js → KBSD75QL.js} +1 -1
  20. package/chunks/{OTTC4QSX.js → LY7RP2HA.js} +7 -3
  21. package/chunks/{FKCZFVJL.js → M64RLKVG.js} +2074 -12
  22. package/chunks/{F5UDCCRD.js → PLVPW5IR.js} +1 -1
  23. package/chunks/{QWQLGDMI.js → UZTIZ4H5.js} +392 -372
  24. package/chunks/{PTDXR7AY.js → YKZ2QYHN.js} +2 -2
  25. package/collections.d.ts +3 -3
  26. package/collections.js +2 -2
  27. package/csp-origins.d.ts +2 -2
  28. package/csp-origins.js +2 -2
  29. package/data-assets.d.ts +2 -2
  30. package/data-assets.js +2 -2
  31. package/data-connections.d.ts +7 -7
  32. package/data-connections.js +2 -2
  33. package/data-credentials.d.ts +2 -2
  34. package/data-credentials.js +2 -2
  35. package/data-files.d.ts +2 -2
  36. package/data-files.js +2 -2
  37. package/docs/authentication.md +47 -0
  38. package/extensions.d.ts +2 -2
  39. package/extensions.js +2 -2
  40. package/glossaries.d.ts +2 -2
  41. package/glossaries.js +2 -2
  42. package/groups.d.ts +5 -4
  43. package/groups.js +2 -2
  44. package/identity-providers.d.ts +2 -2
  45. package/identity-providers.js +2 -2
  46. package/index.d.ts +5 -3
  47. package/index.js +4 -4
  48. package/interceptors.d.ts +2 -2
  49. package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
  50. package/items.d.ts +3 -3
  51. package/items.js +2 -2
  52. package/licenses.d.ts +5 -2
  53. package/licenses.js +2 -2
  54. package/oauth-clients.d.ts +7 -2
  55. package/oauth-clients.js +2 -2
  56. package/package.json +3 -2
  57. package/qix.d.ts +421 -26
  58. package/qix.js +2 -2
  59. package/quotas.d.ts +2 -2
  60. package/quotas.js +2 -2
  61. package/reload-tasks.d.ts +4 -2
  62. package/reload-tasks.js +2 -2
  63. package/reloads.d.ts +4 -2
  64. package/reloads.js +2 -2
  65. package/reports.d.ts +2 -2
  66. package/reports.js +2 -2
  67. package/roles.d.ts +2 -2
  68. package/roles.js +2 -2
  69. package/spaces.d.ts +3 -7
  70. package/spaces.js +2 -2
  71. package/temp-contents.d.ts +2 -2
  72. package/temp-contents.js +2 -2
  73. package/tenants.d.ts +2 -2
  74. package/tenants.js +2 -2
  75. package/themes.d.ts +2 -2
  76. package/themes.js +2 -2
  77. package/transports.d.ts +2 -2
  78. package/transports.js +2 -2
  79. package/users.d.ts +2 -2
  80. package/users.js +2 -2
  81. package/web-integrations.d.ts +2 -2
  82. package/web-integrations.js +2 -2
  83. package/web-notifications.d.ts +2 -2
  84. package/web-notifications.js +2 -2
  85. package/webhooks.d.ts +2 -2
  86. package/webhooks.js +2 -2
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./TXC5XORK.js";
3
+ } from "./DLKLPD7T.js";
4
4
  import {
5
5
  isBrowser
6
6
  } from "./2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/invoke-fetch.ts
9
- var defaultUserAgent = "qlik-api/1.30.0";
9
+ var defaultUserAgent = "qlik-api/1.31.0";
10
10
  async function invokeFetch(api, props) {
11
11
  const hostConfig = props.options?.hostConfig;
12
12
  let userAgent;
package/collections.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type CollectionByIdPatch = {
5
5
  /** The operation to be performed. */
@@ -121,7 +121,7 @@ type ItemMetaResponseBody = {
121
121
  /**
122
122
  * The case-sensitive string defining the item's type.
123
123
  */
124
- type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment" | "assistant" | "dataproduct" | "dataqualityrule" | "glossary" | "knowledgebase" | "script";
125
125
  /**
126
126
  * An item.
127
127
  */
package/collections.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/collections.ts
package/csp-origins.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type CSPEntry = {
5
5
  /** The CSP entry's unique identifier. */
package/csp-origins.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/csp-origins.ts
package/data-assets.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type BatchIdDto = {
5
5
  ids?: string[];
package/data-assets.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type ActionDeleteRequest = {
5
5
  connections: {
@@ -130,10 +130,10 @@ type ConnectionGet = {
130
130
  /** List of connection parsed from connection string (only available when query parseConnection=true is set) */
131
131
  connectionProperties?: unknown;
132
132
  /** Datetime when the connection was created */
133
- created: string;
133
+ created?: string;
134
134
  /** Data source ID */
135
135
  datasourceID?: string;
136
- links?: Link;
136
+ links: Link;
137
137
  /** Array of string (i.e. update, delete, read) indicating the user's privileges on the associated connection */
138
138
  privileges: Privilege[];
139
139
  /** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
@@ -153,7 +153,7 @@ type ConnectionGet = {
153
153
  /** Descriptive name of the data connection */
154
154
  qName: string;
155
155
  /** Indicates whether or not this is a credential-less connection */
156
- qSeparateCredentials: boolean;
156
+ qSeparateCredentials?: boolean;
157
157
  /** Type of connection, i.e. provider type of underlying connector */
158
158
  qType: string;
159
159
  /** Encrypted base Qri string (filterable using SCIM filter, e.g. filter='qri co "snowflake"') */
@@ -165,9 +165,9 @@ type ConnectionGet = {
165
165
  /** Tenant ID of the connection's creator */
166
166
  tenant: string;
167
167
  /** Datetime when the connection was last updated */
168
- updated: string;
168
+ updated?: string;
169
169
  /** User ID of the connection's creator */
170
- user: string;
170
+ user?: string;
171
171
  };
172
172
  type ConnectionUpdate = {
173
173
  /** ID of the datasource associated with this connection */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type ActionFilterOrphanRequest = {
5
5
  /** Filtering on datasource ID of credentials */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-credentials.ts
package/data-files.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type BatchChangeSpaceItem = {
5
5
  /** The ID of the data file whose space will be changed. */
package/data-files.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-files.ts
@@ -246,4 +246,51 @@ const hostConfig: HostConfig = {
246
246
  setDefaultHostConfig(hostConfig);
247
247
  ```
248
248
 
249
+ ## Registering a Host Config
250
+
251
+ It is possible to register a named host config and reference it when making api-calls.
252
+
253
+ When referencing a registered host config we use a special host config type with the auth type `reference` which only
254
+ takes one property with the same name (`.reference`). There is no need to specify the auth type in the host config
255
+ when using this host config type.
256
+
257
+ This example shows how to use the `registerHostConfig` function and how to reference it.
258
+
259
+ ```ts
260
+ import { auth, spaces } from "@qlik/api";
261
+
262
+ auth.registerHostConfig("tenant 1", {
263
+ host: "tenant1.eu.qlikcloud.com",
264
+ authType: "apikey",
265
+ apiKey: "<api-key>",
266
+ });
267
+
268
+ auth.registerHostConfig("tenant 2", {
269
+ host: "tenant2.eu.qlikcloud.com",
270
+ authType: "apikey",
271
+ apiKey: "<api-key>",
272
+ });
273
+
274
+ const response = await spaces.getSpaces({}, { hostConfig: { reference: "tenant 1" } });
275
+ console.log(`Tenant 1 has ${response.data.data.length} spaces`);
276
+ const response2 = await spaces.getSpaces({}, { hostConfig: { reference: "tenant 2" } });
277
+ console.log(`Tenant 2 has ${response2.data.data.length} spaces`);
278
+ ```
279
+
280
+ This works equally well when using it in the `createQlikApi` function.
281
+
282
+ ```ts
283
+ import { auth, createQlikApi } from "@qlik/api";
284
+
285
+ auth.registerHostConfig("tenant 1", {
286
+ host: "tenant1.eu.qlikcloud.com",
287
+ authType: "apikey",
288
+ apiKey: "<api-key>",
289
+ });
290
+
291
+ const api = createQlikApi({ reference: "tenant 1" });
292
+
293
+ // api is now bound to the registered host config "tenant 1"
294
+ ```
295
+
249
296
  ◁ [Back to overview](../README.md)
package/extensions.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
package/extensions.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/extensions.ts
package/glossaries.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * A JSON Patch document as defined in https://tools.ietf.org/html/rfc6902.
package/glossaries.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
@@ -189,8 +189,9 @@ type GroupSettings = {
189
189
  href: string;
190
190
  };
191
191
  };
192
- /** Determines if groups should be created on login. */
193
- syncIdpGroups: boolean;
192
+ /** @deprecated
193
+ * Determines if groups should be created on login. */
194
+ syncIdpGroups?: boolean;
194
195
  systemGroups?: {
195
196
  "000000000000000000000001"?: {
196
197
  /** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
package/groups.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/groups.ts
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type BaseIDP = {
5
5
  /** Indicates whether the IdP is available for use. */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { InterceptorsAPI, createInterceptors } from './interceptors.js';
2
- import { AuthAPI, registerAuthModule, setDefaultHostConfig, getAccessToken } from './auth.js';
2
+ import { AuthAPI, registerAuthModule, setDefaultHostConfig, registerHostConfig, unregisterHostConfig, getAccessToken } from './auth.js';
3
3
  import { QixAPI } from './qix.js';
4
4
  import { ApiKeysAPI } from './api-keys.js';
5
5
  import { AppsAPI } from './apps.js';
@@ -33,8 +33,8 @@ import { UsersAPI } from './users.js';
33
33
  import { WebIntegrationsAPI } from './web-integrations.js';
34
34
  import { WebNotificationsAPI } from './web-notifications.js';
35
35
  import { WebhooksAPI } from './webhooks.js';
36
- import { H as HostConfig } from './auth-types-PkN9CAF_.js';
37
- import './invoke-fetch-types-BXn-uSF5.js';
36
+ import { H as HostConfig } from './auth-types-DqfMuSRX.js';
37
+ import './invoke-fetch-types-Cq7bjkqn.js';
38
38
 
39
39
  declare const apiKeys: ApiKeysAPI;
40
40
  declare const apps: AppsAPI;
@@ -42,6 +42,8 @@ declare const audits: AuditsAPI;
42
42
  declare const auth: {
43
43
  registerAuthModule: typeof registerAuthModule;
44
44
  setDefaultHostConfig: typeof setDefaultHostConfig;
45
+ registerHostConfig: typeof registerHostConfig;
46
+ unregisterHostConfig: typeof unregisterHostConfig;
45
47
  getAccessToken: typeof getAccessToken;
46
48
  };
47
49
  declare const automations: AutomationsAPI;
package/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  qix_default
3
- } from "./chunks/IQBP2PKS.js";
3
+ } from "./chunks/KBSD75QL.js";
4
4
  import {
5
5
  auth_default
6
- } from "./chunks/QK4TMJ64.js";
6
+ } from "./chunks/GUU3KZGK.js";
7
7
  import {
8
8
  interceptors_default
9
9
  } from "./chunks/3RGGGGAR.js";
10
10
  import {
11
11
  clearApiCache,
12
12
  invokeFetch
13
- } from "./chunks/PTDXR7AY.js";
14
- import "./chunks/TXC5XORK.js";
13
+ } from "./chunks/YKZ2QYHN.js";
14
+ import "./chunks/DLKLPD7T.js";
15
15
  import "./chunks/2ZQ3ZX7F.js";
16
16
 
17
17
  // src/runtime-api-generator/runtime-api-generator-common.ts
package/interceptors.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as InvokeFetchResponse, a as InvokeFetchProperties } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { I as InvokeFetchResponse, a as InvokeFetchProperties } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * The RestInterceptor type is a function that can be used to intercept requests and responses
@@ -1,4 +1,4 @@
1
- import { H as HostConfig } from './auth-types-PkN9CAF_.js';
1
+ import { H as HostConfig } from './auth-types-DqfMuSRX.js';
2
2
 
3
3
  /** ApiKey Auth Configuration for a HostConfig */
4
4
  type ApiKeyAuthConfig = {
@@ -82,6 +82,11 @@ type AnonymousAuthConfig = {
82
82
  /** client id of oauth client created by tenant admin */
83
83
  clientId: string;
84
84
  };
85
+ /** Used to reference a registered host config as a single string */
86
+ type ReferenceConfig = {
87
+ /** The name of the registered host config to reference */
88
+ reference: string;
89
+ };
85
90
  declare global {
86
91
  /**
87
92
  * QlikAuthModules is a global interface that can be extended to add custom auth modules.
@@ -102,6 +107,9 @@ declare global {
102
107
  windowscookie: {
103
108
  config: WindowsCookieAuthConfig;
104
109
  };
110
+ reference: {
111
+ config: ReferenceConfig;
112
+ };
105
113
  none: {
106
114
  config: object;
107
115
  };
@@ -160,7 +168,7 @@ type ApiCallOptions = {
160
168
  */
161
169
  useCacheIfAfter?: Date;
162
170
  /**
163
- * Specify if another host than `globalThis.location` is to be used. Typically used in embedding and mashups
171
+ * Specify the host configif the api call is a cross-domain request. Typically used in embedding and mashups
164
172
  */
165
173
  hostConfig?: HostConfig;
166
174
  /**
package/items.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  type CollectionTypes = "private" | "public" | "publicgoverned";
5
5
  type ErrorResponseBody = {
@@ -129,7 +129,7 @@ type ItemMetaResponseBody = {
129
129
  /**
130
130
  * The case-sensitive string defining the item's type.
131
131
  */
132
- type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
132
+ type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment" | "assistant" | "dataproduct" | "dataqualityrule" | "glossary" | "knowledgebase" | "script";
133
133
  /**
134
134
  * An item.
135
135
  */
package/items.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/items.ts
package/licenses.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * @example
@@ -367,6 +367,7 @@ type LicenseOverview = {
367
367
  /**
368
368
  * @example
369
369
  * {
370
+ * extensionStatus: "Unavailable",
370
371
  * origin: "Internal",
371
372
  * product: "Qlik Sense Business",
372
373
  * status: "Ok",
@@ -376,6 +377,8 @@ type LicenseOverview = {
376
377
  * }
377
378
  */
378
379
  type LicenseStatus = {
380
+ /** Enum with extension status of license. access. */
381
+ extensionStatus: "Unavailable" | "Pending" | "Available";
379
382
  /** Origin of license key. */
380
383
  origin: "Internal" | "External";
381
384
  /** The product the license is valid for. */
package/licenses.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/licenses.ts
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
- import './auth-types-PkN9CAF_.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
3
 
4
4
  /**
5
5
  * Hints of any client application secrets
@@ -123,6 +123,11 @@ type OAuthClientCreateRequest = {
123
123
  clientName: string;
124
124
  /** URI for homepage of client */
125
125
  clientUri?: string;
126
+ /** Optional settings for configuring the client connection. */
127
+ connectionConfig?: {
128
+ /** Specifies the consent method for the connection. The only allowed value is "trusted." */
129
+ consentMethod?: "trusted";
130
+ };
126
131
  /** Client description */
127
132
  description?: string;
128
133
  /** URI for logo of client */
package/oauth-clients.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/PTDXR7AY.js";
5
- import "./chunks/TXC5XORK.js";
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/oauth-clients.ts
package/package.json CHANGED
@@ -12,11 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "enigma.js": "^2.14.0",
15
+ "extend": "3.0.2",
15
16
  "lodash": "^4.17.21",
16
17
  "nanoid": "^5.0.9",
17
18
  "ws": "^8.18.1"
18
19
  },
19
- "packageManager": "pnpm@10.7.0",
20
+ "packageManager": "pnpm@10.8.1",
20
21
  "engines": {
21
22
  "node": ">=20"
22
23
  },
@@ -57,5 +58,5 @@
57
58
  "./qix": "./qix.js",
58
59
  "./auth": "./auth.js"
59
60
  },
60
- "version": "1.30.0"
61
+ "version": "1.31.0"
61
62
  }