@qlik/api 0.0.9 → 0.0.10
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.mts +9 -0
- package/api-keys.d.ts +9 -0
- package/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.d.mts +125 -1
- package/apps.d.ts +125 -1
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.d.mts +13 -0
- package/audits.d.ts +13 -0
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +8 -0
- package/automations.d.ts +8 -0
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.d.mts +15 -0
- package/brands.d.ts +15 -0
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{YDB23Q56.mjs → 34FMVD4C.mjs} +164 -20
- package/chunks/{PQ4OWSWX.js → 37PLWNAN.js} +44 -56
- package/chunks/{AULTUQC4.js → 3MHXEHLQ.js} +2 -2
- package/chunks/{AU62SBT4.mjs → 42LZKDDD.mjs} +1 -1
- package/chunks/{AGASWXYW.js → AVQ3WHH7.js} +167 -23
- package/chunks/{W2I5OQA5.js → FG5GDUSZ.js} +3 -3
- package/chunks/{EHZ6H6TD.mjs → FUU5VIC4.mjs} +1 -1
- package/chunks/{L7DRRU3T.mjs → HFNJ3ERI.mjs} +2 -2
- package/chunks/{POR3DZIU.mjs → HWZC3PIL.mjs} +1 -1
- package/chunks/{XY3AC335.js → ILOY5QEA.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → KEPPVUY3.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → MMUU2CQM.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → O5POHH2Q.mjs} +3 -3
- package/chunks/{EL2GSPZZ.js → QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/chunks/{KDW6ZD2R.mjs → VMS4MOCI.mjs} +42 -54
- package/chunks/{F7GJTDIU.js → WCJ4JQHA.js} +8 -8
- package/collections.d.mts +29 -1
- package/collections.d.ts +29 -1
- package/collections.js +14 -14
- 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 +12 -1
- package/data-connections.d.ts +12 -1
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +5 -0
- package/data-credentials.d.ts +5 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +6 -0
- package/data-files.d.ts +6 -0
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.d.mts +12 -0
- package/extensions.d.ts +12 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.d.mts +50 -0
- package/glossaries.d.ts +50 -0
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +39 -0
- package/groups.d.ts +39 -0
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.d.mts +42 -0
- package/identity-providers.d.ts +42 -0
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.d.mts +32 -1
- package/items.d.ts +32 -1
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.d.mts +7 -4
- package/licenses.d.ts +7 -4
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.d.mts +3 -0
- package/quotas.d.ts +3 -0
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +6 -3
- package/reload-tasks.d.ts +6 -3
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +9 -0
- package/reloads.d.ts +9 -0
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.d.mts +10 -1
- package/roles.d.ts +10 -1
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +37 -5
- package/spaces.d.ts +37 -5
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +6 -0
- package/temp-contents.d.ts +6 -0
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.d.mts +9 -0
- package/themes.d.ts +9 -0
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.d.mts +9 -0
- package/transports.d.ts +9 -0
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.d.mts +85 -14
- package/users.d.ts +85 -14
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.d.mts +18 -0
- package/web-integrations.d.ts +18 -0
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.d.mts +18 -0
- package/web-notifications.d.ts +18 -0
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +3 -0
- package/webhooks.d.ts +3 -0
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/37STYSYC.js +0 -41
- package/chunks/VC2LAFLZ.js +0 -17
package/data-connections.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-connections.ts
|
|
9
|
-
var getDataConnections = async (query, options) =>
|
|
9
|
+
var getDataConnections = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/data-connections",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createDataConnection = async (body, options) =>
|
|
15
|
+
var createDataConnection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/data-connections",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteDataConnections = async (body, options) =>
|
|
22
|
+
var deleteDataConnections = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/data-connections/actions/delete",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var duplicateDataAConnection = async (body, options) =>
|
|
29
|
+
var duplicateDataAConnection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/data-connections/actions/duplicate",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var updateDataConnections = async (body, options) =>
|
|
36
|
+
var updateDataConnections = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
37
37
|
method: "post",
|
|
38
38
|
pathTemplate: "/api/v1/data-connections/actions/update",
|
|
39
39
|
body,
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var deleteDataConnection = async (qID, query, options) =>
|
|
43
|
+
var deleteDataConnection = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
44
44
|
method: "delete",
|
|
45
45
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
46
46
|
pathVariables: { qID },
|
|
47
47
|
query,
|
|
48
48
|
options
|
|
49
49
|
});
|
|
50
|
-
var getDataConnection = async (qID, query, options) =>
|
|
50
|
+
var getDataConnection = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
51
51
|
method: "get",
|
|
52
52
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
53
53
|
pathVariables: { qID },
|
|
54
54
|
query,
|
|
55
55
|
options
|
|
56
56
|
});
|
|
57
|
-
var patchDataConnection = async (qID, query, body, options) =>
|
|
57
|
+
var patchDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
58
58
|
method: "patch",
|
|
59
59
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
60
60
|
pathVariables: { qID },
|
|
@@ -63,7 +63,7 @@ var patchDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invok
|
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
options
|
|
65
65
|
});
|
|
66
|
-
var updateDataConnection = async (qID, query, body, options) =>
|
|
66
|
+
var updateDataConnection = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-connections", {
|
|
67
67
|
method: "put",
|
|
68
68
|
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
69
69
|
pathVariables: { qID },
|
|
@@ -73,7 +73,7 @@ var updateDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invo
|
|
|
73
73
|
options
|
|
74
74
|
});
|
|
75
75
|
function clearCache() {
|
|
76
|
-
return
|
|
76
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "data-connections");
|
|
77
77
|
}
|
|
78
78
|
var dataConnectionsExport = {
|
|
79
79
|
getDataConnections,
|
package/data-connections.mjs
CHANGED
package/data-credentials.d.mts
CHANGED
|
@@ -2,6 +2,8 @@ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type Credential = {
|
|
5
|
+
/** ID datasource that the credential is created for */
|
|
6
|
+
datasourceID?: string;
|
|
5
7
|
links?: Link;
|
|
6
8
|
/** Number of linked connections */
|
|
7
9
|
qConnCount: number;
|
|
@@ -14,6 +16,9 @@ type Credential = {
|
|
|
14
16
|
/** Type of credential */
|
|
15
17
|
qType: string;
|
|
16
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* Credential
|
|
21
|
+
*/
|
|
17
22
|
type CredentialCreate = {
|
|
18
23
|
/** ID of connection that will be associated with the credential */
|
|
19
24
|
connectionId?: string;
|
package/data-credentials.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type Credential = {
|
|
5
|
+
/** ID datasource that the credential is created for */
|
|
6
|
+
datasourceID?: string;
|
|
5
7
|
links?: Link;
|
|
6
8
|
/** Number of linked connections */
|
|
7
9
|
qConnCount: number;
|
|
@@ -14,6 +16,9 @@ type Credential = {
|
|
|
14
16
|
/** Type of credential */
|
|
15
17
|
qType: string;
|
|
16
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* Credential
|
|
21
|
+
*/
|
|
17
22
|
type CredentialCreate = {
|
|
18
23
|
/** ID of connection that will be associated with the credential */
|
|
19
24
|
connectionId?: string;
|
package/data-credentials.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-credentials.ts
|
|
9
|
-
var deleteDataCredential = async (qID, query, options) =>
|
|
9
|
+
var deleteDataCredential = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
12
12
|
pathVariables: { qID },
|
|
13
13
|
query,
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var getDataCredential = async (qID, query, options) =>
|
|
16
|
+
var getDataCredential = async (qID, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
|
|
17
17
|
method: "get",
|
|
18
18
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
19
19
|
pathVariables: { qID },
|
|
20
20
|
query,
|
|
21
21
|
options
|
|
22
22
|
});
|
|
23
|
-
var patchDataCredential = async (qID, query, body, options) =>
|
|
23
|
+
var patchDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
|
|
24
24
|
method: "patch",
|
|
25
25
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
26
26
|
pathVariables: { qID },
|
|
@@ -29,7 +29,7 @@ var patchDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invok
|
|
|
29
29
|
contentType: "application/json",
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var updateDataCredential = async (qID, query, body, options) =>
|
|
32
|
+
var updateDataCredential = async (qID, query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-credentials", {
|
|
33
33
|
method: "put",
|
|
34
34
|
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
35
35
|
pathVariables: { qID },
|
|
@@ -39,7 +39,7 @@ var updateDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invo
|
|
|
39
39
|
options
|
|
40
40
|
});
|
|
41
41
|
function clearCache() {
|
|
42
|
-
return
|
|
42
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "data-credentials");
|
|
43
43
|
}
|
|
44
44
|
var dataCredentialsExport = {
|
|
45
45
|
deleteDataCredential,
|
package/data-credentials.mjs
CHANGED
package/data-files.d.mts
CHANGED
|
@@ -33,10 +33,16 @@ type ConnectionsResponse = {
|
|
|
33
33
|
/** The type of the connection. */
|
|
34
34
|
type: string;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the list of data file change space operations in a single batch.
|
|
38
|
+
*/
|
|
36
39
|
type DataFileBatchChangeSpaceRequest = {
|
|
37
40
|
/** The list of data files to delete. */
|
|
38
41
|
"change-space": BatchChangeSpaceItem[];
|
|
39
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the list of data files to be deleted in a single batch.
|
|
45
|
+
*/
|
|
40
46
|
type DataFileBatchDeleteRequest = {
|
|
41
47
|
/** The list of data files to delete. */
|
|
42
48
|
delete: BatchDeleteItem[];
|
package/data-files.d.ts
CHANGED
|
@@ -33,10 +33,16 @@ type ConnectionsResponse = {
|
|
|
33
33
|
/** The type of the connection. */
|
|
34
34
|
type: string;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the list of data file change space operations in a single batch.
|
|
38
|
+
*/
|
|
36
39
|
type DataFileBatchChangeSpaceRequest = {
|
|
37
40
|
/** The list of data files to delete. */
|
|
38
41
|
"change-space": BatchChangeSpaceItem[];
|
|
39
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the list of data files to be deleted in a single batch.
|
|
45
|
+
*/
|
|
40
46
|
type DataFileBatchDeleteRequest = {
|
|
41
47
|
/** The list of data files to delete. */
|
|
42
48
|
delete: BatchDeleteItem[];
|
package/data-files.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-files.ts
|
|
9
|
-
var getDataFiles = async (query, options) =>
|
|
9
|
+
var getDataFiles = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/data-files",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var uploadDataFile = async (body, options) =>
|
|
15
|
+
var uploadDataFile = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/data-files",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "multipart/form-data",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var moveDataFiles = async (body, options) =>
|
|
22
|
+
var moveDataFiles = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/data-files/actions/change-space",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var deleteDataFiles = async (body, options) =>
|
|
29
|
+
var deleteDataFiles = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/data-files/actions/delete",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getDataFilesConnections = async (query, options) =>
|
|
36
|
+
var getDataFilesConnections = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/data-files/connections",
|
|
39
39
|
query,
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var getDataFileConnection = async (id, options) =>
|
|
42
|
+
var getDataFileConnection = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
43
43
|
method: "get",
|
|
44
44
|
pathTemplate: "/api/v1/data-files/connections/{id}",
|
|
45
45
|
pathVariables: { id },
|
|
46
46
|
options
|
|
47
47
|
});
|
|
48
|
-
var getDataFilesQuotas = async (options) =>
|
|
48
|
+
var getDataFilesQuotas = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
49
49
|
method: "get",
|
|
50
50
|
pathTemplate: "/api/v1/data-files/quotas",
|
|
51
51
|
options
|
|
52
52
|
});
|
|
53
|
-
var deleteDataFile = async (id, options) =>
|
|
53
|
+
var deleteDataFile = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
54
54
|
method: "delete",
|
|
55
55
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
56
56
|
pathVariables: { id },
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
|
-
var getDataFile = async (id, options) =>
|
|
59
|
+
var getDataFile = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
60
60
|
method: "get",
|
|
61
61
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
62
62
|
pathVariables: { id },
|
|
63
63
|
options
|
|
64
64
|
});
|
|
65
|
-
var reuploadDataFile = async (id, body, options) =>
|
|
65
|
+
var reuploadDataFile = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
66
66
|
method: "put",
|
|
67
67
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
68
68
|
pathVariables: { id },
|
|
@@ -70,7 +70,7 @@ var reuploadDataFile = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call
|
|
|
70
70
|
contentType: "multipart/form-data",
|
|
71
71
|
options
|
|
72
72
|
});
|
|
73
|
-
var changeDataFileOwner = async (id, body, options) =>
|
|
73
|
+
var changeDataFileOwner = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
74
74
|
method: "post",
|
|
75
75
|
pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
|
|
76
76
|
pathVariables: { id },
|
|
@@ -78,7 +78,7 @@ var changeDataFileOwner = async (id, body, options) => _EL2GSPZZjs.invokeFetch.c
|
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
options
|
|
80
80
|
});
|
|
81
|
-
var moveDataFile = async (id, body, options) =>
|
|
81
|
+
var moveDataFile = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-files", {
|
|
82
82
|
method: "post",
|
|
83
83
|
pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
|
|
84
84
|
pathVariables: { id },
|
|
@@ -87,7 +87,7 @@ var moveDataFile = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(voi
|
|
|
87
87
|
options
|
|
88
88
|
});
|
|
89
89
|
function clearCache() {
|
|
90
|
-
return
|
|
90
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "data-files");
|
|
91
91
|
}
|
|
92
92
|
var dataFilesExport = {
|
|
93
93
|
getDataFiles,
|
package/data-files.mjs
CHANGED
package/extensions.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
|
|
6
|
+
*/
|
|
4
7
|
type BundleMeta = {
|
|
5
8
|
/** Description of the bundle. */
|
|
6
9
|
description?: string;
|
|
@@ -9,6 +12,9 @@ type BundleMeta = {
|
|
|
9
12
|
/** Name of the bundle. */
|
|
10
13
|
name?: string;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* An error object.
|
|
17
|
+
*/
|
|
12
18
|
type Error = {
|
|
13
19
|
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
14
20
|
meta?: Meta;
|
|
@@ -19,6 +25,9 @@ type Error = {
|
|
|
19
25
|
/** Title of the HTTP status code. */
|
|
20
26
|
title: string;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* The extension model.
|
|
30
|
+
*/
|
|
22
31
|
type Extension = {
|
|
23
32
|
/** Author of the extension. */
|
|
24
33
|
author?: string;
|
|
@@ -75,6 +84,9 @@ type Extension = {
|
|
|
75
84
|
type Extensions = {
|
|
76
85
|
data: Extension[];
|
|
77
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
89
|
+
*/
|
|
78
90
|
type Meta = {
|
|
79
91
|
/** A more detailed message explaining the error. */
|
|
80
92
|
message?: string;
|
package/extensions.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
|
|
6
|
+
*/
|
|
4
7
|
type BundleMeta = {
|
|
5
8
|
/** Description of the bundle. */
|
|
6
9
|
description?: string;
|
|
@@ -9,6 +12,9 @@ type BundleMeta = {
|
|
|
9
12
|
/** Name of the bundle. */
|
|
10
13
|
name?: string;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* An error object.
|
|
17
|
+
*/
|
|
12
18
|
type Error = {
|
|
13
19
|
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
14
20
|
meta?: Meta;
|
|
@@ -19,6 +25,9 @@ type Error = {
|
|
|
19
25
|
/** Title of the HTTP status code. */
|
|
20
26
|
title: string;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* The extension model.
|
|
30
|
+
*/
|
|
22
31
|
type Extension = {
|
|
23
32
|
/** Author of the extension. */
|
|
24
33
|
author?: string;
|
|
@@ -75,6 +84,9 @@ type Extension = {
|
|
|
75
84
|
type Extensions = {
|
|
76
85
|
data: Extension[];
|
|
77
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
89
|
+
*/
|
|
78
90
|
type Meta = {
|
|
79
91
|
/** A more detailed message explaining the error. */
|
|
80
92
|
message?: string;
|
package/extensions.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/extensions.ts
|
|
9
|
-
var getExtensions = async (options) =>
|
|
9
|
+
var getExtensions = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/extensions",
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var uploadExtension = async (body, options) =>
|
|
14
|
+
var uploadExtension = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/extensions",
|
|
17
17
|
body,
|
|
18
18
|
contentType: "multipart/form-data",
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var deleteExtension = async (id, options) =>
|
|
21
|
+
var deleteExtension = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
22
22
|
method: "delete",
|
|
23
23
|
pathTemplate: "/api/v1/extensions/{id}",
|
|
24
24
|
pathVariables: { id },
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var getExtension = async (id, options) =>
|
|
27
|
+
var getExtension = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
28
28
|
method: "get",
|
|
29
29
|
pathTemplate: "/api/v1/extensions/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var patchExtension = async (id, body, options) =>
|
|
33
|
+
var patchExtension = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
34
34
|
method: "patch",
|
|
35
35
|
pathTemplate: "/api/v1/extensions/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
@@ -38,20 +38,20 @@ var patchExtension = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
|
|
|
38
38
|
contentType: "multipart/form-data",
|
|
39
39
|
options
|
|
40
40
|
});
|
|
41
|
-
var downloadExtension = async (id, options) =>
|
|
41
|
+
var downloadExtension = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
42
42
|
method: "get",
|
|
43
43
|
pathTemplate: "/api/v1/extensions/{id}/file",
|
|
44
44
|
pathVariables: { id },
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var downloadFileFromExtension = async (id, filepath, options) =>
|
|
47
|
+
var downloadFileFromExtension = async (id, filepath, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "extensions", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
|
|
50
50
|
pathVariables: { id, filepath },
|
|
51
51
|
options
|
|
52
52
|
});
|
|
53
53
|
function clearCache() {
|
|
54
|
-
return
|
|
54
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "extensions");
|
|
55
55
|
}
|
|
56
56
|
var extensionsExport = {
|
|
57
57
|
getExtensions,
|
package/extensions.mjs
CHANGED
package/glossaries.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
6
|
+
*/
|
|
4
7
|
type JSONPatch = {
|
|
5
8
|
/** The operation to be performed. */
|
|
6
9
|
op: "replace";
|
|
@@ -9,6 +12,9 @@ type JSONPatch = {
|
|
|
9
12
|
/** The value to be used for this operation. */
|
|
10
13
|
value: string | number;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* An array of JSON Patch documents
|
|
17
|
+
*/
|
|
12
18
|
type JSONPatchArray = JSONPatch[];
|
|
13
19
|
type AtlanEntity = {
|
|
14
20
|
attributes?: AtlanEntityAttributes;
|
|
@@ -30,6 +36,9 @@ type AtlanEntityAttributes = {
|
|
|
30
36
|
usage?: string;
|
|
31
37
|
userDescription?: string;
|
|
32
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Atlan glossary format. See https://apidocs.atlan.com/
|
|
41
|
+
*/
|
|
33
42
|
type AtlanGlossary = {
|
|
34
43
|
entity?: AtlanEntity;
|
|
35
44
|
referredEntities?: AtlanEntity[];
|
|
@@ -151,6 +160,28 @@ type ErrorResponse = {
|
|
|
151
160
|
errors?: ErrorResponseCode[];
|
|
152
161
|
traceId?: string;
|
|
153
162
|
};
|
|
163
|
+
/**
|
|
164
|
+
* ### Custom error codes
|
|
165
|
+
* * BG-1 - Context JWT is missing tenantId.
|
|
166
|
+
* * BG-2 - Context JWT is missing userId.
|
|
167
|
+
* * BG-4 - Invalid or unsupported Content Type. Valid types are: application/json, application/json+qlik, application/json+atlan, application/json+atlas
|
|
168
|
+
* * BG-5 - Failed to decode JSON payload.
|
|
169
|
+
* * BG-6 - A glossary name is required.
|
|
170
|
+
* * BG-7 - Two categories with the same name cannot have the same parent.
|
|
171
|
+
* * BG-11 - Glossary validation failed - A value or parameter is invalid or not set
|
|
172
|
+
* * BG-12 - Category validation failed - A value or parameter is invalid or not set
|
|
173
|
+
* * BG-13 - Term validation failed - A value or parameter is invalid or not set
|
|
174
|
+
* * BG-14 - Two or more categories share Id
|
|
175
|
+
* * BG-15 - Two or more terms share Id
|
|
176
|
+
* * BG-16 - Not detecting proper Atlas format
|
|
177
|
+
* * BG-17 - Not detecting proper Atlan format
|
|
178
|
+
* * BG-18 - Not detecting proper Qlik format
|
|
179
|
+
* * BG-19 - Invalid format in term
|
|
180
|
+
* * BG-20 - Duplicate link definition
|
|
181
|
+
* * BG-21 - Rich text validation failed
|
|
182
|
+
* * BG-22 - Import cancelled
|
|
183
|
+
* * BG-23 - Duplicate link related
|
|
184
|
+
*/
|
|
154
185
|
type ErrorResponseBadRequest = {
|
|
155
186
|
errors?: ErrorResponseCode[];
|
|
156
187
|
traceId?: string;
|
|
@@ -160,10 +191,20 @@ type ErrorResponseCode = {
|
|
|
160
191
|
detail?: string;
|
|
161
192
|
title?: string;
|
|
162
193
|
};
|
|
194
|
+
/**
|
|
195
|
+
* ### Custom error codes
|
|
196
|
+
* * BG-3 - Access denied, no read access
|
|
197
|
+
*/
|
|
163
198
|
type ErrorResponseForbidden = {
|
|
164
199
|
errors?: ErrorResponseCode[];
|
|
165
200
|
traceId?: string;
|
|
166
201
|
};
|
|
202
|
+
/**
|
|
203
|
+
* ### Custom error codes
|
|
204
|
+
* * BG-8 - Glossary not found
|
|
205
|
+
* * BG-9 - Category not found
|
|
206
|
+
* * BG-10 - Term not found
|
|
207
|
+
*/
|
|
167
208
|
type ErrorResponseNotFound = {
|
|
168
209
|
errors?: ErrorResponseCode[];
|
|
169
210
|
traceId?: string;
|
|
@@ -324,6 +365,9 @@ type Term = {
|
|
|
324
365
|
/** The uuid of the user who last updated the term */
|
|
325
366
|
readonly updatedBy: string;
|
|
326
367
|
};
|
|
368
|
+
/**
|
|
369
|
+
* Describes links to other data assets such as analytics applications or dataset.
|
|
370
|
+
*/
|
|
327
371
|
type TermCreateLinksTo = {
|
|
328
372
|
resourceId: string;
|
|
329
373
|
resourceType: "app" | "dataset";
|
|
@@ -332,6 +376,9 @@ type TermCreateLinksTo = {
|
|
|
332
376
|
subResourceType?: "master_dimension" | "master_measure";
|
|
333
377
|
type?: "definition" | "related";
|
|
334
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* Describes links to other entities such as qlik charts, dataset columns etc.
|
|
381
|
+
*/
|
|
335
382
|
type TermLinksTo = {
|
|
336
383
|
readonly createdAt?: string;
|
|
337
384
|
createdBy?: string;
|
|
@@ -356,6 +403,9 @@ type TermRelatesTo = {
|
|
|
356
403
|
/** How the term related to the other object */
|
|
357
404
|
type: "isA" | "hasA" | "seeAlso" | "synonym" | "antonym" | "classifies" | "other";
|
|
358
405
|
};
|
|
406
|
+
/**
|
|
407
|
+
* Terms status is used determine the status of a term
|
|
408
|
+
*/
|
|
359
409
|
type TermStatus = {
|
|
360
410
|
type: "draft" | "verified" | "deprecated";
|
|
361
411
|
/** Time when the state was changed */
|