@qlik/api 0.0.8 → 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 +10 -1
- package/api-keys.d.ts +10 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +134 -8
- package/apps.d.ts +134 -8
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +14 -1
- package/audits.d.ts +14 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +9 -1
- package/automations.d.ts +9 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +19 -4
- package/brands.d.ts +19 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
- package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
- package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
- package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
- package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
- package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
- package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
- package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
- package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
- package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
- package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
- package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
- package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
- package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/collections.d.mts +34 -22
- package/collections.d.ts +34 -22
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +13 -2
- package/data-connections.d.ts +13 -2
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +6 -1
- package/data-credentials.d.ts +6 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +7 -1
- package/data-files.d.ts +7 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +13 -1
- package/extensions.d.ts +13 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +51 -1
- package/glossaries.d.ts +51 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +40 -1
- package/groups.d.ts +40 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +43 -1
- package/identity-providers.d.ts +43 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +33 -2
- package/items.d.ts +33 -2
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +8 -5
- package/licenses.d.ts +8 -5
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +4 -1
- package/quotas.d.ts +4 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +7 -4
- package/reload-tasks.d.ts +7 -4
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +10 -1
- package/reloads.d.ts +10 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +11 -2
- package/roles.d.ts +11 -2
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +38 -6
- package/spaces.d.ts +38 -6
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +7 -1
- package/temp-contents.d.ts +7 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +18 -6
- package/tenants.d.ts +18 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +10 -1
- package/themes.d.ts +10 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +21 -12
- package/transports.d.ts +21 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +90 -25
- package/users.d.ts +90 -25
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +19 -1
- package/web-integrations.d.ts +19 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +19 -1
- package/web-notifications.d.ts +19 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +4 -1
- package/webhooks.d.ts +4 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-XY6FVSVM.js +0 -41
- package/invoke-fetch-FRLO3CK6.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/index.d.mts
CHANGED
|
@@ -30,7 +30,7 @@ import { UsersAPI } from './users.mjs';
|
|
|
30
30
|
import { WebIntegrationsAPI } from './web-integrations.mjs';
|
|
31
31
|
import { WebNotificationsAPI } from './web-notifications.mjs';
|
|
32
32
|
import { WebhooksAPI } from './webhooks.mjs';
|
|
33
|
-
import './global.types-
|
|
33
|
+
import './global.types-5iFvFJvX.mjs';
|
|
34
34
|
import './auth-types-nnUcWhuU.mjs';
|
|
35
35
|
|
|
36
36
|
declare const apiKeys: ApiKeysAPI;
|
package/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { UsersAPI } from './users.js';
|
|
|
30
30
|
import { WebIntegrationsAPI } from './web-integrations.js';
|
|
31
31
|
import { WebNotificationsAPI } from './web-notifications.js';
|
|
32
32
|
import { WebhooksAPI } from './webhooks.js';
|
|
33
|
-
import './global.types-
|
|
33
|
+
import './global.types-TzVhFPid.js';
|
|
34
34
|
import './auth-types-nnUcWhuU.js';
|
|
35
35
|
|
|
36
36
|
declare const apiKeys: ApiKeysAPI;
|
package/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _ILOY5QEAjs = require('./chunks/ILOY5QEA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _3MHXEHLQjs = require('./chunks/3MHXEHLQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./
|
|
12
|
-
require('./
|
|
10
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
11
|
+
require('./chunks/FG5GDUSZ.js');
|
|
12
|
+
require('./chunks/4HB3TAEO.js');
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
15
15
|
var methodAbbreviations = {
|
|
@@ -84,7 +84,7 @@ function apiDefToApi(namespace, def) {
|
|
|
84
84
|
return runtimeApiCache[namespace];
|
|
85
85
|
}
|
|
86
86
|
const api2 = {
|
|
87
|
-
clearCache: () =>
|
|
87
|
+
clearCache: () => _QMWU5E4Djs.clearApiCache.call(void 0, namespace)
|
|
88
88
|
};
|
|
89
89
|
const initFunc = () => {
|
|
90
90
|
traverse(namespace, "", def, api2);
|
|
@@ -153,7 +153,7 @@ function createClassicApiFn(namespace, operationName, pathTemplate, method, argN
|
|
|
153
153
|
if (useInstead) {
|
|
154
154
|
console.warn(`${namespace}.${operationName} is deprecated, use ${useInstead} instead`);
|
|
155
155
|
}
|
|
156
|
-
return
|
|
156
|
+
return _QMWU5E4Djs.invokeFetch.call(void 0, namespace, {
|
|
157
157
|
method,
|
|
158
158
|
pathTemplate,
|
|
159
159
|
pathVariables,
|
|
@@ -249,7 +249,7 @@ var audits = apiDefToApi("audits", {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
|
-
var auth =
|
|
252
|
+
var auth = _ILOY5QEAjs.auth_default;
|
|
253
253
|
var automations = apiDefToApi("automations", {
|
|
254
254
|
api: {
|
|
255
255
|
v1: {
|
|
@@ -496,7 +496,7 @@ var licenses = apiDefToApi("licenses", {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
});
|
|
499
|
-
var qix =
|
|
499
|
+
var qix = _3MHXEHLQjs.qix_default;
|
|
500
500
|
var quotas = apiDefToApi("quotas", {
|
|
501
501
|
api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
|
|
502
502
|
});
|
package/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
auth_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./chunks/FUU5VIC4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
qix_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./chunks/KEPPVUY3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
clearApiCache,
|
|
9
9
|
invokeFetch
|
|
10
|
-
} from "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
10
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
11
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
12
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
15
15
|
var methodAbbreviations = {
|
package/items.d.mts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type CollectionTypes = "private" | "public" | "publicgoverned";
|
|
5
5
|
type ErrorResponseBody = {
|
|
6
6
|
errors?: ServiceError[];
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* ListItemCollectionsResponseBody result type
|
|
10
|
+
*/
|
|
8
11
|
type ItemsListItemCollectionsResponseBody = {
|
|
9
12
|
data: CollectionResultResponseBody[];
|
|
10
13
|
links: CollectionsLinksResponseBody;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* ListItemsResponseBody result type
|
|
17
|
+
*/
|
|
12
18
|
type ItemsListItemsResponseBody = {
|
|
13
19
|
data: ItemResultResponseBody[];
|
|
14
20
|
links: ItemsLinksResponseBody;
|
|
@@ -61,10 +67,16 @@ type CollectionLinksResponseBody = {
|
|
|
61
67
|
items?: Link;
|
|
62
68
|
self?: Link;
|
|
63
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Collection metadata and computed fields.
|
|
72
|
+
*/
|
|
64
73
|
type CollectionMetaResponseBody = {
|
|
65
74
|
/** Multiple items. */
|
|
66
75
|
items?: ItemsResultResponseBody;
|
|
67
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* A collection.
|
|
79
|
+
*/
|
|
68
80
|
type CollectionResultResponseBody = {
|
|
69
81
|
/** The RFC3339 datetime when the collection was created. */
|
|
70
82
|
createdAt: string;
|
|
@@ -101,6 +113,9 @@ type ItemLinksResponseBody = {
|
|
|
101
113
|
self?: Link;
|
|
102
114
|
thumbnail?: Link;
|
|
103
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* Item metadata and computed fields.
|
|
118
|
+
*/
|
|
104
119
|
type ItemMetaResponseBody = {
|
|
105
120
|
/** The actions that the user can perform on the item. */
|
|
106
121
|
actions: string[];
|
|
@@ -111,7 +126,13 @@ type ItemMetaResponseBody = {
|
|
|
111
126
|
/** An array of tags that the item is part of. */
|
|
112
127
|
tags: ItemTagResponseBody[];
|
|
113
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* The case-sensitive string defining the item's type.
|
|
131
|
+
*/
|
|
114
132
|
type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
|
|
133
|
+
/**
|
|
134
|
+
* An item.
|
|
135
|
+
*/
|
|
115
136
|
type ItemResultResponseBody = {
|
|
116
137
|
/** The actions that the user can perform on the item. */
|
|
117
138
|
actions: string[];
|
|
@@ -163,6 +184,9 @@ type ItemResultResponseBody = {
|
|
|
163
184
|
/** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
|
|
164
185
|
updaterId?: string;
|
|
165
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* Holds basic information about a tag or collection.
|
|
189
|
+
*/
|
|
166
190
|
type ItemTagResponseBody = {
|
|
167
191
|
/** The ID of the tag/collection. */
|
|
168
192
|
id: string;
|
|
@@ -200,6 +224,9 @@ type ItemsResourceSizeResponseBody = {
|
|
|
200
224
|
/** Size of the app in memory in bytes. */
|
|
201
225
|
appMemory?: number;
|
|
202
226
|
};
|
|
227
|
+
/**
|
|
228
|
+
* Multiple items.
|
|
229
|
+
*/
|
|
203
230
|
type ItemsResultResponseBody = {
|
|
204
231
|
data: ItemResultResponseBody[];
|
|
205
232
|
links: ItemsLinksResponseBody;
|
|
@@ -214,6 +241,9 @@ type Meta = {
|
|
|
214
241
|
/** Is the error a timeout? */
|
|
215
242
|
timeout?: boolean;
|
|
216
243
|
};
|
|
244
|
+
/**
|
|
245
|
+
* The case-sensitive string defining the space type.
|
|
246
|
+
*/
|
|
217
247
|
type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
218
248
|
/**
|
|
219
249
|
* Finds and returns items that the user has access to.
|
|
@@ -256,7 +286,8 @@ declare const getItems: (query: {
|
|
|
256
286
|
resourceSubType?: string | undefined;
|
|
257
287
|
/** The case-sensitive string used to filter items by resourceType(s). For example '?resourceType=app,qvapp'. Additionally, a optional resourceSubType filter can be added to each resourceType. For example '?resourceType=app[qvd,chart-monitoring],qvapp'. An trailing comma can be used to include the empty resourceSubType, e.g. '?resourceType=app[qvd,chart-monitoring,]', or, to include only empty resourceSubTypes, '?resourceType=app[]' This syntax replaces the 'resourceSubType' query param, and using both in the same query will result in a 400 error. */
|
|
258
288
|
resourceType?: ItemResourceTypeEnum | undefined;
|
|
259
|
-
/**
|
|
289
|
+
/** @deprecated
|
|
290
|
+
* Whether or not to return items in a shared space. */
|
|
260
291
|
shared?: boolean | undefined;
|
|
261
292
|
/** 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. */
|
|
262
293
|
sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
|
package/items.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type CollectionTypes = "private" | "public" | "publicgoverned";
|
|
5
5
|
type ErrorResponseBody = {
|
|
6
6
|
errors?: ServiceError[];
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* ListItemCollectionsResponseBody result type
|
|
10
|
+
*/
|
|
8
11
|
type ItemsListItemCollectionsResponseBody = {
|
|
9
12
|
data: CollectionResultResponseBody[];
|
|
10
13
|
links: CollectionsLinksResponseBody;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* ListItemsResponseBody result type
|
|
17
|
+
*/
|
|
12
18
|
type ItemsListItemsResponseBody = {
|
|
13
19
|
data: ItemResultResponseBody[];
|
|
14
20
|
links: ItemsLinksResponseBody;
|
|
@@ -61,10 +67,16 @@ type CollectionLinksResponseBody = {
|
|
|
61
67
|
items?: Link;
|
|
62
68
|
self?: Link;
|
|
63
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Collection metadata and computed fields.
|
|
72
|
+
*/
|
|
64
73
|
type CollectionMetaResponseBody = {
|
|
65
74
|
/** Multiple items. */
|
|
66
75
|
items?: ItemsResultResponseBody;
|
|
67
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* A collection.
|
|
79
|
+
*/
|
|
68
80
|
type CollectionResultResponseBody = {
|
|
69
81
|
/** The RFC3339 datetime when the collection was created. */
|
|
70
82
|
createdAt: string;
|
|
@@ -101,6 +113,9 @@ type ItemLinksResponseBody = {
|
|
|
101
113
|
self?: Link;
|
|
102
114
|
thumbnail?: Link;
|
|
103
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* Item metadata and computed fields.
|
|
118
|
+
*/
|
|
104
119
|
type ItemMetaResponseBody = {
|
|
105
120
|
/** The actions that the user can perform on the item. */
|
|
106
121
|
actions: string[];
|
|
@@ -111,7 +126,13 @@ type ItemMetaResponseBody = {
|
|
|
111
126
|
/** An array of tags that the item is part of. */
|
|
112
127
|
tags: ItemTagResponseBody[];
|
|
113
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* The case-sensitive string defining the item's type.
|
|
131
|
+
*/
|
|
114
132
|
type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
|
|
133
|
+
/**
|
|
134
|
+
* An item.
|
|
135
|
+
*/
|
|
115
136
|
type ItemResultResponseBody = {
|
|
116
137
|
/** The actions that the user can perform on the item. */
|
|
117
138
|
actions: string[];
|
|
@@ -163,6 +184,9 @@ type ItemResultResponseBody = {
|
|
|
163
184
|
/** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
|
|
164
185
|
updaterId?: string;
|
|
165
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* Holds basic information about a tag or collection.
|
|
189
|
+
*/
|
|
166
190
|
type ItemTagResponseBody = {
|
|
167
191
|
/** The ID of the tag/collection. */
|
|
168
192
|
id: string;
|
|
@@ -200,6 +224,9 @@ type ItemsResourceSizeResponseBody = {
|
|
|
200
224
|
/** Size of the app in memory in bytes. */
|
|
201
225
|
appMemory?: number;
|
|
202
226
|
};
|
|
227
|
+
/**
|
|
228
|
+
* Multiple items.
|
|
229
|
+
*/
|
|
203
230
|
type ItemsResultResponseBody = {
|
|
204
231
|
data: ItemResultResponseBody[];
|
|
205
232
|
links: ItemsLinksResponseBody;
|
|
@@ -214,6 +241,9 @@ type Meta = {
|
|
|
214
241
|
/** Is the error a timeout? */
|
|
215
242
|
timeout?: boolean;
|
|
216
243
|
};
|
|
244
|
+
/**
|
|
245
|
+
* The case-sensitive string defining the space type.
|
|
246
|
+
*/
|
|
217
247
|
type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
218
248
|
/**
|
|
219
249
|
* Finds and returns items that the user has access to.
|
|
@@ -256,7 +286,8 @@ declare const getItems: (query: {
|
|
|
256
286
|
resourceSubType?: string | undefined;
|
|
257
287
|
/** The case-sensitive string used to filter items by resourceType(s). For example '?resourceType=app,qvapp'. Additionally, a optional resourceSubType filter can be added to each resourceType. For example '?resourceType=app[qvd,chart-monitoring],qvapp'. An trailing comma can be used to include the empty resourceSubType, e.g. '?resourceType=app[qvd,chart-monitoring,]', or, to include only empty resourceSubTypes, '?resourceType=app[]' This syntax replaces the 'resourceSubType' query param, and using both in the same query will result in a 400 error. */
|
|
258
288
|
resourceType?: ItemResourceTypeEnum | undefined;
|
|
259
|
-
/**
|
|
289
|
+
/** @deprecated
|
|
290
|
+
* Whether or not to return items in a shared space. */
|
|
260
291
|
shared?: boolean | undefined;
|
|
261
292
|
/** 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. */
|
|
262
293
|
sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
|
package/items.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/items.ts
|
|
9
|
-
var getItems = async (query, options) =>
|
|
9
|
+
var getItems = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/items",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getItemsSettings = async (options) =>
|
|
15
|
+
var getItemsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/items/settings",
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var patchItemsSettings = async (body, options) =>
|
|
20
|
+
var patchItemsSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
21
21
|
method: "patch",
|
|
22
22
|
pathTemplate: "/api/v1/items/settings",
|
|
23
23
|
body,
|
|
24
24
|
contentType: "application/json",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteItem = async (itemId, options) =>
|
|
27
|
+
var deleteItem = async (itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
30
30
|
pathVariables: { itemId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getItem = async (itemId, options) =>
|
|
33
|
+
var getItem = async (itemId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
36
36
|
pathVariables: { itemId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var updateItem = async (itemId, body, options) =>
|
|
39
|
+
var updateItem = async (itemId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
40
40
|
method: "put",
|
|
41
41
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
42
42
|
pathVariables: { itemId },
|
|
@@ -44,14 +44,14 @@ var updateItem = async (itemId, body, options) => _chunkEALMXU6Sjs.invokeFetch.c
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getItemCollections = async (itemId, query, options) =>
|
|
47
|
+
var getItemCollections = async (itemId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/items/{itemId}/collections",
|
|
50
50
|
pathVariables: { itemId },
|
|
51
51
|
query,
|
|
52
52
|
options
|
|
53
53
|
});
|
|
54
|
-
var getPublishedItems = async (itemId, query, options) =>
|
|
54
|
+
var getPublishedItems = async (itemId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "items", {
|
|
55
55
|
method: "get",
|
|
56
56
|
pathTemplate: "/api/v1/items/{itemId}/publisheditems",
|
|
57
57
|
pathVariables: { itemId },
|
|
@@ -59,7 +59,7 @@ var getPublishedItems = async (itemId, query, options) => _chunkEALMXU6Sjs.invok
|
|
|
59
59
|
options
|
|
60
60
|
});
|
|
61
61
|
function clearCache() {
|
|
62
|
-
return
|
|
62
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "items");
|
|
63
63
|
}
|
|
64
64
|
var itemsExport = {
|
|
65
65
|
getItems,
|
package/items.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
5
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/items.ts
|
|
9
9
|
var getItems = async (query, options) => invokeFetch("items", {
|
package/licenses.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type AssignmentsActionsAddRequest = {
|
|
@@ -85,7 +85,8 @@ type AssignmentsResponse = {
|
|
|
85
85
|
subject: string;
|
|
86
86
|
/** Allotment type */
|
|
87
87
|
type: string;
|
|
88
|
-
/**
|
|
88
|
+
/** @deprecated
|
|
89
|
+
* User ID */
|
|
89
90
|
userId?: string;
|
|
90
91
|
}[];
|
|
91
92
|
links: {
|
|
@@ -122,7 +123,8 @@ type ConsumptionEventsResponse = {
|
|
|
122
123
|
};
|
|
123
124
|
};
|
|
124
125
|
type ErrorResponse = {
|
|
125
|
-
/**
|
|
126
|
+
/** @deprecated
|
|
127
|
+
* Error type */
|
|
126
128
|
error: string;
|
|
127
129
|
errors: {
|
|
128
130
|
/** Error code */
|
|
@@ -132,7 +134,8 @@ type ErrorResponse = {
|
|
|
132
134
|
/** Error title */
|
|
133
135
|
title: string;
|
|
134
136
|
}[];
|
|
135
|
-
/**
|
|
137
|
+
/** @deprecated
|
|
138
|
+
* Error message */
|
|
136
139
|
message: string;
|
|
137
140
|
};
|
|
138
141
|
type Href = {
|
|
@@ -292,7 +295,7 @@ type UpdateLicenseAssignmentsHttpError = {
|
|
|
292
295
|
* @throws GetLicenseConsumptionHttpError
|
|
293
296
|
*/
|
|
294
297
|
declare const getLicenseConsumption: (query: {
|
|
295
|
-
/** The filter for
|
|
298
|
+
/** The SCIM filter for the query. Filterable property is "endTime". */
|
|
296
299
|
filter?: string;
|
|
297
300
|
/** The preferred number of entries to return. */
|
|
298
301
|
limit?: number;
|
package/licenses.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type AssignmentsActionsAddRequest = {
|
|
@@ -85,7 +85,8 @@ type AssignmentsResponse = {
|
|
|
85
85
|
subject: string;
|
|
86
86
|
/** Allotment type */
|
|
87
87
|
type: string;
|
|
88
|
-
/**
|
|
88
|
+
/** @deprecated
|
|
89
|
+
* User ID */
|
|
89
90
|
userId?: string;
|
|
90
91
|
}[];
|
|
91
92
|
links: {
|
|
@@ -122,7 +123,8 @@ type ConsumptionEventsResponse = {
|
|
|
122
123
|
};
|
|
123
124
|
};
|
|
124
125
|
type ErrorResponse = {
|
|
125
|
-
/**
|
|
126
|
+
/** @deprecated
|
|
127
|
+
* Error type */
|
|
126
128
|
error: string;
|
|
127
129
|
errors: {
|
|
128
130
|
/** Error code */
|
|
@@ -132,7 +134,8 @@ type ErrorResponse = {
|
|
|
132
134
|
/** Error title */
|
|
133
135
|
title: string;
|
|
134
136
|
}[];
|
|
135
|
-
/**
|
|
137
|
+
/** @deprecated
|
|
138
|
+
* Error message */
|
|
136
139
|
message: string;
|
|
137
140
|
};
|
|
138
141
|
type Href = {
|
|
@@ -292,7 +295,7 @@ type UpdateLicenseAssignmentsHttpError = {
|
|
|
292
295
|
* @throws GetLicenseConsumptionHttpError
|
|
293
296
|
*/
|
|
294
297
|
declare const getLicenseConsumption: (query: {
|
|
295
|
-
/** The filter for
|
|
298
|
+
/** The SCIM filter for the query. Filterable property is "endTime". */
|
|
296
299
|
filter?: string;
|
|
297
300
|
/** The preferred number of entries to return. */
|
|
298
301
|
limit?: number;
|
package/licenses.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
|
-
var getLicenseAssignments = async (query, options) =>
|
|
9
|
+
var getLicenseAssignments = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/licenses/assignments",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var addLicenseAssignments = async (body, options) =>
|
|
15
|
+
var addLicenseAssignments = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/licenses/assignments/actions/add",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteLicenseAssignments = async (body, options) =>
|
|
22
|
+
var deleteLicenseAssignments = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/licenses/assignments/actions/delete",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var updateLicenseAssignments = async (body, options) =>
|
|
29
|
+
var updateLicenseAssignments = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/licenses/assignments/actions/update",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getLicenseConsumption = async (query, options) =>
|
|
36
|
+
var getLicenseConsumption = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/licenses/consumption",
|
|
39
39
|
query,
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var getLicenseOverview = async (options) =>
|
|
42
|
+
var getLicenseOverview = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
43
43
|
method: "get",
|
|
44
44
|
pathTemplate: "/api/v1/licenses/overview",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getLicenseSettings = async (options) =>
|
|
47
|
+
var getLicenseSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/licenses/settings",
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var updateLicenseSettings = async (body, options) =>
|
|
52
|
+
var updateLicenseSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
53
53
|
method: "put",
|
|
54
54
|
pathTemplate: "/api/v1/licenses/settings",
|
|
55
55
|
body,
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
|
-
var getLicenseStatus = async (options) =>
|
|
59
|
+
var getLicenseStatus = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "licenses", {
|
|
60
60
|
method: "get",
|
|
61
61
|
pathTemplate: "/api/v1/licenses/status",
|
|
62
62
|
options
|
|
63
63
|
});
|
|
64
64
|
function clearCache() {
|
|
65
|
-
return
|
|
65
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "licenses");
|
|
66
66
|
}
|
|
67
67
|
var licensesExport = {
|
|
68
68
|
getLicenseAssignments,
|
package/licenses.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
5
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
9
|
var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
|
package/package.json
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
"url": "git+https://github.com/qlik-oss/qlik-api-ts.git"
|
|
7
7
|
},
|
|
8
8
|
"license": "ISC",
|
|
9
|
+
"browser": {
|
|
10
|
+
"fs": false
|
|
11
|
+
},
|
|
9
12
|
"dependencies": {
|
|
10
13
|
"@qlik/embed-runtime": "^0.6.3",
|
|
11
14
|
"@qlik/runtime-module-loader": "^0.2.4",
|
|
@@ -249,5 +252,5 @@
|
|
|
249
252
|
"import": "./auth.mjs"
|
|
250
253
|
}
|
|
251
254
|
},
|
|
252
|
-
"version": "0.0.
|
|
255
|
+
"version": "0.0.10"
|
|
253
256
|
}
|
package/qix.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './global.types-
|
|
1
|
+
import './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import { H as HostConfig } from './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.1958.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
|
@@ -9038,6 +9038,13 @@ type NativeGenericDimensionFunctions = {
|
|
|
9038
9038
|
* Stability: *locked*
|
|
9039
9039
|
*/
|
|
9040
9040
|
approve: () => Promise<void>;
|
|
9041
|
+
/**
|
|
9042
|
+
* Get a cyclic dimension's active field.
|
|
9043
|
+
* <div class=tip>This operation is only possible for cyclic dimensions.</div>
|
|
9044
|
+
*
|
|
9045
|
+
* Stability: *experimental*
|
|
9046
|
+
*/
|
|
9047
|
+
getActiveField: () => Promise<number>;
|
|
9041
9048
|
/**
|
|
9042
9049
|
* Returns the definition of a dimension.
|
|
9043
9050
|
*
|
|
@@ -9079,6 +9086,17 @@ type NativeGenericDimensionFunctions = {
|
|
|
9079
9086
|
* Stability: *locked*
|
|
9080
9087
|
*/
|
|
9081
9088
|
publish: () => Promise<void>;
|
|
9089
|
+
/**
|
|
9090
|
+
* Set a cyclic dimension's active field directly.
|
|
9091
|
+
* <div class=tip>This operation is only possible for cyclic dimensions.</div>
|
|
9092
|
+
*
|
|
9093
|
+
* Parameters:
|
|
9094
|
+
*
|
|
9095
|
+
* - `ix` - Index of the new active field.
|
|
9096
|
+
*
|
|
9097
|
+
* Stability: *experimental*
|
|
9098
|
+
*/
|
|
9099
|
+
setActiveField: (ix: number) => Promise<void>;
|
|
9082
9100
|
/**
|
|
9083
9101
|
* Sets some properties for a dimension.
|
|
9084
9102
|
*
|