@qlik/api 1.20.0 → 1.22.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.
- package/api-keys.d.ts +1 -1
- package/api-keys.js +2 -2
- package/apps.d.ts +1 -1
- package/apps.js +2 -2
- package/audits.d.ts +1 -1
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +1 -1
- package/automations.js +2 -2
- package/brands.d.ts +1 -1
- package/brands.js +2 -2
- package/chunks/7RHSSS4W.js +0 -0
- package/chunks/{4VH5O5UL.js → EUWNVVK5.js} +12 -4
- package/chunks/{DT5F6REC.js → GZRY5VHW.js} +2 -1
- package/chunks/{4XKAFB25.js → KBR7JBWC.js} +12 -6
- package/chunks/{OQWY73NC.js → OEVNZ5IQ.js} +102 -2
- package/chunks/{Z37XXMYQ.js → PR52AAWU.js} +6 -3
- package/chunks/{TEGSUED7.js → SEBN4KFZ.js} +2 -1
- package/chunks/{IMLCMV4X.js → SNQHDUYY.js} +3 -3
- package/chunks/{MP5FOM4F.js → TGDZVKG2.js} +1 -1
- package/chunks/{T6AQ34ZJ.js → TUPLQG25.js} +2 -2
- package/chunks/{MX5NVZPW.js → VHPC6L7L.js} +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +2 -2
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +1 -1
- package/data-assets.js +2 -2
- package/data-connections.d.ts +1 -1
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +1 -1
- package/data-credentials.js +2 -2
- package/data-files.d.ts +1 -1
- package/data-files.js +2 -2
- package/extensions.d.ts +1 -1
- package/extensions.js +2 -2
- package/{global.types--37uwGji.d.ts → global.types-qsBNouXJ.d.ts} +18 -0
- package/glossaries.d.ts +1 -1
- package/glossaries.js +2 -2
- package/groups.d.ts +1 -1
- package/groups.js +2 -2
- package/identity-providers.d.ts +1 -1
- package/identity-providers.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +5 -5
- package/items.d.ts +1 -1
- package/items.js +2 -2
- package/licenses.d.ts +1 -1
- package/licenses.js +2 -2
- package/package.json +1 -1
- package/qix.d.ts +4 -2
- package/qix.js +2 -2
- package/quotas.d.ts +1 -1
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +1 -1
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +4 -4
- package/reloads.js +2 -2
- package/reports.d.ts +2 -2
- package/reports.js +2 -2
- package/roles.d.ts +1 -1
- package/roles.js +2 -2
- package/spaces.d.ts +1 -1
- package/spaces.js +2 -2
- package/temp-contents.d.ts +1 -1
- package/temp-contents.js +2 -2
- package/tenants.d.ts +1 -1
- package/tenants.js +2 -2
- package/themes.d.ts +1 -1
- package/themes.js +2 -2
- package/transports.d.ts +1 -1
- package/transports.js +2 -2
- package/users.d.ts +1 -1
- package/users.js +2 -2
- package/web-integrations.d.ts +1 -1
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +1 -1
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +22 -22
- package/webhooks.js +2 -2
package/webhooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
type Delivery = {
|
|
@@ -84,7 +84,7 @@ type WebhookBase = {
|
|
|
84
84
|
readonly disabledReasonCode?: string;
|
|
85
85
|
/** Whether the webhook is active and sending requests */
|
|
86
86
|
enabled?: boolean;
|
|
87
|
-
/** Types of events for which the webhook should trigger. */
|
|
87
|
+
/** Types of events for which the webhook should trigger. Retrieve available types from `/v1/webhooks/event-types`. */
|
|
88
88
|
eventTypes?: string[];
|
|
89
89
|
/** Filter that should match for a webhook to be triggered.
|
|
90
90
|
* 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.
|
|
@@ -140,7 +140,7 @@ type WebhookResponse = WebhookBase & {
|
|
|
140
140
|
readonly origin?: "api" | "automations" | "management-console";
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
|
-
* Retrieves all webhooks entries for a tenant
|
|
143
|
+
* Retrieves all webhooks entries for a tenant that the user has access to. Users assigned the `TenantAdmin` role can retrieve all webhooks. A user can have up to 150 webhooks at one time.
|
|
144
144
|
*
|
|
145
145
|
* @param query an object with query parameters
|
|
146
146
|
* @throws GetWebhooksHttpError
|
|
@@ -186,7 +186,7 @@ type GetWebhooksHttpError = {
|
|
|
186
186
|
status: number;
|
|
187
187
|
};
|
|
188
188
|
/**
|
|
189
|
-
* Creates a new webhook
|
|
189
|
+
* Creates a new webhook. User must be assigned the `TenantAdmin` role to create `tenant` level webhooks.
|
|
190
190
|
*
|
|
191
191
|
* @param body an object with the body content
|
|
192
192
|
* @throws CreateWebhookHttpError
|
|
@@ -203,7 +203,7 @@ type CreateWebhookHttpError = {
|
|
|
203
203
|
status: number;
|
|
204
204
|
};
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* Lists event-types that are possible to subscribe to.
|
|
207
207
|
*
|
|
208
208
|
* @throws GetWebhookEventTypesHttpError
|
|
209
209
|
*/
|
|
@@ -219,7 +219,7 @@ type GetWebhookEventTypesHttpError = {
|
|
|
219
219
|
status: number;
|
|
220
220
|
};
|
|
221
221
|
/**
|
|
222
|
-
* Deletes a specific webhook
|
|
222
|
+
* Deletes a specific webhook.
|
|
223
223
|
*
|
|
224
224
|
* @param id The webhook's unique identifier.
|
|
225
225
|
* @throws DeleteWebhookHttpError
|
|
@@ -236,7 +236,7 @@ type DeleteWebhookHttpError = {
|
|
|
236
236
|
status: number;
|
|
237
237
|
};
|
|
238
238
|
/**
|
|
239
|
-
* Returns details for a specific webhook
|
|
239
|
+
* Returns details for a specific webhook.
|
|
240
240
|
*
|
|
241
241
|
* @param id The webhook's unique identifier.
|
|
242
242
|
* @throws GetWebhookHttpError
|
|
@@ -253,7 +253,7 @@ type GetWebhookHttpError = {
|
|
|
253
253
|
status: number;
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
|
-
* Patches a webhook
|
|
256
|
+
* Patches a webhook to update one or more properties.
|
|
257
257
|
*
|
|
258
258
|
* @param id The webhook's unique identifier.
|
|
259
259
|
* @param body an object with the body content
|
|
@@ -271,7 +271,7 @@ type PatchWebhookHttpError = {
|
|
|
271
271
|
status: number;
|
|
272
272
|
};
|
|
273
273
|
/**
|
|
274
|
-
* Updates a webhook
|
|
274
|
+
* Updates a webhook, any omitted fields will be cleared, returns updated webhook.
|
|
275
275
|
*
|
|
276
276
|
* @param id The webhook's unique identifier.
|
|
277
277
|
* @param body an object with the body content
|
|
@@ -289,7 +289,7 @@ type UpdateWebhookHttpError = {
|
|
|
289
289
|
status: number;
|
|
290
290
|
};
|
|
291
291
|
/**
|
|
292
|
-
* Returns deliveries for a specific webhook
|
|
292
|
+
* Returns deliveries for a specific webhook. Delivery history is stored for 1 week.
|
|
293
293
|
*
|
|
294
294
|
* @param id The webhook's unique identifier.
|
|
295
295
|
* @param query an object with query parameters
|
|
@@ -322,7 +322,7 @@ type GetWebhookDeliveriesHttpError = {
|
|
|
322
322
|
status: number;
|
|
323
323
|
};
|
|
324
324
|
/**
|
|
325
|
-
* Returns details for a specific delivery
|
|
325
|
+
* Returns details for a specific delivery.
|
|
326
326
|
*
|
|
327
327
|
* @param id The webhook's unique identifier.
|
|
328
328
|
* @param deliveryId The delivery's unique identifier.
|
|
@@ -340,7 +340,7 @@ type GetWebhookDeliveryHttpError = {
|
|
|
340
340
|
status: number;
|
|
341
341
|
};
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Resends the delivery with the same payload.
|
|
344
344
|
*
|
|
345
345
|
* @param id The webhook's unique identifier.
|
|
346
346
|
* @param deliveryId The delivery's unique identifier.
|
|
@@ -363,41 +363,41 @@ type ResendWebhookDeliveryHttpError = {
|
|
|
363
363
|
declare function clearCache(): void;
|
|
364
364
|
interface WebhooksAPI {
|
|
365
365
|
/**
|
|
366
|
-
* Retrieves all webhooks entries for a tenant
|
|
366
|
+
* Retrieves all webhooks entries for a tenant that the user has access to. Users assigned the `TenantAdmin` role can retrieve all webhooks. A user can have up to 150 webhooks at one time.
|
|
367
367
|
*
|
|
368
368
|
* @param query an object with query parameters
|
|
369
369
|
* @throws GetWebhooksHttpError
|
|
370
370
|
*/
|
|
371
371
|
getWebhooks: typeof getWebhooks;
|
|
372
372
|
/**
|
|
373
|
-
* Creates a new webhook
|
|
373
|
+
* Creates a new webhook. User must be assigned the `TenantAdmin` role to create `tenant` level webhooks.
|
|
374
374
|
*
|
|
375
375
|
* @param body an object with the body content
|
|
376
376
|
* @throws CreateWebhookHttpError
|
|
377
377
|
*/
|
|
378
378
|
createWebhook: typeof createWebhook;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Lists event-types that are possible to subscribe to.
|
|
381
381
|
*
|
|
382
382
|
* @throws GetWebhookEventTypesHttpError
|
|
383
383
|
*/
|
|
384
384
|
getWebhookEventTypes: typeof getWebhookEventTypes;
|
|
385
385
|
/**
|
|
386
|
-
* Deletes a specific webhook
|
|
386
|
+
* Deletes a specific webhook.
|
|
387
387
|
*
|
|
388
388
|
* @param id The webhook's unique identifier.
|
|
389
389
|
* @throws DeleteWebhookHttpError
|
|
390
390
|
*/
|
|
391
391
|
deleteWebhook: typeof deleteWebhook;
|
|
392
392
|
/**
|
|
393
|
-
* Returns details for a specific webhook
|
|
393
|
+
* Returns details for a specific webhook.
|
|
394
394
|
*
|
|
395
395
|
* @param id The webhook's unique identifier.
|
|
396
396
|
* @throws GetWebhookHttpError
|
|
397
397
|
*/
|
|
398
398
|
getWebhook: typeof getWebhook;
|
|
399
399
|
/**
|
|
400
|
-
* Patches a webhook
|
|
400
|
+
* Patches a webhook to update one or more properties.
|
|
401
401
|
*
|
|
402
402
|
* @param id The webhook's unique identifier.
|
|
403
403
|
* @param body an object with the body content
|
|
@@ -405,7 +405,7 @@ interface WebhooksAPI {
|
|
|
405
405
|
*/
|
|
406
406
|
patchWebhook: typeof patchWebhook;
|
|
407
407
|
/**
|
|
408
|
-
* Updates a webhook
|
|
408
|
+
* Updates a webhook, any omitted fields will be cleared, returns updated webhook.
|
|
409
409
|
*
|
|
410
410
|
* @param id The webhook's unique identifier.
|
|
411
411
|
* @param body an object with the body content
|
|
@@ -413,7 +413,7 @@ interface WebhooksAPI {
|
|
|
413
413
|
*/
|
|
414
414
|
updateWebhook: typeof updateWebhook;
|
|
415
415
|
/**
|
|
416
|
-
* Returns deliveries for a specific webhook
|
|
416
|
+
* Returns deliveries for a specific webhook. Delivery history is stored for 1 week.
|
|
417
417
|
*
|
|
418
418
|
* @param id The webhook's unique identifier.
|
|
419
419
|
* @param query an object with query parameters
|
|
@@ -421,7 +421,7 @@ interface WebhooksAPI {
|
|
|
421
421
|
*/
|
|
422
422
|
getWebhookDeliveries: typeof getWebhookDeliveries;
|
|
423
423
|
/**
|
|
424
|
-
* Returns details for a specific delivery
|
|
424
|
+
* Returns details for a specific delivery.
|
|
425
425
|
*
|
|
426
426
|
* @param id The webhook's unique identifier.
|
|
427
427
|
* @param deliveryId The delivery's unique identifier.
|
|
@@ -429,7 +429,7 @@ interface WebhooksAPI {
|
|
|
429
429
|
*/
|
|
430
430
|
getWebhookDelivery: typeof getWebhookDelivery;
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
432
|
+
* Resends the delivery with the same payload.
|
|
433
433
|
*
|
|
434
434
|
* @param id The webhook's unique identifier.
|
|
435
435
|
* @param deliveryId The delivery's unique identifier.
|
package/webhooks.js
CHANGED