@qlik/api 1.21.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.
Files changed (79) hide show
  1. package/api-keys.d.ts +1 -1
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +1 -1
  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 +1 -1
  9. package/automations.js +2 -2
  10. package/brands.d.ts +1 -1
  11. package/brands.js +2 -2
  12. package/chunks/7RHSSS4W.js +0 -0
  13. package/chunks/{GVE5ABSG.js → GZRY5VHW.js} +2 -1
  14. package/chunks/{4M3Q6QY3.js → KBR7JBWC.js} +12 -6
  15. package/chunks/{BUSRKHDX.js → OEVNZ5IQ.js} +98 -2
  16. package/chunks/{3FHEUGST.js → PR52AAWU.js} +6 -3
  17. package/chunks/{LVRC5AWE.js → SEBN4KFZ.js} +2 -1
  18. package/chunks/{2OQLWLWE.js → SNQHDUYY.js} +3 -3
  19. package/chunks/{JCJIPO2A.js → TGDZVKG2.js} +1 -1
  20. package/chunks/{DTGUILK5.js → TUPLQG25.js} +2 -2
  21. package/chunks/{YQLW56LG.js → VHPC6L7L.js} +1 -1
  22. package/collections.d.ts +1 -1
  23. package/collections.js +2 -2
  24. package/csp-origins.d.ts +1 -1
  25. package/csp-origins.js +2 -2
  26. package/data-assets.d.ts +1 -1
  27. package/data-assets.js +2 -2
  28. package/data-connections.d.ts +1 -1
  29. package/data-connections.js +2 -2
  30. package/data-credentials.d.ts +1 -1
  31. package/data-credentials.js +2 -2
  32. package/data-files.d.ts +1 -1
  33. package/data-files.js +2 -2
  34. package/extensions.d.ts +1 -1
  35. package/extensions.js +2 -2
  36. package/{global.types--37uwGji.d.ts → global.types-qsBNouXJ.d.ts} +18 -0
  37. package/glossaries.d.ts +1 -1
  38. package/glossaries.js +2 -2
  39. package/groups.d.ts +1 -1
  40. package/groups.js +2 -2
  41. package/identity-providers.d.ts +1 -1
  42. package/identity-providers.js +2 -2
  43. package/index.d.ts +1 -1
  44. package/index.js +5 -5
  45. package/items.d.ts +1 -1
  46. package/items.js +2 -2
  47. package/licenses.d.ts +1 -1
  48. package/licenses.js +2 -2
  49. package/package.json +1 -1
  50. package/qix.d.ts +3 -1
  51. package/qix.js +2 -2
  52. package/quotas.d.ts +1 -1
  53. package/quotas.js +2 -2
  54. package/reload-tasks.d.ts +1 -1
  55. package/reload-tasks.js +2 -2
  56. package/reloads.d.ts +4 -4
  57. package/reloads.js +2 -2
  58. package/reports.d.ts +2 -2
  59. package/reports.js +2 -2
  60. package/roles.d.ts +1 -1
  61. package/roles.js +2 -2
  62. package/spaces.d.ts +1 -1
  63. package/spaces.js +2 -2
  64. package/temp-contents.d.ts +1 -1
  65. package/temp-contents.js +2 -2
  66. package/tenants.d.ts +1 -1
  67. package/tenants.js +2 -2
  68. package/themes.d.ts +1 -1
  69. package/themes.js +2 -2
  70. package/transports.d.ts +1 -1
  71. package/transports.js +2 -2
  72. package/users.d.ts +1 -1
  73. package/users.js +2 -2
  74. package/web-integrations.d.ts +1 -1
  75. package/web-integrations.js +2 -2
  76. package/web-notifications.d.ts +1 -1
  77. package/web-notifications.js +2 -2
  78. package/webhooks.d.ts +22 -22
  79. package/webhooks.js +2 -2
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
package/index.d.ts CHANGED
@@ -32,7 +32,7 @@ import { WebIntegrationsAPI } from './web-integrations.js';
32
32
  import { WebNotificationsAPI } from './web-notifications.js';
33
33
  import { WebhooksAPI } from './webhooks.js';
34
34
  import { H as HostConfig } from './auth-types-PkN9CAF_.js';
35
- import './global.types--37uwGji.js';
35
+ import './global.types-qsBNouXJ.js';
36
36
 
37
37
  declare const apiKeys: ApiKeysAPI;
38
38
  declare const apps: AppsAPI;
