@qlik/api 0.0.1 → 0.0.2
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/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Publish NPM Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*.*.*"
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish-npm:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout code
|
|
13
|
+
uses: actions/checkout@v4
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- name: Set up Node.js
|
|
18
|
+
uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: '18'
|
|
21
|
+
registry-url: 'https://registry.npmjs.org'
|
|
22
|
+
|
|
23
|
+
- name: Set NPM Token
|
|
24
|
+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_CI_TOKEN }}" > .npmrc
|
|
25
|
+
|
|
26
|
+
- name: Set version and publish
|
|
27
|
+
run: |
|
|
28
|
+
VERSION=$(git describe --tags --abbrev=7 --match "v*")
|
|
29
|
+
VERSION=${VERSION#v}
|
|
30
|
+
echo "version is $VERSION"
|
|
31
|
+
jq --arg version "$VERSION" '.version = $version' package.json >temp.json && mv temp.json package.json
|
|
32
|
+
cat package.json
|
|
33
|
+
npm publish
|
|
34
|
+
env:
|
|
35
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
|
package/README.md
CHANGED
|
@@ -3,6 +3,4 @@
|
|
|
3
3
|
> **Warning**
|
|
4
4
|
> This package is experimental and will likely change and break until the version number 1.0.0 is released.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Connect to Qlik's rest and qix API from your Javascript/Typescript application with fully typed API's.
|
|
6
|
+
Library used for connecting to Qlik API's. Supports both rest and qix api.
|
package/api-keys.d.mts
CHANGED
|
@@ -172,15 +172,15 @@ type CreateApiKeyHttpError = {
|
|
|
172
172
|
/**
|
|
173
173
|
* Gets the API keys configuration for a given tenant ID.
|
|
174
174
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
175
|
-
* @throws
|
|
175
|
+
* @throws GetApiKeysConfigHttpError
|
|
176
176
|
*/
|
|
177
|
-
declare const
|
|
178
|
-
type
|
|
177
|
+
declare const getApiKeysConfig: (tenantId: string, options?: ApiCallOptions) => Promise<GetApiKeysConfigHttpResponse>;
|
|
178
|
+
type GetApiKeysConfigHttpResponse = {
|
|
179
179
|
data: ApiKeysConfig;
|
|
180
180
|
headers: Headers;
|
|
181
181
|
status: number;
|
|
182
182
|
};
|
|
183
|
-
type
|
|
183
|
+
type GetApiKeysConfigHttpError = {
|
|
184
184
|
data: Errors;
|
|
185
185
|
headers: Headers;
|
|
186
186
|
status: number;
|
|
@@ -189,15 +189,15 @@ type GetApiKeyConfigHttpError = {
|
|
|
189
189
|
* Updates the API keys configuration for a given tenant ID.
|
|
190
190
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
191
191
|
* @param body an object with the body content
|
|
192
|
-
* @throws
|
|
192
|
+
* @throws PatchApiKeysConfigHttpError
|
|
193
193
|
*/
|
|
194
|
-
declare const
|
|
195
|
-
type
|
|
194
|
+
declare const patchApiKeysConfig: (tenantId: string, body: ApiKeysConfigPatchSchema, options?: ApiCallOptions) => Promise<PatchApiKeysConfigHttpResponse>;
|
|
195
|
+
type PatchApiKeysConfigHttpResponse = {
|
|
196
196
|
data: void;
|
|
197
197
|
headers: Headers;
|
|
198
198
|
status: number;
|
|
199
199
|
};
|
|
200
|
-
type
|
|
200
|
+
type PatchApiKeysConfigHttpError = {
|
|
201
201
|
data: Errors;
|
|
202
202
|
headers: Headers;
|
|
203
203
|
status: number;
|
|
@@ -271,16 +271,16 @@ interface ApiKeysAPI {
|
|
|
271
271
|
/**
|
|
272
272
|
* Gets the API keys configuration for a given tenant ID.
|
|
273
273
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
274
|
-
* @throws
|
|
274
|
+
* @throws GetApiKeysConfigHttpError
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
getApiKeysConfig: typeof getApiKeysConfig;
|
|
277
277
|
/**
|
|
278
278
|
* Updates the API keys configuration for a given tenant ID.
|
|
279
279
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
280
280
|
* @param body an object with the body content
|
|
281
|
-
* @throws
|
|
281
|
+
* @throws PatchApiKeysConfigHttpError
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
patchApiKeysConfig: typeof patchApiKeysConfig;
|
|
284
284
|
/**
|
|
285
285
|
* When the owner of the API key sends the request, the key will be removed. When a TenantAdmin sends the request, the key will be revoked.
|
|
286
286
|
* @param id The ID of the API key resource to be retrieved.
|
|
@@ -310,4 +310,4 @@ interface ApiKeysAPI {
|
|
|
310
310
|
*/
|
|
311
311
|
declare const apiKeysExport: ApiKeysAPI;
|
|
312
312
|
|
|
313
|
-
export { type ApiKey, type ApiKeyBody, type ApiKeyConfigPatch, type ApiKeyPage, type ApiKeyPatch, type ApiKeyWithToken, type ApiKeysAPI, type ApiKeysConfig, type ApiKeysConfigPatchSchema, type ApiKeysPatchSchema, type CreateApiKeyHttpError, type CreateApiKeyHttpResponse, type DeleteApiKeyHttpError, type DeleteApiKeyHttpResponse, type Error, type Errors, type
|
|
313
|
+
export { type ApiKey, type ApiKeyBody, type ApiKeyConfigPatch, type ApiKeyPage, type ApiKeyPatch, type ApiKeyWithToken, type ApiKeysAPI, type ApiKeysConfig, type ApiKeysConfigPatchSchema, type ApiKeysPatchSchema, type CreateApiKeyHttpError, type CreateApiKeyHttpResponse, type DeleteApiKeyHttpError, type DeleteApiKeyHttpResponse, type Error, type Errors, type GetApiKeyHttpError, type GetApiKeyHttpResponse, type GetApiKeysConfigHttpError, type GetApiKeysConfigHttpResponse, type GetApiKeysHttpError, type GetApiKeysHttpResponse, type Link, type PatchApiKeyHttpError, type PatchApiKeyHttpResponse, type PatchApiKeysConfigHttpError, type PatchApiKeysConfigHttpResponse, clearCache, createApiKey, apiKeysExport as default, deleteApiKey, getApiKey, getApiKeys, getApiKeysConfig, patchApiKey, patchApiKeysConfig };
|
package/api-keys.d.ts
CHANGED
|
@@ -172,15 +172,15 @@ type CreateApiKeyHttpError = {
|
|
|
172
172
|
/**
|
|
173
173
|
* Gets the API keys configuration for a given tenant ID.
|
|
174
174
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
175
|
-
* @throws
|
|
175
|
+
* @throws GetApiKeysConfigHttpError
|
|
176
176
|
*/
|
|
177
|
-
declare const
|
|
178
|
-
type
|
|
177
|
+
declare const getApiKeysConfig: (tenantId: string, options?: ApiCallOptions) => Promise<GetApiKeysConfigHttpResponse>;
|
|
178
|
+
type GetApiKeysConfigHttpResponse = {
|
|
179
179
|
data: ApiKeysConfig;
|
|
180
180
|
headers: Headers;
|
|
181
181
|
status: number;
|
|
182
182
|
};
|
|
183
|
-
type
|
|
183
|
+
type GetApiKeysConfigHttpError = {
|
|
184
184
|
data: Errors;
|
|
185
185
|
headers: Headers;
|
|
186
186
|
status: number;
|
|
@@ -189,15 +189,15 @@ type GetApiKeyConfigHttpError = {
|
|
|
189
189
|
* Updates the API keys configuration for a given tenant ID.
|
|
190
190
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
191
191
|
* @param body an object with the body content
|
|
192
|
-
* @throws
|
|
192
|
+
* @throws PatchApiKeysConfigHttpError
|
|
193
193
|
*/
|
|
194
|
-
declare const
|
|
195
|
-
type
|
|
194
|
+
declare const patchApiKeysConfig: (tenantId: string, body: ApiKeysConfigPatchSchema, options?: ApiCallOptions) => Promise<PatchApiKeysConfigHttpResponse>;
|
|
195
|
+
type PatchApiKeysConfigHttpResponse = {
|
|
196
196
|
data: void;
|
|
197
197
|
headers: Headers;
|
|
198
198
|
status: number;
|
|
199
199
|
};
|
|
200
|
-
type
|
|
200
|
+
type PatchApiKeysConfigHttpError = {
|
|
201
201
|
data: Errors;
|
|
202
202
|
headers: Headers;
|
|
203
203
|
status: number;
|
|
@@ -271,16 +271,16 @@ interface ApiKeysAPI {
|
|
|
271
271
|
/**
|
|
272
272
|
* Gets the API keys configuration for a given tenant ID.
|
|
273
273
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
274
|
-
* @throws
|
|
274
|
+
* @throws GetApiKeysConfigHttpError
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
getApiKeysConfig: typeof getApiKeysConfig;
|
|
277
277
|
/**
|
|
278
278
|
* Updates the API keys configuration for a given tenant ID.
|
|
279
279
|
* @param tenantId The tenant ID of the API keys configuration to be retrieved.
|
|
280
280
|
* @param body an object with the body content
|
|
281
|
-
* @throws
|
|
281
|
+
* @throws PatchApiKeysConfigHttpError
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
patchApiKeysConfig: typeof patchApiKeysConfig;
|
|
284
284
|
/**
|
|
285
285
|
* When the owner of the API key sends the request, the key will be removed. When a TenantAdmin sends the request, the key will be revoked.
|
|
286
286
|
* @param id The ID of the API key resource to be retrieved.
|
|
@@ -310,4 +310,4 @@ interface ApiKeysAPI {
|
|
|
310
310
|
*/
|
|
311
311
|
declare const apiKeysExport: ApiKeysAPI;
|
|
312
312
|
|
|
313
|
-
export { type ApiKey, type ApiKeyBody, type ApiKeyConfigPatch, type ApiKeyPage, type ApiKeyPatch, type ApiKeyWithToken, type ApiKeysAPI, type ApiKeysConfig, type ApiKeysConfigPatchSchema, type ApiKeysPatchSchema, type CreateApiKeyHttpError, type CreateApiKeyHttpResponse, type DeleteApiKeyHttpError, type DeleteApiKeyHttpResponse, type Error, type Errors, type
|
|
313
|
+
export { type ApiKey, type ApiKeyBody, type ApiKeyConfigPatch, type ApiKeyPage, type ApiKeyPatch, type ApiKeyWithToken, type ApiKeysAPI, type ApiKeysConfig, type ApiKeysConfigPatchSchema, type ApiKeysPatchSchema, type CreateApiKeyHttpError, type CreateApiKeyHttpResponse, type DeleteApiKeyHttpError, type DeleteApiKeyHttpResponse, type Error, type Errors, type GetApiKeyHttpError, type GetApiKeyHttpResponse, type GetApiKeysConfigHttpError, type GetApiKeysConfigHttpResponse, type GetApiKeysHttpError, type GetApiKeysHttpResponse, type Link, type PatchApiKeyHttpError, type PatchApiKeyHttpResponse, type PatchApiKeysConfigHttpError, type PatchApiKeysConfigHttpResponse, clearCache, createApiKey, apiKeysExport as default, deleteApiKey, getApiKey, getApiKeys, getApiKeysConfig, patchApiKey, patchApiKeysConfig };
|
package/api-keys.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/api-keys.ts
|
|
8
|
-
var getApiKeys = async (query, options) =>
|
|
8
|
+
var getApiKeys = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/api-keys",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var createApiKey = async (body, options) =>
|
|
14
|
+
var createApiKey = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/api-keys",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var
|
|
20
|
+
var getApiKeysConfig = async (tenantId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
21
21
|
method: "get",
|
|
22
22
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
23
23
|
pathVariables: { tenantId },
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var patchApiKeysConfig = async (tenantId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
27
27
|
method: "patch",
|
|
28
28
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
29
29
|
pathVariables: { tenantId },
|
|
30
30
|
body,
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var deleteApiKey = async (id, options) =>
|
|
33
|
+
var deleteApiKey = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
34
34
|
method: "delete",
|
|
35
35
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var getApiKey = async (id, options) =>
|
|
39
|
+
var getApiKey = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
40
40
|
method: "get",
|
|
41
41
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
42
42
|
pathVariables: { id },
|
|
43
43
|
options
|
|
44
44
|
});
|
|
45
|
-
var patchApiKey = async (id, body, options) =>
|
|
45
|
+
var patchApiKey = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "api-keys", {
|
|
46
46
|
method: "patch",
|
|
47
47
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
48
48
|
pathVariables: { id },
|
|
@@ -50,13 +50,13 @@ var patchApiKey = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call
|
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
52
|
function clearCache() {
|
|
53
|
-
return
|
|
53
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "api-keys");
|
|
54
54
|
}
|
|
55
55
|
var apiKeysExport = {
|
|
56
56
|
getApiKeys,
|
|
57
57
|
createApiKey,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
getApiKeysConfig,
|
|
59
|
+
patchApiKeysConfig,
|
|
60
60
|
deleteApiKey,
|
|
61
61
|
getApiKey,
|
|
62
62
|
patchApiKey,
|
|
@@ -73,4 +73,4 @@ var api_keys_default = apiKeysExport;
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
exports.clearCache = clearCache; exports.createApiKey = createApiKey; exports.default = api_keys_default; exports.deleteApiKey = deleteApiKey; exports.getApiKey = getApiKey; exports.
|
|
76
|
+
exports.clearCache = clearCache; exports.createApiKey = createApiKey; exports.default = api_keys_default; exports.deleteApiKey = deleteApiKey; exports.getApiKey = getApiKey; exports.getApiKeys = getApiKeys; exports.getApiKeysConfig = getApiKeysConfig; exports.patchApiKey = patchApiKey; exports.patchApiKeysConfig = patchApiKeysConfig;
|
package/api-keys.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/api-keys.ts
|
|
8
8
|
var getApiKeys = async (query, options) => invokeFetch("api-keys", {
|
|
@@ -17,13 +17,13 @@ var createApiKey = async (body, options) => invokeFetch("api-keys", {
|
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var
|
|
20
|
+
var getApiKeysConfig = async (tenantId, options) => invokeFetch("api-keys", {
|
|
21
21
|
method: "get",
|
|
22
22
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
23
23
|
pathVariables: { tenantId },
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var patchApiKeysConfig = async (tenantId, body, options) => invokeFetch("api-keys", {
|
|
27
27
|
method: "patch",
|
|
28
28
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
29
29
|
pathVariables: { tenantId },
|
|
@@ -55,8 +55,8 @@ function clearCache() {
|
|
|
55
55
|
var apiKeysExport = {
|
|
56
56
|
getApiKeys,
|
|
57
57
|
createApiKey,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
getApiKeysConfig,
|
|
59
|
+
patchApiKeysConfig,
|
|
60
60
|
deleteApiKey,
|
|
61
61
|
getApiKey,
|
|
62
62
|
patchApiKey,
|
|
@@ -69,8 +69,8 @@ export {
|
|
|
69
69
|
api_keys_default as default,
|
|
70
70
|
deleteApiKey,
|
|
71
71
|
getApiKey,
|
|
72
|
-
getApiKeyConfig,
|
|
73
72
|
getApiKeys,
|
|
73
|
+
getApiKeysConfig,
|
|
74
74
|
patchApiKey,
|
|
75
|
-
|
|
75
|
+
patchApiKeysConfig
|
|
76
76
|
};
|
package/apps.d.mts
CHANGED
|
@@ -600,6 +600,58 @@ type RecommendedAnalysisCore = {
|
|
|
600
600
|
/** percentage of selected items in the analysis to the overall items passed to the endpoint */
|
|
601
601
|
relevance?: number;
|
|
602
602
|
};
|
|
603
|
+
type ReloadListMetadata = {
|
|
604
|
+
/** Array of ReloadMeta. */
|
|
605
|
+
data?: ReloadMeta[];
|
|
606
|
+
};
|
|
607
|
+
type ReloadMeta = {
|
|
608
|
+
/** Duration of reload (ms). */
|
|
609
|
+
duration?: number;
|
|
610
|
+
/** Time when reload ended. */
|
|
611
|
+
endTime?: string;
|
|
612
|
+
/** True if the reload is a partial reload. */
|
|
613
|
+
isPartialReload?: boolean;
|
|
614
|
+
loadDataFilesBytes?: number;
|
|
615
|
+
loadExternalBytes?: number;
|
|
616
|
+
loadFilesBytes?: number;
|
|
617
|
+
/** Reload identifier. */
|
|
618
|
+
reloadId?: string;
|
|
619
|
+
/** If greater than or equal 0, defines max number of rows loaded from a data source. */
|
|
620
|
+
rowLimit?: number;
|
|
621
|
+
/** Set to true to skip Store statements.
|
|
622
|
+
// The default value is false. */
|
|
623
|
+
skipStore?: boolean;
|
|
624
|
+
/** List of external loaded or stored statements. */
|
|
625
|
+
statements?: ReloadStatements[];
|
|
626
|
+
storeDataFilesBytes?: number;
|
|
627
|
+
storeFilesBytes?: number;
|
|
628
|
+
/** true if the reload was successful. */
|
|
629
|
+
success?: boolean;
|
|
630
|
+
};
|
|
631
|
+
type ReloadStatements = {
|
|
632
|
+
/** The connecton name. */
|
|
633
|
+
connection?: string;
|
|
634
|
+
/** Connection ID. */
|
|
635
|
+
connectionId?: string;
|
|
636
|
+
/** Data loaded from the network (bytes). */
|
|
637
|
+
dataSize?: number;
|
|
638
|
+
/** Duration of data generation (ms). */
|
|
639
|
+
duration?: number;
|
|
640
|
+
/** Label of the resource level node in lineage. */
|
|
641
|
+
label?: string;
|
|
642
|
+
/** Number of fields loaded. */
|
|
643
|
+
nbrOfFields?: number;
|
|
644
|
+
/** Number of rows loaded. */
|
|
645
|
+
nbrOfRows?: number;
|
|
646
|
+
/** Partial load operation. e.g. add/replace/update/merge. n/a when not in partial load mode. */
|
|
647
|
+
partialReloadOperation?: string;
|
|
648
|
+
/** Resource Identifier. */
|
|
649
|
+
qri?: string;
|
|
650
|
+
/** Name of the source table in lineage. */
|
|
651
|
+
tableName?: string;
|
|
652
|
+
/** Type of statement, e.g. Store/Load. */
|
|
653
|
+
type?: string;
|
|
654
|
+
};
|
|
603
655
|
type RepublishApp = {
|
|
604
656
|
attributes?: AppUpdateAttributes;
|
|
605
657
|
/** Validate that source app is same as originally published. */
|
|
@@ -967,15 +1019,15 @@ type GetAppEvaluationComparisonHttpError = {
|
|
|
967
1019
|
*
|
|
968
1020
|
* @param baseid Id of the baseline evaluation
|
|
969
1021
|
* @param comparisonid Id of the comparison evaluation
|
|
970
|
-
* @throws
|
|
1022
|
+
* @throws GetAppEvaluationComparisonXmlHttpError
|
|
971
1023
|
*/
|
|
972
|
-
declare const
|
|
973
|
-
type
|
|
1024
|
+
declare const getAppEvaluationComparisonXml: (baseid: string, comparisonid: string, options?: ApiCallOptions) => Promise<GetAppEvaluationComparisonXmlHttpResponse>;
|
|
1025
|
+
type GetAppEvaluationComparisonXmlHttpResponse = {
|
|
974
1026
|
data: Comparison;
|
|
975
1027
|
headers: Headers;
|
|
976
1028
|
status: number;
|
|
977
1029
|
};
|
|
978
|
-
type
|
|
1030
|
+
type GetAppEvaluationComparisonXmlHttpError = {
|
|
979
1031
|
data: EvaluatorError;
|
|
980
1032
|
headers: Headers;
|
|
981
1033
|
status: number;
|
|
@@ -1007,15 +1059,15 @@ type GetAppEvaluationHttpError = {
|
|
|
1007
1059
|
* Find and download an evaluation log by a specific evaluation id.
|
|
1008
1060
|
*
|
|
1009
1061
|
* @param id Id of the desired evaluation.
|
|
1010
|
-
* @throws
|
|
1062
|
+
* @throws GetAppEvaluationXmlHttpError
|
|
1011
1063
|
*/
|
|
1012
|
-
declare const
|
|
1013
|
-
type
|
|
1064
|
+
declare const getAppEvaluationXml: (id: string, options?: ApiCallOptions) => Promise<GetAppEvaluationXmlHttpResponse>;
|
|
1065
|
+
type GetAppEvaluationXmlHttpResponse = {
|
|
1014
1066
|
data: Evaluation;
|
|
1015
1067
|
headers: Headers;
|
|
1016
1068
|
status: number;
|
|
1017
1069
|
};
|
|
1018
|
-
type
|
|
1070
|
+
type GetAppEvaluationXmlHttpError = {
|
|
1019
1071
|
data: EvaluatorError;
|
|
1020
1072
|
headers: Headers;
|
|
1021
1073
|
status: number;
|
|
@@ -1058,15 +1110,15 @@ type ImportAppHttpError = {
|
|
|
1058
1110
|
};
|
|
1059
1111
|
/**
|
|
1060
1112
|
* Gets the app privileges for the current user, such as create app and import app. Empty means that the current user has no app privileges.
|
|
1061
|
-
* @throws
|
|
1113
|
+
* @throws GetAppsPrivilegesHttpError
|
|
1062
1114
|
*/
|
|
1063
|
-
declare const
|
|
1064
|
-
type
|
|
1115
|
+
declare const getAppsPrivileges: (options?: ApiCallOptions) => Promise<GetAppsPrivilegesHttpResponse>;
|
|
1116
|
+
type GetAppsPrivilegesHttpResponse = {
|
|
1065
1117
|
data: string[];
|
|
1066
1118
|
headers: Headers;
|
|
1067
1119
|
status: number;
|
|
1068
1120
|
};
|
|
1069
|
-
type
|
|
1121
|
+
type GetAppsPrivilegesHttpError = {
|
|
1070
1122
|
data: unknown;
|
|
1071
1123
|
headers: Headers;
|
|
1072
1124
|
status: number;
|
|
@@ -1344,6 +1396,7 @@ type GetAppThumbnailHttpError = {
|
|
|
1344
1396
|
};
|
|
1345
1397
|
/**
|
|
1346
1398
|
* Sets owner on an app object.
|
|
1399
|
+
* The user must be the owner of the object.
|
|
1347
1400
|
* @param appId Identifier of the app.
|
|
1348
1401
|
* @param objectId Identifier of the object.
|
|
1349
1402
|
* @param body an object with the body content
|
|
@@ -1446,6 +1499,28 @@ type GetAppReloadLogHttpError = {
|
|
|
1446
1499
|
headers: Headers;
|
|
1447
1500
|
status: number;
|
|
1448
1501
|
};
|
|
1502
|
+
/**
|
|
1503
|
+
* Retrieves the app reload metadata list.
|
|
1504
|
+
* Reload metadata contains reload information, including reload id, duration, endtime and lineage load info.
|
|
1505
|
+
* @param appId Identifier of the app
|
|
1506
|
+
* @param reloadId Identifier of the reload. Use empty reloadId to get all reloads.
|
|
1507
|
+
* @param query an object with query parameters
|
|
1508
|
+
* @throws GetAppReloadMetadataHttpError
|
|
1509
|
+
*/
|
|
1510
|
+
declare const getAppReloadMetadata: (appId: string, reloadId: string, query: {
|
|
1511
|
+
/** Maximum number of records to return from this request. Default: 100 */
|
|
1512
|
+
limit?: string;
|
|
1513
|
+
}, options?: ApiCallOptions) => Promise<GetAppReloadMetadataHttpResponse>;
|
|
1514
|
+
type GetAppReloadMetadataHttpResponse = {
|
|
1515
|
+
data: ReloadListMetadata;
|
|
1516
|
+
headers: Headers;
|
|
1517
|
+
status: number;
|
|
1518
|
+
};
|
|
1519
|
+
type GetAppReloadMetadataHttpError = {
|
|
1520
|
+
data: unknown;
|
|
1521
|
+
headers: Headers;
|
|
1522
|
+
status: number;
|
|
1523
|
+
};
|
|
1449
1524
|
/**
|
|
1450
1525
|
* Retrieves the script history for an app.
|
|
1451
1526
|
* Returns information about the saved versions of the script.
|
|
@@ -1658,9 +1733,9 @@ interface AppsAPI {
|
|
|
1658
1733
|
*
|
|
1659
1734
|
* @param baseid Id of the baseline evaluation
|
|
1660
1735
|
* @param comparisonid Id of the comparison evaluation
|
|
1661
|
-
* @throws
|
|
1736
|
+
* @throws GetAppEvaluationComparisonXmlHttpError
|
|
1662
1737
|
*/
|
|
1663
|
-
|
|
1738
|
+
getAppEvaluationComparisonXml: typeof getAppEvaluationComparisonXml;
|
|
1664
1739
|
/**
|
|
1665
1740
|
* Find an evaluation by a specific id.
|
|
1666
1741
|
*
|
|
@@ -1673,9 +1748,9 @@ interface AppsAPI {
|
|
|
1673
1748
|
* Find and download an evaluation log by a specific evaluation id.
|
|
1674
1749
|
*
|
|
1675
1750
|
* @param id Id of the desired evaluation.
|
|
1676
|
-
* @throws
|
|
1751
|
+
* @throws GetAppEvaluationXmlHttpError
|
|
1677
1752
|
*/
|
|
1678
|
-
|
|
1753
|
+
getAppEvaluationXml: typeof getAppEvaluationXml;
|
|
1679
1754
|
/**
|
|
1680
1755
|
* Imports an app into the system.
|
|
1681
1756
|
* @param query an object with query parameters
|
|
@@ -1685,9 +1760,9 @@ interface AppsAPI {
|
|
|
1685
1760
|
importApp: typeof importApp;
|
|
1686
1761
|
/**
|
|
1687
1762
|
* Gets the app privileges for the current user, such as create app and import app. Empty means that the current user has no app privileges.
|
|
1688
|
-
* @throws
|
|
1763
|
+
* @throws GetAppsPrivilegesHttpError
|
|
1689
1764
|
*/
|
|
1690
|
-
|
|
1765
|
+
getAppsPrivileges: typeof getAppsPrivileges;
|
|
1691
1766
|
/**
|
|
1692
1767
|
* Deletes a specific app.
|
|
1693
1768
|
* @param appId Identifier of the app.
|
|
@@ -1798,6 +1873,7 @@ interface AppsAPI {
|
|
|
1798
1873
|
getAppThumbnail: typeof getAppThumbnail;
|
|
1799
1874
|
/**
|
|
1800
1875
|
* Sets owner on an app object.
|
|
1876
|
+
* The user must be the owner of the object.
|
|
1801
1877
|
* @param appId Identifier of the app.
|
|
1802
1878
|
* @param objectId Identifier of the object.
|
|
1803
1879
|
* @param body an object with the body content
|
|
@@ -1840,6 +1916,15 @@ interface AppsAPI {
|
|
|
1840
1916
|
* @throws GetAppReloadLogHttpError
|
|
1841
1917
|
*/
|
|
1842
1918
|
getAppReloadLog: typeof getAppReloadLog;
|
|
1919
|
+
/**
|
|
1920
|
+
* Retrieves the app reload metadata list.
|
|
1921
|
+
* Reload metadata contains reload information, including reload id, duration, endtime and lineage load info.
|
|
1922
|
+
* @param appId Identifier of the app
|
|
1923
|
+
* @param reloadId Identifier of the reload. Use empty reloadId to get all reloads.
|
|
1924
|
+
* @param query an object with query parameters
|
|
1925
|
+
* @throws GetAppReloadMetadataHttpError
|
|
1926
|
+
*/
|
|
1927
|
+
getAppReloadMetadata: typeof getAppReloadMetadata;
|
|
1843
1928
|
/**
|
|
1844
1929
|
* Retrieves the script history for an app.
|
|
1845
1930
|
* Returns information about the saved versions of the script.
|
|
@@ -1918,4 +2003,4 @@ interface AppsAPI {
|
|
|
1918
2003
|
*/
|
|
1919
2004
|
declare const appsExport: AppsAPI;
|
|
1920
2005
|
|
|
1921
|
-
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type Cmpint, type Comparison, type Comparisonfields, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type
|
|
2006
|
+
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type Cmpint, type Comparison, type Comparisonfields, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type GetAppEvaluationComparisonXmlHttpError, type GetAppEvaluationComparisonXmlHttpResponse, type GetAppEvaluationHttpError, type GetAppEvaluationHttpResponse, type GetAppEvaluationXmlHttpError, type GetAppEvaluationXmlHttpResponse, type GetAppEvaluationsHttpError, type GetAppEvaluationsHttpResponse, type GetAppInfoHttpError, type GetAppInfoHttpResponse, type GetAppInsightAnalysesHttpError, type GetAppInsightAnalysesHttpResponse, type GetAppInsightAnalysisModelHttpError, type GetAppInsightAnalysisModelHttpResponse, type GetAppInsightAnalysisRecommendationsHttpError, type GetAppInsightAnalysisRecommendationsHttpResponse, type GetAppMediaHttpError, type GetAppMediaHttpResponse, type GetAppMediaListHttpError, type GetAppMediaListHttpResponse, type GetAppReloadLogHttpError, type GetAppReloadLogHttpResponse, type GetAppReloadLogsHttpError, type GetAppReloadLogsHttpResponse, type GetAppReloadMetadataHttpError, type GetAppReloadMetadataHttpResponse, type GetAppScriptHistoryHttpError, type GetAppScriptHistoryHttpResponse, type GetAppScriptHttpError, type GetAppScriptHttpResponse, type GetAppThumbnailHttpError, type GetAppThumbnailHttpResponse, type GetAppsPrivilegesHttpError, type GetAppsPrivilegesHttpResponse, type HardwareMeta, type Href, type ImportAppHttpError, type ImportAppHttpResponse, type JsonObject, type LastReloadMetadata, type LineageInfoRest, type Links, type Log, type Metadata, type MoveAppToSpaceHttpError, type MoveAppToSpaceHttpResponse, type NavigationLink, type NavigationLinks, type NumberFormat, type NxApp, type NxAppCreatePrivileges, type NxAppObject, type NxAttributes, type NxObjectAttributes, type NxPatch, type Objectmetrics, type Objectspec, type Objecttopspec, type PartialNluInfo, type PatchAppScriptHttpError, type PatchAppScriptHttpResponse, type PublishApp, type PublishAppHttpError, type PublishAppHttpResponse, type QueueAppEvaluationHttpError, type QueueAppEvaluationHttpResponse, type RecommendFieldItem, type RecommendItems, type RecommendMasterItem, type RecommendNaturalLangQuery, type RecommendedAnalysis, type RecommendedAnalysisCore, type ReloadListMetadata, type ReloadMeta, type ReloadStatements, type RemoveAppFromSpaceHttpError, type RemoveAppFromSpaceHttpResponse, type RepublishApp, type RepublishAppHttpError, type RepublishAppHttpResponse, type Result, type Resultentry, type Resultmetadatatopfields, type Resultmetadatatoptables, type Resultobjresponsetime, type Resultobjsheet, type Resultobjsinglethreaded, type Resultsingle, type ScriptLogList, type ScriptLogMeta, type ScriptMeta, type ScriptMetaList, type ScriptVersion, type SimplifiedClassifications, type Sortedcomparisonfields, type Sortedcomparisonobjresponsetime, type Sortedcomparisonoobjheavy, type Sortedcomparisontables, type SymbolFrequency, type SymbolValue, type TableMetadata, type TableProfilingData, type UpdateApp, type UpdateAppInfoHttpError, type UpdateAppInfoHttpResponse, type UpdateAppObjectOwnerHttpError, type UpdateAppObjectOwnerHttpResponse, type UpdateAppOwnerHttpError, type UpdateAppOwnerHttpResponse, type UpdateAppScriptHttpError, type UpdateAppScriptHttpResponse, type UpdateOwner, type UpdateSpace, type UploadAppMediaHttpError, type UploadAppMediaHttpResponse, clearCache, copyApp, createApp, appsExport as default, deleteApp, deleteAppMedia, deleteAppScript, exportApp, getAppDataLineage, getAppDataMetadata, getAppEvaluation, getAppEvaluationComparison, getAppEvaluationComparisonXml, getAppEvaluationXml, getAppEvaluations, getAppInfo, getAppInsightAnalyses, getAppInsightAnalysisModel, getAppInsightAnalysisRecommendations, getAppMedia, getAppMediaList, getAppReloadLog, getAppReloadLogs, getAppReloadMetadata, getAppScript, getAppScriptHistory, getAppThumbnail, getAppsPrivileges, importApp, moveAppToSpace, patchAppScript, publishApp, queueAppEvaluation, removeAppFromSpace, republishApp, updateAppInfo, updateAppObjectOwner, updateAppOwner, updateAppScript, uploadAppMedia };
|