@qlik/api 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-keys.d.ts +6 -6
- package/apps.d.ts +3 -5
- package/collections.d.ts +23 -23
- package/items.d.ts +28 -28
- package/package.json +1 -1
- package/qix.d.ts +6 -2
- package/spaces.d.ts +1 -1
- package/webhooks.d.ts +2 -0
package/api-keys.d.ts
CHANGED
|
@@ -16,10 +16,10 @@ type ApiKey = {
|
|
|
16
16
|
readonly lastUpdated?: string;
|
|
17
17
|
/** The status of the API key. */
|
|
18
18
|
status: "active" | "expired" | "revoked";
|
|
19
|
-
/** The ID of the subject for the API key. */
|
|
19
|
+
/** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. */
|
|
20
20
|
sub: string;
|
|
21
|
-
/** Type of the subject. */
|
|
22
|
-
subType: "user";
|
|
21
|
+
/** Type of the subject. For SCIM, it should be `externalClient`. */
|
|
22
|
+
subType: "user" | "externalClient";
|
|
23
23
|
/** The tenant ID. */
|
|
24
24
|
tenantId: string;
|
|
25
25
|
};
|
|
@@ -28,10 +28,10 @@ type ApiKeyBody = {
|
|
|
28
28
|
description: string;
|
|
29
29
|
/** The expiry of the API key, in ISO8601 duration format. */
|
|
30
30
|
expiry?: string;
|
|
31
|
-
/** The ID of the subject for the API key. */
|
|
31
|
+
/** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. */
|
|
32
32
|
sub?: string;
|
|
33
|
-
/** Type of the subject. */
|
|
34
|
-
subType?:
|
|
33
|
+
/** Type of the subject. For SCIM, it should be `externalClient`. */
|
|
34
|
+
subType?: "user" | "externalClient";
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
package/apps.d.ts
CHANGED
|
@@ -1780,13 +1780,10 @@ type GetAppReloadMetadataHttpError = {
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
declare const getAppReportFilters: (appId: string, query: {
|
|
1782
1782
|
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. Cannot be combined with any of the fields marked as deprecated. All conditional statements within this query parameter are case insensitive.
|
|
1783
|
-
* The following fields support the `co` (contains) operator: `name
|
|
1783
|
+
* The following fields support the `co` (contains) operator: `name`, `description`
|
|
1784
1784
|
* The following fields support the `eq` (equals) operator: `ownerId`
|
|
1785
|
-
* ```
|
|
1786
1785
|
* Example:
|
|
1787
|
-
*
|
|
1788
|
-
* (name co "query1" or description co "query2") and ownerId eq "123"
|
|
1789
|
-
* ``` */
|
|
1786
|
+
* (name co "query1" or description co "query2") and ownerId eq "123" */
|
|
1790
1787
|
filter?: string;
|
|
1791
1788
|
/** The filter type (REP, SUB). REP stands for report bookmark, SUB for subscription bookmark. */
|
|
1792
1789
|
filterTypes?: ("REP" | "SUB")[];
|
|
@@ -1794,6 +1791,7 @@ declare const getAppReportFilters: (appId: string, query: {
|
|
|
1794
1791
|
limit?: number;
|
|
1795
1792
|
/** If present, the cursor that starts the page of data that is returned. */
|
|
1796
1793
|
page?: string;
|
|
1794
|
+
/** Sorting parameters. */
|
|
1797
1795
|
sort?: ("+ownerId" | "-ownerId" | "-name" | "+name" | "+description" | "-description" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt")[];
|
|
1798
1796
|
}, options?: ApiCallOptions) => Promise<GetAppReportFiltersHttpResponse>;
|
|
1799
1797
|
type GetAppReportFiltersHttpResponse = {
|
package/collections.d.ts
CHANGED
|
@@ -240,31 +240,31 @@ type Meta = {
|
|
|
240
240
|
*/
|
|
241
241
|
declare const getCollections: (query: {
|
|
242
242
|
/** The case-sensitive string used to search for a resource by creatorId. */
|
|
243
|
-
creatorId?: string
|
|
243
|
+
creatorId?: string;
|
|
244
244
|
/** The collection's unique identifier. */
|
|
245
|
-
id?: string
|
|
245
|
+
id?: string;
|
|
246
246
|
/** Includes the list of items belonging to the collections. Supported parameters are 'limit', 'sort' and 'resourceType'. Supported formats are json formatted string or deep object style using square brackets. */
|
|
247
|
-
includeItems?: string
|
|
247
|
+
includeItems?: string;
|
|
248
248
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
249
|
-
limit?: number
|
|
249
|
+
limit?: number;
|
|
250
250
|
/** The case-sensitive string used to search for a collection by name. */
|
|
251
|
-
name?: string
|
|
251
|
+
name?: string;
|
|
252
252
|
/** The cursor to the next page of resources. Provide either the
|
|
253
253
|
* next or prev cursor, but not both. */
|
|
254
|
-
next?: string
|
|
254
|
+
next?: string;
|
|
255
255
|
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
256
|
-
prev?: string
|
|
256
|
+
prev?: string;
|
|
257
257
|
/** The case-insensitive string used to search for a resource by name or description. */
|
|
258
|
-
query?: string
|
|
258
|
+
query?: string;
|
|
259
259
|
/** The property of a resource to sort on (default sort is +createdAt).
|
|
260
260
|
* The supported properties are createdAt, updatedAt, and name. A property
|
|
261
261
|
* must be prefixed by + or - to indicate ascending or descending sort order
|
|
262
262
|
* respectively. */
|
|
263
|
-
sort?: "
|
|
263
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
264
264
|
/** The case-sensitive string used to filter for a collection by type. */
|
|
265
|
-
type?: CollectionTypes
|
|
265
|
+
type?: CollectionTypes;
|
|
266
266
|
/** A commaseparated case-sensitive string used to filter by multiple types. */
|
|
267
|
-
types?: CollectionTypes[]
|
|
267
|
+
types?: CollectionTypes[];
|
|
268
268
|
}, options?: ApiCallOptions) => Promise<GetCollectionsHttpResponse>;
|
|
269
269
|
type GetCollectionsHttpResponse = {
|
|
270
270
|
data: CollectionsListCollectionsResponseBody;
|
|
@@ -391,30 +391,30 @@ type UpdateCollectionHttpError = {
|
|
|
391
391
|
*/
|
|
392
392
|
declare const getCollectionItems: (collectionId: string, query: {
|
|
393
393
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
394
|
-
limit?: number
|
|
394
|
+
limit?: number;
|
|
395
395
|
/** The case-insensitive string used to search for a resource by name. */
|
|
396
|
-
name?: string
|
|
396
|
+
name?: string;
|
|
397
397
|
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
398
|
-
next?: string
|
|
398
|
+
next?: string;
|
|
399
399
|
/** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
|
|
400
|
-
noActions?: boolean
|
|
400
|
+
noActions?: boolean;
|
|
401
401
|
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
402
|
-
prev?: string
|
|
402
|
+
prev?: string;
|
|
403
403
|
/** The case-insensitive string used to search for a resource by name or description. */
|
|
404
|
-
query?: string
|
|
404
|
+
query?: string;
|
|
405
405
|
/** The case-sensitive string used to search for an item by resourceId. If resourceId is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
|
|
406
|
-
resourceId?: string
|
|
406
|
+
resourceId?: string;
|
|
407
407
|
/** The case-sensitive string used to search for an item by resourceLink. If resourceLink is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
|
|
408
|
-
resourceLink?: string
|
|
408
|
+
resourceLink?: string;
|
|
409
409
|
/** The case-sensitive string used to search for an item by resourceType. */
|
|
410
|
-
resourceType?: ItemResourceTypeEnum
|
|
410
|
+
resourceType?: ItemResourceTypeEnum;
|
|
411
411
|
/** @deprecated
|
|
412
412
|
* Whether or not to return items in a shared space. */
|
|
413
|
-
shared?: boolean
|
|
413
|
+
shared?: boolean;
|
|
414
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. */
|
|
415
|
-
sort?: "
|
|
415
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
416
416
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
417
|
-
spaceId?: string
|
|
417
|
+
spaceId?: string;
|
|
418
418
|
}, options?: ApiCallOptions) => Promise<GetCollectionItemsHttpResponse>;
|
|
419
419
|
type GetCollectionItemsHttpResponse = {
|
|
420
420
|
data: CollectionsListCollectionItemsResponseBody;
|
package/items.d.ts
CHANGED
|
@@ -253,48 +253,48 @@ type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
|
253
253
|
*/
|
|
254
254
|
declare const getItems: (query: {
|
|
255
255
|
/** The collection's unique identifier. */
|
|
256
|
-
collectionId?: string
|
|
256
|
+
collectionId?: string;
|
|
257
257
|
/** User's unique identifier. */
|
|
258
|
-
createdByUserId?: string
|
|
258
|
+
createdByUserId?: string;
|
|
259
259
|
/** The item's unique identifier. */
|
|
260
|
-
id?: string
|
|
260
|
+
id?: string;
|
|
261
261
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
262
|
-
limit?: number
|
|
262
|
+
limit?: number;
|
|
263
263
|
/** The case-insensitive string used to search for a resource by name. */
|
|
264
|
-
name?: string
|
|
264
|
+
name?: string;
|
|
265
265
|
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
266
|
-
next?: string
|
|
266
|
+
next?: string;
|
|
267
267
|
/** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
|
|
268
|
-
noActions?: boolean
|
|
268
|
+
noActions?: boolean;
|
|
269
269
|
/** User's unique identifier. */
|
|
270
|
-
notCreatedByUserId?: string
|
|
270
|
+
notCreatedByUserId?: string;
|
|
271
271
|
/** Owner identifier. */
|
|
272
|
-
notOwnerId?: string
|
|
272
|
+
notOwnerId?: string;
|
|
273
273
|
/** Owner identifier. */
|
|
274
|
-
ownerId?: string
|
|
274
|
+
ownerId?: string;
|
|
275
275
|
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
276
|
-
prev?: string
|
|
276
|
+
prev?: string;
|
|
277
277
|
/** The case-insensitive string used to search for a resource by name or description. */
|
|
278
|
-
query?: string
|
|
278
|
+
query?: string;
|
|
279
279
|
/** The case-sensitive string used to search for an item by resourceId. If resourceId is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
|
|
280
|
-
resourceId?: string
|
|
280
|
+
resourceId?: string;
|
|
281
281
|
/** The case-sensitive strings used to search for an item by resourceIds. The maximum number of resourceIds it supports is 100. If resourceIds is provided, then resourceType must be provided. For example '?resourceIds=appId1,appId2' */
|
|
282
|
-
resourceIds?: string
|
|
282
|
+
resourceIds?: string;
|
|
283
283
|
/** The case-sensitive string used to search for an item by resourceLink. If resourceLink is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both. */
|
|
284
|
-
resourceLink?: string
|
|
284
|
+
resourceLink?: string;
|
|
285
285
|
/** the case-sensitive string used to filter items by resourceSubType(s). For example '?resourceSubType=chart-monitoring,qix-df,qvd'. Will return a 400 error if used in conjuction with the square bracket syntax for resourceSubType filtering in the 'resourceType' query parameter. */
|
|
286
|
-
resourceSubType?: string
|
|
286
|
+
resourceSubType?: string;
|
|
287
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. */
|
|
288
|
-
resourceType?: ItemResourceTypeEnum
|
|
288
|
+
resourceType?: ItemResourceTypeEnum;
|
|
289
289
|
/** @deprecated
|
|
290
290
|
* Whether or not to return items in a shared space. */
|
|
291
|
-
shared?: boolean
|
|
291
|
+
shared?: boolean;
|
|
292
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. */
|
|
293
|
-
sort?: "
|
|
293
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
294
294
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
295
|
-
spaceId?: string
|
|
295
|
+
spaceId?: string;
|
|
296
296
|
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
|
297
|
-
spaceType?: SpaceTypeEnum
|
|
297
|
+
spaceType?: SpaceTypeEnum;
|
|
298
298
|
}, options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
|
|
299
299
|
type GetItemsHttpResponse = {
|
|
300
300
|
data: ItemsListItemsResponseBody;
|
|
@@ -402,19 +402,19 @@ type UpdateItemHttpError = {
|
|
|
402
402
|
*/
|
|
403
403
|
declare const getItemCollections: (itemId: string, query: {
|
|
404
404
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
405
|
-
limit?: number
|
|
405
|
+
limit?: number;
|
|
406
406
|
/** The case-sensitive string used to search for a collection by name. */
|
|
407
|
-
name?: string
|
|
407
|
+
name?: string;
|
|
408
408
|
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
409
|
-
next?: string
|
|
409
|
+
next?: string;
|
|
410
410
|
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
411
|
-
prev?: string
|
|
411
|
+
prev?: string;
|
|
412
412
|
/** The case-insensitive string used to search for a resource by name or description. */
|
|
413
|
-
query?: string
|
|
413
|
+
query?: string;
|
|
414
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. */
|
|
415
|
-
sort?: "
|
|
415
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
416
416
|
/** The case-sensitive string used to search for a collection by type. */
|
|
417
|
-
type?: CollectionTypes
|
|
417
|
+
type?: CollectionTypes;
|
|
418
418
|
}, options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
|
|
419
419
|
type GetItemCollectionsHttpResponse = {
|
|
420
420
|
data: ItemsListItemCollectionsResponseBody;
|
package/package.json
CHANGED
package/qix.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './global.types-CMQsAHYd.js';
|
|
2
2
|
import { H as HostConfig } from './auth-types-Bqw3vbLs.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2038.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
|
@@ -3088,9 +3088,13 @@ type NxBookmark = {
|
|
|
3088
3088
|
*/
|
|
3089
3089
|
qPatches?: NxPatches[];
|
|
3090
3090
|
/**
|
|
3091
|
-
* Information about cyclic groups.
|
|
3091
|
+
* Information about cyclic groups by zero-based index. This field is unused.
|
|
3092
3092
|
*/
|
|
3093
3093
|
qCyclicGroupStates?: CyclicGroupPosition[];
|
|
3094
|
+
/**
|
|
3095
|
+
* Information about cyclic groups indexed by field definition.
|
|
3096
|
+
*/
|
|
3097
|
+
qGroupStates?: GroupState[];
|
|
3094
3098
|
};
|
|
3095
3099
|
type NxCalcCond = {
|
|
3096
3100
|
/**
|
package/spaces.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
365
365
|
next?: string;
|
|
366
366
|
/** The previous page cursor. Previous links make use of this. */
|
|
367
367
|
prev?: string;
|
|
368
|
-
/** The type of assignment. */
|
|
368
|
+
/** The type of assignment. Supported values are user or group. */
|
|
369
369
|
type?: AssignmentType;
|
|
370
370
|
}, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
|
|
371
371
|
type GetSpaceAssignmentsHttpResponse = {
|
package/webhooks.d.ts
CHANGED
|
@@ -70,6 +70,8 @@ type Link = {
|
|
|
70
70
|
href: string;
|
|
71
71
|
};
|
|
72
72
|
type WebhookBase = {
|
|
73
|
+
/** If enabled the certificate chain of the configured URL will be checked for revocation before sending the webhook. */
|
|
74
|
+
checkCertificateRevocation?: boolean;
|
|
73
75
|
/** The UTC timestamp when the webhook was created */
|
|
74
76
|
readonly createdAt?: string;
|
|
75
77
|
/** The id of the user that created the webhook */
|