package/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  qix_default
3
- } from "./chunks/YQLW56LG.js";
3
+ } from "./chunks/VHPC6L7L.js";
4
4
  import {
5
5
  auth_default
6
- } from "./chunks/JCJIPO2A.js";
7
- import "./chunks/BUSRKHDX.js";
6
+ } from "./chunks/TGDZVKG2.js";
7
+ import "./chunks/7RHSSS4W.js";
8
8
  import {
9
9
  clearApiCache,
10
10
  invokeFetch
11
- } from "./chunks/DTGUILK5.js";
12
- import "./chunks/2OQLWLWE.js";
11
+ } from "./chunks/TUPLQG25.js";
12
+ import "./chunks/SNQHDUYY.js";
13
13
  import "./chunks/2ZQ3ZX7F.js";
14
14
 
15
15
  // src/runtime-api-generator/runtime-api-generator-common.ts
package/items.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type CollectionTypes = "private" | "public" | "publicgoverned";
package/items.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/items.ts
package/licenses.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type AssignmentsActionsAddRequest = {
package/licenses.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/licenses.ts
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "./qix": "./qix.js",
57
57
  "./auth": "./auth.js"
58
58
  },
59
- "version": "1.21.0"
59
+ "version": "1.22.0"
60
60
  }
package/qix.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { H as HostConfig } from './auth-types-PkN9CAF_.js';
2
- import './global.types--37uwGji.js';
2
+ import './global.types-qsBNouXJ.js';
3
3
 
4
4
  declare const QIX_SCHEMA_VERSION = "12.2202.0";
5
5
  type AlfaNumString = {
@@ -11679,6 +11679,8 @@ type OpenAppSessionProps = {
11679
11679
  withoutData?: boolean;
11680
11680
  /** Use a separate reload engine to perform a reload */
11681
11681
  useReloadEngine?: boolean;
11682
+ /** Time-to-live in seconds. */
11683
+ ttlSeconds?: number;
11682
11684
  };
11683
11685
  type DocAction = (doc: Doc) => Promise<unknown>;
11684
11686
  type CloseProps = {
package/qix.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  openAppSession,
3
3
  qix_default,
4
4
  withHostConfig
5
- } from "./chunks/YQLW56LG.js";
6
- import "./chunks/2OQLWLWE.js";
5
+ } from "./chunks/VHPC6L7L.js";
6
+ import "./chunks/SNQHDUYY.js";
7
7
  export {
8
8
  qix_default as default,
9
9
  openAppSession,
package/quotas.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/quotas.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/quotas.ts
package/reload-tasks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type Error = {
package/reload-tasks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
package/reloads.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type Error = {
@@ -43,7 +43,7 @@ type Reload = {
43
43
  status: Status;
44
44
  /** The ID of the tenant who owns the reload. */
45
45
  tenantId: string;
46
- /** What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data. */
46
+ /** What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data, choreographer = reload triggered by choreographer. */
47
47
  type: Type;
48
48
  /** The ID of the user who created the reload. */
49
49
  userId: string;
@@ -70,9 +70,9 @@ type ReloadsLinks = ReloadLinks & {
70
70
  */
71
71
  type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
72
72
  /**
73
- * What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data.
73
+ * What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data, choreographer = reload triggered by choreographer.
74
74
  */
75
- type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
75
+ type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh" | "choreographer";
76
76
  /**
77
77
  * Finds and returns the reloads that the user has access to.
78
78
  *
package/reloads.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reloads.ts
package/reports.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
@@ -146,7 +146,7 @@ type ImageOutput = {
146
146
  * Define the request metadata. It includes priority, deadline and future settings on execution policy of the request.
147
147
  */
148
148
  type Meta = {
149
- /** The maximum interval, starting from the time the API request is received, within which a report must be produced, past this interval the report generation fails. The default value is 10 minutes, the maximum allowed value is 2 hours. */
149
+ /** The maximum interval, starting from the time the API request is received, within which a report must be produced, past this interval the report generation fails. The default value is 10 minutes, the maximum allowed value is 4 hours. */
150
150
  exportDeadline?: string;
151
151
  /** Time to live of the final result artifacts in ISO8601 duration format. After that duration the request and underlying output files will not be guaranteed to be available. Default is 1 hour. */
152
152
  outputTtl?: string;
package/reports.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reports.ts
package/roles.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/roles.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/roles.ts
package/spaces.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/spaces.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/spaces.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/temp-contents.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/temp-contents.ts
package/tenants.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/tenants.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/tenants.ts
package/themes.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/themes.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/themes.ts
package/transports.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type DeleteConfigNotFoundError = {
package/transports.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/transports.ts
package/users.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/users.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/users.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-integrations.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
1
+ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/web-notifications.ts
package/webhooks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types--37uwGji.js';
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
- * List of event-types that are possible to subscribe to.
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
- * Resend the delivery with the same payload
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
- * List of event-types that are possible to subscribe to.
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
- * Resend the delivery with the same payload
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
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/DTGUILK5.js";
5
- import "./chunks/2OQLWLWE.js";
4
+ } from "./chunks/TUPLQG25.js";
5
+ import "./chunks/SNQHDUYY.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/webhooks.ts