@qlik/api 1.26.0 → 1.27.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 (73) hide show
  1. package/api-keys.d.ts +11 -11
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +68 -68
  4. package/apps.js +2 -2
  5. package/audits.d.ts +36 -14
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +36 -36
  9. package/automations.js +2 -2
  10. package/brands.d.ts +23 -23
  11. package/brands.js +2 -2
  12. package/chunks/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
  13. package/chunks/{7SNOQCIQ.js → 55SZVSAG.js} +1 -1
  14. package/chunks/{HGRF5TX3.js → EOGHK2R4.js} +1 -1
  15. package/chunks/{UV5COPU3.js → V3TZ54UE.js} +3 -3
  16. package/chunks/{AMO5NATA.js → WY7IOA3Q.js} +2 -2
  17. package/collections.d.ts +22 -22
  18. package/collections.js +2 -2
  19. package/csp-origins.d.ts +12 -12
  20. package/csp-origins.js +2 -2
  21. package/data-assets.d.ts +10 -10
  22. package/data-assets.js +2 -2
  23. package/data-connections.d.ts +18 -18
  24. package/data-connections.js +2 -2
  25. package/data-credentials.d.ts +10 -10
  26. package/data-credentials.js +2 -2
  27. package/data-files.d.ts +24 -24
  28. package/data-files.js +2 -2
  29. package/docs/authentication.md +1 -1
  30. package/extensions.d.ts +11 -11
  31. package/extensions.js +2 -2
  32. package/glossaries.d.ts +48 -48
  33. package/glossaries.js +2 -2
  34. package/groups.d.ts +16 -16
  35. package/groups.js +2 -2
  36. package/identity-providers.d.ts +15 -15
  37. package/identity-providers.js +2 -2
  38. package/index.js +4 -4
  39. package/items.d.ts +16 -16
  40. package/items.js +2 -2
  41. package/licenses.d.ts +18 -18
  42. package/licenses.js +2 -2
  43. package/package.json +2 -2
  44. package/qix.d.ts +1 -1
  45. package/qix.js +2 -2
  46. package/quotas.d.ts +4 -4
  47. package/quotas.js +2 -2
  48. package/reload-tasks.d.ts +10 -10
  49. package/reload-tasks.js +2 -2
  50. package/reloads.d.ts +8 -8
  51. package/reloads.js +2 -2
  52. package/reports.d.ts +4 -4
  53. package/reports.js +2 -2
  54. package/roles.d.ts +10 -10
  55. package/roles.js +2 -2
  56. package/spaces.d.ts +59 -25
  57. package/spaces.js +2 -2
  58. package/temp-contents.d.ts +6 -6
  59. package/temp-contents.js +2 -2
  60. package/tenants.d.ts +9 -9
  61. package/tenants.js +2 -2
  62. package/themes.d.ts +11 -11
  63. package/themes.js +2 -2
  64. package/transports.d.ts +17 -17
  65. package/transports.js +2 -2
  66. package/users.d.ts +19 -19
  67. package/users.js +2 -2
  68. package/web-integrations.d.ts +9 -9
  69. package/web-integrations.js +2 -2
  70. package/web-notifications.d.ts +12 -12
  71. package/web-notifications.js +2 -2
  72. package/webhooks.d.ts +20 -20
  73. package/webhooks.js +2 -2
