@qlik/api 1.6.0 → 1.7.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 +2 -2
- package/apps.d.ts +13 -13
- package/apps.js +11 -11
- package/audits.d.ts +0 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.js +2 -2
- package/brands.js +2 -2
- package/chunks/{CYO4KHYF.js → 6P5HRFLL.js} +1 -1
- package/chunks/{FFVTXKKA.js → 6UGE6PR7.js} +0 -3
- package/chunks/{I5CSZHWM.js → 7C6WMELW.js} +3 -3
- package/chunks/{CUE3GZGJ.js → HZ5LN65C.js} +1 -1
- package/chunks/{NR2F7MAJ.js → IEB2MTJ3.js} +1 -1
- package/chunks/{BPM4DLZK.js → JR4AYAEK.js} +1 -1
- package/chunks/{S3X62FNR.js → QXDBGF7B.js} +4 -4
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/docs/qix.md +1 -1
- package/extensions.js +2 -2
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.d.ts +3 -3
- package/identity-providers.js +2 -2
- package/index.d.ts +5 -1
- package/index.js +12 -7
- package/items.js +2 -2
- package/licenses.js +2 -2
- package/package.json +2 -1
- package/qix.d.ts +1 -1
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.js +2 -2
- package/reports.d.ts +545 -0
- package/reports.js +32 -0
- package/roles.d.ts +4 -1
- package/roles.js +2 -2
- package/spaces.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
package/api-keys.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/api-keys.ts
|
|
9
9
|
var getApiKeys = async (query, options) => invokeFetch("api-keys", {
|
package/apps.d.ts
CHANGED
|
@@ -1883,7 +1883,7 @@ type GetAppReportFilterHttpError = {
|
|
|
1883
1883
|
};
|
|
1884
1884
|
/**
|
|
1885
1885
|
* Retrieves the script history for an app.
|
|
1886
|
-
* Returns information about the saved versions of the script.
|
|
1886
|
+
* Returns information about the saved versions of the script in a list sorted with latest first.
|
|
1887
1887
|
*
|
|
1888
1888
|
* @param appId Identifier of the app.
|
|
1889
1889
|
* @param query an object with query parameters
|
|
@@ -1932,13 +1932,13 @@ type UpdateAppScriptHttpError = {
|
|
|
1932
1932
|
};
|
|
1933
1933
|
/**
|
|
1934
1934
|
* Deletes a specific version of the script for an app.
|
|
1935
|
-
* Fails if the
|
|
1935
|
+
* Fails if the supplied id is the current version.
|
|
1936
1936
|
*
|
|
1937
1937
|
* @param appId Identifier of the app.
|
|
1938
|
-
* @param
|
|
1938
|
+
* @param id Identifier of the script version
|
|
1939
1939
|
* @throws DeleteAppScriptHttpError
|
|
1940
1940
|
*/
|
|
1941
|
-
declare const deleteAppScript: (appId: string,
|
|
1941
|
+
declare const deleteAppScript: (appId: string, id: string, options?: ApiCallOptions) => Promise<DeleteAppScriptHttpResponse>;
|
|
1942
1942
|
type DeleteAppScriptHttpResponse = {
|
|
1943
1943
|
data: void;
|
|
1944
1944
|
headers: Headers;
|
|
@@ -1954,10 +1954,10 @@ type DeleteAppScriptHttpError = {
|
|
|
1954
1954
|
* Returns the script text.
|
|
1955
1955
|
*
|
|
1956
1956
|
* @param appId Identifier of the app.
|
|
1957
|
-
* @param
|
|
1957
|
+
* @param id Identifier of the script version, or 'current' for retrieving the current version.
|
|
1958
1958
|
* @throws GetAppScriptHttpError
|
|
1959
1959
|
*/
|
|
1960
|
-
declare const getAppScript: (appId: string,
|
|
1960
|
+
declare const getAppScript: (appId: string, id: string, options?: ApiCallOptions) => Promise<GetAppScriptHttpResponse>;
|
|
1961
1961
|
type GetAppScriptHttpResponse = {
|
|
1962
1962
|
data: ScriptVersion;
|
|
1963
1963
|
headers: Headers;
|
|
@@ -1972,11 +1972,11 @@ type GetAppScriptHttpError = {
|
|
|
1972
1972
|
* Updates a specific version of the script for an app.
|
|
1973
1973
|
*
|
|
1974
1974
|
* @param appId Identifier of the app.
|
|
1975
|
-
* @param
|
|
1975
|
+
* @param id Identifier of the script version.
|
|
1976
1976
|
* @param body an object with the body content
|
|
1977
1977
|
* @throws PatchAppScriptHttpError
|
|
1978
1978
|
*/
|
|
1979
|
-
declare const patchAppScript: (appId: string,
|
|
1979
|
+
declare const patchAppScript: (appId: string, id: string, body: NxPatch[], options?: ApiCallOptions) => Promise<PatchAppScriptHttpResponse>;
|
|
1980
1980
|
type PatchAppScriptHttpResponse = {
|
|
1981
1981
|
data: void;
|
|
1982
1982
|
headers: Headers;
|
|
@@ -2359,7 +2359,7 @@ interface AppsAPI {
|
|
|
2359
2359
|
getAppReportFilter: typeof getAppReportFilter;
|
|
2360
2360
|
/**
|
|
2361
2361
|
* Retrieves the script history for an app.
|
|
2362
|
-
* Returns information about the saved versions of the script.
|
|
2362
|
+
* Returns information about the saved versions of the script in a list sorted with latest first.
|
|
2363
2363
|
*
|
|
2364
2364
|
* @param appId Identifier of the app.
|
|
2365
2365
|
* @param query an object with query parameters
|
|
@@ -2376,10 +2376,10 @@ interface AppsAPI {
|
|
|
2376
2376
|
updateAppScript: typeof updateAppScript;
|
|
2377
2377
|
/**
|
|
2378
2378
|
* Deletes a specific version of the script for an app.
|
|
2379
|
-
* Fails if the
|
|
2379
|
+
* Fails if the supplied id is the current version.
|
|
2380
2380
|
*
|
|
2381
2381
|
* @param appId Identifier of the app.
|
|
2382
|
-
* @param
|
|
2382
|
+
* @param id Identifier of the script version
|
|
2383
2383
|
* @throws DeleteAppScriptHttpError
|
|
2384
2384
|
*/
|
|
2385
2385
|
deleteAppScript: typeof deleteAppScript;
|
|
@@ -2388,7 +2388,7 @@ interface AppsAPI {
|
|
|
2388
2388
|
* Returns the script text.
|
|
2389
2389
|
*
|
|
2390
2390
|
* @param appId Identifier of the app.
|
|
2391
|
-
* @param
|
|
2391
|
+
* @param id Identifier of the script version, or 'current' for retrieving the current version.
|
|
2392
2392
|
* @throws GetAppScriptHttpError
|
|
2393
2393
|
*/
|
|
2394
2394
|
getAppScript: typeof getAppScript;
|
|
@@ -2396,7 +2396,7 @@ interface AppsAPI {
|
|
|
2396
2396
|
* Updates a specific version of the script for an app.
|
|
2397
2397
|
*
|
|
2398
2398
|
* @param appId Identifier of the app.
|
|
2399
|
-
* @param
|
|
2399
|
+
* @param id Identifier of the script version.
|
|
2400
2400
|
* @param body an object with the body content
|
|
2401
2401
|
* @throws PatchAppScriptHttpError
|
|
2402
2402
|
*/
|
package/apps.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/apps.ts
|
|
9
9
|
var createApp = async (body, options) => invokeFetch("apps", {
|
|
@@ -252,22 +252,22 @@ var updateAppScript = async (appId, body, options) => invokeFetch("apps", {
|
|
|
252
252
|
contentType: "application/json",
|
|
253
253
|
options
|
|
254
254
|
});
|
|
255
|
-
var deleteAppScript = async (appId,
|
|
255
|
+
var deleteAppScript = async (appId, id, options) => invokeFetch("apps", {
|
|
256
256
|
method: "delete",
|
|
257
|
-
pathTemplate: "/api/v1/apps/{appId}/scripts/{
|
|
258
|
-
pathVariables: { appId,
|
|
257
|
+
pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
|
|
258
|
+
pathVariables: { appId, id },
|
|
259
259
|
options
|
|
260
260
|
});
|
|
261
|
-
var getAppScript = async (appId,
|
|
261
|
+
var getAppScript = async (appId, id, options) => invokeFetch("apps", {
|
|
262
262
|
method: "get",
|
|
263
|
-
pathTemplate: "/api/v1/apps/{appId}/scripts/{
|
|
264
|
-
pathVariables: { appId,
|
|
263
|
+
pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
|
|
264
|
+
pathVariables: { appId, id },
|
|
265
265
|
options
|
|
266
266
|
});
|
|
267
|
-
var patchAppScript = async (appId,
|
|
267
|
+
var patchAppScript = async (appId, id, body, options) => invokeFetch("apps", {
|
|
268
268
|
method: "patch",
|
|
269
|
-
pathTemplate: "/api/v1/apps/{appId}/scripts/{
|
|
270
|
-
pathVariables: { appId,
|
|
269
|
+
pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
|
|
270
|
+
pathVariables: { appId, id },
|
|
271
271
|
body,
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
options
|
package/audits.d.ts
CHANGED
package/audits.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
9
|
var getAudits = async (query, options) => invokeFetch("audits", {
|
package/auth.js
CHANGED
package/automations.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
9
|
var getAutomations = async (query, options) => invokeFetch("automations", {
|
package/brands.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/brands.ts
|
|
9
9
|
var getBrands = async (query, options) => invokeFetch("brands", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.
|
|
1
|
+
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.4_bufferutil@4.0.8/node_modules/@qlik/runtime-module-loader/dist/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);
|
|
@@ -10371,9 +10371,6 @@ async function createEnigmaSession({
|
|
|
10371
10371
|
}) {
|
|
10372
10372
|
const locationUrl = toValidWebsocketLocationUrl(hostConfig);
|
|
10373
10373
|
const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
|
|
10374
|
-
if (!identity && withoutData) {
|
|
10375
|
-
identity = "no_data";
|
|
10376
|
-
}
|
|
10377
10374
|
const identityPart = identity ? `/identity/${identity}` : "";
|
|
10378
10375
|
const reloadEnginePart = useReloadEngine ? "&workloadType=interactive-reload" : "";
|
|
10379
10376
|
let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}${reloadEnginePart}`.replace(
|
|
@@ -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("./5WSW4QG3.js") : import("./
|
|
4
|
+
return isNode ? import("./5WSW4QG3.js") : import("./6P5HRFLL.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("./
|
|
9
|
+
return isNode ? import("./HZ5LN65C.js") : import("./6P5HRFLL.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("./SW3DXPAP.js") : import("./
|
|
14
|
+
return isNode ? import("./SW3DXPAP.js") : import("./6P5HRFLL.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
|
@@ -101,7 +101,7 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
101
101
|
return authSuggestedInWebsocket;
|
|
102
102
|
}
|
|
103
103
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
104
|
-
const { createEnigmaSession } = await import("./
|
|
104
|
+
const { createEnigmaSession } = await import("./6UGE6PR7.js");
|
|
105
105
|
const session = await createEnigmaSession(props);
|
|
106
106
|
setupSessionListeners(session, props);
|
|
107
107
|
let global;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getInvokeFetchRuntimeModule
|
|
3
|
+
} from "./7C6WMELW.js";
|
|
1
4
|
import {
|
|
2
5
|
isBrowser
|
|
3
6
|
} from "./2ZQ3ZX7F.js";
|
|
4
|
-
import {
|
|
5
|
-
getInvokeFetchRuntimeModule
|
|
6
|
-
} from "./I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/invoke-fetch.ts
|
|
9
|
-
var defaultUserAgent = "qlik-api/1.
|
|
9
|
+
var defaultUserAgent = "qlik-api/1.7.0";
|
|
10
10
|
async function invokeFetch(api, props) {
|
|
11
11
|
const hostConfig = props.options?.hostConfig;
|
|
12
12
|
let userAgent;
|
package/collections.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/collections.ts
|
|
9
9
|
var getCollections = async (query, options) => invokeFetch("collections", {
|
package/csp-origins.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csp-origins.ts
|
|
9
9
|
var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
|
package/data-assets.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-assets.ts
|
|
9
9
|
var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
|
package/data-connections.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-connections.ts
|
|
9
9
|
var getDataConnections = async (query, options) => invokeFetch("data-connections", {
|
package/data-credentials.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-credentials.ts
|
|
9
9
|
var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
|
package/data-files.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-files.ts
|
|
9
9
|
var getDataFiles = async (query, options) => invokeFetch("data-files", {
|
package/docs/qix.md
CHANGED
|
@@ -35,7 +35,7 @@ The app sesssion settings have the following properties.
|
|
|
35
35
|
- `hostConfig` - Optional Hostconfig to connect to a URL and authenticate an app session. Only needed if default HostConfig has not been set, or if connection should be different from the default.
|
|
36
36
|
- `withoutData` - Optional boolean, set to true if app should be opened without loading the data blob
|
|
37
37
|
|
|
38
|
-
**_note_** - when using `withoutData: true` and no `identity`
|
|
38
|
+
**_note_** - when using `withoutData: true` and no `identity` it is likely that engine throws error "App is opened in a different mode" if the app has already been opened with data or if the app is opened in `Qlik Sense` after script has been run without data. So it is _strongly recommended_ to use the `identity` parameter when opening the app without data. E.g `qix.openAppSession({ appId: "app-id", identity: "no-data", withoutData: true, ... })`
|
|
39
39
|
|
|
40
40
|
## Usage example
|
|
41
41
|
|
package/extensions.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/extensions.ts
|
|
9
9
|
var getExtensions = async (options) => invokeFetch("extensions", {
|
package/glossaries.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/glossaries.ts
|
|
9
9
|
var getGlossaries = async (query, options) => invokeFetch("glossaries", {
|
package/groups.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/groups.ts
|
|
9
9
|
var getGroups = async (query, options) => invokeFetch("groups", {
|
package/identity-providers.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ type CertificateInfo = {
|
|
|
40
40
|
* Payload for creating an identity provider using JWT authentication.
|
|
41
41
|
*/
|
|
42
42
|
type CreateJWTAuthPayload = {
|
|
43
|
-
/** There can be clock skew between the IdP and Qlik's login server
|
|
43
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
44
44
|
clockToleranceSec?: number;
|
|
45
45
|
description?: string;
|
|
46
46
|
/** Required IdP configurations. */
|
|
@@ -66,7 +66,7 @@ type CreateJWTAuthPayload = {
|
|
|
66
66
|
* Payload for creating an OIDC-compatible identity provider.
|
|
67
67
|
*/
|
|
68
68
|
type CreateOIDCPayload = {
|
|
69
|
-
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set
|
|
69
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
70
70
|
clockToleranceSec?: number;
|
|
71
71
|
/** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
72
72
|
createNewUsersOnLogin?: boolean;
|
|
@@ -126,7 +126,7 @@ type CreateOIDCPayload = {
|
|
|
126
126
|
* Payload for creating a SAML compatible identity provider.
|
|
127
127
|
*/
|
|
128
128
|
type CreateSAMLPayload = {
|
|
129
|
-
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set
|
|
129
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
130
130
|
clockToleranceSec?: number;
|
|
131
131
|
/** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
132
132
|
createNewUsersOnLogin?: boolean;
|
package/identity-providers.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/identity-providers.ts
|
|
9
9
|
var getIdps = async (query, options) => invokeFetch("identity-providers", {
|
package/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { LicensesAPI } from './licenses.js';
|
|
|
20
20
|
import { QuotasAPI } from './quotas.js';
|
|
21
21
|
import { ReloadTasksAPI } from './reload-tasks.js';
|
|
22
22
|
import { ReloadsAPI } from './reloads.js';
|
|
23
|
+
import { ReportsAPI } from './reports.js';
|
|
23
24
|
import { RolesAPI } from './roles.js';
|
|
24
25
|
import { SpacesAPI } from './spaces.js';
|
|
25
26
|
import { TempContentsAPI } from './temp-contents.js';
|
|
@@ -61,6 +62,7 @@ declare const qix: {
|
|
|
61
62
|
declare const quotas: QuotasAPI;
|
|
62
63
|
declare const reloadTasks: ReloadTasksAPI;
|
|
63
64
|
declare const reloads: ReloadsAPI;
|
|
65
|
+
declare const reports: ReportsAPI;
|
|
64
66
|
declare const roles: RolesAPI;
|
|
65
67
|
declare const spaces: SpacesAPI;
|
|
66
68
|
declare const tempContents: TempContentsAPI;
|
|
@@ -116,6 +118,8 @@ interface QlikAPI {
|
|
|
116
118
|
reloadTasks: typeof reloadTasks;
|
|
117
119
|
/** Functions for the reloads api */
|
|
118
120
|
reloads: typeof reloads;
|
|
121
|
+
/** Functions for the reports api */
|
|
122
|
+
reports: typeof reports;
|
|
119
123
|
/** Functions for the roles api */
|
|
120
124
|
roles: typeof roles;
|
|
121
125
|
/** Functions for the spaces api */
|
|
@@ -140,4 +144,4 @@ interface QlikAPI {
|
|
|
140
144
|
/** Javascript/Typescript bindings to Qlik's platform API's */
|
|
141
145
|
declare const api: QlikAPI;
|
|
142
146
|
|
|
143
|
-
export { type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, items, licenses, qix, quotas, reloadTasks, reloads, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };
|
|
147
|
+
export { type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, items, licenses, qix, quotas, reloadTasks, reloads, reports, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };
|
package/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
auth_default
|
|
3
|
-
} from "./chunks/BPM4DLZK.js";
|
|
4
1
|
import {
|
|
5
2
|
qix_default
|
|
6
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/IEB2MTJ3.js";
|
|
4
|
+
import {
|
|
5
|
+
auth_default
|
|
6
|
+
} from "./chunks/JR4AYAEK.js";
|
|
7
7
|
import {
|
|
8
8
|
clearApiCache,
|
|
9
9
|
invokeFetch
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/QXDBGF7B.js";
|
|
11
|
+
import "./chunks/7C6WMELW.js";
|
|
11
12
|
import "./chunks/2ZQ3ZX7F.js";
|
|
12
|
-
import "./chunks/I5CSZHWM.js";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
15
15
|
var methodAbbreviations = {
|
|
@@ -226,7 +226,7 @@ var apps = apiDefToApi("apps", {
|
|
|
226
226
|
},
|
|
227
227
|
scripts: {
|
|
228
228
|
"": ["getAppScriptHistory:GQ:", "updateAppScript:PBJ:"],
|
|
229
|
-
"{
|
|
229
|
+
"{id}": ["deleteAppScript:D:", "getAppScript:G:", "patchAppScript:ABJ:"]
|
|
230
230
|
},
|
|
231
231
|
space: ["removeAppFromSpace:D:", "moveAppToSpace:UBJ:"]
|
|
232
232
|
},
|
|
@@ -520,6 +520,9 @@ var reloads = apiDefToApi("reloads", {
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
});
|
|
523
|
+
var reports = apiDefToApi("reports", {
|
|
524
|
+
api: { v1: { reports: { "": ["createReport:PBJ:"], "{id}": { status: ["getReportStatus:G:"] } } } }
|
|
525
|
+
});
|
|
523
526
|
var roles = apiDefToApi("roles", {
|
|
524
527
|
api: { v1: { roles: { "": ["getRoles:GQ:"], "{id}": ["getRole:G:"] } } }
|
|
525
528
|
});
|
|
@@ -667,6 +670,7 @@ var api = {
|
|
|
667
670
|
quotas,
|
|
668
671
|
reloadTasks,
|
|
669
672
|
reloads,
|
|
673
|
+
reports,
|
|
670
674
|
roles,
|
|
671
675
|
spaces,
|
|
672
676
|
tempContents,
|
|
@@ -703,6 +707,7 @@ export {
|
|
|
703
707
|
quotas,
|
|
704
708
|
reloadTasks,
|
|
705
709
|
reloads,
|
|
710
|
+
reports,
|
|
706
711
|
roles,
|
|
707
712
|
spaces,
|
|
708
713
|
tempContents,
|
package/items.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/items.ts
|
|
9
9
|
var getItems = async (query, options) => invokeFetch("items", {
|
package/licenses.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
9
|
var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
|
package/package.json
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"./quotas": "./quotas.js",
|
|
42
42
|
"./reload-tasks": "./reload-tasks.js",
|
|
43
43
|
"./reloads": "./reloads.js",
|
|
44
|
+
"./reports": "./reports.js",
|
|
44
45
|
"./roles": "./roles.js",
|
|
45
46
|
"./spaces": "./spaces.js",
|
|
46
47
|
"./temp-contents": "./temp-contents.js",
|
|
@@ -54,5 +55,5 @@
|
|
|
54
55
|
"./qix": "./qix.js",
|
|
55
56
|
"./auth": "./auth.js"
|
|
56
57
|
},
|
|
57
|
-
"version": "1.
|
|
58
|
+
"version": "1.7.0"
|
|
58
59
|
}
|
package/qix.d.ts
CHANGED
package/qix.js
CHANGED
package/quotas.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/quotas.ts
|
|
9
9
|
var getQuotas = async (query, options) => invokeFetch("quotas", {
|
package/reload-tasks.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
4
|
+
} from "./chunks/QXDBGF7B.js";
|
|
5
|
+
import "./chunks/7C6WMELW.js";
|
|
5
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
6
|
-
import "./chunks/I5CSZHWM.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/reload-tasks.ts
|
|
9
9
|
var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
|