@qlik/api 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/analytics/change-stores.d.ts +40 -76
  2. package/analytics/change-stores.js +9 -10
  3. package/analytics.d.ts +1 -2
  4. package/analytics.js +5 -6
  5. package/api-keys.d.ts +46 -100
  6. package/api-keys.js +3 -4
  7. package/apps.d.ts +334 -461
  8. package/apps.js +74 -6
  9. package/assistants.d.ts +172 -337
  10. package/assistants.js +3 -4
  11. package/audits.d.ts +41 -85
  12. package/audits.js +3 -4
  13. package/auth-types.d.ts +110 -1
  14. package/auth-types.js +22 -1
  15. package/auth.d.ts +1 -2
  16. package/auth.js +1 -1
  17. package/automation-connections.d.ts +44 -95
  18. package/automation-connections.js +3 -4
  19. package/automation-connectors.d.ts +10 -20
  20. package/automation-connectors.js +3 -4
  21. package/automations.d.ts +54 -112
  22. package/automations.js +3 -4
  23. package/automl-deployments.d.ts +17 -36
  24. package/automl-deployments.js +3 -4
  25. package/automl-predictions.d.ts +12 -24
  26. package/automl-predictions.js +3 -4
  27. package/banners.d.ts +8 -14
  28. package/banners.js +3 -4
  29. package/brands.d.ts +19 -39
  30. package/brands.js +3 -4
  31. package/chunks/auth-B8lJw7rm.js +31 -0
  32. package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
  33. package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
  34. package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
  35. package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
  36. package/chunks/platform-types-CECrZkOF.d.ts +29 -0
  37. package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
  38. package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
  39. package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
  40. package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
  41. package/collections.d.ts +67 -144
  42. package/collections.js +3 -4
  43. package/conditions.d.ts +87 -190
  44. package/conditions.js +3 -4
  45. package/consumption.d.ts +35 -72
  46. package/consumption.js +3 -4
  47. package/core/ip-policies.d.ts +43 -93
  48. package/core/ip-policies.js +5 -6
  49. package/core.d.ts +1 -2
  50. package/core.js +5 -6
  51. package/csp-origins.d.ts +42 -85
  52. package/csp-origins.js +3 -4
  53. package/csrf-token.d.ts +6 -11
  54. package/csrf-token.js +3 -4
  55. package/data-alerts.d.ts +152 -325
  56. package/data-alerts.js +3 -4
  57. package/data-assets.d.ts +16 -31
  58. package/data-assets.js +3 -4
  59. package/data-connections.d.ts +123 -257
  60. package/data-connections.js +3 -4
  61. package/data-credentials.d.ts +36 -76
  62. package/data-credentials.js +3 -4
  63. package/data-files.d.ts +60 -121
  64. package/data-files.js +3 -4
  65. package/data-governance/data-products.d.ts +429 -0
  66. package/data-governance/data-products.js +212 -0
  67. package/data-governance.d.ts +13 -0
  68. package/data-governance.js +12 -0
  69. package/data-qualities.d.ts +11 -25
  70. package/data-qualities.js +3 -4
  71. package/data-sets.d.ts +28 -57
  72. package/data-sets.js +3 -4
  73. package/data-sources.d.ts +45 -97
  74. package/data-sources.js +3 -4
  75. package/data-stores.d.ts +53 -107
  76. package/data-stores.js +3 -4
  77. package/dcaas.d.ts +32 -67
  78. package/dcaas.js +3 -4
  79. package/di-projects.d.ts +111 -136
  80. package/di-projects.js +25 -4
  81. package/direct-access-agents.d.ts +29 -63
  82. package/direct-access-agents.js +3 -4
  83. package/encryption.d.ts +28 -59
  84. package/encryption.js +3 -4
  85. package/extensions.d.ts +35 -73
  86. package/extensions.js +3 -4
  87. package/global-types.d.ts +139 -1
  88. package/glossaries.d.ts +75 -158
  89. package/glossaries.js +3 -4
  90. package/groups.d.ts +58 -125
  91. package/groups.js +3 -4
  92. package/identity-providers.d.ts +148 -324
  93. package/identity-providers.js +3 -4
  94. package/index.d.ts +18 -4
  95. package/index.js +64 -19
  96. package/interceptors.d.ts +2 -3
  97. package/interceptors.js +104 -2
  98. package/invoke-fetch-types.d.ts +97 -1
  99. package/items.d.ts +85 -181
  100. package/items.js +3 -4
  101. package/knowledgebases.d.ts +137 -270
  102. package/knowledgebases.js +3 -4
  103. package/licenses.d.ts +71 -153
  104. package/licenses.js +3 -4
  105. package/lineage-graphs.d.ts +39 -85
  106. package/lineage-graphs.js +3 -4
  107. package/ml.d.ts +290 -621
  108. package/ml.js +3 -4
  109. package/notes.d.ts +9 -18
  110. package/notes.js +3 -4
  111. package/notifications.d.ts +14 -30
  112. package/notifications.js +3 -4
  113. package/oauth-clients.d.ts +98 -159
  114. package/oauth-clients.js +4 -5
  115. package/oauth-tokens.d.ts +16 -33
  116. package/oauth-tokens.js +3 -4
  117. package/package.json +6 -4
  118. package/qix.d.ts +46 -2
  119. package/qix.js +2 -3
  120. package/questions.d.ts +53 -110
  121. package/questions.js +3 -4
  122. package/quotas.d.ts +13 -26
  123. package/quotas.js +3 -4
  124. package/reload-tasks.d.ts +23 -46
  125. package/reload-tasks.js +3 -4
  126. package/reloads.d.ts +26 -52
  127. package/reloads.js +3 -4
  128. package/report-templates.d.ts +30 -63
  129. package/report-templates.js +3 -4
  130. package/reports.d.ts +111 -238
  131. package/reports.js +3 -4
  132. package/roles.d.ts +36 -77
  133. package/roles.js +3 -4
  134. package/sharing-tasks.d.ts +201 -427
  135. package/sharing-tasks.js +3 -4
  136. package/spaces.d.ts +71 -157
  137. package/spaces.js +3 -4
  138. package/tasks.d.ts +76 -164
  139. package/tasks.js +3 -4
  140. package/temp-contents.d.ts +17 -35
  141. package/temp-contents.js +3 -4
  142. package/tenant-settings.d.ts +298 -0
  143. package/tenant-settings.js +107 -0
  144. package/tenants.d.ts +31 -67
  145. package/tenants.js +3 -4
  146. package/themes.d.ts +27 -55
  147. package/themes.js +3 -4
  148. package/transports.d.ts +46 -106
  149. package/transports.js +3 -4
  150. package/ui-config.d.ts +8 -17
  151. package/ui-config.js +3 -4
  152. package/users.d.ts +80 -170
  153. package/users.js +3 -4
  154. package/web-integrations.d.ts +38 -83
  155. package/web-integrations.js +3 -4
  156. package/web-notifications.d.ts +14 -29
  157. package/web-notifications.js +3 -4
  158. package/webhooks.d.ts +77 -162
  159. package/webhooks.js +3 -4
  160. package/chunks/auth-BowS4SUR.js +0 -28
  161. package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
  162. package/chunks/auth-types-h43TVDpB.js +0 -24
  163. package/chunks/global-types-CEVAJebk.js +0 -1
  164. /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
  165. /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
  166. /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
  167. /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
