@qlik/api 0.0.9 → 0.0.11
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/{XY3AC335.js → 277NFGPR.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
- package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
- package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
- package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
- package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
- package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
- 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/collections.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/collections.ts
|
|
9
|
-
var getCollections = async (query, options) =>
|
|
9
|
+
var getCollections = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/collections",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCollection = async (body, options) =>
|
|
15
|
+
var createCollection = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/collections",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getFavoritesCollection = async (options) =>
|
|
22
|
+
var getFavoritesCollection = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/collections/favorites",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCollection = async (collectionId, options) =>
|
|
27
|
+
var deleteCollection = async (collectionId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
30
30
|
pathVariables: { collectionId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCollection = async (collectionId, options) =>
|
|
33
|
+
var getCollection = async (collectionId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
36
36
|
pathVariables: { collectionId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchCollection = async (collectionId, body, options) =>
|
|
39
|
+
var patchCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
42
42
|
pathVariables: { collectionId },
|
|
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _EL2GSPZZjs.invokeF
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateCollection = async (collectionId, body, options) =>
|
|
47
|
+
var updateCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
48
48
|
method: "put",
|
|
49
49
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
50
50
|
pathVariables: { collectionId },
|
|
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _EL2GSPZZjs.invoke
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getCollectionItems = async (collectionId, query, options) =>
|
|
55
|
+
var getCollectionItems = async (collectionId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
58
58
|
pathVariables: { collectionId },
|
|
59
59
|
query,
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
|
-
var addCollectionItem = async (collectionId, body, options) =>
|
|
62
|
+
var addCollectionItem = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
63
63
|
method: "post",
|
|
64
64
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
65
65
|
pathVariables: { collectionId },
|
|
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _EL2GSPZZjs.invok
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteCollectionItem = async (collectionId, itemId, options) =>
|
|
70
|
+
var deleteCollectionItem = async (collectionId, itemId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
71
71
|
method: "delete",
|
|
72
72
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
73
73
|
pathVariables: { collectionId, itemId },
|
|
74
74
|
options
|
|
75
75
|
});
|
|
76
|
-
var getCollectionItem = async (collectionId, itemId, options) =>
|
|
76
|
+
var getCollectionItem = async (collectionId, itemId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
|
|
77
77
|
method: "get",
|
|
78
78
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
79
79
|
pathVariables: { collectionId, itemId },
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
82
|
function clearCache() {
|
|
83
|
-
return
|
|
83
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "collections");
|
|
84
84
|
}
|
|
85
85
|
var collectionsExport = {
|
|
86
86
|
getCollections,
|
package/collections.mjs
CHANGED
package/csp-origins.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csp-origins.ts
|
|
9
|
-
var getCSPEntries = async (query, options) =>
|
|
9
|
+
var getCSPEntries = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/csp-origins",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCSPEntry = async (body, options) =>
|
|
15
|
+
var createCSPEntry = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/csp-origins",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getCSPHeader = async (options) =>
|
|
22
|
+
var getCSPHeader = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/csp-origins/actions/generate-header",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCSPEntry = async (id, options) =>
|
|
27
|
+
var deleteCSPEntry = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCSPEntry = async (id, options) =>
|
|
33
|
+
var getCSPEntry = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var updateCSPEntry = async (id, body, options) =>
|
|
39
|
+
var updateCSPEntry = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
|
|
40
40
|
method: "put",
|
|
41
41
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
42
42
|
pathVariables: { id },
|
|
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
|
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
47
|
function clearCache() {
|
|
48
|
-
return
|
|
48
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "csp-origins");
|
|
49
49
|
}
|
|
50
50
|
var cspOriginsExport = {
|
|
51
51
|
getCSPEntries,
|
package/csp-origins.mjs
CHANGED
package/data-assets.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-assets.ts
|
|
9
|
-
var deleteDataAssets = async (body, options) =>
|
|
9
|
+
var deleteDataAssets = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/data-assets",
|
|
12
12
|
body,
|
|
13
13
|
contentType: "application/json",
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var createDataAsset = async (body, options) =>
|
|
16
|
+
var createDataAsset = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
|
|
17
17
|
method: "post",
|
|
18
18
|
pathTemplate: "/api/v1/data-assets",
|
|
19
19
|
body,
|
|
20
20
|
contentType: "application/json",
|
|
21
21
|
options
|
|
22
22
|
});
|
|
23
|
-
var getDataAsset = async (dataAssetId, query, options) =>
|
|
23
|
+
var getDataAsset = async (dataAssetId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
|
|
24
24
|
method: "get",
|
|
25
25
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
26
26
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
27
27
|
query,
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
|
-
var patchDataAsset = async (dataAssetId, body, options) =>
|
|
30
|
+
var patchDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
|
|
31
31
|
method: "patch",
|
|
32
32
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
33
33
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -35,7 +35,7 @@ var patchDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFet
|
|
|
35
35
|
contentType: "application/json",
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var updateDataAsset = async (dataAssetId, body, options) =>
|
|
38
|
+
var updateDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
|
|
39
39
|
method: "put",
|
|
40
40
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
41
41
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -44,7 +44,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFe
|
|
|
44
44
|
options
|
|
45
45
|
});
|
|
46
46
|
function clearCache() {
|
|
47
|
-
return
|
|
47
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "data-assets");
|
|
48
48
|
}
|
|
49
49
|
var dataAssetsExport = {
|
|
50
50
|
deleteDataAssets,
|
package/data-assets.mjs
CHANGED
package/data-connections.d.mts
CHANGED
|
@@ -44,6 +44,9 @@ type BulkResponse = {
|
|
|
44
44
|
status: number;
|
|
45
45
|
}[];
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Essential fields of a connection
|
|
49
|
+
*/
|
|
47
50
|
type Connection = {
|
|
48
51
|
/** Datetime when the connection was created */
|
|
49
52
|
created: string;
|
|
@@ -56,7 +59,7 @@ type Connection = {
|
|
|
56
59
|
qArchitecture: 0 | 1;
|
|
57
60
|
/** Connection string for the data connection */
|
|
58
61
|
qConnectStatement: string;
|
|
59
|
-
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /
|
|
62
|
+
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
|
|
60
63
|
qConnectionSecret?: string;
|
|
61
64
|
/** ID of the credential associated with the connection */
|
|
62
65
|
qCredentialsID?: string;
|
|
@@ -123,6 +126,9 @@ type ConnectionCreate = {
|
|
|
123
126
|
/** ID of the space to which the connection belongs */
|
|
124
127
|
space?: string;
|
|
125
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Essential fields of a connection
|
|
131
|
+
*/
|
|
126
132
|
type ConnectionCreateResponse = {
|
|
127
133
|
/** Datetime when the connection was created */
|
|
128
134
|
created?: string;
|
|
@@ -226,6 +232,9 @@ type PatchRequest = {
|
|
|
226
232
|
value?: string;
|
|
227
233
|
}[];
|
|
228
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Access type allowed on associated data connection
|
|
237
|
+
*/
|
|
229
238
|
type Privilege = "list" | "update" | "delete" | "read";
|
|
230
239
|
type ResponseErrors = {
|
|
231
240
|
errors?: Errors;
|
|
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
|
|
|
257
266
|
dataName?: string;
|
|
258
267
|
/** Returns extended list of properties when set to true. */
|
|
259
268
|
extended?: boolean;
|
|
269
|
+
/** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
|
|
270
|
+
filter?: string;
|
|
260
271
|
/** Base Qri (encrypted) will be returned when the query is set to true, default is false */
|
|
261
272
|
includeQris?: boolean;
|
|
262
273
|
/** Number of resources to be returned */
|
package/data-connections.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ type BulkResponse = {
|
|
|
44
44
|
status: number;
|
|
45
45
|
}[];
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Essential fields of a connection
|
|
49
|
+
*/
|
|
47
50
|
type Connection = {
|
|
48
51
|
/** Datetime when the connection was created */
|
|
49
52
|
created: string;
|
|
@@ -56,7 +59,7 @@ type Connection = {
|
|
|
56
59
|
qArchitecture: 0 | 1;
|
|
57
60
|
/** Connection string for the data connection */
|
|
58
61
|
qConnectStatement: string;
|
|
59
|
-
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /
|
|
62
|
+
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
|
|
60
63
|
qConnectionSecret?: string;
|
|
61
64
|
/** ID of the credential associated with the connection */
|
|
62
65
|
qCredentialsID?: string;
|
|
@@ -123,6 +126,9 @@ type ConnectionCreate = {
|
|
|
123
126
|
/** ID of the space to which the connection belongs */
|
|
124
127
|
space?: string;
|
|
125
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Essential fields of a connection
|
|
131
|
+
*/
|
|
126
132
|
type ConnectionCreateResponse = {
|
|
127
133
|
/** Datetime when the connection was created */
|
|
128
134
|
created?: string;
|
|
@@ -226,6 +232,9 @@ type PatchRequest = {
|
|
|
226
232
|
value?: string;
|
|
227
233
|
}[];
|
|
228
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Access type allowed on associated data connection
|
|
237
|
+
*/
|
|
229
238
|
type Privilege = "list" | "update" | "delete" | "read";
|
|
230
239
|
type ResponseErrors = {
|
|
231
240
|
errors?: Errors;
|
|
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
|
|
|
257
266
|
dataName?: string;
|
|
258
267
|
/** Returns extended list of properties when set to true. */
|
|
259
268
|
extended?: boolean;
|
|
269
|
+
/** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
|
|
270
|
+
filter?: string;
|
|
260
271
|
/** Base Qri (encrypted) will be returned when the query is set to true, default is false */
|
|
261
272
|
includeQris?: boolean;
|
|
262
273
|
/** Number of resources to be returned */
|
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 _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.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 _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.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[];
|