@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
@@ -33,8 +33,8 @@ export class Executions extends APIResource {
33
33
  }
34
34
 
35
35
  /**
36
- * Signals the worker to stop the execution between steps and marks it cancelled.
37
- * Idempotent-ish: already-terminal executions return 409.
36
+ * Stops the execution between steps and marks it cancelled. Idempotent-ish:
37
+ * already-terminal executions return 409.
38
38
  */
39
39
  abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse> {
40
40
  return this._client.post(path`/executions/${executionID}/abort`, options);
@@ -61,6 +61,11 @@ export namespace ExecutionRetrieveResponse {
61
61
  export interface Data {
62
62
  id: string;
63
63
 
64
+ /**
65
+ * Current agent assignment of the owner-scoped parent flow; null when unassigned.
66
+ */
67
+ agentId: string | null;
68
+
64
69
  createdBy: string | null;
65
70
 
66
71
  /**
@@ -103,17 +108,16 @@ export namespace ExecutionRetrieveResponse {
103
108
  kind: 'live' | 'dry_run' | 'verification';
104
109
 
105
110
  /**
106
- * Live progress read from step_progress; null for runs started before this
107
- * feature.
111
+ * Live progress; null for runs started before this feature.
108
112
  */
109
113
  progress: Data.Progress | null;
110
114
 
111
115
  recordingDeviceId: string | null;
112
116
 
113
117
  /**
114
- * Device-recording id (devices-api) for this execution, set once the worker starts
115
- * a recording. Null when the flow has recording disabled, no device is bound, or
116
- * the recording failed to start.
118
+ * Device recording id for this execution, set once recording starts. Null when the
119
+ * flow has recording disabled, no device is bound, or the recording failed to
120
+ * start.
117
121
  */
118
122
  recordingId: string | null;
119
123
 
@@ -124,8 +128,9 @@ export namespace ExecutionRetrieveResponse {
124
128
  recordings: Array<Data.Recording>;
125
129
 
126
130
  /**
127
- * Screenshots captured by tasks.run/agent.run steps, ordered by seq. Image bytes
128
- * are never returned here — fetch a fresh signed URL via GET
131
+ * Screenshots captured by tasks.run/agent.run steps and saved by scripts into the
132
+ * flow screenshots recording (source recording), ordered by seq. Image bytes are
133
+ * never returned here — fetch a fresh signed URL via GET
129
134
  * /executions/{id}/screenshots/{screenshotId}.
130
135
  */
131
136
  screenshots: Array<Data.Screenshot>;
@@ -141,10 +146,9 @@ export namespace ExecutionRetrieveResponse {
141
146
  /**
142
147
  * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
143
148
  * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
144
- * step that opted into a verdict — null otherwise. Table-backed steps (current
145
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
146
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
147
- * clients must not assume its presence.
149
+ * step that opted into a verdict — null otherwise. Steps of current executions
150
+ * also carry a `status` string (e.g. success/failed/stopped); it is optional and
151
+ * absent on older executions, so clients must not assume its presence.
148
152
  */
149
153
  result?: unknown;
150
154
  }
@@ -153,7 +157,7 @@ export namespace ExecutionRetrieveResponse {
153
157
  export interface Delivery {
154
158
  artifact: 'recording' | 'file' | 'screenshot';
155
159
 
156
- destination: 'one_drive' | 'google_drive';
160
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
157
161
 
158
162
  errorCode: string | null;
159
163
 
@@ -183,8 +187,7 @@ export namespace ExecutionRetrieveResponse {
183
187
  }
184
188
 
185
189
  /**
186
- * Live progress read from step_progress; null for runs started before this
187
- * feature.
190
+ * Live progress; null for runs started before this feature.
188
191
  */
189
192
  export interface Progress {
190
193
  currentIndex: number | null;
@@ -211,6 +214,13 @@ export namespace ExecutionRetrieveResponse {
211
214
  startedAt: string | null;
212
215
 
213
216
  status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
217
+
218
+ /**
219
+ * Zero-based retry attempt of the execution job during which this step last ran (0
220
+ * = initial attempt). Not a per-step retry counter; may undercount after crash
221
+ * recovery.
222
+ */
223
+ attempt?: number;
214
224
  }
215
225
  }
216
226
 
@@ -255,7 +265,7 @@ export namespace ExecutionRetrieveResponse {
255
265
 
256
266
  seq: number;
257
267
 
258
- source: 'task' | 'agent';
268
+ source: 'task' | 'agent' | 'recording';
259
269
 
260
270
  stepIndex: number;
261
271
 
@@ -304,9 +314,9 @@ export namespace ExecutionListResponse {
304
314
  recordingDeviceId: string | null;
305
315
 
306
316
  /**
307
- * Device-recording id (devices-api) for this execution, set once the worker starts
308
- * a recording. Null when the flow has recording disabled, no device is bound, or
309
- * the recording failed to start.
317
+ * Device recording id for this execution, set once recording starts. Null when the
318
+ * flow has recording disabled, no device is bound, or the recording failed to
319
+ * start.
310
320
  */
311
321
  recordingId: string | null;
312
322
 
@@ -327,10 +337,9 @@ export namespace ExecutionListResponse {
327
337
  /**
328
338
  * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
329
339
  * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
330
- * step that opted into a verdict — null otherwise. Table-backed steps (current
331
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
332
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
333
- * clients must not assume its presence.
340
+ * step that opted into a verdict — null otherwise. Steps of current executions
341
+ * also carry a `status` string (e.g. success/failed/stopped); it is optional and
342
+ * absent on older executions, so clients must not assume its presence.
334
343
  */
335
344
  result?: unknown;
336
345
  }
@@ -404,9 +413,9 @@ export namespace ExecutionAbortResponse {
404
413
  recordingDeviceId: string | null;
405
414
 
406
415
  /**
407
- * Device-recording id (devices-api) for this execution, set once the worker starts
408
- * a recording. Null when the flow has recording disabled, no device is bound, or
409
- * the recording failed to start.
416
+ * Device recording id for this execution, set once recording starts. Null when the
417
+ * flow has recording disabled, no device is bound, or the recording failed to
418
+ * start.
410
419
  */
411
420
  recordingId: string | null;
412
421
 
@@ -421,10 +430,9 @@ export namespace ExecutionAbortResponse {
421
430
  /**
422
431
  * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
423
432
  * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
424
- * step that opted into a verdict — null otherwise. Table-backed steps (current
425
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
426
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
427
- * clients must not assume its presence.
433
+ * step that opted into a verdict — null otherwise. Steps of current executions
434
+ * also carry a `status` string (e.g. success/failed/stopped); it is optional and
435
+ * absent on older executions, so clients must not assume its presence.
428
436
  */
429
437
  result?: unknown;
430
438
  }
@@ -57,10 +57,11 @@ export class Flows extends APIResource {
57
57
  }
58
58
 
59
59
  /**
60
- * Return a paginated list of flows. Supports filtering by `triggerId`, `enabled`,
61
- * one or more health `status` values (healthy, failing, blocked), `mine` (flows
62
- * created by the calling actor), `createdBy` (flows created by a given actor id —
63
- * mutually exclusive with `mine`), plus free-text `search` and ordering.
60
+ * Return a paginated list of flows. Supports filtering by `agentId` (UUID or
61
+ * `unassigned`; omit for all buckets), `triggerId`, `enabled`, one or more health
62
+ * `status` values (healthy, failing, blocked), `mine` (flows created by the
63
+ * calling actor), `createdBy` (flows created by a given actor id — mutually
64
+ * exclusive with `mine`), plus free-text `search` and ordering.
64
65
  */
65
66
  list(
66
67
  query: FlowListParams | null | undefined = {},
@@ -91,13 +92,16 @@ export class Flows extends APIResource {
91
92
  }
92
93
 
93
94
  /**
94
- * Returns an owner-scoped snapshot of finite included workflow-agent capacity
95
- * after locally stored enabled and disabled agents. Available only while slot
96
- * enforcement is enabled; otherwise returns 503. This is advisory; create and
97
- * clone perform authoritative admission under an owner lock.
95
+ * Returns the environment routine limit and remaining capacity for this owner and
96
+ * agent bucket, counting enabled and disabled non-deleted flows. Omit agentId (or
97
+ * use unassigned) for the unassigned bucket. This is advisory; create and clone
98
+ * enforce admission under a bucket lock.
98
99
  */
99
- capacity(options?: RequestOptions): APIPromise<FlowCapacityResponse> {
100
- return this._client.get('/flows/capacity', options);
100
+ capacity(
101
+ query: FlowCapacityParams | null | undefined = {},
102
+ options?: RequestOptions,
103
+ ): APIPromise<FlowCapacityResponse> {
104
+ return this._client.get('/flows/capacity', { query, ...options });
101
105
  }
102
106
 
103
107
  /**
@@ -121,8 +125,8 @@ export class Flows extends APIResource {
121
125
  * Return the recording/delivery readiness for a flow (recording mode, whether
122
126
  * delivery can include the recording, whether a files.upload action exists, the
123
127
  * first direct OneDrive/Google Drive upload step if any) plus, per destination,
124
- * whether the flow owner has an active integrations-api connection. Returns 404 if
125
- * the flow does not exist.
128
+ * whether the flow owner has an active connection. Returns 404 if the flow does
129
+ * not exist.
126
130
  */
127
131
  deliveryOptions(flowID: string, options?: RequestOptions): APIPromise<FlowDeliveryOptionsResponse> {
128
132
  return this._client.get(path`/flows/${flowID}/delivery-options`, options);
@@ -203,8 +207,8 @@ export class Flows extends APIResource {
203
207
  }
204
208
 
205
209
  /**
206
- * Run a bound, deduplicated **verification** of this flow on exactly one device
207
- * through the real worker.
210
+ * Run a bound, deduplicated **verification** of this flow on exactly one device as
211
+ * a real run.
208
212
  *
209
213
  * Unlike a normal trigger firing, verification:
210
214
  *
@@ -236,6 +240,8 @@ export namespace FlowCreateResponse {
236
240
  export interface Data {
237
241
  id: string;
238
242
 
243
+ agentId: string | null;
244
+
239
245
  archivedAt: string | null;
240
246
 
241
247
  blockedAt: string | null;
@@ -304,7 +310,7 @@ export namespace FlowCreateResponse {
304
310
  status: 'healthy' | 'failing' | 'blocked';
305
311
 
306
312
  /**
307
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
313
+ * Template-resolver semantics this flow runs under. 1 = legacy
308
314
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
309
315
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
310
316
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -324,8 +330,11 @@ export namespace FlowCreateResponse {
324
330
 
325
331
  export namespace Data {
326
332
  export interface Delivery {
327
- destination: 'one_drive' | 'google_drive';
333
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
328
334
 
335
+ /**
336
+ * not allowed when destination is mobilerun
337
+ */
329
338
  folder?: string;
330
339
 
331
340
  recording?: Delivery.Recording;
@@ -353,6 +362,8 @@ export namespace FlowRetrieveResponse {
353
362
  export interface Data {
354
363
  id: string;
355
364
 
365
+ agentId: string | null;
366
+
356
367
  archivedAt: string | null;
357
368
 
358
369
  blockedAt: string | null;
@@ -421,7 +432,7 @@ export namespace FlowRetrieveResponse {
421
432
  status: 'healthy' | 'failing' | 'blocked';
422
433
 
423
434
  /**
424
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
435
+ * Template-resolver semantics this flow runs under. 1 = legacy
425
436
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
426
437
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
427
438
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -441,8 +452,11 @@ export namespace FlowRetrieveResponse {
441
452
 
442
453
  export namespace Data {
443
454
  export interface Delivery {
444
- destination: 'one_drive' | 'google_drive';
455
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
445
456
 
457
+ /**
458
+ * not allowed when destination is mobilerun
459
+ */
446
460
  folder?: string;
447
461
 
448
462
  recording?: Delivery.Recording;
@@ -470,6 +484,8 @@ export namespace FlowUpdateResponse {
470
484
  export interface Data {
471
485
  id: string;
472
486
 
487
+ agentId: string | null;
488
+
473
489
  archivedAt: string | null;
474
490
 
475
491
  blockedAt: string | null;
@@ -538,7 +554,7 @@ export namespace FlowUpdateResponse {
538
554
  status: 'healthy' | 'failing' | 'blocked';
539
555
 
540
556
  /**
541
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
557
+ * Template-resolver semantics this flow runs under. 1 = legacy
542
558
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
543
559
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
544
560
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -558,8 +574,11 @@ export namespace FlowUpdateResponse {
558
574
 
559
575
  export namespace Data {
560
576
  export interface Delivery {
561
- destination: 'one_drive' | 'google_drive';
577
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
562
578
 
579
+ /**
580
+ * not allowed when destination is mobilerun
581
+ */
563
582
  folder?: string;
564
583
 
565
584
  recording?: Delivery.Recording;
@@ -589,6 +608,8 @@ export namespace FlowListResponse {
589
608
  export interface Item {
590
609
  id: string;
591
610
 
611
+ agentId: string | null;
612
+
592
613
  archivedAt: string | null;
593
614
 
594
615
  blockedAt: string | null;
@@ -657,7 +678,7 @@ export namespace FlowListResponse {
657
678
  status: 'healthy' | 'failing' | 'blocked';
658
679
 
659
680
  /**
660
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
681
+ * Template-resolver semantics this flow runs under. 1 = legacy
661
682
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
662
683
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
663
684
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -677,8 +698,11 @@ export namespace FlowListResponse {
677
698
 
678
699
  export namespace Item {
679
700
  export interface Delivery {
680
- destination: 'one_drive' | 'google_drive';
701
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
681
702
 
703
+ /**
704
+ * not allowed when destination is mobilerun
705
+ */
682
706
  folder?: string;
683
707
 
684
708
  recording?: Delivery.Recording;
@@ -710,6 +734,8 @@ export namespace FlowActivateResponse {
710
734
  export interface Data {
711
735
  id: string;
712
736
 
737
+ agentId: string | null;
738
+
713
739
  archivedAt: string | null;
714
740
 
715
741
  blockedAt: string | null;
@@ -778,7 +804,7 @@ export namespace FlowActivateResponse {
778
804
  status: 'healthy' | 'failing' | 'blocked';
779
805
 
780
806
  /**
781
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
807
+ * Template-resolver semantics this flow runs under. 1 = legacy
782
808
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
783
809
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
784
810
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -798,8 +824,11 @@ export namespace FlowActivateResponse {
798
824
 
799
825
  export namespace Data {
800
826
  export interface Delivery {
801
- destination: 'one_drive' | 'google_drive';
827
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
802
828
 
829
+ /**
830
+ * not allowed when destination is mobilerun
831
+ */
803
832
  folder?: string;
804
833
 
805
834
  recording?: Delivery.Recording;
@@ -829,7 +858,7 @@ export namespace FlowCapacityResponse {
829
858
 
830
859
  remaining: number;
831
860
 
832
- status: 'available' | 'exhausted' | 'not_included';
861
+ status: 'available' | 'exhausted';
833
862
  }
834
863
  }
835
864
 
@@ -841,6 +870,8 @@ export namespace FlowCloneResponse {
841
870
  export interface Data {
842
871
  id: string;
843
872
 
873
+ agentId: string | null;
874
+
844
875
  archivedAt: string | null;
845
876
 
846
877
  blockedAt: string | null;
@@ -909,7 +940,7 @@ export namespace FlowCloneResponse {
909
940
  status: 'healthy' | 'failing' | 'blocked';
910
941
 
911
942
  /**
912
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
943
+ * Template-resolver semantics this flow runs under. 1 = legacy
913
944
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
914
945
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
915
946
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -929,8 +960,11 @@ export namespace FlowCloneResponse {
929
960
 
930
961
  export namespace Data {
931
962
  export interface Delivery {
932
- destination: 'one_drive' | 'google_drive';
963
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
933
964
 
965
+ /**
966
+ * not allowed when destination is mobilerun
967
+ */
934
968
  folder?: string;
935
969
 
936
970
  recording?: Delivery.Recording;
@@ -959,7 +993,7 @@ export namespace FlowDeliveryOptionsResponse {
959
993
  canDeliverRecording: boolean;
960
994
 
961
995
  /**
962
- * Delivery destinations in registry order.
996
+ * Delivery destinations in their canonical order.
963
997
  */
964
998
  destinations: Array<Data.Destination>;
965
999
 
@@ -978,7 +1012,7 @@ export namespace FlowDeliveryOptionsResponse {
978
1012
 
979
1013
  iconUrl: string | null;
980
1014
 
981
- key: 'one_drive' | 'google_drive';
1015
+ key: 'mobilerun' | 'one_drive' | 'google_drive';
982
1016
 
983
1017
  label: string;
984
1018
  }
@@ -1195,6 +1229,8 @@ export namespace FlowUnblockResponse {
1195
1229
  export interface Data {
1196
1230
  id: string;
1197
1231
 
1232
+ agentId: string | null;
1233
+
1198
1234
  archivedAt: string | null;
1199
1235
 
1200
1236
  blockedAt: string | null;
@@ -1263,7 +1299,7 @@ export namespace FlowUnblockResponse {
1263
1299
  status: 'healthy' | 'failing' | 'blocked';
1264
1300
 
1265
1301
  /**
1266
- * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
1302
+ * Template-resolver semantics this flow runs under. 1 = legacy
1267
1303
  * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
1268
1304
  * a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
1269
1305
  * as {{steps.<key>...}} instead of by name; trigger.payload is not available).
@@ -1283,8 +1319,11 @@ export namespace FlowUnblockResponse {
1283
1319
 
1284
1320
  export namespace Data {
1285
1321
  export interface Delivery {
1286
- destination: 'one_drive' | 'google_drive';
1322
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
1287
1323
 
1324
+ /**
1325
+ * not allowed when destination is mobilerun
1326
+ */
1288
1327
  folder?: string;
1289
1328
 
1290
1329
  recording?: Delivery.Recording;
@@ -1472,8 +1511,11 @@ export namespace FlowCreateParams {
1472
1511
  }
1473
1512
 
1474
1513
  export interface Delivery {
1475
- destination: 'one_drive' | 'google_drive';
1514
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
1476
1515
 
1516
+ /**
1517
+ * not allowed when destination is mobilerun
1518
+ */
1477
1519
  folder?: string;
1478
1520
 
1479
1521
  recording?: Delivery.Recording;
@@ -1537,8 +1579,11 @@ export interface FlowUpdateParams {
1537
1579
 
1538
1580
  export namespace FlowUpdateParams {
1539
1581
  export interface Delivery {
1540
- destination: 'one_drive' | 'google_drive';
1582
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
1541
1583
 
1584
+ /**
1585
+ * not allowed when destination is mobilerun
1586
+ */
1542
1587
  folder?: string;
1543
1588
 
1544
1589
  recording?: Delivery.Recording;
@@ -1558,6 +1603,12 @@ export namespace FlowUpdateParams {
1558
1603
  }
1559
1604
 
1560
1605
  export interface FlowListParams {
1606
+ /**
1607
+ * Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
1608
+ * capacity for unassigned.
1609
+ */
1610
+ agentId?: (string & {}) | 'unassigned';
1611
+
1561
1612
  createdBy?: string;
1562
1613
 
1563
1614
  /**
@@ -1589,6 +1640,14 @@ export interface FlowActivateParams {
1589
1640
  verificationExecutionId: string;
1590
1641
  }
1591
1642
 
1643
+ export interface FlowCapacityParams {
1644
+ /**
1645
+ * Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
1646
+ * capacity for unassigned.
1647
+ */
1648
+ agentId?: (string & {}) | 'unassigned';
1649
+ }
1650
+
1592
1651
  export interface FlowCloneParams {
1593
1652
  deviceIds?: Array<string>;
1594
1653
 
@@ -1600,6 +1659,13 @@ export interface FlowDryRunParams {
1600
1659
  }
1601
1660
 
1602
1661
  export interface FlowRunParams {
1662
+ /**
1663
+ * Record and keep this run's scripts.run screenshots
1664
+ * (device.screenshot(save=True)) even without flow delivery. Used for a one-off
1665
+ * proof run.
1666
+ */
1667
+ captureScreenshots?: boolean;
1668
+
1603
1669
  payload?: { [key: string]: unknown };
1604
1670
  }
1605
1671
 
@@ -1744,8 +1810,11 @@ export namespace FlowValidateParams {
1744
1810
  }
1745
1811
 
1746
1812
  export interface Delivery {
1747
- destination: 'one_drive' | 'google_drive';
1813
+ destination: 'mobilerun' | 'one_drive' | 'google_drive';
1748
1814
 
1815
+ /**
1816
+ * not allowed when destination is mobilerun
1817
+ */
1749
1818
  folder?: string;
1750
1819
 
1751
1820
  recording?: Delivery.Recording;
@@ -1806,6 +1875,7 @@ export declare namespace Flows {
1806
1875
  type FlowUpdateParams as FlowUpdateParams,
1807
1876
  type FlowListParams as FlowListParams,
1808
1877
  type FlowActivateParams as FlowActivateParams,
1878
+ type FlowCapacityParams as FlowCapacityParams,
1809
1879
  type FlowCloneParams as FlowCloneParams,
1810
1880
  type FlowDryRunParams as FlowDryRunParams,
1811
1881
  type FlowRunParams as FlowRunParams,
@@ -32,6 +32,7 @@ export {
32
32
  type FlowUpdateParams,
33
33
  type FlowListParams,
34
34
  type FlowActivateParams,
35
+ type FlowCapacityParams,
35
36
  type FlowCloneParams,
36
37
  type FlowDryRunParams,
37
38
  type FlowRunParams,
@@ -55,6 +55,7 @@ export {
55
55
  type FlowUpdateParams,
56
56
  type FlowListParams,
57
57
  type FlowActivateParams,
58
+ type FlowCapacityParams,
58
59
  type FlowCloneParams,
59
60
  type FlowDryRunParams,
60
61
  type FlowRunParams,
@@ -72,7 +72,7 @@ export class Triggers extends APIResource {
72
72
  * Payload validation:
73
73
  *
74
74
  * - If the trigger has a `customPayloadSchema`, the payload is validated against
75
- * it (JSON Schema via AJV).
75
+ * it (JSON Schema).
76
76
  * - If no schema is configured, the payload only needs to be a JSON object — any
77
77
  * keys and values are accepted.
78
78
  *
@@ -81,13 +81,11 @@ export class Triggers extends APIResource {
81
81
  *
82
82
  * Supports an optional `Idempotency-Key` header (1-255 printable ASCII
83
83
  * characters), which maps to the derived `invocationId` used for fan-out
84
- * deduplication (the deprecated `invocationId` body field wins when both are
85
- * supplied, and a mismatch between them is logged). The payload is bound to the
86
- * key on the first accepted fire, before fan-out. A repeat with the same key and
87
- * an identical payload returns 202 with `Idempotent-Replayed: true`
88
- * (`deduplicated: true` when flows were skipped; `enqueuedCount` counts only
89
- * executions enqueued by that call); a changed payload under the same key returns
90
- * 422 `idempotency_key_reused`.
84
+ * deduplication. The payload is bound to the key on the first accepted fire,
85
+ * before fan-out. A repeat with the same key and an identical payload returns 202
86
+ * with `Idempotent-Replayed: true` (`deduplicated: true` when flows were skipped;
87
+ * `enqueuedCount` counts only executions enqueued by that call); a changed payload
88
+ * under the same key returns 422 `idempotency_key_reused`.
91
89
  */
92
90
  fire(
93
91
  triggerID: string,
@@ -419,8 +417,8 @@ export interface TriggerDeleteResponse {
419
417
  export interface TriggerFireResponse {
420
418
  /**
421
419
  * True when at least one attached flow was skipped because it already had an
422
- * execution for this (flow, invocationId). Only ever true when the client supplied
423
- * invocationId.
420
+ * execution for this (flow, invocationId). Only ever true when the request carried
421
+ * an `Idempotency-Key`.
424
422
  */
425
423
  deduplicated: boolean;
426
424
 
@@ -432,9 +430,8 @@ export interface TriggerFireResponse {
432
430
  enqueuedCount: number;
433
431
 
434
432
  /**
435
- * Unique ID for this fire invocation (echoes the client-supplied invocationId, or
436
- * a generated one). Job IDs in the execution queue are derived from it (one per
437
- * enqueued flow).
433
+ * Unique ID for this fire invocation (derived from the `Idempotency-Key` header
434
+ * when one is sent, otherwise generated).
438
435
  */
439
436
  invocationId: string;
440
437
  }
@@ -58,6 +58,7 @@ import * as FlowsAPI from './flows/flows';
58
58
  import {
59
59
  FlowActivateParams,
60
60
  FlowActivateResponse,
61
+ FlowCapacityParams,
61
62
  FlowCapacityResponse,
62
63
  FlowCloneParams,
63
64
  FlowCloneResponse,
@@ -159,6 +160,7 @@ export declare namespace Workflows {
159
160
  type FlowUpdateParams as FlowUpdateParams,
160
161
  type FlowListParams as FlowListParams,
161
162
  type FlowActivateParams as FlowActivateParams,
163
+ type FlowCapacityParams as FlowCapacityParams,
162
164
  type FlowCloneParams as FlowCloneParams,
163
165
  type FlowDryRunParams as FlowDryRunParams,
164
166
  type FlowRunParams as FlowRunParams,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.6.0'; // x-release-please-version
1
+ export const VERSION = '6.0.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.6.0";
1
+ export declare const VERSION = "6.0.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.6.0";
1
+ export declare const VERSION = "6.0.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.6.0'; // x-release-please-version
4
+ exports.VERSION = '6.0.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.6.0'; // x-release-please-version
1
+ export const VERSION = '6.0.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map