package/webhooks.d.ts CHANGED
@@ -176,14 +176,14 @@ declare const getWebhooks: (query: {
176
176
  type GetWebhooksHttpResponse = {
177
177
  data: WebhookList;
178
178
  headers: Headers;
179
- status: number;
179
+ status: 200;
180
180
  prev?: (options?: ApiCallOptions) => Promise<GetWebhooksHttpResponse>;
181
181
  next?: (options?: ApiCallOptions) => Promise<GetWebhooksHttpResponse>;
182
182
  };
183
183
  type GetWebhooksHttpError = {
184
184
  data: ErrorResponse;
185
185
  headers: Headers;
186
- status: number;
186
+ status: 400 | 401 | 403 | 500 | 503;
187
187
  };
188
188
  /**
189
189
  * Creates a new webhook. User must be assigned the `TenantAdmin` role to create `tenant` level webhooks.
@@ -195,12 +195,12 @@ declare const createWebhook: (body: WebhookPost, options?: ApiCallOptions) => Pr
195
195
  type CreateWebhookHttpResponse = {
196
196
  data: WebhookResponse;
197
197
  headers: Headers;
198
- status: number;
198
+ status: 201;
199
199
  };
200
200
  type CreateWebhookHttpError = {
201
201
  data: ErrorResponse;
202
202
  headers: Headers;
203
- status: number;
203
+ status: 400 | 401 | 403 | 500 | 503;
204
204
  };
205
205
  /**
206
206
  * Lists event-types that are possible to subscribe to.
@@ -211,12 +211,12 @@ declare const getWebhookEventTypes: (options?: ApiCallOptions) => Promise<GetWeb
211
211
  type GetWebhookEventTypesHttpResponse = {
212
212
  data: EventTypes;
213
213
  headers: Headers;
214
- status: number;
214
+ status: 200;
215
215
  };
216
216
  type GetWebhookEventTypesHttpError = {
217
217
  data: ErrorResponse;
218
218
  headers: Headers;
219
- status: number;
219
+ status: 401 | 500 | 503;
220
220
  };
221
221
  /**
222
222
  * Deletes a specific webhook.
@@ -228,12 +228,12 @@ declare const deleteWebhook: (id: string, options?: ApiCallOptions) => Promise<D
228
228
  type DeleteWebhookHttpResponse = {
229
229
  data: void;
230
230
  headers: Headers;
231
- status: number;
231
+ status: 204;
232
232
  };
233
233
  type DeleteWebhookHttpError = {
234
234
  data: ErrorResponse;
235
235
  headers: Headers;
236
- status: number;
236
+ status: 400 | 401 | 403 | 404 | 500 | 503;
237
237
  };
238
238
  /**
239
239
  * Returns details for a specific webhook.
@@ -245,12 +245,12 @@ declare const getWebhook: (id: string, options?: ApiCallOptions) => Promise<GetW
245
245
  type GetWebhookHttpResponse = {
246
246
  data: WebhookResponse;
247
247
  headers: Headers;
248
- status: number;
248
+ status: 200;
249
249
  };
250
250
  type GetWebhookHttpError = {
251
251
  data: ErrorResponse;
252
252
  headers: Headers;
253
- status: number;
253
+ status: 400 | 401 | 403 | 404 | 500 | 503;
254
254
  };
255
255
  /**
256
256
  * Patches a webhook to update one or more properties.
@@ -263,12 +263,12 @@ declare const patchWebhook: (id: string, body: WebhookPatch[], options?: ApiCall
263
263
  type PatchWebhookHttpResponse = {
264
264
  data: void;
265
265
  headers: Headers;
266
- status: number;
266
+ status: 204;
267
267
  };
268
268
  type PatchWebhookHttpError = {
269
269
  data: ErrorResponse;
270
270
  headers: Headers;
271
- status: number;
271
+ status: 400 | 401 | 403 | 404 | 500 | 503;
272
272
  };
273
273
  /**
274
274
  * Updates a webhook, any omitted fields will be cleared, returns updated webhook.
@@ -281,12 +281,12 @@ declare const updateWebhook: (id: string, body: WebhookBase, options?: ApiCallOp
281
281
  type UpdateWebhookHttpResponse = {
282
282
  data: WebhookResponse;
283
283
  headers: Headers;
284
- status: number;
284
+ status: 200;
285
285
  };
286
286
  type UpdateWebhookHttpError = {
287
287
  data: ErrorResponse;
288
288
  headers: Headers;
289
- status: number;
289
+ status: 400 | 401 | 403 | 404 | 500 | 503;
290
290
  };
291
291
  /**
292
292
  * Returns deliveries for a specific webhook. Delivery history is stored for 1 week.
@@ -312,14 +312,14 @@ declare const getWebhookDeliveries: (id: string, query: {
312
312
  type GetWebhookDeliveriesHttpResponse = {
313
313
  data: DeliveryList;
314
314
  headers: Headers;
315
- status: number;
315
+ status: 200;
316
316
  prev?: (options?: ApiCallOptions) => Promise<GetWebhookDeliveriesHttpResponse>;
317
317
  next?: (options?: ApiCallOptions) => Promise<GetWebhookDeliveriesHttpResponse>;
318
318
  };
319
319
  type GetWebhookDeliveriesHttpError = {
320
320
  data: ErrorResponse;
321
321
  headers: Headers;
322
- status: number;
322
+ status: 400 | 401 | 403 | 404 | 500 | 503;
323
323
  };
324
324
  /**
325
325
  * Returns details for a specific delivery.
@@ -332,12 +332,12 @@ declare const getWebhookDelivery: (id: string, deliveryId: string, options?: Api
332
332
  type GetWebhookDeliveryHttpResponse = {
333
333
  data: Delivery;
334
334
  headers: Headers;
335
- status: number;
335
+ status: 200;
336
336
  };
337
337
  type GetWebhookDeliveryHttpError = {
338
338
  data: ErrorResponse;
339
339
  headers: Headers;
340
- status: number;
340
+ status: 400 | 401 | 403 | 404 | 500 | 503;
341
341
  };
342
342
  /**
343
343
  * Resends the delivery with the same payload.
@@ -350,12 +350,12 @@ declare const resendWebhookDelivery: (id: string, deliveryId: string, options?:
350
350
  type ResendWebhookDeliveryHttpResponse = {
351
351
  data: Delivery;
352
352
  headers: Headers;
353
- status: number;
353
+ status: 201;
354
354
  };
355
355
  type ResendWebhookDeliveryHttpError = {
356
356
  data: ErrorResponse;
357
357
  headers: Headers;
358
- status: number;
358
+ status: 401 | 404 | 500 | 503;
359
359
  };
360
360
  /**
361
361
  * Clears the cache for webhooks api requests.
package/webhooks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/webhooks.ts