@qlik/api 0.0.1
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/LICENSE +17 -0
- package/README.md +8 -0
- package/api-keys.d.mts +313 -0
- package/api-keys.d.ts +313 -0
- package/api-keys.js +76 -0
- package/api-keys.mjs +76 -0
- package/apps.d.mts +1921 -0
- package/apps.d.ts +1921 -0
- package/apps.js +331 -0
- package/apps.mjs +331 -0
- package/audits.d.mts +262 -0
- package/audits.d.ts +262 -0
- package/audits.js +63 -0
- package/audits.mjs +63 -0
- package/auth-CSVTXOZX.js +36 -0
- package/auth-TE272Q34.mjs +36 -0
- package/auth-types-nnUcWhuU.d.mts +98 -0
- package/auth-types-nnUcWhuU.d.ts +98 -0
- package/auth.d.mts +26 -0
- package/auth.d.ts +26 -0
- package/auth.js +13 -0
- package/auth.mjs +13 -0
- package/automations.d.mts +638 -0
- package/automations.d.ts +638 -0
- package/automations.js +166 -0
- package/automations.mjs +166 -0
- package/brands.d.mts +614 -0
- package/brands.d.ts +614 -0
- package/brands.js +118 -0
- package/brands.mjs +118 -0
- package/chunk-3YE7EI7I.mjs +17 -0
- package/chunk-4ES65KO3.js +57 -0
- package/chunk-4FLMND6T.js +25 -0
- package/chunk-4OMEH5SW.mjs +1337 -0
- package/chunk-CKPJE4IA.mjs +57 -0
- package/chunk-GUQBHY3H.mjs +25 -0
- package/chunk-OULT3V2U.js +17 -0
- package/chunk-WM7FQU2U.mjs +21 -0
- package/chunk-XASXL2NC.js +1337 -0
- package/chunk-ZT4C7KCQ.js +21 -0
- package/collections.d.mts +535 -0
- package/collections.d.ts +535 -0
- package/collections.js +100 -0
- package/collections.mjs +100 -0
- package/csp-origins.d.mts +258 -0
- package/csp-origins.d.ts +258 -0
- package/csp-origins.js +66 -0
- package/csp-origins.mjs +66 -0
- package/data-assets.d.mts +195 -0
- package/data-assets.d.ts +195 -0
- package/data-assets.js +61 -0
- package/data-assets.mjs +61 -0
- package/data-connections.d.mts +527 -0
- package/data-connections.d.ts +527 -0
- package/data-connections.js +96 -0
- package/data-connections.mjs +96 -0
- package/data-credentials.d.mts +188 -0
- package/data-credentials.d.ts +188 -0
- package/data-credentials.js +56 -0
- package/data-credentials.mjs +56 -0
- package/data-files.d.mts +471 -0
- package/data-files.d.ts +471 -0
- package/data-files.js +116 -0
- package/data-files.mjs +116 -0
- package/docs/examples.md +4 -0
- package/enigma-session-4L373ALV.mjs +10196 -0
- package/enigma-session-TEB53FAF.js +10196 -0
- package/esm-4X3DKK5D.js +63 -0
- package/esm-SOWVJKOQ.mjs +63 -0
- package/extensions.d.mts +257 -0
- package/extensions.d.ts +257 -0
- package/extensions.js +74 -0
- package/extensions.mjs +74 -0
- package/global.types-Eto4uYwy.d.mts +102 -0
- package/global.types-hIvp-WdX.d.ts +102 -0
- package/glossaries.d.mts +1041 -0
- package/glossaries.d.ts +1041 -0
- package/glossaries.js +225 -0
- package/glossaries.mjs +225 -0
- package/groups.d.mts +379 -0
- package/groups.d.ts +379 -0
- package/groups.js +83 -0
- package/groups.mjs +83 -0
- package/identity-providers.d.mts +492 -0
- package/identity-providers.d.ts +492 -0
- package/identity-providers.js +80 -0
- package/identity-providers.mjs +80 -0
- package/index.d.mts +142 -0
- package/index.d.ts +142 -0
- package/index.js +678 -0
- package/index.mjs +678 -0
- package/invoke-fetch-MSSJAZ7K.mjs +14 -0
- package/invoke-fetch-PEI54KZO.js +14 -0
- package/items.d.mts +501 -0
- package/items.d.ts +501 -0
- package/items.js +84 -0
- package/items.mjs +84 -0
- package/licenses.d.mts +436 -0
- package/licenses.d.ts +436 -0
- package/licenses.js +87 -0
- package/licenses.mjs +87 -0
- package/package.json +264 -0
- package/qix-EU7PXRZ6.mjs +573 -0
- package/qix-RLTISYTB.js +573 -0
- package/qix.d.mts +11543 -0
- package/qix.d.ts +11543 -0
- package/qix.js +9 -0
- package/qix.mjs +9 -0
- package/quotas.d.mts +105 -0
- package/quotas.d.ts +105 -0
- package/quotas.js +31 -0
- package/quotas.mjs +31 -0
- package/reload-tasks.d.mts +222 -0
- package/reload-tasks.d.ts +222 -0
- package/reload-tasks.js +59 -0
- package/reload-tasks.mjs +59 -0
- package/reloads.d.mts +189 -0
- package/reloads.d.ts +189 -0
- package/reloads.js +44 -0
- package/reloads.mjs +44 -0
- package/roles.d.mts +150 -0
- package/roles.d.ts +150 -0
- package/roles.js +30 -0
- package/roles.mjs +30 -0
- package/spaces.d.mts +524 -0
- package/spaces.d.ts +524 -0
- package/spaces.js +118 -0
- package/spaces.mjs +118 -0
- package/temp-contents.d.mts +222 -0
- package/temp-contents.d.ts +222 -0
- package/temp-contents.js +60 -0
- package/temp-contents.mjs +60 -0
- package/tenants.d.mts +276 -0
- package/tenants.d.ts +276 -0
- package/tenants.js +68 -0
- package/tenants.mjs +68 -0
- package/themes.d.mts +235 -0
- package/themes.d.ts +235 -0
- package/themes.js +74 -0
- package/themes.mjs +74 -0
- package/transports.d.mts +298 -0
- package/transports.d.ts +298 -0
- package/transports.js +62 -0
- package/transports.mjs +62 -0
- package/users.d.mts +544 -0
- package/users.d.ts +544 -0
- package/users.js +99 -0
- package/users.mjs +99 -0
- package/web-integrations.d.mts +246 -0
- package/web-integrations.d.ts +246 -0
- package/web-integrations.js +59 -0
- package/web-integrations.mjs +59 -0
- package/web-notifications.d.mts +220 -0
- package/web-notifications.d.ts +220 -0
- package/web-notifications.js +66 -0
- package/web-notifications.mjs +66 -0
- package/webhooks.d.mts +422 -0
- package/webhooks.d.ts +422 -0
- package/webhooks.js +100 -0
- package/webhooks.mjs +100 -0
package/extensions.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
|
|
5
|
+
require('./chunk-ZT4C7KCQ.js');
|
|
6
|
+
|
|
7
|
+
// src/public/rest/extensions.ts
|
|
8
|
+
var getExtensions = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
9
|
+
method: "get",
|
|
10
|
+
pathTemplate: "/api/v1/extensions",
|
|
11
|
+
options
|
|
12
|
+
});
|
|
13
|
+
var uploadExtension = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
14
|
+
method: "post",
|
|
15
|
+
pathTemplate: "/api/v1/extensions",
|
|
16
|
+
body,
|
|
17
|
+
options
|
|
18
|
+
});
|
|
19
|
+
var deleteExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
20
|
+
method: "delete",
|
|
21
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
22
|
+
pathVariables: { id },
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
var getExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
26
|
+
method: "get",
|
|
27
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
28
|
+
pathVariables: { id },
|
|
29
|
+
options
|
|
30
|
+
});
|
|
31
|
+
var patchExtension = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
32
|
+
method: "patch",
|
|
33
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
34
|
+
pathVariables: { id },
|
|
35
|
+
body,
|
|
36
|
+
options
|
|
37
|
+
});
|
|
38
|
+
var downloadExtension = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
39
|
+
method: "get",
|
|
40
|
+
pathTemplate: "/api/v1/extensions/{id}/file",
|
|
41
|
+
pathVariables: { id },
|
|
42
|
+
options
|
|
43
|
+
});
|
|
44
|
+
var downloadFileFromExtension = async (id, filepath, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "extensions", {
|
|
45
|
+
method: "get",
|
|
46
|
+
pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
|
|
47
|
+
pathVariables: { id, filepath },
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
function clearCache() {
|
|
51
|
+
return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "extensions");
|
|
52
|
+
}
|
|
53
|
+
var extensionsExport = {
|
|
54
|
+
getExtensions,
|
|
55
|
+
uploadExtension,
|
|
56
|
+
deleteExtension,
|
|
57
|
+
getExtension,
|
|
58
|
+
patchExtension,
|
|
59
|
+
downloadExtension,
|
|
60
|
+
downloadFileFromExtension,
|
|
61
|
+
clearCache
|
|
62
|
+
};
|
|
63
|
+
var extensions_default = extensionsExport;
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
exports.clearCache = clearCache; exports.default = extensions_default; exports.deleteExtension = deleteExtension; exports.downloadExtension = downloadExtension; exports.downloadFileFromExtension = downloadFileFromExtension; exports.getExtension = getExtension; exports.getExtensions = getExtensions; exports.patchExtension = patchExtension; exports.uploadExtension = uploadExtension;
|
package/extensions.mjs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunk-3YE7EI7I.mjs";
|
|
5
|
+
import "./chunk-WM7FQU2U.mjs";
|
|
6
|
+
|
|
7
|
+
// src/public/rest/extensions.ts
|
|
8
|
+
var getExtensions = async (options) => invokeFetch("extensions", {
|
|
9
|
+
method: "get",
|
|
10
|
+
pathTemplate: "/api/v1/extensions",
|
|
11
|
+
options
|
|
12
|
+
});
|
|
13
|
+
var uploadExtension = async (body, options) => invokeFetch("extensions", {
|
|
14
|
+
method: "post",
|
|
15
|
+
pathTemplate: "/api/v1/extensions",
|
|
16
|
+
body,
|
|
17
|
+
options
|
|
18
|
+
});
|
|
19
|
+
var deleteExtension = async (id, options) => invokeFetch("extensions", {
|
|
20
|
+
method: "delete",
|
|
21
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
22
|
+
pathVariables: { id },
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
var getExtension = async (id, options) => invokeFetch("extensions", {
|
|
26
|
+
method: "get",
|
|
27
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
28
|
+
pathVariables: { id },
|
|
29
|
+
options
|
|
30
|
+
});
|
|
31
|
+
var patchExtension = async (id, body, options) => invokeFetch("extensions", {
|
|
32
|
+
method: "patch",
|
|
33
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
34
|
+
pathVariables: { id },
|
|
35
|
+
body,
|
|
36
|
+
options
|
|
37
|
+
});
|
|
38
|
+
var downloadExtension = async (id, options) => invokeFetch("extensions", {
|
|
39
|
+
method: "get",
|
|
40
|
+
pathTemplate: "/api/v1/extensions/{id}/file",
|
|
41
|
+
pathVariables: { id },
|
|
42
|
+
options
|
|
43
|
+
});
|
|
44
|
+
var downloadFileFromExtension = async (id, filepath, options) => invokeFetch("extensions", {
|
|
45
|
+
method: "get",
|
|
46
|
+
pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
|
|
47
|
+
pathVariables: { id, filepath },
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
function clearCache() {
|
|
51
|
+
return clearApiCache("extensions");
|
|
52
|
+
}
|
|
53
|
+
var extensionsExport = {
|
|
54
|
+
getExtensions,
|
|
55
|
+
uploadExtension,
|
|
56
|
+
deleteExtension,
|
|
57
|
+
getExtension,
|
|
58
|
+
patchExtension,
|
|
59
|
+
downloadExtension,
|
|
60
|
+
downloadFileFromExtension,
|
|
61
|
+
clearCache
|
|
62
|
+
};
|
|
63
|
+
var extensions_default = extensionsExport;
|
|
64
|
+
export {
|
|
65
|
+
clearCache,
|
|
66
|
+
extensions_default as default,
|
|
67
|
+
deleteExtension,
|
|
68
|
+
downloadExtension,
|
|
69
|
+
downloadFileFromExtension,
|
|
70
|
+
getExtension,
|
|
71
|
+
getExtensions,
|
|
72
|
+
patchExtension,
|
|
73
|
+
uploadExtension
|
|
74
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { H as HostConfig } from './auth-types-nnUcWhuU.mjs';
|
|
2
|
+
|
|
3
|
+
/** An entry in the cache for one specific cacheKey */
|
|
4
|
+
type CacheEntry = {
|
|
5
|
+
lastPulled: number;
|
|
6
|
+
/** last time the cache was accessed and prevented an api call */
|
|
7
|
+
lastHit: Date | null;
|
|
8
|
+
/** number of times the cache has been hit by a client */
|
|
9
|
+
hitCount: number;
|
|
10
|
+
/** the url path of the cache hit. Useful to determine how many different qmfes are accessing the cache key */
|
|
11
|
+
accessedPaths: Set<string>;
|
|
12
|
+
value: Promise<unknown>;
|
|
13
|
+
};
|
|
14
|
+
/** Additional options for an api call done with invoke-fetch */
|
|
15
|
+
type ApiCallOptions = {
|
|
16
|
+
/** Additional headers to pass on to the request. */
|
|
17
|
+
headers?: Record<string, string>;
|
|
18
|
+
/** if set to true the call will not use a cached result */
|
|
19
|
+
noCache?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Only used cached results whose age in milliseconds are less than that or equal to `maxCacheAge`.
|
|
22
|
+
*/
|
|
23
|
+
maxCacheAge?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Only results cached on or after the `ifCachedSince` timestamp are used.
|
|
26
|
+
*/
|
|
27
|
+
useCacheIfAfter?: Date;
|
|
28
|
+
/**
|
|
29
|
+
* Specify if another host than `globalThis.location` is to be used. Typically used in embedding and mashups
|
|
30
|
+
*/
|
|
31
|
+
hostConfig?: HostConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Set the amount of time to wait for a response.
|
|
34
|
+
* If the timeout is exceeded the request is aborted.
|
|
35
|
+
*/
|
|
36
|
+
timeoutMs?: number;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** ApiKey Auth Configuration for a HostConfig */
|
|
40
|
+
type ApiKeyAuthConfig = {
|
|
41
|
+
apiKey: string;
|
|
42
|
+
};
|
|
43
|
+
/** Cookie Auth Configuration for a HostConfig */
|
|
44
|
+
type CookieAuthConfig = {
|
|
45
|
+
webIntegrationId?: string;
|
|
46
|
+
crossSiteCookies?: boolean;
|
|
47
|
+
};
|
|
48
|
+
/** WindowsCookie Auth Configuration for a HostConfig */
|
|
49
|
+
type WindowsCookieAuthConfig = {
|
|
50
|
+
loginUri?: string;
|
|
51
|
+
crossSiteCookies?: boolean;
|
|
52
|
+
};
|
|
53
|
+
/** OAuth2 Auth Configuration for a HostConfig */
|
|
54
|
+
type Oauth2AuthConfig = {
|
|
55
|
+
clientId: string;
|
|
56
|
+
redirectUri?: string;
|
|
57
|
+
/** If set, store the access token in either local or session storage, otherwise not stored */
|
|
58
|
+
accessTokenStorage?: "session" | "local";
|
|
59
|
+
/** A string with comma separated values of oauth2 scopes https://oauth.net/2/scope defaults to "user_default" */
|
|
60
|
+
scope?: string;
|
|
61
|
+
};
|
|
62
|
+
declare global {
|
|
63
|
+
/**
|
|
64
|
+
* QlikAuthModules is a global interface that can be extended to add custom auth modules.
|
|
65
|
+
*/
|
|
66
|
+
interface QlikAuthModules {
|
|
67
|
+
apikey: {
|
|
68
|
+
config: ApiKeyAuthConfig;
|
|
69
|
+
};
|
|
70
|
+
oauth2: {
|
|
71
|
+
config: Oauth2AuthConfig;
|
|
72
|
+
};
|
|
73
|
+
cookie: {
|
|
74
|
+
config: CookieAuthConfig;
|
|
75
|
+
};
|
|
76
|
+
windowscookie: {
|
|
77
|
+
config: WindowsCookieAuthConfig;
|
|
78
|
+
};
|
|
79
|
+
none: {
|
|
80
|
+
config: object;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Property set on the window when the user is logging out.
|
|
85
|
+
* This prevents unnecessary redirect calls when pending requests
|
|
86
|
+
* resolved.
|
|
87
|
+
*/
|
|
88
|
+
var loggingOut: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Attaching cache to the window so it can be viewed from the devtool.
|
|
91
|
+
* Do not use this for anything!
|
|
92
|
+
*/
|
|
93
|
+
var __API_CACHE__DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, Record<string, CacheEntry>>;
|
|
94
|
+
/**
|
|
95
|
+
* QlikMain object defined in https://github.com/qlik-trial/main-web-container/blob/main/src/main.ts
|
|
96
|
+
*/
|
|
97
|
+
var QlikMain: {
|
|
98
|
+
resourceNeedsCredentials: (resourcesUrl: string) => boolean;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type { ApiCallOptions as A };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { H as HostConfig } from './auth-types-nnUcWhuU.js';
|
|
2
|
+
|
|
3
|
+
/** An entry in the cache for one specific cacheKey */
|
|
4
|
+
type CacheEntry = {
|
|
5
|
+
lastPulled: number;
|
|
6
|
+
/** last time the cache was accessed and prevented an api call */
|
|
7
|
+
lastHit: Date | null;
|
|
8
|
+
/** number of times the cache has been hit by a client */
|
|
9
|
+
hitCount: number;
|
|
10
|
+
/** the url path of the cache hit. Useful to determine how many different qmfes are accessing the cache key */
|
|
11
|
+
accessedPaths: Set<string>;
|
|
12
|
+
value: Promise<unknown>;
|
|
13
|
+
};
|
|
14
|
+
/** Additional options for an api call done with invoke-fetch */
|
|
15
|
+
type ApiCallOptions = {
|
|
16
|
+
/** Additional headers to pass on to the request. */
|
|
17
|
+
headers?: Record<string, string>;
|
|
18
|
+
/** if set to true the call will not use a cached result */
|
|
19
|
+
noCache?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Only used cached results whose age in milliseconds are less than that or equal to `maxCacheAge`.
|
|
22
|
+
*/
|
|
23
|
+
maxCacheAge?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Only results cached on or after the `ifCachedSince` timestamp are used.
|
|
26
|
+
*/
|
|
27
|
+
useCacheIfAfter?: Date;
|
|
28
|
+
/**
|
|
29
|
+
* Specify if another host than `globalThis.location` is to be used. Typically used in embedding and mashups
|
|
30
|
+
*/
|
|
31
|
+
hostConfig?: HostConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Set the amount of time to wait for a response.
|
|
34
|
+
* If the timeout is exceeded the request is aborted.
|
|
35
|
+
*/
|
|
36
|
+
timeoutMs?: number;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** ApiKey Auth Configuration for a HostConfig */
|
|
40
|
+
type ApiKeyAuthConfig = {
|
|
41
|
+
apiKey: string;
|
|
42
|
+
};
|
|
43
|
+
/** Cookie Auth Configuration for a HostConfig */
|
|
44
|
+
type CookieAuthConfig = {
|
|
45
|
+
webIntegrationId?: string;
|
|
46
|
+
crossSiteCookies?: boolean;
|
|
47
|
+
};
|
|
48
|
+
/** WindowsCookie Auth Configuration for a HostConfig */
|
|
49
|
+
type WindowsCookieAuthConfig = {
|
|
50
|
+
loginUri?: string;
|
|
51
|
+
crossSiteCookies?: boolean;
|
|
52
|
+
};
|
|
53
|
+
/** OAuth2 Auth Configuration for a HostConfig */
|
|
54
|
+
type Oauth2AuthConfig = {
|
|
55
|
+
clientId: string;
|
|
56
|
+
redirectUri?: string;
|
|
57
|
+
/** If set, store the access token in either local or session storage, otherwise not stored */
|
|
58
|
+
accessTokenStorage?: "session" | "local";
|
|
59
|
+
/** A string with comma separated values of oauth2 scopes https://oauth.net/2/scope defaults to "user_default" */
|
|
60
|
+
scope?: string;
|
|
61
|
+
};
|
|
62
|
+
declare global {
|
|
63
|
+
/**
|
|
64
|
+
* QlikAuthModules is a global interface that can be extended to add custom auth modules.
|
|
65
|
+
*/
|
|
66
|
+
interface QlikAuthModules {
|
|
67
|
+
apikey: {
|
|
68
|
+
config: ApiKeyAuthConfig;
|
|
69
|
+
};
|
|
70
|
+
oauth2: {
|
|
71
|
+
config: Oauth2AuthConfig;
|
|
72
|
+
};
|
|
73
|
+
cookie: {
|
|
74
|
+
config: CookieAuthConfig;
|
|
75
|
+
};
|
|
76
|
+
windowscookie: {
|
|
77
|
+
config: WindowsCookieAuthConfig;
|
|
78
|
+
};
|
|
79
|
+
none: {
|
|
80
|
+
config: object;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Property set on the window when the user is logging out.
|
|
85
|
+
* This prevents unnecessary redirect calls when pending requests
|
|
86
|
+
* resolved.
|
|
87
|
+
*/
|
|
88
|
+
var loggingOut: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Attaching cache to the window so it can be viewed from the devtool.
|
|
91
|
+
* Do not use this for anything!
|
|
92
|
+
*/
|
|
93
|
+
var __API_CACHE__DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, Record<string, CacheEntry>>;
|
|
94
|
+
/**
|
|
95
|
+
* QlikMain object defined in https://github.com/qlik-trial/main-web-container/blob/main/src/main.ts
|
|
96
|
+
*/
|
|
97
|
+
var QlikMain: {
|
|
98
|
+
resourceNeedsCredentials: (resourcesUrl: string) => boolean;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type { ApiCallOptions as A };
|