@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.
Files changed (379) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +0 -9
  3. package/client.d.mts +8 -26
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +8 -26
  6. package/client.d.ts.map +1 -1
  7. package/client.js +0 -18
  8. package/client.js.map +1 -1
  9. package/client.mjs +0 -18
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/apps.d.mts +30 -20
  13. package/resources/apps.d.mts.map +1 -1
  14. package/resources/apps.d.ts +30 -20
  15. package/resources/apps.d.ts.map +1 -1
  16. package/resources/apps.js +20 -10
  17. package/resources/apps.js.map +1 -1
  18. package/resources/apps.mjs +20 -10
  19. package/resources/apps.mjs.map +1 -1
  20. package/resources/assistant/conversations.d.mts +19 -0
  21. package/resources/assistant/conversations.d.mts.map +1 -1
  22. package/resources/assistant/conversations.d.ts +19 -0
  23. package/resources/assistant/conversations.d.ts.map +1 -1
  24. package/resources/connect/proxies.d.mts +8 -6
  25. package/resources/connect/proxies.d.mts.map +1 -1
  26. package/resources/connect/proxies.d.ts +8 -6
  27. package/resources/connect/proxies.d.ts.map +1 -1
  28. package/resources/connect/proxies.js +6 -4
  29. package/resources/connect/proxies.js.map +1 -1
  30. package/resources/connect/proxies.mjs +6 -4
  31. package/resources/connect/proxies.mjs.map +1 -1
  32. package/resources/connect/users.d.mts +4 -4
  33. package/resources/connect/users.d.ts +4 -4
  34. package/resources/connect/users.js +2 -2
  35. package/resources/connect/users.mjs +2 -2
  36. package/resources/devices/actions.d.mts +25 -5
  37. package/resources/devices/actions.d.mts.map +1 -1
  38. package/resources/devices/actions.d.ts +25 -5
  39. package/resources/devices/actions.d.ts.map +1 -1
  40. package/resources/devices/actions.js +5 -3
  41. package/resources/devices/actions.js.map +1 -1
  42. package/resources/devices/actions.mjs +5 -3
  43. package/resources/devices/actions.mjs.map +1 -1
  44. package/resources/devices/apps.d.mts +25 -10
  45. package/resources/devices/apps.d.mts.map +1 -1
  46. package/resources/devices/apps.d.ts +25 -10
  47. package/resources/devices/apps.d.ts.map +1 -1
  48. package/resources/devices/apps.js +12 -10
  49. package/resources/devices/apps.js.map +1 -1
  50. package/resources/devices/apps.mjs +12 -10
  51. package/resources/devices/apps.mjs.map +1 -1
  52. package/resources/devices/devices.d.mts +60 -22
  53. package/resources/devices/devices.d.mts.map +1 -1
  54. package/resources/devices/devices.d.ts +60 -22
  55. package/resources/devices/devices.d.ts.map +1 -1
  56. package/resources/devices/devices.js +25 -16
  57. package/resources/devices/devices.js.map +1 -1
  58. package/resources/devices/devices.mjs +25 -16
  59. package/resources/devices/devices.mjs.map +1 -1
  60. package/resources/devices/index.d.mts +3 -3
  61. package/resources/devices/index.d.mts.map +1 -1
  62. package/resources/devices/index.d.ts +3 -3
  63. package/resources/devices/index.d.ts.map +1 -1
  64. package/resources/devices/index.js +3 -3
  65. package/resources/devices/index.js.map +1 -1
  66. package/resources/devices/index.mjs +1 -1
  67. package/resources/devices/index.mjs.map +1 -1
  68. package/resources/devices/keyboard.d.mts +8 -2
  69. package/resources/devices/keyboard.d.mts.map +1 -1
  70. package/resources/devices/keyboard.d.ts +8 -2
  71. package/resources/devices/keyboard.d.ts.map +1 -1
  72. package/resources/devices/recordings.d.mts +28 -7
  73. package/resources/devices/recordings.d.mts.map +1 -1
  74. package/resources/devices/recordings.d.ts +28 -7
  75. package/resources/devices/recordings.d.ts.map +1 -1
  76. package/resources/devices/recordings.js +9 -0
  77. package/resources/devices/recordings.js.map +1 -1
  78. package/resources/devices/recordings.mjs +9 -0
  79. package/resources/devices/recordings.mjs.map +1 -1
  80. package/resources/devices/screenshots.d.mts +72 -0
  81. package/resources/devices/screenshots.d.mts.map +1 -0
  82. package/resources/devices/screenshots.d.ts +72 -0
  83. package/resources/devices/screenshots.d.ts.map +1 -0
  84. package/resources/devices/screenshots.js +57 -0
  85. package/resources/devices/screenshots.js.map +1 -0
  86. package/resources/devices/screenshots.mjs +53 -0
  87. package/resources/devices/screenshots.mjs.map +1 -0
  88. package/resources/devices/state.d.mts +11 -2
  89. package/resources/devices/state.d.mts.map +1 -1
  90. package/resources/devices/state.d.ts +11 -2
  91. package/resources/devices/state.d.ts.map +1 -1
  92. package/resources/devices/state.js +5 -2
  93. package/resources/devices/state.js.map +1 -1
  94. package/resources/devices/state.mjs +5 -2
  95. package/resources/devices/state.mjs.map +1 -1
  96. package/resources/files.d.mts +3 -3
  97. package/resources/files.d.ts +3 -3
  98. package/resources/files.js +3 -3
  99. package/resources/files.mjs +3 -3
  100. package/resources/index.d.mts +4 -9
  101. package/resources/index.d.mts.map +1 -1
  102. package/resources/index.d.ts +4 -9
  103. package/resources/index.d.ts.map +1 -1
  104. package/resources/index.js +1 -11
  105. package/resources/index.js.map +1 -1
  106. package/resources/index.mjs +0 -5
  107. package/resources/index.mjs.map +1 -1
  108. package/resources/mailboxes/connections.d.mts +4 -10
  109. package/resources/mailboxes/connections.d.mts.map +1 -1
  110. package/resources/mailboxes/connections.d.ts +4 -10
  111. package/resources/mailboxes/connections.d.ts.map +1 -1
  112. package/resources/mailboxes/connections.js +3 -4
  113. package/resources/mailboxes/connections.js.map +1 -1
  114. package/resources/mailboxes/connections.mjs +3 -4
  115. package/resources/mailboxes/connections.mjs.map +1 -1
  116. package/resources/mailboxes/mailboxes.d.mts +5 -4
  117. package/resources/mailboxes/mailboxes.d.mts.map +1 -1
  118. package/resources/mailboxes/mailboxes.d.ts +5 -4
  119. package/resources/mailboxes/mailboxes.d.ts.map +1 -1
  120. package/resources/mailboxes/mailboxes.js +5 -4
  121. package/resources/mailboxes/mailboxes.js.map +1 -1
  122. package/resources/mailboxes/mailboxes.mjs +5 -4
  123. package/resources/mailboxes/mailboxes.mjs.map +1 -1
  124. package/resources/messages/messages.d.mts +12 -0
  125. package/resources/messages/messages.d.mts.map +1 -1
  126. package/resources/messages/messages.d.ts +12 -0
  127. package/resources/messages/messages.d.ts.map +1 -1
  128. package/resources/messages/messages.js.map +1 -1
  129. package/resources/messages/messages.mjs.map +1 -1
  130. package/resources/models.d.mts +12 -23
  131. package/resources/models.d.mts.map +1 -1
  132. package/resources/models.d.ts +12 -23
  133. package/resources/models.d.ts.map +1 -1
  134. package/resources/models.js +3 -4
  135. package/resources/models.js.map +1 -1
  136. package/resources/models.mjs +3 -4
  137. package/resources/models.mjs.map +1 -1
  138. package/resources/numbers/index.d.mts +1 -1
  139. package/resources/numbers/index.d.mts.map +1 -1
  140. package/resources/numbers/index.d.ts +1 -1
  141. package/resources/numbers/index.d.ts.map +1 -1
  142. package/resources/numbers/index.js.map +1 -1
  143. package/resources/numbers/index.mjs.map +1 -1
  144. package/resources/numbers/messages.d.mts +23 -14
  145. package/resources/numbers/messages.d.mts.map +1 -1
  146. package/resources/numbers/messages.d.ts +23 -14
  147. package/resources/numbers/messages.d.ts.map +1 -1
  148. package/resources/numbers/messages.js +9 -7
  149. package/resources/numbers/messages.js.map +1 -1
  150. package/resources/numbers/messages.mjs +9 -7
  151. package/resources/numbers/messages.mjs.map +1 -1
  152. package/resources/numbers/numbers.d.mts +136 -32
  153. package/resources/numbers/numbers.d.mts.map +1 -1
  154. package/resources/numbers/numbers.d.ts +136 -32
  155. package/resources/numbers/numbers.d.ts.map +1 -1
  156. package/resources/numbers/numbers.js +1 -12
  157. package/resources/numbers/numbers.js.map +1 -1
  158. package/resources/numbers/numbers.mjs +1 -12
  159. package/resources/numbers/numbers.mjs.map +1 -1
  160. package/resources/proxies.d.mts +1 -87
  161. package/resources/proxies.d.mts.map +1 -1
  162. package/resources/proxies.d.ts +1 -87
  163. package/resources/proxies.d.ts.map +1 -1
  164. package/resources/proxies.js +0 -6
  165. package/resources/proxies.js.map +1 -1
  166. package/resources/proxies.mjs +0 -6
  167. package/resources/proxies.mjs.map +1 -1
  168. package/resources/tasks/tasks.d.mts +42 -138
  169. package/resources/tasks/tasks.d.mts.map +1 -1
  170. package/resources/tasks/tasks.d.ts +42 -138
  171. package/resources/tasks/tasks.d.ts.map +1 -1
  172. package/resources/tasks/tasks.js.map +1 -1
  173. package/resources/tasks/tasks.mjs.map +1 -1
  174. package/resources/webhooks/index.d.mts +1 -1
  175. package/resources/webhooks/index.d.mts.map +1 -1
  176. package/resources/webhooks/index.d.ts +1 -1
  177. package/resources/webhooks/index.d.ts.map +1 -1
  178. package/resources/webhooks/index.js.map +1 -1
  179. package/resources/webhooks/index.mjs.map +1 -1
  180. package/resources/webhooks/webhooks.d.mts +7 -43
  181. package/resources/webhooks/webhooks.d.mts.map +1 -1
  182. package/resources/webhooks/webhooks.d.ts +7 -43
  183. package/resources/webhooks/webhooks.d.ts.map +1 -1
  184. package/resources/webhooks/webhooks.js +6 -9
  185. package/resources/webhooks/webhooks.js.map +1 -1
  186. package/resources/webhooks/webhooks.mjs +6 -9
  187. package/resources/webhooks/webhooks.mjs.map +1 -1
  188. package/resources/workflows/events.d.mts +6 -2
  189. package/resources/workflows/events.d.mts.map +1 -1
  190. package/resources/workflows/events.d.ts +6 -2
  191. package/resources/workflows/events.d.ts.map +1 -1
  192. package/resources/workflows/executions/executions.d.mts +37 -31
  193. package/resources/workflows/executions/executions.d.mts.map +1 -1
  194. package/resources/workflows/executions/executions.d.ts +37 -31
  195. package/resources/workflows/executions/executions.d.ts.map +1 -1
  196. package/resources/workflows/executions/executions.js +2 -2
  197. package/resources/workflows/executions/executions.js.map +1 -1
  198. package/resources/workflows/executions/executions.mjs +2 -2
  199. package/resources/workflows/executions/executions.mjs.map +1 -1
  200. package/resources/workflows/flows/flows.d.mts +90 -34
  201. package/resources/workflows/flows/flows.d.mts.map +1 -1
  202. package/resources/workflows/flows/flows.d.ts +90 -34
  203. package/resources/workflows/flows/flows.d.ts.map +1 -1
  204. package/resources/workflows/flows/flows.js +15 -14
  205. package/resources/workflows/flows/flows.js.map +1 -1
  206. package/resources/workflows/flows/flows.mjs +15 -14
  207. package/resources/workflows/flows/flows.mjs.map +1 -1
  208. package/resources/workflows/flows/index.d.mts +1 -1
  209. package/resources/workflows/flows/index.d.mts.map +1 -1
  210. package/resources/workflows/flows/index.d.ts +1 -1
  211. package/resources/workflows/flows/index.d.ts.map +1 -1
  212. package/resources/workflows/flows/index.js.map +1 -1
  213. package/resources/workflows/flows/index.mjs.map +1 -1
  214. package/resources/workflows/index.d.mts +1 -1
  215. package/resources/workflows/index.d.mts.map +1 -1
  216. package/resources/workflows/index.d.ts +1 -1
  217. package/resources/workflows/index.d.ts.map +1 -1
  218. package/resources/workflows/index.js.map +1 -1
  219. package/resources/workflows/index.mjs.map +1 -1
  220. package/resources/workflows/triggers.d.mts +10 -13
  221. package/resources/workflows/triggers.d.mts.map +1 -1
  222. package/resources/workflows/triggers.d.ts +10 -13
  223. package/resources/workflows/triggers.d.ts.map +1 -1
  224. package/resources/workflows/triggers.js +6 -8
  225. package/resources/workflows/triggers.js.map +1 -1
  226. package/resources/workflows/triggers.mjs +6 -8
  227. package/resources/workflows/triggers.mjs.map +1 -1
  228. package/resources/workflows/workflows.d.mts +2 -2
  229. package/resources/workflows/workflows.d.mts.map +1 -1
  230. package/resources/workflows/workflows.d.ts +2 -2
  231. package/resources/workflows/workflows.d.ts.map +1 -1
  232. package/resources/workflows/workflows.js.map +1 -1
  233. package/resources/workflows/workflows.mjs.map +1 -1
  234. package/src/client.ts +2 -106
  235. package/src/resources/apps.ts +30 -20
  236. package/src/resources/assistant/conversations.ts +26 -0
  237. package/src/resources/connect/proxies.ts +8 -6
  238. package/src/resources/connect/users.ts +4 -4
  239. package/src/resources/devices/actions.ts +28 -5
  240. package/src/resources/devices/apps.ts +30 -10
  241. package/src/resources/devices/devices.ts +92 -37
  242. package/src/resources/devices/index.ts +12 -9
  243. package/src/resources/devices/keyboard.ts +9 -2
  244. package/src/resources/devices/recordings.ts +44 -6
  245. package/src/resources/devices/screenshots.ts +140 -0
  246. package/src/resources/devices/state.ts +12 -2
  247. package/src/resources/files.ts +3 -3
  248. package/src/resources/index.ts +1 -44
  249. package/src/resources/mailboxes/connections.ts +4 -11
  250. package/src/resources/mailboxes/mailboxes.ts +5 -4
  251. package/src/resources/messages/messages.ts +16 -0
  252. package/src/resources/models.ts +16 -23
  253. package/src/resources/numbers/index.ts +0 -1
  254. package/src/resources/numbers/messages.ts +27 -15
  255. package/src/resources/numbers/numbers.ts +155 -40
  256. package/src/resources/proxies.ts +0 -110
  257. package/src/resources/tasks/tasks.ts +46 -138
  258. package/src/resources/webhooks/index.ts +0 -1
  259. package/src/resources/webhooks/webhooks.ts +6 -60
  260. package/src/resources/workflows/events.ts +7 -2
  261. package/src/resources/workflows/executions/executions.ts +39 -31
  262. package/src/resources/workflows/flows/flows.ts +104 -34
  263. package/src/resources/workflows/flows/index.ts +1 -0
  264. package/src/resources/workflows/index.ts +1 -0
  265. package/src/resources/workflows/triggers.ts +10 -13
  266. package/src/resources/workflows/workflows.ts +2 -0
  267. package/src/version.ts +1 -1
  268. package/version.d.mts +1 -1
  269. package/version.d.ts +1 -1
  270. package/version.js +1 -1
  271. package/version.mjs +1 -1
  272. package/resources/app-events/app-events.d.mts +0 -81
  273. package/resources/app-events/app-events.d.mts.map +0 -1
  274. package/resources/app-events/app-events.d.ts +0 -81
  275. package/resources/app-events/app-events.d.ts.map +0 -1
  276. package/resources/app-events/app-events.js +0 -33
  277. package/resources/app-events/app-events.js.map +0 -1
  278. package/resources/app-events/app-events.mjs +0 -28
  279. package/resources/app-events/app-events.mjs.map +0 -1
  280. package/resources/app-events/catalog.d.mts +0 -64
  281. package/resources/app-events/catalog.d.mts.map +0 -1
  282. package/resources/app-events/catalog.d.ts +0 -64
  283. package/resources/app-events/catalog.d.ts.map +0 -1
  284. package/resources/app-events/catalog.js +0 -25
  285. package/resources/app-events/catalog.js.map +0 -1
  286. package/resources/app-events/catalog.mjs +0 -21
  287. package/resources/app-events/catalog.mjs.map +0 -1
  288. package/resources/app-events/index.d.mts +0 -3
  289. package/resources/app-events/index.d.mts.map +0 -1
  290. package/resources/app-events/index.d.ts +0 -3
  291. package/resources/app-events/index.d.ts.map +0 -1
  292. package/resources/app-events/index.js +0 -9
  293. package/resources/app-events/index.js.map +0 -1
  294. package/resources/app-events/index.mjs +0 -4
  295. package/resources/app-events/index.mjs.map +0 -1
  296. package/resources/app-events.d.mts +0 -2
  297. package/resources/app-events.d.mts.map +0 -1
  298. package/resources/app-events.d.ts +0 -2
  299. package/resources/app-events.d.ts.map +0 -1
  300. package/resources/app-events.js +0 -6
  301. package/resources/app-events.js.map +0 -1
  302. package/resources/app-events.mjs +0 -3
  303. package/resources/app-events.mjs.map +0 -1
  304. package/resources/carriers.d.mts +0 -331
  305. package/resources/carriers.d.mts.map +0 -1
  306. package/resources/carriers.d.ts +0 -331
  307. package/resources/carriers.d.ts.map +0 -1
  308. package/resources/carriers.js +0 -46
  309. package/resources/carriers.js.map +0 -1
  310. package/resources/carriers.mjs +0 -42
  311. package/resources/carriers.mjs.map +0 -1
  312. package/resources/devices/media-sessions.d.mts +0 -96
  313. package/resources/devices/media-sessions.d.mts.map +0 -1
  314. package/resources/devices/media-sessions.d.ts +0 -96
  315. package/resources/devices/media-sessions.d.ts.map +0 -1
  316. package/resources/devices/media-sessions.js +0 -50
  317. package/resources/devices/media-sessions.js.map +0 -1
  318. package/resources/devices/media-sessions.mjs +0 -46
  319. package/resources/devices/media-sessions.mjs.map +0 -1
  320. package/resources/notifications.d.mts +0 -112
  321. package/resources/notifications.d.mts.map +0 -1
  322. package/resources/notifications.d.ts +0 -112
  323. package/resources/notifications.d.ts.map +0 -1
  324. package/resources/notifications.js +0 -72
  325. package/resources/notifications.js.map +0 -1
  326. package/resources/notifications.mjs +0 -68
  327. package/resources/notifications.mjs.map +0 -1
  328. package/resources/profiles.d.mts +0 -147
  329. package/resources/profiles.d.mts.map +0 -1
  330. package/resources/profiles.d.ts +0 -147
  331. package/resources/profiles.d.ts.map +0 -1
  332. package/resources/profiles.js +0 -40
  333. package/resources/profiles.js.map +0 -1
  334. package/resources/profiles.mjs +0 -36
  335. package/resources/profiles.mjs.map +0 -1
  336. package/resources/store/apps.d.mts +0 -140
  337. package/resources/store/apps.d.mts.map +0 -1
  338. package/resources/store/apps.d.ts +0 -140
  339. package/resources/store/apps.d.ts.map +0 -1
  340. package/resources/store/apps.js +0 -31
  341. package/resources/store/apps.js.map +0 -1
  342. package/resources/store/apps.mjs +0 -27
  343. package/resources/store/apps.mjs.map +0 -1
  344. package/resources/store/index.d.mts +0 -3
  345. package/resources/store/index.d.mts.map +0 -1
  346. package/resources/store/index.d.ts +0 -3
  347. package/resources/store/index.d.ts.map +0 -1
  348. package/resources/store/index.js +0 -9
  349. package/resources/store/index.js.map +0 -1
  350. package/resources/store/index.mjs +0 -4
  351. package/resources/store/index.mjs.map +0 -1
  352. package/resources/store/store.d.mts +0 -20
  353. package/resources/store/store.d.mts.map +0 -1
  354. package/resources/store/store.d.ts +0 -20
  355. package/resources/store/store.d.ts.map +0 -1
  356. package/resources/store/store.js +0 -23
  357. package/resources/store/store.js.map +0 -1
  358. package/resources/store/store.mjs +0 -18
  359. package/resources/store/store.mjs.map +0 -1
  360. package/resources/store.d.mts +0 -2
  361. package/resources/store.d.mts.map +0 -1
  362. package/resources/store.d.ts +0 -2
  363. package/resources/store.d.ts.map +0 -1
  364. package/resources/store.js +0 -6
  365. package/resources/store.js.map +0 -1
  366. package/resources/store.mjs +0 -3
  367. package/resources/store.mjs.map +0 -1
  368. package/src/resources/app-events/app-events.ts +0 -133
  369. package/src/resources/app-events/catalog.ts +0 -100
  370. package/src/resources/app-events/index.ts +0 -9
  371. package/src/resources/app-events.ts +0 -3
  372. package/src/resources/carriers.ts +0 -508
  373. package/src/resources/devices/media-sessions.ts +0 -168
  374. package/src/resources/notifications.ts +0 -155
  375. package/src/resources/profiles.ts +0 -232
  376. package/src/resources/store/apps.ts +0 -993
  377. package/src/resources/store/index.ts +0 -10
  378. package/src/resources/store/store.ts +0 -36
  379. 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
