@qlik/api 1.31.0 → 1.33.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 +10 -10
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +1301 -0
- package/assistants.js +329 -0
- 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 +366 -0
- package/automation-connections.js +107 -0
- package/automations.d.ts +27 -27
- package/automations.js +159 -123
- package/automl-deployments.d.ts +97 -0
- package/automl-deployments.js +29 -0
- package/automl-predictions.d.ts +214 -0
- package/automl-predictions.js +84 -0
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
- package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +662 -0
- package/conditions.js +135 -0
- package/consumption.d.ts +182 -0
- package/consumption.js +26 -0
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +62 -0
- package/csrf-token.js +25 -0
- package/data-alerts.d.ts +1004 -0
- package/data-alerts.js +187 -0
- 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 +175 -0
- package/data-qualities.js +50 -0
- package/data-sets.d.ts +424 -0
- package/data-sets.js +87 -0
- package/data-sources.d.ts +268 -0
- package/data-sources.js +45 -0
- package/data-stores.d.ts +537 -0
- package/data-stores.js +128 -0
- package/dcaas.d.ts +192 -0
- package/dcaas.js +45 -0
- package/di-projects.d.ts +673 -0
- package/di-projects.js +196 -0
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +370 -0
- package/encryption.js +118 -0
- 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 +113 -4
- package/index.js +626 -40
- 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 +890 -0
- package/knowledgebases.js +203 -0
- package/licenses.d.ts +14 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +712 -0
- package/lineage-graphs.js +108 -0
- package/ml.d.ts +2676 -0
- package/ml.js +477 -0
- package/notes.d.ts +110 -0
- package/notes.js +35 -0
- package/notifications.d.ts +98 -0
- package/notifications.js +26 -0
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +126 -0
- package/oauth-tokens.js +35 -0
- package/package.json +34 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +364 -0
- package/questions.js +38 -0
- 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 +287 -0
- package/report-templates.js +94 -0
- 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 +952 -0
- package/sharing-tasks.js +125 -0
- package/spaces.d.ts +22 -22
- package/spaces.js +153 -119
- package/tasks.d.ts +564 -0
- package/tasks.js +126 -0
- 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 +274 -0
- package/ui-config.js +91 -0
- 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-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/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.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;
|
package/data-files.js
CHANGED
|
@@ -1,91 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-files.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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
9
|
+
async function getDataFiles(query, options) {
|
|
10
|
+
return invokeFetch("data-files", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/data-files",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function uploadDataFile(body, options) {
|
|
18
|
+
return invokeFetch("data-files", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/data-files",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "multipart/form-data",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function moveDataFiles(body, options) {
|
|
27
|
+
return invokeFetch("data-files", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/data-files/actions/change-space",
|
|
30
|
+
body,
|
|
31
|
+
contentType: "application/json",
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function deleteDataFiles(body, options) {
|
|
36
|
+
return invokeFetch("data-files", {
|
|
37
|
+
method: "post",
|
|
38
|
+
pathTemplate: "/api/v1/data-files/actions/delete",
|
|
39
|
+
body,
|
|
40
|
+
contentType: "application/json",
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function getDataFilesConnections(query, options) {
|
|
45
|
+
return invokeFetch("data-files", {
|
|
46
|
+
method: "get",
|
|
47
|
+
pathTemplate: "/api/v1/data-files/connections",
|
|
48
|
+
query,
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function getDataFileConnection(id, options) {
|
|
53
|
+
return invokeFetch("data-files", {
|
|
54
|
+
method: "get",
|
|
55
|
+
pathTemplate: "/api/v1/data-files/connections/{id}",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function getDataFilesQuotas(options) {
|
|
61
|
+
return invokeFetch("data-files", {
|
|
62
|
+
method: "get",
|
|
63
|
+
pathTemplate: "/api/v1/data-files/quotas",
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
async function deleteDataFile(id, options) {
|
|
68
|
+
return invokeFetch("data-files", {
|
|
69
|
+
method: "delete",
|
|
70
|
+
pathTemplate: "/api/v1/data-files/{id}",
|
|
71
|
+
pathVariables: { id },
|
|
72
|
+
options
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
async function getDataFile(id, options) {
|
|
76
|
+
return invokeFetch("data-files", {
|
|
77
|
+
method: "get",
|
|
78
|
+
pathTemplate: "/api/v1/data-files/{id}",
|
|
79
|
+
pathVariables: { id },
|
|
80
|
+
options
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
async function reuploadDataFile(id, body, options) {
|
|
84
|
+
return invokeFetch("data-files", {
|
|
85
|
+
method: "put",
|
|
86
|
+
pathTemplate: "/api/v1/data-files/{id}",
|
|
87
|
+
pathVariables: { id },
|
|
88
|
+
body,
|
|
89
|
+
contentType: "multipart/form-data",
|
|
90
|
+
options
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
async function changeDataFileOwner(id, body, options) {
|
|
94
|
+
return invokeFetch("data-files", {
|
|
95
|
+
method: "post",
|
|
96
|
+
pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
|
|
97
|
+
pathVariables: { id },
|
|
98
|
+
body,
|
|
99
|
+
contentType: "application/json",
|
|
100
|
+
options
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
async function moveDataFile(id, body, options) {
|
|
104
|
+
return invokeFetch("data-files", {
|
|
105
|
+
method: "post",
|
|
106
|
+
pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
|
|
107
|
+
pathVariables: { id },
|
|
108
|
+
body,
|
|
109
|
+
contentType: "application/json",
|
|
110
|
+
options
|
|
111
|
+
});
|
|
112
|
+
}
|
|
89
113
|
function clearCache() {
|
|
90
114
|
return clearApiCache("data-files");
|
|
91
115
|
}
|