@qlik/api 0.0.1 → 0.0.3
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 +27 -13
- package/api-keys.d.ts +27 -13
- package/api-keys.js +17 -13
- package/api-keys.mjs +12 -8
- package/apps.d.mts +580 -165
- package/apps.d.ts +580 -165
- package/apps.js +111 -44
- package/apps.mjs +78 -11
- package/audits.d.mts +20 -8
- package/audits.d.ts +20 -8
- package/audits.js +12 -11
- package/audits.mjs +7 -6
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +56 -20
- package/automations.d.ts +56 -20
- package/automations.js +32 -25
- package/automations.mjs +18 -11
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
- package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +52 -18
- package/collections.d.ts +52 -18
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +20 -0
- package/data-connections.d.ts +20 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +10 -0
- package/data-credentials.d.ts +10 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +114 -29
- package/data-files.d.ts +114 -29
- package/data-files.js +25 -18
- package/data-files.mjs +15 -8
- package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
- package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
- package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
- package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +29 -13
- package/groups.d.ts +29 -13
- package/groups.js +19 -14
- package/groups.mjs +13 -8
- package/identity-providers.d.mts +23 -7
- package/identity-providers.d.ts +23 -7
- package/identity-providers.js +16 -13
- package/identity-providers.mjs +8 -5
- package/index.js +150 -112
- package/index.mjs +146 -108
- package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +25 -22
- package/items.d.ts +25 -22
- package/items.js +17 -14
- package/items.mjs +11 -8
- package/licenses.d.mts +20 -0
- package/licenses.d.ts +20 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +7 -18
- package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +20 -11
- package/reloads.d.ts +20 -11
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +36 -30
- package/spaces.d.ts +36 -30
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +9 -70
- package/temp-contents.d.ts +9 -70
- package/temp-contents.js +10 -29
- package/temp-contents.mjs +5 -24
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +27 -7
- package/webhooks.d.ts +27 -7
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/invoke-fetch-PEI54KZO.js +0 -14
package/csp-origins.js
CHANGED
|
@@ -1,48 +1,51 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/csp-origins.ts
|
|
8
|
-
var getCSPEntries = async (query, options) =>
|
|
9
|
+
var getCSPEntries = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/csp-origins",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createCSPEntry = async (body, options) =>
|
|
15
|
+
var createCSPEntry = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/csp-origins",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var getCSPHeader = async (options) =>
|
|
22
|
+
var getCSPHeader = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/csp-origins/actions/generate-header",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var deleteCSPEntry = async (id, options) =>
|
|
27
|
+
var deleteCSPEntry = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
26
28
|
method: "delete",
|
|
27
29
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
28
30
|
pathVariables: { id },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var getCSPEntry = async (id, options) =>
|
|
33
|
+
var getCSPEntry = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
32
34
|
method: "get",
|
|
33
35
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
34
36
|
pathVariables: { id },
|
|
35
37
|
options
|
|
36
38
|
});
|
|
37
|
-
var updateCSPEntry = async (id, body, options) =>
|
|
39
|
+
var updateCSPEntry = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
|
|
38
40
|
method: "put",
|
|
39
41
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
40
42
|
pathVariables: { id },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
function clearCache() {
|
|
45
|
-
return
|
|
48
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "csp-origins");
|
|
46
49
|
}
|
|
47
50
|
var cspOriginsExport = {
|
|
48
51
|
getCSPEntries,
|
package/csp-origins.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/csp-origins.ts
|
|
8
9
|
var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
|
|
@@ -15,6 +16,7 @@ var createCSPEntry = async (body, options) => invokeFetch("csp-origins", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/csp-origins",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var getCSPHeader = async (options) => invokeFetch("csp-origins", {
|
|
@@ -39,6 +41,7 @@ var updateCSPEntry = async (id, body, options) => invokeFetch("csp-origins", {
|
|
|
39
41
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
40
42
|
pathVariables: { id },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
function clearCache() {
|
package/data-assets.d.mts
CHANGED
|
@@ -60,6 +60,7 @@ type JsonPatch = {
|
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Batch delete data assets by IDs.
|
|
63
|
+
*
|
|
63
64
|
* @param body an object with the body content
|
|
64
65
|
* @throws DeleteDataAssetsHttpError
|
|
65
66
|
*/
|
|
@@ -76,6 +77,7 @@ type DeleteDataAssetsHttpError = {
|
|
|
76
77
|
};
|
|
77
78
|
/**
|
|
78
79
|
* Save new data asset.
|
|
80
|
+
*
|
|
79
81
|
* @param body an object with the body content
|
|
80
82
|
* @throws CreateDataAssetHttpError
|
|
81
83
|
*/
|
|
@@ -92,6 +94,7 @@ type CreateDataAssetHttpError = {
|
|
|
92
94
|
};
|
|
93
95
|
/**
|
|
94
96
|
* Get data asset by ID.
|
|
97
|
+
*
|
|
95
98
|
* @param dataAssetId
|
|
96
99
|
* @param query an object with query parameters
|
|
97
100
|
* @throws GetDataAssetHttpError
|
|
@@ -112,6 +115,7 @@ type GetDataAssetHttpError = {
|
|
|
112
115
|
};
|
|
113
116
|
/**
|
|
114
117
|
* Patch data asset.
|
|
118
|
+
*
|
|
115
119
|
* @param dataAssetId
|
|
116
120
|
* @param body an object with the body content
|
|
117
121
|
* @throws PatchDataAssetHttpError
|
|
@@ -129,6 +133,7 @@ type PatchDataAssetHttpError = {
|
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* Update data asset.
|
|
136
|
+
*
|
|
132
137
|
* @param dataAssetId
|
|
133
138
|
* @param body an object with the body content
|
|
134
139
|
* @throws UpdateDataAssetHttpError
|
|
@@ -151,18 +156,21 @@ declare function clearCache(): void;
|
|
|
151
156
|
interface DataAssetsAPI {
|
|
152
157
|
/**
|
|
153
158
|
* Batch delete data assets by IDs.
|
|
159
|
+
*
|
|
154
160
|
* @param body an object with the body content
|
|
155
161
|
* @throws DeleteDataAssetsHttpError
|
|
156
162
|
*/
|
|
157
163
|
deleteDataAssets: typeof deleteDataAssets;
|
|
158
164
|
/**
|
|
159
165
|
* Save new data asset.
|
|
166
|
+
*
|
|
160
167
|
* @param body an object with the body content
|
|
161
168
|
* @throws CreateDataAssetHttpError
|
|
162
169
|
*/
|
|
163
170
|
createDataAsset: typeof createDataAsset;
|
|
164
171
|
/**
|
|
165
172
|
* Get data asset by ID.
|
|
173
|
+
*
|
|
166
174
|
* @param dataAssetId
|
|
167
175
|
* @param query an object with query parameters
|
|
168
176
|
* @throws GetDataAssetHttpError
|
|
@@ -170,6 +178,7 @@ interface DataAssetsAPI {
|
|
|
170
178
|
getDataAsset: typeof getDataAsset;
|
|
171
179
|
/**
|
|
172
180
|
* Patch data asset.
|
|
181
|
+
*
|
|
173
182
|
* @param dataAssetId
|
|
174
183
|
* @param body an object with the body content
|
|
175
184
|
* @throws PatchDataAssetHttpError
|
|
@@ -177,6 +186,7 @@ interface DataAssetsAPI {
|
|
|
177
186
|
patchDataAsset: typeof patchDataAsset;
|
|
178
187
|
/**
|
|
179
188
|
* Update data asset.
|
|
189
|
+
*
|
|
180
190
|
* @param dataAssetId
|
|
181
191
|
* @param body an object with the body content
|
|
182
192
|
* @throws UpdateDataAssetHttpError
|
package/data-assets.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ type JsonPatch = {
|
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* Batch delete data assets by IDs.
|
|
63
|
+
*
|
|
63
64
|
* @param body an object with the body content
|
|
64
65
|
* @throws DeleteDataAssetsHttpError
|
|
65
66
|
*/
|
|
@@ -76,6 +77,7 @@ type DeleteDataAssetsHttpError = {
|
|
|
76
77
|
};
|
|
77
78
|
/**
|
|
78
79
|
* Save new data asset.
|
|
80
|
+
*
|
|
79
81
|
* @param body an object with the body content
|
|
80
82
|
* @throws CreateDataAssetHttpError
|
|
81
83
|
*/
|
|
@@ -92,6 +94,7 @@ type CreateDataAssetHttpError = {
|
|
|
92
94
|
};
|
|
93
95
|
/**
|
|
94
96
|
* Get data asset by ID.
|
|
97
|
+
*
|
|
95
98
|
* @param dataAssetId
|
|
96
99
|
* @param query an object with query parameters
|
|
97
100
|
* @throws GetDataAssetHttpError
|
|
@@ -112,6 +115,7 @@ type GetDataAssetHttpError = {
|
|
|
112
115
|
};
|
|
113
116
|
/**
|
|
114
117
|
* Patch data asset.
|
|
118
|
+
*
|
|
115
119
|
* @param dataAssetId
|
|
116
120
|
* @param body an object with the body content
|
|
117
121
|
* @throws PatchDataAssetHttpError
|
|
@@ -129,6 +133,7 @@ type PatchDataAssetHttpError = {
|
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* Update data asset.
|
|
136
|
+
*
|
|
132
137
|
* @param dataAssetId
|
|
133
138
|
* @param body an object with the body content
|
|
134
139
|
* @throws UpdateDataAssetHttpError
|
|
@@ -151,18 +156,21 @@ declare function clearCache(): void;
|
|
|
151
156
|
interface DataAssetsAPI {
|
|
152
157
|
/**
|
|
153
158
|
* Batch delete data assets by IDs.
|
|
159
|
+
*
|
|
154
160
|
* @param body an object with the body content
|
|
155
161
|
* @throws DeleteDataAssetsHttpError
|
|
156
162
|
*/
|
|
157
163
|
deleteDataAssets: typeof deleteDataAssets;
|
|
158
164
|
/**
|
|
159
165
|
* Save new data asset.
|
|
166
|
+
*
|
|
160
167
|
* @param body an object with the body content
|
|
161
168
|
* @throws CreateDataAssetHttpError
|
|
162
169
|
*/
|
|
163
170
|
createDataAsset: typeof createDataAsset;
|
|
164
171
|
/**
|
|
165
172
|
* Get data asset by ID.
|
|
173
|
+
*
|
|
166
174
|
* @param dataAssetId
|
|
167
175
|
* @param query an object with query parameters
|
|
168
176
|
* @throws GetDataAssetHttpError
|
|
@@ -170,6 +178,7 @@ interface DataAssetsAPI {
|
|
|
170
178
|
getDataAsset: typeof getDataAsset;
|
|
171
179
|
/**
|
|
172
180
|
* Patch data asset.
|
|
181
|
+
*
|
|
173
182
|
* @param dataAssetId
|
|
174
183
|
* @param body an object with the body content
|
|
175
184
|
* @throws PatchDataAssetHttpError
|
|
@@ -177,6 +186,7 @@ interface DataAssetsAPI {
|
|
|
177
186
|
patchDataAsset: typeof patchDataAsset;
|
|
178
187
|
/**
|
|
179
188
|
* Update data asset.
|
|
189
|
+
*
|
|
180
190
|
* @param dataAssetId
|
|
181
191
|
* @param body an object with the body content
|
|
182
192
|
* @throws UpdateDataAssetHttpError
|
package/data-assets.js
CHANGED
|
@@ -1,45 +1,50 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/data-assets.ts
|
|
8
|
-
var deleteDataAssets = async (body, options) =>
|
|
9
|
+
var deleteDataAssets = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
|
|
9
10
|
method: "delete",
|
|
10
11
|
pathTemplate: "/api/v1/data-assets",
|
|
11
12
|
body,
|
|
13
|
+
contentType: "application/json",
|
|
12
14
|
options
|
|
13
15
|
});
|
|
14
|
-
var createDataAsset = async (body, options) =>
|
|
16
|
+
var createDataAsset = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
|
|
15
17
|
method: "post",
|
|
16
18
|
pathTemplate: "/api/v1/data-assets",
|
|
17
19
|
body,
|
|
20
|
+
contentType: "application/json",
|
|
18
21
|
options
|
|
19
22
|
});
|
|
20
|
-
var getDataAsset = async (dataAssetId, query, options) =>
|
|
23
|
+
var getDataAsset = async (dataAssetId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
|
|
21
24
|
method: "get",
|
|
22
25
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
23
26
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
24
27
|
query,
|
|
25
28
|
options
|
|
26
29
|
});
|
|
27
|
-
var patchDataAsset = async (dataAssetId, body, options) =>
|
|
30
|
+
var patchDataAsset = async (dataAssetId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
|
|
28
31
|
method: "patch",
|
|
29
32
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
30
33
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
31
34
|
body,
|
|
35
|
+
contentType: "application/json",
|
|
32
36
|
options
|
|
33
37
|
});
|
|
34
|
-
var updateDataAsset = async (dataAssetId, body, options) =>
|
|
38
|
+
var updateDataAsset = async (dataAssetId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
|
|
35
39
|
method: "put",
|
|
36
40
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
37
41
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
38
42
|
body,
|
|
43
|
+
contentType: "application/json",
|
|
39
44
|
options
|
|
40
45
|
});
|
|
41
46
|
function clearCache() {
|
|
42
|
-
return
|
|
47
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "data-assets");
|
|
43
48
|
}
|
|
44
49
|
var dataAssetsExport = {
|
|
45
50
|
deleteDataAssets,
|
package/data-assets.mjs
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/data-assets.ts
|
|
8
9
|
var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
|
|
9
10
|
method: "delete",
|
|
10
11
|
pathTemplate: "/api/v1/data-assets",
|
|
11
12
|
body,
|
|
13
|
+
contentType: "application/json",
|
|
12
14
|
options
|
|
13
15
|
});
|
|
14
16
|
var createDataAsset = async (body, options) => invokeFetch("data-assets", {
|
|
15
17
|
method: "post",
|
|
16
18
|
pathTemplate: "/api/v1/data-assets",
|
|
17
19
|
body,
|
|
20
|
+
contentType: "application/json",
|
|
18
21
|
options
|
|
19
22
|
});
|
|
20
23
|
var getDataAsset = async (dataAssetId, query, options) => invokeFetch("data-assets", {
|
|
@@ -29,6 +32,7 @@ var patchDataAsset = async (dataAssetId, body, options) => invokeFetch("data-ass
|
|
|
29
32
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
30
33
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
31
34
|
body,
|
|
35
|
+
contentType: "application/json",
|
|
32
36
|
options
|
|
33
37
|
});
|
|
34
38
|
var updateDataAsset = async (dataAssetId, body, options) => invokeFetch("data-assets", {
|
|
@@ -36,6 +40,7 @@ var updateDataAsset = async (dataAssetId, body, options) => invokeFetch("data-as
|
|
|
36
40
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
37
41
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
38
42
|
body,
|
|
43
|
+
contentType: "application/json",
|
|
39
44
|
options
|
|
40
45
|
});
|
|
41
46
|
function clearCache() {
|
package/data-connections.d.mts
CHANGED
|
@@ -200,6 +200,8 @@ type Error = {
|
|
|
200
200
|
code?: string;
|
|
201
201
|
/** More concrete details */
|
|
202
202
|
detail?: string;
|
|
203
|
+
/** HTTP status code */
|
|
204
|
+
status?: number;
|
|
203
205
|
/** A summary in english explaining what went wrong */
|
|
204
206
|
title?: string;
|
|
205
207
|
};
|
|
@@ -244,6 +246,7 @@ type TopLevelLink = {
|
|
|
244
246
|
};
|
|
245
247
|
/**
|
|
246
248
|
* Gets a list of connections
|
|
249
|
+
*
|
|
247
250
|
* @param query an object with query parameters
|
|
248
251
|
* @throws GetDataConnectionsHttpError
|
|
249
252
|
*/
|
|
@@ -291,6 +294,7 @@ type GetDataConnectionsHttpError = {
|
|
|
291
294
|
};
|
|
292
295
|
/**
|
|
293
296
|
* Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
297
|
+
*
|
|
294
298
|
* @param body an object with the body content
|
|
295
299
|
* @throws CreateDataConnectionHttpError
|
|
296
300
|
*/
|
|
@@ -307,6 +311,7 @@ type CreateDataConnectionHttpError = {
|
|
|
307
311
|
};
|
|
308
312
|
/**
|
|
309
313
|
* Delete multiple connections, only available to Admin
|
|
314
|
+
*
|
|
310
315
|
* @param body an object with the body content
|
|
311
316
|
* @throws DeleteDataConnectionsHttpError
|
|
312
317
|
*/
|
|
@@ -323,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
|
|
|
323
328
|
};
|
|
324
329
|
/**
|
|
325
330
|
* Duplicate a connection
|
|
331
|
+
*
|
|
326
332
|
* @param body an object with the body content
|
|
327
333
|
* @throws DuplicateDataAConnectionHttpError
|
|
328
334
|
*/
|
|
@@ -339,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
|
|
|
339
345
|
};
|
|
340
346
|
/**
|
|
341
347
|
* Update multiple connections, only available to Admin
|
|
348
|
+
*
|
|
342
349
|
* @param body an object with the body content
|
|
343
350
|
* @throws UpdateDataConnectionsHttpError
|
|
344
351
|
*/
|
|
@@ -355,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
|
|
|
355
362
|
};
|
|
356
363
|
/**
|
|
357
364
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
365
|
+
*
|
|
358
366
|
* @param qID Connection ID
|
|
359
367
|
* @param query an object with query parameters
|
|
360
368
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -377,6 +385,7 @@ type DeleteDataConnectionHttpError = {
|
|
|
377
385
|
};
|
|
378
386
|
/**
|
|
379
387
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
388
|
+
*
|
|
380
389
|
* @param qID Connection ID
|
|
381
390
|
* @param query an object with query parameters
|
|
382
391
|
* @throws GetDataConnectionHttpError
|
|
@@ -407,6 +416,7 @@ type GetDataConnectionHttpError = {
|
|
|
407
416
|
};
|
|
408
417
|
/**
|
|
409
418
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
419
|
+
*
|
|
410
420
|
* @param qID Connection ID
|
|
411
421
|
* @param query an object with query parameters
|
|
412
422
|
* @param body an object with the body content
|
|
@@ -428,6 +438,7 @@ type PatchDataConnectionHttpError = {
|
|
|
428
438
|
};
|
|
429
439
|
/**
|
|
430
440
|
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
441
|
+
*
|
|
431
442
|
* @param qID Connection ID
|
|
432
443
|
* @param query an object with query parameters
|
|
433
444
|
* @param body an object with the body content
|
|
@@ -456,36 +467,42 @@ declare function clearCache(): void;
|
|
|
456
467
|
interface DataConnectionsAPI {
|
|
457
468
|
/**
|
|
458
469
|
* Gets a list of connections
|
|
470
|
+
*
|
|
459
471
|
* @param query an object with query parameters
|
|
460
472
|
* @throws GetDataConnectionsHttpError
|
|
461
473
|
*/
|
|
462
474
|
getDataConnections: typeof getDataConnections;
|
|
463
475
|
/**
|
|
464
476
|
* Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
477
|
+
*
|
|
465
478
|
* @param body an object with the body content
|
|
466
479
|
* @throws CreateDataConnectionHttpError
|
|
467
480
|
*/
|
|
468
481
|
createDataConnection: typeof createDataConnection;
|
|
469
482
|
/**
|
|
470
483
|
* Delete multiple connections, only available to Admin
|
|
484
|
+
*
|
|
471
485
|
* @param body an object with the body content
|
|
472
486
|
* @throws DeleteDataConnectionsHttpError
|
|
473
487
|
*/
|
|
474
488
|
deleteDataConnections: typeof deleteDataConnections;
|
|
475
489
|
/**
|
|
476
490
|
* Duplicate a connection
|
|
491
|
+
*
|
|
477
492
|
* @param body an object with the body content
|
|
478
493
|
* @throws DuplicateDataAConnectionHttpError
|
|
479
494
|
*/
|
|
480
495
|
duplicateDataAConnection: typeof duplicateDataAConnection;
|
|
481
496
|
/**
|
|
482
497
|
* Update multiple connections, only available to Admin
|
|
498
|
+
*
|
|
483
499
|
* @param body an object with the body content
|
|
484
500
|
* @throws UpdateDataConnectionsHttpError
|
|
485
501
|
*/
|
|
486
502
|
updateDataConnections: typeof updateDataConnections;
|
|
487
503
|
/**
|
|
488
504
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
505
|
+
*
|
|
489
506
|
* @param qID Connection ID
|
|
490
507
|
* @param query an object with query parameters
|
|
491
508
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -493,6 +510,7 @@ interface DataConnectionsAPI {
|
|
|
493
510
|
deleteDataConnection: typeof deleteDataConnection;
|
|
494
511
|
/**
|
|
495
512
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
513
|
+
*
|
|
496
514
|
* @param qID Connection ID
|
|
497
515
|
* @param query an object with query parameters
|
|
498
516
|
* @throws GetDataConnectionHttpError
|
|
@@ -500,6 +518,7 @@ interface DataConnectionsAPI {
|
|
|
500
518
|
getDataConnection: typeof getDataConnection;
|
|
501
519
|
/**
|
|
502
520
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
521
|
+
*
|
|
503
522
|
* @param qID Connection ID
|
|
504
523
|
* @param query an object with query parameters
|
|
505
524
|
* @param body an object with the body content
|
|
@@ -508,6 +527,7 @@ interface DataConnectionsAPI {
|
|
|
508
527
|
patchDataConnection: typeof patchDataConnection;
|
|
509
528
|
/**
|
|
510
529
|
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
530
|
+
*
|
|
511
531
|
* @param qID Connection ID
|
|
512
532
|
* @param query an object with query parameters
|
|
513
533
|
* @param body an object with the body content
|
package/data-connections.d.ts
CHANGED
|
@@ -200,6 +200,8 @@ type Error = {
|
|
|
200
200
|
code?: string;
|
|
201
201
|
/** More concrete details */
|
|
202
202
|
detail?: string;
|
|
203
|
+
/** HTTP status code */
|
|
204
|
+
status?: number;
|
|
203
205
|
/** A summary in english explaining what went wrong */
|
|
204
206
|
title?: string;
|
|
205
207
|
};
|
|
@@ -244,6 +246,7 @@ type TopLevelLink = {
|
|
|
244
246
|
};
|
|
245
247
|
/**
|
|
246
248
|
* Gets a list of connections
|
|
249
|
+
*
|
|
247
250
|
* @param query an object with query parameters
|
|
248
251
|
* @throws GetDataConnectionsHttpError
|
|
249
252
|
*/
|
|
@@ -291,6 +294,7 @@ type GetDataConnectionsHttpError = {
|
|
|
291
294
|
};
|
|
292
295
|
/**
|
|
293
296
|
* Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
297
|
+
*
|
|
294
298
|
* @param body an object with the body content
|
|
295
299
|
* @throws CreateDataConnectionHttpError
|
|
296
300
|
*/
|
|
@@ -307,6 +311,7 @@ type CreateDataConnectionHttpError = {
|
|
|
307
311
|
};
|
|
308
312
|
/**
|
|
309
313
|
* Delete multiple connections, only available to Admin
|
|
314
|
+
*
|
|
310
315
|
* @param body an object with the body content
|
|
311
316
|
* @throws DeleteDataConnectionsHttpError
|
|
312
317
|
*/
|
|
@@ -323,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
|
|
|
323
328
|
};
|
|
324
329
|
/**
|
|
325
330
|
* Duplicate a connection
|
|
331
|
+
*
|
|
326
332
|
* @param body an object with the body content
|
|
327
333
|
* @throws DuplicateDataAConnectionHttpError
|
|
328
334
|
*/
|
|
@@ -339,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
|
|
|
339
345
|
};
|
|
340
346
|
/**
|
|
341
347
|
* Update multiple connections, only available to Admin
|
|
348
|
+
*
|
|
342
349
|
* @param body an object with the body content
|
|
343
350
|
* @throws UpdateDataConnectionsHttpError
|
|
344
351
|
*/
|
|
@@ -355,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
|
|
|
355
362
|
};
|
|
356
363
|
/**
|
|
357
364
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
365
|
+
*
|
|
358
366
|
* @param qID Connection ID
|
|
359
367
|
* @param query an object with query parameters
|
|
360
368
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -377,6 +385,7 @@ type DeleteDataConnectionHttpError = {
|
|
|
377
385
|
};
|
|
378
386
|
/**
|
|
379
387
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
388
|
+
*
|
|
380
389
|
* @param qID Connection ID
|
|
381
390
|
* @param query an object with query parameters
|
|
382
391
|
* @throws GetDataConnectionHttpError
|
|
@@ -407,6 +416,7 @@ type GetDataConnectionHttpError = {
|
|
|
407
416
|
};
|
|
408
417
|
/**
|
|
409
418
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
419
|
+
*
|
|
410
420
|
* @param qID Connection ID
|
|
411
421
|
* @param query an object with query parameters
|
|
412
422
|
* @param body an object with the body content
|
|
@@ -428,6 +438,7 @@ type PatchDataConnectionHttpError = {
|
|
|
428
438
|
};
|
|
429
439
|
/**
|
|
430
440
|
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
441
|
+
*
|
|
431
442
|
* @param qID Connection ID
|
|
432
443
|
* @param query an object with query parameters
|
|
433
444
|
* @param body an object with the body content
|
|
@@ -456,36 +467,42 @@ declare function clearCache(): void;
|
|
|
456
467
|
interface DataConnectionsAPI {
|
|
457
468
|
/**
|
|
458
469
|
* Gets a list of connections
|
|
470
|
+
*
|
|
459
471
|
* @param query an object with query parameters
|
|
460
472
|
* @throws GetDataConnectionsHttpError
|
|
461
473
|
*/
|
|
462
474
|
getDataConnections: typeof getDataConnections;
|
|
463
475
|
/**
|
|
464
476
|
* Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
477
|
+
*
|
|
465
478
|
* @param body an object with the body content
|
|
466
479
|
* @throws CreateDataConnectionHttpError
|
|
467
480
|
*/
|
|
468
481
|
createDataConnection: typeof createDataConnection;
|
|
469
482
|
/**
|
|
470
483
|
* Delete multiple connections, only available to Admin
|
|
484
|
+
*
|
|
471
485
|
* @param body an object with the body content
|
|
472
486
|
* @throws DeleteDataConnectionsHttpError
|
|
473
487
|
*/
|
|
474
488
|
deleteDataConnections: typeof deleteDataConnections;
|
|
475
489
|
/**
|
|
476
490
|
* Duplicate a connection
|
|
491
|
+
*
|
|
477
492
|
* @param body an object with the body content
|
|
478
493
|
* @throws DuplicateDataAConnectionHttpError
|
|
479
494
|
*/
|
|
480
495
|
duplicateDataAConnection: typeof duplicateDataAConnection;
|
|
481
496
|
/**
|
|
482
497
|
* Update multiple connections, only available to Admin
|
|
498
|
+
*
|
|
483
499
|
* @param body an object with the body content
|
|
484
500
|
* @throws UpdateDataConnectionsHttpError
|
|
485
501
|
*/
|
|
486
502
|
updateDataConnections: typeof updateDataConnections;
|
|
487
503
|
/**
|
|
488
504
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
505
|
+
*
|
|
489
506
|
* @param qID Connection ID
|
|
490
507
|
* @param query an object with query parameters
|
|
491
508
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -493,6 +510,7 @@ interface DataConnectionsAPI {
|
|
|
493
510
|
deleteDataConnection: typeof deleteDataConnection;
|
|
494
511
|
/**
|
|
495
512
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
513
|
+
*
|
|
496
514
|
* @param qID Connection ID
|
|
497
515
|
* @param query an object with query parameters
|
|
498
516
|
* @throws GetDataConnectionHttpError
|
|
@@ -500,6 +518,7 @@ interface DataConnectionsAPI {
|
|
|
500
518
|
getDataConnection: typeof getDataConnection;
|
|
501
519
|
/**
|
|
502
520
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
521
|
+
*
|
|
503
522
|
* @param qID Connection ID
|
|
504
523
|
* @param query an object with query parameters
|
|
505
524
|
* @param body an object with the body content
|
|
@@ -508,6 +527,7 @@ interface DataConnectionsAPI {
|
|
|
508
527
|
patchDataConnection: typeof patchDataConnection;
|
|
509
528
|
/**
|
|
510
529
|
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
530
|
+
*
|
|
511
531
|
* @param qID Connection ID
|
|
512
532
|
* @param query an object with query parameters
|
|
513
533
|
* @param body an object with the body content
|