@qlik/api 0.0.2 → 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/api-keys.d.mts +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +478 -148
- package/apps.d.ts +478 -148
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- 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-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.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 +51 -17
- package/collections.d.ts +51 -17
- 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 +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- 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 +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- 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.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- 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 +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- 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 +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
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
|
@@ -246,6 +246,7 @@ type TopLevelLink = {
|
|
|
246
246
|
};
|
|
247
247
|
/**
|
|
248
248
|
* Gets a list of connections
|
|
249
|
+
*
|
|
249
250
|
* @param query an object with query parameters
|
|
250
251
|
* @throws GetDataConnectionsHttpError
|
|
251
252
|
*/
|
|
@@ -293,6 +294,7 @@ type GetDataConnectionsHttpError = {
|
|
|
293
294
|
};
|
|
294
295
|
/**
|
|
295
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
|
+
*
|
|
296
298
|
* @param body an object with the body content
|
|
297
299
|
* @throws CreateDataConnectionHttpError
|
|
298
300
|
*/
|
|
@@ -309,6 +311,7 @@ type CreateDataConnectionHttpError = {
|
|
|
309
311
|
};
|
|
310
312
|
/**
|
|
311
313
|
* Delete multiple connections, only available to Admin
|
|
314
|
+
*
|
|
312
315
|
* @param body an object with the body content
|
|
313
316
|
* @throws DeleteDataConnectionsHttpError
|
|
314
317
|
*/
|
|
@@ -325,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
|
|
|
325
328
|
};
|
|
326
329
|
/**
|
|
327
330
|
* Duplicate a connection
|
|
331
|
+
*
|
|
328
332
|
* @param body an object with the body content
|
|
329
333
|
* @throws DuplicateDataAConnectionHttpError
|
|
330
334
|
*/
|
|
@@ -341,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
|
|
|
341
345
|
};
|
|
342
346
|
/**
|
|
343
347
|
* Update multiple connections, only available to Admin
|
|
348
|
+
*
|
|
344
349
|
* @param body an object with the body content
|
|
345
350
|
* @throws UpdateDataConnectionsHttpError
|
|
346
351
|
*/
|
|
@@ -357,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
|
|
|
357
362
|
};
|
|
358
363
|
/**
|
|
359
364
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
365
|
+
*
|
|
360
366
|
* @param qID Connection ID
|
|
361
367
|
* @param query an object with query parameters
|
|
362
368
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -379,6 +385,7 @@ type DeleteDataConnectionHttpError = {
|
|
|
379
385
|
};
|
|
380
386
|
/**
|
|
381
387
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
388
|
+
*
|
|
382
389
|
* @param qID Connection ID
|
|
383
390
|
* @param query an object with query parameters
|
|
384
391
|
* @throws GetDataConnectionHttpError
|
|
@@ -409,6 +416,7 @@ type GetDataConnectionHttpError = {
|
|
|
409
416
|
};
|
|
410
417
|
/**
|
|
411
418
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
419
|
+
*
|
|
412
420
|
* @param qID Connection ID
|
|
413
421
|
* @param query an object with query parameters
|
|
414
422
|
* @param body an object with the body content
|
|
@@ -430,6 +438,7 @@ type PatchDataConnectionHttpError = {
|
|
|
430
438
|
};
|
|
431
439
|
/**
|
|
432
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
|
+
*
|
|
433
442
|
* @param qID Connection ID
|
|
434
443
|
* @param query an object with query parameters
|
|
435
444
|
* @param body an object with the body content
|
|
@@ -458,36 +467,42 @@ declare function clearCache(): void;
|
|
|
458
467
|
interface DataConnectionsAPI {
|
|
459
468
|
/**
|
|
460
469
|
* Gets a list of connections
|
|
470
|
+
*
|
|
461
471
|
* @param query an object with query parameters
|
|
462
472
|
* @throws GetDataConnectionsHttpError
|
|
463
473
|
*/
|
|
464
474
|
getDataConnections: typeof getDataConnections;
|
|
465
475
|
/**
|
|
466
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
|
+
*
|
|
467
478
|
* @param body an object with the body content
|
|
468
479
|
* @throws CreateDataConnectionHttpError
|
|
469
480
|
*/
|
|
470
481
|
createDataConnection: typeof createDataConnection;
|
|
471
482
|
/**
|
|
472
483
|
* Delete multiple connections, only available to Admin
|
|
484
|
+
*
|
|
473
485
|
* @param body an object with the body content
|
|
474
486
|
* @throws DeleteDataConnectionsHttpError
|
|
475
487
|
*/
|
|
476
488
|
deleteDataConnections: typeof deleteDataConnections;
|
|
477
489
|
/**
|
|
478
490
|
* Duplicate a connection
|
|
491
|
+
*
|
|
479
492
|
* @param body an object with the body content
|
|
480
493
|
* @throws DuplicateDataAConnectionHttpError
|
|
481
494
|
*/
|
|
482
495
|
duplicateDataAConnection: typeof duplicateDataAConnection;
|
|
483
496
|
/**
|
|
484
497
|
* Update multiple connections, only available to Admin
|
|
498
|
+
*
|
|
485
499
|
* @param body an object with the body content
|
|
486
500
|
* @throws UpdateDataConnectionsHttpError
|
|
487
501
|
*/
|
|
488
502
|
updateDataConnections: typeof updateDataConnections;
|
|
489
503
|
/**
|
|
490
504
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
505
|
+
*
|
|
491
506
|
* @param qID Connection ID
|
|
492
507
|
* @param query an object with query parameters
|
|
493
508
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -495,6 +510,7 @@ interface DataConnectionsAPI {
|
|
|
495
510
|
deleteDataConnection: typeof deleteDataConnection;
|
|
496
511
|
/**
|
|
497
512
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
513
|
+
*
|
|
498
514
|
* @param qID Connection ID
|
|
499
515
|
* @param query an object with query parameters
|
|
500
516
|
* @throws GetDataConnectionHttpError
|
|
@@ -502,6 +518,7 @@ interface DataConnectionsAPI {
|
|
|
502
518
|
getDataConnection: typeof getDataConnection;
|
|
503
519
|
/**
|
|
504
520
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
521
|
+
*
|
|
505
522
|
* @param qID Connection ID
|
|
506
523
|
* @param query an object with query parameters
|
|
507
524
|
* @param body an object with the body content
|
|
@@ -510,6 +527,7 @@ interface DataConnectionsAPI {
|
|
|
510
527
|
patchDataConnection: typeof patchDataConnection;
|
|
511
528
|
/**
|
|
512
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
|
+
*
|
|
513
531
|
* @param qID Connection ID
|
|
514
532
|
* @param query an object with query parameters
|
|
515
533
|
* @param body an object with the body content
|
package/data-connections.d.ts
CHANGED
|
@@ -246,6 +246,7 @@ type TopLevelLink = {
|
|
|
246
246
|
};
|
|
247
247
|
/**
|
|
248
248
|
* Gets a list of connections
|
|
249
|
+
*
|
|
249
250
|
* @param query an object with query parameters
|
|
250
251
|
* @throws GetDataConnectionsHttpError
|
|
251
252
|
*/
|
|
@@ -293,6 +294,7 @@ type GetDataConnectionsHttpError = {
|
|
|
293
294
|
};
|
|
294
295
|
/**
|
|
295
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
|
+
*
|
|
296
298
|
* @param body an object with the body content
|
|
297
299
|
* @throws CreateDataConnectionHttpError
|
|
298
300
|
*/
|
|
@@ -309,6 +311,7 @@ type CreateDataConnectionHttpError = {
|
|
|
309
311
|
};
|
|
310
312
|
/**
|
|
311
313
|
* Delete multiple connections, only available to Admin
|
|
314
|
+
*
|
|
312
315
|
* @param body an object with the body content
|
|
313
316
|
* @throws DeleteDataConnectionsHttpError
|
|
314
317
|
*/
|
|
@@ -325,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
|
|
|
325
328
|
};
|
|
326
329
|
/**
|
|
327
330
|
* Duplicate a connection
|
|
331
|
+
*
|
|
328
332
|
* @param body an object with the body content
|
|
329
333
|
* @throws DuplicateDataAConnectionHttpError
|
|
330
334
|
*/
|
|
@@ -341,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
|
|
|
341
345
|
};
|
|
342
346
|
/**
|
|
343
347
|
* Update multiple connections, only available to Admin
|
|
348
|
+
*
|
|
344
349
|
* @param body an object with the body content
|
|
345
350
|
* @throws UpdateDataConnectionsHttpError
|
|
346
351
|
*/
|
|
@@ -357,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
|
|
|
357
362
|
};
|
|
358
363
|
/**
|
|
359
364
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
365
|
+
*
|
|
360
366
|
* @param qID Connection ID
|
|
361
367
|
* @param query an object with query parameters
|
|
362
368
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -379,6 +385,7 @@ type DeleteDataConnectionHttpError = {
|
|
|
379
385
|
};
|
|
380
386
|
/**
|
|
381
387
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
388
|
+
*
|
|
382
389
|
* @param qID Connection ID
|
|
383
390
|
* @param query an object with query parameters
|
|
384
391
|
* @throws GetDataConnectionHttpError
|
|
@@ -409,6 +416,7 @@ type GetDataConnectionHttpError = {
|
|
|
409
416
|
};
|
|
410
417
|
/**
|
|
411
418
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
419
|
+
*
|
|
412
420
|
* @param qID Connection ID
|
|
413
421
|
* @param query an object with query parameters
|
|
414
422
|
* @param body an object with the body content
|
|
@@ -430,6 +438,7 @@ type PatchDataConnectionHttpError = {
|
|
|
430
438
|
};
|
|
431
439
|
/**
|
|
432
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
|
+
*
|
|
433
442
|
* @param qID Connection ID
|
|
434
443
|
* @param query an object with query parameters
|
|
435
444
|
* @param body an object with the body content
|
|
@@ -458,36 +467,42 @@ declare function clearCache(): void;
|
|
|
458
467
|
interface DataConnectionsAPI {
|
|
459
468
|
/**
|
|
460
469
|
* Gets a list of connections
|
|
470
|
+
*
|
|
461
471
|
* @param query an object with query parameters
|
|
462
472
|
* @throws GetDataConnectionsHttpError
|
|
463
473
|
*/
|
|
464
474
|
getDataConnections: typeof getDataConnections;
|
|
465
475
|
/**
|
|
466
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
|
+
*
|
|
467
478
|
* @param body an object with the body content
|
|
468
479
|
* @throws CreateDataConnectionHttpError
|
|
469
480
|
*/
|
|
470
481
|
createDataConnection: typeof createDataConnection;
|
|
471
482
|
/**
|
|
472
483
|
* Delete multiple connections, only available to Admin
|
|
484
|
+
*
|
|
473
485
|
* @param body an object with the body content
|
|
474
486
|
* @throws DeleteDataConnectionsHttpError
|
|
475
487
|
*/
|
|
476
488
|
deleteDataConnections: typeof deleteDataConnections;
|
|
477
489
|
/**
|
|
478
490
|
* Duplicate a connection
|
|
491
|
+
*
|
|
479
492
|
* @param body an object with the body content
|
|
480
493
|
* @throws DuplicateDataAConnectionHttpError
|
|
481
494
|
*/
|
|
482
495
|
duplicateDataAConnection: typeof duplicateDataAConnection;
|
|
483
496
|
/**
|
|
484
497
|
* Update multiple connections, only available to Admin
|
|
498
|
+
*
|
|
485
499
|
* @param body an object with the body content
|
|
486
500
|
* @throws UpdateDataConnectionsHttpError
|
|
487
501
|
*/
|
|
488
502
|
updateDataConnections: typeof updateDataConnections;
|
|
489
503
|
/**
|
|
490
504
|
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
505
|
+
*
|
|
491
506
|
* @param qID Connection ID
|
|
492
507
|
* @param query an object with query parameters
|
|
493
508
|
* @throws DeleteDataConnectionHttpError
|
|
@@ -495,6 +510,7 @@ interface DataConnectionsAPI {
|
|
|
495
510
|
deleteDataConnection: typeof deleteDataConnection;
|
|
496
511
|
/**
|
|
497
512
|
* Gets a connection by connection ID (or by name when type=connectionname is set in query)
|
|
513
|
+
*
|
|
498
514
|
* @param qID Connection ID
|
|
499
515
|
* @param query an object with query parameters
|
|
500
516
|
* @throws GetDataConnectionHttpError
|
|
@@ -502,6 +518,7 @@ interface DataConnectionsAPI {
|
|
|
502
518
|
getDataConnection: typeof getDataConnection;
|
|
503
519
|
/**
|
|
504
520
|
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
521
|
+
*
|
|
505
522
|
* @param qID Connection ID
|
|
506
523
|
* @param query an object with query parameters
|
|
507
524
|
* @param body an object with the body content
|
|
@@ -510,6 +527,7 @@ interface DataConnectionsAPI {
|
|
|
510
527
|
patchDataConnection: typeof patchDataConnection;
|
|
511
528
|
/**
|
|
512
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
|
+
*
|
|
513
531
|
* @param qID Connection ID
|
|
514
532
|
* @param query an object with query parameters
|
|
515
533
|
* @param body an object with the body content
|