@qlik/api 0.0.1 → 0.0.3

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 (156) 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 +27 -13
  5. package/api-keys.d.ts +27 -13
  6. package/api-keys.js +17 -13
  7. package/api-keys.mjs +12 -8
  8. package/apps.d.mts +580 -165
  9. package/apps.d.ts +580 -165
  10. package/apps.js +111 -44
  11. package/apps.mjs +78 -11
  12. package/audits.d.mts +20 -8
  13. package/audits.d.ts +20 -8
  14. package/audits.js +12 -11
  15. package/audits.mjs +7 -6
  16. package/auth-AWZV4DPP.js +41 -0
  17. package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
  18. package/auth.js +4 -3
  19. package/auth.mjs +3 -2
  20. package/automations.d.mts +56 -20
  21. package/automations.d.ts +56 -20
  22. package/automations.js +32 -25
  23. package/automations.mjs +18 -11
  24. package/brands.d.mts +45 -4
  25. package/brands.d.ts +45 -4
  26. package/brands.js +20 -15
  27. package/brands.mjs +7 -2
  28. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  29. package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
  30. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  31. package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
  32. package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
  33. package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
  34. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  35. package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
  36. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  37. package/chunk-P57PW2II.js +11 -0
  38. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  39. package/chunk-ZFXKCRJC.mjs +11 -0
  40. package/collections.d.mts +52 -18
  41. package/collections.d.ts +52 -18
  42. package/collections.js +28 -14
  43. package/collections.mjs +16 -2
  44. package/csp-origins.d.mts +12 -0
  45. package/csp-origins.d.ts +12 -0
  46. package/csp-origins.js +12 -9
  47. package/csp-origins.mjs +5 -2
  48. package/data-assets.d.mts +10 -0
  49. package/data-assets.d.ts +10 -0
  50. package/data-assets.js +13 -8
  51. package/data-assets.mjs +7 -2
  52. package/data-connections.d.mts +20 -0
  53. package/data-connections.d.ts +20 -0
  54. package/data-connections.js +19 -12
  55. package/data-connections.mjs +9 -2
  56. package/data-credentials.d.mts +10 -0
  57. package/data-credentials.d.ts +10 -0
  58. package/data-credentials.js +10 -7
  59. package/data-credentials.mjs +5 -2
  60. package/data-files.d.mts +114 -29
  61. package/data-files.d.ts +114 -29
  62. package/data-files.js +25 -18
  63. package/data-files.mjs +15 -8
  64. package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
  65. package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
  66. package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
  67. package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
  68. package/extensions.d.mts +26 -2
  69. package/extensions.d.ts +26 -2
  70. package/extensions.js +13 -10
  71. package/extensions.mjs +5 -2
  72. package/glossaries.d.mts +55 -20
  73. package/glossaries.d.ts +55 -20
  74. package/glossaries.js +39 -27
  75. package/glossaries.mjs +14 -2
  76. package/groups.d.mts +29 -13
  77. package/groups.d.ts +29 -13
  78. package/groups.js +19 -14
  79. package/groups.mjs +13 -8
  80. package/identity-providers.d.mts +23 -7
  81. package/identity-providers.d.ts +23 -7
  82. package/identity-providers.js +16 -13
  83. package/identity-providers.mjs +8 -5
  84. package/index.js +150 -112
  85. package/index.mjs +146 -108
  86. package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  87. package/invoke-fetch-UNTAUR7O.js +17 -0
  88. package/items.d.mts +25 -22
  89. package/items.d.ts +25 -22
  90. package/items.js +17 -14
  91. package/items.mjs +11 -8
  92. package/licenses.d.mts +20 -0
  93. package/licenses.d.ts +20 -0
  94. package/licenses.js +17 -12
  95. package/licenses.mjs +7 -2
  96. package/package.json +7 -18
  97. package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
  98. package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
  99. package/qix.d.mts +1066 -1017
  100. package/qix.d.ts +1066 -1017
  101. package/qix.js +4 -3
  102. package/qix.mjs +3 -2
  103. package/quotas.d.mts +4 -0
  104. package/quotas.d.ts +4 -0
  105. package/quotas.js +6 -5
  106. package/quotas.mjs +3 -2
  107. package/reload-tasks.d.mts +2 -0
  108. package/reload-tasks.d.ts +2 -0
  109. package/reload-tasks.js +11 -8
  110. package/reload-tasks.mjs +5 -2
  111. package/reloads.d.mts +20 -11
  112. package/reloads.d.ts +20 -11
  113. package/reloads.js +9 -7
  114. package/reloads.mjs +4 -2
  115. package/roles.d.mts +4 -0
  116. package/roles.d.ts +4 -0
  117. package/roles.js +6 -5
  118. package/roles.mjs +3 -2
  119. package/spaces.d.mts +36 -30
  120. package/spaces.d.ts +36 -30
  121. package/spaces.js +21 -15
  122. package/spaces.mjs +8 -2
  123. package/temp-contents.d.mts +9 -70
  124. package/temp-contents.d.ts +9 -70
  125. package/temp-contents.js +10 -29
  126. package/temp-contents.mjs +5 -24
  127. package/tenants.d.mts +12 -0
  128. package/tenants.d.ts +12 -0
  129. package/tenants.js +14 -9
  130. package/tenants.mjs +7 -2
  131. package/themes.d.mts +26 -2
  132. package/themes.d.ts +26 -2
  133. package/themes.js +13 -10
  134. package/themes.mjs +5 -2
  135. package/transports.d.mts +12 -0
  136. package/transports.d.ts +12 -0
  137. package/transports.js +12 -9
  138. package/transports.mjs +5 -2
  139. package/users.d.mts +48 -29
  140. package/users.d.ts +48 -29
  141. package/users.js +18 -13
  142. package/users.mjs +7 -2
  143. package/web-integrations.d.mts +10 -0
  144. package/web-integrations.d.ts +10 -0
  145. package/web-integrations.js +11 -8
  146. package/web-integrations.mjs +5 -2
  147. package/web-notifications.d.mts +12 -0
  148. package/web-notifications.d.ts +12 -0
  149. package/web-notifications.js +12 -9
  150. package/web-notifications.mjs +5 -2
  151. package/webhooks.d.mts +27 -7
  152. package/webhooks.d.ts +27 -7
  153. package/webhooks.js +17 -13
  154. package/webhooks.mjs +6 -2
  155. package/auth-CSVTXOZX.js +0 -36
  156. package/invoke-fetch-PEI54KZO.js +0 -14
