@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.
Files changed (126) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +13 -13
  5. package/api-keys.d.ts +13 -13
  6. package/api-keys.js +13 -13
  7. package/api-keys.mjs +8 -8
  8. package/apps.d.mts +104 -19
  9. package/apps.d.ts +104 -19
  10. package/apps.js +53 -44
  11. package/apps.mjs +20 -11
  12. package/audits.d.mts +8 -8
  13. package/audits.d.ts +8 -8
  14. package/audits.js +11 -11
  15. package/audits.mjs +6 -6
  16. package/auth-OU7OTB7Y.js +38 -0
  17. package/auth-RTFXVSSK.mjs +38 -0
  18. package/auth.js +3 -3
  19. package/auth.mjs +2 -2
  20. package/automations.d.mts +20 -20
  21. package/automations.d.ts +20 -20
  22. package/automations.js +25 -25
  23. package/automations.mjs +11 -11
  24. package/brands.js +15 -15
  25. package/brands.mjs +2 -2
  26. package/chunk-6JERR27K.js +17 -0
  27. package/chunk-7REWEWCX.mjs +21 -0
  28. package/chunk-E42WUFCK.mjs +57 -0
  29. package/chunk-H7SAZYEE.js +21 -0
  30. package/chunk-KMMWJZHM.mjs +25 -0
  31. package/chunk-M7F4JFOB.js +57 -0
  32. package/chunk-NALKLKZS.mjs +1342 -0
  33. package/chunk-QN23TPIE.js +25 -0
  34. package/chunk-RMKP2BDX.js +1342 -0
  35. package/chunk-W4J34XGA.mjs +17 -0
  36. package/collections.d.mts +1 -1
  37. package/collections.d.ts +1 -1
  38. package/collections.js +13 -13
  39. package/collections.mjs +2 -2
  40. package/csp-origins.js +9 -9
  41. package/csp-origins.mjs +2 -2
  42. package/data-assets.js +8 -8
  43. package/data-assets.mjs +2 -2
  44. package/data-connections.d.mts +2 -0
  45. package/data-connections.d.ts +2 -0
  46. package/data-connections.js +12 -12
  47. package/data-connections.mjs +2 -2
  48. package/data-credentials.d.mts +2 -0
  49. package/data-credentials.d.ts +2 -0
  50. package/data-credentials.js +7 -7
  51. package/data-credentials.mjs +2 -2
  52. package/data-files.d.mts +16 -16
  53. package/data-files.d.ts +16 -16
  54. package/data-files.js +18 -18
  55. package/data-files.mjs +8 -8
  56. package/enigma-session-HGXKZJVO.mjs +10200 -0
  57. package/enigma-session-VPPJMBEM.js +10200 -0
  58. package/esm-M5ZBFTVD.mjs +65 -0
  59. package/esm-RX7B2TUN.js +65 -0
  60. package/extensions.js +10 -10
  61. package/extensions.mjs +2 -2
  62. package/glossaries.js +27 -27
  63. package/glossaries.mjs +2 -2
  64. package/groups.d.mts +13 -13
  65. package/groups.d.ts +13 -13
  66. package/groups.js +14 -14
  67. package/groups.mjs +8 -8
  68. package/identity-providers.d.mts +7 -7
  69. package/identity-providers.d.ts +7 -7
  70. package/identity-providers.js +13 -13
  71. package/identity-providers.mjs +5 -5
  72. package/index.js +27 -23
  73. package/index.mjs +23 -19
  74. package/invoke-fetch-7PKPQ3FD.js +14 -0
  75. package/invoke-fetch-IMO4AMA3.mjs +14 -0
  76. package/items.d.mts +19 -16
  77. package/items.d.ts +19 -16
  78. package/items.js +14 -14
  79. package/items.mjs +8 -8
  80. package/licenses.d.mts +2 -0
  81. package/licenses.d.ts +2 -0
  82. package/licenses.js +12 -12
  83. package/licenses.mjs +2 -2
  84. package/package.json +6 -17
  85. package/qix-57WD2ZE6.mjs +573 -0
  86. package/qix-K22VHZRH.js +573 -0
  87. package/qix.d.mts +1066 -1017
  88. package/qix.d.ts +1066 -1017
  89. package/qix.js +3 -3
  90. package/qix.mjs +2 -2
  91. package/quotas.js +5 -5
  92. package/quotas.mjs +2 -2
  93. package/reload-tasks.d.mts +2 -0
  94. package/reload-tasks.d.ts +2 -0
  95. package/reload-tasks.js +8 -8
  96. package/reload-tasks.mjs +2 -2
  97. package/reloads.d.mts +4 -2
  98. package/reloads.d.ts +4 -2
  99. package/reloads.js +7 -7
  100. package/reloads.mjs +2 -2
  101. package/roles.js +5 -5
  102. package/roles.mjs +2 -2
  103. package/spaces.d.mts +9 -26
  104. package/spaces.d.ts +9 -26
  105. package/spaces.js +15 -15
  106. package/spaces.mjs +2 -2
  107. package/temp-contents.d.mts +1 -67
  108. package/temp-contents.d.ts +1 -67
  109. package/temp-contents.js +8 -29
  110. package/temp-contents.mjs +3 -24
  111. package/tenants.js +9 -9
  112. package/tenants.mjs +2 -2
  113. package/themes.js +10 -10
  114. package/themes.mjs +2 -2
  115. package/transports.js +9 -9
  116. package/transports.mjs +2 -2
  117. package/users.js +13 -13
  118. package/users.mjs +2 -2
  119. package/web-integrations.js +8 -8
  120. package/web-integrations.mjs +2 -2
  121. package/web-notifications.js +9 -9
  122. package/web-notifications.mjs +2 -2
  123. package/webhooks.d.mts +2 -2
  124. package/webhooks.d.ts +2 -2
  125. package/webhooks.js +13 -13
  126. 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 GetItemSettingsHttpError
