@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.
Files changed (274) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +5 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/apps.d.mts +10 -2
  12. package/resources/apps.d.mts.map +1 -1
  13. package/resources/apps.d.ts +10 -2
  14. package/resources/apps.d.ts.map +1 -1
  15. package/resources/apps.js +3 -1
  16. package/resources/apps.js.map +1 -1
  17. package/resources/apps.mjs +3 -1
  18. package/resources/apps.mjs.map +1 -1
  19. package/resources/assistant/conversations.d.mts +26 -4
  20. package/resources/assistant/conversations.d.mts.map +1 -1
  21. package/resources/assistant/conversations.d.ts +26 -4
  22. package/resources/assistant/conversations.d.ts.map +1 -1
  23. package/resources/assistant/conversations.js +12 -4
  24. package/resources/assistant/conversations.js.map +1 -1
  25. package/resources/assistant/conversations.mjs +12 -4
  26. package/resources/assistant/conversations.mjs.map +1 -1
  27. package/resources/connect/proxies.d.mts +36 -20
  28. package/resources/connect/proxies.d.mts.map +1 -1
  29. package/resources/connect/proxies.d.ts +36 -20
  30. package/resources/connect/proxies.d.ts.map +1 -1
  31. package/resources/connect/proxies.js +10 -2
  32. package/resources/connect/proxies.js.map +1 -1
  33. package/resources/connect/proxies.mjs +10 -2
  34. package/resources/connect/proxies.mjs.map +1 -1
  35. package/resources/devices/apps.d.mts +37 -17
  36. package/resources/devices/apps.d.mts.map +1 -1
  37. package/resources/devices/apps.d.ts +37 -17
  38. package/resources/devices/apps.d.ts.map +1 -1
  39. package/resources/devices/apps.js +15 -14
  40. package/resources/devices/apps.js.map +1 -1
  41. package/resources/devices/apps.mjs +15 -14
  42. package/resources/devices/apps.mjs.map +1 -1
  43. package/resources/devices/devices.d.mts +29 -4
  44. package/resources/devices/devices.d.mts.map +1 -1
  45. package/resources/devices/devices.d.ts +29 -4
  46. package/resources/devices/devices.d.ts.map +1 -1
  47. package/resources/devices/devices.js +7 -4
  48. package/resources/devices/devices.js.map +1 -1
  49. package/resources/devices/devices.mjs +7 -4
  50. package/resources/devices/devices.mjs.map +1 -1
  51. package/resources/devices/index.d.mts +1 -0
  52. package/resources/devices/index.d.mts.map +1 -1
  53. package/resources/devices/index.d.ts +1 -0
  54. package/resources/devices/index.d.ts.map +1 -1
  55. package/resources/devices/index.js +3 -1
  56. package/resources/devices/index.js.map +1 -1
  57. package/resources/devices/index.mjs +1 -0
  58. package/resources/devices/index.mjs.map +1 -1
  59. package/resources/devices/keyboard.d.mts +9 -3
  60. package/resources/devices/keyboard.d.mts.map +1 -1
  61. package/resources/devices/keyboard.d.ts +9 -3
  62. package/resources/devices/keyboard.d.ts.map +1 -1
  63. package/resources/devices/keyboard.js +3 -3
  64. package/resources/devices/keyboard.mjs +3 -3
  65. package/resources/devices/recordings.d.mts +11 -0
  66. package/resources/devices/recordings.d.mts.map +1 -1
  67. package/resources/devices/recordings.d.ts +11 -0
  68. package/resources/devices/recordings.d.ts.map +1 -1
  69. package/resources/devices/traffic-sessions.d.mts +173 -0
  70. package/resources/devices/traffic-sessions.d.mts.map +1 -0
  71. package/resources/devices/traffic-sessions.d.ts +173 -0
  72. package/resources/devices/traffic-sessions.d.ts.map +1 -0
  73. package/resources/devices/traffic-sessions.js +43 -0
  74. package/resources/devices/traffic-sessions.js.map +1 -0
  75. package/resources/devices/traffic-sessions.mjs +39 -0
  76. package/resources/devices/traffic-sessions.mjs.map +1 -0
  77. package/resources/files.d.mts +72 -0
  78. package/resources/files.d.mts.map +1 -1
  79. package/resources/files.d.ts +72 -0
  80. package/resources/files.d.ts.map +1 -1
  81. package/resources/index.d.mts +2 -2
  82. package/resources/index.d.mts.map +1 -1
  83. package/resources/index.d.ts +2 -2
  84. package/resources/index.d.ts.map +1 -1
  85. package/resources/index.js +3 -3
  86. package/resources/index.js.map +1 -1
  87. package/resources/index.mjs +1 -1
  88. package/resources/index.mjs.map +1 -1
  89. package/resources/mailboxes/index.d.mts +3 -0
  90. package/resources/mailboxes/index.d.mts.map +1 -0
  91. package/resources/mailboxes/index.d.ts +3 -0
  92. package/resources/mailboxes/index.d.ts.map +1 -0
  93. package/resources/{esims → mailboxes}/index.js +3 -3
  94. package/resources/mailboxes/index.js.map +1 -0
  95. package/resources/{esims → mailboxes}/index.mjs +1 -1
  96. package/resources/mailboxes/index.mjs.map +1 -0
  97. package/resources/mailboxes/mailboxes.d.mts +374 -0
  98. package/resources/mailboxes/mailboxes.d.mts.map +1 -0
  99. package/resources/mailboxes/mailboxes.d.ts +374 -0
  100. package/resources/mailboxes/mailboxes.d.ts.map +1 -0
  101. package/resources/mailboxes/mailboxes.js +139 -0
  102. package/resources/mailboxes/mailboxes.js.map +1 -0
  103. package/resources/mailboxes/mailboxes.mjs +134 -0
  104. package/resources/mailboxes/mailboxes.mjs.map +1 -0
  105. package/resources/mailboxes/messages.d.mts +82 -0
  106. package/resources/mailboxes/messages.d.mts.map +1 -0
  107. package/resources/mailboxes/messages.d.ts +82 -0
  108. package/resources/mailboxes/messages.d.ts.map +1 -0
  109. package/resources/mailboxes/messages.js +39 -0
  110. package/resources/mailboxes/messages.js.map +1 -0
  111. package/resources/mailboxes/messages.mjs +35 -0
  112. package/resources/mailboxes/messages.mjs.map +1 -0
  113. package/resources/mailboxes.d.mts +2 -0
  114. package/resources/mailboxes.d.mts.map +1 -0
  115. package/resources/mailboxes.d.ts +2 -0
  116. package/resources/mailboxes.d.ts.map +1 -0
  117. package/resources/{esims.js → mailboxes.js} +2 -2
  118. package/resources/mailboxes.js.map +1 -0
  119. package/resources/{esims.mjs → mailboxes.mjs} +2 -2
  120. package/resources/mailboxes.mjs.map +1 -0
  121. package/resources/messages/conversations.d.mts +4 -15
  122. package/resources/messages/conversations.d.mts.map +1 -1
  123. package/resources/messages/conversations.d.ts +4 -15
  124. package/resources/messages/conversations.d.ts.map +1 -1
  125. package/resources/messages/conversations.js +4 -15
  126. package/resources/messages/conversations.js.map +1 -1
  127. package/resources/messages/conversations.mjs +4 -15
  128. package/resources/messages/conversations.mjs.map +1 -1
  129. package/resources/messages/messages.d.mts +2 -4
  130. package/resources/messages/messages.d.mts.map +1 -1
  131. package/resources/messages/messages.d.ts +2 -4
  132. package/resources/messages/messages.d.ts.map +1 -1
  133. package/resources/messages/messages.js +2 -4
  134. package/resources/messages/messages.js.map +1 -1
  135. package/resources/messages/messages.mjs +2 -4
  136. package/resources/messages/messages.mjs.map +1 -1
  137. package/resources/numbers/index.d.mts +1 -1
  138. package/resources/numbers/index.d.mts.map +1 -1
  139. package/resources/numbers/index.d.ts +1 -1
  140. package/resources/numbers/index.d.ts.map +1 -1
  141. package/resources/numbers/index.js.map +1 -1
  142. package/resources/numbers/index.mjs.map +1 -1
  143. package/resources/numbers/numbers.d.mts +48 -35
  144. package/resources/numbers/numbers.d.mts.map +1 -1
  145. package/resources/numbers/numbers.d.ts +48 -35
  146. package/resources/numbers/numbers.d.ts.map +1 -1
  147. package/resources/numbers/numbers.js +23 -29
  148. package/resources/numbers/numbers.js.map +1 -1
  149. package/resources/numbers/numbers.mjs +23 -29
  150. package/resources/numbers/numbers.mjs.map +1 -1
  151. package/resources/tasks/tasks.d.mts +80 -32
  152. package/resources/tasks/tasks.d.mts.map +1 -1
  153. package/resources/tasks/tasks.d.ts +80 -32
  154. package/resources/tasks/tasks.d.ts.map +1 -1
  155. package/resources/tasks/tasks.js.map +1 -1
  156. package/resources/tasks/tasks.mjs.map +1 -1
  157. package/resources/webhooks/webhooks.d.mts +1 -0
  158. package/resources/webhooks/webhooks.d.mts.map +1 -1
  159. package/resources/webhooks/webhooks.d.ts +1 -0
  160. package/resources/webhooks/webhooks.d.ts.map +1 -1
  161. package/resources/webhooks/webhooks.js.map +1 -1
  162. package/resources/webhooks/webhooks.mjs.map +1 -1
  163. package/resources/workflows/events.d.mts +18 -0
  164. package/resources/workflows/events.d.mts.map +1 -1
  165. package/resources/workflows/events.d.ts +18 -0
  166. package/resources/workflows/events.d.ts.map +1 -1
  167. package/resources/workflows/executions.d.mts +84 -5
  168. package/resources/workflows/executions.d.mts.map +1 -1
  169. package/resources/workflows/executions.d.ts +84 -5
  170. package/resources/workflows/executions.d.ts.map +1 -1
  171. package/resources/workflows/executions.js +3 -2
  172. package/resources/workflows/executions.js.map +1 -1
  173. package/resources/workflows/executions.mjs +3 -2
  174. package/resources/workflows/executions.mjs.map +1 -1
  175. package/resources/workflows/flows/actions.d.mts +19 -0
  176. package/resources/workflows/flows/actions.d.mts.map +1 -1
  177. package/resources/workflows/flows/actions.d.ts +19 -0
  178. package/resources/workflows/flows/actions.d.ts.map +1 -1
  179. package/resources/workflows/flows/flows.d.mts +142 -2
  180. package/resources/workflows/flows/flows.d.mts.map +1 -1
  181. package/resources/workflows/flows/flows.d.ts +142 -2
  182. package/resources/workflows/flows/flows.d.ts.map +1 -1
  183. package/resources/workflows/flows/flows.js +11 -1
  184. package/resources/workflows/flows/flows.js.map +1 -1
  185. package/resources/workflows/flows/flows.mjs +11 -1
  186. package/resources/workflows/flows/flows.mjs.map +1 -1
  187. package/resources/workflows/flows/index.d.mts +1 -1
  188. package/resources/workflows/flows/index.d.mts.map +1 -1
  189. package/resources/workflows/flows/index.d.ts +1 -1
  190. package/resources/workflows/flows/index.d.ts.map +1 -1
  191. package/resources/workflows/flows/index.js.map +1 -1
  192. package/resources/workflows/flows/index.mjs.map +1 -1
  193. package/resources/workflows/index.d.mts +1 -1
  194. package/resources/workflows/index.d.mts.map +1 -1
  195. package/resources/workflows/index.d.ts +1 -1
  196. package/resources/workflows/index.d.ts.map +1 -1
  197. package/resources/workflows/index.js.map +1 -1
  198. package/resources/workflows/index.mjs.map +1 -1
  199. package/resources/workflows/triggers.d.mts +17 -3
  200. package/resources/workflows/triggers.d.mts.map +1 -1
  201. package/resources/workflows/triggers.d.ts +17 -3
  202. package/resources/workflows/triggers.d.ts.map +1 -1
  203. package/resources/workflows/workflows.d.mts +2 -2
  204. package/resources/workflows/workflows.d.mts.map +1 -1
  205. package/resources/workflows/workflows.d.ts +2 -2
  206. package/resources/workflows/workflows.d.ts.map +1 -1
  207. package/resources/workflows/workflows.js.map +1 -1
  208. package/resources/workflows/workflows.mjs.map +1 -1
  209. package/src/client.ts +40 -40
  210. package/src/resources/apps.ts +11 -2
  211. package/src/resources/assistant/conversations.ts +38 -4
  212. package/src/resources/connect/proxies.ts +49 -21
  213. package/src/resources/devices/apps.ts +41 -17
  214. package/src/resources/devices/devices.ts +58 -4
  215. package/src/resources/devices/index.ts +11 -0
  216. package/src/resources/devices/keyboard.ts +10 -3
  217. package/src/resources/devices/recordings.ts +12 -0
  218. package/src/resources/devices/traffic-sessions.ts +299 -0
  219. package/src/resources/files.ts +114 -0
  220. package/src/resources/index.ts +19 -19
  221. package/src/resources/mailboxes/index.ts +26 -0
  222. package/src/resources/mailboxes/mailboxes.ts +637 -0
  223. package/src/resources/mailboxes/messages.ts +134 -0
  224. package/src/resources/{esims.ts → mailboxes.ts} +1 -1
  225. package/src/resources/messages/conversations.ts +4 -15
  226. package/src/resources/messages/messages.ts +2 -4
  227. package/src/resources/numbers/index.ts +2 -0
  228. package/src/resources/numbers/numbers.ts +58 -34
  229. package/src/resources/tasks/tasks.ts +120 -40
  230. package/src/resources/webhooks/webhooks.ts +2 -0
  231. package/src/resources/workflows/events.ts +24 -0
  232. package/src/resources/workflows/executions.ts +121 -5
  233. package/src/resources/workflows/flows/actions.ts +26 -0
  234. package/src/resources/workflows/flows/flows.ts +182 -1
  235. package/src/resources/workflows/flows/index.ts +1 -0
  236. package/src/resources/workflows/index.ts +1 -0
  237. package/src/resources/workflows/triggers.ts +19 -3
  238. package/src/resources/workflows/workflows.ts +2 -0
  239. package/src/version.ts +1 -1
  240. package/version.d.mts +1 -1
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
  243. package/version.mjs +1 -1
  244. package/resources/esims/esims.d.mts +0 -566
  245. package/resources/esims/esims.d.mts.map +0 -1
  246. package/resources/esims/esims.d.ts +0 -566
  247. package/resources/esims/esims.d.ts.map +0 -1
  248. package/resources/esims/esims.js +0 -205
  249. package/resources/esims/esims.js.map +0 -1
  250. package/resources/esims/esims.mjs +0 -200
  251. package/resources/esims/esims.mjs.map +0 -1
  252. package/resources/esims/index.d.mts +0 -3
  253. package/resources/esims/index.d.mts.map +0 -1
  254. package/resources/esims/index.d.ts +0 -3
  255. package/resources/esims/index.d.ts.map +0 -1
  256. package/resources/esims/index.js.map +0 -1
  257. package/resources/esims/index.mjs.map +0 -1
  258. package/resources/esims/messages.d.mts +0 -106
  259. package/resources/esims/messages.d.mts.map +0 -1
  260. package/resources/esims/messages.d.ts +0 -106
  261. package/resources/esims/messages.d.ts.map +0 -1
  262. package/resources/esims/messages.js +0 -37
  263. package/resources/esims/messages.js.map +0 -1
  264. package/resources/esims/messages.mjs +0 -33
  265. package/resources/esims/messages.mjs.map +0 -1
  266. package/resources/esims.d.mts +0 -2
  267. package/resources/esims.d.mts.map +0 -1
  268. package/resources/esims.d.ts +0 -2
  269. package/resources/esims.d.ts.map +0 -1
  270. package/resources/esims.js.map +0 -1
  271. package/resources/esims.mjs.map +0 -1
  272. package/src/resources/esims/esims.ts +0 -1019
  273. package/src/resources/esims/index.ts +0 -28
  274. 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` time range, plus free-text `search` and
21
- * ordering by startedAt, finishedAt, or status.
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
- kind: 'live' | 'dry_run';
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
- kind: 'live' | 'dry_run';
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
- kind: 'live' | 'dry_run';
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 {