@@ -105,6 +105,7 @@ type WebIntegrations = {
105
105
  };
106
106
  /**
107
107
  * Retrieves web integrations matching the query.
108
+ *
108
109
  * @param query an object with query parameters
109
110
  * @throws GetWebIntegrationsHttpError
110
111
  */
@@ -134,6 +135,7 @@ type GetWebIntegrationsHttpError = {
134
135
  };
135
136
  /**
136
137
  * Creates a web integration.
138
+ *
137
139
  * @param body an object with the body content
138
140
  * @throws CreateWebIntegrationHttpError
139
141
  */
@@ -150,6 +152,7 @@ type CreateWebIntegrationHttpError = {
150
152
  };
151
153
  /**
152
154
  * Deletes a single web integration by ID.
155
+ *
153
156
  * @param id The ID of the web integration to delete.
154
157
  * @throws DeleteWebIntegrationHttpError
155
158
  */
@@ -166,6 +169,7 @@ type DeleteWebIntegrationHttpError = {
166
169
  };
167
170
  /**
168
171
  * Retrieves a single web integration by ID.
172
+ *
169
173
  * @param id The ID of the web integration to retrieve.
170
174
  * @throws GetWebIntegrationHttpError
171
175
  */
@@ -182,6 +186,7 @@ type GetWebIntegrationHttpError = {
182
186
  };
183
187
  /**
184
188
  * Updates a single web integration by ID.
189
+ *
185
190
  * @param id The ID of the web integration to update.
186
191
  * @param body an object with the body content
187
192
  * @throws PatchWebIntegrationHttpError
@@ -204,30 +209,35 @@ declare function clearCache(): void;
204
209
  interface WebIntegrationsAPI {
205
210
  /**
206
211
  * Retrieves web integrations matching the query.
212
+ *
207
213
  * @param query an object with query parameters
208
214
  * @throws GetWebIntegrationsHttpError
209
215
  */
