@qlik/api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
package/data-files.d.ts
CHANGED
|
@@ -220,9 +220,9 @@ type DeleteDataFilesHttpError = {
|
|
|
220
220
|
* The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
|
|
221
221
|
* the given user has access to.
|
|
222
222
|
* @param query an object with query parameters
|
|
223
|
-
* @throws
|
|
223
|
+
* @throws GetDataFilesConnectionsHttpError
|
|
224
224
|
*/
|
|
225
|
-
declare const
|
|
225
|
+
declare const getDataFilesConnections: (query: {
|
|
226
226
|
/** If present, get connections with connection strings that are scoped to the given app ID. */
|
|
227
227
|
appId?: string;
|
|
228
228
|
/** If present, the maximum number of data file connection records to return. */
|
|
@@ -238,15 +238,15 @@ declare const getDataFileConnections: (query: {
|
|
|
238
238
|
sort?: GetConnectionsSortField;
|
|
239
239
|
/** If present, only return the connection that accesses data files in the specified space. */
|
|
240
240
|
spaceId?: string;
|
|
241
|
-
}, options?: ApiCallOptions) => Promise<
|
|
242
|
-
type
|
|
241
|
+
}, options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
|
|
242
|
+
type GetDataFilesConnectionsHttpResponse = {
|
|
243
243
|
data: GetConnectionsResponse;
|
|
244
244
|
headers: Headers;
|
|
245
245
|
status: number;
|
|
246
|
-
prev?: (options?: ApiCallOptions) => Promise<
|
|
247
|
-
next?: (options?: ApiCallOptions) => Promise<
|
|
246
|
+
prev?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
|
|
247
|
+
next?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
|
|
248
248
|
};
|
|
249
|
-
type
|
|
249
|
+
type GetDataFilesConnectionsHttpError = {
|
|
250
250
|
data: ErrorResponse;
|
|
251
251
|
headers: Headers;
|
|
252
252
|
status: number;
|
|
@@ -269,15 +269,15 @@ type GetDataFileConnectionHttpError = {
|
|
|
269
269
|
};
|
|
270
270
|
/**
|
|
271
271
|
* Get quota information for the calling user.
|
|
272
|
-
* @throws
|
|
272
|
+
* @throws GetDataFilesQuotasHttpError
|
|
273
273
|
*/
|
|
274
|
-
declare const
|
|
275
|
-
type
|
|
274
|
+
declare const getDataFilesQuotas: (options?: ApiCallOptions) => Promise<GetDataFilesQuotasHttpResponse>;
|
|
275
|
+
type GetDataFilesQuotasHttpResponse = {
|
|
276
276
|
data: QuotaResponse;
|
|
277
277
|
headers: Headers;
|
|
278
278
|
status: number;
|
|
279
279
|
};
|
|
280
|
-
type
|
|
280
|
+
type GetDataFilesQuotasHttpError = {
|
|
281
281
|
data: ErrorResponse;
|
|
282
282
|
headers: Headers;
|
|
283
283
|
status: number;
|
|
@@ -406,9 +406,9 @@ interface DataFilesAPI {
|
|
|
406
406
|
* The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
|
|
407
407
|
* the given user has access to.
|
|
408
408
|
* @param query an object with query parameters
|
|
409
|
-
* @throws
|
|
409
|
+
* @throws GetDataFilesConnectionsHttpError
|
|
410
410
|
*/
|
|
411
|
-
|
|
411
|
+
getDataFilesConnections: typeof getDataFilesConnections;
|
|
412
412
|
/**
|
|
413
413
|
* Get the built-in connection used by the engine to load/write data files given a connection ID.
|
|
414
414
|
* @param id The ID of the connection.
|
|
@@ -417,9 +417,9 @@ interface DataFilesAPI {
|
|
|
417
417
|
getDataFileConnection: typeof getDataFileConnection;
|
|
418
418
|
/**
|
|
419
419
|
* Get quota information for the calling user.
|
|
420
|
-
* @throws
|
|
420
|
+
* @throws GetDataFilesQuotasHttpError
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
getDataFilesQuotas: typeof getDataFilesQuotas;
|
|
423
423
|
/**
|
|
424
424
|
* Delete the specified data file.
|
|
425
425
|
* @param id The ID of the data file to delete.
|
|
@@ -468,4 +468,4 @@ interface DataFilesAPI {
|
|
|
468
468
|
*/
|
|
469
469
|
declare const dataFilesExport: DataFilesAPI;
|
|
470
470
|
|
|
471
|
-
export { type BatchChangeSpaceItem, type BatchDeleteItem, type ChangeDataFileOwnerHttpError, type ChangeDataFileOwnerHttpResponse, type ChangeDataFileOwnerRequest, type ChangeDataFileSpaceRequest, type ConnectionsResponse, type DataFileBatchChangeSpaceRequest, type DataFileBatchDeleteRequest, type DataFileUploadResponse, type DataFilesAPI, type DeleteDataFileHttpError, type DeleteDataFileHttpResponse, type DeleteDataFilesHttpError, type DeleteDataFilesHttpResponse, type ErrorResponse, type ErrorResponseItem, type GetConnectionsResponse, type GetConnectionsSortField, type GetDataFileConnectionHttpError, type GetDataFileConnectionHttpResponse, type
|
|
471
|
+
export { type BatchChangeSpaceItem, type BatchDeleteItem, type ChangeDataFileOwnerHttpError, type ChangeDataFileOwnerHttpResponse, type ChangeDataFileOwnerRequest, type ChangeDataFileSpaceRequest, type ConnectionsResponse, type DataFileBatchChangeSpaceRequest, type DataFileBatchDeleteRequest, type DataFileUploadResponse, type DataFilesAPI, type DeleteDataFileHttpError, type DeleteDataFileHttpResponse, type DeleteDataFilesHttpError, type DeleteDataFilesHttpResponse, type ErrorResponse, type ErrorResponseItem, type GetConnectionsResponse, type GetConnectionsSortField, type GetDataFileConnectionHttpError, type GetDataFileConnectionHttpResponse, type GetDataFileHttpError, type GetDataFileHttpResponse, type GetDataFileInfosResponse, type GetDataFileInfosSortField, type GetDataFilesConnectionsHttpError, type GetDataFilesConnectionsHttpResponse, type GetDataFilesHttpError, type GetDataFilesHttpResponse, type GetDataFilesQuotasHttpError, type GetDataFilesQuotasHttpResponse, type LinkResponse, type LinksResponse, type MoveDataFileHttpError, type MoveDataFileHttpResponse, type MoveDataFilesHttpError, type MoveDataFilesHttpResponse, type MultiStatusResponse, type MultiStatusResponseItem, type QuotaResponse, type ReuploadDataFileHttpError, type ReuploadDataFileHttpResponse, type UploadDataFileHttpError, type UploadDataFileHttpResponse, changeDataFileOwner, clearCache, dataFilesExport as default, deleteDataFile, deleteDataFiles, getDataFile, getDataFileConnection, getDataFiles, getDataFilesConnections, getDataFilesQuotas, moveDataFile, moveDataFiles, reuploadDataFile, uploadDataFile };
|
package/data-files.js
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/data-files.ts
|
|
8
|
-
var getDataFiles = async (query, options) =>
|
|
8
|
+
var getDataFiles = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/data-files",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var uploadDataFile = async (body, options) =>
|
|
14
|
+
var uploadDataFile = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/data-files",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var moveDataFiles = async (body, options) =>
|
|
20
|
+
var moveDataFiles = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
21
21
|
method: "post",
|
|
22
22
|
pathTemplate: "/api/v1/data-files/actions/change-space",
|
|
23
23
|
body,
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var deleteDataFiles = async (body, options) =>
|
|
26
|
+
var deleteDataFiles = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
27
27
|
method: "post",
|
|
28
28
|
pathTemplate: "/api/v1/data-files/actions/delete",
|
|
29
29
|
body,
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var getDataFilesConnections = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
33
33
|
method: "get",
|
|
34
34
|
pathTemplate: "/api/v1/data-files/connections",
|
|
35
35
|
query,
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var getDataFileConnection = async (id, options) =>
|
|
38
|
+
var getDataFileConnection = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
39
39
|
method: "get",
|
|
40
40
|
pathTemplate: "/api/v1/data-files/connections/{id}",
|
|
41
41
|
pathVariables: { id },
|
|
42
42
|
options
|
|
43
43
|
});
|
|
44
|
-
var
|
|
44
|
+
var getDataFilesQuotas = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
45
45
|
method: "get",
|
|
46
46
|
pathTemplate: "/api/v1/data-files/quotas",
|
|
47
47
|
options
|
|
48
48
|
});
|
|
49
|
-
var deleteDataFile = async (id, options) =>
|
|
49
|
+
var deleteDataFile = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
50
50
|
method: "delete",
|
|
51
51
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
52
52
|
pathVariables: { id },
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getDataFile = async (id, options) =>
|
|
55
|
+
var getDataFile = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
58
58
|
pathVariables: { id },
|
|
59
59
|
options
|
|
60
60
|
});
|
|
61
|
-
var reuploadDataFile = async (id, body, options) =>
|
|
61
|
+
var reuploadDataFile = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
62
62
|
method: "put",
|
|
63
63
|
pathTemplate: "/api/v1/data-files/{id}",
|
|
64
64
|
pathVariables: { id },
|
|
65
65
|
body,
|
|
66
66
|
options
|
|
67
67
|
});
|
|
68
|
-
var changeDataFileOwner = async (id, body, options) =>
|
|
68
|
+
var changeDataFileOwner = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
69
69
|
method: "post",
|
|
70
70
|
pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
|
|
71
71
|
pathVariables: { id },
|
|
72
72
|
body,
|
|
73
73
|
options
|
|
74
74
|
});
|
|
75
|
-
var moveDataFile = async (id, body, options) =>
|
|
75
|
+
var moveDataFile = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-files", {
|
|
76
76
|
method: "post",
|
|
77
77
|
pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
|
|
78
78
|
pathVariables: { id },
|
|
@@ -80,16 +80,16 @@ var moveDataFile = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.cal
|
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
82
|
function clearCache() {
|
|
83
|
-
return
|
|
83
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "data-files");
|
|
84
84
|
}
|
|
85
85
|
var dataFilesExport = {
|
|
86
86
|
getDataFiles,
|
|
87
87
|
uploadDataFile,
|
|
88
88
|
moveDataFiles,
|
|
89
89
|
deleteDataFiles,
|
|
90
|
-
|
|
90
|
+
getDataFilesConnections,
|
|
91
91
|
getDataFileConnection,
|
|
92
|
-
|
|
92
|
+
getDataFilesQuotas,
|
|
93
93
|
deleteDataFile,
|
|
94
94
|
getDataFile,
|
|
95
95
|
reuploadDataFile,
|
|
@@ -113,4 +113,4 @@ var data_files_default = dataFilesExport;
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
exports.changeDataFileOwner = changeDataFileOwner; exports.clearCache = clearCache; exports.default = data_files_default; exports.deleteDataFile = deleteDataFile; exports.deleteDataFiles = deleteDataFiles; exports.getDataFile = getDataFile; exports.getDataFileConnection = getDataFileConnection; exports.
|
|
116
|
+
exports.changeDataFileOwner = changeDataFileOwner; exports.clearCache = clearCache; exports.default = data_files_default; exports.deleteDataFile = deleteDataFile; exports.deleteDataFiles = deleteDataFiles; exports.getDataFile = getDataFile; exports.getDataFileConnection = getDataFileConnection; exports.getDataFiles = getDataFiles; exports.getDataFilesConnections = getDataFilesConnections; exports.getDataFilesQuotas = getDataFilesQuotas; exports.moveDataFile = moveDataFile; exports.moveDataFiles = moveDataFiles; exports.reuploadDataFile = reuploadDataFile; exports.uploadDataFile = uploadDataFile;
|
package/data-files.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/data-files.ts
|
|
8
8
|
var getDataFiles = async (query, options) => invokeFetch("data-files", {
|
|
@@ -29,7 +29,7 @@ var deleteDataFiles = async (body, options) => invokeFetch("data-files", {
|
|
|
29
29
|
body,
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var getDataFilesConnections = async (query, options) => invokeFetch("data-files", {
|
|
33
33
|
method: "get",
|
|
34
34
|
pathTemplate: "/api/v1/data-files/connections",
|
|
35
35
|
query,
|
|
@@ -41,7 +41,7 @@ var getDataFileConnection = async (id, options) => invokeFetch("data-files", {
|
|
|
41
41
|
pathVariables: { id },
|
|
42
42
|
options
|
|
43
43
|
});
|
|
44
|
-
var
|
|
44
|
+
var getDataFilesQuotas = async (options) => invokeFetch("data-files", {
|
|
45
45
|
method: "get",
|
|
46
46
|
pathTemplate: "/api/v1/data-files/quotas",
|
|
47
47
|
options
|
|
@@ -87,9 +87,9 @@ var dataFilesExport = {
|
|
|
87
87
|
uploadDataFile,
|
|
88
88
|
moveDataFiles,
|
|
89
89
|
deleteDataFiles,
|
|
90
|
-
|
|
90
|
+
getDataFilesConnections,
|
|
91
91
|
getDataFileConnection,
|
|
92
|
-
|
|
92
|
+
getDataFilesQuotas,
|
|
93
93
|
deleteDataFile,
|
|
94
94
|
getDataFile,
|
|
95
95
|
reuploadDataFile,
|
|
@@ -106,9 +106,9 @@ export {
|
|
|
106
106
|
deleteDataFiles,
|
|
107
107
|
getDataFile,
|
|
108
108
|
getDataFileConnection,
|
|
109
|
-
getDataFileConnections,
|
|
110
|
-
getDataFileQuotas,
|
|
111
109
|
getDataFiles,
|
|
110
|
+
getDataFilesConnections,
|
|
111
|
+
getDataFilesQuotas,
|
|
112
112
|
moveDataFile,
|
|
113
113
|
moveDataFiles,
|
|
114
114
|
reuploadDataFile,
|