@mobilerun/sdk 6.0.1 → 6.1.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 (495) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agents/agents.d.mts +307 -0
  12. package/resources/agents/agents.d.mts.map +1 -0
  13. package/resources/agents/agents.d.ts +307 -0
  14. package/resources/agents/agents.d.ts.map +1 -0
  15. package/resources/agents/agents.js +56 -0
  16. package/resources/agents/agents.js.map +1 -0
  17. package/resources/agents/agents.mjs +51 -0
  18. package/resources/agents/agents.mjs.map +1 -0
  19. package/resources/agents/conversations.d.mts +110 -0
  20. package/resources/agents/conversations.d.mts.map +1 -0
  21. package/resources/agents/conversations.d.ts +110 -0
  22. package/resources/agents/conversations.d.ts.map +1 -0
  23. package/resources/agents/conversations.js +24 -0
  24. package/resources/agents/conversations.js.map +1 -0
  25. package/resources/agents/conversations.mjs +20 -0
  26. package/resources/agents/conversations.mjs.map +1 -0
  27. package/resources/agents/files.d.mts +64 -0
  28. package/resources/agents/files.d.mts.map +1 -0
  29. package/resources/agents/files.d.ts +64 -0
  30. package/resources/agents/files.d.ts.map +1 -0
  31. package/resources/agents/files.js +16 -0
  32. package/resources/agents/files.js.map +1 -0
  33. package/resources/agents/files.mjs +12 -0
  34. package/resources/agents/files.mjs.map +1 -0
  35. package/resources/agents/index.d.mts +7 -0
  36. package/resources/agents/index.d.mts.map +1 -0
  37. package/resources/agents/index.d.ts +7 -0
  38. package/resources/agents/index.d.ts.map +1 -0
  39. package/resources/agents/index.js +17 -0
  40. package/resources/agents/index.js.map +1 -0
  41. package/resources/agents/index.mjs +8 -0
  42. package/resources/agents/index.mjs.map +1 -0
  43. package/resources/agents/profile.d.mts +156 -0
  44. package/resources/agents/profile.d.mts.map +1 -0
  45. package/resources/agents/profile.d.ts +156 -0
  46. package/resources/agents/profile.d.ts.map +1 -0
  47. package/resources/agents/profile.js +19 -0
  48. package/resources/agents/profile.js.map +1 -0
  49. package/resources/agents/profile.mjs +15 -0
  50. package/resources/agents/profile.mjs.map +1 -0
  51. package/resources/agents/requests.d.mts +295 -0
  52. package/resources/agents/requests.d.mts.map +1 -0
  53. package/resources/agents/requests.d.ts +295 -0
  54. package/resources/agents/requests.d.ts.map +1 -0
  55. package/resources/agents/requests.js +42 -0
  56. package/resources/agents/requests.js.map +1 -0
  57. package/resources/agents/requests.mjs +38 -0
  58. package/resources/agents/requests.mjs.map +1 -0
  59. package/resources/agents/routines.d.mts +95 -0
  60. package/resources/agents/routines.d.mts.map +1 -0
  61. package/resources/agents/routines.d.ts +95 -0
  62. package/resources/agents/routines.d.ts.map +1 -0
  63. package/resources/agents/routines.js +26 -0
  64. package/resources/agents/routines.js.map +1 -0
  65. package/resources/agents/routines.mjs +22 -0
  66. package/resources/agents/routines.mjs.map +1 -0
  67. package/resources/agents.d.mts +2 -0
  68. package/resources/agents.d.mts.map +1 -0
  69. package/resources/agents.d.ts +2 -0
  70. package/resources/agents.d.ts.map +1 -0
  71. package/resources/agents.js +6 -0
  72. package/resources/agents.js.map +1 -0
  73. package/resources/agents.mjs +3 -0
  74. package/resources/agents.mjs.map +1 -0
  75. package/resources/assistant/conversations.d.mts +115 -38
  76. package/resources/assistant/conversations.d.mts.map +1 -1
  77. package/resources/assistant/conversations.d.ts +115 -38
  78. package/resources/assistant/conversations.d.ts.map +1 -1
  79. package/resources/assistant/conversations.js +20 -19
  80. package/resources/assistant/conversations.js.map +1 -1
  81. package/resources/assistant/conversations.mjs +20 -19
  82. package/resources/assistant/conversations.mjs.map +1 -1
  83. package/resources/connect/connect.d.mts +2 -2
  84. package/resources/connect/connect.d.mts.map +1 -1
  85. package/resources/connect/connect.d.ts +2 -2
  86. package/resources/connect/connect.d.ts.map +1 -1
  87. package/resources/connect/connect.js.map +1 -1
  88. package/resources/connect/connect.mjs.map +1 -1
  89. package/resources/connect/index.d.mts +1 -1
  90. package/resources/connect/index.d.mts.map +1 -1
  91. package/resources/connect/index.d.ts +1 -1
  92. package/resources/connect/index.d.ts.map +1 -1
  93. package/resources/connect/index.js.map +1 -1
  94. package/resources/connect/index.mjs.map +1 -1
  95. package/resources/connect/proxies.d.mts +22 -1
  96. package/resources/connect/proxies.d.mts.map +1 -1
  97. package/resources/connect/proxies.d.ts +22 -1
  98. package/resources/connect/proxies.d.ts.map +1 -1
  99. package/resources/connect/proxies.js +8 -0
  100. package/resources/connect/proxies.js.map +1 -1
  101. package/resources/connect/proxies.mjs +8 -0
  102. package/resources/connect/proxies.mjs.map +1 -1
  103. package/resources/credentials/credentials.d.mts +20 -0
  104. package/resources/credentials/credentials.d.mts.map +1 -1
  105. package/resources/credentials/credentials.d.ts +20 -0
  106. package/resources/credentials/credentials.d.ts.map +1 -1
  107. package/resources/credentials/credentials.js +4 -0
  108. package/resources/credentials/credentials.js.map +1 -1
  109. package/resources/credentials/credentials.mjs +4 -0
  110. package/resources/credentials/credentials.mjs.map +1 -1
  111. package/resources/credentials/index.d.mts +1 -0
  112. package/resources/credentials/index.d.mts.map +1 -1
  113. package/resources/credentials/index.d.ts +1 -0
  114. package/resources/credentials/index.d.ts.map +1 -1
  115. package/resources/credentials/index.js +5 -3
  116. package/resources/credentials/index.js.map +1 -1
  117. package/resources/credentials/index.mjs +1 -0
  118. package/resources/credentials/index.mjs.map +1 -1
  119. package/resources/credentials/onepassword/index.d.mts +3 -0
  120. package/resources/credentials/onepassword/index.d.mts.map +1 -0
  121. package/resources/credentials/onepassword/index.d.ts +3 -0
  122. package/resources/credentials/onepassword/index.d.ts.map +1 -0
  123. package/resources/credentials/onepassword/index.js +9 -0
  124. package/resources/credentials/onepassword/index.js.map +1 -0
  125. package/resources/credentials/onepassword/index.mjs +4 -0
  126. package/resources/credentials/onepassword/index.mjs.map +1 -0
  127. package/resources/credentials/onepassword/onepassword.d.mts +65 -0
  128. package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
  129. package/resources/credentials/onepassword/onepassword.d.ts +65 -0
  130. package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
  131. package/resources/credentials/onepassword/onepassword.js +35 -0
  132. package/resources/credentials/onepassword/onepassword.js.map +1 -0
  133. package/resources/credentials/onepassword/onepassword.mjs +30 -0
  134. package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
  135. package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
  136. package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
  137. package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
  138. package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
  139. package/resources/credentials/onepassword/vaults/index.js +9 -0
  140. package/resources/credentials/onepassword/vaults/index.js.map +1 -0
  141. package/resources/credentials/onepassword/vaults/index.mjs +4 -0
  142. package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
  143. package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
  144. package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
  145. package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
  146. package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
  147. package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
  148. package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
  149. package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
  150. package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
  151. package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
  152. package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
  153. package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
  154. package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
  155. package/resources/credentials/onepassword/vaults/items/index.js +9 -0
  156. package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
  157. package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
  158. package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
  159. package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
  160. package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
  161. package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
  162. package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
  163. package/resources/credentials/onepassword/vaults/items/items.js +24 -0
  164. package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
  165. package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
  166. package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
  167. package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
  168. package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
  169. package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
  170. package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
  171. package/resources/credentials/onepassword/vaults/items.js +6 -0
  172. package/resources/credentials/onepassword/vaults/items.js.map +1 -0
  173. package/resources/credentials/onepassword/vaults/items.mjs +3 -0
  174. package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
  175. package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
  176. package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
  177. package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
  178. package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
  179. package/resources/credentials/onepassword/vaults/vaults.js +17 -0
  180. package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
  181. package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
  182. package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
  183. package/resources/credentials/onepassword/vaults.d.mts +2 -0
  184. package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
  185. package/resources/credentials/onepassword/vaults.d.ts +2 -0
  186. package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
  187. package/resources/credentials/onepassword/vaults.js +6 -0
  188. package/resources/credentials/onepassword/vaults.js.map +1 -0
  189. package/resources/credentials/onepassword/vaults.mjs +3 -0
  190. package/resources/credentials/onepassword/vaults.mjs.map +1 -0
  191. package/resources/credentials/onepassword.d.mts +2 -0
  192. package/resources/credentials/onepassword.d.mts.map +1 -0
  193. package/resources/credentials/onepassword.d.ts +2 -0
  194. package/resources/credentials/onepassword.d.ts.map +1 -0
  195. package/resources/credentials/onepassword.js +6 -0
  196. package/resources/credentials/onepassword.js.map +1 -0
  197. package/resources/credentials/onepassword.mjs +3 -0
  198. package/resources/credentials/onepassword.mjs.map +1 -0
  199. package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
  200. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  201. package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
  202. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  203. package/resources/credentials/packages/credentials/credentials.js +0 -8
  204. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  205. package/resources/credentials/packages/credentials/credentials.mjs +0 -8
  206. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  207. package/resources/credentials/packages/credentials/fields.d.mts +48 -0
  208. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  209. package/resources/credentials/packages/credentials/fields.d.ts +48 -0
  210. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  211. package/resources/credentials/packages/credentials/index.d.mts +1 -1
  212. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  213. package/resources/credentials/packages/credentials/index.d.ts +1 -1
  214. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  215. package/resources/credentials/packages/credentials/index.js.map +1 -1
  216. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  217. package/resources/credentials/packages/index.d.mts +2 -1
  218. package/resources/credentials/packages/index.d.mts.map +1 -1
  219. package/resources/credentials/packages/index.d.ts +2 -1
  220. package/resources/credentials/packages/index.d.ts.map +1 -1
  221. package/resources/credentials/packages/index.js +3 -1
  222. package/resources/credentials/packages/index.js.map +1 -1
  223. package/resources/credentials/packages/index.mjs +1 -0
  224. package/resources/credentials/packages/index.mjs.map +1 -1
  225. package/resources/credentials/packages/links.d.mts +65 -0
  226. package/resources/credentials/packages/links.d.mts.map +1 -0
  227. package/resources/credentials/packages/links.d.ts +65 -0
  228. package/resources/credentials/packages/links.d.ts.map +1 -0
  229. package/resources/credentials/packages/links.js +16 -0
  230. package/resources/credentials/packages/links.js.map +1 -0
  231. package/resources/credentials/packages/links.mjs +12 -0
  232. package/resources/credentials/packages/links.mjs.map +1 -0
  233. package/resources/credentials/packages/packages.d.mts +22 -2
  234. package/resources/credentials/packages/packages.d.mts.map +1 -1
  235. package/resources/credentials/packages/packages.d.ts +22 -2
  236. package/resources/credentials/packages/packages.d.ts.map +1 -1
  237. package/resources/credentials/packages/packages.js +4 -0
  238. package/resources/credentials/packages/packages.js.map +1 -1
  239. package/resources/credentials/packages/packages.mjs +4 -0
  240. package/resources/credentials/packages/packages.mjs.map +1 -1
  241. package/resources/devices/actions.d.mts +3 -4
  242. package/resources/devices/actions.d.mts.map +1 -1
  243. package/resources/devices/actions.d.ts +3 -4
  244. package/resources/devices/actions.d.ts.map +1 -1
  245. package/resources/devices/actions.js +3 -4
  246. package/resources/devices/actions.js.map +1 -1
  247. package/resources/devices/actions.mjs +3 -4
  248. package/resources/devices/actions.mjs.map +1 -1
  249. package/resources/devices/apps.d.mts +2 -2
  250. package/resources/devices/apps.d.ts +2 -2
  251. package/resources/devices/devices.d.mts +52 -28
  252. package/resources/devices/devices.d.mts.map +1 -1
  253. package/resources/devices/devices.d.ts +52 -28
  254. package/resources/devices/devices.d.ts.map +1 -1
  255. package/resources/devices/devices.js +31 -19
  256. package/resources/devices/devices.js.map +1 -1
  257. package/resources/devices/devices.mjs +31 -19
  258. package/resources/devices/devices.mjs.map +1 -1
  259. package/resources/devices/index.d.mts +2 -0
  260. package/resources/devices/index.d.mts.map +1 -1
  261. package/resources/devices/index.d.ts +2 -0
  262. package/resources/devices/index.d.ts.map +1 -1
  263. package/resources/devices/index.js +5 -1
  264. package/resources/devices/index.js.map +1 -1
  265. package/resources/devices/index.mjs +2 -0
  266. package/resources/devices/index.mjs.map +1 -1
  267. package/resources/devices/keyboard.d.mts +1 -1
  268. package/resources/devices/keyboard.d.ts +1 -1
  269. package/resources/devices/language.d.mts +6 -4
  270. package/resources/devices/language.d.mts.map +1 -1
  271. package/resources/devices/language.d.ts +6 -4
  272. package/resources/devices/language.d.ts.map +1 -1
  273. package/resources/devices/language.js +3 -2
  274. package/resources/devices/language.js.map +1 -1
  275. package/resources/devices/language.mjs +3 -2
  276. package/resources/devices/language.mjs.map +1 -1
  277. package/resources/devices/number-bindings.d.mts +40 -0
  278. package/resources/devices/number-bindings.d.mts.map +1 -0
  279. package/resources/devices/number-bindings.d.ts +40 -0
  280. package/resources/devices/number-bindings.d.ts.map +1 -0
  281. package/resources/devices/number-bindings.js +15 -0
  282. package/resources/devices/number-bindings.js.map +1 -0
  283. package/resources/devices/number-bindings.mjs +11 -0
  284. package/resources/devices/number-bindings.mjs.map +1 -0
  285. package/resources/devices/number.d.mts +141 -0
  286. package/resources/devices/number.d.mts.map +1 -0
  287. package/resources/devices/number.d.ts +141 -0
  288. package/resources/devices/number.d.ts.map +1 -0
  289. package/resources/devices/number.js +68 -0
  290. package/resources/devices/number.js.map +1 -0
  291. package/resources/devices/number.mjs +64 -0
  292. package/resources/devices/number.mjs.map +1 -0
  293. package/resources/devices/state.d.mts +1 -0
  294. package/resources/devices/state.d.mts.map +1 -1
  295. package/resources/devices/state.d.ts +1 -0
  296. package/resources/devices/state.d.ts.map +1 -1
  297. package/resources/files.d.mts +13 -7
  298. package/resources/files.d.mts.map +1 -1
  299. package/resources/files.d.ts +13 -7
  300. package/resources/files.d.ts.map +1 -1
  301. package/resources/files.js +9 -7
  302. package/resources/files.js.map +1 -1
  303. package/resources/files.mjs +9 -7
  304. package/resources/files.mjs.map +1 -1
  305. package/resources/index.d.mts +1 -0
  306. package/resources/index.d.mts.map +1 -1
  307. package/resources/index.d.ts +1 -0
  308. package/resources/index.d.ts.map +1 -1
  309. package/resources/index.js +3 -1
  310. package/resources/index.js.map +1 -1
  311. package/resources/index.mjs +1 -0
  312. package/resources/index.mjs.map +1 -1
  313. package/resources/mailboxes/messages.d.mts +13 -0
  314. package/resources/mailboxes/messages.d.mts.map +1 -1
  315. package/resources/mailboxes/messages.d.ts +13 -0
  316. package/resources/mailboxes/messages.d.ts.map +1 -1
  317. package/resources/mailboxes/messages.js +2 -2
  318. package/resources/mailboxes/messages.js.map +1 -1
  319. package/resources/mailboxes/messages.mjs +2 -2
  320. package/resources/mailboxes/messages.mjs.map +1 -1
  321. package/resources/messages/conversations.d.mts +6 -0
  322. package/resources/messages/conversations.d.mts.map +1 -1
  323. package/resources/messages/conversations.d.ts +6 -0
  324. package/resources/messages/conversations.d.ts.map +1 -1
  325. package/resources/messages/messages.d.mts +16 -0
  326. package/resources/messages/messages.d.mts.map +1 -1
  327. package/resources/messages/messages.d.ts +16 -0
  328. package/resources/messages/messages.d.ts.map +1 -1
  329. package/resources/messages/messages.js.map +1 -1
  330. package/resources/messages/messages.mjs.map +1 -1
  331. package/resources/numbers/messages.d.mts +17 -2
  332. package/resources/numbers/messages.d.mts.map +1 -1
  333. package/resources/numbers/messages.d.ts +17 -2
  334. package/resources/numbers/messages.d.ts.map +1 -1
  335. package/resources/numbers/messages.js +2 -1
  336. package/resources/numbers/messages.js.map +1 -1
  337. package/resources/numbers/messages.mjs +2 -1
  338. package/resources/numbers/messages.mjs.map +1 -1
  339. package/resources/numbers/numbers.d.mts +48 -0
  340. package/resources/numbers/numbers.d.mts.map +1 -1
  341. package/resources/numbers/numbers.d.ts +48 -0
  342. package/resources/numbers/numbers.d.ts.map +1 -1
  343. package/resources/numbers/numbers.js.map +1 -1
  344. package/resources/numbers/numbers.mjs.map +1 -1
  345. package/resources/tasks/tasks.d.mts +28 -7
  346. package/resources/tasks/tasks.d.mts.map +1 -1
  347. package/resources/tasks/tasks.d.ts +28 -7
  348. package/resources/tasks/tasks.d.ts.map +1 -1
  349. package/resources/tasks/tasks.js.map +1 -1
  350. package/resources/tasks/tasks.mjs.map +1 -1
  351. package/resources/workflows/action-catalog.d.mts +56 -8
  352. package/resources/workflows/action-catalog.d.mts.map +1 -1
  353. package/resources/workflows/action-catalog.d.ts +56 -8
  354. package/resources/workflows/action-catalog.d.ts.map +1 -1
  355. package/resources/workflows/action-catalog.js +7 -5
  356. package/resources/workflows/action-catalog.js.map +1 -1
  357. package/resources/workflows/action-catalog.mjs +7 -5
  358. package/resources/workflows/action-catalog.mjs.map +1 -1
  359. package/resources/workflows/actions/actions.d.mts +22 -10
  360. package/resources/workflows/actions/actions.d.mts.map +1 -1
  361. package/resources/workflows/actions/actions.d.ts +22 -10
  362. package/resources/workflows/actions/actions.d.ts.map +1 -1
  363. package/resources/workflows/actions/actions.js +7 -5
  364. package/resources/workflows/actions/actions.js.map +1 -1
  365. package/resources/workflows/actions/actions.mjs +7 -5
  366. package/resources/workflows/actions/actions.mjs.map +1 -1
  367. package/resources/workflows/actions/index.d.mts +1 -1
  368. package/resources/workflows/actions/index.d.mts.map +1 -1
  369. package/resources/workflows/actions/index.d.ts +1 -1
  370. package/resources/workflows/actions/index.d.ts.map +1 -1
  371. package/resources/workflows/actions/index.js.map +1 -1
  372. package/resources/workflows/actions/index.mjs.map +1 -1
  373. package/resources/workflows/actions/services.d.mts +1 -1
  374. package/resources/workflows/actions/services.d.mts.map +1 -1
  375. package/resources/workflows/actions/services.d.ts +1 -1
  376. package/resources/workflows/actions/services.d.ts.map +1 -1
  377. package/resources/workflows/events.d.mts +25 -3
  378. package/resources/workflows/events.d.mts.map +1 -1
  379. package/resources/workflows/events.d.ts +25 -3
  380. package/resources/workflows/events.d.ts.map +1 -1
  381. package/resources/workflows/executions/executions.d.mts +16 -0
  382. package/resources/workflows/executions/executions.d.mts.map +1 -1
  383. package/resources/workflows/executions/executions.d.ts +16 -0
  384. package/resources/workflows/executions/executions.d.ts.map +1 -1
  385. package/resources/workflows/executions/executions.js.map +1 -1
  386. package/resources/workflows/executions/executions.mjs.map +1 -1
  387. package/resources/workflows/flows/flows.d.mts +547 -102
  388. package/resources/workflows/flows/flows.d.mts.map +1 -1
  389. package/resources/workflows/flows/flows.d.ts +547 -102
  390. package/resources/workflows/flows/flows.d.ts.map +1 -1
  391. package/resources/workflows/flows/flows.js +15 -2
  392. package/resources/workflows/flows/flows.js.map +1 -1
  393. package/resources/workflows/flows/flows.mjs +15 -2
  394. package/resources/workflows/flows/flows.mjs.map +1 -1
  395. package/resources/workflows/flows/index.d.mts +2 -1
  396. package/resources/workflows/flows/index.d.mts.map +1 -1
  397. package/resources/workflows/flows/index.d.ts +2 -1
  398. package/resources/workflows/flows/index.d.ts.map +1 -1
  399. package/resources/workflows/flows/index.js +3 -1
  400. package/resources/workflows/flows/index.js.map +1 -1
  401. package/resources/workflows/flows/index.mjs +1 -0
  402. package/resources/workflows/flows/index.mjs.map +1 -1
  403. package/resources/workflows/flows/state.d.mts +65 -0
  404. package/resources/workflows/flows/state.d.mts.map +1 -0
  405. package/resources/workflows/flows/state.d.ts +65 -0
  406. package/resources/workflows/flows/state.d.ts.map +1 -0
  407. package/resources/workflows/flows/state.js +33 -0
  408. package/resources/workflows/flows/state.js.map +1 -0
  409. package/resources/workflows/flows/state.mjs +29 -0
  410. package/resources/workflows/flows/state.mjs.map +1 -0
  411. package/resources/workflows/index.d.mts +3 -3
  412. package/resources/workflows/index.d.mts.map +1 -1
  413. package/resources/workflows/index.d.ts +3 -3
  414. package/resources/workflows/index.d.ts.map +1 -1
  415. package/resources/workflows/index.js.map +1 -1
  416. package/resources/workflows/index.mjs.map +1 -1
  417. package/resources/workflows/triggers.d.mts +40 -5
  418. package/resources/workflows/triggers.d.mts.map +1 -1
  419. package/resources/workflows/triggers.d.ts +40 -5
  420. package/resources/workflows/triggers.d.ts.map +1 -1
  421. package/resources/workflows/triggers.js +12 -3
  422. package/resources/workflows/triggers.js.map +1 -1
  423. package/resources/workflows/triggers.mjs +12 -3
  424. package/resources/workflows/triggers.mjs.map +1 -1
  425. package/resources/workflows/workflows.d.mts +6 -6
  426. package/resources/workflows/workflows.d.mts.map +1 -1
  427. package/resources/workflows/workflows.d.ts +6 -6
  428. package/resources/workflows/workflows.d.ts.map +1 -1
  429. package/resources/workflows/workflows.js.map +1 -1
  430. package/resources/workflows/workflows.mjs.map +1 -1
  431. package/src/client.ts +17 -0
  432. package/src/resources/agents/agents.ts +475 -0
  433. package/src/resources/agents/conversations.ts +205 -0
  434. package/src/resources/agents/files.ts +105 -0
  435. package/src/resources/agents/index.ts +34 -0
  436. package/src/resources/agents/profile.ts +225 -0
  437. package/src/resources/agents/requests.ts +495 -0
  438. package/src/resources/agents/routines.ts +156 -0
  439. package/src/resources/agents.ts +3 -0
  440. package/src/resources/assistant/conversations.ts +148 -39
  441. package/src/resources/connect/connect.ts +2 -0
  442. package/src/resources/connect/index.ts +1 -0
  443. package/src/resources/connect/proxies.ts +27 -0
  444. package/src/resources/credentials/credentials.ts +51 -0
  445. package/src/resources/credentials/index.ts +7 -0
  446. package/src/resources/credentials/onepassword/index.ts +10 -0
  447. package/src/resources/credentials/onepassword/onepassword.ts +101 -0
  448. package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
  449. package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
  450. package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
  451. package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
  452. package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
  453. package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
  454. package/src/resources/credentials/onepassword/vaults.ts +3 -0
  455. package/src/resources/credentials/onepassword.ts +3 -0
  456. package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
  457. package/src/resources/credentials/packages/credentials/fields.ts +99 -0
  458. package/src/resources/credentials/packages/credentials/index.ts +0 -2
  459. package/src/resources/credentials/packages/index.ts +1 -2
  460. package/src/resources/credentials/packages/links.ts +122 -0
  461. package/src/resources/credentials/packages/packages.ts +43 -4
  462. package/src/resources/devices/actions.ts +3 -4
  463. package/src/resources/devices/apps.ts +2 -2
  464. package/src/resources/devices/devices.ts +86 -37
  465. package/src/resources/devices/index.ts +14 -0
  466. package/src/resources/devices/keyboard.ts +1 -1
  467. package/src/resources/devices/language.ts +6 -4
  468. package/src/resources/devices/number-bindings.ts +62 -0
  469. package/src/resources/devices/number.ts +261 -0
  470. package/src/resources/devices/state.ts +2 -0
  471. package/src/resources/files.ts +17 -7
  472. package/src/resources/index.ts +7 -0
  473. package/src/resources/mailboxes/messages.ts +17 -2
  474. package/src/resources/messages/conversations.ts +6 -0
  475. package/src/resources/messages/messages.ts +16 -0
  476. package/src/resources/numbers/messages.ts +17 -2
  477. package/src/resources/numbers/numbers.ts +64 -0
  478. package/src/resources/tasks/tasks.ts +30 -7
  479. package/src/resources/workflows/action-catalog.ts +69 -8
  480. package/src/resources/workflows/actions/actions.ts +29 -10
  481. package/src/resources/workflows/actions/index.ts +1 -0
  482. package/src/resources/workflows/actions/services.ts +1 -1
  483. package/src/resources/workflows/events.ts +32 -2
  484. package/src/resources/workflows/executions/executions.ts +26 -0
  485. package/src/resources/workflows/flows/flows.ts +707 -97
  486. package/src/resources/workflows/flows/index.ts +10 -0
  487. package/src/resources/workflows/flows/state.ts +103 -0
  488. package/src/resources/workflows/index.ts +4 -0
  489. package/src/resources/workflows/triggers.ts +34 -5
  490. package/src/resources/workflows/workflows.ts +8 -0
  491. package/src/version.ts +1 -1
  492. package/version.d.mts +1 -1
  493. package/version.d.ts +1 -1
  494. package/version.js +1 -1
  495. package/version.mjs +1 -1
