@qlik/api 1.32.0 → 1.34.0
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.ts +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
|
+
|
|
8
|
+
// src/public/rest/direct-access-agents.ts
|
|
9
|
+
async function restartDirectAccessAgent(agentId, agentAction, options) {
|
|
10
|
+
return invokeFetch("direct-access-agents", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/actions/{agentAction}",
|
|
13
|
+
pathVariables: { agentId, agentAction },
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function getDirectAccessAgentConfiguration(agentId, query, options) {
|
|
18
|
+
return invokeFetch("direct-access-agents", {
|
|
19
|
+
method: "get",
|
|
20
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/configurations",
|
|
21
|
+
pathVariables: { agentId },
|
|
22
|
+
query,
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function patchDirectAccessAgentConfiguration(agentId, body, options) {
|
|
27
|
+
return invokeFetch("direct-access-agents", {
|
|
28
|
+
method: "patch",
|
|
29
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/configurations",
|
|
30
|
+
pathVariables: { agentId },
|
|
31
|
+
body,
|
|
32
|
+
contentType: "application/json",
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function getDirectAccessAgentConnectorFiles(agentId, connectorType, query, options) {
|
|
37
|
+
return invokeFetch("direct-access-agents", {
|
|
38
|
+
method: "get",
|
|
39
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files",
|
|
40
|
+
pathVariables: { agentId, connectorType },
|
|
41
|
+
query,
|
|
42
|
+
options
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
async function getDirectAccessAgentConnectorFilesWithoutQuery(agentId, connectorType, options) {
|
|
46
|
+
return invokeFetch("direct-access-agents", {
|
|
47
|
+
method: "get",
|
|
48
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files",
|
|
49
|
+
pathVariables: { agentId, connectorType },
|
|
50
|
+
options
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
async function getDirectAccessAgentConnectorFile(agentId, connectorType, fileType, options) {
|
|
54
|
+
return invokeFetch("direct-access-agents", {
|
|
55
|
+
method: "get",
|
|
56
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
|
|
57
|
+
pathVariables: { agentId, connectorType, fileType },
|
|
58
|
+
options
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
async function updateDirectAccessAgentConnectorFile(agentId, connectorType, fileType, query, body, options) {
|
|
62
|
+
return invokeFetch("direct-access-agents", {
|
|
63
|
+
method: "put",
|
|
64
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
|
|
65
|
+
pathVariables: { agentId, connectorType, fileType },
|
|
66
|
+
query,
|
|
67
|
+
body,
|
|
68
|
+
contentType: "application/json",
|
|
69
|
+
options
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
async function updateDirectAccessAgentConnectorFileWithoutQuery(agentId, connectorType, fileType, body, options) {
|
|
73
|
+
return invokeFetch("direct-access-agents", {
|
|
74
|
+
method: "put",
|
|
75
|
+
pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
|
|
76
|
+
pathVariables: { agentId, connectorType, fileType },
|
|
77
|
+
body,
|
|
78
|
+
contentType: "application/json",
|
|
79
|
+
options
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function clearCache() {
|
|
83
|
+
return clearApiCache("direct-access-agents");
|
|
84
|
+
}
|
|
85
|
+
var directAccessAgentsExport = {
|
|
86
|
+
restartDirectAccessAgent,
|
|
87
|
+
getDirectAccessAgentConfiguration,
|
|
88
|
+
patchDirectAccessAgentConfiguration,
|
|
89
|
+
getDirectAccessAgentConnectorFiles,
|
|
90
|
+
getDirectAccessAgentConnectorFilesWithoutQuery,
|
|
91
|
+
getDirectAccessAgentConnectorFile,
|
|
92
|
+
updateDirectAccessAgentConnectorFile,
|
|
93
|
+
updateDirectAccessAgentConnectorFileWithoutQuery,
|
|
94
|
+
clearCache
|
|
95
|
+
};
|
|
96
|
+
var direct_access_agents_default = directAccessAgentsExport;
|
|
97
|
+
export {
|
|
98
|
+
clearCache,
|
|
99
|
+
direct_access_agents_default as default,
|
|
100
|
+
getDirectAccessAgentConfiguration,
|
|
101
|
+
getDirectAccessAgentConnectorFile,
|
|
102
|
+
getDirectAccessAgentConnectorFiles,
|
|
103
|
+
getDirectAccessAgentConnectorFilesWithoutQuery,
|
|
104
|
+
patchDirectAccessAgentConfiguration,
|
|
105
|
+
restartDirectAccessAgent,
|
|
106
|
+
updateDirectAccessAgentConnectorFile,
|
|
107
|
+
updateDirectAccessAgentConnectorFileWithoutQuery
|
|
108
|
+
};
|
package/encryption.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
@@ -117,7 +117,7 @@ type StandardErrorItem = {
|
|
|
117
117
|
*
|
|
118
118
|
* @throws GetEncryptionKeyprovidersHttpError
|
|
119
119
|
*/
|
|
120
|
-
declare
|
|
120
|
+
declare function getEncryptionKeyproviders(options?: ApiCallOptions): Promise<GetEncryptionKeyprovidersHttpResponse>;
|
|
121
121
|
type GetEncryptionKeyprovidersHttpResponse = {
|
|
122
122
|
data: KeyProviders;
|
|
123
123
|
headers: Headers;
|
|
@@ -134,7 +134,7 @@ type GetEncryptionKeyprovidersHttpError = {
|
|
|
134
134
|
* @param body an object with the body content
|
|
135
135
|
* @throws CreateEncryptionKeyproviderHttpError
|
|
136
136
|
*/
|
|
137
|
-
declare
|
|
137
|
+
declare function createEncryptionKeyprovider(body: KeyProvider, options?: ApiCallOptions): Promise<CreateEncryptionKeyproviderHttpResponse>;
|
|
138
138
|
type CreateEncryptionKeyproviderHttpResponse = {
|
|
139
139
|
data: KeyProvider;
|
|
140
140
|
headers: Headers;
|
|
@@ -150,7 +150,7 @@ type CreateEncryptionKeyproviderHttpError = {
|
|
|
150
150
|
*
|
|
151
151
|
* @throws ListEncryptionKeyprovidersHttpError
|
|
152
152
|
*/
|
|
153
|
-
declare
|
|
153
|
+
declare function listEncryptionKeyproviders(options?: ApiCallOptions): Promise<ListEncryptionKeyprovidersHttpResponse>;
|
|
154
154
|
type ListEncryptionKeyprovidersHttpResponse = {
|
|
155
155
|
data: ListKeyProviders;
|
|
156
156
|
headers: Headers;
|
|
@@ -166,7 +166,7 @@ type ListEncryptionKeyprovidersHttpError = {
|
|
|
166
166
|
*
|
|
167
167
|
* @throws ResetEncryptionKeyprovidersHttpError
|
|
168
168
|
*/
|
|
169
|
-
declare
|
|
169
|
+
declare function resetEncryptionKeyproviders(options?: ApiCallOptions): Promise<ResetEncryptionKeyprovidersHttpResponse>;
|
|
170
170
|
type ResetEncryptionKeyprovidersHttpResponse = ResetEncryptionKeyproviders200HttpResponse | ResetEncryptionKeyproviders205HttpResponse;
|
|
171
171
|
type ResetEncryptionKeyproviders200HttpResponse = {
|
|
172
172
|
data: ResetMigrationNotNeeded;
|
|
@@ -188,7 +188,7 @@ type ResetEncryptionKeyprovidersHttpError = {
|
|
|
188
188
|
*
|
|
189
189
|
* @throws GetEncryptionKeyprovidersMigrationDetailsHttpError
|
|
190
190
|
*/
|
|
191
|
-
declare
|
|
191
|
+
declare function getEncryptionKeyprovidersMigrationDetails(options?: ApiCallOptions): Promise<GetEncryptionKeyprovidersMigrationDetailsHttpResponse>;
|
|
192
192
|
type GetEncryptionKeyprovidersMigrationDetailsHttpResponse = {
|
|
193
193
|
data: MigrationInformation;
|
|
194
194
|
headers: Headers;
|
|
@@ -205,7 +205,7 @@ type GetEncryptionKeyprovidersMigrationDetailsHttpError = {
|
|
|
205
205
|
* @param arnFingerPrint The fingerprint of the key provider you wish to delete.
|
|
206
206
|
* @throws DeleteEncryptionKeyproviderHttpError
|
|
207
207
|
*/
|
|
208
|
-
declare
|
|
208
|
+
declare function deleteEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<DeleteEncryptionKeyproviderHttpResponse>;
|
|
209
209
|
type DeleteEncryptionKeyproviderHttpResponse = {
|
|
210
210
|
data: KeyProvidersDeleteResponseBody;
|
|
211
211
|
headers: Headers;
|
|
@@ -222,7 +222,7 @@ type DeleteEncryptionKeyproviderHttpError = {
|
|
|
222
222
|
* @param arnFingerPrint The fingerprint of the requested provider key.
|
|
223
223
|
* @throws GetEncryptionKeyproviderHttpError
|
|
224
224
|
*/
|
|
225
|
-
declare
|
|
225
|
+
declare function getEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<GetEncryptionKeyproviderHttpResponse>;
|
|
226
226
|
type GetEncryptionKeyproviderHttpResponse = {
|
|
227
227
|
data: KeyProvider;
|
|
228
228
|
headers: Headers;
|
|
@@ -240,7 +240,7 @@ type GetEncryptionKeyproviderHttpError = {
|
|
|
240
240
|
* @param body an object with the body content
|
|
241
241
|
* @throws PatchEncryptionKeyproviderHttpError
|
|
242
242
|
*/
|
|
243
|
-
declare
|
|
243
|
+
declare function patchEncryptionKeyprovider(arnFingerPrint: string, body: KeyProviderPatchSchema, options?: ApiCallOptions): Promise<PatchEncryptionKeyproviderHttpResponse>;
|
|
244
244
|
type PatchEncryptionKeyproviderHttpResponse = {
|
|
245
245
|
data: void;
|
|
246
246
|
headers: Headers;
|
|
@@ -257,7 +257,7 @@ type PatchEncryptionKeyproviderHttpError = {
|
|
|
257
257
|
* @param arnFingerPrint The fingerprint of an existing key provider key.
|
|
258
258
|
* @throws MigrateEncryptionKeyproviderHttpError
|
|
259
259
|
*/
|
|
260
|
-
declare
|
|
260
|
+
declare function migrateEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<MigrateEncryptionKeyproviderHttpResponse>;
|
|
261
261
|
type MigrateEncryptionKeyproviderHttpResponse = {
|
|
262
262
|
data: MigrationInformation;
|
|
263
263
|
headers: Headers;
|
|
@@ -274,7 +274,7 @@ type MigrateEncryptionKeyproviderHttpError = {
|
|
|
274
274
|
* @param arnFingerPrint The fingerprint of an existing key provider key.
|
|
275
275
|
* @throws TestEncryptionKeyproviderHttpError
|
|
276
276
|
*/
|
|
277
|
-
declare
|
|
277
|
+
declare function testEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<TestEncryptionKeyproviderHttpResponse>;
|
|
278
278
|
type TestEncryptionKeyproviderHttpResponse = {
|
|
279
279
|
data: KeyProvider;
|
|
280
280
|
headers: Headers;
|
package/encryption.js
CHANGED
|
@@ -1,70 +1,90 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/encryption.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
9
|
+
async function getEncryptionKeyproviders(options) {
|
|
10
|
+
return invokeFetch("encryption", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/encryption/keyproviders",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function createEncryptionKeyprovider(body, options) {
|
|
17
|
+
return invokeFetch("encryption", {
|
|
18
|
+
method: "post",
|
|
19
|
+
pathTemplate: "/api/v1/encryption/keyproviders",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "application/json",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function listEncryptionKeyproviders(options) {
|
|
26
|
+
return invokeFetch("encryption", {
|
|
27
|
+
method: "get",
|
|
28
|
+
pathTemplate: "/api/v1/encryption/keyproviders/actions/list",
|
|
29
|
+
options
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
async function resetEncryptionKeyproviders(options) {
|
|
33
|
+
return invokeFetch("encryption", {
|
|
34
|
+
method: "post",
|
|
35
|
+
pathTemplate: "/api/v1/encryption/keyproviders/actions/reset-to-default-provider",
|
|
36
|
+
options
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
async function getEncryptionKeyprovidersMigrationDetails(options) {
|
|
40
|
+
return invokeFetch("encryption", {
|
|
41
|
+
method: "get",
|
|
42
|
+
pathTemplate: "/api/v1/encryption/keyproviders/migration/actions/details",
|
|
43
|
+
options
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
async function deleteEncryptionKeyprovider(arnFingerPrint, options) {
|
|
47
|
+
return invokeFetch("encryption", {
|
|
48
|
+
method: "delete",
|
|
49
|
+
pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
|
|
50
|
+
pathVariables: { arnFingerPrint },
|
|
51
|
+
options
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
async function getEncryptionKeyprovider(arnFingerPrint, options) {
|
|
55
|
+
return invokeFetch("encryption", {
|
|
56
|
+
method: "get",
|
|
57
|
+
pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
|
|
58
|
+
pathVariables: { arnFingerPrint },
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function patchEncryptionKeyprovider(arnFingerPrint, body, options) {
|
|
63
|
+
return invokeFetch("encryption", {
|
|
64
|
+
method: "patch",
|
|
65
|
+
pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
|
|
66
|
+
pathVariables: { arnFingerPrint },
|
|
67
|
+
body,
|
|
68
|
+
contentType: "application/json",
|
|
69
|
+
options
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
async function migrateEncryptionKeyprovider(arnFingerPrint, options) {
|
|
73
|
+
return invokeFetch("encryption", {
|
|
74
|
+
method: "post",
|
|
75
|
+
pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/migrate",
|
|
76
|
+
pathVariables: { arnFingerPrint },
|
|
77
|
+
options
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
async function testEncryptionKeyprovider(arnFingerPrint, options) {
|
|
81
|
+
return invokeFetch("encryption", {
|
|
82
|
+
method: "post",
|
|
83
|
+
pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/test",
|
|
84
|
+
pathVariables: { arnFingerPrint },
|
|
85
|
+
options
|
|
86
|
+
});
|
|
87
|
+
}
|
|
68
88
|
function clearCache() {
|
|
69
89
|
return clearApiCache("encryption");
|
|
70
90
|
}
|
package/extensions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
|
|
@@ -100,7 +100,7 @@ type Meta = {
|
|
|
100
100
|
*
|
|
101
101
|
* @throws GetExtensionsHttpError
|
|
102
102
|
*/
|
|
103
|
-
declare
|
|
103
|
+
declare function getExtensions(options?: ApiCallOptions): Promise<GetExtensionsHttpResponse>;
|
|
104
104
|
type GetExtensionsHttpResponse = {
|
|
105
105
|
data: Extensions;
|
|
106
106
|
headers: Headers;
|
|
@@ -117,12 +117,12 @@ type GetExtensionsHttpError = {
|
|
|
117
117
|
* @param body an object with the body content
|
|
118
118
|
* @throws UploadExtensionHttpError
|
|
119
119
|
*/
|
|
120
|
-
declare
|
|
120
|
+
declare function uploadExtension(body: {
|
|
121
121
|
/** The extension model. */
|
|
122
122
|
data?: Extension;
|
|
123
123
|
/** Extension archive. */
|
|
124
124
|
file?: BodyInit;
|
|
125
|
-
}, options?: ApiCallOptions)
|
|
125
|
+
}, options?: ApiCallOptions): Promise<UploadExtensionHttpResponse>;
|
|
126
126
|
type UploadExtensionHttpResponse = {
|
|
127
127
|
data: Extension;
|
|
128
128
|
headers: Headers;
|
|
@@ -139,7 +139,7 @@ type UploadExtensionHttpError = {
|
|
|
139
139
|
* @param id Extension identifier or its qextFilename.
|
|
140
140
|
* @throws DeleteExtensionHttpError
|
|
141
141
|
*/
|
|
142
|
-
declare
|
|
142
|
+
declare function deleteExtension(id: string, options?: ApiCallOptions): Promise<DeleteExtensionHttpResponse>;
|
|
143
143
|
type DeleteExtensionHttpResponse = {
|
|
144
144
|
data: void;
|
|
145
145
|
headers: Headers;
|
|
@@ -156,7 +156,7 @@ type DeleteExtensionHttpError = {
|
|
|
156
156
|
* @param id Extension identifier or its qextFilename.
|
|
157
157
|
* @throws GetExtensionHttpError
|
|
158
158
|
*/
|
|
159
|
-
declare
|
|
159
|
+
declare function getExtension(id: string, options?: ApiCallOptions): Promise<GetExtensionHttpResponse>;
|
|
160
160
|
type GetExtensionHttpResponse = {
|
|
161
161
|
data: Extension;
|
|
162
162
|
headers: Headers;
|
|
@@ -174,12 +174,12 @@ type GetExtensionHttpError = {
|
|
|
174
174
|
* @param body an object with the body content
|
|
175
175
|
* @throws PatchExtensionHttpError
|
|
176
176
|
*/
|
|
177
|
-
declare
|
|
177
|
+
declare function patchExtension(id: string, body: {
|
|
178
178
|
/** The extension model. */
|
|
179
179
|
data?: Extension;
|
|
180
180
|
/** Extension archive. */
|
|
181
181
|
file?: BodyInit;
|
|
182
|
-
}, options?: ApiCallOptions)
|
|
182
|
+
}, options?: ApiCallOptions): Promise<PatchExtensionHttpResponse>;
|
|
183
183
|
type PatchExtensionHttpResponse = {
|
|
184
184
|
data: Extension;
|
|
185
185
|
headers: Headers;
|
|
@@ -196,7 +196,7 @@ type PatchExtensionHttpError = {
|
|
|
196
196
|
* @param id Extension identifier or its qextFilename.
|
|
197
197
|
* @throws DownloadExtensionHttpError
|
|
198
198
|
*/
|
|
199
|
-
declare
|
|
199
|
+
declare function downloadExtension(id: string, options?: ApiCallOptions): Promise<DownloadExtensionHttpResponse>;
|
|
200
200
|
type DownloadExtensionHttpResponse = {
|
|
201
201
|
data: void;
|
|
202
202
|
headers: Headers;
|
|
@@ -214,7 +214,7 @@ type DownloadExtensionHttpError = {
|
|
|
214
214
|
* @param filepath Path to the file location within the specified extension archive. Folders separated with forward slashes.
|
|
215
215
|
* @throws DownloadFileFromExtensionHttpError
|
|
216
216
|
*/
|
|
217
|
-
declare
|
|
217
|
+
declare function downloadFileFromExtension(id: string, filepath: string, options?: ApiCallOptions): Promise<DownloadFileFromExtensionHttpResponse>;
|
|
218
218
|
type DownloadFileFromExtensionHttpResponse = {
|
|
219
219
|
data: void;
|
|
220
220
|
headers: Headers;
|
package/extensions.js
CHANGED
|
@@ -1,55 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/extensions.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
9
|
+
async function getExtensions(options) {
|
|
10
|
+
return invokeFetch("extensions", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/extensions",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function uploadExtension(body, options) {
|
|
17
|
+
return invokeFetch("extensions", {
|
|
18
|
+
method: "post",
|
|
19
|
+
pathTemplate: "/api/v1/extensions",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "multipart/form-data",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function deleteExtension(id, options) {
|
|
26
|
+
return invokeFetch("extensions", {
|
|
27
|
+
method: "delete",
|
|
28
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
29
|
+
pathVariables: { id },
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function getExtension(id, options) {
|
|
34
|
+
return invokeFetch("extensions", {
|
|
35
|
+
method: "get",
|
|
36
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
37
|
+
pathVariables: { id },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function patchExtension(id, body, options) {
|
|
42
|
+
return invokeFetch("extensions", {
|
|
43
|
+
method: "patch",
|
|
44
|
+
pathTemplate: "/api/v1/extensions/{id}",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
body,
|
|
47
|
+
contentType: "multipart/form-data",
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function downloadExtension(id, options) {
|
|
52
|
+
return invokeFetch("extensions", {
|
|
53
|
+
method: "get",
|
|
54
|
+
pathTemplate: "/api/v1/extensions/{id}/file",
|
|
55
|
+
pathVariables: { id },
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function downloadFileFromExtension(id, filepath, options) {
|
|
60
|
+
return invokeFetch("extensions", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
|
|
63
|
+
pathVariables: { id, filepath },
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
53
67
|
function clearCache() {
|
|
54
68
|
return clearApiCache("extensions");
|
|
55
69
|
}
|