@@ -1,14 +1,12 @@
1
- import { y as ApiCallOptions } from "../chunks/auth-types-YrlH_R9f.js";
2
- import "../chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import { ApiCallOptions } from "../invoke-fetch-types.js";
2
+ import "../chunks/invoke-fetch-DFc3yzaj.js";
3
3
 
4
4
  //#region src/public/rest/analytics/change-stores.d.ts
5
5
  declare namespace change_stores_d_exports {
6
6
  export { CellKey, Change, ChangeStore, ChangeStoresAPI, Error, ErrorResponse, GetChangeStoreChangesHttpError, GetChangeStoreChangesHttpResponse, GetChangeStoreChangesTabularViewsHttpError, GetChangeStoreChangesTabularViewsHttpResponse, GetChangeStoreHttpError, GetChangeStoreHttpResponse, GetChangeStoresHttpError, GetChangeStoresHttpResponse, GetChangesData, ListDefaultData, Pagination, PrimaryKey, ReferenceId, RowKey, TabularView, UsedBy, UsedByArray, clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores };
7
7
  }
8
8
  type CellKey = {
9
- /** The id of the column. */
10
- columnId: string;
11
- /** A map of row keys. */
9
+ /** The id of the column. */columnId: string; /** A map of row keys. */
12
10
  rowKey: RowKey;
13
11
  };
14
12
  /**
@@ -18,15 +16,10 @@ type CellKey = {
18
16
  * }
19
17
  */
