@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
package/data-connections.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
|
type ActionDeleteRequest = {
|
|
5
5
|
connections: {
|
|
@@ -314,7 +314,7 @@ type TopLevelLink = {
|
|
|
314
314
|
* @param query an object with query parameters
|
|
315
315
|
* @throws GetDataConnectionsHttpError
|
|
316
316
|
*/
|
|
317
|
-
declare
|
|
317
|
+
declare function getDataConnections(query: {
|
|
318
318
|
/** Sort results will be returned in case insensitive order if set to true (Only used along with sort query) */
|
|
319
319
|
caseinsensitive?: boolean;
|
|
320
320
|
/** Provides an alternate name to be used for data[] element in GET response. */
|
|
@@ -345,7 +345,7 @@ declare const getDataConnections: (query: {
|
|
|
345
345
|
spaceId?: string;
|
|
346
346
|
/** Filtering on userId. Requires admin role if specified userId doesn't match that is defined in JWT. */
|
|
347
347
|
userId?: string;
|
|
348
|
-
}, options?: ApiCallOptions)
|
|
348
|
+
}, options?: ApiCallOptions): Promise<GetDataConnectionsHttpResponse>;
|
|
349
349
|
type GetDataConnectionsHttpResponse = {
|
|
350
350
|
data: Connections;
|
|
351
351
|
headers: Headers;
|
|
@@ -364,7 +364,7 @@ type GetDataConnectionsHttpError = {
|
|
|
364
364
|
* @param body an object with the body content
|
|
365
365
|
* @throws CreateDataConnectionHttpError
|
|
366
366
|
*/
|
|
367
|
-
declare
|
|
367
|
+
declare function createDataConnection(body: ConnectionCreate | DcaasConnectionCreate, options?: ApiCallOptions): Promise<CreateDataConnectionHttpResponse>;
|
|
368
368
|
type CreateDataConnectionHttpResponse = {
|
|
369
369
|
data: ConnectionCreateResponse | DcaasConnectionCreateAuthResponse;
|
|
370
370
|
headers: Headers;
|
|
@@ -381,7 +381,7 @@ type CreateDataConnectionHttpError = {
|
|
|
381
381
|
* @param body an object with the body content
|
|
382
382
|
* @throws DeleteDataConnectionsHttpError
|
|
383
383
|
*/
|
|
384
|
-
declare
|
|
384
|
+
declare function deleteDataConnections(body: ActionDeleteRequest, options?: ApiCallOptions): Promise<DeleteDataConnectionsHttpResponse>;
|
|
385
385
|
type DeleteDataConnectionsHttpResponse = {
|
|
386
386
|
data: BulkResponse;
|
|
387
387
|
headers: Headers;
|
|
@@ -398,7 +398,7 @@ type DeleteDataConnectionsHttpError = {
|
|
|
398
398
|
* @param body an object with the body content
|
|
399
399
|
* @throws DuplicateDataAConnectionHttpError
|
|
400
400
|
*/
|
|
401
|
-
declare
|
|
401
|
+
declare function duplicateDataAConnection(body: ActionDuplicateRequest, options?: ApiCallOptions): Promise<DuplicateDataAConnectionHttpResponse>;
|
|
402
402
|
type DuplicateDataAConnectionHttpResponse = {
|
|
403
403
|
data: ConnectionCreateResponse;
|
|
404
404
|
headers: Headers;
|
|
@@ -415,7 +415,7 @@ type DuplicateDataAConnectionHttpError = {
|
|
|
415
415
|
* @param body an object with the body content
|
|
416
416
|
* @throws UpdateDataConnectionsHttpError
|
|
417
417
|
*/
|
|
418
|
-
declare
|
|
418
|
+
declare function updateDataConnections(body: ActionUpdateRequest, options?: ApiCallOptions): Promise<UpdateDataConnectionsHttpResponse>;
|
|
419
419
|
type UpdateDataConnectionsHttpResponse = {
|
|
420
420
|
data: BulkResponse;
|
|
421
421
|
headers: Headers;
|
|
@@ -441,12 +441,12 @@ type UpdateDataConnectionsHttpError = {
|
|
|
441
441
|
* @param query an object with query parameters
|
|
442
442
|
* @throws DeleteDataConnectionHttpError
|
|
443
443
|
*/
|
|
444
|
-
declare
|
|
444
|
+
declare function deleteDataConnection(qID: string, query: {
|
|
445
445
|
/** Filtering on connections by space ID */
|
|
446
446
|
spaceId?: string;
|
|
447
447
|
/** Connection / credential ID defined in path become connection / credential name when this query parameter is set */
|
|
448
448
|
type?: "connectionname" | "credentialname";
|
|
449
|
-
}, options?: ApiCallOptions)
|
|
449
|
+
}, options?: ApiCallOptions): Promise<DeleteDataConnectionHttpResponse>;
|
|
450
450
|
type DeleteDataConnectionHttpResponse = {
|
|
451
451
|
data: void;
|
|
452
452
|
headers: Headers;
|
|
@@ -477,7 +477,7 @@ type DeleteDataConnectionHttpError = {
|
|
|
477
477
|
* @param query an object with query parameters
|
|
478
478
|
* @throws GetDataConnectionHttpError
|
|
479
479
|
*/
|
|
480
|
-
declare
|
|
480
|
+
declare function getDataConnection(qID: string, query: {
|
|
481
481
|
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
482
482
|
byCredentialName?: boolean;
|
|
483
483
|
/** Credential ID */
|
|
@@ -492,7 +492,7 @@ declare const getDataConnection: (qID: string, query: {
|
|
|
492
492
|
spaceId?: string;
|
|
493
493
|
/** Connection / credential ID defined in path become connection / credential name when this query parameter is set */
|
|
494
494
|
type?: "connectionname" | "credentialname";
|
|
495
|
-
}, options?: ApiCallOptions)
|
|
495
|
+
}, options?: ApiCallOptions): Promise<GetDataConnectionHttpResponse>;
|
|
496
496
|
type GetDataConnectionHttpResponse = {
|
|
497
497
|
data: ConnectionGet;
|
|
498
498
|
headers: Headers;
|
|
@@ -511,10 +511,10 @@ type GetDataConnectionHttpError = {
|
|
|
511
511
|
* @param body an object with the body content
|
|
512
512
|
* @throws PatchDataConnectionHttpError
|
|
513
513
|
*/
|
|
514
|
-
declare
|
|
514
|
+
declare function patchDataConnection(qID: string, query: {
|
|
515
515
|
/** Connection / credential ID defined in path become connection / credential name when this query parameter is set */
|
|
516
516
|
type?: "connectionname" | "credentialname";
|
|
517
|
-
}, body: PatchRequest, options?: ApiCallOptions)
|
|
517
|
+
}, body: PatchRequest, options?: ApiCallOptions): Promise<PatchDataConnectionHttpResponse>;
|
|
518
518
|
type PatchDataConnectionHttpResponse = {
|
|
519
519
|
data: void;
|
|
520
520
|
headers: Headers;
|
|
@@ -533,12 +533,12 @@ type PatchDataConnectionHttpError = {
|
|
|
533
533
|
* @param body an object with the body content
|
|
534
534
|
* @throws UpdateDataConnectionHttpError
|
|
535
535
|
*/
|
|
536
|
-
declare
|
|
536
|
+
declare function updateDataConnection(qID: string, query: {
|
|
537
537
|
/** Filtering on connections by space ID */
|
|
538
538
|
spaceId?: string;
|
|
539
539
|
/** Connection / credential ID defined in path become connection / credential name when this query parameter is set */
|
|
540
540
|
type?: "connectionname" | "credentialname";
|
|
541
|
-
}, body: ConnectionUpdate, options?: ApiCallOptions)
|
|
541
|
+
}, body: ConnectionUpdate, options?: ApiCallOptions): Promise<UpdateDataConnectionHttpResponse>;
|
|
542
542
|
type UpdateDataConnectionHttpResponse = {
|
|
543
543
|
data: void;
|
|
544
544
|
headers: Headers;
|
package/data-connections.js
CHANGED
|
@@ -1,77 +1,95 @@
|
|
|
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/data-connections.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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
9
|
+
async function getDataConnections(query, options) {
|
|
10
|
+
return invokeFetch("data-connections", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/data-connections",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createDataConnection(body, options) {
|
|
18
|
+
return invokeFetch("data-connections", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/data-connections",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteDataConnections(body, options) {
|
|
27
|
+
return invokeFetch("data-connections", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/data-connections/actions/delete",
|
|
30
|
+
body,
|
|
31
|
+
contentType: "application/json",
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function duplicateDataAConnection(body, options) {
|
|
36
|
+
return invokeFetch("data-connections", {
|
|
37
|
+
method: "post",
|
|
38
|
+
pathTemplate: "/api/v1/data-connections/actions/duplicate",
|
|
39
|
+
body,
|
|
40
|
+
contentType: "application/json",
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function updateDataConnections(body, options) {
|
|
45
|
+
return invokeFetch("data-connections", {
|
|
46
|
+
method: "post",
|
|
47
|
+
pathTemplate: "/api/v1/data-connections/actions/update",
|
|
48
|
+
body,
|
|
49
|
+
contentType: "application/json",
|
|
50
|
+
options
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
async function deleteDataConnection(qID, query, options) {
|
|
54
|
+
return invokeFetch("data-connections", {
|
|
55
|
+
method: "delete",
|
|
56
|
+
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
57
|
+
pathVariables: { qID },
|
|
58
|
+
query,
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function getDataConnection(qID, query, options) {
|
|
63
|
+
return invokeFetch("data-connections", {
|
|
64
|
+
method: "get",
|
|
65
|
+
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
66
|
+
pathVariables: { qID },
|
|
67
|
+
query,
|
|
68
|
+
options
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
async function patchDataConnection(qID, query, body, options) {
|
|
72
|
+
return invokeFetch("data-connections", {
|
|
73
|
+
method: "patch",
|
|
74
|
+
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
75
|
+
pathVariables: { qID },
|
|
76
|
+
query,
|
|
77
|
+
body,
|
|
78
|
+
contentType: "application/json",
|
|
79
|
+
options
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
async function updateDataConnection(qID, query, body, options) {
|
|
83
|
+
return invokeFetch("data-connections", {
|
|
84
|
+
method: "put",
|
|
85
|
+
pathTemplate: "/api/v1/data-connections/{qID}",
|
|
86
|
+
pathVariables: { qID },
|
|
87
|
+
query,
|
|
88
|
+
body,
|
|
89
|
+
contentType: "application/json",
|
|
90
|
+
options
|
|
91
|
+
});
|
|
92
|
+
}
|
|
75
93
|
function clearCache() {
|
|
76
94
|
return clearApiCache("data-connections");
|
|
77
95
|
}
|
package/data-credentials.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
|
type ActionFilterOrphanRequest = {
|
|
5
5
|
/** Filtering on datasource ID of credentials */
|
|
@@ -110,7 +110,7 @@ type ResponseErrors = {
|
|
|
110
110
|
* @param body an object with the body content
|
|
111
111
|
* @throws FilterOrphanedDataCredentialsHttpError
|
|
112
112
|
*/
|
|
113
|
-
declare
|
|
113
|
+
declare function filterOrphanedDataCredentials(body: ActionFilterOrphanRequest, options?: ApiCallOptions): Promise<FilterOrphanedDataCredentialsHttpResponse>;
|
|
114
114
|
type FilterOrphanedDataCredentialsHttpResponse = {
|
|
115
115
|
data: ActionFilterOrphanResponse;
|
|
116
116
|
headers: Headers;
|
|
@@ -135,10 +135,10 @@ type FilterOrphanedDataCredentialsHttpError = {
|
|
|
135
135
|
* @param query an object with query parameters
|
|
136
136
|
* @throws DeleteDataCredentialHttpError
|
|
137
137
|
*/
|
|
138
|
-
declare
|
|
138
|
+
declare function deleteDataCredential(qID: string, query: {
|
|
139
139
|
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
140
140
|
byCredentialName?: boolean;
|
|
141
|
-
}, options?: ApiCallOptions)
|
|
141
|
+
}, options?: ApiCallOptions): Promise<DeleteDataCredentialHttpResponse>;
|
|
142
142
|
type DeleteDataCredentialHttpResponse = {
|
|
143
143
|
data: void;
|
|
144
144
|
headers: Headers;
|
|
@@ -163,10 +163,10 @@ type DeleteDataCredentialHttpError = {
|
|
|
163
163
|
* @param query an object with query parameters
|
|
164
164
|
* @throws GetDataCredentialHttpError
|
|
165
165
|
*/
|
|
166
|
-
declare
|
|
166
|
+
declare function getDataCredential(qID: string, query: {
|
|
167
167
|
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
168
168
|
byCredentialName?: boolean;
|
|
169
|
-
}, options?: ApiCallOptions)
|
|
169
|
+
}, options?: ApiCallOptions): Promise<GetDataCredentialHttpResponse>;
|
|
170
170
|
type GetDataCredentialHttpResponse = {
|
|
171
171
|
data: Credential;
|
|
172
172
|
headers: Headers;
|
|
@@ -185,10 +185,10 @@ type GetDataCredentialHttpError = {
|
|
|
185
185
|
* @param body an object with the body content
|
|
186
186
|
* @throws PatchDataCredentialHttpError
|
|
187
187
|
*/
|
|
188
|
-
declare
|
|
188
|
+
declare function patchDataCredential(qID: string, query: {
|
|
189
189
|
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
190
190
|
byCredentialName?: boolean;
|
|
191
|
-
}, body: PatchRequest, options?: ApiCallOptions)
|
|
191
|
+
}, body: PatchRequest, options?: ApiCallOptions): Promise<PatchDataCredentialHttpResponse>;
|
|
192
192
|
type PatchDataCredentialHttpResponse = {
|
|
193
193
|
data: void;
|
|
194
194
|
headers: Headers;
|
|
@@ -207,10 +207,10 @@ type PatchDataCredentialHttpError = {
|
|
|
207
207
|
* @param body an object with the body content
|
|
208
208
|
* @throws UpdateDataCredentialHttpError
|
|
209
209
|
*/
|
|
210
|
-
declare
|
|
210
|
+
declare function updateDataCredential(qID: string, query: {
|
|
211
211
|
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
212
212
|
byCredentialName?: boolean;
|
|
213
|
-
}, body: CredentialCreate, options?: ApiCallOptions)
|
|
213
|
+
}, body: CredentialCreate, options?: ApiCallOptions): Promise<UpdateDataCredentialHttpResponse>;
|
|
214
214
|
type UpdateDataCredentialHttpResponse = {
|
|
215
215
|
data: void;
|
|
216
216
|
headers: Headers;
|
package/data-credentials.js
CHANGED
|
@@ -1,50 +1,60 @@
|
|
|
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/data-credentials.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
|
-
|
|
9
|
+
async function filterOrphanedDataCredentials(body, options) {
|
|
10
|
+
return invokeFetch("data-credentials", {
|
|
11
|
+
method: "post",
|
|
12
|
+
pathTemplate: "/api/v1/data-credentials/actions/filter-orphan",
|
|
13
|
+
body,
|
|
14
|
+
contentType: "application/json",
|
|
15
|
+
options
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function deleteDataCredential(qID, query, options) {
|
|
19
|
+
return invokeFetch("data-credentials", {
|
|
20
|
+
method: "delete",
|
|
21
|
+
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
22
|
+
pathVariables: { qID },
|
|
23
|
+
query,
|
|
24
|
+
options
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
async function getDataCredential(qID, query, options) {
|
|
28
|
+
return invokeFetch("data-credentials", {
|
|
29
|
+
method: "get",
|
|
30
|
+
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
31
|
+
pathVariables: { qID },
|
|
32
|
+
query,
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function patchDataCredential(qID, query, body, options) {
|
|
37
|
+
return invokeFetch("data-credentials", {
|
|
38
|
+
method: "patch",
|
|
39
|
+
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
40
|
+
pathVariables: { qID },
|
|
41
|
+
query,
|
|
42
|
+
body,
|
|
43
|
+
contentType: "application/json",
|
|
44
|
+
options
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
async function updateDataCredential(qID, query, body, options) {
|
|
48
|
+
return invokeFetch("data-credentials", {
|
|
49
|
+
method: "put",
|
|
50
|
+
pathTemplate: "/api/v1/data-credentials/{qID}",
|
|
51
|
+
pathVariables: { qID },
|
|
52
|
+
query,
|
|
53
|
+
body,
|
|
54
|
+
contentType: "application/json",
|
|
55
|
+
options
|
|
56
|
+
});
|
|
57
|
+
}
|
|
48
58
|
function clearCache() {
|
|
49
59
|
return clearApiCache("data-credentials");
|
|
50
60
|
}
|
package/data-files.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
|
type BatchChangeSpaceItem = {
|
|
5
5
|
/** The ID of the data file whose space will be changed. */
|
|
@@ -278,7 +278,7 @@ type SpaceStatsResponse = {
|
|
|
278
278
|
* @param query an object with query parameters
|
|
279
279
|
* @throws GetDataFilesHttpError
|
|
280
280
|
*/
|
|
281
|
-
declare
|
|
281
|
+
declare function getDataFiles(query: {
|
|
282
282
|
/** If set to false, do not return data files with internal extensions else return all the data files. */
|
|
283
283
|
allowInternalFiles?: boolean;
|
|
284
284
|
/** Only return files scoped to the specified app. If this parameter is not specified, only files that are not
|
|
@@ -330,7 +330,7 @@ declare const getDataFiles: (query: {
|
|
|
330
330
|
/** The name of the field used to sort the result. By default, the sort order is ascending. Putting a '+' prefix on
|
|
331
331
|
* the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order. */
|
|
332
332
|
sort?: GetDataFileInfosSortField;
|
|
333
|
-
}, options?: ApiCallOptions)
|
|
333
|
+
}, options?: ApiCallOptions): Promise<GetDataFilesHttpResponse>;
|
|
334
334
|
type GetDataFilesHttpResponse = {
|
|
335
335
|
data: GetDataFileInfosResponse;
|
|
336
336
|
headers: Headers;
|
|
@@ -349,7 +349,7 @@ type GetDataFilesHttpError = {
|
|
|
349
349
|
* @param body an object with the body content
|
|
350
350
|
* @throws UploadDataFileHttpError
|
|
351
351
|
*/
|
|
352
|
-
declare
|
|
352
|
+
declare function uploadDataFile(body: {
|
|
353
353
|
/** IFormFile form multipart/form-data */
|
|
354
354
|
File?: BodyInit;
|
|
355
355
|
/** See PostDataFileRequest schema which defines request structure.
|
|
@@ -387,7 +387,7 @@ declare const uploadDataFile: (body: {
|
|
|
387
387
|
* the one returned from the temp content upload request. This option does not apply when POSTing a folder. */
|
|
388
388
|
tempContentFileId?: string;
|
|
389
389
|
};
|
|
390
|
-
}, options?: ApiCallOptions)
|
|
390
|
+
}, options?: ApiCallOptions): Promise<UploadDataFileHttpResponse>;
|
|
391
391
|
type UploadDataFileHttpResponse = {
|
|
392
392
|
data: DataFileUploadResponse;
|
|
393
393
|
headers: Headers;
|
|
@@ -407,7 +407,7 @@ type UploadDataFileHttpError = {
|
|
|
407
407
|
* @param body an object with the body content
|
|
408
408
|
* @throws MoveDataFilesHttpError
|
|
409
409
|
*/
|
|
410
|
-
declare
|
|
410
|
+
declare function moveDataFiles(body: DataFileBatchChangeSpaceRequest, options?: ApiCallOptions): Promise<MoveDataFilesHttpResponse>;
|
|
411
411
|
type MoveDataFilesHttpResponse = {
|
|
412
412
|
data: MultiStatusResponse;
|
|
413
413
|
headers: Headers;
|
|
@@ -424,7 +424,7 @@ type MoveDataFilesHttpError = {
|
|
|
424
424
|
* @param body an object with the body content
|
|
425
425
|
* @throws DeleteDataFilesHttpError
|
|
426
426
|
*/
|
|
427
|
-
declare
|
|
427
|
+
declare function deleteDataFiles(body: DataFileBatchDeleteRequest, options?: ApiCallOptions): Promise<DeleteDataFilesHttpResponse>;
|
|
428
428
|
type DeleteDataFilesHttpResponse = {
|
|
429
429
|
data: MultiStatusResponse;
|
|
430
430
|
headers: Headers;
|
|
@@ -454,7 +454,7 @@ type DeleteDataFilesHttpError = {
|
|
|
454
454
|
* @param query an object with query parameters
|
|
455
455
|
* @throws GetDataFilesConnectionsHttpError
|
|
456
456
|
*/
|
|
457
|
-
declare
|
|
457
|
+
declare function getDataFilesConnections(query: {
|
|
458
458
|
/** If present, get connections with connection strings that are scoped to the given app ID. */
|
|
459
459
|
appId?: string;
|
|
460
460
|
/** If set to true, include computed space-level statistics for the spaces represented by the connections in the
|
|
@@ -473,7 +473,7 @@ declare const getDataFilesConnections: (query: {
|
|
|
473
473
|
sort?: GetConnectionsSortField;
|
|
474
474
|
/** If present, only return the connection that accesses data files in the specified space. */
|
|
475
475
|
spaceId?: string;
|
|
476
|
-
}, options?: ApiCallOptions)
|
|
476
|
+
}, options?: ApiCallOptions): Promise<GetDataFilesConnectionsHttpResponse>;
|
|
477
477
|
type GetDataFilesConnectionsHttpResponse = {
|
|
478
478
|
data: GetConnectionsResponse;
|
|
479
479
|
headers: Headers;
|
|
@@ -496,7 +496,7 @@ type GetDataFilesConnectionsHttpError = {
|
|
|
496
496
|
* @param id The ID of the connection.
|
|
497
497
|
* @throws GetDataFileConnectionHttpError
|
|
498
498
|
*/
|
|
499
|
-
declare
|
|
499
|
+
declare function getDataFileConnection(id: string, options?: ApiCallOptions): Promise<GetDataFileConnectionHttpResponse>;
|
|
500
500
|
type GetDataFileConnectionHttpResponse = {
|
|
501
501
|
data: ConnectionsResponse;
|
|
502
502
|
headers: Headers;
|
|
@@ -512,7 +512,7 @@ type GetDataFileConnectionHttpError = {
|
|
|
512
512
|
*
|
|
513
513
|
* @throws GetDataFilesQuotasHttpError
|
|
514
514
|
*/
|
|
515
|
-
declare
|
|
515
|
+
declare function getDataFilesQuotas(options?: ApiCallOptions): Promise<GetDataFilesQuotasHttpResponse>;
|
|
516
516
|
type GetDataFilesQuotasHttpResponse = {
|
|
517
517
|
data: QuotaResponse;
|
|
518
518
|
headers: Headers;
|
|
@@ -534,7 +534,7 @@ type GetDataFilesQuotasHttpError = {
|
|
|
534
534
|
* @param id The ID of the data file or folder to delete.
|
|
535
535
|
* @throws DeleteDataFileHttpError
|
|
536
536
|
*/
|
|
537
|
-
declare
|
|
537
|
+
declare function deleteDataFile(id: string, options?: ApiCallOptions): Promise<DeleteDataFileHttpResponse>;
|
|
538
538
|
type DeleteDataFileHttpResponse = {
|
|
539
539
|
data: void;
|
|
540
540
|
headers: Headers;
|
|
@@ -555,7 +555,7 @@ type DeleteDataFileHttpError = {
|
|
|
555
555
|
* @param id The ID of the data file.
|
|
556
556
|
* @throws GetDataFileHttpError
|
|
557
557
|
*/
|
|
558
|
-
declare
|
|
558
|
+
declare function getDataFile(id: string, options?: ApiCallOptions): Promise<GetDataFileHttpResponse>;
|
|
559
559
|
type GetDataFileHttpResponse = {
|
|
560
560
|
data: DataFileUploadResponse;
|
|
561
561
|
headers: Headers;
|
|
@@ -573,7 +573,7 @@ type GetDataFileHttpError = {
|
|
|
573
573
|
* @param body an object with the body content
|
|
574
574
|
* @throws ReuploadDataFileHttpError
|
|
575
575
|
*/
|
|
576
|
-
declare
|
|
576
|
+
declare function reuploadDataFile(id: string, body: {
|
|
577
577
|
/** IFormFile form multipart/form-data */
|
|
578
578
|
File?: BodyInit;
|
|
579
579
|
/** See PutDataFileRequest schema which defines request structure.
|
|
@@ -623,7 +623,7 @@ declare const reuploadDataFile: (id: string, body: {
|
|
|
623
623
|
* the one returned from the temp content upload request. */
|
|
624
624
|
tempContentFileId?: string;
|
|
625
625
|
};
|
|
626
|
-
}, options?: ApiCallOptions)
|
|
626
|
+
}, options?: ApiCallOptions): Promise<ReuploadDataFileHttpResponse>;
|
|
627
627
|
type ReuploadDataFileHttpResponse = {
|
|
628
628
|
data: DataFileUploadResponse;
|
|
629
629
|
headers: Headers;
|
|
@@ -647,7 +647,7 @@ type ReuploadDataFileHttpError = {
|
|
|
647
647
|
* @param body an object with the body content
|
|
648
648
|
* @throws ChangeDataFileOwnerHttpError
|
|
649
649
|
*/
|
|
650
|
-
declare
|
|
650
|
+
declare function changeDataFileOwner(id: string, body: ChangeDataFileOwnerRequest, options?: ApiCallOptions): Promise<ChangeDataFileOwnerHttpResponse>;
|
|
651
651
|
type ChangeDataFileOwnerHttpResponse = {
|
|
652
652
|
data: void;
|
|
653
653
|
headers: Headers;
|
|
@@ -672,7 +672,7 @@ type ChangeDataFileOwnerHttpError = {
|
|
|
672
672
|
* @param body an object with the body content
|
|
673
673
|
* @throws MoveDataFileHttpError
|
|
674
674
|
*/
|
|
675
|
-
declare
|
|
675
|
+
declare function moveDataFile(id: string, body: ChangeDataFileSpaceRequest, options?: ApiCallOptions): Promise<MoveDataFileHttpResponse>;
|
|
676
676
|
type MoveDataFileHttpResponse = {
|
|
677
677
|
data: void;
|
|
678
678
|
headers: Headers;
|