- * Signals the worker to stop the execution between steps and marks it cancelled.
23
- * Idempotent-ish: already-terminal executions return 409.
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 read from step_progress; null for runs started before this
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-recording id (devices-api) for this execution, set once the worker starts
77
- * a recording. Null when the flow has recording disabled, no device is bound, or
78
- * the recording failed to start.
79
+ * 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, ordered by seq. Image bytes
88
- * are never returned here — fetch a fresh signed URL via GET
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. Table-backed steps (current
100
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
101
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
102
- * clients must not assume its presence.
103
+ * 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 read from step_progress; null for runs started before this
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-recording id (devices-api) for this execution, set once the worker starts
202
- * a recording. Null when the flow has recording disabled, no device is bound, or
203
- * the recording failed to start.
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. Table-backed steps (current
219
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
220
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
221
- * clients must not assume its presence.
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-recording id (devices-api) for this execution, set once the worker starts
270
- * a recording. Null when the flow has recording disabled, no device is bound, or
271
- * the recording failed to start.
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. Table-backed steps (current
282
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
283
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
284
- * clients must not assume its presence.
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":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,yBAAsB;AACtE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,UAAW,SAAQ,WAAW;IACzC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;OAGG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;;;OAIG;IACH,UAAU,CACR,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,yBAAyB;IACxC,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,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"}
1
+ {"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,yBAAsB;AACtE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,UAAW,SAAQ,WAAW;IACzC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;OAGG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;;;OAIG;IACH,UAAU,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AS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IAE5F,EAAE,CAAC,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
- * Signals the worker to stop the execution between steps and marks it cancelled.
33
- * Idempotent-ish: already-terminal executions return 409.
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;AA+bD,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC"}
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
- * Signals the worker to stop the execution between steps and marks it cancelled.
29
- * Idempotent-ish: already-terminal executions return 409.
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;AA+bD,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC"}
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 `triggerId`, `enabled`,
34
- * one or more health `status` values (healthy, failing, blocked), `mine` (flows
35
- * created by the calling actor), `createdBy` (flows created by a given actor id —
36
- * mutually exclusive with `mine`), plus free-text `search` and ordering.
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 an owner-scoped snapshot of finite included workflow-agent capacity
52
- * after locally stored enabled and disabled agents. Available only while slot
53
- * enforcement is enabled; otherwise returns 503. This is advisory; create and
54
- * clone perform authoritative admission under an owner lock.
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 integrations-api connection. Returns 404 if
72
- * the flow does not exist.
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
- * through the real worker.
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 (MVA-23). 1 = legacy
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 (MVA-23). 1 = legacy
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 (MVA-23). 1 = legacy
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 (MVA-23). 1 = legacy
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 (MVA-23). 1 = legacy
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' | 'not_included';
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 (MVA-23). 1 = legacy
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 registry order.
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 (MVA-23). 1 = legacy
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