@mobilerun/sdk 5.6.0 → 6.0.1
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 +33 -0
- package/README.md +0 -9
- package/client.d.mts +8 -26
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -26
- package/client.d.ts.map +1 -1
- package/client.js +0 -18
- package/client.js.map +1 -1
- package/client.mjs +0 -18
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +30 -20
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +30 -20
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -10
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -10
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +19 -0
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +19 -0
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/connect/proxies.d.mts +8 -6
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +8 -6
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +6 -4
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +6 -4
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +25 -10
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +25 -10
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +12 -10
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +12 -10
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +60 -22
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +60 -22
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +25 -16
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +25 -16
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +3 -3
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +3 -3
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +28 -7
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +28 -7
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/files.d.mts +3 -3
- package/resources/files.d.ts +3 -3
- package/resources/files.js +3 -3
- package/resources/files.mjs +3 -3
- package/resources/index.d.mts +4 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -5
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +4 -10
- package/resources/mailboxes/connections.d.mts.map +1 -1
- package/resources/mailboxes/connections.d.ts +4 -10
- package/resources/mailboxes/connections.d.ts.map +1 -1
- package/resources/mailboxes/connections.js +3 -4
- package/resources/mailboxes/connections.js.map +1 -1
- package/resources/mailboxes/connections.mjs +3 -4
- package/resources/mailboxes/connections.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +5 -4
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +5 -4
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +5 -4
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +5 -4
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/messages.d.mts +12 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +12 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.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.map +1 -1
- package/resources/numbers/messages.d.mts +23 -14
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +23 -14
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +9 -7
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +9 -7
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +136 -32
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +136 -32
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +1 -12
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +1 -12
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +42 -138
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +42 -138
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +7 -43
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +7 -43
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +6 -9
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +6 -9
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +6 -2
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +6 -2
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +37 -31
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +37 -31
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js +2 -2
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs +2 -2
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +90 -34
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +90 -34
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +15 -14
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +15 -14
- 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 +1 -1
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +1 -1
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +10 -13
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +10 -13
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +6 -8
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +6 -8
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +2 -2
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +2 -2
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +2 -106
- package/src/resources/apps.ts +30 -20
- package/src/resources/assistant/conversations.ts +26 -0
- package/src/resources/connect/proxies.ts +8 -6
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +30 -10
- package/src/resources/devices/devices.ts +92 -37
- package/src/resources/devices/index.ts +12 -9
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +44 -6
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/files.ts +3 -3
- package/src/resources/index.ts +1 -44
- package/src/resources/mailboxes/connections.ts +4 -11
- package/src/resources/mailboxes/mailboxes.ts +5 -4
- package/src/resources/messages/messages.ts +16 -0
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +0 -1
- package/src/resources/numbers/messages.ts +27 -15
- package/src/resources/numbers/numbers.ts +155 -40
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +46 -138
- package/src/resources/webhooks/index.ts +0 -1
- package/src/resources/webhooks/webhooks.ts +6 -60
- package/src/resources/workflows/events.ts +7 -2
- package/src/resources/workflows/executions/executions.ts +39 -31
- package/src/resources/workflows/flows/flows.ts +104 -34
- package/src/resources/workflows/flows/index.ts +1 -0
- package/src/resources/workflows/index.ts +1 -0
- package/src/resources/workflows/triggers.ts +10 -13
- package/src/resources/workflows/workflows.ts +2 -0
- 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/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/devices/media-sessions.d.mts +0 -96
- package/resources/devices/media-sessions.d.mts.map +0 -1
- package/resources/devices/media-sessions.d.ts +0 -96
- package/resources/devices/media-sessions.d.ts.map +0 -1
- package/resources/devices/media-sessions.js +0 -50
- package/resources/devices/media-sessions.js.map +0 -1
- package/resources/devices/media-sessions.mjs +0 -46
- package/resources/devices/media-sessions.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -112
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -112
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -72
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -68
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -140
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -140
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/devices/media-sessions.ts +0 -168
- package/src/resources/notifications.ts +0 -155
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -993
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -19,8 +19,8 @@ export declare class Executions extends APIResource {
|
|
|
19
19
|
*/
|
|
20
20
|
list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
22
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
23
|
+
* already-terminal executions return 409.
|
|
24
24
|
*/
|
|
25
25
|
abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
|
|
26
26
|
/**
|
|
@@ -36,6 +36,10 @@ export interface ExecutionRetrieveResponse {
|
|
|
36
36
|
export declare namespace ExecutionRetrieveResponse {
|
|
37
37
|
interface Data {
|
|
38
38
|
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* Current agent assignment of the owner-scoped parent flow; null when unassigned.
|
|
41
|
+
*/
|
|
42
|
+
agentId: string | null;
|
|
39
43
|
createdBy: string | null;
|
|
40
44
|
/**
|
|
41
45
|
* OneDrive/Google Drive delivery lifecycle for this run's recording, file, and
|
|
@@ -67,15 +71,14 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
67
71
|
invocationId: string | null;
|
|
68
72
|
kind: 'live' | 'dry_run' | 'verification';
|
|
69
73
|
/**
|
|
70
|
-
* Live progress
|
|
71
|
-
* feature.
|
|
74
|
+
* Live progress; null for runs started before this feature.
|
|
72
75
|
*/
|
|
73
76
|
progress: Data.Progress | null;
|
|
74
77
|
recordingDeviceId: string | null;
|
|
75
78
|
/**
|
|
76
|
-
* Device
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
80
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
81
|
+
* start.
|
|
79
82
|
*/
|
|
80
83
|
recordingId: string | null;
|
|
81
84
|
/**
|
|
@@ -84,8 +87,9 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
84
87
|
*/
|
|
85
88
|
recordings: Array<Data.Recording>;
|
|
86
89
|
/**
|
|
87
|
-
* Screenshots captured by tasks.run/agent.run steps
|
|
88
|
-
*
|
|
90
|
+
* Screenshots captured by tasks.run/agent.run steps and saved by scripts into the
|
|
91
|
+
* flow screenshots recording (source recording), ordered by seq. Image bytes are
|
|
92
|
+
* never returned here — fetch a fresh signed URL via GET
|
|
89
93
|
* /executions/{id}/screenshots/{screenshotId}.
|
|
90
94
|
*/
|
|
91
95
|
screenshots: Array<Data.Screenshot>;
|
|
@@ -96,17 +100,16 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
96
100
|
/**
|
|
97
101
|
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
98
102
|
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
99
|
-
* step that opted into a verdict — null otherwise.
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* clients must not assume its presence.
|
|
103
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
104
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
105
|
+
* absent on older executions, so clients must not assume its presence.
|
|
103
106
|
*/
|
|
104
107
|
result?: unknown;
|
|
105
108
|
}
|
|
106
109
|
namespace Data {
|
|
107
110
|
interface Delivery {
|
|
108
111
|
artifact: 'recording' | 'file' | 'screenshot';
|
|
109
|
-
destination: 'one_drive' | 'google_drive';
|
|
112
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
110
113
|
errorCode: string | null;
|
|
111
114
|
filename: string;
|
|
112
115
|
finishedAt: string | null;
|
|
@@ -123,8 +126,7 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
123
126
|
sizeBytes: number;
|
|
124
127
|
}
|
|
125
128
|
/**
|
|
126
|
-
* Live progress
|
|
127
|
-
* feature.
|
|
129
|
+
* Live progress; null for runs started before this feature.
|
|
128
130
|
*/
|
|
129
131
|
interface Progress {
|
|
130
132
|
currentIndex: number | null;
|
|
@@ -141,6 +143,12 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
141
143
|
sessionId: string | null;
|
|
142
144
|
startedAt: string | null;
|
|
143
145
|
status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
|
|
146
|
+
/**
|
|
147
|
+
* Zero-based retry attempt of the execution job during which this step last ran (0
|
|
148
|
+
* = initial attempt). Not a per-step retry counter; may undercount after crash
|
|
149
|
+
* recovery.
|
|
150
|
+
*/
|
|
151
|
+
attempt?: number;
|
|
144
152
|
}
|
|
145
153
|
}
|
|
146
154
|
interface Recording {
|
|
@@ -165,7 +173,7 @@ export declare namespace ExecutionRetrieveResponse {
|
|
|
165
173
|
iterationIndex: number;
|
|
166
174
|
mimeType: string;
|
|
167
175
|
seq: number;
|
|
168
|
-
source: 'task' | 'agent';
|
|
176
|
+
source: 'task' | 'agent' | 'recording';
|
|
169
177
|
stepIndex: number;
|
|
170
178
|
stepName: string;
|
|
171
179
|
}
|
|
@@ -198,9 +206,9 @@ export declare namespace ExecutionListResponse {
|
|
|
198
206
|
kind: 'live' | 'dry_run' | 'verification';
|
|
199
207
|
recordingDeviceId: string | null;
|
|
200
208
|
/**
|
|
201
|
-
* Device
|
|
202
|
-
*
|
|
203
|
-
*
|
|
209
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
210
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
211
|
+
* start.
|
|
204
212
|
*/
|
|
205
213
|
recordingId: string | null;
|
|
206
214
|
/**
|
|
@@ -215,10 +223,9 @@ export declare namespace ExecutionListResponse {
|
|
|
215
223
|
/**
|
|
216
224
|
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
217
225
|
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
218
|
-
* step that opted into a verdict — null otherwise.
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
* clients must not assume its presence.
|
|
226
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
227
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
228
|
+
* absent on older executions, so clients must not assume its presence.
|
|
222
229
|
*/
|
|
223
230
|
result?: unknown;
|
|
224
231
|
}
|
|
@@ -266,9 +273,9 @@ export declare namespace ExecutionAbortResponse {
|
|
|
266
273
|
kind: 'live' | 'dry_run' | 'verification';
|
|
267
274
|
recordingDeviceId: string | null;
|
|
268
275
|
/**
|
|
269
|
-
* Device
|
|
270
|
-
*
|
|
271
|
-
*
|
|
276
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
277
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
278
|
+
* start.
|
|
272
279
|
*/
|
|
273
280
|
recordingId: string | null;
|
|
274
281
|
startedAt: string | null;
|
|
@@ -278,10 +285,9 @@ export declare namespace ExecutionAbortResponse {
|
|
|
278
285
|
/**
|
|
279
286
|
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
280
287
|
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
281
|
-
* step that opted into a verdict — null otherwise.
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
* clients must not assume its presence.
|
|
288
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
289
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
290
|
+
* absent on older executions, so clients must not assume its presence.
|
|
285
291
|
*/
|
|
286
292
|
result?: unknown;
|
|
287
293
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["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EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CAClG"}
|
|
@@ -29,8 +29,8 @@ class Executions extends resource_1.APIResource {
|
|
|
29
29
|
return this._client.get('/executions', { query, ...options });
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
33
|
+
* already-terminal executions return 409.
|
|
34
34
|
*/
|
|
35
35
|
abort(executionID, options) {
|
|
36
36
|
return this._client.post((0, path_1.path) `/executions/${executionID}/abort`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAAsE;AAGtE,0DAAoD;AAEpD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA3CD,gCA2CC;
|
|
1
|
+
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAAsE;AAGtE,0DAAoD;AAEpD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA3CD,gCA2CC;AAucD,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -25,8 +25,8 @@ export class Executions extends APIResource {
|
|
|
25
25
|
return this._client.get('/executions', { query, ...options });
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
29
|
+
* already-terminal executions return 409.
|
|
30
30
|
*/
|
|
31
31
|
abort(executionID, options) {
|
|
32
32
|
return this._client.post(path `/executions/${executionID}/abort`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAA4B,WAAW,EAAE,0BAAsB;AAGtE,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAA4B,WAAW,EAAE,0BAAsB;AAGtE,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AAucD,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -30,10 +30,11 @@ export declare class Flows extends APIResource {
|
|
|
30
30
|
*/
|
|
31
31
|
update(flowID: string, body?: FlowUpdateParams | null | undefined, options?: RequestOptions): APIPromise<FlowUpdateResponse>;
|
|
32
32
|
/**
|
|
33
|
-
* Return a paginated list of flows. Supports filtering by `
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* Return a paginated list of flows. Supports filtering by `agentId` (UUID or
|
|
34
|
+
* `unassigned`; omit for all buckets), `triggerId`, `enabled`, one or more health
|
|
35
|
+
* `status` values (healthy, failing, blocked), `mine` (flows created by the
|
|
36
|
+
* calling actor), `createdBy` (flows created by a given actor id — mutually
|
|
37
|
+
* exclusive with `mine`), plus free-text `search` and ordering.
|
|
37
38
|
*/
|
|
38
39
|
list(query?: FlowListParams | null | undefined, options?: RequestOptions): APIPromise<FlowListResponse>;
|
|
39
40
|
/**
|
|
@@ -48,12 +49,12 @@ export declare class Flows extends APIResource {
|
|
|
48
49
|
*/
|
|
49
50
|
activate(flowID: string, body: FlowActivateParams, options?: RequestOptions): APIPromise<FlowActivateResponse>;
|
|
50
51
|
/**
|
|
51
|
-
* Returns
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
52
|
+
* Returns the environment routine limit and remaining capacity for this owner and
|
|
53
|
+
* agent bucket, counting enabled and disabled non-deleted flows. Omit agentId (or
|
|
54
|
+
* use unassigned) for the unassigned bucket. This is advisory; create and clone
|
|
55
|
+
* enforce admission under a bucket lock.
|
|
55
56
|
*/
|
|
56
|
-
capacity(options?: RequestOptions): APIPromise<FlowCapacityResponse>;
|
|
57
|
+
capacity(query?: FlowCapacityParams | null | undefined, options?: RequestOptions): APIPromise<FlowCapacityResponse>;
|
|
57
58
|
/**
|
|
58
59
|
* Create a copy of an existing flow, including its actions and settings. The
|
|
59
60
|
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
@@ -68,8 +69,8 @@ export declare class Flows extends APIResource {
|
|
|
68
69
|
* Return the recording/delivery readiness for a flow (recording mode, whether
|
|
69
70
|
* delivery can include the recording, whether a files.upload action exists, the
|
|
70
71
|
* first direct OneDrive/Google Drive upload step if any) plus, per destination,
|
|
71
|
-
* whether the flow owner has an active
|
|
72
|
-
*
|
|
72
|
+
* whether the flow owner has an active connection. Returns 404 if the flow does
|
|
73
|
+
* not exist.
|
|
73
74
|
*/
|
|
74
75
|
deliveryOptions(flowID: string, options?: RequestOptions): APIPromise<FlowDeliveryOptionsResponse>;
|
|
75
76
|
/**
|
|
@@ -118,8 +119,8 @@ export declare class Flows extends APIResource {
|
|
|
118
119
|
*/
|
|
119
120
|
validate(body: FlowValidateParams, options?: RequestOptions): APIPromise<FlowValidateResponse>;
|
|
120
121
|
/**
|
|
121
|
-
* Run a bound, deduplicated **verification** of this flow on exactly one device
|
|
122
|
-
*
|
|
122
|
+
* Run a bound, deduplicated **verification** of this flow on exactly one device as
|
|
123
|
+
* a real run.
|
|
123
124
|
*
|
|
124
125
|
* Unlike a normal trigger firing, verification:
|
|
125
126
|
*
|
|
@@ -146,6 +147,7 @@ export interface FlowCreateResponse {
|
|
|
146
147
|
export declare namespace FlowCreateResponse {
|
|
147
148
|
interface Data {
|
|
148
149
|
id: string;
|
|
150
|
+
agentId: string | null;
|
|
149
151
|
archivedAt: string | null;
|
|
150
152
|
blockedAt: string | null;
|
|
151
153
|
consecutiveFailures: number;
|
|
@@ -181,7 +183,7 @@ export declare namespace FlowCreateResponse {
|
|
|
181
183
|
selfHealingMaxAttempts: number;
|
|
182
184
|
status: 'healthy' | 'failing' | 'blocked';
|
|
183
185
|
/**
|
|
184
|
-
* Template-resolver semantics this flow runs under
|
|
186
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
185
187
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
186
188
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
187
189
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -197,7 +199,10 @@ export declare namespace FlowCreateResponse {
|
|
|
197
199
|
}
|
|
198
200
|
namespace Data {
|
|
199
201
|
interface Delivery {
|
|
200
|
-
destination: 'one_drive' | 'google_drive';
|
|
202
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
203
|
+
/**
|
|
204
|
+
* not allowed when destination is mobilerun
|
|
205
|
+
*/
|
|
201
206
|
folder?: string;
|
|
202
207
|
recording?: Delivery.Recording;
|
|
203
208
|
screenshots?: unknown;
|
|
@@ -218,6 +223,7 @@ export interface FlowRetrieveResponse {
|
|
|
218
223
|
export declare namespace FlowRetrieveResponse {
|
|
219
224
|
interface Data {
|
|
220
225
|
id: string;
|
|
226
|
+
agentId: string | null;
|
|
221
227
|
archivedAt: string | null;
|
|
222
228
|
blockedAt: string | null;
|
|
223
229
|
consecutiveFailures: number;
|
|
@@ -253,7 +259,7 @@ export declare namespace FlowRetrieveResponse {
|
|
|
253
259
|
selfHealingMaxAttempts: number;
|
|
254
260
|
status: 'healthy' | 'failing' | 'blocked';
|
|
255
261
|
/**
|
|
256
|
-
* Template-resolver semantics this flow runs under
|
|
262
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
257
263
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
258
264
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
259
265
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -269,7 +275,10 @@ export declare namespace FlowRetrieveResponse {
|
|
|
269
275
|
}
|
|
270
276
|
namespace Data {
|
|
271
277
|
interface Delivery {
|
|
272
|
-
destination: 'one_drive' | 'google_drive';
|
|
278
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
279
|
+
/**
|
|
280
|
+
* not allowed when destination is mobilerun
|
|
281
|
+
*/
|
|
273
282
|
folder?: string;
|
|
274
283
|
recording?: Delivery.Recording;
|
|
275
284
|
screenshots?: unknown;
|
|
@@ -290,6 +299,7 @@ export interface FlowUpdateResponse {
|
|
|
290
299
|
export declare namespace FlowUpdateResponse {
|
|
291
300
|
interface Data {
|
|
292
301
|
id: string;
|
|
302
|
+
agentId: string | null;
|
|
293
303
|
archivedAt: string | null;
|
|
294
304
|
blockedAt: string | null;
|
|
295
305
|
consecutiveFailures: number;
|
|
@@ -325,7 +335,7 @@ export declare namespace FlowUpdateResponse {
|
|
|
325
335
|
selfHealingMaxAttempts: number;
|
|
326
336
|
status: 'healthy' | 'failing' | 'blocked';
|
|
327
337
|
/**
|
|
328
|
-
* Template-resolver semantics this flow runs under
|
|
338
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
329
339
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
330
340
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
331
341
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -341,7 +351,10 @@ export declare namespace FlowUpdateResponse {
|
|
|
341
351
|
}
|
|
342
352
|
namespace Data {
|
|
343
353
|
interface Delivery {
|
|
344
|
-
destination: 'one_drive' | 'google_drive';
|
|
354
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
355
|
+
/**
|
|
356
|
+
* not allowed when destination is mobilerun
|
|
357
|
+
*/
|
|
345
358
|
folder?: string;
|
|
346
359
|
recording?: Delivery.Recording;
|
|
347
360
|
screenshots?: unknown;
|
|
@@ -363,6 +376,7 @@ export interface FlowListResponse {
|
|
|
363
376
|
export declare namespace FlowListResponse {
|
|
364
377
|
interface Item {
|
|
365
378
|
id: string;
|
|
379
|
+
agentId: string | null;
|
|
366
380
|
archivedAt: string | null;
|
|
367
381
|
blockedAt: string | null;
|
|
368
382
|
consecutiveFailures: number;
|
|
@@ -398,7 +412,7 @@ export declare namespace FlowListResponse {
|
|
|
398
412
|
selfHealingMaxAttempts: number;
|
|
399
413
|
status: 'healthy' | 'failing' | 'blocked';
|
|
400
414
|
/**
|
|
401
|
-
* Template-resolver semantics this flow runs under
|
|
415
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
402
416
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
403
417
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
404
418
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -414,7 +428,10 @@ export declare namespace FlowListResponse {
|
|
|
414
428
|
}
|
|
415
429
|
namespace Item {
|
|
416
430
|
interface Delivery {
|
|
417
|
-
destination: 'one_drive' | 'google_drive';
|
|
431
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
432
|
+
/**
|
|
433
|
+
* not allowed when destination is mobilerun
|
|
434
|
+
*/
|
|
418
435
|
folder?: string;
|
|
419
436
|
recording?: Delivery.Recording;
|
|
420
437
|
screenshots?: unknown;
|
|
@@ -438,6 +455,7 @@ export interface FlowActivateResponse {
|
|
|
438
455
|
export declare namespace FlowActivateResponse {
|
|
439
456
|
interface Data {
|
|
440
457
|
id: string;
|
|
458
|
+
agentId: string | null;
|
|
441
459
|
archivedAt: string | null;
|
|
442
460
|
blockedAt: string | null;
|
|
443
461
|
consecutiveFailures: number;
|
|
@@ -473,7 +491,7 @@ export declare namespace FlowActivateResponse {
|
|
|
473
491
|
selfHealingMaxAttempts: number;
|
|
474
492
|
status: 'healthy' | 'failing' | 'blocked';
|
|
475
493
|
/**
|
|
476
|
-
* Template-resolver semantics this flow runs under
|
|
494
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
477
495
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
478
496
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
479
497
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -489,7 +507,10 @@ export declare namespace FlowActivateResponse {
|
|
|
489
507
|
}
|
|
490
508
|
namespace Data {
|
|
491
509
|
interface Delivery {
|
|
492
|
-
destination: 'one_drive' | 'google_drive';
|
|
510
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
511
|
+
/**
|
|
512
|
+
* not allowed when destination is mobilerun
|
|
513
|
+
*/
|
|
493
514
|
folder?: string;
|
|
494
515
|
recording?: Delivery.Recording;
|
|
495
516
|
screenshots?: unknown;
|
|
@@ -511,7 +532,7 @@ export declare namespace FlowCapacityResponse {
|
|
|
511
532
|
interface Data {
|
|
512
533
|
included: number;
|
|
513
534
|
remaining: number;
|
|
514
|
-
status: 'available' | 'exhausted'
|
|
535
|
+
status: 'available' | 'exhausted';
|
|
515
536
|
}
|
|
516
537
|
}
|
|
517
538
|
export interface FlowCloneResponse {
|
|
@@ -520,6 +541,7 @@ export interface FlowCloneResponse {
|
|
|
520
541
|
export declare namespace FlowCloneResponse {
|
|
521
542
|
interface Data {
|
|
522
543
|
id: string;
|
|
544
|
+
agentId: string | null;
|
|
523
545
|
archivedAt: string | null;
|
|
524
546
|
blockedAt: string | null;
|
|
525
547
|
consecutiveFailures: number;
|
|
@@ -555,7 +577,7 @@ export declare namespace FlowCloneResponse {
|
|
|
555
577
|
selfHealingMaxAttempts: number;
|
|
556
578
|
status: 'healthy' | 'failing' | 'blocked';
|
|
557
579
|
/**
|
|
558
|
-
* Template-resolver semantics this flow runs under
|
|
580
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
559
581
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
560
582
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
561
583
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -571,7 +593,10 @@ export declare namespace FlowCloneResponse {
|
|
|
571
593
|
}
|
|
572
594
|
namespace Data {
|
|
573
595
|
interface Delivery {
|
|
574
|
-
destination: 'one_drive' | 'google_drive';
|
|
596
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
597
|
+
/**
|
|
598
|
+
* not allowed when destination is mobilerun
|
|
599
|
+
*/
|
|
575
600
|
folder?: string;
|
|
576
601
|
recording?: Delivery.Recording;
|
|
577
602
|
screenshots?: unknown;
|
|
@@ -593,7 +618,7 @@ export declare namespace FlowDeliveryOptionsResponse {
|
|
|
593
618
|
interface Data {
|
|
594
619
|
canDeliverRecording: boolean;
|
|
595
620
|
/**
|
|
596
|
-
* Delivery destinations in
|
|
621
|
+
* Delivery destinations in their canonical order.
|
|
597
622
|
*/
|
|
598
623
|
destinations: Array<Data.Destination>;
|
|
599
624
|
directUploadStep: Data.DirectUploadStep | null;
|
|
@@ -605,7 +630,7 @@ export declare namespace FlowDeliveryOptionsResponse {
|
|
|
605
630
|
connection: 'connected' | 'not_connected' | 'expired' | 'unknown';
|
|
606
631
|
connectKey: string;
|
|
607
632
|
iconUrl: string | null;
|
|
608
|
-
key: 'one_drive' | 'google_drive';
|
|
633
|
+
key: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
609
634
|
label: string;
|
|
610
635
|
}
|
|
611
636
|
interface DirectUploadStep {
|
|
@@ -748,6 +773,7 @@ export interface FlowUnblockResponse {
|
|
|
748
773
|
export declare namespace FlowUnblockResponse {
|
|
749
774
|
interface Data {
|
|
750
775
|
id: string;
|
|
776
|
+
agentId: string | null;
|
|
751
777
|
archivedAt: string | null;
|
|
752
778
|
blockedAt: string | null;
|
|
753
779
|
consecutiveFailures: number;
|
|
@@ -783,7 +809,7 @@ export declare namespace FlowUnblockResponse {
|
|
|
783
809
|
selfHealingMaxAttempts: number;
|
|
784
810
|
status: 'healthy' | 'failing' | 'blocked';
|
|
785
811
|
/**
|
|
786
|
-
* Template-resolver semantics this flow runs under
|
|
812
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
787
813
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
788
814
|
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
789
815
|
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
@@ -799,7 +825,10 @@ export declare namespace FlowUnblockResponse {
|
|
|
799
825
|
}
|
|
800
826
|
namespace Data {
|
|
801
827
|
interface Delivery {
|
|
802
|
-
destination: 'one_drive' | 'google_drive';
|
|
828
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
829
|
+
/**
|
|
830
|
+
* not allowed when destination is mobilerun
|
|
831
|
+
*/
|
|
803
832
|
folder?: string;
|
|
804
833
|
recording?: Delivery.Recording;
|
|
805
834
|
screenshots?: unknown;
|
|
@@ -930,7 +959,10 @@ export declare namespace FlowCreateParams {
|
|
|
930
959
|
}
|
|
931
960
|
}
|
|
932
961
|
interface Delivery {
|
|
933
|
-
destination: 'one_drive' | 'google_drive';
|
|
962
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
963
|
+
/**
|
|
964
|
+
* not allowed when destination is mobilerun
|
|
965
|
+
*/
|
|
934
966
|
folder?: string;
|
|
935
967
|
recording?: Delivery.Recording;
|
|
936
968
|
screenshots?: unknown;
|
|
@@ -972,7 +1004,10 @@ export interface FlowUpdateParams {
|
|
|
972
1004
|
}
|
|
973
1005
|
export declare namespace FlowUpdateParams {
|
|
974
1006
|
interface Delivery {
|
|
975
|
-
destination: 'one_drive' | 'google_drive';
|
|
1007
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
1008
|
+
/**
|
|
1009
|
+
* not allowed when destination is mobilerun
|
|
1010
|
+
*/
|
|
976
1011
|
folder?: string;
|
|
977
1012
|
recording?: Delivery.Recording;
|
|
978
1013
|
screenshots?: unknown;
|
|
@@ -987,6 +1022,11 @@ export declare namespace FlowUpdateParams {
|
|
|
987
1022
|
}
|
|
988
1023
|
}
|
|
989
1024
|
export interface FlowListParams {
|
|
1025
|
+
/**
|
|
1026
|
+
* Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
|
|
1027
|
+
* capacity for unassigned.
|
|
1028
|
+
*/
|
|
1029
|
+
agentId?: (string & {}) | 'unassigned';
|
|
990
1030
|
createdBy?: string;
|
|
991
1031
|
/**
|
|
992
1032
|
* Only include flows with this enabled state.
|
|
@@ -1007,6 +1047,13 @@ export interface FlowListParams {
|
|
|
1007
1047
|
export interface FlowActivateParams {
|
|
1008
1048
|
verificationExecutionId: string;
|
|
1009
1049
|
}
|
|
1050
|
+
export interface FlowCapacityParams {
|
|
1051
|
+
/**
|
|
1052
|
+
* Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
|
|
1053
|
+
* capacity for unassigned.
|
|
1054
|
+
*/
|
|
1055
|
+
agentId?: (string & {}) | 'unassigned';
|
|
1056
|
+
}
|
|
1010
1057
|
export interface FlowCloneParams {
|
|
1011
1058
|
deviceIds?: Array<string>;
|
|
1012
1059
|
name?: string;
|
|
@@ -1017,6 +1064,12 @@ export interface FlowDryRunParams {
|
|
|
1017
1064
|
};
|
|
1018
1065
|
}
|
|
1019
1066
|
export interface FlowRunParams {
|
|
1067
|
+
/**
|
|
1068
|
+
* Record and keep this run's scripts.run screenshots
|
|
1069
|
+
* (device.screenshot(save=True)) even without flow delivery. Used for a one-off
|
|
1070
|
+
* proof run.
|
|
1071
|
+
*/
|
|
1072
|
+
captureScreenshots?: boolean;
|
|
1020
1073
|
payload?: {
|
|
1021
1074
|
[key: string]: unknown;
|
|
1022
1075
|
};
|
|
@@ -1123,7 +1176,10 @@ export declare namespace FlowValidateParams {
|
|
|
1123
1176
|
}
|
|
1124
1177
|
}
|
|
1125
1178
|
interface Delivery {
|
|
1126
|
-
destination: 'one_drive' | 'google_drive';
|
|
1179
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
1180
|
+
/**
|
|
1181
|
+
* not allowed when destination is mobilerun
|
|
1182
|
+
*/
|
|
1127
1183
|
folder?: string;
|
|
1128
1184
|
recording?: Delivery.Recording;
|
|
1129
1185
|
screenshots?: unknown;
|
|
@@ -1155,7 +1211,7 @@ export interface FlowVerifyParams {
|
|
|
1155
1211
|
};
|
|
1156
1212
|
}
|
|
1157
1213
|
export declare namespace Flows {
|
|
1158
|
-
export { type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
1214
|
+
export { type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCapacityParams as FlowCapacityParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
1159
1215
|
export { Actions as Actions, type ActionListResponse as ActionListResponse, type ActionAddResponse as ActionAddResponse, type ActionRemoveResponse as ActionRemoveResponse, type ActionReplaceResponse as ActionReplaceResponse, type ActionAddParams as ActionAddParams, type ActionRemoveParams as ActionRemoveParams, type ActionReplaceParams as ActionReplaceParams, };
|
|
1160
1216
|
}
|
|
1161
1217
|
//# sourceMappingURL=flows.d.mts.map
|