@mobilerun/sdk 5.5.0 → 5.6.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/CHANGELOG.md +9 -0
- package/client.d.mts +8 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -8
- package/client.d.ts.map +1 -1
- package/client.js +1 -0
- package/client.js.map +1 -1
- package/client.mjs +2 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +18 -15
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +18 -15
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +5 -2
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +5 -2
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +7 -17
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +7 -17
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +4 -11
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +4 -11
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +94 -11
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +94 -11
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +21 -10
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +21 -10
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/devices/browser.d.mts +9 -3
- package/resources/devices/browser.d.mts.map +1 -1
- package/resources/devices/browser.d.ts +9 -3
- package/resources/devices/browser.d.ts.map +1 -1
- package/resources/devices/browser.js +9 -3
- package/resources/devices/browser.js.map +1 -1
- package/resources/devices/browser.mjs +9 -3
- package/resources/devices/browser.mjs.map +1 -1
- package/resources/devices/devices.d.mts +52 -23
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +52 -23
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +17 -7
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +17 -7
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -1
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -1
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/recordings.d.mts +4 -2
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +4 -2
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +1 -11
- package/resources/devices/traffic-sessions.d.mts.map +1 -1
- package/resources/devices/traffic-sessions.d.ts +1 -11
- package/resources/devices/traffic-sessions.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.js +2 -8
- package/resources/devices/traffic-sessions.js.map +1 -1
- package/resources/devices/traffic-sessions.mjs +2 -8
- package/resources/devices/traffic-sessions.mjs.map +1 -1
- package/resources/files.d.mts +5 -19
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +5 -19
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -10
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -10
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +64 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +64 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +42 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +38 -0
- package/resources/mailboxes/connections.mjs.map +1 -0
- package/resources/mailboxes/index.d.mts +2 -1
- package/resources/mailboxes/index.d.mts.map +1 -1
- package/resources/mailboxes/index.d.ts +2 -1
- package/resources/mailboxes/index.d.ts.map +1 -1
- package/resources/mailboxes/index.js +3 -1
- package/resources/mailboxes/index.js.map +1 -1
- package/resources/mailboxes/index.mjs +1 -0
- package/resources/mailboxes/index.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +73 -24
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +73 -24
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +25 -8
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +25 -8
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +26 -1
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +26 -1
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +9 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +9 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +27 -1
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +27 -1
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +17 -0
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +17 -0
- package/resources/notifications.mjs.map +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +60 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +60 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +21 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +123 -15
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +123 -15
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +2 -11
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +3 -12
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/store/apps.d.mts +23 -2
- package/resources/store/apps.d.mts.map +1 -1
- package/resources/store/apps.d.ts +23 -2
- package/resources/store/apps.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +16 -55
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +16 -55
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +2 -10
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +2 -10
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +22 -31
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +22 -31
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +4 -30
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +4 -30
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -0
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -0
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/integrations.d.mts +77 -0
- package/resources/webhooks/integrations.d.mts.map +1 -0
- package/resources/webhooks/integrations.d.ts +77 -0
- package/resources/webhooks/integrations.d.ts.map +1 -0
- package/resources/webhooks/integrations.js +26 -0
- package/resources/webhooks/integrations.js.map +1 -0
- package/resources/webhooks/integrations.mjs +22 -0
- package/resources/webhooks/integrations.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +279 -71
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +279 -71
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +27 -60
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +27 -60
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +7 -3
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +7 -3
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +9 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +9 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +4 -0
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +4 -0
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/events.d.mts +48 -4
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +48 -4
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +334 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +334 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -0
- package/resources/workflows/executions/executions.js +49 -0
- package/resources/workflows/executions/executions.js.map +1 -0
- package/resources/workflows/executions/executions.mjs +44 -0
- package/resources/workflows/executions/executions.mjs.map +1 -0
- package/resources/workflows/executions/index.d.mts +3 -0
- package/resources/workflows/executions/index.d.mts.map +1 -0
- package/resources/workflows/executions/index.d.ts +3 -0
- package/resources/workflows/executions/index.d.ts.map +1 -0
- package/resources/workflows/executions/index.js +9 -0
- package/resources/workflows/executions/index.js.map +1 -0
- package/resources/workflows/executions/index.mjs +4 -0
- package/resources/workflows/executions/index.mjs.map +1 -0
- package/resources/workflows/executions/screenshots.d.mts +18 -0
- package/resources/workflows/executions/screenshots.d.mts.map +1 -0
- package/resources/workflows/executions/screenshots.d.ts +18 -0
- package/resources/workflows/executions/screenshots.d.ts.map +1 -0
- package/resources/workflows/executions/screenshots.js +23 -0
- package/resources/workflows/executions/screenshots.js.map +1 -0
- package/resources/workflows/executions/screenshots.mjs +19 -0
- package/resources/workflows/executions/screenshots.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +1 -269
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -269
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -37
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -35
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +39 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +39 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +4 -0
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +4 -0
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +529 -18
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +529 -18
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +75 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +75 -0
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +2 -2
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +2 -2
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +107 -9
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +107 -9
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +14 -0
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +14 -0
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +4 -4
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +4 -4
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +18 -1
- package/src/resources/apps.ts +18 -15
- package/src/resources/assistant/conversations.ts +12 -27
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +119 -19
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +80 -30
- package/src/resources/devices/index.ts +2 -0
- package/src/resources/devices/recordings.ts +4 -2
- package/src/resources/devices/traffic-sessions.ts +2 -19
- package/src/resources/files.ts +8 -29
- package/src/resources/index.ts +11 -1
- package/src/resources/mailboxes/connections.ts +91 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +146 -24
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +55 -1
- package/src/resources/notifications.ts +37 -0
- package/src/resources/numbers/index.ts +7 -1
- package/src/resources/numbers/messages.ts +92 -1
- package/src/resources/numbers/numbers.ts +143 -25
- package/src/resources/store/apps.ts +291 -2
- package/src/resources/tasks/tasks.ts +18 -65
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -0
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +326 -71
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +62 -4
- package/src/resources/workflows/executions/executions.ts +514 -0
- package/src/resources/workflows/executions/index.ts +12 -0
- package/src/resources/workflows/executions/screenshots.ts +34 -0
- package/src/resources/workflows/executions.ts +1 -412
- package/src/resources/workflows/flows/actions.ts +46 -0
- package/src/resources/workflows/flows/flows.ts +765 -17
- package/src/resources/workflows/flows/index.ts +11 -0
- package/src/resources/workflows/index.ts +12 -1
- package/src/resources/workflows/triggers.ts +128 -10
- package/src/resources/workflows/workflows.ts +32 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -6,18 +6,26 @@ const tslib_1 = require("../../internal/tslib.js");
|
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
7
|
const DeliveriesAPI = tslib_1.__importStar(require("./deliveries.js"));
|
|
8
8
|
const deliveries_1 = require("./deliveries.js");
|
|
9
|
+
const IntegrationsAPI = tslib_1.__importStar(require("./integrations.js"));
|
|
10
|
+
const integrations_1 = require("./integrations.js");
|
|
9
11
|
const headers_1 = require("../../internal/headers.js");
|
|
10
12
|
const path_1 = require("../../internal/utils/path.js");
|
|
11
13
|
class Webhooks extends resource_1.APIResource {
|
|
12
14
|
constructor() {
|
|
13
15
|
super(...arguments);
|
|
16
|
+
this.integrations = new IntegrationsAPI.Integrations(this._client);
|
|
14
17
|
this.deliveries = new DeliveriesAPI.Deliveries(this._client);
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
17
|
-
* Creates a webhook subscription
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* cannot be retrieved later.
|
|
20
|
+
* Creates a webhook subscription and an optional list of event types to subscribe
|
|
21
|
+
* to (defaults to all when omitted). `kind: "http"` (the default) delivers signed
|
|
22
|
+
* JSON to a URL; the response includes the generated signing secret, which is
|
|
23
|
+
* returned only once at creation time and cannot be retrieved later.
|
|
24
|
+
* `kind: "integration"` posts each event as a message into a connected integration
|
|
25
|
+
* target (e.g. a Slack channel): pick the `capability` from
|
|
26
|
+
* `GET /webhooks/integrations` and the `args` from
|
|
27
|
+
* `GET /webhooks/integrations/{capabilityId}/targets`. Integration webhooks have
|
|
28
|
+
* no signing secret.
|
|
21
29
|
*
|
|
22
30
|
* @example
|
|
23
31
|
* ```ts
|
|
@@ -30,16 +38,9 @@ class Webhooks extends resource_1.APIResource {
|
|
|
30
38
|
return this._client.post('/webhooks', { body, ...options });
|
|
31
39
|
}
|
|
32
40
|
/**
|
|
33
|
-
* Returns a single webhook subscription by id, including its URL
|
|
34
|
-
* types, state, and system-observed delivery health. The
|
|
35
|
-
* included.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* const webhook = await client.webhooks.retrieve(
|
|
40
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
41
|
-
* );
|
|
42
|
-
* ```
|
|
41
|
+
* Returns a single webhook subscription by id, including its URL (or integration
|
|
42
|
+
* target), subscribed event types, state, and system-observed delivery health. The
|
|
43
|
+
* signing secret is never included.
|
|
43
44
|
*/
|
|
44
45
|
retrieve(id, options) {
|
|
45
46
|
return this._client.get((0, path_1.path) `/webhooks/${id}`, options);
|
|
@@ -48,28 +49,18 @@ class Webhooks extends resource_1.APIResource {
|
|
|
48
49
|
* Updates a webhook subscription. Any combination of the subscribed event types,
|
|
49
50
|
* state (ACTIVE or DISABLED), and description may be changed, and at least one
|
|
50
51
|
* field must be supplied. Setting state to ACTIVE re-enables a subscription that
|
|
51
|
-
* was auto-blocked after sustained delivery failures.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const webhook = await client.webhooks.update(
|
|
56
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
57
|
-
* );
|
|
58
|
-
* ```
|
|
52
|
+
* was auto-blocked after sustained delivery failures. The URL or integration
|
|
53
|
+
* target cannot be changed; delete and recreate the webhook instead.
|
|
59
54
|
*/
|
|
60
55
|
update(id, body = {}, options) {
|
|
61
56
|
return this._client.patch((0, path_1.path) `/webhooks/${id}`, { body, ...options });
|
|
62
57
|
}
|
|
63
58
|
/**
|
|
64
59
|
* Returns a paginated list of your webhook subscriptions, optionally filtered by
|
|
65
|
-
* status (active, failing, blocked, or disabled)
|
|
66
|
-
*
|
|
67
|
-
* also includes per-status counts across all of your subscriptions
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* ```ts
|
|
71
|
-
* const webhooks = await client.webhooks.list();
|
|
72
|
-
* ```
|
|
60
|
+
* status (active, failing, blocked, or disabled), by `search` (a case-insensitive
|
|
61
|
+
* substring match against the URL or description), and/or by delivery `kind`. The
|
|
62
|
+
* response also includes per-status counts across all of your subscriptions (of
|
|
63
|
+
* the requested `kind`, if given; the other filters do not apply to the counts).
|
|
73
64
|
*/
|
|
74
65
|
list(query = {}, options) {
|
|
75
66
|
return this._client.get('/webhooks', { query, ...options });
|
|
@@ -77,13 +68,6 @@ class Webhooks extends resource_1.APIResource {
|
|
|
77
68
|
/**
|
|
78
69
|
* Deletes a webhook subscription so it stops receiving deliveries. Returns 204 No
|
|
79
70
|
* Content on success.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* ```ts
|
|
83
|
-
* await client.webhooks.delete(
|
|
84
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
85
|
-
* );
|
|
86
|
-
* ```
|
|
87
71
|
*/
|
|
88
72
|
delete(id, options) {
|
|
89
73
|
return this._client.delete((0, path_1.path) `/webhooks/${id}`, {
|
|
@@ -95,11 +79,6 @@ class Webhooks extends resource_1.APIResource {
|
|
|
95
79
|
* Returns the catalog of event types that webhook subscriptions can subscribe to,
|
|
96
80
|
* grouped by source. Use the returned type identifiers as the `eventTypes` values
|
|
97
81
|
* when creating or updating a webhook.
|
|
98
|
-
*
|
|
99
|
-
* @example
|
|
100
|
-
* ```ts
|
|
101
|
-
* const response = await client.webhooks.eventTypes();
|
|
102
|
-
* ```
|
|
103
82
|
*/
|
|
104
83
|
eventTypes(options) {
|
|
105
84
|
return this._client.get('/event-types', options);
|
|
@@ -107,34 +86,22 @@ class Webhooks extends resource_1.APIResource {
|
|
|
107
86
|
/**
|
|
108
87
|
* Generates a new signing secret for the webhook subscription and returns it once
|
|
109
88
|
* in the response. The previous secret is replaced immediately, so any signature
|
|
110
|
-
* verification on your endpoint must be updated to use the new value.
|
|
111
|
-
*
|
|
112
|
-
* @example
|
|
113
|
-
* ```ts
|
|
114
|
-
* const response = await client.webhooks.rotateSecret(
|
|
115
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
116
|
-
* );
|
|
117
|
-
* ```
|
|
89
|
+
* verification on your endpoint must be updated to use the new value. Only `http`
|
|
90
|
+
* webhooks have a signing secret; for `integration` webhooks this returns 400.
|
|
118
91
|
*/
|
|
119
92
|
rotateSecret(id, options) {
|
|
120
93
|
return this._client.post((0, path_1.path) `/webhooks/${id}/rotate-secret`, options);
|
|
121
94
|
}
|
|
122
95
|
/**
|
|
123
|
-
* Sends a single test payload to the webhook subscription URL
|
|
124
|
-
* connectivity. The response reports whether
|
|
125
|
-
* returned HTTP status code or error, if any.
|
|
126
|
-
*
|
|
127
|
-
* @example
|
|
128
|
-
* ```ts
|
|
129
|
-
* const response = await client.webhooks.testDelivery(
|
|
130
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
131
|
-
* );
|
|
132
|
-
* ```
|
|
96
|
+
* Sends a single test payload to the webhook subscription URL (or a test message
|
|
97
|
+
* to its integration target) to verify connectivity. The response reports whether
|
|
98
|
+
* the attempt succeeded along with the returned HTTP status code or error, if any.
|
|
133
99
|
*/
|
|
134
100
|
testDelivery(id, options) {
|
|
135
101
|
return this._client.post((0, path_1.path) `/webhooks/${id}/test`, options);
|
|
136
102
|
}
|
|
137
103
|
}
|
|
138
104
|
exports.Webhooks = Webhooks;
|
|
105
|
+
Webhooks.Integrations = integrations_1.Integrations;
|
|
139
106
|
Webhooks.Deliveries = deliveries_1.Deliveries;
|
|
140
107
|
//# sourceMappingURL=webhooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,uEAA8C;AAC9C,gDAUsB;
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,uEAA8C;AAC9C,gDAUsB;AACtB,2EAAkD;AAClD,oD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,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACH,YAAY,CAAC,EAAU,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;OAIG;IACH,YAAY,CAAC,EAAU,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAtGD,4BAsGC;AAklBD,QAAQ,CAAC,YAAY,GAAG,2BAAY,CAAC;AACrC,QAAQ,CAAC,UAAU,GAAG,uBAAU,CAAC"}
|
|
@@ -2,18 +2,26 @@
|
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import * as DeliveriesAPI from "./deliveries.mjs";
|
|
4
4
|
import { Deliveries, } from "./deliveries.mjs";
|
|
5
|
+
import * as IntegrationsAPI from "./integrations.mjs";
|
|
6
|
+
import { Integrations, } from "./integrations.mjs";
|
|
5
7
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
6
8
|
import { path } from "../../internal/utils/path.mjs";
|
|
7
9
|
export class Webhooks extends APIResource {
|
|
8
10
|
constructor() {
|
|
9
11
|
super(...arguments);
|
|
12
|
+
this.integrations = new IntegrationsAPI.Integrations(this._client);
|
|
10
13
|
this.deliveries = new DeliveriesAPI.Deliveries(this._client);
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
|
-
* Creates a webhook subscription
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* cannot be retrieved later.
|
|
16
|
+
* Creates a webhook subscription and an optional list of event types to subscribe
|
|
17
|
+
* to (defaults to all when omitted). `kind: "http"` (the default) delivers signed
|
|
18
|
+
* JSON to a URL; the response includes the generated signing secret, which is
|
|
19
|
+
* returned only once at creation time and cannot be retrieved later.
|
|
20
|
+
* `kind: "integration"` posts each event as a message into a connected integration
|
|
21
|
+
* target (e.g. a Slack channel): pick the `capability` from
|
|
22
|
+
* `GET /webhooks/integrations` and the `args` from
|
|
23
|
+
* `GET /webhooks/integrations/{capabilityId}/targets`. Integration webhooks have
|
|
24
|
+
* no signing secret.
|
|
17
25
|
*
|
|
18
26
|
* @example
|
|
19
27
|
* ```ts
|
|
@@ -26,16 +34,9 @@ export class Webhooks extends APIResource {
|
|
|
26
34
|
return this._client.post('/webhooks', { body, ...options });
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
|
-
* Returns a single webhook subscription by id, including its URL
|
|
30
|
-
* types, state, and system-observed delivery health. The
|
|
31
|
-
* included.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const webhook = await client.webhooks.retrieve(
|
|
36
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
37
|
-
* );
|
|
38
|
-
* ```
|
|
37
|
+
* Returns a single webhook subscription by id, including its URL (or integration
|
|
38
|
+
* target), subscribed event types, state, and system-observed delivery health. The
|
|
39
|
+
* signing secret is never included.
|
|
39
40
|
*/
|
|
40
41
|
retrieve(id, options) {
|
|
41
42
|
return this._client.get(path `/webhooks/${id}`, options);
|
|
@@ -44,28 +45,18 @@ export class Webhooks extends APIResource {
|
|
|
44
45
|
* Updates a webhook subscription. Any combination of the subscribed event types,
|
|
45
46
|
* state (ACTIVE or DISABLED), and description may be changed, and at least one
|
|
46
47
|
* field must be supplied. Setting state to ACTIVE re-enables a subscription that
|
|
47
|
-
* was auto-blocked after sustained delivery failures.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```ts
|
|
51
|
-
* const webhook = await client.webhooks.update(
|
|
52
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
53
|
-
* );
|
|
54
|
-
* ```
|
|
48
|
+
* was auto-blocked after sustained delivery failures. The URL or integration
|
|
49
|
+
* target cannot be changed; delete and recreate the webhook instead.
|
|
55
50
|
*/
|
|
56
51
|
update(id, body = {}, options) {
|
|
57
52
|
return this._client.patch(path `/webhooks/${id}`, { body, ...options });
|
|
58
53
|
}
|
|
59
54
|
/**
|
|
60
55
|
* Returns a paginated list of your webhook subscriptions, optionally filtered by
|
|
61
|
-
* status (active, failing, blocked, or disabled)
|
|
62
|
-
*
|
|
63
|
-
* also includes per-status counts across all of your subscriptions
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* ```ts
|
|
67
|
-
* const webhooks = await client.webhooks.list();
|
|
68
|
-
* ```
|
|
56
|
+
* status (active, failing, blocked, or disabled), by `search` (a case-insensitive
|
|
57
|
+
* substring match against the URL or description), and/or by delivery `kind`. The
|
|
58
|
+
* response also includes per-status counts across all of your subscriptions (of
|
|
59
|
+
* the requested `kind`, if given; the other filters do not apply to the counts).
|
|
69
60
|
*/
|
|
70
61
|
list(query = {}, options) {
|
|
71
62
|
return this._client.get('/webhooks', { query, ...options });
|
|
@@ -73,13 +64,6 @@ export class Webhooks extends APIResource {
|
|
|
73
64
|
/**
|
|
74
65
|
* Deletes a webhook subscription so it stops receiving deliveries. Returns 204 No
|
|
75
66
|
* Content on success.
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```ts
|
|
79
|
-
* await client.webhooks.delete(
|
|
80
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
81
|
-
* );
|
|
82
|
-
* ```
|
|
83
67
|
*/
|
|
84
68
|
delete(id, options) {
|
|
85
69
|
return this._client.delete(path `/webhooks/${id}`, {
|
|
@@ -91,11 +75,6 @@ export class Webhooks extends APIResource {
|
|
|
91
75
|
* Returns the catalog of event types that webhook subscriptions can subscribe to,
|
|
92
76
|
* grouped by source. Use the returned type identifiers as the `eventTypes` values
|
|
93
77
|
* when creating or updating a webhook.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* ```ts
|
|
97
|
-
* const response = await client.webhooks.eventTypes();
|
|
98
|
-
* ```
|
|
99
78
|
*/
|
|
100
79
|
eventTypes(options) {
|
|
101
80
|
return this._client.get('/event-types', options);
|
|
@@ -103,33 +82,21 @@ export class Webhooks extends APIResource {
|
|
|
103
82
|
/**
|
|
104
83
|
* Generates a new signing secret for the webhook subscription and returns it once
|
|
105
84
|
* in the response. The previous secret is replaced immediately, so any signature
|
|
106
|
-
* verification on your endpoint must be updated to use the new value.
|
|
107
|
-
*
|
|
108
|
-
* @example
|
|
109
|
-
* ```ts
|
|
110
|
-
* const response = await client.webhooks.rotateSecret(
|
|
111
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
112
|
-
* );
|
|
113
|
-
* ```
|
|
85
|
+
* verification on your endpoint must be updated to use the new value. Only `http`
|
|
86
|
+
* webhooks have a signing secret; for `integration` webhooks this returns 400.
|
|
114
87
|
*/
|
|
115
88
|
rotateSecret(id, options) {
|
|
116
89
|
return this._client.post(path `/webhooks/${id}/rotate-secret`, options);
|
|
117
90
|
}
|
|
118
91
|
/**
|
|
119
|
-
* Sends a single test payload to the webhook subscription URL
|
|
120
|
-
* connectivity. The response reports whether
|
|
121
|
-
* returned HTTP status code or error, if any.
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* ```ts
|
|
125
|
-
* const response = await client.webhooks.testDelivery(
|
|
126
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
127
|
-
* );
|
|
128
|
-
* ```
|
|
92
|
+
* Sends a single test payload to the webhook subscription URL (or a test message
|
|
93
|
+
* to its integration target) to verify connectivity. The response reports whether
|
|
94
|
+
* the attempt succeeded along with the returned HTTP status code or error, if any.
|
|
129
95
|
*/
|
|
130
96
|
testDelivery(id, options) {
|
|
131
97
|
return this._client.post(path `/webhooks/${id}/test`, options);
|
|
132
98
|
}
|
|
133
99
|
}
|
|
100
|
+
Webhooks.Integrations = Integrations;
|
|
134
101
|
Webhooks.Deliveries = Deliveries;
|
|
135
102
|
//# sourceMappingURL=webhooks.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,UAAU,GASX,yBAAqB;
|
|
1
|
+
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,UAAU,GASX,yBAAqB;AACtB,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAIL,YAAY,GACb,2BAAuB;AAExB,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoGpF,CAAC;IAlGC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,EAAU,EAAE,OAA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,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;AAklBD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -25,8 +25,10 @@ export declare namespace ActionCatalogRetrieveResponse {
|
|
|
25
25
|
description: string | null;
|
|
26
26
|
method: string;
|
|
27
27
|
name: string;
|
|
28
|
-
|
|
28
|
+
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
29
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
29
30
|
updatedAt: string | null;
|
|
31
|
+
outputSchema?: unknown;
|
|
30
32
|
paramsSchema?: unknown;
|
|
31
33
|
}
|
|
32
34
|
}
|
|
@@ -41,15 +43,17 @@ export declare namespace ActionCatalogListResponse {
|
|
|
41
43
|
description: string | null;
|
|
42
44
|
method: string;
|
|
43
45
|
name: string;
|
|
44
|
-
|
|
46
|
+
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
47
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
45
48
|
updatedAt: string | null;
|
|
49
|
+
outputSchema?: unknown;
|
|
46
50
|
paramsSchema?: unknown;
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
export interface ActionCatalogListParams {
|
|
50
54
|
page?: number;
|
|
51
55
|
pageSize?: number;
|
|
52
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
56
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
53
57
|
}
|
|
54
58
|
export declare namespace ActionCatalog {
|
|
55
59
|
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIrG;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,6BAA6B,CAAC,IAAI,CAAC;CAC1C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,MAAM,EAAE,MAAM,CAAC;QAEf,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"action-catalog.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6B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F,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,CAAC;CACxF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -25,8 +25,10 @@ export declare namespace ActionCatalogRetrieveResponse {
|
|
|
25
25
|
description: string | null;
|
|
26
26
|
method: string;
|
|
27
27
|
name: string;
|
|
28
|
-
|
|
28
|
+
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
29
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
29
30
|
updatedAt: string | null;
|
|
31
|
+
outputSchema?: unknown;
|
|
30
32
|
paramsSchema?: unknown;
|
|
31
33
|
}
|
|
32
34
|
}
|
|
@@ -41,15 +43,17 @@ export declare namespace ActionCatalogListResponse {
|
|
|
41
43
|
description: string | null;
|
|
42
44
|
method: string;
|
|
43
45
|
name: string;
|
|
44
|
-
|
|
46
|
+
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
47
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
45
48
|
updatedAt: string | null;
|
|
49
|
+
outputSchema?: unknown;
|
|
46
50
|
paramsSchema?: unknown;
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
export interface ActionCatalogListParams {
|
|
50
54
|
page?: number;
|
|
51
55
|
pageSize?: number;
|
|
52
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
56
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
53
57
|
}
|
|
54
58
|
export declare namespace ActionCatalog {
|
|
55
59
|
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIrG;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,6BAA6B,CAAC,IAAI,CAAC;CAC1C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,MAAM,EAAE,MAAM,CAAC;QAEf,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,CAAC;
|
|
1
|
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AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,MAAM,EAAE,MAAM,CAAC;QAEf,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,WAAW,GAAG,UAAU,GAAG,aAAa,CAAC;QAEnD,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,CAAC;QAEtF,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,CAAC;CACxF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -10,6 +10,10 @@ export declare class Actions extends APIResource {
|
|
|
10
10
|
* Create a reusable action from a catalog entry (`catalogEntryId`), with an
|
|
11
11
|
* optional `params` object supplying the values for that entry's service method.
|
|
12
12
|
* Returns 400 if the params are invalid for the chosen catalog entry.
|
|
13
|
+
*
|
|
14
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
15
|
+
* characters). Replays with the same key and an identical body return the original
|
|
16
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
13
17
|
*/
|
|
14
18
|
create(body: ActionCreateParams, options?: RequestOptions): APIPromise<ActionCreateResponse>;
|
|
15
19
|
/**
|
|
@@ -45,7 +49,7 @@ export declare namespace ActionCreateResponse {
|
|
|
45
49
|
method: string;
|
|
46
50
|
name: string;
|
|
47
51
|
ownerId: string;
|
|
48
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
52
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
49
53
|
updatedAt: string | null;
|
|
50
54
|
/**
|
|
51
55
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -68,7 +72,7 @@ export declare namespace ActionRetrieveResponse {
|
|
|
68
72
|
method: string;
|
|
69
73
|
name: string;
|
|
70
74
|
ownerId: string;
|
|
71
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
75
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
72
76
|
updatedAt: string | null;
|
|
73
77
|
/**
|
|
74
78
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -91,7 +95,7 @@ export declare namespace ActionUpdateResponse {
|
|
|
91
95
|
method: string;
|
|
92
96
|
name: string;
|
|
93
97
|
ownerId: string;
|
|
94
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
98
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
95
99
|
updatedAt: string | null;
|
|
96
100
|
/**
|
|
97
101
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -115,7 +119,7 @@ export declare namespace ActionListResponse {
|
|
|
115
119
|
method: string;
|
|
116
120
|
name: string;
|
|
117
121
|
ownerId: string;
|
|
118
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
122
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
119
123
|
updatedAt: string | null;
|
|
120
124
|
/**
|
|
121
125
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -149,7 +153,7 @@ export interface ActionListParams {
|
|
|
149
153
|
page?: number;
|
|
150
154
|
pageSize?: number;
|
|
151
155
|
search?: string;
|
|
152
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
156
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
153
157
|
}
|
|
154
158
|
export declare namespace Actions {
|
|
155
159
|
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,uBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,E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AC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,CAAC;IAE7C,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAElC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,CAAC;CACxF;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -10,6 +10,10 @@ export declare class Actions extends APIResource {
|
|
|
10
10
|
* Create a reusable action from a catalog entry (`catalogEntryId`), with an
|
|
11
11
|
* optional `params` object supplying the values for that entry's service method.
|
|
12
12
|
* Returns 400 if the params are invalid for the chosen catalog entry.
|
|
13
|
+
*
|
|
14
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
15
|
+
* characters). Replays with the same key and an identical body return the original
|
|
16
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
13
17
|
*/
|
|
14
18
|
create(body: ActionCreateParams, options?: RequestOptions): APIPromise<ActionCreateResponse>;
|
|
15
19
|
/**
|
|
@@ -45,7 +49,7 @@ export declare namespace ActionCreateResponse {
|
|
|
45
49
|
method: string;
|
|
46
50
|
name: string;
|
|
47
51
|
ownerId: string;
|
|
48
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
52
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
49
53
|
updatedAt: string | null;
|
|
50
54
|
/**
|
|
51
55
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -68,7 +72,7 @@ export declare namespace ActionRetrieveResponse {
|
|
|
68
72
|
method: string;
|
|
69
73
|
name: string;
|
|
70
74
|
ownerId: string;
|
|
71
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
75
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
72
76
|
updatedAt: string | null;
|
|
73
77
|
/**
|
|
74
78
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -91,7 +95,7 @@ export declare namespace ActionUpdateResponse {
|
|
|
91
95
|
method: string;
|
|
92
96
|
name: string;
|
|
93
97
|
ownerId: string;
|
|
94
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
98
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
95
99
|
updatedAt: string | null;
|
|
96
100
|
/**
|
|
97
101
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -115,7 +119,7 @@ export declare namespace ActionListResponse {
|
|
|
115
119
|
method: string;
|
|
116
120
|
name: string;
|
|
117
121
|
ownerId: string;
|
|
118
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
122
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
119
123
|
updatedAt: string | null;
|
|
120
124
|
/**
|
|
121
125
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -149,7 +153,7 @@ export interface ActionListParams {
|
|
|
149
153
|
page?: number;
|
|
150
154
|
pageSize?: number;
|
|
151
155
|
search?: string;
|
|
152
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
156
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
153
157
|
}
|
|
154
158
|
export declare namespace Actions {
|
|
155
159
|
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,sBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,C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AAgB,GAC1C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -16,6 +16,10 @@ class Actions extends resource_1.APIResource {
|
|
|
16
16
|
* Create a reusable action from a catalog entry (`catalogEntryId`), with an
|
|
17
17
|
* optional `params` object supplying the values for that entry's service method.
|
|
18
18
|
* Returns 400 if the params are invalid for the chosen catalog entry.
|
|
19
|
+
*
|
|
20
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
21
|
+
* characters). Replays with the same key and an identical body return the original
|
|
22
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
19
23
|
*/
|
|
20
24
|
create(body, options) {
|
|
21
25
|
return this._client.post('/actions', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,mEAA0C;AAC1C,4CAAuF;AAGvF,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,mEAA0C;AAC1C,4CAAuF;AAGvF,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoD1E,CAAC;IAlDC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,QAAgB,EAChB,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AArDD,0BAqDC;AA4LD,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -12,6 +12,10 @@ export class Actions extends APIResource {
|
|
|
12
12
|
* Create a reusable action from a catalog entry (`catalogEntryId`), with an
|
|
13
13
|
* optional `params` object supplying the values for that entry's service method.
|
|
14
14
|
* Returns 400 if the params are invalid for the chosen catalog entry.
|
|
15
|
+
*
|
|
16
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
17
|
+
* characters). Replays with the same key and an identical body return the original
|
|
18
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
15
19
|
*/
|
|
16
20
|
create(body, options) {
|
|
17
21
|
return this._client.post('/actions', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAmD,QAAQ,EAAE,uBAAmB;AAGvF,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAmD,QAAQ,EAAE,uBAAmB;AAGvF,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoD1E,CAAC;IAlDC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC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