@mobilerun/sdk 5.2.0 → 5.2.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 (577) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +15 -12
  3. package/client.d.mts +33 -15
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +33 -15
  6. package/client.d.ts.map +1 -1
  7. package/client.js +21 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +21 -3
  10. package/client.mjs.map +1 -1
  11. package/package.json +2 -2
  12. package/resources/agents.d.mts +27 -0
  13. package/resources/agents.d.mts.map +1 -0
  14. package/resources/agents.d.ts +27 -0
  15. package/resources/agents.d.ts.map +1 -0
  16. package/resources/agents.js +15 -0
  17. package/resources/agents.js.map +1 -0
  18. package/resources/agents.mjs +11 -0
  19. package/resources/agents.mjs.map +1 -0
  20. package/resources/app-events/app-events.d.mts +81 -0
  21. package/resources/app-events/app-events.d.mts.map +1 -0
  22. package/resources/app-events/app-events.d.ts +81 -0
  23. package/resources/app-events/app-events.d.ts.map +1 -0
  24. package/resources/app-events/app-events.js +33 -0
  25. package/resources/app-events/app-events.js.map +1 -0
  26. package/resources/app-events/app-events.mjs +28 -0
  27. package/resources/app-events/app-events.mjs.map +1 -0
  28. package/resources/app-events/catalog.d.mts +64 -0
  29. package/resources/app-events/catalog.d.mts.map +1 -0
  30. package/resources/app-events/catalog.d.ts +64 -0
  31. package/resources/app-events/catalog.d.ts.map +1 -0
  32. package/resources/app-events/catalog.js +25 -0
  33. package/resources/app-events/catalog.js.map +1 -0
  34. package/resources/app-events/catalog.mjs +21 -0
  35. package/resources/app-events/catalog.mjs.map +1 -0
  36. package/resources/app-events/index.d.mts +3 -0
  37. package/resources/app-events/index.d.mts.map +1 -0
  38. package/resources/app-events/index.d.ts +3 -0
  39. package/resources/app-events/index.d.ts.map +1 -0
  40. package/resources/{workflows/events → app-events}/index.js +3 -3
  41. package/resources/app-events/index.js.map +1 -0
  42. package/resources/{workflows/events → app-events}/index.mjs +1 -1
  43. package/resources/app-events/index.mjs.map +1 -0
  44. package/resources/app-events.d.mts +2 -0
  45. package/resources/app-events.d.mts.map +1 -0
  46. package/resources/app-events.d.ts +2 -0
  47. package/resources/app-events.d.ts.map +1 -0
  48. package/resources/app-events.js +6 -0
  49. package/resources/app-events.js.map +1 -0
  50. package/resources/app-events.mjs +3 -0
  51. package/resources/app-events.mjs.map +1 -0
  52. package/resources/apps.d.mts +32 -1
  53. package/resources/apps.d.mts.map +1 -1
  54. package/resources/apps.d.ts +32 -1
  55. package/resources/apps.d.ts.map +1 -1
  56. package/resources/apps.js +12 -0
  57. package/resources/apps.js.map +1 -1
  58. package/resources/apps.mjs +12 -0
  59. package/resources/apps.mjs.map +1 -1
  60. package/resources/credentials/credentials.d.mts +24 -4
  61. package/resources/credentials/credentials.d.mts.map +1 -1
  62. package/resources/credentials/credentials.d.ts +24 -4
  63. package/resources/credentials/credentials.d.ts.map +1 -1
  64. package/resources/credentials/credentials.js.map +1 -1
  65. package/resources/credentials/credentials.mjs.map +1 -1
  66. package/resources/credentials/index.d.mts +1 -1
  67. package/resources/credentials/index.d.mts.map +1 -1
  68. package/resources/credentials/index.d.ts +1 -1
  69. package/resources/credentials/index.d.ts.map +1 -1
  70. package/resources/credentials/index.js.map +1 -1
  71. package/resources/credentials/index.mjs.map +1 -1
  72. package/resources/credentials/packages/credentials/credentials.d.mts +67 -23
  73. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  74. package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
  75. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  76. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  77. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  78. package/resources/credentials/packages/credentials/fields.d.mts +66 -4
  79. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  80. package/resources/credentials/packages/credentials/fields.d.ts +66 -4
  81. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  82. package/resources/credentials/packages/credentials/fields.js.map +1 -1
  83. package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
  84. package/resources/credentials/packages/credentials/index.d.mts +1 -1
  85. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  86. package/resources/credentials/packages/credentials/index.d.ts +1 -1
  87. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  88. package/resources/credentials/packages/credentials/index.js.map +1 -1
  89. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  90. package/resources/credentials/packages/index.d.mts +2 -2
  91. package/resources/credentials/packages/index.d.mts.map +1 -1
  92. package/resources/credentials/packages/index.d.ts +2 -2
  93. package/resources/credentials/packages/index.d.ts.map +1 -1
  94. package/resources/credentials/packages/index.js.map +1 -1
  95. package/resources/credentials/packages/index.mjs.map +1 -1
  96. package/resources/credentials/packages/packages.d.mts +39 -4
  97. package/resources/credentials/packages/packages.d.mts.map +1 -1
  98. package/resources/credentials/packages/packages.d.ts +39 -4
  99. package/resources/credentials/packages/packages.d.ts.map +1 -1
  100. package/resources/credentials/packages/packages.js +8 -0
  101. package/resources/credentials/packages/packages.js.map +1 -1
  102. package/resources/credentials/packages/packages.mjs +8 -0
  103. package/resources/credentials/packages/packages.mjs.map +1 -1
  104. package/resources/devices/apps.d.mts +81 -1
  105. package/resources/devices/apps.d.mts.map +1 -1
  106. package/resources/devices/apps.d.ts +81 -1
  107. package/resources/devices/apps.d.ts.map +1 -1
  108. package/resources/devices/apps.js +59 -0
  109. package/resources/devices/apps.js.map +1 -1
  110. package/resources/devices/apps.mjs +59 -0
  111. package/resources/devices/apps.mjs.map +1 -1
  112. package/resources/devices/browser.d.mts +41 -0
  113. package/resources/devices/browser.d.mts.map +1 -0
  114. package/resources/devices/browser.d.ts +41 -0
  115. package/resources/devices/browser.d.ts.map +1 -0
  116. package/resources/devices/browser.js +31 -0
  117. package/resources/devices/browser.js.map +1 -0
  118. package/resources/devices/browser.mjs +27 -0
  119. package/resources/devices/browser.mjs.map +1 -0
  120. package/resources/devices/deep-link.d.mts +41 -0
  121. package/resources/devices/deep-link.d.mts.map +1 -0
  122. package/resources/devices/deep-link.d.ts +41 -0
  123. package/resources/devices/deep-link.d.ts.map +1 -0
  124. package/resources/devices/deep-link.js +33 -0
  125. package/resources/devices/deep-link.js.map +1 -0
  126. package/resources/devices/deep-link.mjs +29 -0
  127. package/resources/devices/deep-link.mjs.map +1 -0
  128. package/resources/devices/devices.d.mts +209 -19
  129. package/resources/devices/devices.d.mts.map +1 -1
  130. package/resources/devices/devices.d.ts +209 -19
  131. package/resources/devices/devices.d.ts.map +1 -1
  132. package/resources/devices/devices.js +55 -2
  133. package/resources/devices/devices.js.map +1 -1
  134. package/resources/devices/devices.mjs +55 -2
  135. package/resources/devices/devices.mjs.map +1 -1
  136. package/resources/devices/esim/apn.d.mts +95 -0
  137. package/resources/devices/esim/apn.d.mts.map +1 -0
  138. package/resources/devices/esim/apn.d.ts +95 -0
  139. package/resources/devices/esim/apn.d.ts.map +1 -0
  140. package/resources/devices/esim/apn.js +70 -0
  141. package/resources/devices/esim/apn.js.map +1 -0
  142. package/resources/devices/esim/apn.mjs +66 -0
  143. package/resources/devices/esim/apn.mjs.map +1 -0
  144. package/resources/devices/esim/esim.d.mts +144 -0
  145. package/resources/devices/esim/esim.d.mts.map +1 -0
  146. package/resources/devices/esim/esim.d.ts +144 -0
  147. package/resources/devices/esim/esim.d.ts.map +1 -0
  148. package/resources/devices/esim/esim.js +131 -0
  149. package/resources/devices/esim/esim.js.map +1 -0
  150. package/resources/devices/esim/esim.mjs +126 -0
  151. package/resources/devices/esim/esim.mjs.map +1 -0
  152. package/resources/devices/esim/index.d.mts +3 -0
  153. package/resources/devices/esim/index.d.mts.map +1 -0
  154. package/resources/devices/esim/index.d.ts +3 -0
  155. package/resources/devices/esim/index.d.ts.map +1 -0
  156. package/resources/devices/esim/index.js +9 -0
  157. package/resources/devices/esim/index.js.map +1 -0
  158. package/resources/devices/esim/index.mjs +4 -0
  159. package/resources/devices/esim/index.mjs.map +1 -0
  160. package/resources/devices/esim.d.mts +1 -102
  161. package/resources/devices/esim.d.mts.map +1 -1
  162. package/resources/devices/esim.d.ts +1 -102
  163. package/resources/devices/esim.d.ts.map +1 -1
  164. package/resources/devices/esim.js +2 -82
  165. package/resources/devices/esim.js.map +1 -1
  166. package/resources/devices/esim.mjs +1 -80
  167. package/resources/devices/esim.mjs.map +1 -1
  168. package/resources/devices/files.d.mts +31 -29
  169. package/resources/devices/files.d.mts.map +1 -1
  170. package/resources/devices/files.d.ts +31 -29
  171. package/resources/devices/files.d.ts.map +1 -1
  172. package/resources/devices/index.d.mts +11 -6
  173. package/resources/devices/index.d.mts.map +1 -1
  174. package/resources/devices/index.d.ts +11 -6
  175. package/resources/devices/index.d.ts.map +1 -1
  176. package/resources/devices/index.js +13 -3
  177. package/resources/devices/index.js.map +1 -1
  178. package/resources/devices/index.mjs +7 -2
  179. package/resources/devices/index.mjs.map +1 -1
  180. package/resources/devices/kiosk.d.mts +32 -0
  181. package/resources/devices/kiosk.d.mts.map +1 -0
  182. package/resources/devices/kiosk.d.ts +32 -0
  183. package/resources/devices/kiosk.d.ts.map +1 -0
  184. package/resources/devices/kiosk.js +50 -0
  185. package/resources/devices/kiosk.js.map +1 -0
  186. package/resources/devices/kiosk.mjs +46 -0
  187. package/resources/devices/kiosk.mjs.map +1 -0
  188. package/resources/devices/location.d.mts +9 -1
  189. package/resources/devices/location.d.mts.map +1 -1
  190. package/resources/devices/location.d.ts +9 -1
  191. package/resources/devices/location.d.ts.map +1 -1
  192. package/resources/devices/location.js +19 -0
  193. package/resources/devices/location.js.map +1 -1
  194. package/resources/devices/location.mjs +19 -0
  195. package/resources/devices/location.mjs.map +1 -1
  196. package/resources/devices/media-sessions.d.mts +96 -0
  197. package/resources/devices/media-sessions.d.mts.map +1 -0
  198. package/resources/devices/media-sessions.d.ts +96 -0
  199. package/resources/devices/media-sessions.d.ts.map +1 -0
  200. package/resources/devices/media-sessions.js +50 -0
  201. package/resources/devices/media-sessions.js.map +1 -0
  202. package/resources/devices/media-sessions.mjs +46 -0
  203. package/resources/devices/media-sessions.mjs.map +1 -0
  204. package/resources/devices/recordings.d.mts +192 -0
  205. package/resources/devices/recordings.d.mts.map +1 -0
  206. package/resources/devices/recordings.d.ts +192 -0
  207. package/resources/devices/recordings.d.ts.map +1 -0
  208. package/resources/devices/recordings.js +67 -0
  209. package/resources/devices/recordings.js.map +1 -0
  210. package/resources/devices/recordings.mjs +63 -0
  211. package/resources/devices/recordings.mjs.map +1 -0
  212. package/resources/devices/state.d.mts +6 -7
  213. package/resources/devices/state.d.mts.map +1 -1
  214. package/resources/devices/state.d.ts +6 -7
  215. package/resources/devices/state.d.ts.map +1 -1
  216. package/resources/devices/state.js.map +1 -1
  217. package/resources/devices/state.mjs.map +1 -1
  218. package/resources/devices/tasks.d.mts +8 -2
  219. package/resources/devices/tasks.d.mts.map +1 -1
  220. package/resources/devices/tasks.d.ts +8 -2
  221. package/resources/devices/tasks.d.ts.map +1 -1
  222. package/resources/devices/tasks.js.map +1 -1
  223. package/resources/devices/tasks.mjs.map +1 -1
  224. package/resources/esims/esims.d.mts +566 -0
  225. package/resources/esims/esims.d.mts.map +1 -0
  226. package/resources/esims/esims.d.ts +566 -0
  227. package/resources/esims/esims.d.ts.map +1 -0
  228. package/resources/esims/esims.js +205 -0
  229. package/resources/esims/esims.js.map +1 -0
  230. package/resources/esims/esims.mjs +200 -0
  231. package/resources/esims/esims.mjs.map +1 -0
  232. package/resources/esims/index.d.mts +3 -0
  233. package/resources/esims/index.d.mts.map +1 -0
  234. package/resources/esims/index.d.ts +3 -0
  235. package/resources/esims/index.d.ts.map +1 -0
  236. package/resources/esims/index.js +9 -0
  237. package/resources/esims/index.js.map +1 -0
  238. package/resources/esims/index.mjs +4 -0
  239. package/resources/esims/index.mjs.map +1 -0
  240. package/resources/esims/messages.d.mts +111 -0
  241. package/resources/esims/messages.d.mts.map +1 -0
  242. package/resources/esims/messages.d.ts +111 -0
  243. package/resources/esims/messages.d.ts.map +1 -0
  244. package/resources/esims/messages.js +37 -0
  245. package/resources/esims/messages.js.map +1 -0
  246. package/resources/esims/messages.mjs +33 -0
  247. package/resources/esims/messages.mjs.map +1 -0
  248. package/resources/esims.d.mts +2 -0
  249. package/resources/esims.d.mts.map +1 -0
  250. package/resources/esims.d.ts +2 -0
  251. package/resources/esims.d.ts.map +1 -0
  252. package/resources/esims.js +6 -0
  253. package/resources/esims.js.map +1 -0
  254. package/resources/esims.mjs +3 -0
  255. package/resources/esims.mjs.map +1 -0
  256. package/resources/index.d.mts +12 -6
  257. package/resources/index.d.mts.map +1 -1
  258. package/resources/index.d.ts +12 -6
  259. package/resources/index.d.ts.map +1 -1
  260. package/resources/index.js +15 -3
  261. package/resources/index.js.map +1 -1
  262. package/resources/index.mjs +7 -1
  263. package/resources/index.mjs.map +1 -1
  264. package/resources/messages/conversations.d.mts +87 -0
  265. package/resources/messages/conversations.d.mts.map +1 -0
  266. package/resources/messages/conversations.d.ts +87 -0
  267. package/resources/messages/conversations.d.ts.map +1 -0
  268. package/resources/messages/conversations.js +34 -0
  269. package/resources/messages/conversations.js.map +1 -0
  270. package/resources/messages/conversations.mjs +30 -0
  271. package/resources/messages/conversations.mjs.map +1 -0
  272. package/resources/messages/index.d.mts +3 -0
  273. package/resources/messages/index.d.mts.map +1 -0
  274. package/resources/messages/index.d.ts +3 -0
  275. package/resources/messages/index.d.ts.map +1 -0
  276. package/resources/messages/index.js +9 -0
  277. package/resources/messages/index.js.map +1 -0
  278. package/resources/messages/index.mjs +4 -0
  279. package/resources/messages/index.mjs.map +1 -0
  280. package/resources/messages/messages.d.mts +56 -0
  281. package/resources/messages/messages.d.mts.map +1 -0
  282. package/resources/messages/messages.d.ts +56 -0
  283. package/resources/messages/messages.d.ts.map +1 -0
  284. package/resources/messages/messages.js +26 -0
  285. package/resources/messages/messages.js.map +1 -0
  286. package/resources/messages/messages.mjs +21 -0
  287. package/resources/messages/messages.mjs.map +1 -0
  288. package/resources/messages.d.mts +2 -0
  289. package/resources/messages.d.mts.map +1 -0
  290. package/resources/messages.d.ts +2 -0
  291. package/resources/messages.d.ts.map +1 -0
  292. package/resources/messages.js +6 -0
  293. package/resources/messages.js.map +1 -0
  294. package/resources/messages.mjs +3 -0
  295. package/resources/messages.mjs.map +1 -0
  296. package/resources/notifications.d.mts +86 -0
  297. package/resources/notifications.d.mts.map +1 -0
  298. package/resources/notifications.d.ts +86 -0
  299. package/resources/notifications.d.ts.map +1 -0
  300. package/resources/notifications.js +55 -0
  301. package/resources/notifications.js.map +1 -0
  302. package/resources/notifications.mjs +51 -0
  303. package/resources/notifications.mjs.map +1 -0
  304. package/resources/numbers/index.d.mts +3 -0
  305. package/resources/numbers/index.d.mts.map +1 -0
  306. package/resources/numbers/index.d.ts +3 -0
  307. package/resources/numbers/index.d.ts.map +1 -0
  308. package/resources/numbers/index.js +9 -0
  309. package/resources/numbers/index.js.map +1 -0
  310. package/resources/numbers/index.mjs +4 -0
  311. package/resources/numbers/index.mjs.map +1 -0
  312. package/resources/numbers/messages.d.mts +60 -0
  313. package/resources/numbers/messages.d.mts.map +1 -0
  314. package/resources/numbers/messages.d.ts +60 -0
  315. package/resources/numbers/messages.d.ts.map +1 -0
  316. package/resources/numbers/messages.js +25 -0
  317. package/resources/numbers/messages.js.map +1 -0
  318. package/resources/numbers/messages.mjs +21 -0
  319. package/resources/numbers/messages.mjs.map +1 -0
  320. package/resources/numbers/numbers.d.mts +222 -0
  321. package/resources/numbers/numbers.d.mts.map +1 -0
  322. package/resources/numbers/numbers.d.ts +222 -0
  323. package/resources/numbers/numbers.d.ts.map +1 -0
  324. package/resources/numbers/numbers.js +117 -0
  325. package/resources/numbers/numbers.js.map +1 -0
  326. package/resources/numbers/numbers.mjs +112 -0
  327. package/resources/numbers/numbers.mjs.map +1 -0
  328. package/resources/numbers.d.mts +2 -0
  329. package/resources/numbers.d.mts.map +1 -0
  330. package/resources/numbers.d.ts +2 -0
  331. package/resources/numbers.d.ts.map +1 -0
  332. package/resources/numbers.js +6 -0
  333. package/resources/numbers.js.map +1 -0
  334. package/resources/numbers.mjs +3 -0
  335. package/resources/numbers.mjs.map +1 -0
  336. package/resources/proxies.d.mts +43 -20
  337. package/resources/proxies.d.mts.map +1 -1
  338. package/resources/proxies.d.ts +43 -20
  339. package/resources/proxies.d.ts.map +1 -1
  340. package/resources/proxies.js.map +1 -1
  341. package/resources/proxies.mjs.map +1 -1
  342. package/resources/shared.d.mts +11 -3
  343. package/resources/shared.d.mts.map +1 -1
  344. package/resources/shared.d.ts +11 -3
  345. package/resources/shared.d.ts.map +1 -1
  346. package/resources/store/apps.d.mts +119 -0
  347. package/resources/store/apps.d.mts.map +1 -0
  348. package/resources/store/apps.d.ts +119 -0
  349. package/resources/store/apps.d.ts.map +1 -0
  350. package/resources/store/apps.js +31 -0
  351. package/resources/store/apps.js.map +1 -0
  352. package/resources/store/apps.mjs +27 -0
  353. package/resources/store/apps.mjs.map +1 -0
  354. package/resources/store/index.d.mts +3 -0
  355. package/resources/store/index.d.mts.map +1 -0
  356. package/resources/store/index.d.ts +3 -0
  357. package/resources/store/index.d.ts.map +1 -0
  358. package/resources/store/index.js +9 -0
  359. package/resources/store/index.js.map +1 -0
  360. package/resources/store/index.mjs +4 -0
  361. package/resources/store/index.mjs.map +1 -0
  362. package/resources/store/store.d.mts +20 -0
  363. package/resources/store/store.d.mts.map +1 -0
  364. package/resources/store/store.d.ts +20 -0
  365. package/resources/store/store.d.ts.map +1 -0
  366. package/resources/store/store.js +23 -0
  367. package/resources/store/store.js.map +1 -0
  368. package/resources/store/store.mjs +18 -0
  369. package/resources/store/store.mjs.map +1 -0
  370. package/resources/store.d.mts +2 -0
  371. package/resources/store.d.mts.map +1 -0
  372. package/resources/store.d.ts +2 -0
  373. package/resources/store.d.ts.map +1 -0
  374. package/resources/store.js +6 -0
  375. package/resources/store.js.map +1 -0
  376. package/resources/store.mjs +3 -0
  377. package/resources/store.mjs.map +1 -0
  378. package/resources/tasks/index.d.mts +3 -3
  379. package/resources/tasks/index.d.mts.map +1 -1
  380. package/resources/tasks/index.d.ts +3 -3
  381. package/resources/tasks/index.d.ts.map +1 -1
  382. package/resources/tasks/index.js.map +1 -1
  383. package/resources/tasks/index.mjs +1 -1
  384. package/resources/tasks/index.mjs.map +1 -1
  385. package/resources/tasks/screenshots.d.mts +3 -3
  386. package/resources/tasks/screenshots.d.mts.map +1 -1
  387. package/resources/tasks/screenshots.d.ts +3 -3
  388. package/resources/tasks/screenshots.d.ts.map +1 -1
  389. package/resources/tasks/tasks.d.mts +65 -34
  390. package/resources/tasks/tasks.d.mts.map +1 -1
  391. package/resources/tasks/tasks.d.ts +65 -34
  392. package/resources/tasks/tasks.d.ts.map +1 -1
  393. package/resources/tasks/tasks.js.map +1 -1
  394. package/resources/tasks/tasks.mjs +1 -1
  395. package/resources/tasks/tasks.mjs.map +1 -1
  396. package/resources/tasks/ui-states.d.mts +8 -3
  397. package/resources/tasks/ui-states.d.mts.map +1 -1
  398. package/resources/tasks/ui-states.d.ts +8 -3
  399. package/resources/tasks/ui-states.d.ts.map +1 -1
  400. package/resources/tasks/ui-states.js.map +1 -1
  401. package/resources/tasks/ui-states.mjs.map +1 -1
  402. package/resources/workflows/action-catalog.d.mts +27 -13
  403. package/resources/workflows/action-catalog.d.mts.map +1 -1
  404. package/resources/workflows/action-catalog.d.ts +27 -13
  405. package/resources/workflows/action-catalog.d.ts.map +1 -1
  406. package/resources/workflows/actions/actions.d.mts +85 -23
  407. package/resources/workflows/actions/actions.d.mts.map +1 -1
  408. package/resources/workflows/actions/actions.d.ts +85 -23
  409. package/resources/workflows/actions/actions.d.ts.map +1 -1
  410. package/resources/workflows/actions/actions.js.map +1 -1
  411. package/resources/workflows/actions/actions.mjs.map +1 -1
  412. package/resources/workflows/actions/index.d.mts +1 -1
  413. package/resources/workflows/actions/index.d.mts.map +1 -1
  414. package/resources/workflows/actions/index.d.ts +1 -1
  415. package/resources/workflows/actions/index.d.ts.map +1 -1
  416. package/resources/workflows/actions/index.js.map +1 -1
  417. package/resources/workflows/actions/index.mjs.map +1 -1
  418. package/resources/workflows/events.d.mts +144 -1
  419. package/resources/workflows/events.d.mts.map +1 -1
  420. package/resources/workflows/events.d.ts +144 -1
  421. package/resources/workflows/events.d.ts.map +1 -1
  422. package/resources/workflows/events.js +18 -2
  423. package/resources/workflows/events.js.map +1 -1
  424. package/resources/workflows/events.mjs +16 -1
  425. package/resources/workflows/events.mjs.map +1 -1
  426. package/resources/workflows/executions.d.mts +75 -26
  427. package/resources/workflows/executions.d.mts.map +1 -1
  428. package/resources/workflows/executions.d.ts +75 -26
  429. package/resources/workflows/executions.d.ts.map +1 -1
  430. package/resources/workflows/executions.js +7 -0
  431. package/resources/workflows/executions.js.map +1 -1
  432. package/resources/workflows/executions.mjs +7 -0
  433. package/resources/workflows/executions.mjs.map +1 -1
  434. package/resources/workflows/flows/actions.d.mts +109 -26
  435. package/resources/workflows/flows/actions.d.mts.map +1 -1
  436. package/resources/workflows/flows/actions.d.ts +109 -26
  437. package/resources/workflows/flows/actions.d.ts.map +1 -1
  438. package/resources/workflows/flows/actions.js.map +1 -1
  439. package/resources/workflows/flows/actions.mjs.map +1 -1
  440. package/resources/workflows/flows/flows.d.mts +373 -25
  441. package/resources/workflows/flows/flows.d.mts.map +1 -1
  442. package/resources/workflows/flows/flows.d.ts +373 -25
  443. package/resources/workflows/flows/flows.d.ts.map +1 -1
  444. package/resources/workflows/flows/flows.js +25 -0
  445. package/resources/workflows/flows/flows.js.map +1 -1
  446. package/resources/workflows/flows/flows.mjs +25 -0
  447. package/resources/workflows/flows/flows.mjs.map +1 -1
  448. package/resources/workflows/flows/index.d.mts +2 -2
  449. package/resources/workflows/flows/index.d.mts.map +1 -1
  450. package/resources/workflows/flows/index.d.ts +2 -2
  451. package/resources/workflows/flows/index.d.ts.map +1 -1
  452. package/resources/workflows/flows/index.js.map +1 -1
  453. package/resources/workflows/flows/index.mjs.map +1 -1
  454. package/resources/workflows/index.d.mts +6 -6
  455. package/resources/workflows/index.d.mts.map +1 -1
  456. package/resources/workflows/index.d.ts +6 -6
  457. package/resources/workflows/index.d.ts.map +1 -1
  458. package/resources/workflows/index.js +4 -4
  459. package/resources/workflows/index.js.map +1 -1
  460. package/resources/workflows/index.mjs +1 -1
  461. package/resources/workflows/index.mjs.map +1 -1
  462. package/resources/workflows/triggers.d.mts +6 -3
  463. package/resources/workflows/triggers.d.mts.map +1 -1
  464. package/resources/workflows/triggers.d.ts +6 -3
  465. package/resources/workflows/triggers.d.ts.map +1 -1
  466. package/resources/workflows/workflows.d.mts +10 -48
  467. package/resources/workflows/workflows.d.mts.map +1 -1
  468. package/resources/workflows/workflows.d.ts +10 -48
  469. package/resources/workflows/workflows.d.ts.map +1 -1
  470. package/resources/workflows/workflows.js +2 -2
  471. package/resources/workflows/workflows.js.map +1 -1
  472. package/resources/workflows/workflows.mjs +2 -2
  473. package/resources/workflows/workflows.mjs.map +1 -1
  474. package/src/client.ts +131 -21
  475. package/src/resources/agents.ts +42 -0
  476. package/src/resources/app-events/app-events.ts +133 -0
  477. package/src/resources/app-events/catalog.ts +100 -0
  478. package/src/resources/app-events/index.ts +9 -0
  479. package/src/resources/app-events.ts +3 -0
  480. package/src/resources/apps.ts +39 -0
  481. package/src/resources/credentials/credentials.ts +40 -2
  482. package/src/resources/credentials/index.ts +1 -0
  483. package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
  484. package/src/resources/credentials/packages/credentials/fields.ts +114 -4
  485. package/src/resources/credentials/packages/credentials/index.ts +0 -1
  486. package/src/resources/credentials/packages/index.ts +1 -1
  487. package/src/resources/credentials/packages/packages.ts +58 -3
  488. package/src/resources/devices/apps.ts +155 -0
  489. package/src/resources/devices/browser.ts +71 -0
  490. package/src/resources/devices/deep-link.ts +70 -0
  491. package/src/resources/devices/devices.ts +414 -23
  492. package/src/resources/devices/esim/apn.ts +178 -0
  493. package/src/resources/devices/esim/esim.ts +312 -0
  494. package/src/resources/devices/esim/index.ts +21 -0
  495. package/src/resources/devices/esim.ts +1 -208
  496. package/src/resources/devices/files.ts +36 -35
  497. package/src/resources/devices/index.ts +45 -5
  498. package/src/resources/devices/kiosk.ts +74 -0
  499. package/src/resources/devices/location.ts +33 -1
  500. package/src/resources/devices/media-sessions.ts +168 -0
  501. package/src/resources/devices/recordings.ts +358 -0
  502. package/src/resources/devices/state.ts +7 -9
  503. package/src/resources/devices/tasks.ts +11 -2
  504. package/src/resources/esims/esims.ts +1013 -0
  505. package/src/resources/esims/index.ts +27 -0
  506. package/src/resources/esims/messages.ts +193 -0
  507. package/src/resources/esims.ts +3 -0
  508. package/src/resources/index.ts +52 -8
  509. package/src/resources/messages/conversations.ts +138 -0
  510. package/src/resources/messages/index.ts +10 -0
  511. package/src/resources/messages/messages.ts +120 -0
  512. package/src/resources/messages.ts +3 -0
  513. package/src/resources/notifications.ts +118 -0
  514. package/src/resources/numbers/index.ts +14 -0
  515. package/src/resources/numbers/messages.ts +102 -0
  516. package/src/resources/numbers/numbers.ts +339 -0
  517. package/src/resources/numbers.ts +3 -0
  518. package/src/resources/proxies.ts +52 -22
  519. package/src/resources/shared.ts +18 -4
  520. package/src/resources/store/apps.ts +704 -0
  521. package/src/resources/store/index.ts +10 -0
  522. package/src/resources/store/store.ts +36 -0
  523. package/src/resources/store.ts +3 -0
  524. package/src/resources/tasks/index.ts +7 -6
  525. package/src/resources/tasks/screenshots.ts +3 -3
  526. package/src/resources/tasks/tasks.ts +89 -53
  527. package/src/resources/tasks/ui-states.ts +9 -2
  528. package/src/resources/workflows/action-catalog.ts +35 -14
  529. package/src/resources/workflows/actions/actions.ts +124 -24
  530. package/src/resources/workflows/actions/index.ts +0 -1
  531. package/src/resources/workflows/events.ts +226 -1
  532. package/src/resources/workflows/executions.ts +112 -35
  533. package/src/resources/workflows/flows/actions.ts +129 -25
  534. package/src/resources/workflows/flows/flows.ts +622 -24
  535. package/src/resources/workflows/flows/index.ts +3 -3
  536. package/src/resources/workflows/index.ts +6 -7
  537. package/src/resources/workflows/triggers.ts +6 -3
  538. package/src/resources/workflows/workflows.ts +16 -90
  539. package/src/version.ts +1 -1
  540. package/version.d.mts +1 -1
  541. package/version.d.ts +1 -1
  542. package/version.js +1 -1
  543. package/version.mjs +1 -1
  544. package/resources/hooks.d.mts +0 -4
  545. package/resources/hooks.d.mts.map +0 -1
  546. package/resources/hooks.d.ts +0 -4
  547. package/resources/hooks.d.ts.map +0 -1
  548. package/resources/hooks.js +0 -9
  549. package/resources/hooks.js.map +0 -1
  550. package/resources/hooks.mjs +0 -5
  551. package/resources/hooks.mjs.map +0 -1
  552. package/resources/workflows/events/catalog.d.mts +0 -4
  553. package/resources/workflows/events/catalog.d.mts.map +0 -1
  554. package/resources/workflows/events/catalog.d.ts +0 -4
  555. package/resources/workflows/events/catalog.d.ts.map +0 -1
  556. package/resources/workflows/events/catalog.js +0 -9
  557. package/resources/workflows/events/catalog.js.map +0 -1
  558. package/resources/workflows/events/catalog.mjs +0 -5
  559. package/resources/workflows/events/catalog.mjs.map +0 -1
  560. package/resources/workflows/events/events.d.mts +0 -113
  561. package/resources/workflows/events/events.d.mts.map +0 -1
  562. package/resources/workflows/events/events.d.ts +0 -113
  563. package/resources/workflows/events/events.d.ts.map +0 -1
  564. package/resources/workflows/events/events.js +0 -30
  565. package/resources/workflows/events/events.js.map +0 -1
  566. package/resources/workflows/events/events.mjs +0 -25
  567. package/resources/workflows/events/events.mjs.map +0 -1
  568. package/resources/workflows/events/index.d.mts +0 -3
  569. package/resources/workflows/events/index.d.mts.map +0 -1
  570. package/resources/workflows/events/index.d.ts +0 -3
  571. package/resources/workflows/events/index.d.ts.map +0 -1
  572. package/resources/workflows/events/index.js.map +0 -1
  573. package/resources/workflows/events/index.mjs.map +0 -1
  574. package/src/resources/hooks.ts +0 -5
  575. package/src/resources/workflows/events/catalog.ts +0 -5
  576. package/src/resources/workflows/events/events.ts +0 -167
  577. package/src/resources/workflows/events/index.ts +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,kCAA+B"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;CAChC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC7B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,WAAW;YAC1B,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;YAEvB,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC;YAEzB,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC;YAE7B,SAAS,EAAE,OAAO,CAAC;SACpB;QAED,UAAiB,WAAW,CAAC;YAC3B,UAAiB,MAAM;gBACrB,eAAe,EAAE,OAAO,CAAC;gBAEzB,MAAM,EAAE,MAAM,CAAC;gBAEf,IAAI,EAAE,MAAM,CAAC;gBAEb,OAAO,EAAE,WAAW,GAAG,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CAAC;gBAEd,OAAO,EAAE,MAAM,CAAC;aACjB;SACF;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,6 +1,22 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- const tslib_1 = require("../../internal/tslib.js");