210
216
  getWebIntegrations: typeof getWebIntegrations;
211
217
  /**
212
218
  * Creates a web integration.
219
+ *
213
220
  * @param body an object with the body content
214
221
  * @throws CreateWebIntegrationHttpError
215
222
  */
216
223
  createWebIntegration: typeof createWebIntegration;
217
224
  /**
218
225
  * Deletes a single web integration by ID.
226
+ *
219
227
  * @param id The ID of the web integration to delete.
220
228
  * @throws DeleteWebIntegrationHttpError
221
229
  */
222
230
  deleteWebIntegration: typeof deleteWebIntegration;
223
231
  /**
224
232
  * Retrieves a single web integration by ID.
233
+ *
225
234
  * @param id The ID of the web integration to retrieve.
226
235
  * @throws GetWebIntegrationHttpError
227
236
  */
228
237
  getWebIntegration: typeof getWebIntegration;
229
238
  /**
230
239
  * Updates a single web integration by ID.
240
+ *
231
241
  * @param id The ID of the web integration to update.
232
242
  * @param body an object with the body content
233
243
  * @throws PatchWebIntegrationHttpError
@@ -1,43 +1,46 @@
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 _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/web-integrations.ts
8
- var getWebIntegrations = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-integrations", {
9
+ var getWebIntegrations = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/web-integrations",
11
12
  query,
12
13
  options
13
14
  });
14
- var createWebIntegration = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-integrations", {
15
+ var createWebIntegration = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/web-integrations",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var deleteWebIntegration = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-integrations", {
22
+ var deleteWebIntegration = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
21
23
  method: "delete",
22
24
  pathTemplate: "/api/v1/web-integrations/{id}",
23
25
  pathVariables: { id },
24
26
  options
25
27
  });
26
- var getWebIntegration = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-integrations", {
28
+ var getWebIntegration = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
27
29
  method: "get",
28
30
  pathTemplate: "/api/v1/web-integrations/{id}",
29
31
  pathVariables: { id },
30
32
  options
31
33
  });
32
- var patchWebIntegration = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-integrations", {
34
+ var patchWebIntegration = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-integrations", {
33
35
  method: "patch",
34
36
  pathTemplate: "/api/v1/web-integrations/{id}",
35
37
  pathVariables: { id },
36
38
  body,
39
+ contentType: "application/json",
37
40
  options
38
41
  });
39
42
  function clearCache() {
40
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "web-integrations");
43
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "web-integrations");
41
44
  }
42
45
  var webIntegrationsExport = {
43
46
  getWebIntegrations,
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/web-integrations.ts
8
9
  var getWebIntegrations = async (query, options) => invokeFetch("web-integrations", {
@@ -15,6 +16,7 @@ var createWebIntegration = async (body, options) => invokeFetch("web-integration
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/web-integrations",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var deleteWebIntegration = async (id, options) => invokeFetch("web-integrations", {
@@ -34,6 +36,7 @@ var patchWebIntegration = async (id, body, options) => invokeFetch("web-integrat
34
36
  pathTemplate: "/api/v1/web-integrations/{id}",
35
37
  pathVariables: { id },
36
38
  body,
39
+ contentType: "application/json",
37
40
  options
38
41
  });
39
42
  function clearCache() {
@@ -61,6 +61,7 @@ type Notifications = {
61
61
  };
62
62
  /**
63
63
  * Retrieve notifications matching the query.
64
+ *
64
65
  * @param query an object with query parameters
65
66
  * @throws GetNotificationsHttpError
66
67
  */
@@ -88,6 +89,7 @@ type GetNotificationsHttpError = {
88
89
  };
89
90
  /**
90
91
  * Delete all notifications.
92
+ *
91
93
  * @throws DeleteNotificationsHttpError
92
94
  */
93
95
  declare const deleteNotifications: (options?: ApiCallOptions) => Promise<DeleteNotificationsHttpResponse>;
@@ -103,6 +105,7 @@ type DeleteNotificationsHttpError = {
103
105
  };
104
106
  /**
105
107
  * Patch all notifications.
108
+ *
106
109
  * @param body an object with the body content
107
110
  * @throws PatchNotificationsHttpError
108
111
  */
