@qlik/api 0.1.1 → 0.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.
- 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-nnUcWhuU.d.ts → auth-types-1P4wuncR.d.ts} +5 -1
- package/auth.d.ts +7 -3
- package/auth.js +4 -2
- package/automations.d.ts +2 -2
- package/automations.js +2 -2
- package/brands.d.ts +2 -2
- package/brands.js +2 -2
- package/chunks/{JEGN7XQV.js → AEXRZSVI.js} +3 -3
- package/chunks/{XZQNE4HH.js → F36DZZYS.js} +7 -2
- package/chunks/{L2BJNKLV.js → H46323PG.js} +3 -1
- package/chunks/{SIU6HO6B.js → LJNLYKW3.js} +160 -29
- package/chunks/{FFGE2RP7.js → QOUQIYWW.js} +1 -1
- package/chunks/{TT66UJZY.js → TDKU6D4Z.js} +3 -3
- package/chunks/{CHNBNLXY.js → VVREBIN2.js} +2 -2
- package/chunks/{RHF624NQ.js → ZT55IZXB.js} +1 -1
- package/chunks/{XOVMZWDC.js → ZVNQOWQU.js} +1 -1
- package/collections.d.ts +2 -2
- 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 +2 -2
- 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/extensions.d.ts +2 -2
- package/extensions.js +2 -2
- package/{global.types-TzVhFPid.d.ts → global.types-B14bb3X9.d.ts} +23 -1
- package/glossaries.d.ts +2 -2
- package/glossaries.js +2 -2
- package/groups.d.ts +2 -2
- package/groups.js +2 -2
- package/identity-providers.d.ts +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +4 -3
- package/index.js +4 -4
- package/items.d.ts +2 -2
- package/items.js +2 -2
- package/licenses.d.ts +2 -2
- package/licenses.js +2 -2
- package/package.json +1 -1
- package/qix.d.ts +3 -3
- package/qix.js +2 -2
- package/quotas.d.ts +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +2 -2
- package/reloads.js +2 -2
- package/roles.d.ts +2 -2
- package/roles.js +2 -2
- package/spaces.d.ts +2 -2
- 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
package/csp-origins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.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
package/data-connections.js
CHANGED
package/data-credentials.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
type Credential = {
|
|
5
5
|
/** ID datasource that the credential is created for */
|
package/data-credentials.js
CHANGED
package/data-files.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.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/extensions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.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,4 +1,4 @@
|
|
|
1
|
-
import { H as HostConfig } from './auth-types-
|
|
1
|
+
import { H as HostConfig } from './auth-types-1P4wuncR.js';
|
|
2
2
|
|
|
3
3
|
/** An entry in the cache for one specific cacheKey */
|
|
4
4
|
type CacheEntry = {
|
|
@@ -71,6 +71,27 @@ type Oauth2AuthConfig = {
|
|
|
71
71
|
accessTokenStorage?: "session" | "local";
|
|
72
72
|
/** A string with comma separated values of oauth2 scopes https://oauth.net/2/scope defaults to "user_default" */
|
|
73
73
|
scope?: string;
|
|
74
|
+
/**
|
|
75
|
+
* A custom function that can be used on the client side to fetch an oauth access token from a custom backend.
|
|
76
|
+
* Typically used in oauth impersonation.
|
|
77
|
+
*/
|
|
78
|
+
getAccessToken?: string | (() => Promise<string>);
|
|
79
|
+
/**
|
|
80
|
+
* If set to true no caching or storing of the access token is done.
|
|
81
|
+
* This is typically used on the serverside with impersonation so that a client always gets a fresh token.
|
|
82
|
+
* Caching is in that case handled on the client side.
|
|
83
|
+
*/
|
|
84
|
+
noCache?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Can be used on the serverside to impersonate a specific user when authenticating using a client secret.
|
|
87
|
+
* Typically used together with the `noCache` since caching is done on the browser side.
|
|
88
|
+
*/
|
|
89
|
+
subject?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Can be used on the serverside to impersonate a specific user when authenticating using a client secret.
|
|
92
|
+
* Typically used together with the `noCache` since caching is done on the browser side.
|
|
93
|
+
*/
|
|
94
|
+
userId?: string;
|
|
74
95
|
};
|
|
75
96
|
declare global {
|
|
76
97
|
/**
|
|
@@ -109,6 +130,7 @@ declare global {
|
|
|
109
130
|
*/
|
|
110
131
|
var QlikMain: {
|
|
111
132
|
resourceNeedsCredentials: (resourcesUrl: string) => boolean;
|
|
133
|
+
applyFeatureOverrides: (featureFlags: Record<string, boolean>) => Promise<void>;
|
|
112
134
|
} | undefined;
|
|
113
135
|
}
|
|
114
136
|
|
package/glossaries.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
package/glossaries.js
CHANGED
package/groups.d.ts
CHANGED
package/groups.js
CHANGED
package/identity-providers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.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 { openAppSession } from './qix.js';
|
|
2
|
-
import { registerAuthModule, setDefaultHostConfig } from './auth.js';
|
|
2
|
+
import { registerAuthModule, setDefaultHostConfig, getAccessToken } from './auth.js';
|
|
3
3
|
import { ApiKeysAPI } from './api-keys.js';
|
|
4
4
|
import { AppsAPI } from './apps.js';
|
|
5
5
|
import { AuditsAPI } from './audits.js';
|
|
@@ -30,8 +30,8 @@ import { UsersAPI } from './users.js';
|
|
|
30
30
|
import { WebIntegrationsAPI } from './web-integrations.js';
|
|
31
31
|
import { WebNotificationsAPI } from './web-notifications.js';
|
|
32
32
|
import { WebhooksAPI } from './webhooks.js';
|
|
33
|
-
import './global.types-
|
|
34
|
-
import './auth-types-
|
|
33
|
+
import './global.types-B14bb3X9.js';
|
|
34
|
+
import './auth-types-1P4wuncR.js';
|
|
35
35
|
|
|
36
36
|
declare const apiKeys: ApiKeysAPI;
|
|
37
37
|
declare const apps: AppsAPI;
|
|
@@ -39,6 +39,7 @@ declare const audits: AuditsAPI;
|
|
|
39
39
|
declare const auth: {
|
|
40
40
|
registerAuthModule: typeof registerAuthModule;
|
|
41
41
|
setDefaultHostConfig: typeof setDefaultHostConfig;
|
|
42
|
+
getAccessToken: typeof getAccessToken;
|
|
42
43
|
};
|
|
43
44
|
declare const automations: AutomationsAPI;
|
|
44
45
|
declare const brands: BrandsAPI;
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
auth_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/F36DZZYS.js";
|
|
4
4
|
import {
|
|
5
5
|
qix_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/ZT55IZXB.js";
|
|
7
7
|
import {
|
|
8
8
|
clearApiCache,
|
|
9
9
|
invokeFetch
|
|
10
|
-
} from "./chunks/
|
|
11
|
-
import "./chunks/
|
|
10
|
+
} from "./chunks/QOUQIYWW.js";
|
|
11
|
+
import "./chunks/TDKU6D4Z.js";
|
|
12
12
|
import "./chunks/4HB3TAEO.js";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
package/items.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
type CollectionTypes = "private" | "public" | "publicgoverned";
|
|
5
5
|
type ErrorResponseBody = {
|
package/items.js
CHANGED
package/licenses.d.ts
CHANGED
package/licenses.js
CHANGED
package/package.json
CHANGED
package/qix.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './global.types-
|
|
2
|
-
import { H as HostConfig } from './auth-types-
|
|
1
|
+
import './global.types-B14bb3X9.js';
|
|
2
|
+
import { H as HostConfig } from './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2005.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
package/qix.js
CHANGED
package/quotas.d.ts
CHANGED
package/quotas.js
CHANGED
package/reload-tasks.d.ts
CHANGED
package/reload-tasks.js
CHANGED
package/reloads.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
type Error = {
|
|
5
5
|
/** The error code is in form of 'RELOADS-xxx'. ranges from 'RELOADS-001' to 'RELOADS-013'. */
|
package/reloads.js
CHANGED
package/roles.d.ts
CHANGED
package/roles.js
CHANGED
package/spaces.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The supported actions for user-created spaces like Shared or Managed spaces.
|
package/spaces.js
CHANGED
package/temp-contents.d.ts
CHANGED
package/temp-contents.js
CHANGED
package/tenants.d.ts
CHANGED
package/tenants.js
CHANGED
package/themes.d.ts
CHANGED
package/themes.js
CHANGED
package/transports.d.ts
CHANGED
package/transports.js
CHANGED
package/users.d.ts
CHANGED
package/users.js
CHANGED
package/web-integrations.d.ts
CHANGED
package/web-integrations.js
CHANGED
package/web-notifications.d.ts
CHANGED
package/web-notifications.js
CHANGED
package/webhooks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-B14bb3X9.js';
|
|
2
|
+
import './auth-types-1P4wuncR.js';
|
|
3
3
|
|
|
4
4
|
type Delivery = {
|
|
5
5
|
/** The name of the triggering event-type */
|
package/webhooks.js
CHANGED