@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.
- package/api-keys.d.ts +2 -2
- package/api-keys.js +2 -2
- package/apps.d.ts +4 -2
- package/apps.js +2 -2
- package/audits.d.ts +2 -2
- package/audits.js +2 -2
- package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
- package/auth.d.ts +27 -3
- package/auth.js +8 -4
- package/automations.d.ts +2 -2
- package/automations.js +2 -2
- package/brands.d.ts +2 -2
- package/brands.js +2 -2
- package/chunks/{JIX6RMFP.js → 6ZONDHRN.js} +1 -1
- package/chunks/{TXC5XORK.js → DLKLPD7T.js} +3 -3
- package/chunks/ETNHFALU.js +61 -0
- package/chunks/{G6QUM5WQ.js → FKDGGR2O.js} +137 -45
- package/chunks/{QK4TMJ64.js → GUU3KZGK.js} +11 -1
- package/chunks/{IQBP2PKS.js → KBSD75QL.js} +1 -1
- package/chunks/{OTTC4QSX.js → LY7RP2HA.js} +7 -3
- package/chunks/{FKCZFVJL.js → M64RLKVG.js} +2074 -12
- package/chunks/{F5UDCCRD.js → PLVPW5IR.js} +1 -1
- package/chunks/{QWQLGDMI.js → UZTIZ4H5.js} +392 -372
- package/chunks/{PTDXR7AY.js → YKZ2QYHN.js} +2 -2
- package/collections.d.ts +3 -3
- package/collections.js +2 -2
- package/csp-origins.d.ts +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +7 -7
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +2 -2
- package/data-credentials.js +2 -2
- package/data-files.d.ts +2 -2
- package/data-files.js +2 -2
- package/docs/authentication.md +47 -0
- package/extensions.d.ts +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +2 -2
- package/glossaries.js +2 -2
- package/groups.d.ts +5 -4
- package/groups.js +2 -2
- package/identity-providers.d.ts +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +5 -3
- package/index.js +4 -4
- package/interceptors.d.ts +2 -2
- package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
- package/items.d.ts +3 -3
- package/items.js +2 -2
- package/licenses.d.ts +5 -2
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +7 -2
- package/oauth-clients.js +2 -2
- package/package.json +3 -2
- package/qix.d.ts +421 -26
- package/qix.js +2 -2
- package/quotas.d.ts +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +4 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +2 -2
- package/reports.d.ts +2 -2
- package/reports.js +2 -2
- package/roles.d.ts +2 -2
- package/roles.js +2 -2
- package/spaces.d.ts +3 -7
- package/spaces.js +2 -2
- package/temp-contents.d.ts +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +2 -2
- package/tenants.js +2 -2
- package/themes.d.ts +2 -2
- package/themes.js +2 -2
- package/transports.d.ts +2 -2
- package/transports.js +2 -2
- package/users.d.ts +2 -2
- package/users.js +2 -2
- package/web-integrations.d.ts +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInvokeFetchRuntimeModule
|
|
3
|
-
} from "./
|
|
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.
|
|
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-
|
|
2
|
-
import './auth-types-
|
|
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
package/csp-origins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
package/data-assets.d.ts
CHANGED
package/data-assets.js
CHANGED
package/data-connections.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
|
|
133
|
+
created?: string;
|
|
134
134
|
/** Data source ID */
|
|
135
135
|
datasourceID?: string;
|
|
136
|
-
links
|
|
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
|
|
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
|
|
168
|
+
updated?: string;
|
|
169
169
|
/** User ID of the connection's creator */
|
|
170
|
-
user
|
|
170
|
+
user?: string;
|
|
171
171
|
};
|
|
172
172
|
type ConnectionUpdate = {
|
|
173
173
|
/** ID of the datasource associated with this connection */
|
package/data-connections.js
CHANGED
package/data-credentials.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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 */
|
package/data-credentials.js
CHANGED
package/data-files.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
package/docs/authentication.md
CHANGED
|
@@ -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-
|
|
2
|
-
import './auth-types-
|
|
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
package/glossaries.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
package/groups.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
|
-
/**
|
|
193
|
-
|
|
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
package/identity-providers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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. */
|
package/identity-providers.js
CHANGED
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-
|
|
37
|
-
import './invoke-fetch-types-
|
|
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/
|
|
3
|
+
} from "./chunks/KBSD75QL.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
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/
|
|
14
|
-
import "./chunks/
|
|
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-
|
|
2
|
-
import './auth-types-
|
|
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-
|
|
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
|
|
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-
|
|
2
|
-
import './auth-types-
|
|
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
package/licenses.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
package/oauth-clients.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
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
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.
|
|
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.
|
|
61
|
+
"version": "1.31.0"
|
|
61
62
|
}
|