@@ -119,6 +122,7 @@ type PatchNotificationsHttpError = {
119
122
  };
120
123
  /**
121
124
  * Delete a notification.
125
+ *
122
126
  * @param notificationId The id of the notification to delete.
123
127
  * @throws DeleteNotificationHttpError
124
128
  */
@@ -135,6 +139,7 @@ type DeleteNotificationHttpError = {
135
139
  };
136
140
  /**
137
141
  * Retrieve a single notification by Id.
142
+ *
138
143
  * @param notificationId The id of the notification to retrieve.
139
144
  * @throws GetNotificationHttpError
140
145
  */
@@ -151,6 +156,7 @@ type GetNotificationHttpError = {
151
156
  };
152
157
  /**
153
158
  * Patch a notification.
159
+ *
154
160
  * @param notificationId The id of the notification to update.
155
161
  * @param body an object with the body content
156
162
  * @throws PatchNotificationHttpError
@@ -173,35 +179,41 @@ declare function clearCache(): void;
173
179
  interface WebNotificationsAPI {
174
180
  /**
175
181
  * Retrieve notifications matching the query.
182
+ *
176
183
  * @param query an object with query parameters
177
184
  * @throws GetNotificationsHttpError
178
185
  */
179
186
  getNotifications: typeof getNotifications;
180
187
  /**
181
188
  * Delete all notifications.
189
+ *
182
190
  * @throws DeleteNotificationsHttpError
183
191
  */
184
192
  deleteNotifications: typeof deleteNotifications;
185
193
  /**
186
194
  * Patch all notifications.
195
+ *
187
196
  * @param body an object with the body content
188
197
  * @throws PatchNotificationsHttpError
189
198
  */
190
199
  patchNotifications: typeof patchNotifications;
191
200
  /**
192
201
  * Delete a notification.
202
+ *
193
203
  * @param notificationId The id of the notification to delete.
194
204
  * @throws DeleteNotificationHttpError
195
205
  */
196
206
  deleteNotification: typeof deleteNotification;
197
207
  /**
198
208
  * Retrieve a single notification by Id.
209
+ *
199
210
  * @param notificationId The id of the notification to retrieve.
200
211
  * @throws GetNotificationHttpError
201
212
  */
202
213
  getNotification: typeof getNotification;
203
214
  /**
204
215
  * Patch a notification.
216
+ *
205
217
  * @param notificationId The id of the notification to update.
206
218
  * @param body an object with the body content
207
219
  * @throws PatchNotificationHttpError
@@ -61,6 +61,7 @@ type Notifications = {
61
61
  };
62
62
  /**
63
63
  * Retrieve notifications matching the query.
64
+ *
64
65
  * @param query an object with query parameters
65
66
  * @throws GetNotificationsHttpError
66
67
  */
@@ -88,6 +89,7 @@ type GetNotificationsHttpError = {
88
89
  };
89
90
  /**
90
91
  * Delete all notifications.
92
+ *
91
93
  * @throws DeleteNotificationsHttpError
92
94
  */
93
95
  declare const deleteNotifications: (options?: ApiCallOptions) => Promise<DeleteNotificationsHttpResponse>;
@@ -103,6 +105,7 @@ type DeleteNotificationsHttpError = {
103
105
  };
104
106
  /**
105
107
  * Patch all notifications.
108
+ *
106
109
  * @param body an object with the body content
107
110
  * @throws PatchNotificationsHttpError
108
111
  */
@@ -119,6 +122,7 @@ type PatchNotificationsHttpError = {
119
122
  };
120
123
  /**
121
124
  * Delete a notification.
125
+ *
122
126
  * @param notificationId The id of the notification to delete.
123
127
  * @throws DeleteNotificationHttpError
124
128
  */
@@ -135,6 +139,7 @@ type DeleteNotificationHttpError = {
135
139
  };
136
140
  /**
137
141
  * Retrieve a single notification by Id.
142
+ *
138
143
  * @param notificationId The id of the notification to retrieve.
139
144
  * @throws GetNotificationHttpError
140
145
  */
@@ -151,6 +156,7 @@ type GetNotificationHttpError = {
151
156
  };