20
18
  type Change = {
21
- /** The value of the cell. */
22
- cellValue?: string;
23
- /** Whether the change has been committed. */
24
- committed?: boolean;
25
- /** The time when a user starts typing in a cell and the row becomes locked. */
26
- createdAt?: string;
27
- /** The id of the user who created the change. */
28
- createdBy?: string;
29
- /** The tenant id. */
19
+ /** The value of the cell. */cellValue?: string; /** Whether the change has been committed. */
20
+ committed?: boolean; /** The time when a user starts typing in a cell and the row becomes locked. */
21
+ createdAt?: string; /** The id of the user who created the change. */
22
+ createdBy?: string; /** The tenant id. */
30
23
  tenantId?: string;
31
24
  /** The time when an update to the change has been done.
32
25
  * Examples of when this value is updated:
@@ -36,49 +29,33 @@ type Change = {
36
29
  updatedAt?: string;
37
30
  };
38
31
  type ChangeStore = {
39
- /** The time when the change store was created. */
40
- createdAt?: string;
41
- /** The id of the user who created the change store. */
42
- createdBy?: string;
43
- /** The list of primary key columns for the change store. */
44
- primaryKey?: PrimaryKey;
45
- /** The publish reference id used to map stores across published apps/spaces. */
46
- publishRefId?: string;
47
- /** The reference id used to identify related editable-columns or change stores. */
48
- referenceId?: ReferenceId;
49
- /** The space id where the change store is located. */
50
- spaceId?: string;
51
- /** The id of the change store. */
52
- storeId?: string;
53
- /** The name of the change store. */
54
- storeName?: string;
55
- /** The tenant id the change store belongs to. */
56
- tenantId?: string;
57
- /** The time when the change store was last updated. */
58
- updatedAt?: string;
59
- /** List of chart/app references. */
32
+ /** The time when the change store was created. */createdAt?: string; /** The id of the user who created the change store. */
33
+ createdBy?: string; /** The list of primary key columns for the change store. */
34
+ primaryKey?: PrimaryKey; /** The publish reference id used to map stores across published apps/spaces. */
35
+ publishRefId?: string; /** The reference id used to identify related editable-columns or change stores. */
36
+ referenceId?: ReferenceId; /** The space id where the change store is located. */
37
+ spaceId?: string; /** The id of the change store. */
38
+ storeId?: string; /** The name of the change store. */
39
+ storeName?: string; /** The tenant id the change store belongs to. */
40
+ tenantId?: string; /** The time when the change store was last updated. */
41
+ updatedAt?: string; /** List of chart/app references. */
60
42
  usedBy?: UsedByArray;
61
43
  };
62
44
  /**
63
45
  * An error object.
64
46
  */
65
47
  type Error = {
66
- /** The error code. */
67
- code: string;
68
- /** Extra information about the error. */
69
- detail?: string;
70
- /** Description of the error. */
48
+ /** The error code. */code: string; /** Extra information about the error. */
49
+ detail?: string; /** Description of the error. */
71
50
  title: string;
72
51
  };
73
52
  type ErrorResponse = {
74
- /** list of errors */
75
- errors?: Error[];
53
+ /** list of errors */errors?: Error[];
76
54
  traceId?: string;
77
55
  };
78
56
  type GetChangesData = {
79
57
  cellKey?: CellKey;
80
- changes?: Change[];
81
- /** The name of the column. */
58
+ changes?: Change[]; /** The name of the column. */
82
59
  columnName?: string;
83
60
  };