@@ -20,7 +20,7 @@ export class Files extends APIResource {
20
20
  }
21
21
 
22
22
  /**
23
- * List the user's ready files, optionally filtered by zone
23
+ * List the user's ready files, optionally filtered by zone.
24
24
  */
25
25
  list(
26
26
  query: FileListParams | null | undefined = {},
@@ -30,23 +30,25 @@ export class Files extends APIResource {
30
30
  }
31
31
 
32
32
  /**
33
- * Hard-delete a file
33
+ * Hard-delete a file.
34
34
  */
35
35
  delete(fileID: string, options?: RequestOptions): APIPromise<FileDeleteResponse> {
36
36
  return this._client.delete(path`/agents/files/${fileID}`, options);
37
37
  }
38
38
 
39
39
  /**
40
- * Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
41
- * — refuses to touch `ready` files, so confirmed files are never removed.
42
- * Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
40
+ * Soft-cancels an in-flight upload before confirm, transitioning it to expired and
41
+ * deleting the underlying object. Only acts on `pending` uploads — refuses to
42
+ * touch `ready` files, so confirmed files are never removed. Idempotent:
43
+ * `{ cancelled: false }` if the file exists but is no longer pending.
43
44
  */
44
45
  cancelPending(fileID: string, options?: RequestOptions): APIPromise<FileCancelPendingResponse> {
45
46
  return this._client.delete(path`/agents/files/${fileID}/pending`, options);
46
47
  }
47
48
 
48
49
  /**
49
- * Confirm a file upload by server-side HEAD validation
50
+ * Confirm a file upload after validating the stored object with a server-side HEAD
51
+ * request.
50
52
  */
51
53
  confirm(fileID: string, options?: RequestOptions): APIPromise<FileConfirmResponse> {
52
54
  return this._client.post(path`/agents/files/${fileID}/confirm`, options);
@@ -64,7 +66,7 @@ export class Files extends APIResource {
64
66
  }
65
67
 
66
68
  /**
67
- * Mint a presigned PUT URL for a user file upload
69
+ * Mint a presigned PUT URL and a fileId for uploading a user file.
68
70
  */
69
71
  uploadURL(body: FileUploadURLParams, options?: RequestOptions): APIPromise<FileUploadURLResponse> {
70
72
  return this._client.post('/agents/files/upload-url', { body, ...options });
@@ -90,6 +92,8 @@ export interface FileUpdateResponse {
90
92
 
91
93
  zone: 'user' | 'agent' | 'workflow' | 'skills';
92
94
 
95
+ agentId?: string;
96
+
93
97
  collectionStatus?: FileUpdateResponse.UnionMember0 | FileUpdateResponse.UnionMember1;
94
98
  }
95
99
 
@@ -155,6 +159,8 @@ export namespace FileListResponse {
155
159
 
156
160
  zone: 'user' | 'agent' | 'workflow' | 'skills';
157
161
 
162
+ agentId?: string;
163
+
158
164
  collectionStatus?: File.UnionMember0 | File.UnionMember1;
159
165
  }
160
166
 
@@ -236,6 +242,8 @@ export interface FileConfirmResponse {
236
242
 
237
243
  zone: 'user' | 'agent' | 'workflow' | 'skills';
238
244
 
245
+ agentId?: string;
246
+
239
247
  collectionStatus?: FileConfirmResponse.UnionMember0 | FileConfirmResponse.UnionMember1;
240
248
  }
241
249
 
@@ -300,6 +308,8 @@ export interface FileUploadURLParams {
300
308
 
301
309
  sizeBytes: number;
302
310
 
311
+ chatSessionId?: string;
312
+
303
313
  zone?: 'user' | 'skills';
304
314
  }
305
315
 
@@ -1,6 +1,13 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export * from './shared';
4
+ export {
5
+ Agents,
6
+ type AgentCreateResponse,
7
+ type AgentListResponse,
8
+ type AgentModelProfilesResponse,
9
+ type AgentCreateParams,
10
+ } from './agents/agents';
4
11
  export {
5
12
  Apps,
6
13
  type AppRetrieveResponse,
@@ -22,8 +22,8 @@ export class Messages extends APIResource {
22
22
  params: MessageRetrieveParams,
23
23
  options?: RequestOptions,
24
24
  ): APIPromise<MessageRetrieveResponse> {
25
- const { mailboxId } = params;
26
- return this._client.get(path`/mailboxes/${mailboxId}/messages/${messageID}`, options);
25
+ const { mailboxId, ...query } = params;
26
+ return this._client.get(path`/mailboxes/${mailboxId}/messages/${messageID}`, { query, ...options });
27
27
  }
28
28
 
29
29
  /**
@@ -71,6 +71,13 @@ export namespace MessageRetrieveResponse {
71
71
  subject: string | null;
72
72
 
73
73
  textBody: string | null;
74
+
75
+ /**
76
+ * Raw HTML part as received. Present only with includeHtml=true; null when the
77
+ * mail has no HTML part or it exceeds 1 MiB (UTF-8 bytes). Untrusted content:
78
+ * render only in an isolated sandboxed frame, never inline.
79
+ */
80
+ htmlBody?: string | null;
74
81
  }
75
82
 
76
83
  export namespace Data {
@@ -109,7 +116,15 @@ export namespace MessageListResponse {
109
116
  }
110
117
 
111
118
  export interface MessageRetrieveParams {
119
+ /**
120
+ * Path param
121
+ */
112
122
  mailboxId: string;
123
+
124
+ /**
125
+ * Query param: Return the raw HTML part as htmlBody (untrusted; render isolated).
126
+ */
127
+ includeHtml?: 'true' | 'false';
113
128
  }
114
129
 
115
130
  export interface MessageListParams {
@@ -55,6 +55,12 @@ export namespace ConversationListResponse {
55
55
 
56
56
  occurredAt: string;
57
57
 
58
+ /**
59
+ * Message status. Outbound messages move queued → sending → sent, or end at
60
+ * failed. `sent` means the mobile network accepted the message and is the final
61
+ * success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
62
+ * current lines return no carrier delivery report, so neither is emitted.
63
+ */
58
64
  status:
59
65
  | 'received'
60
66
  | 'queued'
@@ -68,6 +68,12 @@ export namespace MessageRetrieveResponse {
68
68
 
69
69
  providerCode: string | null;
70
70
 
71
+ /**
72
+ * Message status. Outbound messages move queued → sending → sent, or end at
73
+ * failed. `sent` means the mobile network accepted the message and is the final
74
+ * success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
75
+ * current lines return no carrier delivery report, so neither is emitted.
76
+ */
71
77
  status:
72
78
  | 'received'
73
79
  | 'queued'
@@ -118,6 +124,12 @@ export namespace MessageListResponse {
118
124
 
119
125
  providerCode: string | null;
120
126
 
127
+ /**
128
+ * Message status. Outbound messages move queued → sending → sent, or end at
129
+ * failed. `sent` means the mobile network accepted the message and is the final
130
+ * success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
131
+ * current lines return no carrier delivery report, so neither is emitted.
132
+ */
121
133
  status:
122
134
  | 'received'
123
135
  | 'queued'
@@ -151,6 +163,10 @@ export interface MessageListParams {
151
163
 
152
164
  peerNumber?: string;
153
165
 
166
+ /**
167
+ * Filter by message status. `delivered` and `sent_unconfirmed` are kept for
168
+ * compatibility and are not emitted on current lines.
169
+ */
154
170
  status?:
155
171
  | 'all'
156
172
  | 'received'
@@ -37,7 +37,8 @@ export class Messages extends APIResource {
37
37
  * rate_limited: too many sends by the owner in a short window; 429
38
38
  * number_rate_limited: too many outbound sends from this number in the configured
39
39
  * window (all sends from this number count, including those made on your behalf).
40
- * 403 send_disabled: self-service SMS send is switched off.
40
+ * 403 send_disabled: self-service SMS send is switched off;
41
+ * outbound_sms_not_granted: outbound SMS requires an admin grant.
41
42
  *
42
43
  * @example
43
44
  * ```ts
@@ -82,6 +83,12 @@ export namespace MessageListResponse {
82
83
 
83
84
  peerNumber: string | null;
84
85
 
86
+ /**
87
+ * Message status. Outbound messages move queued → sending → sent, or end at
88
+ * failed. `sent` means the mobile network accepted the message and is the final
89
+ * success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
90
+ * current lines return no carrier delivery report, so neither is emitted.
91
+ */
85
92
  status:
86
93
  | 'received'
87
94
  | 'queued'
@@ -128,6 +135,12 @@ export namespace MessageSendResponse {
128
135
 
129
136
  peerNumber: string | null;
130
137
 
138
+ /**
139
+ * Message status. Outbound messages move queued → sending → sent, or end at
140
+ * failed. `sent` means the mobile network accepted the message and is the final
141
+ * success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
142
+ * current lines return no carrier delivery report, so neither is emitted.
143
+ */
131
144
  status:
132
145
  | 'received'
133
146
  | 'queued'
@@ -171,7 +184,9 @@ export interface MessageSendParams {
171
184
  to: string;
172
185
 
173
186
  /**
174
- * Request a delivery report. Defaults to false.
187
+ * @deprecated Deprecated: best effort and ignored on most lines. Hosted SIM
188
+ * numbers return no carrier delivery report, so their messages end at `sent` and
189
+ * no `sms.send.delivered` event follows. Defaults to false.
175
190
  */
176
191
  deliveryReport?: boolean;
177
192
  }
@@ -177,6 +177,11 @@ export namespace NumberRetrieveResponse {
177
177
 
178
178
  currentPeriodEnd: string | null;
179
179
 
180
+ /**
181
+ * The device this number is bound to, or null.
182
+ */
183
+ deviceBinding: Data.DeviceBinding | null;
184
+
180
185
  /**
181
186
  * Why setup failed. Null unless state is failed, and null when the failure has no
182
187
  * classified reason. out_of_stock: no number is currently available for the
@@ -220,6 +225,17 @@ export namespace NumberRetrieveResponse {
220
225
  send: boolean;
221
226
  }
222
227
 
228
+ /**
229
+ * The device this number is bound to, or null.
230
+ */
231
+ export interface DeviceBinding {
232
+ boundAt: string;
233
+
234
+ deviceId: string;
235
+
236
+ deviceType: string | null;
237
+ }
238
+
223
239
  /**
224
240
  * What this line supports in principle, per channel. Use `actions` for what you
225
241
  * can do right now.
@@ -282,6 +298,11 @@ export namespace NumberUpdateResponse {
282
298
 
283
299
  currentPeriodEnd: string | null;
284
300
 
301
+ /**
302
+ * The device this number is bound to, or null.
303
+ */
304
+ deviceBinding: Data.DeviceBinding | null;
305
+
285
306
  /**
286
307
  * Why setup failed. Null unless state is failed, and null when the failure has no
287
308
  * classified reason. out_of_stock: no number is currently available for the
@@ -325,6 +346,17 @@ export namespace NumberUpdateResponse {
325
346
  send: boolean;
326
347
  }
327
348
 
349
+ /**
350
+ * The device this number is bound to, or null.
351
+ */
352
+ export interface DeviceBinding {
353
+ boundAt: string;
354
+
355
+ deviceId: string;
356
+
357
+ deviceType: string | null;
358
+ }
359
+
328
360
  /**
329
361
  * What this line supports in principle, per channel. Use `actions` for what you
330
362
  * can do right now.
@@ -389,6 +421,11 @@ export namespace NumberListResponse {
389
421
 
390
422
  currentPeriodEnd: string | null;
391
423
 
424
+ /**
425
+ * The device this number is bound to, or null.
426
+ */
427
+ deviceBinding: Item.DeviceBinding | null;
428
+
392
429
  /**
393
430
  * Why setup failed. Null unless state is failed, and null when the failure has no
394
431
  * classified reason. out_of_stock: no number is currently available for the
@@ -432,6 +469,17 @@ export namespace NumberListResponse {
432
469
  send: boolean;
433
470
  }
434
471
 
472
+ /**
473
+ * The device this number is bound to, or null.
474
+ */
475
+ export interface DeviceBinding {
476
+ boundAt: string;
477
+
478
+ deviceId: string;
479
+
480
+ deviceType: string | null;
481
+ }
482
+
435
483
  /**
436
484
  * What this line supports in principle, per channel. Use `actions` for what you
437
485
  * can do right now.
@@ -494,6 +542,11 @@ export namespace NumberDeleteResponse {
494
542
 
495
543
  currentPeriodEnd: string | null;
496
544
 
545
+ /**
546
+ * The device this number is bound to, or null.
547
+ */
548
+ deviceBinding: Data.DeviceBinding | null;
549
+
497
550
  /**
498
551
  * Why setup failed. Null unless state is failed, and null when the failure has no
499
552
  * classified reason. out_of_stock: no number is currently available for the
@@ -537,6 +590,17 @@ export namespace NumberDeleteResponse {
537
590
  send: boolean;
538
591
  }
539
592
 
593
+ /**
594
+ * The device this number is bound to, or null.
595
+ */
596
+ export interface DeviceBinding {
597
+ boundAt: string;
598
+
599
+ deviceId: string;
600
+
601
+ deviceType: string | null;
602
+ }
603
+
540
604
  /**
541
605
  * What this line supports in principle, per channel. Use `actions` for what you
542
606
  * can do right now.
@@ -198,8 +198,10 @@ export namespace TaskRetrieveResponse {
198
198
 
199
199
  /**
200
200
  * Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
201
- * tasks spawned by an agent step. Agent tasks are readable (status, trajectory,
202
- * media) but not controllable via this API.
201
+ * tasks spawned by an agent step or created with internal=true. 'source'
202
+ * classifies visibility only: tasks created with internal=true stay controllable
203
+ * via this API, while tasks spawned by an agent step are readable (status,
204
+ * trajectory, media) but not controllable.
203
205
  */
204
206
  source?: 'api' | 'agent';
205
207
 
@@ -344,8 +346,10 @@ export namespace TaskListResponse {
344
346
 
345
347
  /**
346
348
  * Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
347
- * tasks spawned by an agent step. Agent tasks are readable (status, trajectory,
348
- * media) but not controllable via this API.
349
+ * tasks spawned by an agent step or created with internal=true. 'source'
350
+ * classifies visibility only: tasks created with internal=true stay controllable
351
+ * via this API, while tasks spawned by an agent step are readable (status,
352
+ * trajectory, media) but not controllable.
349
353
  */
350
354
  source?: 'api' | 'agent';
351
355
 
@@ -1044,7 +1048,8 @@ export interface TaskListParams {
1044
1048
  query?: string | null;
1045
1049
 
1046
1050
  /**
1047
- * Only tasks created via the API ('api') or spawned by an agent step ('agent').
1051
+ * Only tasks created via the API ('api') or tasks spawned by an agent step or
1052
+ * created with internal=true ('agent').
1048
1053
  */
1049
1054
  source?: 'api' | 'agent' | null;
1050
1055
 
@@ -1094,9 +1099,18 @@ export interface TaskRunParams {
1094
1099
  */
1095
1100
  humanize?: boolean;
1096
1101
 
1102
+ /**
1103
+ * Mark a task started by an agent or worker on the user's behalf. It is listed as
1104
+ * source='agent' (excluded from source='api' lists) and its events carry
1105
+ * internal=true so user-facing notifications and webhooks skip it. It is still
1106
+ * billed, controllable and retrievable by id.
1107
+ */
1108
+ internal?: boolean;
1109
+
1097
1110
  /**
1098
1111
  * The LLM model identifier to use for the task (e.g.
1099
- * 'mobilerun/mobile-agent-fast')
1112
+ * 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
1113
+ * default model is used.
1100
1114
  */
1101
1115
  llmModel?: string;
1102
1116
 
@@ -1181,9 +1195,18 @@ export interface TaskRunStreamedParams {
1181
1195
  */
1182
1196
  humanize?: boolean;
1183
1197
 
1198
+ /**
1199
+ * Mark a task started by an agent or worker on the user's behalf. It is listed as
1200
+ * source='agent' (excluded from source='api' lists) and its events carry
1201
+ * internal=true so user-facing notifications and webhooks skip it. It is still
1202
+ * billed, controllable and retrievable by id.
1203
+ */
1204
+ internal?: boolean;
1205
+
1184
1206
  /**
1185
1207
  * The LLM model identifier to use for the task (e.g.
1186
- * 'mobilerun/mobile-agent-fast')
1208
+ * 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
1209
+ * default model is used.
1187
1210
  */
1188
1211
  llmModel?: string;
1189
1212
 
@@ -9,16 +9,22 @@ import { path } from '../../internal/utils/path';
9
9
  export class ActionCatalog extends APIResource {
10
10
  /**
11
11
  * Fetch a single action catalog entry by its ID, including its service, method,
12
- * and parameter schema. Returns 404 if no entry matches.
12
+ * parameter schema, and `deviceFree` eligibility. Supports
13
+ * `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
14
+ * that profile.
13
15
  */
14
- retrieve(catalogEntryID: string, options?: RequestOptions): APIPromise<ActionCatalogRetrieveResponse> {
15
- return this._client.get(path`/action-catalog/${catalogEntryID}`, options);
16
+ retrieve(
17
+ catalogEntryID: string,
18
+ query: ActionCatalogRetrieveParams | null | undefined = {},
19
+ options?: RequestOptions,
20
+ ): APIPromise<ActionCatalogRetrieveResponse> {
21
+ return this._client.get(path`/action-catalog/${catalogEntryID}`, { query, ...options });
16
22
  }
17
23
 
18
24
  /**
19
25
  * Return a paginated list of catalog entries — the service/method templates that
20
- * actions are created from, each carrying its parameter schema. Supports filtering
21
- * by `service`.
26
+ * actions are created from, each carrying its parameter schema and `deviceFree`
27
+ * eligibility. Supports filtering by `service` and `profile=agent_routine`.
22
28
  */
23
29
  list(
24
30
  query: ActionCatalogListParams | null | undefined = {},
@@ -40,16 +46,37 @@ export namespace ActionCatalogRetrieveResponse {
40
46
 
41
47
  description: string | null;
42
48
 
49
+ /**
50
+ * True when this step itself runs without a device; only such steps may appear in
51
+ * a device-free flow. Not the same as cloudRoutine: a device-free step can still
52
+ * be device-routine-only (see cloudRoutineReason).
53
+ */
54
+ deviceFree: boolean;
55
+
43
56
  method: string;
44
57
 
45
58
  name: string;
46
59
 
47
60
  provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
48
61
 
49
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
62
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
50
63
 
51
64
  updatedAt: string | null;
52
65
 
66
+ /**
67
+ * True when this step is allowed in a cloud agent routine. Present only for
68
+ * profile=agent_routine. False does not mean the step needs a device; read
69
+ * cloudRoutineReason.
70
+ */
71
+ cloudRoutine?: boolean;
72
+
73
+ /**
74
+ * Why cloudRoutine is false: needs_device (the step needs a device),
75
+ * device_routine_only (allowed only in device routines; the step itself does not
76
+ * need a device). Present only when cloudRoutine is false.
77
+ */
78
+ cloudRoutineReason?: 'needs_device' | 'device_routine_only';
79
+
53
80
  outputSchema?: unknown;
54
81
 
55
82
  paramsSchema?: unknown;
@@ -70,34 +97,68 @@ export namespace ActionCatalogListResponse {
70
97
 
71
98
  description: string | null;
72
99
 
100
+ /**
101
+ * True when this step itself runs without a device; only such steps may appear in
102
+ * a device-free flow. Not the same as cloudRoutine: a device-free step can still
103
+ * be device-routine-only (see cloudRoutineReason).
104
+ */
105
+ deviceFree: boolean;
106
+
73
107
  method: string;
74
108
 
75
109
  name: string;
76
110
 
77
111
  provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
78
112
 
79
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
113
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
80
114
 
81
115
  updatedAt: string | null;
82
116
 
117
+ /**
118
+ * True when this step is allowed in a cloud agent routine. Present only for
119
+ * profile=agent_routine. False does not mean the step needs a device; read
120
+ * cloudRoutineReason.
121
+ */
122
+ cloudRoutine?: boolean;
123
+
124
+ /**
125
+ * Why cloudRoutine is false: needs_device (the step needs a device),
126
+ * device_routine_only (allowed only in device routines; the step itself does not
127
+ * need a device). Present only when cloudRoutine is false.
128
+ */
129
+ cloudRoutineReason?: 'needs_device' | 'device_routine_only';
130
+
83
131
  outputSchema?: unknown;
84
132
 
85
133
  paramsSchema?: unknown;
86
134
  }
87
135
  }
88
136
 
137
+ export interface ActionCatalogRetrieveParams {
138
+ /**
139
+ * Restrict reads to the agent routine step surface.
140
+ */
141
+ profile?: 'agent_routine';
142
+ }
143
+
89
144
  export interface ActionCatalogListParams {
90
145
  page?: number;
91
146
 
92
147
  pageSize?: number;
93
148
 
94
- service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
149
+ /**
150
+ * Restrict reads to the agent routine step surface.
151
+ */
152
+ profile?: 'agent_routine';
153
+
154
+ service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
95
155
  }
96
156
 
97
157
  export declare namespace ActionCatalog {
98
158
  export {
99
159
  type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse,
100
160
  type ActionCatalogListResponse as ActionCatalogListResponse,
161
+ type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams,
101
162
  type ActionCatalogListParams as ActionCatalogListParams,
102
163
  };
103
164
  }
@@ -26,10 +26,15 @@ export class Actions extends APIResource {
26
26
 
27
27
  /**
28
28
  * Fetch a single action by its ID, including its configured service, method, and
29
- * params. Returns 404 if no action matches.
29
+ * params. Supports `profile=agent_routine`; returns 404 if no action matches or
30
+ * the action is outside that profile.
30
31
  */
31
- retrieve(actionID: string, options?: RequestOptions): APIPromise<ActionRetrieveResponse> {
32
- return this._client.get(path`/actions/${actionID}`, options);
32
+ retrieve(
33
+ actionID: string,
34
+ query: ActionRetrieveParams | null | undefined = {},
35
+ options?: RequestOptions,
36
+ ): APIPromise<ActionRetrieveResponse> {
37
+ return this._client.get(path`/actions/${actionID}`, { query, ...options });
33
38
  }
34
39
 
35
40
  /**
@@ -45,8 +50,9 @@ export class Actions extends APIResource {
45
50
  }
46
51
 
47
52
  /**
48
- * Return a paginated list of actions. Supports filtering by `service`, free-text
49
- * `search`, and ordering by name, createdAt, or updatedAt.
53
+ * Return a paginated list of actions. Supports filtering by
54
+ * `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
55
+ * createdAt, or updatedAt.
50
56
  */
51
57
  list(
52
58
  query: ActionListParams | null | undefined = {},
@@ -85,7 +91,7 @@ export namespace ActionCreateResponse {
85
91
 
86
92
  ownerId: string;
87
93
 
88
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
94
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
89
95
 
90
96
  updatedAt: string | null;
91
97
 
@@ -122,7 +128,7 @@ export namespace ActionRetrieveResponse {
122
128
 
123
129
  ownerId: string;
124
130
 
125
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
131
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
126
132
 
127
133
  updatedAt: string | null;
128
134
 
@@ -159,7 +165,7 @@ export namespace ActionUpdateResponse {
159
165
 
160
166
  ownerId: string;
161
167
 
162
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
168
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
163
169
 
164
170
  updatedAt: string | null;
165
171
 
@@ -198,7 +204,7 @@ export namespace ActionListResponse {
198
204
 
199
205
  ownerId: string;
200
206
 
201
- service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
207
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
202
208
 
203
209
  updatedAt: string | null;
204
210
 
@@ -227,6 +233,13 @@ export interface ActionCreateParams {
227
233
  params?: { [key: string]: unknown };
228
234
  }
229
235
 
236
+ export interface ActionRetrieveParams {
237
+ /**
238
+ * Restrict reads to the agent routine step surface.
239
+ */
240
+ profile?: 'agent_routine';
241
+ }
242
+
230
243
  export interface ActionUpdateParams {
231
244
  description?: string;
232
245
 
@@ -244,9 +257,14 @@ export interface ActionListParams {
244
257
 
245
258
  pageSize?: number;
246
259
 
260
+ /**
261
+ * Restrict reads to the agent routine step surface.
262
+ */
263
+ profile?: 'agent_routine';
264
+
247
265
  search?: string;
248
266
 
249
- service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
267
+ service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
250
268
  }
251
269
 
252
270
  Actions.Services = Services;
@@ -259,6 +277,7 @@ export declare namespace Actions {
259
277
  type ActionListResponse as ActionListResponse,
260
278
  type ActionDeleteResponse as ActionDeleteResponse,
261
279
  type ActionCreateParams as ActionCreateParams,
280
+ type ActionRetrieveParams as ActionRetrieveParams,
262
281
  type ActionUpdateParams as ActionUpdateParams,
263
282
  type ActionListParams as ActionListParams,
264
283
  };
@@ -8,6 +8,7 @@ export {
8
8
  type ActionListResponse,
9
9
  type ActionDeleteResponse,
10
10
  type ActionCreateParams,
11
+ type ActionRetrieveParams,
11
12
  type ActionUpdateParams,
12
13
  type ActionListParams,
13
14
  } from './actions';