@qlik/api 0.0.9 → 0.0.11
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/{XY3AC335.js → 277NFGPR.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
- package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
- package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
- package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
- package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
- package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
- 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
package/identity-providers.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ type BaseIDP = {
|
|
|
26
26
|
/** The tenant identifiers associated with the given IdP. */
|
|
27
27
|
tenantIds?: string[];
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* Payload for creating an identity provider using JWT authentication.
|
|
31
|
+
*/
|
|
29
32
|
type CreateJWTAuthPayload = {
|
|
30
33
|
/** There can be clock skew between the IdP and Qlik's login server, in these cases a tolerance can be set, decimals will be rounded off. */
|
|
31
34
|
clockToleranceSec?: number;
|
|
@@ -49,6 +52,9 @@ type CreateJWTAuthPayload = {
|
|
|
49
52
|
/** The tenant identifiers that map to the given IdP. */
|
|
50
53
|
tenantIds?: string[];
|
|
51
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Payload for creating an OIDC-compatible identity provider.
|
|
57
|
+
*/
|
|
52
58
|
type CreateOIDCPayload = {
|
|
53
59
|
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set, decimals will be rounded off. */
|
|
54
60
|
clockToleranceSec?: number;
|
|
@@ -106,6 +112,9 @@ type CreateOIDCPayload = {
|
|
|
106
112
|
/** The tenant identifiers that map to the given IdP. */
|
|
107
113
|
tenantIds?: string[];
|
|
108
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* An error object.
|
|
117
|
+
*/
|
|
109
118
|
type Error = {
|
|
110
119
|
/** The error code. */
|
|
111
120
|
code: string;
|
|
@@ -125,6 +134,9 @@ type Error = {
|
|
|
125
134
|
/** Summary of the problem. */
|
|
126
135
|
title: string;
|
|
127
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* A representation of the errors encountered from the HTTP request.
|
|
139
|
+
*/
|
|
128
140
|
type Errors = {
|
|
129
141
|
errors?: Error[];
|
|
130
142
|
};
|
|
@@ -135,6 +147,9 @@ type IDPArray = {
|
|
|
135
147
|
/** Contains pagination links. */
|
|
136
148
|
links?: Links;
|
|
137
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* An identity provider for JWT authentication.
|
|
152
|
+
*/
|
|
138
153
|
type IDPJWTAuth = BaseIDP & {
|
|
139
154
|
options?: {
|
|
140
155
|
/** The expected JWT issuer */
|
|
@@ -153,6 +168,9 @@ type IDPMeta = {
|
|
|
153
168
|
/** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
|
|
154
169
|
userPortalLink?: string;
|
|
155
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* An OIDC-compliant identity provider.
|
|
173
|
+
*/
|
|
156
174
|
type IDPOIDC = BaseIDP & {
|
|
157
175
|
options?: IDPOptions;
|
|
158
176
|
pendingOptions?: IDPOptions;
|
|
@@ -184,7 +202,13 @@ type IDPOptions = {
|
|
|
184
202
|
};
|
|
185
203
|
type IDPPatchSchema = PatchOIDCPayload[] | PatchJWTAuthPayload[];
|
|
186
204
|
type IDPPostSchema = CreateOIDCPayload | CreateJWTAuthPayload;
|
|
205
|
+
/**
|
|
206
|
+
* The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `jwtAuth`, and `qsefw-local-bearer-token`.
|
|
207
|
+
*/
|
|
187
208
|
type IDPProtocol = "OIDC" | "jwtAuth" | "qsefw-local-bearer-token";
|
|
209
|
+
/**
|
|
210
|
+
* The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`.
|
|
211
|
+
*/
|
|
188
212
|
type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycloak" | "adfs" | "external" | "azureAD";
|
|
189
213
|
type IDPsStatus = {
|
|
190
214
|
/** The number of active interactive IdPs. */
|
|
@@ -199,6 +223,9 @@ type IDPsStatus = {
|
|
|
199
223
|
provider?: IDPProvider;
|
|
200
224
|
}[];
|
|
201
225
|
};
|
|
226
|
+
/**
|
|
227
|
+
* Contains pagination links.
|
|
228
|
+
*/
|
|
202
229
|
type Links = {
|
|
203
230
|
next?: {
|
|
204
231
|
/** Link to the next page of items. */
|
|
@@ -213,6 +240,9 @@ type Links = {
|
|
|
213
240
|
href?: string;
|
|
214
241
|
};
|
|
215
242
|
};
|
|
243
|
+
/**
|
|
244
|
+
* OpenID configuration
|
|
245
|
+
*/
|
|
216
246
|
type OpenIDConfiguration = {
|
|
217
247
|
/** OAuth 2.0 Authorization Endpoint */
|
|
218
248
|
authorization_endpoint: string;
|
|
@@ -229,6 +259,9 @@ type OpenIDConfiguration = {
|
|
|
229
259
|
/** URL of the OP's UserInfo Endpoint */
|
|
230
260
|
userinfo_endpoint?: string;
|
|
231
261
|
};
|
|
262
|
+
/**
|
|
263
|
+
* A patch request for an identity provider using the `jwtAuth` protocol.
|
|
264
|
+
*/
|
|
232
265
|
type PatchJWTAuthPayload = {
|
|
233
266
|
/** The "operation" to be performed on a given IdP. */
|
|
234
267
|
op: "replace";
|
|
@@ -237,6 +270,9 @@ type PatchJWTAuthPayload = {
|
|
|
237
270
|
/** The "value" data type is dependent on the path value being used. */
|
|
238
271
|
value?: unknown;
|
|
239
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* A patch request for an identity provider using the `OIDC` protocol.
|
|
275
|
+
*/
|
|
240
276
|
type PatchOIDCPayload = {
|
|
241
277
|
/** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
|
|
242
278
|
op: "replace" | "promote-options";
|
|
@@ -265,6 +301,9 @@ type PendingResult = {
|
|
|
265
301
|
/** The status of the IdP configuration being tested. */
|
|
266
302
|
status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
|
|
267
303
|
};
|
|
304
|
+
/**
|
|
305
|
+
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
306
|
+
*/
|
|
268
307
|
type ClaimsMappingInteractive = {
|
|
269
308
|
/** A list of JSON pointers used to map the user's client ID. */
|
|
270
309
|
client_id?: string[];
|
|
@@ -285,6 +324,9 @@ type ClaimsMappingInteractive = {
|
|
|
285
324
|
/** A list of JSON pointers used to map the user's zoneinfo. */
|
|
286
325
|
zoneinfo?: string[];
|
|
287
326
|
};
|
|
327
|
+
/**
|
|
328
|
+
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
329
|
+
*/
|
|
288
330
|
type ClaimsMappingNonInteractive = {
|
|
289
331
|
/** A list of JSON pointers used to map the user's client ID. */
|
|
290
332
|
client_id?: string[];
|
package/identity-providers.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/identity-providers.ts
|
|
9
|
-
var getIdps = async (query, options) =>
|
|
9
|
+
var getIdps = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/identity-providers",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createIdp = async (body, options) =>
|
|
15
|
+
var createIdp = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/identity-providers",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getIdpWellKnownMetaData = async (options) =>
|
|
22
|
+
var getIdpWellKnownMetaData = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/identity-providers/.well-known/metadata.json",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var getMyIdpMeta = async (options) =>
|
|
27
|
+
var getMyIdpMeta = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
28
28
|
method: "get",
|
|
29
29
|
pathTemplate: "/api/v1/identity-providers/me/meta",
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var getIdpStatuses = async (options) =>
|
|
32
|
+
var getIdpStatuses = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
33
33
|
method: "get",
|
|
34
34
|
pathTemplate: "/api/v1/identity-providers/status",
|
|
35
35
|
options
|
|
36
36
|
});
|
|
37
|
-
var deleteIdp = async (id, options) =>
|
|
37
|
+
var deleteIdp = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
38
38
|
method: "delete",
|
|
39
39
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
40
40
|
pathVariables: { id },
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var getIdp = async (id, options) =>
|
|
43
|
+
var getIdp = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
44
44
|
method: "get",
|
|
45
45
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
46
46
|
pathVariables: { id },
|
|
47
47
|
options
|
|
48
48
|
});
|
|
49
|
-
var patchIdp = async (id, body, options) =>
|
|
49
|
+
var patchIdp = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "identity-providers", {
|
|
50
50
|
method: "patch",
|
|
51
51
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
52
52
|
pathVariables: { id },
|
|
@@ -55,7 +55,7 @@ var patchIdp = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0,
|
|
|
55
55
|
options
|
|
56
56
|
});
|
|
57
57
|
function clearCache() {
|
|
58
|
-
return
|
|
58
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "identity-providers");
|
|
59
59
|
}
|
|
60
60
|
var identityProvidersExport = {
|
|
61
61
|
getIdps,
|
package/identity-providers.mjs
CHANGED
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _277NFGPRjs = require('./chunks/277NFGPR.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _XP7ALS4Ojs = require('./chunks/XP7ALS4O.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunks/
|
|
10
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
11
|
+
require('./chunks/NBNOAZT5.js');
|
|
12
12
|
require('./chunks/4HB3TAEO.js');
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
@@ -84,7 +84,7 @@ function apiDefToApi(namespace, def) {
|
|
|
84
84
|
return runtimeApiCache[namespace];
|
|
85
85
|
}
|
|
86
86
|
const api2 = {
|
|
87
|
-
clearCache: () =>
|
|
87
|
+
clearCache: () => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.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 = _277NFGPRjs.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 = _XP7ALS4Ojs.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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
auth_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/G36LDZ2O.mjs";
|
|
4
4
|
import {
|
|
5
5
|
qix_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/4E3AP3QF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
clearApiCache,
|
|
9
9
|
invokeFetch
|
|
10
|
-
} from "./chunks/
|
|
11
|
-
import "./chunks/
|
|
10
|
+
} from "./chunks/J3UXBHGX.mjs";
|
|
11
|
+
import "./chunks/E3HDOP72.mjs";
|
|
12
12
|
import "./chunks/VSY5YIQY.mjs";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
package/items.d.mts
CHANGED
|
@@ -5,10 +5,16 @@ 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
|
@@ -5,10 +5,16 @@ 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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(v
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getItemCollections = async (itemId, query, options) =>
|
|
47
|
+
var getItemCollections = async (itemId, query, options) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetc
|
|
|
59
59
|
options
|
|
60
60
|
});
|
|
61
61
|
function clearCache() {
|
|
62
|
-
return
|
|
62
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "items");
|
|
63
63
|
}
|
|
64
64
|
var itemsExport = {
|
|
65
65
|
getItems,
|
package/items.mjs
CHANGED
package/licenses.d.mts
CHANGED
|
@@ -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
|
@@ -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;
|