84
61
  type ListDefaultData = {
@@ -137,16 +114,12 @@ type RowKey = Record<string, string>;
137
114
  */
138
115
  type TabularView = {
139
116
  data?: {
140
- /** The timestamp when the row was last updated. */
141
- updatedAt?: string;
142
- /** The user id that performed the latest update in the row (corresponds to updatedAt). */
117
+ /** The timestamp when the row was last updated. */updatedAt?: string; /** The user id that performed the latest update in the row (corresponds to updatedAt). */
143
118
  updatedBy?: string;
144
119
  }[];
145
120
  };
146
121
  type UsedBy = {
147
- /** The id of the app. */
148
- appId: string;
149
- /** The id of the chart. */
122
+ /** The id of the app. */appId: string; /** The id of the chart. */
150
123
  chartId: string;
151
124
  };
152
125
  /**
@@ -154,7 +127,7 @@ type UsedBy = {
154
127
  */
155
128
  type UsedByArray = UsedBy[];
156
129
  /**
157
- * Get a list of change-stores.
130
+ * Returns a list of change-stores, accessible to the user.
158
131
  * @example
159
132
  * getChangeStores(
160
133
  * {
@@ -174,12 +147,9 @@ declare function getChangeStores(query: {
174
147
  * - **Supported attributes:** `storeName`, `storeId`, `referenceId`, `usedBy.appId`, `primaryKey`
175
148
  * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
176
149
  * - **Logical operators:** `and`, `or`, `not` */
177
- filter?: string;
178
- /** Defines the size of each paged result (maximum 100). */
179
- limit?: number;
180
- /** Used for cursor-based pagination. */
181
- page?: string;
182
- /** Sort results by a field, with optional + (asc) or - (desc) prefix */
150
+ filter?: string; /** Defines the size of each paged result (maximum 100). */
151
+ limit?: number; /** Used for cursor-based pagination. */
152
+ page?: string; /** Sort results by a field, with optional + (asc) or - (desc) prefix */
183
153
  sort?: string;
184
154
  /** The space ID to filter change stores by. This parameter is required.
185
155
  * For personal spaces, use "personal".
@@ -201,7 +171,7 @@ type GetChangeStoresHttpError = {
201
171
  status: 400 | 401 | 403 | 404 | 500;
202
172
  };
203
173
  /**
204
- * Get change store by Id.
174
+ * Returns detailed information about a specific change store, such as its configuration and associated charts.
205
175
  * @example
206
176
  * getChangeStore(
207
177
  * "507f1f77bcf86cd799439011"
@@ -224,7 +194,7 @@ type GetChangeStoreHttpError = {
224
194
  status: 400 | 401 | 403 | 404 | 500;
225
195
  };
226
196
  /**
227
- * Retrieve changes for the specified change store.
197
+ * Returns a list of changes within the specified change-store.
228
198
  * @example
229
199
  * getChangeStoreChanges(
230
200
  * "507f1f77bcf86cd799439011",
@@ -245,12 +215,9 @@ declare function getChangeStoreChanges(storeId: string, query: {
245
215
  * - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
246
216
  * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
247
217
  * - **Logical operators:** `and`, `or`, `not` */
248
- filter?: string;
249
- /** Defines the size of each paged result (maximum 100). */
250
- limit?: number;
251
- /** Used for cursor-based pagination. */
252
- page?: string;
253
- /** Sort results by a field, with optional + (asc) or - (desc) prefix */
218
+ filter?: string; /** Defines the size of each paged result (maximum 100). */
219
+ limit?: number; /** Used for cursor-based pagination. */
220
+ page?: string; /** Sort results by a field, with optional + (asc) or - (desc) prefix */
254
221
  sort?: string;
255
222
  }, options?: ApiCallOptions): Promise<GetChangeStoreChangesHttpResponse>;