285
+ * @throws GetItemsSettingsHttpError
283
286
  */
284
- declare const getItemSettings: (options?: ApiCallOptions) => Promise<GetItemSettingsHttpResponse>;
285
- type GetItemSettingsHttpResponse = {
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 GetItemSettingsHttpError = {
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 PatchItemSettingsHttpError
301
+ * @throws PatchItemsSettingsHttpError
299
302
  */
300
- declare const patchItemSettings: (body: ItemsSettingsPatch, options?: ApiCallOptions) => Promise<PatchItemSettingsHttpResponse>;
301
- type PatchItemSettingsHttpResponse = {
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 PatchItemSettingsHttpError = {
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 GetItemSettingsHttpError
447
+ * @throws GetItemsSettingsHttpError
445
448
  */
446
- getItemSettings: typeof getItemSettings;
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 PatchItemSettingsHttpError
453
+ * @throws PatchItemsSettingsHttpError
451
454
  */
452
- patchItemSettings: typeof patchItemSettings;
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 GetItemSettingsHttpError, type GetItemSettingsHttpResponse, type GetItemsHttpError, type GetItemsHttpResponse, 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 PatchItemSettingsHttpError, type PatchItemSettingsHttpResponse, type ServiceError, type UpdateItemHttpError, type UpdateItemHttpResponse, clearCache, itemsExport as default, deleteItem, getItem, getItemCollections, getItemSettings, getItems, getPublishedItems, patchItemSettings, updateItem };
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 GetItemSettingsHttpError
285
+ * @throws GetItemsSettingsHttpError
283
286
  */
284
- declare const getItemSettings: (options?: ApiCallOptions) => Promise<GetItemSettingsHttpResponse>;
285
- type GetItemSettingsHttpResponse = {
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 GetItemSettingsHttpError = {
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 PatchItemSettingsHttpError
301
+ * @throws PatchItemsSettingsHttpError
299
302
  */
300
- declare const patchItemSettings: (body: ItemsSettingsPatch, options?: ApiCallOptions) => Promise<PatchItemSettingsHttpResponse>;
301
- type PatchItemSettingsHttpResponse = {
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 PatchItemSettingsHttpError = {
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 GetItemSettingsHttpError
447
+ * @throws GetItemsSettingsHttpError
445
448
  */
446
- getItemSettings: typeof getItemSettings;
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 PatchItemSettingsHttpError
453
+ * @throws PatchItemsSettingsHttpError
451
454
  */
452
- patchItemSettings: typeof patchItemSettings;
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 GetItemSettingsHttpError, type GetItemSettingsHttpResponse, type GetItemsHttpError, type GetItemsHttpResponse, 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 PatchItemSettingsHttpError, type PatchItemSettingsHttpResponse, type ServiceError, type UpdateItemHttpError, type UpdateItemHttpResponse, clearCache, itemsExport as default, deleteItem, getItem, getItemCollections, getItemSettings, getItems, getPublishedItems, patchItemSettings, updateItem };
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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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 getItemSettings = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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 patchItemSettings = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "items", {
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 _chunkOULT3V2Ujs.clearApiCache.call(void 0, "items");
59
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "items");
60
60
  }
61
61
  var itemsExport = {
62
62
  getItems,
63
- getItemSettings,
64
- patchItemSettings,
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.getItemSettings = getItemSettings; exports.getItems = getItems; exports.getPublishedItems = getPublishedItems; exports.patchItemSettings = patchItemSettings; exports.updateItem = updateItem;
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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
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 getItemSettings = async (options) => invokeFetch("items", {
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 patchItemSettings = async (body, options) => invokeFetch("items", {
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
- getItemSettings,
64
- patchItemSettings,
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
- patchItemSettings,
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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.js');
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "licenses", {
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 _chunkOULT3V2Ujs.clearApiCache.call(void 0, "licenses");
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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
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.5.10",
22
- "@qlik/runtime-module-loader": "^0.1.15",
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
+ }