@mobilerun/sdk 5.3.0 → 5.5.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 +16 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +10 -2
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +10 -2
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +3 -1
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +3 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +26 -4
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +26 -4
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +12 -4
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +12 -4
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +36 -20
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +36 -20
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +10 -2
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +10 -2
- 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/devices.d.mts +29 -4
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +29 -4
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +7 -4
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +7 -4
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -0
- 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 +11 -0
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +11 -0
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +173 -0
- package/resources/devices/traffic-sessions.d.mts.map +1 -0
- package/resources/devices/traffic-sessions.d.ts +173 -0
- package/resources/devices/traffic-sessions.d.ts.map +1 -0
- package/resources/devices/traffic-sessions.js +43 -0
- package/resources/devices/traffic-sessions.js.map +1 -0
- package/resources/devices/traffic-sessions.mjs +39 -0
- package/resources/devices/traffic-sessions.mjs.map +1 -0
- package/resources/files.d.mts +72 -0
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +72 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/index.d.mts +3 -0
- package/resources/mailboxes/index.d.mts.map +1 -0
- package/resources/mailboxes/index.d.ts +3 -0
- package/resources/mailboxes/index.d.ts.map +1 -0
- package/resources/{esims → mailboxes}/index.js +3 -3
- package/resources/mailboxes/index.js.map +1 -0
- package/resources/{esims → mailboxes}/index.mjs +1 -1
- package/resources/mailboxes/index.mjs.map +1 -0
- package/resources/mailboxes/mailboxes.d.mts +374 -0
- package/resources/mailboxes/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes/mailboxes.d.ts +374 -0
- package/resources/mailboxes/mailboxes.d.ts.map +1 -0
- package/resources/mailboxes/mailboxes.js +139 -0
- package/resources/mailboxes/mailboxes.js.map +1 -0
- package/resources/mailboxes/mailboxes.mjs +134 -0
- package/resources/mailboxes/mailboxes.mjs.map +1 -0
- package/resources/mailboxes/messages.d.mts +82 -0
- package/resources/mailboxes/messages.d.mts.map +1 -0
- package/resources/mailboxes/messages.d.ts +82 -0
- package/resources/mailboxes/messages.d.ts.map +1 -0
- package/resources/mailboxes/messages.js +39 -0
- package/resources/mailboxes/messages.js.map +1 -0
- package/resources/mailboxes/messages.mjs +35 -0
- package/resources/mailboxes/messages.mjs.map +1 -0
- package/resources/mailboxes.d.mts +2 -0
- package/resources/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes.d.ts +2 -0
- package/resources/mailboxes.d.ts.map +1 -0
- package/resources/{esims.js → mailboxes.js} +2 -2
- package/resources/mailboxes.js.map +1 -0
- package/resources/{esims.mjs → mailboxes.mjs} +2 -2
- package/resources/mailboxes.mjs.map +1 -0
- 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/messages.d.mts +2 -4
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +2 -4
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +2 -4
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +2 -4
- package/resources/messages/messages.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/numbers.d.mts +48 -35
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +48 -35
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +23 -29
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +23 -29
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +80 -32
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +80 -32
- 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/webhooks.d.mts +1 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +1 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +18 -0
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +18 -0
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions.d.mts +84 -5
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +84 -5
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +3 -2
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +3 -2
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +19 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +19 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/flows.d.mts +142 -2
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +142 -2
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +11 -1
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +11 -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 +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 +17 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +17 -3
- package/resources/workflows/triggers.d.ts.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 +40 -40
- package/src/resources/apps.ts +11 -2
- package/src/resources/assistant/conversations.ts +38 -4
- package/src/resources/connect/proxies.ts +49 -21
- package/src/resources/devices/apps.ts +41 -17
- package/src/resources/devices/devices.ts +58 -4
- package/src/resources/devices/index.ts +11 -0
- package/src/resources/devices/keyboard.ts +10 -3
- package/src/resources/devices/recordings.ts +12 -0
- package/src/resources/devices/traffic-sessions.ts +299 -0
- package/src/resources/files.ts +114 -0
- package/src/resources/index.ts +19 -19
- package/src/resources/mailboxes/index.ts +26 -0
- package/src/resources/mailboxes/mailboxes.ts +637 -0
- package/src/resources/mailboxes/messages.ts +134 -0
- package/src/resources/{esims.ts → mailboxes.ts} +1 -1
- package/src/resources/messages/conversations.ts +4 -15
- package/src/resources/messages/messages.ts +2 -4
- package/src/resources/numbers/index.ts +2 -0
- package/src/resources/numbers/numbers.ts +58 -34
- package/src/resources/tasks/tasks.ts +120 -40
- package/src/resources/webhooks/webhooks.ts +2 -0
- package/src/resources/workflows/events.ts +24 -0
- package/src/resources/workflows/executions.ts +121 -5
- package/src/resources/workflows/flows/actions.ts +26 -0
- package/src/resources/workflows/flows/flows.ts +182 -1
- package/src/resources/workflows/flows/index.ts +1 -0
- package/src/resources/workflows/index.ts +1 -0
- package/src/resources/workflows/triggers.ts +19 -3
- 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/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.map +0 -1
- 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.map +0 -1
- 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
|
@@ -49,10 +49,14 @@ export namespace EventDryRunResponse {
|
|
|
49
49
|
export interface Action {
|
|
50
50
|
continueOnError: boolean;
|
|
51
51
|
|
|
52
|
+
flowActionId: string;
|
|
53
|
+
|
|
52
54
|
method: string;
|
|
53
55
|
|
|
54
56
|
name: string;
|
|
55
57
|
|
|
58
|
+
recordingEnabled: boolean;
|
|
59
|
+
|
|
56
60
|
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
57
61
|
|
|
58
62
|
/**
|
|
@@ -67,6 +71,8 @@ export namespace EventDryRunResponse {
|
|
|
67
71
|
export interface Flow {
|
|
68
72
|
id: string;
|
|
69
73
|
|
|
74
|
+
archivedAt: string | null;
|
|
75
|
+
|
|
70
76
|
blockedAt: string | null;
|
|
71
77
|
|
|
72
78
|
consecutiveFailures: number;
|
|
@@ -83,6 +89,10 @@ export namespace EventDryRunResponse {
|
|
|
83
89
|
|
|
84
90
|
deviceIds: Array<string>;
|
|
85
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
94
|
+
* enabled.
|
|
95
|
+
*/
|
|
86
96
|
enabled: boolean;
|
|
87
97
|
|
|
88
98
|
healthMonitoringEnabled: boolean;
|
|
@@ -100,6 +110,8 @@ export namespace EventDryRunResponse {
|
|
|
100
110
|
|
|
101
111
|
lastTriggeredAt: string | null;
|
|
102
112
|
|
|
113
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
114
|
+
|
|
103
115
|
name: string;
|
|
104
116
|
|
|
105
117
|
notifyOnFailure: boolean;
|
|
@@ -110,8 +122,14 @@ export namespace EventDryRunResponse {
|
|
|
110
122
|
|
|
111
123
|
ownerId: string;
|
|
112
124
|
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
127
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
128
|
+
*/
|
|
113
129
|
recordingEnabled: boolean;
|
|
114
130
|
|
|
131
|
+
recordingPolicy: Flow.RecordingPolicy;
|
|
132
|
+
|
|
115
133
|
selfHealingEnabled: boolean;
|
|
116
134
|
|
|
117
135
|
selfHealingMaxAttempts: number;
|
|
@@ -136,6 +154,12 @@ export namespace EventDryRunResponse {
|
|
|
136
154
|
userId: string;
|
|
137
155
|
}
|
|
138
156
|
|
|
157
|
+
export namespace Flow {
|
|
158
|
+
export interface RecordingPolicy {
|
|
159
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
139
163
|
export interface Gates {
|
|
140
164
|
blocked: boolean;
|
|
141
165
|
|
|
@@ -17,8 +17,9 @@ export class Executions extends APIResource {
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
20
|
-
* `triggerId`, `status`, and a `from`/`to`
|
|
21
|
-
* ordering by startedAt, finishedAt, or
|
|
20
|
+
* `triggerId`, `invocationId` (the client/verify key), `status`, and a `from`/`to`
|
|
21
|
+
* time range, plus free-text `search` and ordering by startedAt, finishedAt, or
|
|
22
|
+
* status.
|
|
22
23
|
*/
|
|
23
24
|
list(
|
|
24
25
|
query: ExecutionListParams | null | undefined = {},
|
|
@@ -58,6 +59,12 @@ export namespace ExecutionRetrieveResponse {
|
|
|
58
59
|
|
|
59
60
|
createdBy: string | null;
|
|
60
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
64
|
+
* (event-only) runs.
|
|
65
|
+
*/
|
|
66
|
+
deviceId: string | null;
|
|
67
|
+
|
|
61
68
|
error: string | null;
|
|
62
69
|
|
|
63
70
|
eventId: string | null;
|
|
@@ -75,7 +82,14 @@ export namespace ExecutionRetrieveResponse {
|
|
|
75
82
|
|
|
76
83
|
flowName: string | null;
|
|
77
84
|
|
|
78
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
87
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
88
|
+
* rows.
|
|
89
|
+
*/
|
|
90
|
+
invocationId: string | null;
|
|
91
|
+
|
|
92
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
79
93
|
|
|
80
94
|
recordingDeviceId: string | null;
|
|
81
95
|
|
|
@@ -86,6 +100,12 @@ export namespace ExecutionRetrieveResponse {
|
|
|
86
100
|
*/
|
|
87
101
|
recordingId: string | null;
|
|
88
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
105
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
106
|
+
*/
|
|
107
|
+
recordings: Array<Data.Recording>;
|
|
108
|
+
|
|
89
109
|
startedAt: string | null;
|
|
90
110
|
|
|
91
111
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
@@ -115,6 +135,36 @@ export namespace ExecutionRetrieveResponse {
|
|
|
115
135
|
|
|
116
136
|
sizeBytes: number;
|
|
117
137
|
}
|
|
138
|
+
|
|
139
|
+
export interface Recording {
|
|
140
|
+
id: string;
|
|
141
|
+
|
|
142
|
+
attempt: number;
|
|
143
|
+
|
|
144
|
+
childIndex: number;
|
|
145
|
+
|
|
146
|
+
flowActionId: string | null;
|
|
147
|
+
|
|
148
|
+
iterationIndex: number;
|
|
149
|
+
|
|
150
|
+
lastError: string | null;
|
|
151
|
+
|
|
152
|
+
parentIndex: number;
|
|
153
|
+
|
|
154
|
+
recordingDeviceId: string | null;
|
|
155
|
+
|
|
156
|
+
recordingId: string | null;
|
|
157
|
+
|
|
158
|
+
scope: 'flow' | 'step';
|
|
159
|
+
|
|
160
|
+
startedAt: string | null;
|
|
161
|
+
|
|
162
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
163
|
+
|
|
164
|
+
stepIndex: number;
|
|
165
|
+
|
|
166
|
+
stoppedAt: string | null;
|
|
167
|
+
}
|
|
118
168
|
}
|
|
119
169
|
}
|
|
120
170
|
|
|
@@ -130,6 +180,12 @@ export namespace ExecutionListResponse {
|
|
|
130
180
|
|
|
131
181
|
createdBy: string | null;
|
|
132
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
185
|
+
* (event-only) runs.
|
|
186
|
+
*/
|
|
187
|
+
deviceId: string | null;
|
|
188
|
+
|
|
133
189
|
error: string | null;
|
|
134
190
|
|
|
135
191
|
eventId: string | null;
|
|
@@ -140,7 +196,14 @@ export namespace ExecutionListResponse {
|
|
|
140
196
|
|
|
141
197
|
flowName: string | null;
|
|
142
198
|
|
|
143
|
-
|
|
199
|
+
/**
|
|
200
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
201
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
202
|
+
* rows.
|
|
203
|
+
*/
|
|
204
|
+
invocationId: string | null;
|
|
205
|
+
|
|
206
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
144
207
|
|
|
145
208
|
recordingDeviceId: string | null;
|
|
146
209
|
|
|
@@ -151,6 +214,12 @@ export namespace ExecutionListResponse {
|
|
|
151
214
|
*/
|
|
152
215
|
recordingId: string | null;
|
|
153
216
|
|
|
217
|
+
/**
|
|
218
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
219
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
220
|
+
*/
|
|
221
|
+
recordings: Array<Item.Recording>;
|
|
222
|
+
|
|
154
223
|
startedAt: string | null;
|
|
155
224
|
|
|
156
225
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
@@ -169,6 +238,38 @@ export namespace ExecutionListResponse {
|
|
|
169
238
|
*/
|
|
170
239
|
result?: unknown;
|
|
171
240
|
}
|
|
241
|
+
|
|
242
|
+
export namespace Item {
|
|
243
|
+
export interface Recording {
|
|
244
|
+
id: string;
|
|
245
|
+
|
|
246
|
+
attempt: number;
|
|
247
|
+
|
|
248
|
+
childIndex: number;
|
|
249
|
+
|
|
250
|
+
flowActionId: string | null;
|
|
251
|
+
|
|
252
|
+
iterationIndex: number;
|
|
253
|
+
|
|
254
|
+
lastError: string | null;
|
|
255
|
+
|
|
256
|
+
parentIndex: number;
|
|
257
|
+
|
|
258
|
+
recordingDeviceId: string | null;
|
|
259
|
+
|
|
260
|
+
recordingId: string | null;
|
|
261
|
+
|
|
262
|
+
scope: 'flow' | 'step';
|
|
263
|
+
|
|
264
|
+
startedAt: string | null;
|
|
265
|
+
|
|
266
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
267
|
+
|
|
268
|
+
stepIndex: number;
|
|
269
|
+
|
|
270
|
+
stoppedAt: string | null;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
172
273
|
}
|
|
173
274
|
|
|
174
275
|
export interface ExecutionAbortResponse {
|
|
@@ -179,6 +280,12 @@ export namespace ExecutionAbortResponse {
|
|
|
179
280
|
export interface Data {
|
|
180
281
|
id: string;
|
|
181
282
|
|
|
283
|
+
/**
|
|
284
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
285
|
+
* (event-only) runs.
|
|
286
|
+
*/
|
|
287
|
+
deviceId: string | null;
|
|
288
|
+
|
|
182
289
|
error: string | null;
|
|
183
290
|
|
|
184
291
|
eventId: string | null;
|
|
@@ -189,7 +296,14 @@ export namespace ExecutionAbortResponse {
|
|
|
189
296
|
|
|
190
297
|
flowName: string | null;
|
|
191
298
|
|
|
192
|
-
|
|
299
|
+
/**
|
|
300
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
301
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
302
|
+
* rows.
|
|
303
|
+
*/
|
|
304
|
+
invocationId: string | null;
|
|
305
|
+
|
|
306
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
193
307
|
|
|
194
308
|
recordingDeviceId: string | null;
|
|
195
309
|
|
|
@@ -259,6 +373,8 @@ export interface ExecutionListParams {
|
|
|
259
373
|
|
|
260
374
|
from?: string | null;
|
|
261
375
|
|
|
376
|
+
invocationId?: string;
|
|
377
|
+
|
|
262
378
|
orderBy?: 'startedAt' | 'finishedAt' | 'status';
|
|
263
379
|
|
|
264
380
|
orderByDirection?: 'asc' | 'desc';
|
|
@@ -75,6 +75,12 @@ export namespace ActionListResponse {
|
|
|
75
75
|
parentFlowActionId: string | null;
|
|
76
76
|
|
|
77
77
|
position: number;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Selected for per-step recording under the flow's "selected_steps" recording
|
|
81
|
+
* policy.
|
|
82
|
+
*/
|
|
83
|
+
recordingEnabled: boolean;
|
|
78
84
|
}
|
|
79
85
|
|
|
80
86
|
export namespace Data {
|
|
@@ -107,6 +113,12 @@ export namespace ActionAddResponse {
|
|
|
107
113
|
parentFlowActionId: string | null;
|
|
108
114
|
|
|
109
115
|
position: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Selected for per-step recording under the flow's "selected_steps" recording
|
|
119
|
+
* policy.
|
|
120
|
+
*/
|
|
121
|
+
recordingEnabled: boolean;
|
|
110
122
|
}
|
|
111
123
|
|
|
112
124
|
export namespace Data {
|
|
@@ -143,6 +155,12 @@ export namespace ActionReplaceResponse {
|
|
|
143
155
|
parentFlowActionId: string | null;
|
|
144
156
|
|
|
145
157
|
position: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Selected for per-step recording under the flow's "selected_steps" recording
|
|
161
|
+
* policy.
|
|
162
|
+
*/
|
|
163
|
+
recordingEnabled: boolean;
|
|
146
164
|
}
|
|
147
165
|
|
|
148
166
|
export namespace Data {
|
|
@@ -166,6 +184,8 @@ export interface ActionAddParams {
|
|
|
166
184
|
overrides?: ActionAddParams.Overrides | null;
|
|
167
185
|
|
|
168
186
|
parentFlowActionId?: string | null;
|
|
187
|
+
|
|
188
|
+
recordingEnabled?: boolean;
|
|
169
189
|
}
|
|
170
190
|
|
|
171
191
|
export namespace ActionAddParams {
|
|
@@ -179,6 +199,8 @@ export namespace ActionAddParams {
|
|
|
179
199
|
nameOverride?: string;
|
|
180
200
|
|
|
181
201
|
overrides?: Child.Overrides | null;
|
|
202
|
+
|
|
203
|
+
recordingEnabled?: boolean;
|
|
182
204
|
}
|
|
183
205
|
|
|
184
206
|
export namespace Child {
|
|
@@ -213,6 +235,8 @@ export namespace ActionReplaceParams {
|
|
|
213
235
|
nameOverride?: string;
|
|
214
236
|
|
|
215
237
|
overrides?: Action.Overrides | null;
|
|
238
|
+
|
|
239
|
+
recordingEnabled?: boolean;
|
|
216
240
|
}
|
|
217
241
|
|
|
218
242
|
export namespace Action {
|
|
@@ -226,6 +250,8 @@ export namespace ActionReplaceParams {
|
|
|
226
250
|
nameOverride?: string;
|
|
227
251
|
|
|
228
252
|
overrides?: Child.Overrides | null;
|
|
253
|
+
|
|
254
|
+
recordingEnabled?: boolean;
|
|
229
255
|
}
|
|
230
256
|
|
|
231
257
|
export namespace Child {
|