256
223
  type GetChangeStoreChangesHttpResponse = {
@@ -268,7 +235,7 @@ type GetChangeStoreChangesHttpError = {
268
235
  status: 400 | 401 | 403 | 404 | 500;
269
236
  };
270
237
  /**
271
- * Retrieve changes in tabular view.
238
+ * Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
272
239
  * @example
273
240
  * getChangeStoreChangesTabularViews(
274
241
  * "507f1f77bcf86cd799439011",
@@ -283,17 +250,14 @@ type GetChangeStoreChangesHttpError = {
283
250
  * @throws GetChangeStoreChangesTabularViewsHttpError
284
251
  */
285
252
  declare function getChangeStoreChangesTabularViews(storeId: string, query: {
286
- /** When set to true, the records returned by this endpoint will include the latest change (if available) for each editable column in the record. This parameter should be used in combination with a filter on updatedAt for use cases that require all editable columns to be included in each response. */
287
- expandRow?: boolean;
253
+ /** When set to true, the records returned by this endpoint will include the latest change (if available) for each editable column in the record. This parameter should be used in combination with a filter on updatedAt for use cases that require all editable columns to be included in each response. */expandRow?: boolean;
288
254
  /** A SCIM filter expression used to filter the result.
289
255
  * The filter parameter allows complex logical expressions using comparison operators and grouping.
290
256
  * - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
291
257
  * - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
292
258
  * - **Logical operators:** `and`, `or`, `not` */
293
- filter?: string;
294
- /** Defines the size of each paged result (maximum 100). */
295
- limit?: number;
296
- /** Used for cursor-based pagination. */
259
+ filter?: string; /** Defines the size of each paged result (maximum 100). */
260
+ limit?: number; /** Used for cursor-based pagination. */
297
261
  page?: string;
298
262
  }, options?: ApiCallOptions): Promise<GetChangeStoreChangesTabularViewsHttpResponse>;
299
263
  type GetChangeStoreChangesTabularViewsHttpResponse = {
@@ -314,7 +278,7 @@ type GetChangeStoreChangesTabularViewsHttpError = {
314
278
  declare function clearCache(): void;
315
279
  type ChangeStoresAPI = {
316
280
  /**
317
- * Get a list of change-stores.
281
+ * Returns a list of change-stores, accessible to the user.
318
282
  * @example
319
283
  * getChangeStores(
320
284
  * {
@@ -330,7 +294,7 @@ type ChangeStoresAPI = {
330
294
  */
331
295
  getChangeStores: typeof getChangeStores;
332
296
  /**
333
- * Get change store by Id.
297
+ * Returns detailed information about a specific change store, such as its configuration and associated charts.
334
298
  * @example
335
299
  * getChangeStore(
336
300
  * "507f1f77bcf86cd799439011"
@@ -341,7 +305,7 @@ type ChangeStoresAPI = {
341
305
  */
342
306
  getChangeStore: typeof getChangeStore;
343
307
  /**
344
- * Retrieve changes for the specified change store.
308
+ * Returns a list of changes within the specified change-store.
345
309
  * @example
346
310
  * getChangeStoreChanges(
347
311
  * "507f1f77bcf86cd799439011",
@@ -358,7 +322,7 @@ type ChangeStoresAPI = {
358
322
  */
359
323
  getChangeStoreChanges: typeof getChangeStoreChanges;
360
324
  /**
361
- * Retrieve changes in tabular view.
325
+ * Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
362
326
  * @example
363
327
  * getChangeStoreChangesTabularViews(
364
328
  * "507f1f77bcf86cd799439011",
@@ -1,18 +1,18 @@
1
- import { t as __exportAll } from "../chunks/chunk-D3vHIbds.js";
2
- import "../chunks/public-runtime-modules-QhLPeQr5.js";
3
- import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-B7lGscuQ.js";
1
+ import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
2
+ import "../chunks/public-runtime-modules-2KfyI2qM.js";
3
+ import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DMAi6Fg3.js";
4
4
 
5
5
  //#region src/public/rest/analytics/change-stores.ts
6
6
  var change_stores_exports = /* @__PURE__ */ __exportAll({
7
7
  clearCache: () => clearCache,
8
- default: () => change_stores_default,
8
+ default: () => changeStoresExport,
9
9
  getChangeStore: () => getChangeStore,
10
10
  getChangeStoreChanges: () => getChangeStoreChanges,
11
11
  getChangeStoreChangesTabularViews: () => getChangeStoreChangesTabularViews,
12
12
  getChangeStores: () => getChangeStores
13
13
  });
14
14
  /**
15
- * Get a list of change-stores.
15
+ * Returns a list of change-stores, accessible to the user.
16
16
  * @example
17
17
  * getChangeStores(
18
18
  * {
@@ -35,7 +35,7 @@ async function getChangeStores(query, options) {
35
35
  });
36
36
  }
37
37
  /**
38
- * Get change store by Id.
38
+ * Returns detailed information about a specific change store, such as its configuration and associated charts.
39
39
  * @example
40
40
  * getChangeStore(
41
41
  * "507f1f77bcf86cd799439011"
@@ -53,7 +53,7 @@ async function getChangeStore(storeId, options) {
53
53
  });
54
54
  }
55
55
  /**
56
- * Retrieve changes for the specified change store.
56
+ * Returns a list of changes within the specified change-store.
57
57
  * @example
58
58
  * getChangeStoreChanges(
59
59
  * "507f1f77bcf86cd799439011",
@@ -78,7 +78,7 @@ async function getChangeStoreChanges(storeId, query, options) {
78
78
  });
79
79
  }
80
80
  /**
81
- * Retrieve changes in tabular view.
81
+ * Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
82
82
  * @example
83
83
  * getChangeStoreChangesTabularViews(
84
84
  * "507f1f77bcf86cd799439011",
@@ -117,7 +117,6 @@ const changeStoresExport = {
117
117
  getChangeStoreChangesTabularViews,
118
118
  clearCache
119
119
  };
120
- var change_stores_default = changeStoresExport;
121
120
 
122
121
  //#endregion
123
- export { clearCache, change_stores_default as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_exports as t };
122
+ export { clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_exports as t };
package/analytics.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
2
  import changeStoresExport, { t as change_stores_d_exports } from "./analytics/change-stores.js";
4
3
 
5
4
  //#region src/public/rest/analytics.d.ts
package/analytics.js CHANGED
@@ -1,13 +1,12 @@
1
- import "./chunks/public-runtime-modules-QhLPeQr5.js";
2
- import "./chunks/invoke-fetch-B7lGscuQ.js";
3
- import change_stores_default, { t as change_stores_exports } from "./analytics/change-stores.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import "./chunks/invoke-fetch-DMAi6Fg3.js";
3
+ import changeStoresExport, { t as change_stores_exports } from "./analytics/change-stores.js";
4
4
 
5
5
  //#region src/public/rest/analytics.ts
6
6
  /**
7
7
  * Functions for the analytics api
8
8
  */
9
- const analyticsExport = { changeStores: change_stores_default };
10
- var analytics_default = analyticsExport;
9
+ const analyticsExport = { changeStores: changeStoresExport };
11
10
 
12
11
  //#endregion
13
- export { change_stores_exports as changeStores, analytics_default as default };
12
+ export { change_stores_exports as changeStores, analyticsExport as default };
package/api-keys.d.ts CHANGED
@@ -1,91 +1,57 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
1
+ import { ApiCallOptions } from "./invoke-fetch-types.js";
2
+ import "./chunks/invoke-fetch-DFc3yzaj.js";
3
3
 
4
4
  //#region src/public/rest/api-keys.d.ts
5
5
  type ApiKey = {
6
- /** When the API key was created. */
7
- readonly created?: string;
8
- /** The ID of the user who created the key. */
9
- createdByUser: string;
10
- /** A description for the API key. */
11
- description: string;
12
- /** When the API key will expire and no longer be a valid authentication token. */
13
- expiry: string;
14
- /** The unique ID for the resource. */
15
- id: string;
16
- /** When the API key was last updated. */
17
- readonly lastUpdated?: string;
18
- /** The status of the API key. */
19
- status: "active" | "expired" | "revoked";
20
- /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
21
- sub: string;
22
- /** Type of the subject. For SCIM, it should be `externalClient`. */
23
- subType: "user" | "externalClient";
24
- /** The tenant ID. */
6
+ /** When the API key was created. */readonly created?: string; /** The ID of the user who created the key. */
7
+ createdByUser: string; /** A description for the API key. */
8
+ description: string; /** When the API key will expire and no longer be a valid authentication token. */
9
+ expiry: string; /** The unique ID for the resource. */
10
+ id: string; /** When the API key was last updated. */
11
+ readonly lastUpdated?: string; /** The status of the API key. */
12
+ status: "active" | "expired" | "revoked"; /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
13
+ sub: string; /** Type of the subject. For SCIM, it should be `externalClient`. */
14
+ subType: "user" | "externalClient"; /** The tenant ID. */
25
15
  tenantId: string;
26
16
  };
27
17
  type ApiKeyBody = {
28
- /** Text that describes the API key. */
29
- description: string;
30
- /** The expiry of the API key, in ISO8601 duration format. For example, `P7D` sets expiry after 7 days. If not provided, defaults to the maximum API key or SCIM key expiry configured in the tenant. */
31
- expiry?: string;
32
- /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. When creating an API key for a user, this is their user ID, e.g. `64ef645a3b7009d55dee5a2b`, and will default to the requesting user if not provided. User must be assigned the `Developer` role. */
33
- sub?: string;
34
- /** Type of the subject. For SCIM, it should be `externalClient`. If not specified, defaults to `user`. */
18
+ /** Text that describes the API key. */description: string; /** The expiry of the API key, in ISO8601 duration format. For example, `P7D` sets expiry after 7 days. If not provided, defaults to the maximum API key or SCIM key expiry configured in the tenant. */
19
+ expiry?: string; /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. When creating an API key for a user, this is their user ID, e.g. `64ef645a3b7009d55dee5a2b`, and will default to the requesting user if not provided. User must be assigned the `Developer` role. */
20
+ sub?: string; /** Type of the subject. For SCIM, it should be `externalClient`. If not specified, defaults to `user`. */
35
21
  subType?: "user" | "externalClient";
36
22
  };
37
23
  /**
38
24
  * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
39
25
  */
40
26
  type ApiKeyConfigPatch = {
41
- /** The operation to be performed. */
42
- op: "replace";
43
- /** The path for the given resource field to patch. */
44
- path: "/max_api_key_expiry" | "/max_keys_per_user" | "/scim_externalClient_expiry";
45
- /** The value to be used for this operation. */
27
+ /** The operation to be performed. */op: "replace"; /** The path for the given resource field to patch. */
28
+ path: "/max_api_key_expiry" | "/max_keys_per_user" | "/scim_externalClient_expiry"; /** The value to be used for this operation. */
46
29
  value: unknown;
47
30
  };
48
31
  /**
49
32
  * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
50
33
  */
51
34
  type ApiKeyPatch = {
52
- /** The operation to be performed. */
53
- op: "replace";
54
- /** The path for the given resource field to patch. */
55
- path: "/description";
56
- /** The value to be used for this operation. */
35
+ /** The operation to be performed. */op: "replace"; /** The path for the given resource field to patch. */
36
+ path: "/description"; /** The value to be used for this operation. */
57
37
  value: string;
58
38
  };
59
39
  type ApiKeyWithToken = {
60
- /** When the API key was created. */
61
- readonly created?: string;
62
- /** The id of the user who created the key. */
63
- createdByUser: string;
64
- /** A description for the API key. */
65
- description: string;
66
- /** When the API key will expire and no longer be a valid authentication token. */
67
- expiry: string;
68
- /** The unique ID for the resource. */
69
- id: string;
70
- /** When the API key was last updated. */
71
- readonly lastUpdated?: string;
72
- /** The status of the API key. */
73
- status: "active" | "expired" | "revoked";
74
- /** The ID of the subject for the API key. */
75
- sub: string;
76
- /** Type of the subject. */
77
- subType: "user";
78
- /** The tenant ID. */
79
- tenantId: string;
80
- /** The generated signed JWT. */
40
+ /** When the API key was created. */readonly created?: string; /** The id of the user who created the key. */
41
+ createdByUser: string; /** A description for the API key. */
42
+ description: string; /** When the API key will expire and no longer be a valid authentication token. */
43
+ expiry: string; /** The unique ID for the resource. */
44
+ id: string; /** When the API key was last updated. */
45
+ readonly lastUpdated?: string; /** The status of the API key. */
46
+ status: "active" | "expired" | "revoked"; /** The ID of the subject for the API key. */
47
+ sub: string; /** Type of the subject. */
48
+ subType: "user"; /** The tenant ID. */
49
+ tenantId: string; /** The generated signed JWT. */
81
50
  token: string;
82
51
  };
83
52
  type ApiKeysConfig = {
84
- /** The maximum lifetime, in ISO8601 duration format, for which an API key can be issued for the specified tenant, e.g. `P7D` for 7 days. */
85
- max_api_key_expiry?: string;
86
- /** The maximum number of active API keys that any user can create for the specified tenant. */
87
- max_keys_per_user?: number;
88
- /** The expiry of the scim `externalClient` token in ISO8601 duration format, e.g. `P365D` for 365 days. Used during the creation of an `externalClient` API key for configuring a SCIM compatible Identity Provider. */
53
+ /** The maximum lifetime, in ISO8601 duration format, for which an API key can be issued for the specified tenant, e.g. `P7D` for 7 days. */max_api_key_expiry?: string; /** The maximum number of active API keys that any user can create for the specified tenant. */
54
+ max_keys_per_user?: number; /** The expiry of the scim `externalClient` token in ISO8601 duration format, e.g. `P365D` for 365 days. Used during the creation of an `externalClient` API key for configuring a SCIM compatible Identity Provider. */
89
55
  scim_externalClient_expiry?: string;
90
56
  };
91
57
  /**
@@ -114,40 +80,27 @@ type ApiKeysPatchSchema = ApiKeyPatch[];
114
80
  * An error object.
115
81
  */
116
82
  type Error = {
117
- /** The error code. */
118
- code: string;
119
- /** A human-readable explanation specific to this occurrence of the problem. */
120
- detail?: string;
121
- /** Additional properties relating to the error. */
122
- meta?: unknown;
123
- /** References to the source of the error. */
83
+ /** The error code. */code: string; /** A human-readable explanation specific to this occurrence of the problem. */
84
+ detail?: string; /** Additional properties relating to the error. */
85
+ meta?: unknown; /** References to the source of the error. */
124
86
  source?: {
125
- /** The URI query parameter that caused the error. */
126
- parameter?: string;
127
- /** A JSON Pointer to the property that caused the error. */
87
+ /** The URI query parameter that caused the error. */parameter?: string; /** A JSON Pointer to the property that caused the error. */
128
88
  pointer?: string;
129
- };
130
- /** The HTTP status code. */
131
- status?: number;
132
- /** Summary of the problem. */
89
+ }; /** The HTTP status code. */
90
+ status?: number; /** Summary of the problem. */
133
91
  title: string;
134
92
  };
135
93
  type Errors = {
136
- /** List of errors and their properties. */
137
- errors?: Error[];
94
+ /** List of errors and their properties. */errors?: Error[];
138
95
  };
139
96
  type Link = {
140
- /** The URL for the link. */
141
- href: string;
97
+ /** The URL for the link. */href: string;
142
98
  };
143
99
  type RetryAfterHeader = {
144
- /** The amount of seconds to wait before retrying the request. */
145
- "retry-after"?: number;
100
+ /** The amount of seconds to wait before retrying the request. */"retry-after"?: number;
146
101
  };
147
102
  type ApiKeyPage = {
148
- /** Properties of API keys in a given tenant. */
149
- data: ApiKey[];
150
- /** Navigation links to page results. */
103
+ /** Properties of API keys in a given tenant. */data: ApiKey[]; /** Navigation links to page results. */
151
104
  links: {
152
105
  next?: Link;
153
106
  prev?: Link;
@@ -161,19 +114,12 @@ type ApiKeyPage = {
161
114
  * @throws GetApiKeysHttpError
162
115
  */
163
116
  declare function getApiKeys(query: {
164
- /** The user ID that created the API key. */
165
- createdByUser?: string;
166
- /** Get resources with IDs that are lower than the target resource ID. Cannot be used in conjunction with startingAfter. */
167
- endingBefore?: string;
168
- /** Maximum number of API keys to retrieve. */
169
- limit?: number;
170
- /** The field to sort by, with +/- prefix indicating sort order */
171
- sort?: "createdByUser" | "+createdByUser" | "-createdByUser" | "sub" | "+sub" | "-sub" | "status" | "+status" | "-status" | "description" | "+description" | "-description" | "created" | "+created" | "-created";
172
- /** Get resources with IDs that are higher than the target resource ID. Cannot be used in conjunction with endingBefore. */
173
- startingAfter?: string;
174
- /** The status of the API key. */
175
- status?: "active" | "expired" | "revoked";
176
- /** The ID of the subject. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
117
+ /** The user ID that created the API key. */createdByUser?: string; /** Get resources with IDs that are lower than the target resource ID. Cannot be used in conjunction with startingAfter. */
118
+ endingBefore?: string; /** Maximum number of API keys to retrieve. */
119
+ limit?: number; /** The field to sort by, with +/- prefix indicating sort order */
120
+ sort?: "createdByUser" | "+createdByUser" | "-createdByUser" | "sub" | "+sub" | "-sub" | "status" | "+status" | "-status" | "description" | "+description" | "-description" | "created" | "+created" | "-created"; /** Get resources with IDs that are higher than the target resource ID. Cannot be used in conjunction with endingBefore. */
121
+ startingAfter?: string; /** The status of the API key. */
122
+ status?: "active" | "expired" | "revoked"; /** The ID of the subject. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
177
123
  sub?: string;
178
124
  }, options?: ApiCallOptions): Promise<GetApiKeysHttpResponse>;
179
125
  type GetApiKeysHttpResponse = {
package/api-keys.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
1
+ import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
3
3
 
4
4
  //#region src/public/rest/api-keys.ts
5
5
  /**
@@ -127,7 +127,6 @@ const apiKeysExport = {
127
127
  patchApiKey,
128
128
  clearCache
129
129
  };
130
- var api_keys_default = apiKeysExport;
131
130
 
132
131
  //#endregion
133
- export { clearCache, createApiKey, api_keys_default as default, deleteApiKey, getApiKey, getApiKeys, getApiKeysConfig, patchApiKey, patchApiKeysConfig };
132
+ export { clearCache, createApiKey, apiKeysExport as default, deleteApiKey, getApiKey, getApiKeys, getApiKeysConfig, patchApiKey, patchApiKeysConfig };