@qlik/api 1.32.0 → 1.34.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 +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/api-keys.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-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type ApiKey = {
|
|
5
5
|
/** When the API key was created. */
|
|
@@ -39,7 +39,7 @@ type ApiKeyBody = {
|
|
|
39
39
|
type ApiKeyConfigPatch = {
|
|
40
40
|
/** The operation to be performed. */
|
|
41
41
|
op: "replace";
|
|
42
|
-
/** The path for the given resource field to patch. */
|
|
42
|
+
/** The path for the given resource field to patch. The '/api_keys_enabled' option is deprecated and will be removed in a future release. */
|
|
43
43
|
path: "/api_keys_enabled" | "/max_api_key_expiry" | "/max_keys_per_user" | "/scim_externalClient_expiry";
|
|
44
44
|
/** The value to be used for this operation. */
|
|
45
45
|
value: unknown;
|
|
@@ -80,7 +80,8 @@ type ApiKeyWithToken = {
|
|
|
80
80
|
token: string;
|
|
81
81
|
};
|
|
82
82
|
type ApiKeysConfig = {
|
|
83
|
-
/**
|
|
83
|
+
/** @deprecated
|
|
84
|
+
* Enables or disables user API key functionality for the specified tenant. */
|
|
84
85
|
api_keys_enabled?: boolean;
|
|
85
86
|
/** The maximum lifetime, in ISO8601 duration format, for which an API key can be issued for the specified tenant, e.g. `P7D` for 7 days. */
|
|
86
87
|
max_api_key_expiry?: string;
|
|
@@ -161,7 +162,7 @@ type ApiKeyPage = {
|
|
|
161
162
|
* @param query an object with query parameters
|
|
162
163
|
* @throws GetApiKeysHttpError
|
|
163
164
|
*/
|
|
164
|
-
declare
|
|
165
|
+
declare function getApiKeys(query: {
|
|
165
166
|
/** The user ID that created the API key. */
|
|
166
167
|
createdByUser?: string;
|
|
167
168
|
/** Get resources with IDs that are lower than the target resource ID. Cannot be used in conjunction with startingAfter. */
|
|
@@ -176,7 +177,7 @@ declare const getApiKeys: (query: {
|
|
|
176
177
|
status?: "active" | "expired" | "revoked";
|
|
177
178
|
/** The ID of the subject. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
|
|
178
179
|
sub?: string;
|
|
179
|
-
}, options?: ApiCallOptions)
|
|
180
|
+
}, options?: ApiCallOptions): Promise<GetApiKeysHttpResponse>;
|
|
180
181
|
type GetApiKeysHttpResponse = {
|
|
181
182
|
data: ApiKeyPage;
|
|
182
183
|
headers: Headers;
|
|
@@ -196,7 +197,7 @@ type GetApiKeysHttpError = {
|
|
|
196
197
|
* @param body an object with the body content
|
|
197
198
|
* @throws CreateApiKeyHttpError
|
|
198
199
|
*/
|
|
199
|
-
declare
|
|
200
|
+
declare function createApiKey(body: ApiKeyBody, options?: ApiCallOptions): Promise<CreateApiKeyHttpResponse>;
|
|
200
201
|
type CreateApiKeyHttpResponse = {
|
|
201
202
|
data: ApiKeyWithToken;
|
|
202
203
|
headers: Headers;
|
|
@@ -213,7 +214,7 @@ type CreateApiKeyHttpError = {
|
|
|
213
214
|
* @param tenantId The tenant ID from which you wish to retrieve the API key configuration.
|
|
214
215
|
* @throws GetApiKeysConfigHttpError
|
|
215
216
|
*/
|
|
216
|
-
declare
|
|
217
|
+
declare function getApiKeysConfig(tenantId: string, options?: ApiCallOptions): Promise<GetApiKeysConfigHttpResponse>;
|
|
217
218
|
type GetApiKeysConfigHttpResponse = {
|
|
218
219
|
data: ApiKeysConfig;
|
|
219
220
|
headers: Headers;
|
|
@@ -231,7 +232,7 @@ type GetApiKeysConfigHttpError = {
|
|
|
231
232
|
* @param body an object with the body content
|
|
232
233
|
* @throws PatchApiKeysConfigHttpError
|
|
233
234
|
*/
|
|
234
|
-
declare
|
|
235
|
+
declare function patchApiKeysConfig(tenantId: string, body: ApiKeysConfigPatchSchema, options?: ApiCallOptions): Promise<PatchApiKeysConfigHttpResponse>;
|
|
235
236
|
type PatchApiKeysConfigHttpResponse = {
|
|
236
237
|
data: void;
|
|
237
238
|
headers: Headers;
|
|
@@ -248,7 +249,7 @@ type PatchApiKeysConfigHttpError = {
|
|
|
248
249
|
* @param id The ID of the API key to be retrieved.
|
|
249
250
|
* @throws DeleteApiKeyHttpError
|
|
250
251
|
*/
|
|
251
|
-
declare
|
|
252
|
+
declare function deleteApiKey(id: string, options?: ApiCallOptions): Promise<DeleteApiKeyHttpResponse>;
|
|
252
253
|
type DeleteApiKeyHttpResponse = {
|
|
253
254
|
data: void;
|
|
254
255
|
headers: Headers;
|
|
@@ -265,7 +266,7 @@ type DeleteApiKeyHttpError = {
|
|
|
265
266
|
* @param id The ID of the API key to be retrieved.
|
|
266
267
|
* @throws GetApiKeyHttpError
|
|
267
268
|
*/
|
|
268
|
-
declare
|
|
269
|
+
declare function getApiKey(id: string, options?: ApiCallOptions): Promise<GetApiKeyHttpResponse>;
|
|
269
270
|
type GetApiKeyHttpResponse = {
|
|
270
271
|
data: ApiKey;
|
|
271
272
|
headers: Headers;
|
|
@@ -283,7 +284,7 @@ type GetApiKeyHttpError = {
|
|
|
283
284
|
* @param body an object with the body content
|
|
284
285
|
* @throws PatchApiKeyHttpError
|
|
285
286
|
*/
|
|
286
|
-
declare
|
|
287
|
+
declare function patchApiKey(id: string, body: ApiKeysPatchSchema, options?: ApiCallOptions): Promise<PatchApiKeyHttpResponse>;
|
|
287
288
|
type PatchApiKeyHttpResponse = {
|
|
288
289
|
data: void;
|
|
289
290
|
headers: Headers;
|
package/api-keys.js
CHANGED
|
@@ -1,58 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/api-keys.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
9
|
+
async function getApiKeys(query, options) {
|
|
10
|
+
return invokeFetch("api-keys", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/api-keys",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createApiKey(body, options) {
|
|
18
|
+
return invokeFetch("api-keys", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/api-keys",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getApiKeysConfig(tenantId, options) {
|
|
27
|
+
return invokeFetch("api-keys", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
30
|
+
pathVariables: { tenantId },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function patchApiKeysConfig(tenantId, body, options) {
|
|
35
|
+
return invokeFetch("api-keys", {
|
|
36
|
+
method: "patch",
|
|
37
|
+
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
38
|
+
pathVariables: { tenantId },
|
|
39
|
+
body,
|
|
40
|
+
contentType: "application/json",
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function deleteApiKey(id, options) {
|
|
45
|
+
return invokeFetch("api-keys", {
|
|
46
|
+
method: "delete",
|
|
47
|
+
pathTemplate: "/api/v1/api-keys/{id}",
|
|
48
|
+
pathVariables: { id },
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function getApiKey(id, options) {
|
|
53
|
+
return invokeFetch("api-keys", {
|
|
54
|
+
method: "get",
|
|
55
|
+
pathTemplate: "/api/v1/api-keys/{id}",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function patchApiKey(id, body, options) {
|
|
61
|
+
return invokeFetch("api-keys", {
|
|
62
|
+
method: "patch",
|
|
63
|
+
pathTemplate: "/api/v1/api-keys/{id}",
|
|
64
|
+
pathVariables: { id },
|
|
65
|
+
body,
|
|
66
|
+
contentType: "application/json",
|
|
67
|
+
options
|
|
68
|
+
});
|
|
69
|
+
}
|
|
56
70
|
function clearCache() {
|
|
57
71
|
return clearApiCache("api-keys");
|
|
58
72
|
}
|