5
- tslib_1.__exportStar(require("./events/index.js"), exports);
4
+ exports.Events = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ class Events extends resource_1.APIResource {
7
+ /**
8
+ * Simulate an event against all configured flows. Returns which flows would match
9
+ * and what actions would run, without storing the event or enqueuing jobs.
10
+ */
11
+ dryRun(body, options) {
12
+ return this._client.post('/events/dry-run', { body, ...options });
13
+ }
14
+ /**
15
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
16
+ */
17
+ ingest(body, options) {
18
+ return this._client.post('/events/ingest', { body, ...options });
19
+ }
20
+ }
21
+ exports.Events = Events;
6
22
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAfD,wBAeC"}
@@ -1,3 +1,18 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./events/index.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ export class Events extends APIResource {
4
+ /**
5
+ * Simulate an event against all configured flows. Returns which flows would match
6
+ * and what actions would run, without storing the event or enqueuing jobs.
7
+ */
8
+ dryRun(body, options) {
9
+ return this._client.post('/events/dry-run', { body, ...options });
10
+ }
11
+ /**
12
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
13
+ */
14
+ ingest(body, options) {
15
+ return this._client.post('/events/ingest', { body, ...options });
16
+ }
17
+ }
3
18
  //# sourceMappingURL=events.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,mCAA+B"}