152
157
  /**
153
158
  * Patch a notification.
159
+ *
154
160
  * @param notificationId The id of the notification to update.
155
161
  * @param body an object with the body content
156
162
  * @throws PatchNotificationHttpError
@@ -173,35 +179,41 @@ declare function clearCache(): void;
173
179
  interface WebNotificationsAPI {
174
180
  /**
175
181
  * Retrieve notifications matching the query.
182
+ *
176
183
  * @param query an object with query parameters
177
184
  * @throws GetNotificationsHttpError
178
185
  */
179
186
  getNotifications: typeof getNotifications;
180
187
  /**
181
188
  * Delete all notifications.
189
+ *
182
190
  * @throws DeleteNotificationsHttpError
183
191
  */
184
192
  deleteNotifications: typeof deleteNotifications;
185
193
  /**
186
194
  * Patch all notifications.
195
+ *
187
196
  * @param body an object with the body content
188
197
  * @throws PatchNotificationsHttpError
189
198
  */
190
199
  patchNotifications: typeof patchNotifications;
191
200
  /**
192
201
  * Delete a notification.
202
+ *
193
203
  * @param notificationId The id of the notification to delete.
194
204
  * @throws DeleteNotificationHttpError
195
205
  */
196
206
  deleteNotification: typeof deleteNotification;
197
207
  /**
198
208
  * Retrieve a single notification by Id.
209
+ *
199
210
  * @param notificationId The id of the notification to retrieve.
200
211
  * @throws GetNotificationHttpError
201
212
  */
202
213
  getNotification: typeof getNotification;
203
214
  /**
204
215
  * Patch a notification.
216
+ *
205
217
  * @param notificationId The id of the notification to update.
206
218
  * @param body an object with the body content
207
219
  * @throws PatchNotificationHttpError
@@ -1,48 +1,51 @@
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 _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/web-notifications.ts
8
- var getNotifications = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
9
+ var getNotifications = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/web-notifications",
11
12
  query,
12
13
  options
13
14
  });
14
- var deleteNotifications = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
15
+ var deleteNotifications = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
15
16
  method: "delete",
16
17
  pathTemplate: "/api/v1/web-notifications/all",
17
18
  options
18
19
  });
19
- var patchNotifications = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
20
+ var patchNotifications = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
20
21
  method: "patch",
21
22
  pathTemplate: "/api/v1/web-notifications/all",
22
23
  body,
24
+ contentType: "application/json",
23
25
  options
24
26
  });
25
- var deleteNotification = async (notificationId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
27
+ var deleteNotification = async (notificationId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
26
28
  method: "delete",
27
29
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
28
30
  pathVariables: { notificationId },
29
31
  options
30
32
  });
31
- var getNotification = async (notificationId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
33
+ var getNotification = async (notificationId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
32
34
  method: "get",
33
35
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
34
36
  pathVariables: { notificationId },
35
37
  options
36
38
  });
37
- var patchNotification = async (notificationId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "web-notifications", {
39
+ var patchNotification = async (notificationId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "web-notifications", {
38
40
  method: "patch",
39
41
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
40
42
  pathVariables: { notificationId },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
47
  function clearCache() {
45
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "web-notifications");
48
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "web-notifications");
46
49
  }
47
50
  var webNotificationsExport = {
48
51
  getNotifications,
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/web-notifications.ts
8
9
  var getNotifications = async (query, options) => invokeFetch("web-notifications", {
@@ -20,6 +21,7 @@ var patchNotifications = async (body, options) => invokeFetch("web-notifications
20
21
  method: "patch",
21
22
  pathTemplate: "/api/v1/web-notifications/all",
22
23
  body,
24
+ contentType: "application/json",
23
25
  options
24
26
  });
25
27
  var deleteNotification = async (notificationId, options) => invokeFetch("web-notifications", {
@@ -39,6 +41,7 @@ var patchNotification = async (notificationId, body, options) => invokeFetch("we
39
41
  pathTemplate: "/api/v1/web-notifications/{notificationId}",
40
42
  pathVariables: { notificationId },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
47
  function clearCache() {
package/webhooks.d.mts CHANGED
@@ -85,11 +85,11 @@ type WebhookBase = {
85
85
  /** Types of events for which the webhook should trigger. */
