@qlik/api 1.27.0 → 1.29.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 (65) hide show
  1. package/api-keys.d.ts +20 -0
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +134 -5
  4. package/apps.js +2 -2
  5. package/audits.d.ts +1 -1
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +13 -1
  9. package/automations.js +2 -2
  10. package/brands.js +2 -2
  11. package/chunks/{V3TZ54UE.js → 2B7YWDQC.js} +3 -3
  12. package/chunks/{4K3CNR7C.js → 5MRIMVKS.js} +1 -1
  13. package/chunks/{55SZVSAG.js → 5XNSGPGZ.js} +1 -1
  14. package/chunks/{EOGHK2R4.js → KYCIMQ4L.js} +1 -1
  15. package/chunks/{WY7IOA3Q.js → WQYEWU54.js} +2 -2
  16. package/collections.d.ts +1 -1
  17. package/collections.js +2 -2
  18. package/csp-origins.js +2 -2
  19. package/data-assets.d.ts +1 -1
  20. package/data-assets.js +2 -2
  21. package/data-connections.d.ts +82 -0
  22. package/data-connections.js +2 -2
  23. package/data-credentials.d.ts +28 -0
  24. package/data-credentials.js +2 -2
  25. package/data-files.d.ts +90 -0
  26. package/data-files.js +2 -2
  27. package/extensions.js +2 -2
  28. package/glossaries.d.ts +15 -1
  29. package/glossaries.js +2 -2
  30. package/groups.d.ts +70 -0
  31. package/groups.js +2 -2
  32. package/identity-providers.js +2 -2
  33. package/index.js +8 -4
  34. package/items.d.ts +1 -1
  35. package/items.js +2 -2
  36. package/licenses.d.ts +191 -0
  37. package/licenses.js +2 -2
  38. package/package.json +4 -4
  39. package/qix.d.ts +26 -2
  40. package/qix.js +2 -2
  41. package/quotas.js +2 -2
  42. package/reload-tasks.d.ts +20 -0
  43. package/reload-tasks.js +2 -2
  44. package/reloads.d.ts +38 -1
  45. package/reloads.js +2 -2
  46. package/reports.d.ts +157 -17
  47. package/reports.js +2 -2
  48. package/roles.d.ts +30 -0
  49. package/roles.js +2 -2
  50. package/spaces.d.ts +225 -38
  51. package/spaces.js +47 -2
  52. package/temp-contents.js +2 -2
  53. package/tenants.d.ts +47 -1
  54. package/tenants.js +2 -2
  55. package/themes.js +2 -2
  56. package/transports.d.ts +9 -0
  57. package/transports.js +2 -2
  58. package/users.d.ts +88 -0
  59. package/users.js +2 -2
  60. package/web-integrations.d.ts +20 -0
  61. package/web-integrations.js +2 -2
  62. package/web-notifications.d.ts +19 -0
  63. package/web-notifications.js +2 -2
  64. package/webhooks.d.ts +3 -3
  65. package/webhooks.js +2 -2
@@ -25,6 +25,16 @@ type Error = {
25
25
  };
26
26
  /**
27
27
  * The error response object describing the error from the handling of an HTTP request.
28
+ * @example
29
+ * {
30
+ * errors: [
31
+ * {
32
+ * code: "TENANTS-8",
33
+ * title: "Not found"
34
+ * }
35
+ * ],
36
+ * traceId: "000000000000000079cf1ebeae103de1"
37
+ * }
28
38
  */
29
39
  type Errors = {
30
40
  /** An array of errors related to the operation. */
@@ -62,6 +72,16 @@ type WebIntegrationPatch = {
62
72
  /** New value to be used for this operation. */
63
73
  value: string;
64
74
  };
75
+ /**
76
+ * @example
77
+ * [
78
+ * {
79
+ * op: "replace",
80
+ * path: "/name",
81
+ * value: "New name"
82
+ * }
83
+ * ]
84
+ */
65
85
  type WebIntegrationPatchSchema = WebIntegrationPatch[];
66
86
  /**
67
87
  * The creation of a web integration response.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-integrations.ts
@@ -70,6 +70,13 @@ type NotificationPatch = {
70
70
  };
71
71
  /**
72
72
  * An array of JSON Patch documents
73
+ * @example
74
+ * [
75
+ * {
76
+ * op: "replace",
77
+ * path: "/read"
78
+ * }
79
+ * ]
73
80
  */
74
81
  type NotificationPatchSchema = NotificationPatch[];
75
82
  type Notifications = {
@@ -81,6 +88,12 @@ type Notifications = {
81
88
  };
82
89
  /**
83
90
  * Retrieve notifications matching the query.
91
+ * @example
92
+ * getNotifications(
93
+ * {
94
+ * resourceType: "app,space"
95
+ * }
96
+ * )
84
97
  *
85
98
  * @param query an object with query parameters
86
99
  * @throws GetNotificationsHttpError
@@ -201,6 +214,12 @@ declare function clearCache(): void;
201
214
  interface WebNotificationsAPI {
202
215
  /**
203
216
  * Retrieve notifications matching the query.
217
+ * @example
218
+ * getNotifications(
219
+ * {
220
+ * resourceType: "app,space"
221
+ * }
222
+ * )
204
223
  *
205
224
  * @param query an object with query parameters
206
225
  * @throws GetNotificationsHttpError
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-notifications.ts
package/webhooks.d.ts CHANGED
@@ -10,7 +10,7 @@ type Delivery = {
10
10
  /** The sent body/payload of the delivery */
11
11
  body?: unknown;
12
12
  /** Headers sent for this delivery */
13
- headers?: unknown;
13
+ headers?: Record<string, string>;
14
14
  /** URL used for this delivery */
15
15
  url?: string;
16
16
  };
@@ -18,7 +18,7 @@ type Delivery = {
18
18
  /** The received body of the delivery */
19
19
  body?: string;
20
20
  /** Headers received for this delivery */
21
- headers?: unknown;
21
+ headers?: Record<string, string>;
22
22
  /** The HTTP status code of the response */
23
23
  statusCode?: number;
24
24
  };
@@ -94,7 +94,7 @@ type WebhookBase = {
94
94
  * For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
95
95
  filter?: string;
96
96
  /** Additional headers in the post request */
97
- headers?: unknown;
97
+ headers?: Record<string, string>;
98
98
  /** The webhook's unique identifier */
99
99
  readonly id?: string;
100
100
  /** Defines at what level the webhook should operate: for all resources belonging to a tenant or restricted to only those accessible by the webhook-creator. */
package/webhooks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/webhooks.ts