1
+ {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -1,5 +1,4 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
- import * as ExecutionsAPI from "./executions.mjs";
3
2
  import * as Shared from "../shared.mjs";
4
3
  import { APIPromise } from "../../core/api-promise.mjs";
5
4
  import { RequestOptions } from "../../internal/request-options.mjs";
@@ -15,6 +14,11 @@ export declare class Executions extends APIResource {
15
14
  * ordering by startedAt, finishedAt, or status.
16
15
  */
17
16
  list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
17
+ /**
18
+ * Signals the worker to stop the execution between steps and marks it cancelled.
19
+ * Idempotent-ish: already-terminal executions return 409.
20
+ */
21
+ abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
18
22
  /**
19
23
  * Return aggregate execution metrics — total count, counts by status, average
20
24
  * duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
@@ -22,40 +26,38 @@ export declare class Executions extends APIResource {
22
26
  */
23
27
  getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
24
28
  }
25
- export interface FlowExecution {
26
- id: string;
27
- error: string | null;
28
- eventId: string | null;
29
- finishedAt: string | null;
30
- flowId: string;
31
- flowName: string | null;
32
- kind: 'live' | 'dry_run';
33
- startedAt: string | null;
34
- status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
35
- triggerId: string;
36
- triggerName: string | null;
37
- /**
38
- * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
39
- * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
40
- * step that opted into a verdict — null otherwise. Table-backed steps (current
41
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
42
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
43
- * clients must not assume its presence.
44
- */
45
- result?: unknown;
46
- }
47
29
  export interface ExecutionRetrieveResponse {
48
30
  data: ExecutionRetrieveResponse.Data;
49
31
  }
50
32
  export declare namespace ExecutionRetrieveResponse {
51
- interface Data extends ExecutionsAPI.FlowExecution {
33
+ interface Data {
34
+ id: string;
52
35
  createdBy: string | null;
36
+ error: string | null;
37
+ eventId: string | null;
53
38
  /**
54
39
  * Files produced by files.upload steps, plus files an agent.run step reported on
55
40
  * its terminal response (agent-created output or a workflow upload minted during
56
41
  * the turn); derived server-side at read time.
57
42
  */
58
43
  files: Array<Data.File>;
44
+ finishedAt: string | null;
45
+ flowId: string;
46
+ flowName: string | null;
47
+ kind: 'live' | 'dry_run';
48
+ startedAt: string | null;
49
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
50
+ triggerId: string;
51
+ triggerName: string | null;
52
+ /**
53
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
54
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
55
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
56
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
57
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
58
+ * clients must not assume its presence.
59
+ */
60
+ result?: unknown;
59
61
  }
60
62
  namespace Data {
61
63
  interface File {
@@ -71,8 +73,55 @@ export interface ExecutionListResponse {
71
73
  pagination: Shared.Pagination;
72
74
  }
73
75
  export declare namespace ExecutionListResponse {
74
- interface Item extends ExecutionsAPI.FlowExecution {
76
+ interface Item {
77
+ id: string;
75
78
  createdBy: string | null;
79
+ error: string | null;
80
+ eventId: string | null;
81
+ finishedAt: string | null;
82
+ flowId: string;
83
+ flowName: string | null;
84
+ kind: 'live' | 'dry_run';
85
+ startedAt: string | null;
86
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
87
+ triggerId: string;
88
+ triggerName: string | null;
89
+ /**
90
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
91
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
92
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
93
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
94
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
95
+ * clients must not assume its presence.
96
+ */
97
+ result?: unknown;
98
+ }
99
+ }
100
+ export interface ExecutionAbortResponse {
101
+ data: ExecutionAbortResponse.Data;
102
+ }
103
+ export declare namespace ExecutionAbortResponse {
104
+ interface Data {
105
+ id: string;
106
+ error: string | null;
107
+ eventId: string | null;
108
+ finishedAt: string | null;
109
+ flowId: string;
110
+ flowName: string | null;
111
+ kind: 'live' | 'dry_run';
112
+ startedAt: string | null;
113
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
114
+ triggerId: string;
115
+ triggerName: string | null;
116
+ /**
117
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
118
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
119
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
120
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
121
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
122
+ * clients must not assume its presence.
123
+ */
124
+ result?: unknown;
76
125
  }
77
126
  }
78
127
  export interface ExecutionGetMetricsResponse {
@@ -116,6 +165,6 @@ export interface ExecutionGetMetricsParams {
116
165
  triggerId?: string;
117
166
  }
118
167
  export declare namespace Executions {
119
- export { type FlowExecution as FlowExecution, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
168
+ export { type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
120
169
  }
121
170
  //# sourceMappingURL=executions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executions.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;;OAIG;IACH,UAAU,CACR,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAA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G,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,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;CACH"}
@@ -1,5 +1,4 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
- import * as ExecutionsAPI from "./executions.js";
3
2
  import * as Shared from "../shared.js";
4
3
  import { APIPromise } from "../../core/api-promise.js";
5
4
  import { RequestOptions } from "../../internal/request-options.js";
@@ -15,6 +14,11 @@ export declare class Executions extends APIResource {
15
14
  * ordering by startedAt, finishedAt, or status.
16
15
  */
17
16
  list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
17
+ /**
18
+ * Signals the worker to stop the execution between steps and marks it cancelled.
19
+ * Idempotent-ish: already-terminal executions return 409.
20
+ */
21
+ abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
18
22
  /**
19
23
  * Return aggregate execution metrics — total count, counts by status, average
20
24
  * duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
@@ -22,40 +26,38 @@ export declare class Executions extends APIResource {
22
26
  */
23
27
  getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
24
28
  }
25
- export interface FlowExecution {
26
- id: string;
27
- error: string | null;
28
- eventId: string | null;
29
- finishedAt: string | null;
30
- flowId: string;
31
- flowName: string | null;
32
- kind: 'live' | 'dry_run';
33
- startedAt: string | null;
34
- status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
35
- triggerId: string;
36
- triggerName: string | null;
37
- /**
38
- * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
39
- * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
40
- * step that opted into a verdict — null otherwise. Table-backed steps (current
41
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
42
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
43
- * clients must not assume its presence.
44
- */
45
- result?: unknown;
46
- }
47
29
  export interface ExecutionRetrieveResponse {
48
30
  data: ExecutionRetrieveResponse.Data;
49
31
  }
50
32
  export declare namespace ExecutionRetrieveResponse {
51
- interface Data extends ExecutionsAPI.FlowExecution {
33
+ interface Data {
34
+ id: string;
52
35
  createdBy: string | null;
36
+ error: string | null;
37
+ eventId: string | null;
53
38
  /**
54
39
  * Files produced by files.upload steps, plus files an agent.run step reported on
55
40
  * its terminal response (agent-created output or a workflow upload minted during
56
41
  * the turn); derived server-side at read time.
57
42
  */
58
43
  files: Array<Data.File>;
44
+ finishedAt: string | null;
45
+ flowId: string;
46
+ flowName: string | null;
47
+ kind: 'live' | 'dry_run';
48
+ startedAt: string | null;
49
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
50
+ triggerId: string;
51
+ triggerName: string | null;
52
+ /**
53
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
54
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
55
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
56
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
57
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
58
+ * clients must not assume its presence.
59
+ */
60
+ result?: unknown;
59
61
  }
60
62
  namespace Data {
61
63
  interface File {
@@ -71,8 +73,55 @@ export interface ExecutionListResponse {
71
73
  pagination: Shared.Pagination;
72
74
  }
73
75
  export declare namespace ExecutionListResponse {
74
- interface Item extends ExecutionsAPI.FlowExecution {
76
+ interface Item {
77
+ id: string;
75
78
  createdBy: string | null;
79
+ error: string | null;
80
+ eventId: string | null;
81
+ finishedAt: string | null;
82
+ flowId: string;
83
+ flowName: string | null;
84
+ kind: 'live' | 'dry_run';
85
+ startedAt: string | null;
86
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
87
+ triggerId: string;
88
+ triggerName: string | null;
89
+ /**
90
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
91
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
92
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
93
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
94
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
95
+ * clients must not assume its presence.
96
+ */
97
+ result?: unknown;
98
+ }
99
+ }
100
+ export interface ExecutionAbortResponse {
101
+ data: ExecutionAbortResponse.Data;
102
+ }
103
+ export declare namespace ExecutionAbortResponse {
104
+ interface Data {
105
+ id: string;
106
+ error: string | null;
107
+ eventId: string | null;
108
+ finishedAt: string | null;
109
+ flowId: string;
110
+ flowName: string | null;
111
+ kind: 'live' | 'dry_run';
112
+ startedAt: string | null;
113
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
114
+ triggerId: string;
115
+ triggerName: string | null;
116
+ /**
117
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
118
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
119
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
120
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
121
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
122
+ * clients must not assume its presence.
123
+ */
124
+ result?: unknown;
76
125
  }
77
126
  }
78
127
  export interface ExecutionGetMetricsResponse {
@@ -116,6 +165,6 @@ export interface ExecutionGetMetricsParams {
116
165
  triggerId?: string;
117
166
  }
118
167
  export declare namespace Executions {
119
- export { type FlowExecution as FlowExecution, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
168
+ export { type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
120
169
  }
121
170
  //# sourceMappingURL=executions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;;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,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,UAAU,EAAE,MAAM,GAA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AAK,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;CACH"}
@@ -20,6 +20,13 @@ class Executions extends resource_1.APIResource {
20
20
  list(query = {}, options) {
21
21
  return this._client.get('/executions', { query, ...options });
22
22
  }
23
+ /**
24
+ * Signals the worker to stop the execution between steps and marks it cancelled.
25
+ * Idempotent-ish: already-terminal executions return 409.
26
+ */
27
+ abort(executionID, options) {
28
+ return this._client.post((0, path_1.path) `/executions/${executionID}/abort`, options);
29
+ }
23
30
  /**
24
31
  * Return aggregate execution metrics — total count, counts by status, average
25
32
  * duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
@@ -1 +1 @@
1
- {"version":3,"file":"executions.js","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;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;;;;OAIG;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;;;;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;AAhCD,gCAgCC"}
1
+ {"version":3,"file":"executions.js","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;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;;;;OAIG;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;AAxCD,gCAwCC"}
@@ -17,6 +17,13 @@ export class Executions extends APIResource {
17
17
  list(query = {}, options) {
18
18
  return this._client.get('/executions', { query, ...options });
19
19
  }
20
+ /**
21
+ * Signals the worker to stop the execution between steps and marks it cancelled.
22
+ * Idempotent-ish: already-terminal executions return 409.
23
+ */
24
+ abort(executionID, options) {
25
+ return this._client.post(path `/executions/${executionID}/abort`, options);
26
+ }
20
27
  /**
21
28
  * Return aggregate execution metrics — total count, counts by status, average
22
29
  * duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
@@ -1 +1 @@
1
- {"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAKlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;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;;;;OAIG;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;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
1
+ {"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;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;;;;OAIG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
@@ -1,5 +1,4 @@
1
1
  import { APIResource } from "../../../core/resource.mjs";
2
- import * as FlowsAPI from "./flows.mjs";
3
2
  import { APIPromise } from "../../../core/api-promise.mjs";
4
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
5
4
  export declare class Actions extends APIResource {
@@ -28,45 +27,108 @@ export declare class Actions extends APIResource {
28
27
  */
29
28
  replace(flowID: string, body: ActionReplaceParams, options?: RequestOptions): APIPromise<ActionReplaceResponse>;
30
29
  }
31
- export interface FlowAction {
32
- id: string;
33
- actionId: string;
34
- continueOnError: boolean;
35
- createdAt: string | null;
36
- flowId: string;
37
- nameOverride: string | null;
38
- overrides: FlowAction.Overrides | null;
39
- parentFlowActionId: string | null;
40
- position: number;
30
+ export interface ActionListResponse {
31
+ data: Array<ActionListResponse.Data>;
41
32
  }
42
- export declare namespace FlowAction {
43
- interface Overrides {
44
- params?: {
45
- [key: string]: unknown;
46
- };
33
+ export declare namespace ActionListResponse {
34
+ interface Data {
35
+ id: string;
36
+ actionId: string;
37
+ continueOnError: boolean;
38
+ createdAt: string | null;
39
+ flowId: string;
40
+ nameOverride: string | null;
41
+ overrides: Data.Overrides | null;
42
+ parentFlowActionId: string | null;
43
+ position: number;
44
+ }
45
+ namespace Data {
46
+ interface Overrides {
47
+ params?: {
48
+ [key: string]: unknown;
49
+ };
50
+ }
47
51
  }
48
- }
49
- export interface ActionListResponse {
50
- data: Array<FlowAction>;
51
52
  }
52
53
  export interface ActionAddResponse {
53
- data: FlowAction;
54
+ data: ActionAddResponse.Data;
55
+ }
56
+ export declare namespace ActionAddResponse {
57
+ interface Data {
58
+ id: string;
59
+ actionId: string;
60
+ continueOnError: boolean;
61
+ createdAt: string | null;
62
+ flowId: string;
63
+ nameOverride: string | null;
64
+ overrides: Data.Overrides | null;
65
+ parentFlowActionId: string | null;
66
+ position: number;
67
+ }
68
+ namespace Data {
69
+ interface Overrides {
70
+ params?: {
71
+ [key: string]: unknown;
72
+ };
73
+ }
74
+ }
54
75
  }
55
76
  export interface ActionRemoveResponse {
56
77
  message: string;
57
78
  }
58
79
  export interface ActionReplaceResponse {
59
- data: Array<FlowAction>;
80
+ data: Array<ActionReplaceResponse.Data>;
81
+ }
82
+ export declare namespace ActionReplaceResponse {
83
+ interface Data {
84
+ id: string;
85
+ actionId: string;
86
+ continueOnError: boolean;
87
+ createdAt: string | null;
88
+ flowId: string;
89
+ nameOverride: string | null;
90
+ overrides: Data.Overrides | null;
91
+ parentFlowActionId: string | null;
92
+ position: number;
93
+ }
94
+ namespace Data {
95
+ interface Overrides {
96
+ params?: {
97
+ [key: string]: unknown;
98
+ };
99
+ }
100
+ }
60
101
  }
61
102
  export interface ActionAddParams {
62
103
  actionId: string;
63
104
  position: number;
64
- children?: Array<FlowsAPI.FlowChildActionInput>;
105
+ children?: Array<ActionAddParams.Child>;
65
106
  continueOnError?: boolean;
66
107
  nameOverride?: string;
67
- overrides?: FlowsAPI.FlowActionOverrides | null;
108
+ overrides?: ActionAddParams.Overrides | null;
68
109
  parentFlowActionId?: string | null;
69
110
  }
111
+ export declare namespace ActionAddParams {
112
+ interface Child {
113
+ actionId: string;
114
+ position: number;
115
+ continueOnError?: boolean;
116
+ nameOverride?: string;
117
+ overrides?: Child.Overrides | null;
118
+ }
119
+ namespace Child {
120
+ interface Overrides {
121
+ params?: {
122
+ [key: string]: unknown;
123
+ };
124
+ }
125
+ }
126
+ interface Overrides {
127
+ params?: {
128
+ [key: string]: unknown;
129
+ };
130
+ }
131
+ }
70
132
  export interface ActionRemoveParams {
71
133
  flowId: string;
72
134
  }
@@ -77,13 +139,34 @@ export declare namespace ActionReplaceParams {
77
139
  interface Action {
78
140
  actionId: string;
79
141
  position: number;
80
- children?: Array<FlowsAPI.FlowChildActionInput>;
142
+ children?: Array<Action.Child>;
81
143
  continueOnError?: boolean;
82
144
  nameOverride?: string;
83
- overrides?: FlowsAPI.FlowActionOverrides | null;
145
+ overrides?: Action.Overrides | null;
146
+ }
147
+ namespace Action {
148
+ interface Child {
149
+ actionId: string;
150
+ position: number;
151
+ continueOnError?: boolean;
152
+ nameOverride?: string;
153
+ overrides?: Child.Overrides | null;
154
+ }
155
+ namespace Child {
156
+ interface Overrides {
157
+ params?: {
158
+ [key: string]: unknown;
159
+ };
160
+ }
161
+ }
162
+ interface Overrides {
163
+ params?: {
164
+ [key: string]: unknown;
165
+ };
166
+ }
84
167
  }
85
168
  }
86
169
  export declare namespace Actions {
87
- export { type FlowAction as FlowAction, 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, };
170
+ export { 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, };
88
171
  }
89
172
  //# sourceMappingURL=actions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO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