86
86
  eventTypes?: string[];
87
87
  /** Filter that should match for a webhook to be triggered.
88
- // Supported common attribute names are 'id', 'spaceId' and 'topLevelResourceId', beside the common attributes the "com.qlik.v1.app.reload.finished" event also supports "data.status" that could be either "ok" or "error" but can't be used together with other event types.
89
- // Supported attribute operators are 'eq' and 'ne'.
90
- // Supported logical operators are 'and' and 'or'.
91
- // Note that attribute values must be valid JSON strings, hence they're enclosed with double quotes
92
- // For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
88
+ * Supported common attribute names are 'id', 'spaceId' and 'topLevelResourceId', beside the common attributes the "com.qlik.v1.app.reload.finished" event also supports "data.status" that could be either "ok" or "error" but can't be used together with other event types.
89
+ * Supported attribute operators are 'eq' and 'ne'.
90
+ * Supported logical operators are 'and' and 'or'.
91
+ * Note that attribute values must be valid JSON strings, hence they're enclosed with double quotes
92
+ * For more detailed information regarding the SCIM filter syntax (RFC7644) used please follow the link to external documentation. */
93
93
  filter?: string;
94
94
  /** Additional headers in the post request */
95
95
  headers?: unknown;
@@ -127,15 +127,16 @@ type WebhookPatch = {
127
127
  value?: boolean | number | unknown | string;
128
128
  };
129
129
  type WebhookPost = WebhookBase & {
130
- /** String that indicates from where the webhook was created and its purpose */
130
+ /** Indicates from where the webhook was created and its purpose */
131
131
  origin?: "api" | "automations" | "management-console";
132
132
  };
133
133
  type WebhookResponse = WebhookBase & {
134
- /** String that indicates from where the webhook was created and its purpose */
134
+ /** Indicates from where the webhook was created and its purpose */
135
135
  readonly origin?: "api" | "automations" | "management-console";
136
136
  };
137
137
  /**
138
138
  * Retrieves all webhooks entries for a tenant
139
+ *
139
140
  * @param query an object with query parameters
140
141
  * @throws GetWebhooksHttpError
141
142
  */
@@ -179,6 +180,7 @@ type GetWebhooksHttpError = {
179
180
  };
180
181
  /**
181
182
  * Creates a new webhook
183
+ *
182
184
  * @param body an object with the body content
183
185
  * @throws CreateWebhookHttpError
184
186
  */
@@ -195,6 +197,7 @@ type CreateWebhookHttpError = {
195
197
  };
196
198
  /**
197
199
  * List of event-types that are possible to subscribe to.
200
+ *
198
201
  * @throws GetWebhookEventTypesHttpError
199
202
  */
200
203
  declare const getWebhookEventTypes: (options?: ApiCallOptions) => Promise<GetWebhookEventTypesHttpResponse>;
@@ -210,6 +213,7 @@ type GetWebhookEventTypesHttpError = {
210
213
  };
211
214
  /**
212
215
  * Deletes a specific webhook
216
+ *
213
217
  * @param id The webhook's unique identifier.
214
218
  * @throws DeleteWebhookHttpError
215
219
  */
@@ -226,6 +230,7 @@ type DeleteWebhookHttpError = {
226
230
  };
227
231
  /**
228
232
  * Returns details for a specific webhook
233
+ *
229
234
  * @param id The webhook's unique identifier.
230
235
  * @throws GetWebhookHttpError
231
236
  */
@@ -242,6 +247,7 @@ type GetWebhookHttpError = {
242
247
  };
