@mobilerun/sdk 5.4.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 +17 -0
- package/client.d.mts +10 -13
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -13
- package/client.d.ts.map +1 -1
- package/client.js +1 -3
- package/client.js.map +1 -1
- package/client.mjs +2 -4
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +23 -12
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +23 -12
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +8 -3
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +8 -3
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +33 -21
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +33 -21
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +16 -15
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +16 -15
- 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 +118 -19
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +118 -19
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +19 -0
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +19 -0
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/devices/apps.d.mts +37 -17
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +37 -17
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +15 -14
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +15 -14
- package/resources/devices/apps.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 +81 -27
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +81 -27
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +24 -11
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +24 -11
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -1
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -1
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +9 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +9 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +3 -3
- package/resources/devices/keyboard.mjs +3 -3
- package/resources/devices/recordings.d.mts +13 -0
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +13 -0
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +163 -0
- package/resources/devices/traffic-sessions.d.mts.map +1 -0
- package/resources/devices/traffic-sessions.d.ts +163 -0
- package/resources/devices/traffic-sessions.d.ts.map +1 -0
- package/resources/devices/traffic-sessions.js +37 -0
- package/resources/devices/traffic-sessions.js.map +1 -0
- package/resources/devices/traffic-sessions.mjs +33 -0
- package/resources/devices/traffic-sessions.mjs.map +1 -0
- package/resources/files.d.mts +77 -19
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +77 -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 +5 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- 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 +107 -50
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +107 -50
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +34 -24
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +34 -24
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/mailboxes/messages.d.mts +2 -2
- package/resources/mailboxes/messages.d.ts +2 -2
- package/resources/mailboxes/messages.js +2 -2
- package/resources/mailboxes/messages.mjs +2 -2
- package/resources/messages/conversations.d.mts +4 -15
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +4 -15
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/conversations.js +4 -15
- package/resources/messages/conversations.js.map +1 -1
- package/resources/messages/conversations.mjs +4 -15
- package/resources/messages/conversations.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 +28 -5
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +28 -5
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +11 -4
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +11 -4
- 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 +2 -2
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +2 -2
- 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 +167 -46
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +167 -46
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +25 -40
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +26 -41
- 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 +84 -75
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +84 -75
- 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 +280 -71
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +280 -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 +66 -4
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +66 -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 -190
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -190
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -36
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -34
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +58 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +58 -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 +666 -15
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +666 -15
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +86 -1
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +86 -1
- 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 +118 -6
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +118 -6
- 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 +22 -42
- package/src/resources/apps.ts +24 -12
- package/src/resources/assistant/conversations.ts +50 -31
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +146 -18
- package/src/resources/devices/apps.ts +41 -17
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +138 -34
- package/src/resources/devices/index.ts +13 -0
- package/src/resources/devices/keyboard.ts +10 -3
- package/src/resources/devices/recordings.ts +14 -0
- package/src/resources/devices/traffic-sessions.ts +282 -0
- package/src/resources/files.ts +122 -29
- package/src/resources/index.ts +13 -20
- package/src/resources/mailboxes/connections.ts +91 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +190 -49
- package/src/resources/mailboxes/messages.ts +2 -2
- package/src/resources/messages/conversations.ts +4 -15
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +57 -5
- package/src/resources/notifications.ts +37 -0
- package/src/resources/numbers/index.ts +9 -1
- package/src/resources/numbers/messages.ts +92 -1
- package/src/resources/numbers/numbers.ts +197 -55
- package/src/resources/store/apps.ts +291 -2
- package/src/resources/tasks/tasks.ts +126 -93
- 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 +328 -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 +86 -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 -296
- package/src/resources/workflows/flows/actions.ts +72 -0
- package/src/resources/workflows/flows/flows.ts +1058 -129
- package/src/resources/workflows/flows/index.ts +12 -0
- package/src/resources/workflows/index.ts +13 -1
- package/src/resources/workflows/triggers.ts +140 -6
- package/src/resources/workflows/workflows.ts +34 -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
- package/resources/esims/esims.d.mts +0 -566
- package/resources/esims/esims.d.mts.map +0 -1
- package/resources/esims/esims.d.ts +0 -566
- package/resources/esims/esims.d.ts.map +0 -1
- package/resources/esims/esims.js +0 -205
- package/resources/esims/esims.js.map +0 -1
- package/resources/esims/esims.mjs +0 -200
- package/resources/esims/esims.mjs.map +0 -1
- package/resources/esims/index.d.mts +0 -3
- package/resources/esims/index.d.mts.map +0 -1
- package/resources/esims/index.d.ts +0 -3
- package/resources/esims/index.d.ts.map +0 -1
- package/resources/esims/index.js +0 -9
- package/resources/esims/index.js.map +0 -1
- package/resources/esims/index.mjs +0 -4
- package/resources/esims/index.mjs.map +0 -1
- package/resources/esims/messages.d.mts +0 -106
- package/resources/esims/messages.d.mts.map +0 -1
- package/resources/esims/messages.d.ts +0 -106
- package/resources/esims/messages.d.ts.map +0 -1
- package/resources/esims/messages.js +0 -37
- package/resources/esims/messages.js.map +0 -1
- package/resources/esims/messages.mjs +0 -33
- package/resources/esims/messages.mjs.map +0 -1
- package/resources/esims.d.mts +0 -2
- package/resources/esims.d.mts.map +0 -1
- package/resources/esims.d.ts +0 -2
- package/resources/esims.d.ts.map +0 -1
- package/resources/esims.js +0 -6
- package/resources/esims.js.map +0 -1
- package/resources/esims.mjs +0 -3
- package/resources/esims.mjs.map +0 -1
- package/src/resources/esims/esims.ts +0 -1019
- package/src/resources/esims/index.ts +0 -28
- package/src/resources/esims/messages.ts +0 -187
- package/src/resources/esims.ts +0 -3
|
@@ -31,9 +31,12 @@ export declare namespace EventDryRunResponse {
|
|
|
31
31
|
namespace MatchedFlow {
|
|
32
32
|
interface Action {
|
|
33
33
|
continueOnError: boolean;
|
|
34
|
+
flowActionId: string;
|
|
35
|
+
key: string;
|
|
34
36
|
method: string;
|
|
35
37
|
name: string;
|
|
36
|
-
|
|
38
|
+
recordingEnabled: boolean;
|
|
39
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
37
40
|
/**
|
|
38
41
|
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
39
42
|
* ResolvedAction.
|
|
@@ -45,33 +48,46 @@ export declare namespace EventDryRunResponse {
|
|
|
45
48
|
}
|
|
46
49
|
interface Flow {
|
|
47
50
|
id: string;
|
|
51
|
+
archivedAt: string | null;
|
|
48
52
|
blockedAt: string | null;
|
|
49
53
|
consecutiveFailures: number;
|
|
50
54
|
cooldownScope: 'flow' | 'device';
|
|
51
55
|
cooldownSeconds: number | null;
|
|
52
56
|
createdAt: string | null;
|
|
53
57
|
createdBy: string | null;
|
|
58
|
+
delivery: Flow.Delivery | null;
|
|
54
59
|
description: string | null;
|
|
55
60
|
deviceIds: Array<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
63
|
+
* enabled.
|
|
64
|
+
*/
|
|
56
65
|
enabled: boolean;
|
|
57
66
|
healthMonitoringEnabled: boolean;
|
|
58
67
|
lastFailureAt: string | null;
|
|
59
68
|
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
60
69
|
lastTriggeredAt: string | null;
|
|
70
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
61
71
|
name: string;
|
|
62
72
|
notifyOnFailure: boolean;
|
|
63
73
|
notifyOnSuccess: boolean;
|
|
64
74
|
notifyWebhookId: string | null;
|
|
65
75
|
ownerId: string;
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
78
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
79
|
+
*/
|
|
66
80
|
recordingEnabled: boolean;
|
|
81
|
+
recordingPolicy: Flow.RecordingPolicy;
|
|
67
82
|
selfHealingEnabled: boolean;
|
|
68
83
|
selfHealingMaxAttempts: number;
|
|
69
84
|
status: 'healthy' | 'failing' | 'blocked';
|
|
70
85
|
/**
|
|
71
86
|
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
72
87
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
73
|
-
* a whole-token null stays JSON null).
|
|
74
|
-
*
|
|
88
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
89
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
90
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
75
91
|
*/
|
|
76
92
|
templateResolutionVersion: number;
|
|
77
93
|
triggerId: string;
|
|
@@ -81,6 +97,22 @@ export declare namespace EventDryRunResponse {
|
|
|
81
97
|
*/
|
|
82
98
|
userId: string;
|
|
83
99
|
}
|
|
100
|
+
namespace Flow {
|
|
101
|
+
interface Delivery {
|
|
102
|
+
destination: 'one_drive' | 'google_drive';
|
|
103
|
+
folder?: string;
|
|
104
|
+
recording?: Delivery.Recording;
|
|
105
|
+
screenshots?: unknown;
|
|
106
|
+
}
|
|
107
|
+
namespace Delivery {
|
|
108
|
+
interface Recording {
|
|
109
|
+
filename: string;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
interface RecordingPolicy {
|
|
113
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
84
116
|
interface Gates {
|
|
85
117
|
blocked: boolean;
|
|
86
118
|
cooldownActive: boolean | null;
|
|
@@ -100,7 +132,7 @@ export declare namespace EventDryRunResponse {
|
|
|
100
132
|
eventType: string | null;
|
|
101
133
|
name: string;
|
|
102
134
|
ownerId: string;
|
|
103
|
-
scheduleRule:
|
|
135
|
+
scheduleRule: Trigger.ScheduleRule;
|
|
104
136
|
timezone: string | null;
|
|
105
137
|
updatedAt: string | null;
|
|
106
138
|
/**
|
|
@@ -110,6 +142,36 @@ export declare namespace EventDryRunResponse {
|
|
|
110
142
|
conditions?: unknown;
|
|
111
143
|
nextFireTime?: string | null;
|
|
112
144
|
}
|
|
145
|
+
namespace Trigger {
|
|
146
|
+
interface ScheduleRule {
|
|
147
|
+
type: 'once' | 'cron' | 'recurring';
|
|
148
|
+
/**
|
|
149
|
+
* ISO 8601 datetime (for type=once)
|
|
150
|
+
*/
|
|
151
|
+
dateTime?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Cron expression (for type=cron)
|
|
154
|
+
*/
|
|
155
|
+
expression?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
158
|
+
*/
|
|
159
|
+
jitter?: ScheduleRule.Jitter;
|
|
160
|
+
/**
|
|
161
|
+
* RRULE string (for type=recurring)
|
|
162
|
+
*/
|
|
163
|
+
rrule?: string;
|
|
164
|
+
}
|
|
165
|
+
namespace ScheduleRule {
|
|
166
|
+
/**
|
|
167
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
168
|
+
*/
|
|
169
|
+
interface Jitter {
|
|
170
|
+
afterMinutes?: number;
|
|
171
|
+
beforeMinutes?: number;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
113
175
|
}
|
|
114
176
|
interface Validation {
|
|
115
177
|
valid: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;CAChC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC7B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,WAAW;YAC1B,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;YAEvB,KAAK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;wBACrB,YAAY,CAAC,EAAE,MAAM,CAAC;wBAEtB,aAAa,CAAC,EAAE,MAAM,CAAC;qBACxB;iBACF;aACF;SACF;QAED,UAAiB,UAAU;YACzB,KAAK,EAAE,OAAO,CAAC;YAEf,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;SAClC;QAED,UAAiB,UAAU,CAAC;YAC1B,UAAiB,KAAK;gBACpB,KAAK,EAAE,MAAM,CAAC;gBAEd,OAAO,EAAE,MAAM,CAAC;aACjB;SACF;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -31,9 +31,12 @@ export declare namespace EventDryRunResponse {
|
|
|
31
31
|
namespace MatchedFlow {
|
|
32
32
|
interface Action {
|
|
33
33
|
continueOnError: boolean;
|
|
34
|
+
flowActionId: string;
|
|
35
|
+
key: string;
|
|
34
36
|
method: string;
|
|
35
37
|
name: string;
|
|
36
|
-
|
|
38
|
+
recordingEnabled: boolean;
|
|
39
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
37
40
|
/**
|
|
38
41
|
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
39
42
|
* ResolvedAction.
|
|
@@ -45,33 +48,46 @@ export declare namespace EventDryRunResponse {
|
|
|
45
48
|
}
|
|
46
49
|
interface Flow {
|
|
47
50
|
id: string;
|
|
51
|
+
archivedAt: string | null;
|
|
48
52
|
blockedAt: string | null;
|
|
49
53
|
consecutiveFailures: number;
|
|
50
54
|
cooldownScope: 'flow' | 'device';
|
|
51
55
|
cooldownSeconds: number | null;
|
|
52
56
|
createdAt: string | null;
|
|
53
57
|
createdBy: string | null;
|
|
58
|
+
delivery: Flow.Delivery | null;
|
|
54
59
|
description: string | null;
|
|
55
60
|
deviceIds: Array<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
63
|
+
* enabled.
|
|
64
|
+
*/
|
|
56
65
|
enabled: boolean;
|
|
57
66
|
healthMonitoringEnabled: boolean;
|
|
58
67
|
lastFailureAt: string | null;
|
|
59
68
|
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
60
69
|
lastTriggeredAt: string | null;
|
|
70
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
61
71
|
name: string;
|
|
62
72
|
notifyOnFailure: boolean;
|
|
63
73
|
notifyOnSuccess: boolean;
|
|
64
74
|
notifyWebhookId: string | null;
|
|
65
75
|
ownerId: string;
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
78
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
79
|
+
*/
|
|
66
80
|
recordingEnabled: boolean;
|
|
81
|
+
recordingPolicy: Flow.RecordingPolicy;
|
|
67
82
|
selfHealingEnabled: boolean;
|
|
68
83
|
selfHealingMaxAttempts: number;
|
|
69
84
|
status: 'healthy' | 'failing' | 'blocked';
|
|
70
85
|
/**
|
|
71
86
|
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
72
87
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
73
|
-
* a whole-token null stays JSON null).
|
|
74
|
-
*
|
|
88
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
89
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
90
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
75
91
|
*/
|
|
76
92
|
templateResolutionVersion: number;
|
|
77
93
|
triggerId: string;
|
|
@@ -81,6 +97,22 @@ export declare namespace EventDryRunResponse {
|
|
|
81
97
|
*/
|
|
82
98
|
userId: string;
|
|
83
99
|
}
|
|
100
|
+
namespace Flow {
|
|
101
|
+
interface Delivery {
|
|
102
|
+
destination: 'one_drive' | 'google_drive';
|
|
103
|
+
folder?: string;
|
|
104
|
+
recording?: Delivery.Recording;
|
|
105
|
+
screenshots?: unknown;
|
|
106
|
+
}
|
|
107
|
+
namespace Delivery {
|
|
108
|
+
interface Recording {
|
|
109
|
+
filename: string;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
interface RecordingPolicy {
|
|
113
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
84
116
|
interface Gates {
|
|
85
117
|
blocked: boolean;
|
|
86
118
|
cooldownActive: boolean | null;
|
|
@@ -100,7 +132,7 @@ export declare namespace EventDryRunResponse {
|
|
|
100
132
|
eventType: string | null;
|
|
101
133
|
name: string;
|
|
102
134
|
ownerId: string;
|
|
103
|
-
scheduleRule:
|
|
135
|
+
scheduleRule: Trigger.ScheduleRule;
|
|
104
136
|
timezone: string | null;
|
|
105
137
|
updatedAt: string | null;
|
|
106
138
|
/**
|
|
@@ -110,6 +142,36 @@ export declare namespace EventDryRunResponse {
|
|
|
110
142
|
conditions?: unknown;
|
|
111
143
|
nextFireTime?: string | null;
|
|
112
144
|
}
|
|
145
|
+
namespace Trigger {
|
|
146
|
+
interface ScheduleRule {
|
|
147
|
+
type: 'once' | 'cron' | 'recurring';
|
|
148
|
+
/**
|
|
149
|
+
* ISO 8601 datetime (for type=once)
|
|
150
|
+
*/
|
|
151
|
+
dateTime?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Cron expression (for type=cron)
|
|
154
|
+
*/
|
|
155
|
+
expression?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
158
|
+
*/
|
|
159
|
+
jitter?: ScheduleRule.Jitter;
|
|
160
|
+
/**
|
|
161
|
+
* RRULE string (for type=recurring)
|
|
162
|
+
*/
|
|
163
|
+
rrule?: string;
|
|
164
|
+
}
|
|
165
|
+
namespace ScheduleRule {
|
|
166
|
+
/**
|
|
167
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
168
|
+
*/
|
|
169
|
+
interface Jitter {
|
|
170
|
+
afterMinutes?: number;
|
|
171
|
+
beforeMinutes?: number;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
113
175
|
}
|
|
114
176
|
interface Validation {
|
|
115
177
|
valid: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAm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OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../../shared.mjs";
|
|
3
|
+
import * as ScreenshotsAPI from "./screenshots.mjs";
|
|
4
|
+
import { ScreenshotRetrieveParams, Screenshots } from "./screenshots.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
+
export declare class Executions extends APIResource {
|
|
8
|
+
screenshots: ScreenshotsAPI.Screenshots;
|
|
9
|
+
/**
|
|
10
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
11
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(executionID: string, options?: RequestOptions): APIPromise<ExecutionRetrieveResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
16
|
+
* `triggerId`, `invocationId` (the client/verify key), `status`, and a `from`/`to`
|
|
17
|
+
* time range, plus free-text `search` and ordering by startedAt, finishedAt, or
|
|
18
|
+
* status.
|
|
19
|
+
*/
|
|
20
|
+
list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Signals the worker to stop the execution between steps and marks it cancelled.
|
|
23
|
+
* Idempotent-ish: already-terminal executions return 409.
|
|
24
|
+
*/
|
|
25
|
+
abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
28
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
29
|
+
* and a `from`/`to` time range.
|
|
30
|
+
*/
|
|
31
|
+
getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
|
|
32
|
+
}
|
|
33
|
+
export interface ExecutionRetrieveResponse {
|
|
34
|
+
data: ExecutionRetrieveResponse.Data;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace ExecutionRetrieveResponse {
|
|
37
|
+
interface Data {
|
|
38
|
+
id: string;
|
|
39
|
+
createdBy: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* OneDrive/Google Drive delivery lifecycle for this run's recording, file, and
|
|
42
|
+
* screenshot uploads, ordered by startedAt. Empty when the flow has no delivery
|
|
43
|
+
* configured.
|
|
44
|
+
*/
|
|
45
|
+
deliveries: Array<Data.Delivery>;
|
|
46
|
+
/**
|
|
47
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
48
|
+
* (event-only) runs.
|
|
49
|
+
*/
|
|
50
|
+
deviceId: string | null;
|
|
51
|
+
error: string | null;
|
|
52
|
+
eventId: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Files produced by files.upload steps, plus files an agent.run step reported on
|
|
55
|
+
* its terminal response (agent-created output or a workflow upload minted during
|
|
56
|
+
* the turn); derived server-side at read time.
|
|
57
|
+
*/
|
|
58
|
+
files: Array<Data.File>;
|
|
59
|
+
finishedAt: string | null;
|
|
60
|
+
flowId: string;
|
|
61
|
+
flowName: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
64
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
65
|
+
* rows.
|
|
66
|
+
*/
|
|
67
|
+
invocationId: string | null;
|
|
68
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
69
|
+
/**
|
|
70
|
+
* Live progress read from step_progress; null for runs started before this
|
|
71
|
+
* feature.
|
|
72
|
+
*/
|
|
73
|
+
progress: Data.Progress | null;
|
|
74
|
+
recordingDeviceId: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
77
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
78
|
+
* the recording failed to start.
|
|
79
|
+
*/
|
|
80
|
+
recordingId: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
83
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
84
|
+
*/
|
|
85
|
+
recordings: Array<Data.Recording>;
|
|
86
|
+
/**
|
|
87
|
+
* Screenshots captured by tasks.run/agent.run steps, ordered by seq. Image bytes
|
|
88
|
+
* are never returned here — fetch a fresh signed URL via GET
|
|
89
|
+
* /executions/{id}/screenshots/{screenshotId}.
|
|
90
|
+
*/
|
|
91
|
+
screenshots: Array<Data.Screenshot>;
|
|
92
|
+
startedAt: string | null;
|
|
93
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
94
|
+
triggerId: string;
|
|
95
|
+
triggerName: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
98
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
99
|
+
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
100
|
+
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
101
|
+
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
102
|
+
* clients must not assume its presence.
|
|
103
|
+
*/
|
|
104
|
+
result?: unknown;
|
|
105
|
+
}
|
|
106
|
+
namespace Data {
|
|
107
|
+
interface Delivery {
|
|
108
|
+
artifact: 'recording' | 'file' | 'screenshot';
|
|
109
|
+
destination: 'one_drive' | 'google_drive';
|
|
110
|
+
errorCode: string | null;
|
|
111
|
+
filename: string;
|
|
112
|
+
finishedAt: string | null;
|
|
113
|
+
folder: string | null;
|
|
114
|
+
startedAt: string | null;
|
|
115
|
+
status: 'waiting' | 'uploading' | 'succeeded' | 'failed' | 'unknown' | 'cancelled';
|
|
116
|
+
stepIndex: number | null;
|
|
117
|
+
webUrl: string | null;
|
|
118
|
+
}
|
|
119
|
+
interface File {
|
|
120
|
+
fileId: string;
|
|
121
|
+
filename: string;
|
|
122
|
+
mimeType: string;
|
|
123
|
+
sizeBytes: number;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Live progress read from step_progress; null for runs started before this
|
|
127
|
+
* feature.
|
|
128
|
+
*/
|
|
129
|
+
interface Progress {
|
|
130
|
+
currentIndex: number | null;
|
|
131
|
+
steps: Array<Progress.Step>;
|
|
132
|
+
total: number;
|
|
133
|
+
}
|
|
134
|
+
namespace Progress {
|
|
135
|
+
interface Step {
|
|
136
|
+
finishedAt: string | null;
|
|
137
|
+
index: number;
|
|
138
|
+
method: string;
|
|
139
|
+
name: string;
|
|
140
|
+
service: string;
|
|
141
|
+
sessionId: string | null;
|
|
142
|
+
startedAt: string | null;
|
|
143
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
interface Recording {
|
|
147
|
+
id: string;
|
|
148
|
+
attempt: number;
|
|
149
|
+
childIndex: number;
|
|
150
|
+
flowActionId: string | null;
|
|
151
|
+
iterationIndex: number;
|
|
152
|
+
lastError: string | null;
|
|
153
|
+
parentIndex: number;
|
|
154
|
+
recordingDeviceId: string | null;
|
|
155
|
+
recordingId: string | null;
|
|
156
|
+
scope: 'flow' | 'step';
|
|
157
|
+
startedAt: string | null;
|
|
158
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
159
|
+
stepIndex: number;
|
|
160
|
+
stoppedAt: string | null;
|
|
161
|
+
}
|
|
162
|
+
interface Screenshot {
|
|
163
|
+
id: string;
|
|
164
|
+
capturedAt: string | null;
|
|
165
|
+
iterationIndex: number;
|
|
166
|
+
mimeType: string;
|
|
167
|
+
seq: number;
|
|
168
|
+
source: 'task' | 'agent';
|
|
169
|
+
stepIndex: number;
|
|
170
|
+
stepName: string;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
export interface ExecutionListResponse {
|
|
175
|
+
items: Array<ExecutionListResponse.Item>;
|
|
176
|
+
pagination: Shared.Pagination;
|
|
177
|
+
}
|
|
178
|
+
export declare namespace ExecutionListResponse {
|
|
179
|
+
interface Item {
|
|
180
|
+
id: string;
|
|
181
|
+
createdBy: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
184
|
+
* (event-only) runs.
|
|
185
|
+
*/
|
|
186
|
+
deviceId: string | null;
|
|
187
|
+
error: string | null;
|
|
188
|
+
eventId: string | null;
|
|
189
|
+
finishedAt: string | null;
|
|
190
|
+
flowId: string;
|
|
191
|
+
flowName: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
194
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
195
|
+
* rows.
|
|
196
|
+
*/
|
|
197
|
+
invocationId: string | null;
|
|
198
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
199
|
+
recordingDeviceId: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
202
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
203
|
+
* the recording failed to start.
|
|
204
|
+
*/
|
|
205
|
+
recordingId: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
208
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
209
|
+
*/
|
|
210
|
+
recordings: Array<Item.Recording>;
|
|
211
|
+
startedAt: string | null;
|
|
212
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
213
|
+
triggerId: string;
|
|
214
|
+
triggerName: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
217
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
218
|
+
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
219
|
+
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
220
|
+
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
221
|
+
* clients must not assume its presence.
|
|
222
|
+
*/
|
|
223
|
+
result?: unknown;
|
|
224
|
+
}
|
|
225
|
+
namespace Item {
|
|
226
|
+
interface Recording {
|
|
227
|
+
id: string;
|
|
228
|
+
attempt: number;
|
|
229
|
+
childIndex: number;
|
|
230
|
+
flowActionId: string | null;
|
|
231
|
+
iterationIndex: number;
|
|
232
|
+
lastError: string | null;
|
|
233
|
+
parentIndex: number;
|
|
234
|
+
recordingDeviceId: string | null;
|
|
235
|
+
recordingId: string | null;
|
|
236
|
+
scope: 'flow' | 'step';
|
|
237
|
+
startedAt: string | null;
|
|
238
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
239
|
+
stepIndex: number;
|
|
240
|
+
stoppedAt: string | null;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
export interface ExecutionAbortResponse {
|
|
245
|
+
data: ExecutionAbortResponse.Data;
|
|
246
|
+
}
|
|
247
|
+
export declare namespace ExecutionAbortResponse {
|
|
248
|
+
interface Data {
|
|
249
|
+
id: string;
|
|
250
|
+
/**
|
|
251
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
252
|
+
* (event-only) runs.
|
|
253
|
+
*/
|
|
254
|
+
deviceId: string | null;
|
|
255
|
+
error: string | null;
|
|
256
|
+
eventId: string | null;
|
|
257
|
+
finishedAt: string | null;
|
|
258
|
+
flowId: string;
|
|
259
|
+
flowName: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
262
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
263
|
+
* rows.
|
|
264
|
+
*/
|
|
265
|
+
invocationId: string | null;
|
|
266
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
267
|
+
recordingDeviceId: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
270
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
271
|
+
* the recording failed to start.
|
|
272
|
+
*/
|
|
273
|
+
recordingId: string | null;
|
|
274
|
+
startedAt: string | null;
|
|
275
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
276
|
+
triggerId: string;
|
|
277
|
+
triggerName: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
280
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
281
|
+
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
282
|
+
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
283
|
+
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
284
|
+
* clients must not assume its presence.
|
|
285
|
+
*/
|
|
286
|
+
result?: unknown;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
export interface ExecutionGetMetricsResponse {
|
|
290
|
+
data: ExecutionGetMetricsResponse.Data;
|
|
291
|
+
}
|
|
292
|
+
export declare namespace ExecutionGetMetricsResponse {
|
|
293
|
+
interface Data {
|
|
294
|
+
avgDurationMs: number | null;
|
|
295
|
+
byStatus: Data.ByStatus;
|
|
296
|
+
lastExecutionAt: string | null;
|
|
297
|
+
total: number;
|
|
298
|
+
}
|
|
299
|
+
namespace Data {
|
|
300
|
+
interface ByStatus {
|
|
301
|
+
cancelled: number;
|
|
302
|
+
failed: number;
|
|
303
|
+
invalid: number;
|
|
304
|
+
pending: number;
|
|
305
|
+
running: number;
|
|
306
|
+
skipped: number;
|
|
307
|
+
success: number;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
export interface ExecutionListParams {
|
|
312
|
+
flowId?: string;
|
|
313
|
+
from?: string | null;
|
|
314
|
+
invocationId?: string;
|
|
315
|
+
orderBy?: 'startedAt' | 'finishedAt' | 'status';
|
|
316
|
+
orderByDirection?: 'asc' | 'desc';
|
|
317
|
+
page?: number;
|
|
318
|
+
pageSize?: number;
|
|
319
|
+
search?: string;
|
|
320
|
+
status?: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid';
|
|
321
|
+
to?: string | null;
|
|
322
|
+
triggerId?: string;
|
|
323
|
+
}
|
|
324
|
+
export interface ExecutionGetMetricsParams {
|
|
325
|
+
flowId?: string;
|
|
326
|
+
from?: string | null;
|
|
327
|
+
to?: string | null;
|
|
328
|
+
triggerId?: string;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace Executions {
|
|
331
|
+
export { type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
|
|
332
|
+
export { Screenshots as Screenshots, type ScreenshotRetrieveParams as ScreenshotRetrieveParams };
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=executions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,0BAAsB;AACtE,OA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