@qlik/api 0.0.8 → 0.0.10

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