243
248
  /**
244
249
  * Patches a webhook
250
+ *
245
251
  * @param id The webhook's unique identifier.
246
252
  * @param body an object with the body content
247
253
  * @throws PatchWebhookHttpError
@@ -259,6 +265,7 @@ type PatchWebhookHttpError = {
259
265
  };
260
266
  /**
261
267
  * Updates a webhook
268
+ *
262
269
  * @param id The webhook's unique identifier.
263
270
  * @param body an object with the body content
264
271
  * @throws UpdateWebhookHttpError
@@ -276,6 +283,7 @@ type UpdateWebhookHttpError = {
276
283
  };
277
284
  /**
278
285
  * Returns deliveries for a specific webhook
286
+ *
279
287
  * @param id The webhook's unique identifier.
280
288
  * @param query an object with query parameters
281
289
  * @throws GetWebhookDeliveriesHttpError
@@ -308,6 +316,7 @@ type GetWebhookDeliveriesHttpError = {
308
316
  };
309
317
  /**
310
318
  * Returns details for a specific delivery
319
+ *
311
320
  * @param id The webhook's unique identifier.
312
321
  * @param deliveryId The delivery's unique identifier.
313
322
  * @throws GetWebhookDeliveryHttpError
@@ -325,6 +334,7 @@ type GetWebhookDeliveryHttpError = {
325
334
  };
326
335
  /**
327
336
  * Resend the delivery with the same payload
337
+ *
328
338
  * @param id The webhook's unique identifier.
329
339
  * @param deliveryId The delivery's unique identifier.
330
340
  * @throws ResendWebhookDeliveryHttpError
@@ -347,35 +357,41 @@ declare function clearCache(): void;
347
357
  interface WebhooksAPI {
348
358
  /**
349
359
  * Retrieves all webhooks entries for a tenant
360
+ *
350
361
  * @param query an object with query parameters
351
362
  * @throws GetWebhooksHttpError
352
363
  */
353
364
  getWebhooks: typeof getWebhooks;
354
365
  /**
355
366
  * Creates a new webhook
367
+ *
356
368
  * @param body an object with the body content
357
369
  * @throws CreateWebhookHttpError
358
370
  */
359
371
  createWebhook: typeof createWebhook;
360
372
  /**
361
373
  * List of event-types that are possible to subscribe to.
374
+ *
362
375
  * @throws GetWebhookEventTypesHttpError
363
376
  */
364
377
  getWebhookEventTypes: typeof getWebhookEventTypes;
365
378
  /**
366
379
  * Deletes a specific webhook
380
+ *
367
381
  * @param id The webhook's unique identifier.
368
382
  * @throws DeleteWebhookHttpError
369
383
  */
370
384
  deleteWebhook: typeof deleteWebhook;
371
385
  /**
372
386
  * Returns details for a specific webhook
387
+ *
373
388
  * @param id The webhook's unique identifier.
374
389
  * @throws GetWebhookHttpError
375
390
  */
376
391
  getWebhook: typeof getWebhook;
377
392
  /**
378
393
  * Patches a webhook
394
+ *
379
395
  * @param id The webhook's unique identifier.
380
396
  * @param body an object with the body content
381
397
  * @throws PatchWebhookHttpError
@@ -383,6 +399,7 @@ interface WebhooksAPI {
383
399
  patchWebhook: typeof patchWebhook;
384
400
  /**
385
401
  * Updates a webhook
402
+ *
386
403
  * @param id The webhook's unique identifier.
387
404
  * @param body an object with the body content
388
405
  * @throws UpdateWebhookHttpError
@@ -390,6 +407,7 @@ interface WebhooksAPI {
390
407
  updateWebhook: typeof updateWebhook;
391
408
  /**
392
409
  * Returns deliveries for a specific webhook
410
+ *
393
411
  * @param id The webhook's unique identifier.
394
412
  * @param query an object with query parameters
395
413
  * @throws GetWebhookDeliveriesHttpError
@@ -397,6 +415,7 @@ interface WebhooksAPI {
397
415
  getWebhookDeliveries: typeof getWebhookDeliveries;
398
416
  /**
399
417
  * Returns details for a specific delivery
418
+ *
400
419
  * @param id The webhook's unique identifier.
401
420
  * @param deliveryId The delivery's unique identifier.
402
421
  * @throws GetWebhookDeliveryHttpError
@@ -404,6 +423,7 @@ interface WebhooksAPI {
404
423
  getWebhookDelivery: typeof getWebhookDelivery;
405
424
  /**
406
425
  * Resend the delivery with the same payload
426
+ *
407
427
  * @param id The webhook's unique identifier.
408
428
  * @param deliveryId The delivery's unique identifier.
409
429
  * @throws ResendWebhookDeliveryHttpError