@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
|
@@ -17,14 +17,25 @@ export {
|
|
|
17
17
|
type FlowUpdateResponse,
|
|
18
18
|
type FlowListResponse,
|
|
19
19
|
type FlowDeleteResponse,
|
|
20
|
+
type FlowActivateResponse,
|
|
20
21
|
type FlowCapacityResponse,
|
|
21
22
|
type FlowCloneResponse,
|
|
23
|
+
type FlowDeliveryOptionsResponse,
|
|
22
24
|
type FlowDryRunResponse,
|
|
23
25
|
type FlowListRepairsResponse,
|
|
26
|
+
type FlowRunResponse,
|
|
27
|
+
type FlowTemplateContextResponse,
|
|
24
28
|
type FlowUnblockResponse,
|
|
29
|
+
type FlowValidateResponse,
|
|
30
|
+
type FlowVerifyResponse,
|
|
25
31
|
type FlowCreateParams,
|
|
26
32
|
type FlowUpdateParams,
|
|
27
33
|
type FlowListParams,
|
|
34
|
+
type FlowActivateParams,
|
|
28
35
|
type FlowCloneParams,
|
|
29
36
|
type FlowDryRunParams,
|
|
37
|
+
type FlowRunParams,
|
|
38
|
+
type FlowTemplateContextParams,
|
|
39
|
+
type FlowValidateParams,
|
|
40
|
+
type FlowVerifyParams,
|
|
30
41
|
} from './flows';
|
|
@@ -32,7 +32,7 @@ export {
|
|
|
32
32
|
type ExecutionGetMetricsResponse,
|
|
33
33
|
type ExecutionListParams,
|
|
34
34
|
type ExecutionGetMetricsParams,
|
|
35
|
-
} from './executions';
|
|
35
|
+
} from './executions/index';
|
|
36
36
|
export {
|
|
37
37
|
Flows,
|
|
38
38
|
type FlowCreateResponse,
|
|
@@ -40,16 +40,27 @@ export {
|
|
|
40
40
|
type FlowUpdateResponse,
|
|
41
41
|
type FlowListResponse,
|
|
42
42
|
type FlowDeleteResponse,
|
|
43
|
+
type FlowActivateResponse,
|
|
43
44
|
type FlowCapacityResponse,
|
|
44
45
|
type FlowCloneResponse,
|
|
46
|
+
type FlowDeliveryOptionsResponse,
|
|
45
47
|
type FlowDryRunResponse,
|
|
46
48
|
type FlowListRepairsResponse,
|
|
49
|
+
type FlowRunResponse,
|
|
50
|
+
type FlowTemplateContextResponse,
|
|
47
51
|
type FlowUnblockResponse,
|
|
52
|
+
type FlowValidateResponse,
|
|
53
|
+
type FlowVerifyResponse,
|
|
48
54
|
type FlowCreateParams,
|
|
49
55
|
type FlowUpdateParams,
|
|
50
56
|
type FlowListParams,
|
|
57
|
+
type FlowActivateParams,
|
|
51
58
|
type FlowCloneParams,
|
|
52
59
|
type FlowDryRunParams,
|
|
60
|
+
type FlowRunParams,
|
|
61
|
+
type FlowTemplateContextParams,
|
|
62
|
+
type FlowValidateParams,
|
|
63
|
+
type FlowVerifyParams,
|
|
53
64
|
} from './flows/index';
|
|
54
65
|
export { Timezones, type TimezoneListResponse } from './timezones';
|
|
55
66
|
export {
|
|
@@ -12,6 +12,10 @@ export class Triggers extends APIResource {
|
|
|
12
12
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
13
13
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
14
14
|
* for custom triggers); mismatched fields are rejected.
|
|
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: TriggerCreateParams, options?: RequestOptions): APIPromise<TriggerCreateResponse> {
|
|
17
21
|
return this._client.post('/triggers', { body, ...options });
|
|
@@ -74,6 +78,16 @@ export class Triggers extends APIResource {
|
|
|
74
78
|
*
|
|
75
79
|
* Only triggers with `activation = "custom"` can be fired through this endpoint;
|
|
76
80
|
* event and schedule triggers return 409.
|
|
81
|
+
*
|
|
82
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
83
|
+
* characters), which maps to the derived `invocationId` used for fan-out
|
|
84
|
+
* deduplication (the deprecated `invocationId` body field wins when both are
|
|
85
|
+
* supplied, and a mismatch between them is logged). The payload is bound to the
|
|
86
|
+
* key on the first accepted fire, before fan-out. A repeat with the same key and
|
|
87
|
+
* an identical payload returns 202 with `Idempotent-Replayed: true`
|
|
88
|
+
* (`deduplicated: true` when flows were skipped; `enqueuedCount` counts only
|
|
89
|
+
* executions enqueued by that call); a changed payload under the same key returns
|
|
90
|
+
* 422 `idempotency_key_reused`.
|
|
77
91
|
*/
|
|
78
92
|
fire(
|
|
79
93
|
triggerID: string,
|
|
@@ -186,7 +200,7 @@ export namespace TriggerRetrieveResponse {
|
|
|
186
200
|
|
|
187
201
|
ownerId: string;
|
|
188
202
|
|
|
189
|
-
scheduleRule:
|
|
203
|
+
scheduleRule: Data.ScheduleRule;
|
|
190
204
|
|
|
191
205
|
timezone: string | null;
|
|
192
206
|
|
|
@@ -201,6 +215,43 @@ export namespace TriggerRetrieveResponse {
|
|
|
201
215
|
|
|
202
216
|
nextFireTime?: string | null;
|
|
203
217
|
}
|
|
218
|
+
|
|
219
|
+
export namespace Data {
|
|
220
|
+
export interface ScheduleRule {
|
|
221
|
+
type: 'once' | 'cron' | 'recurring';
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* ISO 8601 datetime (for type=once)
|
|
225
|
+
*/
|
|
226
|
+
dateTime?: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Cron expression (for type=cron)
|
|
230
|
+
*/
|
|
231
|
+
expression?: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
235
|
+
*/
|
|
236
|
+
jitter?: ScheduleRule.Jitter;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* RRULE string (for type=recurring)
|
|
240
|
+
*/
|
|
241
|
+
rrule?: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export namespace ScheduleRule {
|
|
245
|
+
/**
|
|
246
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
247
|
+
*/
|
|
248
|
+
export interface Jitter {
|
|
249
|
+
afterMinutes?: number;
|
|
250
|
+
|
|
251
|
+
beforeMinutes?: number;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
204
255
|
}
|
|
205
256
|
|
|
206
257
|
export interface TriggerUpdateResponse {
|
|
@@ -227,7 +278,7 @@ export namespace TriggerUpdateResponse {
|
|
|
227
278
|
|
|
228
279
|
ownerId: string;
|
|
229
280
|
|
|
230
|
-
scheduleRule:
|
|
281
|
+
scheduleRule: Data.ScheduleRule;
|
|
231
282
|
|
|
232
283
|
timezone: string | null;
|
|
233
284
|
|
|
@@ -242,6 +293,43 @@ export namespace TriggerUpdateResponse {
|
|
|
242
293
|
|
|
243
294
|
nextFireTime?: string | null;
|
|
244
295
|
}
|
|
296
|
+
|
|
297
|
+
export namespace Data {
|
|
298
|
+
export interface ScheduleRule {
|
|
299
|
+
type: 'once' | 'cron' | 'recurring';
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* ISO 8601 datetime (for type=once)
|
|
303
|
+
*/
|
|
304
|
+
dateTime?: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Cron expression (for type=cron)
|
|
308
|
+
*/
|
|
309
|
+
expression?: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
313
|
+
*/
|
|
314
|
+
jitter?: ScheduleRule.Jitter;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* RRULE string (for type=recurring)
|
|
318
|
+
*/
|
|
319
|
+
rrule?: string;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export namespace ScheduleRule {
|
|
323
|
+
/**
|
|
324
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
325
|
+
*/
|
|
326
|
+
export interface Jitter {
|
|
327
|
+
afterMinutes?: number;
|
|
328
|
+
|
|
329
|
+
beforeMinutes?: number;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
245
333
|
}
|
|
246
334
|
|
|
247
335
|
export interface TriggerListResponse {
|
|
@@ -270,7 +358,7 @@ export namespace TriggerListResponse {
|
|
|
270
358
|
|
|
271
359
|
ownerId: string;
|
|
272
360
|
|
|
273
|
-
scheduleRule:
|
|
361
|
+
scheduleRule: Item.ScheduleRule;
|
|
274
362
|
|
|
275
363
|
timezone: string | null;
|
|
276
364
|
|
|
@@ -285,6 +373,43 @@ export namespace TriggerListResponse {
|
|
|
285
373
|
|
|
286
374
|
nextFireTime?: string | null;
|
|
287
375
|
}
|
|
376
|
+
|
|
377
|
+
export namespace Item {
|
|
378
|
+
export interface ScheduleRule {
|
|
379
|
+
type: 'once' | 'cron' | 'recurring';
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* ISO 8601 datetime (for type=once)
|
|
383
|
+
*/
|
|
384
|
+
dateTime?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Cron expression (for type=cron)
|
|
388
|
+
*/
|
|
389
|
+
expression?: string;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
393
|
+
*/
|
|
394
|
+
jitter?: ScheduleRule.Jitter;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* RRULE string (for type=recurring)
|
|
398
|
+
*/
|
|
399
|
+
rrule?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export namespace ScheduleRule {
|
|
403
|
+
/**
|
|
404
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
405
|
+
*/
|
|
406
|
+
export interface Jitter {
|
|
407
|
+
afterMinutes?: number;
|
|
408
|
+
|
|
409
|
+
beforeMinutes?: number;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
288
413
|
}
|
|
289
414
|
|
|
290
415
|
export interface TriggerDeleteResponse {
|
|
@@ -465,13 +590,6 @@ export interface TriggerFireParams {
|
|
|
465
590
|
* otherwise only "must be a JSON object" is enforced.
|
|
466
591
|
*/
|
|
467
592
|
payload: { [key: string]: unknown };
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* Optional client-supplied idempotency key. When provided, a flow that already has
|
|
471
|
-
* an execution for this (flow, invocationId) is skipped and `deduplicated` is
|
|
472
|
-
* true. When omitted a fresh server-side id is generated (no dedup).
|
|
473
|
-
*/
|
|
474
|
-
invocationId?: string;
|
|
475
593
|
}
|
|
476
594
|
|
|
477
595
|
export declare namespace Triggers {
|
|
@@ -16,16 +16,6 @@ import {
|
|
|
16
16
|
EventIngestResponse,
|
|
17
17
|
Events,
|
|
18
18
|
} from './events';
|
|
19
|
-
import * as ExecutionsAPI from './executions';
|
|
20
|
-
import {
|
|
21
|
-
ExecutionAbortResponse,
|
|
22
|
-
ExecutionGetMetricsParams,
|
|
23
|
-
ExecutionGetMetricsResponse,
|
|
24
|
-
ExecutionListParams,
|
|
25
|
-
ExecutionListResponse,
|
|
26
|
-
ExecutionRetrieveResponse,
|
|
27
|
-
Executions,
|
|
28
|
-
} from './executions';
|
|
29
19
|
import * as TimezonesAPI from './timezones';
|
|
30
20
|
import { TimezoneListResponse, Timezones } from './timezones';
|
|
31
21
|
import * as TriggersAPI from './triggers';
|
|
@@ -54,23 +44,44 @@ import {
|
|
|
54
44
|
ActionUpdateResponse,
|
|
55
45
|
Actions,
|
|
56
46
|
} from './actions/actions';
|
|
47
|
+
import * as ExecutionsAPI from './executions/executions';
|
|
48
|
+
import {
|
|
49
|
+
ExecutionAbortResponse,
|
|
50
|
+
ExecutionGetMetricsParams,
|
|
51
|
+
ExecutionGetMetricsResponse,
|
|
52
|
+
ExecutionListParams,
|
|
53
|
+
ExecutionListResponse,
|
|
54
|
+
ExecutionRetrieveResponse,
|
|
55
|
+
Executions,
|
|
56
|
+
} from './executions/executions';
|
|
57
57
|
import * as FlowsAPI from './flows/flows';
|
|
58
58
|
import {
|
|
59
|
+
FlowActivateParams,
|
|
60
|
+
FlowActivateResponse,
|
|
59
61
|
FlowCapacityResponse,
|
|
60
62
|
FlowCloneParams,
|
|
61
63
|
FlowCloneResponse,
|
|
62
64
|
FlowCreateParams,
|
|
63
65
|
FlowCreateResponse,
|
|
64
66
|
FlowDeleteResponse,
|
|
67
|
+
FlowDeliveryOptionsResponse,
|
|
65
68
|
FlowDryRunParams,
|
|
66
69
|
FlowDryRunResponse,
|
|
67
70
|
FlowListParams,
|
|
68
71
|
FlowListRepairsResponse,
|
|
69
72
|
FlowListResponse,
|
|
70
73
|
FlowRetrieveResponse,
|
|
74
|
+
FlowRunParams,
|
|
75
|
+
FlowRunResponse,
|
|
76
|
+
FlowTemplateContextParams,
|
|
77
|
+
FlowTemplateContextResponse,
|
|
71
78
|
FlowUnblockResponse,
|
|
72
79
|
FlowUpdateParams,
|
|
73
80
|
FlowUpdateResponse,
|
|
81
|
+
FlowValidateParams,
|
|
82
|
+
FlowValidateResponse,
|
|
83
|
+
FlowVerifyParams,
|
|
84
|
+
FlowVerifyResponse,
|
|
74
85
|
Flows,
|
|
75
86
|
} from './flows/flows';
|
|
76
87
|
|
|
@@ -133,16 +144,27 @@ export declare namespace Workflows {
|
|
|
133
144
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
134
145
|
type FlowListResponse as FlowListResponse,
|
|
135
146
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
147
|
+
type FlowActivateResponse as FlowActivateResponse,
|
|
136
148
|
type FlowCapacityResponse as FlowCapacityResponse,
|
|
137
149
|
type FlowCloneResponse as FlowCloneResponse,
|
|
150
|
+
type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse,
|
|
138
151
|
type FlowDryRunResponse as FlowDryRunResponse,
|
|
139
152
|
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
153
|
+
type FlowRunResponse as FlowRunResponse,
|
|
154
|
+
type FlowTemplateContextResponse as FlowTemplateContextResponse,
|
|
140
155
|
type FlowUnblockResponse as FlowUnblockResponse,
|
|
156
|
+
type FlowValidateResponse as FlowValidateResponse,
|
|
157
|
+
type FlowVerifyResponse as FlowVerifyResponse,
|
|
141
158
|
type FlowCreateParams as FlowCreateParams,
|
|
142
159
|
type FlowUpdateParams as FlowUpdateParams,
|
|
143
160
|
type FlowListParams as FlowListParams,
|
|
161
|
+
type FlowActivateParams as FlowActivateParams,
|
|
144
162
|
type FlowCloneParams as FlowCloneParams,
|
|
145
163
|
type FlowDryRunParams as FlowDryRunParams,
|
|
164
|
+
type FlowRunParams as FlowRunParams,
|
|
165
|
+
type FlowTemplateContextParams as FlowTemplateContextParams,
|
|
166
|
+
type FlowValidateParams as FlowValidateParams,
|
|
167
|
+
type FlowVerifyParams as FlowVerifyParams,
|
|
146
168
|
};
|
|
147
169
|
|
|
148
170
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.6.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.6.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|