@qlik/api 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-keys.d.mts +9 -0
- package/api-keys.d.ts +9 -0
- package/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.d.mts +125 -1
- package/apps.d.ts +125 -1
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.d.mts +13 -0
- package/audits.d.ts +13 -0
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +8 -0
- package/automations.d.ts +8 -0
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.d.mts +15 -0
- package/brands.d.ts +15 -0
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{YDB23Q56.mjs → 34FMVD4C.mjs} +164 -20
- package/chunks/{PQ4OWSWX.js → 37PLWNAN.js} +44 -56
- package/chunks/{AULTUQC4.js → 3MHXEHLQ.js} +2 -2
- package/chunks/{AU62SBT4.mjs → 42LZKDDD.mjs} +1 -1
- package/chunks/{AGASWXYW.js → AVQ3WHH7.js} +167 -23
- package/chunks/{W2I5OQA5.js → FG5GDUSZ.js} +3 -3
- package/chunks/{EHZ6H6TD.mjs → FUU5VIC4.mjs} +1 -1
- package/chunks/{L7DRRU3T.mjs → HFNJ3ERI.mjs} +2 -2
- package/chunks/{POR3DZIU.mjs → HWZC3PIL.mjs} +1 -1
- package/chunks/{XY3AC335.js → ILOY5QEA.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → KEPPVUY3.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → MMUU2CQM.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → O5POHH2Q.mjs} +3 -3
- package/chunks/{EL2GSPZZ.js → QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/chunks/{KDW6ZD2R.mjs → VMS4MOCI.mjs} +42 -54
- package/chunks/{F7GJTDIU.js → WCJ4JQHA.js} +8 -8
- package/collections.d.mts +29 -1
- package/collections.d.ts +29 -1
- package/collections.js +14 -14
- 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 +12 -1
- package/data-connections.d.ts +12 -1
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +5 -0
- package/data-credentials.d.ts +5 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +6 -0
- package/data-files.d.ts +6 -0
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.d.mts +12 -0
- package/extensions.d.ts +12 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.d.mts +50 -0
- package/glossaries.d.ts +50 -0
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +39 -0
- package/groups.d.ts +39 -0
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.d.mts +42 -0
- package/identity-providers.d.ts +42 -0
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.d.mts +32 -1
- package/items.d.ts +32 -1
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.d.mts +7 -4
- package/licenses.d.ts +7 -4
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.d.mts +3 -0
- package/quotas.d.ts +3 -0
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +6 -3
- package/reload-tasks.d.ts +6 -3
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +9 -0
- package/reloads.d.ts +9 -0
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.d.mts +10 -1
- package/roles.d.ts +10 -1
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +37 -5
- package/spaces.d.ts +37 -5
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +6 -0
- package/temp-contents.d.ts +6 -0
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.d.mts +9 -0
- package/themes.d.ts +9 -0
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.d.mts +9 -0
- package/transports.d.ts +9 -0
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.d.mts +85 -14
- package/users.d.ts +85 -14
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.d.mts +18 -0
- package/web-integrations.d.ts +18 -0
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.d.mts +18 -0
- package/web-notifications.d.ts +18 -0
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +3 -0
- package/webhooks.d.ts +3 -0
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/37STYSYC.js +0 -41
- package/chunks/VC2LAFLZ.js +0 -17
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _37PLWNANjs = require('./37PLWNAN.js');
|
|
8
8
|
require('./4HB3TAEO.js');
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
@@ -36,7 +36,7 @@ async function resumeAll() {
|
|
|
36
36
|
var initialActions = {};
|
|
37
37
|
var sharedSessions = {};
|
|
38
38
|
function toGlobalAppSessionId({ appId, identity, hostConfig }) {
|
|
39
|
-
const locationUrl =
|
|
39
|
+
const locationUrl = _37PLWNANjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
|
|
40
40
|
return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
|
|
41
41
|
}
|
|
42
42
|
async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
|
|
@@ -83,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
83
83
|
return authSuggestedInWebsocket;
|
|
84
84
|
}
|
|
85
85
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
86
|
-
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
86
|
+
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./AVQ3WHH7.js")));
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
90
|
-
if (await
|
|
90
|
+
if (await _37PLWNANjs.isWindows.call(void 0, props.hostConfig)) {
|
|
91
91
|
const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
|
|
92
92
|
global = await session.open();
|
|
93
93
|
const loginInfo = await loginInfoPromise;
|
|
94
94
|
if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
|
|
95
|
-
const action = await
|
|
95
|
+
const action = await _37PLWNANjs.handleAuthenticationError.call(void 0, {
|
|
96
96
|
headers: new Headers(),
|
|
97
97
|
status: 101,
|
|
98
98
|
canRetry,
|
|
@@ -389,8 +389,8 @@ async function checkConnectivity(hostConfig) {
|
|
|
389
389
|
timeoutMs: 2e3,
|
|
390
390
|
noCache: true
|
|
391
391
|
};
|
|
392
|
-
const fetchRoot =
|
|
393
|
-
const fetchMe =
|
|
392
|
+
const fetchRoot = _37PLWNANjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
|
|
393
|
+
const fetchMe = _37PLWNANjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
|
|
394
394
|
await Promise.all([fetchRoot, fetchMe]);
|
|
395
395
|
return Promise.resolve(status);
|
|
396
396
|
}
|
|
@@ -435,7 +435,7 @@ function getOrCreateSharedSession(props) {
|
|
|
435
435
|
// src/qix/qix-functions.ts
|
|
436
436
|
async function createSessionApp() {
|
|
437
437
|
let sharedSession;
|
|
438
|
-
if ((await
|
|
438
|
+
if ((await _37PLWNANjs.getPlatform.call(void 0, )).isCloud) {
|
|
439
439
|
sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
|
|
440
440
|
} else {
|
|
441
441
|
sharedSession = await getOrCreateSharedSession({
|
package/collections.d.mts
CHANGED
|
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
|
|
|
22
22
|
name: string;
|
|
23
23
|
type: CollectionTypes;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* ListCollectionItemsResponseBody result type
|
|
27
|
+
*/
|
|
25
28
|
type CollectionsListCollectionItemsResponseBody = {
|
|
26
29
|
data: ItemResultResponseBody[];
|
|
27
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* ListCollectionsResponseBody result type
|
|
33
|
+
*/
|
|
28
34
|
type CollectionsListCollectionsResponseBody = {
|
|
29
35
|
data: CollectionResultResponseBody[];
|
|
30
36
|
links: CollectionsLinksResponseBody;
|
|
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
|
|
|
52
58
|
items?: Link;
|
|
53
59
|
self?: Link;
|
|
54
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Collection metadata and computed fields.
|
|
63
|
+
*/
|
|
55
64
|
type CollectionMetaResponseBody = {
|
|
56
65
|
/** Multiple items. */
|
|
57
66
|
items?: ItemsResultResponseBody;
|
|
58
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* A collection.
|
|
70
|
+
*/
|
|
59
71
|
type CollectionResultResponseBody = {
|
|
60
72
|
/** The RFC3339 datetime when the collection was created. */
|
|
61
73
|
createdAt: string;
|
|
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
|
|
|
92
104
|
self?: Link;
|
|
93
105
|
thumbnail?: Link;
|
|
94
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* Item metadata and computed fields.
|
|
109
|
+
*/
|
|
95
110
|
type ItemMetaResponseBody = {
|
|
96
111
|
/** The actions that the user can perform on the item. */
|
|
97
112
|
actions: string[];
|
|
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
|
|
|
102
117
|
/** An array of tags that the item is part of. */
|
|
103
118
|
tags: ItemTagResponseBody[];
|
|
104
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* The case-sensitive string defining the item's type.
|
|
122
|
+
*/
|
|
105
123
|
type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
|
|
124
|
+
/**
|
|
125
|
+
* An item.
|
|
126
|
+
*/
|
|
106
127
|
type ItemResultResponseBody = {
|
|
107
128
|
/** The actions that the user can perform on the item. */
|
|
108
129
|
actions: string[];
|
|
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
|
|
|
154
175
|
/** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
|
|
155
176
|
updaterId?: string;
|
|
156
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* Holds basic information about a tag or collection.
|
|
180
|
+
*/
|
|
157
181
|
type ItemTagResponseBody = {
|
|
158
182
|
/** The ID of the tag/collection. */
|
|
159
183
|
id: string;
|
|
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
|
|
|
191
215
|
/** Size of the app in memory in bytes. */
|
|
192
216
|
appMemory?: number;
|
|
193
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* Multiple items.
|
|
220
|
+
*/
|
|
194
221
|
type ItemsResultResponseBody = {
|
|
195
222
|
data: ItemResultResponseBody[];
|
|
196
223
|
links: ItemsLinksResponseBody;
|
|
@@ -381,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
|
|
|
381
408
|
resourceLink?: string | undefined;
|
|
382
409
|
/** The case-sensitive string used to search for an item by resourceType. */
|
|
383
410
|
resourceType?: ItemResourceTypeEnum | undefined;
|
|
384
|
-
/**
|
|
411
|
+
/** @deprecated
|
|
412
|
+
* Whether or not to return items in a shared space. */
|
|
385
413
|
shared?: boolean | undefined;
|
|
386
414
|
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
387
415
|
sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
|
package/collections.d.ts
CHANGED
|
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
|
|
|
22
22
|
name: string;
|
|
23
23
|
type: CollectionTypes;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* ListCollectionItemsResponseBody result type
|
|
27
|
+
*/
|
|
25
28
|
type CollectionsListCollectionItemsResponseBody = {
|
|
26
29
|
data: ItemResultResponseBody[];
|
|
27
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* ListCollectionsResponseBody result type
|
|
33
|
+
*/
|
|
28
34
|
type CollectionsListCollectionsResponseBody = {
|
|
29
35
|
data: CollectionResultResponseBody[];
|
|
30
36
|
links: CollectionsLinksResponseBody;
|
|
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
|
|
|
52
58
|
items?: Link;
|
|
53
59
|
self?: Link;
|
|
54
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Collection metadata and computed fields.
|
|
63
|
+
*/
|
|
55
64
|
type CollectionMetaResponseBody = {
|
|
56
65
|
/** Multiple items. */
|
|
57
66
|
items?: ItemsResultResponseBody;
|
|
58
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* A collection.
|
|
70
|
+
*/
|
|
59
71
|
type CollectionResultResponseBody = {
|
|
60
72
|
/** The RFC3339 datetime when the collection was created. */
|
|
61
73
|
createdAt: string;
|
|
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
|
|
|
92
104
|
self?: Link;
|
|
93
105
|
thumbnail?: Link;
|
|
94
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* Item metadata and computed fields.
|
|
109
|
+
*/
|
|
95
110
|
type ItemMetaResponseBody = {
|
|
96
111
|
/** The actions that the user can perform on the item. */
|
|
97
112
|
actions: string[];
|
|
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
|
|
|
102
117
|
/** An array of tags that the item is part of. */
|
|
103
118
|
tags: ItemTagResponseBody[];
|
|
104
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* The case-sensitive string defining the item's type.
|
|
122
|
+
*/
|
|
105
123
|
type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
|
|
124
|
+
/**
|
|
125
|
+
* An item.
|
|
126
|
+
*/
|
|
106
127
|
type ItemResultResponseBody = {
|
|
107
128
|
/** The actions that the user can perform on the item. */
|
|
108
129
|
actions: string[];
|
|
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
|
|
|
154
175
|
/** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
|
|
155
176
|
updaterId?: string;
|
|
156
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* Holds basic information about a tag or collection.
|
|
180
|
+
*/
|
|
157
181
|
type ItemTagResponseBody = {
|
|
158
182
|
/** The ID of the tag/collection. */
|
|
159
183
|
id: string;
|
|
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
|
|
|
191
215
|
/** Size of the app in memory in bytes. */
|
|
192
216
|
appMemory?: number;
|
|
193
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* Multiple items.
|
|
220
|
+
*/
|
|
194
221
|
type ItemsResultResponseBody = {
|
|
195
222
|
data: ItemResultResponseBody[];
|
|
196
223
|
links: ItemsLinksResponseBody;
|
|
@@ -381,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
|
|
|
381
408
|
resourceLink?: string | undefined;
|
|
382
409
|
/** The case-sensitive string used to search for an item by resourceType. */
|
|
383
410
|
resourceType?: ItemResourceTypeEnum | undefined;
|
|
384
|
-
/**
|
|
411
|
+
/** @deprecated
|
|
412
|
+
* Whether or not to return items in a shared space. */
|
|
385
413
|
shared?: boolean | undefined;
|
|
386
414
|
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
387
415
|
sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
|
package/collections.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/collections.ts
|
|
9
|
-
var getCollections = async (query, options) =>
|
|
9
|
+
var getCollections = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/collections",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCollection = async (body, options) =>
|
|
15
|
+
var createCollection = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/collections",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getFavoritesCollection = async (options) =>
|
|
22
|
+
var getFavoritesCollection = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/collections/favorites",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCollection = async (collectionId, options) =>
|
|
27
|
+
var deleteCollection = async (collectionId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
30
30
|
pathVariables: { collectionId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCollection = async (collectionId, options) =>
|
|
33
|
+
var getCollection = async (collectionId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
36
36
|
pathVariables: { collectionId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchCollection = async (collectionId, body, options) =>
|
|
39
|
+
var patchCollection = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
42
42
|
pathVariables: { collectionId },
|
|
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _EL2GSPZZjs.invokeF
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateCollection = async (collectionId, body, options) =>
|
|
47
|
+
var updateCollection = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
48
48
|
method: "put",
|
|
49
49
|
pathTemplate: "/api/v1/collections/{collectionId}",
|
|
50
50
|
pathVariables: { collectionId },
|
|
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _EL2GSPZZjs.invoke
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getCollectionItems = async (collectionId, query, options) =>
|
|
55
|
+
var getCollectionItems = async (collectionId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
58
58
|
pathVariables: { collectionId },
|
|
59
59
|
query,
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
|
-
var addCollectionItem = async (collectionId, body, options) =>
|
|
62
|
+
var addCollectionItem = async (collectionId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
63
63
|
method: "post",
|
|
64
64
|
pathTemplate: "/api/v1/collections/{collectionId}/items",
|
|
65
65
|
pathVariables: { collectionId },
|
|
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _EL2GSPZZjs.invok
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteCollectionItem = async (collectionId, itemId, options) =>
|
|
70
|
+
var deleteCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
71
71
|
method: "delete",
|
|
72
72
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
73
73
|
pathVariables: { collectionId, itemId },
|
|
74
74
|
options
|
|
75
75
|
});
|
|
76
|
-
var getCollectionItem = async (collectionId, itemId, options) =>
|
|
76
|
+
var getCollectionItem = async (collectionId, itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "collections", {
|
|
77
77
|
method: "get",
|
|
78
78
|
pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
|
|
79
79
|
pathVariables: { collectionId, itemId },
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
82
|
function clearCache() {
|
|
83
|
-
return
|
|
83
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "collections");
|
|
84
84
|
}
|
|
85
85
|
var collectionsExport = {
|
|
86
86
|
getCollections,
|
package/collections.mjs
CHANGED
package/csp-origins.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/csp-origins.ts
|
|
9
|
-
var getCSPEntries = async (query, options) =>
|
|
9
|
+
var getCSPEntries = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/csp-origins",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createCSPEntry = async (body, options) =>
|
|
15
|
+
var createCSPEntry = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/csp-origins",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getCSPHeader = async (options) =>
|
|
22
|
+
var getCSPHeader = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/csp-origins/actions/generate-header",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteCSPEntry = async (id, options) =>
|
|
27
|
+
var deleteCSPEntry = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getCSPEntry = async (id, options) =>
|
|
33
|
+
var getCSPEntry = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var updateCSPEntry = async (id, body, options) =>
|
|
39
|
+
var updateCSPEntry = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "csp-origins", {
|
|
40
40
|
method: "put",
|
|
41
41
|
pathTemplate: "/api/v1/csp-origins/{id}",
|
|
42
42
|
pathVariables: { id },
|
|
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
|
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
47
|
function clearCache() {
|
|
48
|
-
return
|
|
48
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "csp-origins");
|
|
49
49
|
}
|
|
50
50
|
var cspOriginsExport = {
|
|
51
51
|
getCSPEntries,
|
package/csp-origins.mjs
CHANGED
package/data-assets.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/data-assets.ts
|
|
9
|
-
var deleteDataAssets = async (body, options) =>
|
|
9
|
+
var deleteDataAssets = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/data-assets",
|
|
12
12
|
body,
|
|
13
13
|
contentType: "application/json",
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var createDataAsset = async (body, options) =>
|
|
16
|
+
var createDataAsset = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
|
|
17
17
|
method: "post",
|
|
18
18
|
pathTemplate: "/api/v1/data-assets",
|
|
19
19
|
body,
|
|
20
20
|
contentType: "application/json",
|
|
21
21
|
options
|
|
22
22
|
});
|
|
23
|
-
var getDataAsset = async (dataAssetId, query, options) =>
|
|
23
|
+
var getDataAsset = async (dataAssetId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
|
|
24
24
|
method: "get",
|
|
25
25
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
26
26
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
27
27
|
query,
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
|
-
var patchDataAsset = async (dataAssetId, body, options) =>
|
|
30
|
+
var patchDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
|
|
31
31
|
method: "patch",
|
|
32
32
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
33
33
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -35,7 +35,7 @@ var patchDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFet
|
|
|
35
35
|
contentType: "application/json",
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var updateDataAsset = async (dataAssetId, body, options) =>
|
|
38
|
+
var updateDataAsset = async (dataAssetId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "data-assets", {
|
|
39
39
|
method: "put",
|
|
40
40
|
pathTemplate: "/api/v1/data-assets/{data-asset-id}",
|
|
41
41
|
pathVariables: { "data-asset-id": dataAssetId },
|
|
@@ -44,7 +44,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFe
|
|
|
44
44
|
options
|
|
45
45
|
});
|
|
46
46
|
function clearCache() {
|
|
47
|
-
return
|
|
47
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "data-assets");
|
|
48
48
|
}
|
|
49
49
|
var dataAssetsExport = {
|
|
50
50
|
deleteDataAssets,
|
package/data-assets.mjs
CHANGED
package/data-connections.d.mts
CHANGED
|
@@ -44,6 +44,9 @@ type BulkResponse = {
|
|
|
44
44
|
status: number;
|
|
45
45
|
}[];
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Essential fields of a connection
|
|
49
|
+
*/
|
|
47
50
|
type Connection = {
|
|
48
51
|
/** Datetime when the connection was created */
|
|
49
52
|
created: string;
|
|
@@ -56,7 +59,7 @@ type Connection = {
|
|
|
56
59
|
qArchitecture: 0 | 1;
|
|
57
60
|
/** Connection string for the data connection */
|
|
58
61
|
qConnectStatement: string;
|
|
59
|
-
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /
|
|
62
|
+
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
|
|
60
63
|
qConnectionSecret?: string;
|
|
61
64
|
/** ID of the credential associated with the connection */
|
|
62
65
|
qCredentialsID?: string;
|
|
@@ -123,6 +126,9 @@ type ConnectionCreate = {
|
|
|
123
126
|
/** ID of the space to which the connection belongs */
|
|
124
127
|
space?: string;
|
|
125
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Essential fields of a connection
|
|
131
|
+
*/
|
|
126
132
|
type ConnectionCreateResponse = {
|
|
127
133
|
/** Datetime when the connection was created */
|
|
128
134
|
created?: string;
|
|
@@ -226,6 +232,9 @@ type PatchRequest = {
|
|
|
226
232
|
value?: string;
|
|
227
233
|
}[];
|
|
228
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Access type allowed on associated data connection
|
|
237
|
+
*/
|
|
229
238
|
type Privilege = "list" | "update" | "delete" | "read";
|
|
230
239
|
type ResponseErrors = {
|
|
231
240
|
errors?: Errors;
|
|
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
|
|
|
257
266
|
dataName?: string;
|
|
258
267
|
/** Returns extended list of properties when set to true. */
|
|
259
268
|
extended?: boolean;
|
|
269
|
+
/** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
|
|
270
|
+
filter?: string;
|
|
260
271
|
/** Base Qri (encrypted) will be returned when the query is set to true, default is false */
|
|
261
272
|
includeQris?: boolean;
|
|
262
273
|
/** Number of resources to be returned */
|
package/data-connections.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ type BulkResponse = {
|
|
|
44
44
|
status: number;
|
|
45
45
|
}[];
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Essential fields of a connection
|
|
49
|
+
*/
|
|
47
50
|
type Connection = {
|
|
48
51
|
/** Datetime when the connection was created */
|
|
49
52
|
created: string;
|
|
@@ -56,7 +59,7 @@ type Connection = {
|
|
|
56
59
|
qArchitecture: 0 | 1;
|
|
57
60
|
/** Connection string for the data connection */
|
|
58
61
|
qConnectStatement: string;
|
|
59
|
-
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /
|
|
62
|
+
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
|
|
60
63
|
qConnectionSecret?: string;
|
|
61
64
|
/** ID of the credential associated with the connection */
|
|
62
65
|
qCredentialsID?: string;
|
|
@@ -123,6 +126,9 @@ type ConnectionCreate = {
|
|
|
123
126
|
/** ID of the space to which the connection belongs */
|
|
124
127
|
space?: string;
|
|
125
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Essential fields of a connection
|
|
131
|
+
*/
|
|
126
132
|
type ConnectionCreateResponse = {
|
|
127
133
|
/** Datetime when the connection was created */
|
|
128
134
|
created?: string;
|
|
@@ -226,6 +232,9 @@ type PatchRequest = {
|
|
|
226
232
|
value?: string;
|
|
227
233
|
}[];
|
|
228
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Access type allowed on associated data connection
|
|
237
|
+
*/
|
|
229
238
|
type Privilege = "list" | "update" | "delete" | "read";
|
|
230
239
|
type ResponseErrors = {
|
|
231
240
|
errors?: Errors;
|
|
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
|
|
|
257
266
|
dataName?: string;
|
|
258
267
|
/** Returns extended list of properties when set to true. */
|
|
259
268
|
extended?: boolean;
|
|
269
|
+
/** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
|
|
270
|
+
filter?: string;
|
|
260
271
|
/** Base Qri (encrypted) will be returned when the query is set to true, default is false */
|
|
261
272
|
includeQris?: boolean;
|
|
262
273
|
/** Number of resources to be returned */
|