@qlik/api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
package/items.d.mts
CHANGED
|
@@ -173,7 +173,7 @@ type ItemTagResponseBody = {
|
|
|
173
173
|
type ItemViewsResponseBody = {
|
|
174
174
|
/** Total number of views the resource got during the last 28 days. */
|
|
175
175
|
total?: number;
|
|
176
|
-
/** Trend in views over the last 4 weeks. */
|
|
176
|
+
/** Trend in views over the last 4 weeks. The trend value is a float number representing a linear regression slope (the x-coefficient) calculated from the weekly unique users views in the preceding 4 weeks. */
|
|
177
177
|
trend?: number;
|
|
178
178
|
/** Number of unique users who viewed the resource during the last 28 days. */
|
|
179
179
|
unique?: number;
|
|
@@ -215,6 +215,7 @@ type Meta = {
|
|
|
215
215
|
/** Is the error a timeout? */
|
|
216
216
|
timeout?: boolean;
|
|
217
217
|
};
|
|
218
|
+
type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
218
219
|
/**
|
|
219
220
|
* Finds and returns items that the user has access to.
|
|
220
221
|
*
|
|
@@ -263,6 +264,8 @@ declare const getItems: (query: {
|
|
|
263
264
|
sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
|
|
264
265
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
265
266
|
spaceId?: string | undefined;
|
|
267
|
+
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
|
268
|
+
spaceType?: SpaceTypeEnum | undefined;
|
|
266
269
|
}, options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
|
|
267
270
|
type GetItemsHttpResponse = {
|
|
268
271
|
data: ItemsListItemsResponseBody;
|
|
@@ -279,15 +282,15 @@ type GetItemsHttpError = {
|
|
|
279
282
|
/**
|
|
280
283
|
* Finds and returns the settings for the current tenant.
|
|
281
284
|
*
|
|
282
|
-
* @throws
|
|
285
|
+
* @throws GetItemsSettingsHttpError
|
|
283
286
|
*/
|
|
284
|
-
declare const
|
|
285
|
-
type
|
|
287
|
+
declare const getItemsSettings: (options?: ApiCallOptions) => Promise<GetItemsSettingsHttpResponse>;
|
|
288
|
+
type GetItemsSettingsHttpResponse = {
|
|
286
289
|
data: ItemsSettingsResponseBody;
|
|
287
290
|
headers: Headers;
|
|
288
291
|
status: number;
|
|
289
292
|
};
|
|
290
|
-
type
|
|
293
|
+
type GetItemsSettingsHttpError = {
|
|
291
294
|
data: ErrorResponseBody;
|
|
292
295
|
headers: Headers;
|
|
293
296
|
status: number;
|
|
@@ -295,15 +298,15 @@ type GetItemSettingsHttpError = {
|
|
|
295
298
|
/**
|
|
296
299
|
* Updates the settings provided in the patch body.
|
|
297
300
|
* @param body an object with the body content
|
|
298
|
-
* @throws
|
|
301
|
+
* @throws PatchItemsSettingsHttpError
|
|
299
302
|
*/
|
|
300
|
-
declare const
|
|
301
|
-
type
|
|
303
|
+
declare const patchItemsSettings: (body: ItemsSettingsPatch, options?: ApiCallOptions) => Promise<PatchItemsSettingsHttpResponse>;
|
|
304
|
+
type PatchItemsSettingsHttpResponse = {
|
|
302
305
|
data: ItemsSettingsResponseBody;
|
|
303
306
|
headers: Headers;
|
|
304
307
|
status: number;
|
|
305
308
|
};
|
|
306
|
-
type
|
|
309
|
+
type PatchItemsSettingsHttpError = {
|
|
307
310
|
data: ErrorResponseBody;
|
|
308
311
|
headers: Headers;
|
|
309
312
|
status: number;
|
|
@@ -396,7 +399,7 @@ type GetItemCollectionsHttpError = {
|
|
|
396
399
|
status: number;
|
|
397
400
|
};
|
|
398
401
|
/**
|
|
399
|
-
* Finds and returns the published items for a given item.
|
|
402
|
+
* Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.
|
|
400
403
|
*
|
|
401
404
|
* @param itemId The item's unique identifier
|
|
402
405
|
* @param query an object with query parameters
|
|
@@ -441,15 +444,15 @@ interface ItemsAPI {
|
|
|
441
444
|
/**
|
|
442
445
|
* Finds and returns the settings for the current tenant.
|
|
443
446
|
*
|
|
444
|
-
* @throws
|
|
447
|
+
* @throws GetItemsSettingsHttpError
|
|
445
448
|
*/
|
|
446
|
-
|
|
449
|
+
getItemsSettings: typeof getItemsSettings;
|
|
447
450
|
/**
|
|
448
451
|
* Updates the settings provided in the patch body.
|
|
449
452
|
* @param body an object with the body content
|
|
450
|
-
* @throws
|
|
453
|
+
* @throws PatchItemsSettingsHttpError
|
|
451
454
|
*/
|
|
452
|
-
|
|
455
|
+
patchItemsSettings: typeof patchItemsSettings;
|
|
453
456
|
/**
|
|
454
457
|
* Deletes an item and removes the item from all collections.
|
|
455
458
|
*
|
|
@@ -481,7 +484,7 @@ interface ItemsAPI {
|
|
|
481
484
|
*/
|
|
482
485
|
getItemCollections: typeof getItemCollections;
|
|
483
486
|
/**
|
|
484
|
-
* Finds and returns the published items for a given item.
|
|
487
|
+
* Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.
|
|
485
488
|
*
|
|
486
489
|
* @param itemId The item's unique identifier
|
|
487
490
|
* @param query an object with query parameters
|
|
@@ -498,4 +501,4 @@ interface ItemsAPI {
|
|
|
498
501
|
*/
|
|
499
502
|
declare const itemsExport: ItemsAPI;
|
|
500
503
|
|
|
501
|
-
export { type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsLinksResponseBody, type DeleteItemHttpError, type DeleteItemHttpResponse, type ErrorResponseBody, type GetItemCollectionsHttpError, type GetItemCollectionsHttpResponse, type GetItemHttpError, type GetItemHttpResponse, type
|
|
504
|
+
export { type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsLinksResponseBody, type DeleteItemHttpError, type DeleteItemHttpResponse, type ErrorResponseBody, type GetItemCollectionsHttpError, type GetItemCollectionsHttpResponse, type GetItemHttpError, type GetItemHttpResponse, type GetItemsHttpError, type GetItemsHttpResponse, type GetItemsSettingsHttpError, type GetItemsSettingsHttpResponse, type GetPublishedItemsHttpError, type GetPublishedItemsHttpResponse, type ItemLinksResponseBody, type ItemMetaResponseBody, type ItemResourceTypeEnum, type ItemResultResponseBody, type ItemTagResponseBody, type ItemViewsResponseBody, type ItemViewsWeeksResponseBody, type ItemsAPI, type ItemsLinksResponseBody, type ItemsListItemCollectionsResponseBody, type ItemsListItemsResponseBody, type ItemsResourceSizeResponseBody, type ItemsResultResponseBody, type ItemsSettingsPatch, type ItemsSettingsResponseBody, type ItemsUpdateItemRequestBody, type Link, type Meta, type PatchItemsSettingsHttpError, type PatchItemsSettingsHttpResponse, type ServiceError, type SpaceTypeEnum, type UpdateItemHttpError, type UpdateItemHttpResponse, clearCache, itemsExport as default, deleteItem, getItem, getItemCollections, getItems, getItemsSettings, getPublishedItems, patchItemsSettings, updateItem };
|
package/items.d.ts
CHANGED
|
@@ -173,7 +173,7 @@ type ItemTagResponseBody = {
|
|
|
173
173
|
type ItemViewsResponseBody = {
|
|
174
174
|
/** Total number of views the resource got during the last 28 days. */
|
|
175
175
|
total?: number;
|
|
176
|
-
/** Trend in views over the last 4 weeks. */
|
|
176
|
+
/** Trend in views over the last 4 weeks. The trend value is a float number representing a linear regression slope (the x-coefficient) calculated from the weekly unique users views in the preceding 4 weeks. */
|
|
177
177
|
trend?: number;
|
|
178
178
|
/** Number of unique users who viewed the resource during the last 28 days. */
|
|
179
179
|
unique?: number;
|
|
@@ -215,6 +215,7 @@ type Meta = {
|
|
|
215
215
|
/** Is the error a timeout? */
|
|
216
216
|
timeout?: boolean;
|
|
217
217
|
};
|
|
218
|
+
type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
218
219
|
/**
|
|
219
220
|
* Finds and returns items that the user has access to.
|
|
220
221
|
*
|
|
@@ -263,6 +264,8 @@ declare const getItems: (query: {
|
|
|
263
264
|
sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
|
|
264
265
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
265
266
|
spaceId?: string | undefined;
|
|
267
|
+
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
|
268
|
+
spaceType?: SpaceTypeEnum | undefined;
|
|
266
269
|
}, options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
|
|
267
270
|
type GetItemsHttpResponse = {
|
|
268
271
|
data: ItemsListItemsResponseBody;
|
|
@@ -279,15 +282,15 @@ type GetItemsHttpError = {
|
|
|
279
282
|
/**
|
|
280
283
|
* Finds and returns the settings for the current tenant.
|
|
281
284
|
*
|
|
282
|
-
* @throws
|
|
285
|
+
* @throws GetItemsSettingsHttpError
|
|
283
286
|
*/
|
|
284
|
-
declare const
|
|
285
|
-
type
|
|
287
|
+
declare const getItemsSettings: (options?: ApiCallOptions) => Promise<GetItemsSettingsHttpResponse>;
|
|
288
|
+
type GetItemsSettingsHttpResponse = {
|
|
286
289
|
data: ItemsSettingsResponseBody;
|
|
287
290
|
headers: Headers;
|
|
288
291
|
status: number;
|
|
289
292
|
};
|
|
290
|
-
type
|
|
293
|
+
type GetItemsSettingsHttpError = {
|
|
291
294
|
data: ErrorResponseBody;
|
|
292
295
|
headers: Headers;
|
|
293
296
|
status: number;
|
|
@@ -295,15 +298,15 @@ type GetItemSettingsHttpError = {
|
|
|
295
298
|
/**
|
|
296
299
|
* Updates the settings provided in the patch body.
|
|
297
300
|
* @param body an object with the body content
|
|
298
|
-
* @throws
|
|
301
|
+
* @throws PatchItemsSettingsHttpError
|
|
299
302
|
*/
|
|
300
|
-
declare const
|
|
301
|
-
type
|
|
303
|
+
declare const patchItemsSettings: (body: ItemsSettingsPatch, options?: ApiCallOptions) => Promise<PatchItemsSettingsHttpResponse>;
|
|
304
|
+
type PatchItemsSettingsHttpResponse = {
|
|
302
305
|
data: ItemsSettingsResponseBody;
|
|
303
306
|
headers: Headers;
|
|
304
307
|
status: number;
|
|
305
308
|
};
|
|
306
|
-
type
|
|
309
|
+
type PatchItemsSettingsHttpError = {
|
|
307
310
|
data: ErrorResponseBody;
|
|
308
311
|
headers: Headers;
|
|
309
312
|
status: number;
|
|
@@ -396,7 +399,7 @@ type GetItemCollectionsHttpError = {
|
|
|
396
399
|
status: number;
|
|
397
400
|
};
|
|
398
401
|
/**
|
|
399
|
-
* Finds and returns the published items for a given item.
|
|
402
|
+
* Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.
|
|
400
403
|
*
|
|
401
404
|
* @param itemId The item's unique identifier
|
|
402
405
|
* @param query an object with query parameters
|
|
@@ -441,15 +444,15 @@ interface ItemsAPI {
|
|
|
441
444
|
/**
|
|
442
445
|
* Finds and returns the settings for the current tenant.
|
|
443
446
|
*
|
|
444
|
-
* @throws
|
|
447
|
+
* @throws GetItemsSettingsHttpError
|
|
445
448
|
*/
|
|
446
|
-
|
|
449
|
+
getItemsSettings: typeof getItemsSettings;
|
|
447
450
|
/**
|
|
448
451
|
* Updates the settings provided in the patch body.
|
|
449
452
|
* @param body an object with the body content
|
|
450
|
-
* @throws
|
|
453
|
+
* @throws PatchItemsSettingsHttpError
|
|
451
454
|
*/
|
|
452
|
-
|
|
455
|
+
patchItemsSettings: typeof patchItemsSettings;
|
|
453
456
|
/**
|
|
454
457
|
* Deletes an item and removes the item from all collections.
|
|
455
458
|
*
|
|
@@ -481,7 +484,7 @@ interface ItemsAPI {
|
|
|
481
484
|
*/
|
|
482
485
|
getItemCollections: typeof getItemCollections;
|
|
483
486
|
/**
|
|
484
|
-
* Finds and returns the published items for a given item.
|
|
487
|
+
* Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.
|
|
485
488
|
*
|
|
486
489
|
* @param itemId The item's unique identifier
|
|
487
490
|
* @param query an object with query parameters
|
|
@@ -498,4 +501,4 @@ interface ItemsAPI {
|
|
|
498
501
|
*/
|
|
499
502
|
declare const itemsExport: ItemsAPI;
|
|
500
503
|
|
|
501
|
-
export { type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsLinksResponseBody, type DeleteItemHttpError, type DeleteItemHttpResponse, type ErrorResponseBody, type GetItemCollectionsHttpError, type GetItemCollectionsHttpResponse, type GetItemHttpError, type GetItemHttpResponse, type
|
|
504
|
+
export { type CollectionLinksResponseBody, type CollectionMetaResponseBody, type CollectionResultResponseBody, type CollectionTypes, type CollectionsLinksResponseBody, type DeleteItemHttpError, type DeleteItemHttpResponse, type ErrorResponseBody, type GetItemCollectionsHttpError, type GetItemCollectionsHttpResponse, type GetItemHttpError, type GetItemHttpResponse, type GetItemsHttpError, type GetItemsHttpResponse, type GetItemsSettingsHttpError, type GetItemsSettingsHttpResponse, type GetPublishedItemsHttpError, type GetPublishedItemsHttpResponse, type ItemLinksResponseBody, type ItemMetaResponseBody, type ItemResourceTypeEnum, type ItemResultResponseBody, type ItemTagResponseBody, type ItemViewsResponseBody, type ItemViewsWeeksResponseBody, type ItemsAPI, type ItemsLinksResponseBody, type ItemsListItemCollectionsResponseBody, type ItemsListItemsResponseBody, type ItemsResourceSizeResponseBody, type ItemsResultResponseBody, type ItemsSettingsPatch, type ItemsSettingsResponseBody, type ItemsUpdateItemRequestBody, type Link, type Meta, type PatchItemsSettingsHttpError, type PatchItemsSettingsHttpResponse, type ServiceError, type SpaceTypeEnum, type UpdateItemHttpError, type UpdateItemHttpResponse, clearCache, itemsExport as default, deleteItem, getItem, getItemCollections, getItems, getItemsSettings, getPublishedItems, patchItemsSettings, updateItem };
|
package/items.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/items.ts
|
|
8
|
-
var getItems = async (query, options) =>
|
|
8
|
+
var getItems = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/items",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var
|
|
14
|
+
var getItemsSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/items/settings",
|
|
17
17
|
options
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var patchItemsSettings = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
20
20
|
method: "patch",
|
|
21
21
|
pathTemplate: "/api/v1/items/settings",
|
|
22
22
|
body,
|
|
23
23
|
options
|
|
24
24
|
});
|
|
25
|
-
var deleteItem = async (itemId, options) =>
|
|
25
|
+
var deleteItem = async (itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
26
26
|
method: "delete",
|
|
27
27
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
28
28
|
pathVariables: { itemId },
|
|
29
29
|
options
|
|
30
30
|
});
|
|
31
|
-
var getItem = async (itemId, options) =>
|
|
31
|
+
var getItem = async (itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
32
32
|
method: "get",
|
|
33
33
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
34
34
|
pathVariables: { itemId },
|
|
35
35
|
options
|
|
36
36
|
});
|
|
37
|
-
var updateItem = async (itemId, body, options) =>
|
|
37
|
+
var updateItem = async (itemId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
38
38
|
method: "put",
|
|
39
39
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
40
40
|
pathVariables: { itemId },
|
|
41
41
|
body,
|
|
42
42
|
options
|
|
43
43
|
});
|
|
44
|
-
var getItemCollections = async (itemId, query, options) =>
|
|
44
|
+
var getItemCollections = async (itemId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
45
45
|
method: "get",
|
|
46
46
|
pathTemplate: "/api/v1/items/{itemId}/collections",
|
|
47
47
|
pathVariables: { itemId },
|
|
48
48
|
query,
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
|
-
var getPublishedItems = async (itemId, query, options) =>
|
|
51
|
+
var getPublishedItems = async (itemId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "items", {
|
|
52
52
|
method: "get",
|
|
53
53
|
pathTemplate: "/api/v1/items/{itemId}/publisheditems",
|
|
54
54
|
pathVariables: { itemId },
|
|
@@ -56,12 +56,12 @@ var getPublishedItems = async (itemId, query, options) => _chunkOULT3V2Ujs.invok
|
|
|
56
56
|
options
|
|
57
57
|
});
|
|
58
58
|
function clearCache() {
|
|
59
|
-
return
|
|
59
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "items");
|
|
60
60
|
}
|
|
61
61
|
var itemsExport = {
|
|
62
62
|
getItems,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
getItemsSettings,
|
|
64
|
+
patchItemsSettings,
|
|
65
65
|
deleteItem,
|
|
66
66
|
getItem,
|
|
67
67
|
updateItem,
|
|
@@ -81,4 +81,4 @@ var items_default = itemsExport;
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
exports.clearCache = clearCache; exports.default = items_default; exports.deleteItem = deleteItem; exports.getItem = getItem; exports.getItemCollections = getItemCollections; exports.
|
|
84
|
+
exports.clearCache = clearCache; exports.default = items_default; exports.deleteItem = deleteItem; exports.getItem = getItem; exports.getItemCollections = getItemCollections; exports.getItems = getItems; exports.getItemsSettings = getItemsSettings; exports.getPublishedItems = getPublishedItems; exports.patchItemsSettings = patchItemsSettings; exports.updateItem = updateItem;
|
package/items.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/items.ts
|
|
8
8
|
var getItems = async (query, options) => invokeFetch("items", {
|
|
@@ -11,12 +11,12 @@ var getItems = async (query, options) => invokeFetch("items", {
|
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var
|
|
14
|
+
var getItemsSettings = async (options) => invokeFetch("items", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/items/settings",
|
|
17
17
|
options
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var patchItemsSettings = async (body, options) => invokeFetch("items", {
|
|
20
20
|
method: "patch",
|
|
21
21
|
pathTemplate: "/api/v1/items/settings",
|
|
22
22
|
body,
|
|
@@ -60,8 +60,8 @@ function clearCache() {
|
|
|
60
60
|
}
|
|
61
61
|
var itemsExport = {
|
|
62
62
|
getItems,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
getItemsSettings,
|
|
64
|
+
patchItemsSettings,
|
|
65
65
|
deleteItem,
|
|
66
66
|
getItem,
|
|
67
67
|
updateItem,
|
|
@@ -76,9 +76,9 @@ export {
|
|
|
76
76
|
deleteItem,
|
|
77
77
|
getItem,
|
|
78
78
|
getItemCollections,
|
|
79
|
-
getItemSettings,
|
|
80
79
|
getItems,
|
|
80
|
+
getItemsSettings,
|
|
81
81
|
getPublishedItems,
|
|
82
|
-
|
|
82
|
+
patchItemsSettings,
|
|
83
83
|
updateItem
|
|
84
84
|
};
|
package/licenses.d.mts
CHANGED
|
@@ -214,6 +214,8 @@ declare const getLicenseAssignments: (query: {
|
|
|
214
214
|
filter?: string;
|
|
215
215
|
/** The preferred number of entries to return. */
|
|
216
216
|
limit?: number;
|
|
217
|
+
/** Only return assignments which are 'orphans' in the current tenant. */
|
|
218
|
+
orphans?: boolean;
|
|
217
219
|
/** The requested page. */
|
|
218
220
|
page?: string;
|
|
219
221
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
package/licenses.d.ts
CHANGED
|
@@ -214,6 +214,8 @@ declare const getLicenseAssignments: (query: {
|
|
|
214
214
|
filter?: string;
|
|
215
215
|
/** The preferred number of entries to return. */
|
|
216
216
|
limit?: number;
|
|
217
|
+
/** Only return assignments which are 'orphans' in the current tenant. */
|
|
218
|
+
orphans?: boolean;
|
|
217
219
|
/** The requested page. */
|
|
218
220
|
page?: string;
|
|
219
221
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
package/licenses.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/licenses.ts
|
|
8
|
-
var getLicenseAssignments = async (query, options) =>
|
|
8
|
+
var getLicenseAssignments = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/licenses/assignments",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var addLicenseAssignments = async (body, options) =>
|
|
14
|
+
var addLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/licenses/assignments/actions/add",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var deleteLicenseAssignments = async (body, options) =>
|
|
20
|
+
var deleteLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
21
21
|
method: "post",
|
|
22
22
|
pathTemplate: "/api/v1/licenses/assignments/actions/delete",
|
|
23
23
|
body,
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var updateLicenseAssignments = async (body, options) =>
|
|
26
|
+
var updateLicenseAssignments = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
27
27
|
method: "post",
|
|
28
28
|
pathTemplate: "/api/v1/licenses/assignments/actions/update",
|
|
29
29
|
body,
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var getLicenseConsumption = async (query, options) =>
|
|
32
|
+
var getLicenseConsumption = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
33
33
|
method: "get",
|
|
34
34
|
pathTemplate: "/api/v1/licenses/consumption",
|
|
35
35
|
query,
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var getLicenseOverview = async (options) =>
|
|
38
|
+
var getLicenseOverview = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
39
39
|
method: "get",
|
|
40
40
|
pathTemplate: "/api/v1/licenses/overview",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var getLicenseSettings = async (options) =>
|
|
43
|
+
var getLicenseSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
44
44
|
method: "get",
|
|
45
45
|
pathTemplate: "/api/v1/licenses/settings",
|
|
46
46
|
options
|
|
47
47
|
});
|
|
48
|
-
var updateLicenseSettings = async (body, options) =>
|
|
48
|
+
var updateLicenseSettings = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
49
49
|
method: "put",
|
|
50
50
|
pathTemplate: "/api/v1/licenses/settings",
|
|
51
51
|
body,
|
|
52
52
|
options
|
|
53
53
|
});
|
|
54
|
-
var getLicenseStatus = async (options) =>
|
|
54
|
+
var getLicenseStatus = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "licenses", {
|
|
55
55
|
method: "get",
|
|
56
56
|
pathTemplate: "/api/v1/licenses/status",
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
59
|
function clearCache() {
|
|
60
|
-
return
|
|
60
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "licenses");
|
|
61
61
|
}
|
|
62
62
|
var licensesExport = {
|
|
63
63
|
getLicenseAssignments,
|
package/licenses.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/licenses.ts
|
|
8
8
|
var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
|
package/package.json
CHANGED
|
@@ -1,33 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qlik/api",
|
|
3
|
-
"version": "0.0.1",
|
|
4
3
|
"description": "Exposes functions for interacting with Qlik apis",
|
|
5
4
|
"repository": {
|
|
6
5
|
"type": "git",
|
|
7
6
|
"url": "git+https://github.com/qlik-oss/qlik-api-ts.git"
|
|
8
7
|
},
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
11
|
-
},
|
|
12
8
|
"license": "ISC",
|
|
13
|
-
"files": [
|
|
14
|
-
"docs",
|
|
15
|
-
"*.js",
|
|
16
|
-
"*.mjs",
|
|
17
|
-
"*.d.ts",
|
|
18
|
-
"*.d.mts"
|
|
19
|
-
],
|
|
20
9
|
"dependencies": {
|
|
21
|
-
"@qlik/embed-runtime": "^0.
|
|
22
|
-
"@qlik/runtime-module-loader": "^0.
|
|
10
|
+
"@qlik/embed-runtime": "^0.6.1",
|
|
11
|
+
"@qlik/runtime-module-loader": "^0.2.2",
|
|
23
12
|
"bufferutil": "^4.0.8",
|
|
24
13
|
"enigma.js": "^2.12.0",
|
|
25
14
|
"lodash": "^4.17.21",
|
|
26
15
|
"ws": "^8.14.2"
|
|
27
16
|
},
|
|
28
17
|
"engines": {
|
|
29
|
-
"node": ">=16"
|
|
30
|
-
"pnpm": ">=8"
|
|
18
|
+
"node": ">=16"
|
|
31
19
|
},
|
|
32
20
|
"main": "index.js",
|
|
33
21
|
"module": "index.mjs",
|
|
@@ -260,5 +248,6 @@
|
|
|
260
248
|
"./auth.mjs": {
|
|
261
249
|
"import": "./auth.mjs"
|
|
262
250
|
}
|
|
263
|
-
}
|
|
264
|
-
|
|
251
|
+
},
|
|
252
|
+
"version": "0.0.2"
|
|
253
|
+
}
|