@mobilerun/sdk 5.4.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +10 -13
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -13
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +2 -4
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/apps.d.mts +23 -12
  12. package/resources/apps.d.mts.map +1 -1
  13. package/resources/apps.d.ts +23 -12
  14. package/resources/apps.d.ts.map +1 -1
  15. package/resources/apps.js +8 -3
  16. package/resources/apps.js.map +1 -1
  17. package/resources/apps.mjs +8 -3
  18. package/resources/apps.mjs.map +1 -1
  19. package/resources/assistant/conversations.d.mts +33 -21
  20. package/resources/assistant/conversations.d.mts.map +1 -1
  21. package/resources/assistant/conversations.d.ts +33 -21
  22. package/resources/assistant/conversations.d.ts.map +1 -1
  23. package/resources/assistant/conversations.js +16 -15
  24. package/resources/assistant/conversations.js.map +1 -1
  25. package/resources/assistant/conversations.mjs +16 -15
  26. package/resources/assistant/conversations.mjs.map +1 -1
  27. package/resources/connect/connect.d.mts +2 -2
  28. package/resources/connect/connect.d.mts.map +1 -1
  29. package/resources/connect/connect.d.ts +2 -2
  30. package/resources/connect/connect.d.ts.map +1 -1
  31. package/resources/connect/connect.js.map +1 -1
  32. package/resources/connect/connect.mjs.map +1 -1
  33. package/resources/connect/index.d.mts +1 -1
  34. package/resources/connect/index.d.mts.map +1 -1
  35. package/resources/connect/index.d.ts +1 -1
  36. package/resources/connect/index.d.ts.map +1 -1
  37. package/resources/connect/index.js.map +1 -1
  38. package/resources/connect/index.mjs.map +1 -1
  39. package/resources/connect/proxies.d.mts +118 -19
  40. package/resources/connect/proxies.d.mts.map +1 -1
  41. package/resources/connect/proxies.d.ts +118 -19
  42. package/resources/connect/proxies.d.ts.map +1 -1
  43. package/resources/connect/proxies.js +19 -0
  44. package/resources/connect/proxies.js.map +1 -1
  45. package/resources/connect/proxies.mjs +19 -0
  46. package/resources/connect/proxies.mjs.map +1 -1
  47. package/resources/devices/apps.d.mts +37 -17
  48. package/resources/devices/apps.d.mts.map +1 -1
  49. package/resources/devices/apps.d.ts +37 -17
  50. package/resources/devices/apps.d.ts.map +1 -1
  51. package/resources/devices/apps.js +15 -14
  52. package/resources/devices/apps.js.map +1 -1
  53. package/resources/devices/apps.mjs +15 -14
  54. package/resources/devices/apps.mjs.map +1 -1
  55. package/resources/devices/browser.d.mts +9 -3
  56. package/resources/devices/browser.d.mts.map +1 -1
  57. package/resources/devices/browser.d.ts +9 -3
  58. package/resources/devices/browser.d.ts.map +1 -1
  59. package/resources/devices/browser.js +9 -3
  60. package/resources/devices/browser.js.map +1 -1
  61. package/resources/devices/browser.mjs +9 -3
  62. package/resources/devices/browser.mjs.map +1 -1
  63. package/resources/devices/devices.d.mts +81 -27
  64. package/resources/devices/devices.d.mts.map +1 -1
  65. package/resources/devices/devices.d.ts +81 -27
  66. package/resources/devices/devices.d.ts.map +1 -1
  67. package/resources/devices/devices.js +24 -11
  68. package/resources/devices/devices.js.map +1 -1
  69. package/resources/devices/devices.mjs +24 -11
  70. package/resources/devices/devices.mjs.map +1 -1
  71. package/resources/devices/index.d.mts +2 -1
  72. package/resources/devices/index.d.mts.map +1 -1
  73. package/resources/devices/index.d.ts +2 -1
  74. package/resources/devices/index.d.ts.map +1 -1
  75. package/resources/devices/index.js +3 -1
  76. package/resources/devices/index.js.map +1 -1
  77. package/resources/devices/index.mjs +1 -0
  78. package/resources/devices/index.mjs.map +1 -1
  79. package/resources/devices/keyboard.d.mts +9 -3
  80. package/resources/devices/keyboard.d.mts.map +1 -1
  81. package/resources/devices/keyboard.d.ts +9 -3
  82. package/resources/devices/keyboard.d.ts.map +1 -1
  83. package/resources/devices/keyboard.js +3 -3
  84. package/resources/devices/keyboard.mjs +3 -3
  85. package/resources/devices/recordings.d.mts +13 -0
  86. package/resources/devices/recordings.d.mts.map +1 -1
  87. package/resources/devices/recordings.d.ts +13 -0
  88. package/resources/devices/recordings.d.ts.map +1 -1
  89. package/resources/devices/traffic-sessions.d.mts +163 -0
  90. package/resources/devices/traffic-sessions.d.mts.map +1 -0
  91. package/resources/devices/traffic-sessions.d.ts +163 -0
  92. package/resources/devices/traffic-sessions.d.ts.map +1 -0
  93. package/resources/devices/traffic-sessions.js +37 -0
  94. package/resources/devices/traffic-sessions.js.map +1 -0
  95. package/resources/devices/traffic-sessions.mjs +33 -0
  96. package/resources/devices/traffic-sessions.mjs.map +1 -0
  97. package/resources/files.d.mts +77 -19
  98. package/resources/files.d.mts.map +1 -1
  99. package/resources/files.d.ts +77 -19
  100. package/resources/files.d.ts.map +1 -1
  101. package/resources/files.js +2 -10
  102. package/resources/files.js.map +1 -1
  103. package/resources/files.mjs +2 -10
  104. package/resources/files.mjs.map +1 -1
  105. package/resources/index.d.mts +5 -6
  106. package/resources/index.d.mts.map +1 -1
  107. package/resources/index.d.ts +5 -6
  108. package/resources/index.d.ts.map +1 -1
  109. package/resources/index.js +1 -3
  110. package/resources/index.js.map +1 -1
  111. package/resources/index.mjs +1 -2
  112. package/resources/index.mjs.map +1 -1
  113. package/resources/mailboxes/connections.d.mts +64 -0
  114. package/resources/mailboxes/connections.d.mts.map +1 -0
  115. package/resources/mailboxes/connections.d.ts +64 -0
  116. package/resources/mailboxes/connections.d.ts.map +1 -0
  117. package/resources/mailboxes/connections.js +42 -0
  118. package/resources/mailboxes/connections.js.map +1 -0
  119. package/resources/mailboxes/connections.mjs +38 -0
  120. package/resources/mailboxes/connections.mjs.map +1 -0
  121. package/resources/mailboxes/index.d.mts +2 -1
  122. package/resources/mailboxes/index.d.mts.map +1 -1
  123. package/resources/mailboxes/index.d.ts +2 -1
  124. package/resources/mailboxes/index.d.ts.map +1 -1
  125. package/resources/mailboxes/index.js +3 -1
  126. package/resources/mailboxes/index.js.map +1 -1
  127. package/resources/mailboxes/index.mjs +1 -0
  128. package/resources/mailboxes/index.mjs.map +1 -1
  129. package/resources/mailboxes/mailboxes.d.mts +107 -50
  130. package/resources/mailboxes/mailboxes.d.mts.map +1 -1
  131. package/resources/mailboxes/mailboxes.d.ts +107 -50
  132. package/resources/mailboxes/mailboxes.d.ts.map +1 -1
  133. package/resources/mailboxes/mailboxes.js +34 -24
  134. package/resources/mailboxes/mailboxes.js.map +1 -1
  135. package/resources/mailboxes/mailboxes.mjs +34 -24
  136. package/resources/mailboxes/mailboxes.mjs.map +1 -1
  137. package/resources/mailboxes/messages.d.mts +2 -2
  138. package/resources/mailboxes/messages.d.ts +2 -2
  139. package/resources/mailboxes/messages.js +2 -2
  140. package/resources/mailboxes/messages.mjs +2 -2
  141. package/resources/messages/conversations.d.mts +4 -15
  142. package/resources/messages/conversations.d.mts.map +1 -1
  143. package/resources/messages/conversations.d.ts +4 -15
  144. package/resources/messages/conversations.d.ts.map +1 -1
  145. package/resources/messages/conversations.js +4 -15
  146. package/resources/messages/conversations.js.map +1 -1
  147. package/resources/messages/conversations.mjs +4 -15
  148. package/resources/messages/conversations.mjs.map +1 -1
  149. package/resources/messages/index.d.mts +1 -1
  150. package/resources/messages/index.d.mts.map +1 -1
  151. package/resources/messages/index.d.ts +1 -1
  152. package/resources/messages/index.d.ts.map +1 -1
  153. package/resources/messages/index.js.map +1 -1
  154. package/resources/messages/index.mjs +1 -1
  155. package/resources/messages/index.mjs.map +1 -1
  156. package/resources/messages/messages.d.mts +28 -5
  157. package/resources/messages/messages.d.mts.map +1 -1
  158. package/resources/messages/messages.d.ts +28 -5
  159. package/resources/messages/messages.d.ts.map +1 -1
  160. package/resources/messages/messages.js +11 -4
  161. package/resources/messages/messages.js.map +1 -1
  162. package/resources/messages/messages.mjs +11 -4
  163. package/resources/messages/messages.mjs.map +1 -1
  164. package/resources/notifications.d.mts +27 -1
  165. package/resources/notifications.d.mts.map +1 -1
  166. package/resources/notifications.d.ts +27 -1
  167. package/resources/notifications.d.ts.map +1 -1
  168. package/resources/notifications.js +17 -0
  169. package/resources/notifications.js.map +1 -1
  170. package/resources/notifications.mjs +17 -0
  171. package/resources/notifications.mjs.map +1 -1
  172. package/resources/numbers/index.d.mts +2 -2
  173. package/resources/numbers/index.d.mts.map +1 -1
  174. package/resources/numbers/index.d.ts +2 -2
  175. package/resources/numbers/index.d.ts.map +1 -1
  176. package/resources/numbers/index.js.map +1 -1
  177. package/resources/numbers/index.mjs +1 -1
  178. package/resources/numbers/index.mjs.map +1 -1
  179. package/resources/numbers/messages.d.mts +60 -1
  180. package/resources/numbers/messages.d.mts.map +1 -1
  181. package/resources/numbers/messages.d.ts +60 -1
  182. package/resources/numbers/messages.d.ts.map +1 -1
  183. package/resources/numbers/messages.js +21 -0
  184. package/resources/numbers/messages.js.map +1 -1
  185. package/resources/numbers/messages.mjs +21 -0
  186. package/resources/numbers/messages.mjs.map +1 -1
  187. package/resources/numbers/numbers.d.mts +167 -46
  188. package/resources/numbers/numbers.d.mts.map +1 -1
  189. package/resources/numbers/numbers.d.ts +167 -46
  190. package/resources/numbers/numbers.d.ts.map +1 -1
  191. package/resources/numbers/numbers.js +25 -40
  192. package/resources/numbers/numbers.js.map +1 -1
  193. package/resources/numbers/numbers.mjs +26 -41
  194. package/resources/numbers/numbers.mjs.map +1 -1
  195. package/resources/store/apps.d.mts +23 -2
  196. package/resources/store/apps.d.mts.map +1 -1
  197. package/resources/store/apps.d.ts +23 -2
  198. package/resources/store/apps.d.ts.map +1 -1
  199. package/resources/tasks/tasks.d.mts +84 -75
  200. package/resources/tasks/tasks.d.mts.map +1 -1
  201. package/resources/tasks/tasks.d.ts +84 -75
  202. package/resources/tasks/tasks.d.ts.map +1 -1
  203. package/resources/tasks/tasks.js +2 -10
  204. package/resources/tasks/tasks.js.map +1 -1
  205. package/resources/tasks/tasks.mjs +2 -10
  206. package/resources/tasks/tasks.mjs.map +1 -1
  207. package/resources/webhooks/deliveries.d.mts +22 -31
  208. package/resources/webhooks/deliveries.d.mts.map +1 -1
  209. package/resources/webhooks/deliveries.d.ts +22 -31
  210. package/resources/webhooks/deliveries.d.ts.map +1 -1
  211. package/resources/webhooks/deliveries.js +4 -30
  212. package/resources/webhooks/deliveries.js.map +1 -1
  213. package/resources/webhooks/deliveries.mjs +4 -30
  214. package/resources/webhooks/deliveries.mjs.map +1 -1
  215. package/resources/webhooks/index.d.mts +1 -0
  216. package/resources/webhooks/index.d.mts.map +1 -1
  217. package/resources/webhooks/index.d.ts +1 -0
  218. package/resources/webhooks/index.d.ts.map +1 -1
  219. package/resources/webhooks/index.js +3 -1
  220. package/resources/webhooks/index.js.map +1 -1
  221. package/resources/webhooks/index.mjs +1 -0
  222. package/resources/webhooks/index.mjs.map +1 -1
  223. package/resources/webhooks/integrations.d.mts +77 -0
  224. package/resources/webhooks/integrations.d.mts.map +1 -0
  225. package/resources/webhooks/integrations.d.ts +77 -0
  226. package/resources/webhooks/integrations.d.ts.map +1 -0
  227. package/resources/webhooks/integrations.js +26 -0
  228. package/resources/webhooks/integrations.js.map +1 -0
  229. package/resources/webhooks/integrations.mjs +22 -0
  230. package/resources/webhooks/integrations.mjs.map +1 -0
  231. package/resources/webhooks/webhooks.d.mts +280 -71
  232. package/resources/webhooks/webhooks.d.mts.map +1 -1
  233. package/resources/webhooks/webhooks.d.ts +280 -71
  234. package/resources/webhooks/webhooks.d.ts.map +1 -1
  235. package/resources/webhooks/webhooks.js +27 -60
  236. package/resources/webhooks/webhooks.js.map +1 -1
  237. package/resources/webhooks/webhooks.mjs +27 -60
  238. package/resources/webhooks/webhooks.mjs.map +1 -1
  239. package/resources/workflows/action-catalog.d.mts +7 -3
  240. package/resources/workflows/action-catalog.d.mts.map +1 -1
  241. package/resources/workflows/action-catalog.d.ts +7 -3
  242. package/resources/workflows/action-catalog.d.ts.map +1 -1
  243. package/resources/workflows/actions/actions.d.mts +9 -5
  244. package/resources/workflows/actions/actions.d.mts.map +1 -1
  245. package/resources/workflows/actions/actions.d.ts +9 -5
  246. package/resources/workflows/actions/actions.d.ts.map +1 -1
  247. package/resources/workflows/actions/actions.js +4 -0
  248. package/resources/workflows/actions/actions.js.map +1 -1
  249. package/resources/workflows/actions/actions.mjs +4 -0
  250. package/resources/workflows/actions/actions.mjs.map +1 -1
  251. package/resources/workflows/events.d.mts +66 -4
  252. package/resources/workflows/events.d.mts.map +1 -1
  253. package/resources/workflows/events.d.ts +66 -4
  254. package/resources/workflows/events.d.ts.map +1 -1
  255. package/resources/workflows/executions/executions.d.mts +334 -0
  256. package/resources/workflows/executions/executions.d.mts.map +1 -0
  257. package/resources/workflows/executions/executions.d.ts +334 -0
  258. package/resources/workflows/executions/executions.d.ts.map +1 -0
  259. package/resources/workflows/executions/executions.js +49 -0
  260. package/resources/workflows/executions/executions.js.map +1 -0
  261. package/resources/workflows/executions/executions.mjs +44 -0
  262. package/resources/workflows/executions/executions.mjs.map +1 -0
  263. package/resources/workflows/executions/index.d.mts +3 -0
  264. package/resources/workflows/executions/index.d.mts.map +1 -0
  265. package/resources/workflows/executions/index.d.ts +3 -0
  266. package/resources/workflows/executions/index.d.ts.map +1 -0
  267. package/resources/workflows/executions/index.js +9 -0
  268. package/resources/workflows/executions/index.js.map +1 -0
  269. package/resources/workflows/executions/index.mjs +4 -0
  270. package/resources/workflows/executions/index.mjs.map +1 -0
  271. package/resources/workflows/executions/screenshots.d.mts +18 -0
  272. package/resources/workflows/executions/screenshots.d.mts.map +1 -0
  273. package/resources/workflows/executions/screenshots.d.ts +18 -0
  274. package/resources/workflows/executions/screenshots.d.ts.map +1 -0
  275. package/resources/workflows/executions/screenshots.js +23 -0
  276. package/resources/workflows/executions/screenshots.js.map +1 -0
  277. package/resources/workflows/executions/screenshots.mjs +19 -0
  278. package/resources/workflows/executions/screenshots.mjs.map +1 -0
  279. package/resources/workflows/executions.d.mts +1 -190
  280. package/resources/workflows/executions.d.mts.map +1 -1
  281. package/resources/workflows/executions.d.ts +1 -190
  282. package/resources/workflows/executions.d.ts.map +1 -1
  283. package/resources/workflows/executions.js +2 -36
  284. package/resources/workflows/executions.js.map +1 -1
  285. package/resources/workflows/executions.mjs +1 -34
  286. package/resources/workflows/executions.mjs.map +1 -1
  287. package/resources/workflows/flows/actions.d.mts +58 -0
  288. package/resources/workflows/flows/actions.d.mts.map +1 -1
  289. package/resources/workflows/flows/actions.d.ts +58 -0
  290. package/resources/workflows/flows/actions.d.ts.map +1 -1
  291. package/resources/workflows/flows/actions.js +4 -0
  292. package/resources/workflows/flows/actions.js.map +1 -1
  293. package/resources/workflows/flows/actions.mjs +4 -0
  294. package/resources/workflows/flows/actions.mjs.map +1 -1
  295. package/resources/workflows/flows/flows.d.mts +666 -15
  296. package/resources/workflows/flows/flows.d.mts.map +1 -1
  297. package/resources/workflows/flows/flows.d.ts +666 -15
  298. package/resources/workflows/flows/flows.d.ts.map +1 -1
  299. package/resources/workflows/flows/flows.js +86 -1
  300. package/resources/workflows/flows/flows.js.map +1 -1
  301. package/resources/workflows/flows/flows.mjs +86 -1
  302. package/resources/workflows/flows/flows.mjs.map +1 -1
  303. package/resources/workflows/flows/index.d.mts +1 -1
  304. package/resources/workflows/flows/index.d.mts.map +1 -1
  305. package/resources/workflows/flows/index.d.ts +1 -1
  306. package/resources/workflows/flows/index.d.ts.map +1 -1
  307. package/resources/workflows/flows/index.js.map +1 -1
  308. package/resources/workflows/flows/index.mjs.map +1 -1
  309. package/resources/workflows/index.d.mts +2 -2
  310. package/resources/workflows/index.d.mts.map +1 -1
  311. package/resources/workflows/index.d.ts +2 -2
  312. package/resources/workflows/index.d.ts.map +1 -1
  313. package/resources/workflows/index.js +4 -4
  314. package/resources/workflows/index.js.map +1 -1
  315. package/resources/workflows/index.mjs +1 -1
  316. package/resources/workflows/index.mjs.map +1 -1
  317. package/resources/workflows/triggers.d.mts +118 -6
  318. package/resources/workflows/triggers.d.mts.map +1 -1
  319. package/resources/workflows/triggers.d.ts +118 -6
  320. package/resources/workflows/triggers.d.ts.map +1 -1
  321. package/resources/workflows/triggers.js +14 -0
  322. package/resources/workflows/triggers.js.map +1 -1
  323. package/resources/workflows/triggers.mjs +14 -0
  324. package/resources/workflows/triggers.mjs.map +1 -1
  325. package/resources/workflows/workflows.d.mts +4 -4
  326. package/resources/workflows/workflows.d.mts.map +1 -1
  327. package/resources/workflows/workflows.d.ts +4 -4
  328. package/resources/workflows/workflows.d.ts.map +1 -1
  329. package/resources/workflows/workflows.js +2 -2
  330. package/resources/workflows/workflows.js.map +1 -1
  331. package/resources/workflows/workflows.mjs +2 -2
  332. package/resources/workflows/workflows.mjs.map +1 -1
  333. package/src/client.ts +22 -42
  334. package/src/resources/apps.ts +24 -12
  335. package/src/resources/assistant/conversations.ts +50 -31
  336. package/src/resources/connect/connect.ts +6 -0
  337. package/src/resources/connect/index.ts +3 -0
  338. package/src/resources/connect/proxies.ts +146 -18
  339. package/src/resources/devices/apps.ts +41 -17
  340. package/src/resources/devices/browser.ts +9 -3
  341. package/src/resources/devices/devices.ts +138 -34
  342. package/src/resources/devices/index.ts +13 -0
  343. package/src/resources/devices/keyboard.ts +10 -3
  344. package/src/resources/devices/recordings.ts +14 -0
  345. package/src/resources/devices/traffic-sessions.ts +282 -0
  346. package/src/resources/files.ts +122 -29
  347. package/src/resources/index.ts +13 -20
  348. package/src/resources/mailboxes/connections.ts +91 -0
  349. package/src/resources/mailboxes/index.ts +7 -0
  350. package/src/resources/mailboxes/mailboxes.ts +190 -49
  351. package/src/resources/mailboxes/messages.ts +2 -2
  352. package/src/resources/messages/conversations.ts +4 -15
  353. package/src/resources/messages/index.ts +6 -1
  354. package/src/resources/messages/messages.ts +57 -5
  355. package/src/resources/notifications.ts +37 -0
  356. package/src/resources/numbers/index.ts +9 -1
  357. package/src/resources/numbers/messages.ts +92 -1
  358. package/src/resources/numbers/numbers.ts +197 -55
  359. package/src/resources/store/apps.ts +291 -2
  360. package/src/resources/tasks/tasks.ts +126 -93
  361. package/src/resources/webhooks/deliveries.ts +26 -31
  362. package/src/resources/webhooks/index.ts +6 -0
  363. package/src/resources/webhooks/integrations.ts +107 -0
  364. package/src/resources/webhooks/webhooks.ts +328 -71
  365. package/src/resources/workflows/action-catalog.ts +11 -3
  366. package/src/resources/workflows/actions/actions.ts +9 -5
  367. package/src/resources/workflows/events.ts +86 -4
  368. package/src/resources/workflows/executions/executions.ts +514 -0
  369. package/src/resources/workflows/executions/index.ts +12 -0
  370. package/src/resources/workflows/executions/screenshots.ts +34 -0
  371. package/src/resources/workflows/executions.ts +1 -296
  372. package/src/resources/workflows/flows/actions.ts +72 -0
  373. package/src/resources/workflows/flows/flows.ts +1058 -129
  374. package/src/resources/workflows/flows/index.ts +12 -0
  375. package/src/resources/workflows/index.ts +13 -1
  376. package/src/resources/workflows/triggers.ts +140 -6
  377. package/src/resources/workflows/workflows.ts +34 -10
  378. package/src/version.ts +1 -1
  379. package/version.d.mts +1 -1
  380. package/version.d.ts +1 -1
  381. package/version.js +1 -1
  382. package/version.mjs +1 -1
  383. package/resources/esims/esims.d.mts +0 -566
  384. package/resources/esims/esims.d.mts.map +0 -1
  385. package/resources/esims/esims.d.ts +0 -566
  386. package/resources/esims/esims.d.ts.map +0 -1
  387. package/resources/esims/esims.js +0 -205
  388. package/resources/esims/esims.js.map +0 -1
  389. package/resources/esims/esims.mjs +0 -200
  390. package/resources/esims/esims.mjs.map +0 -1
  391. package/resources/esims/index.d.mts +0 -3
  392. package/resources/esims/index.d.mts.map +0 -1
  393. package/resources/esims/index.d.ts +0 -3
  394. package/resources/esims/index.d.ts.map +0 -1
  395. package/resources/esims/index.js +0 -9
  396. package/resources/esims/index.js.map +0 -1
  397. package/resources/esims/index.mjs +0 -4
  398. package/resources/esims/index.mjs.map +0 -1
  399. package/resources/esims/messages.d.mts +0 -106
  400. package/resources/esims/messages.d.mts.map +0 -1
  401. package/resources/esims/messages.d.ts +0 -106
  402. package/resources/esims/messages.d.ts.map +0 -1
  403. package/resources/esims/messages.js +0 -37
  404. package/resources/esims/messages.js.map +0 -1
  405. package/resources/esims/messages.mjs +0 -33
  406. package/resources/esims/messages.mjs.map +0 -1
  407. package/resources/esims.d.mts +0 -2
  408. package/resources/esims.d.mts.map +0 -1
  409. package/resources/esims.d.ts +0 -2
  410. package/resources/esims.d.ts.map +0 -1
  411. package/resources/esims.js +0 -6
  412. package/resources/esims.js.map +0 -1
  413. package/resources/esims.mjs +0 -3
  414. package/resources/esims.mjs.map +0 -1
  415. package/src/resources/esims/esims.ts +0 -1019
  416. package/src/resources/esims/index.ts +0 -28
  417. package/src/resources/esims/messages.ts +0 -187
  418. package/src/resources/esims.ts +0 -3
@@ -63,6 +63,8 @@ export namespace AppRetrieveResponse {
63
63
  updatedAt: string | null;
64
64
 
65
65
  version: Data.Version;
66
+
67
+ versions: Array<Data.Version>;
66
68
  }
67
69
 
68
70
  export namespace Data {
@@ -335,7 +337,294 @@ export namespace AppRetrieveResponse {
335
337
 
336
338
  sizeBytes: number | null;
337
339
 
338
- source: 'user' | 'system' | 'portal' | 'store' | 'catalog';
340
+ source: 'user' | 'system' | 'portal' | 'store';
341
+
342
+ status: 'queued' | 'available' | 'failed';
343
+
344
+ targetSdk: number | null;
345
+
346
+ updatedAt: string | null;
347
+
348
+ /**
349
+ * @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
350
+ */
351
+ userId: string | null;
352
+
353
+ versionCode: number;
354
+
355
+ versionName: string;
356
+ }
357
+
358
+ export interface Version {
359
+ id: string;
360
+
361
+ appId: string;
362
+
363
+ country:
364
+ | 'AF'
365
+ | 'AL'
366
+ | 'DZ'
367
+ | 'AS'
368
+ | 'AD'
369
+ | 'AO'
370
+ | 'AI'
371
+ | 'AQ'
372
+ | 'AG'
373
+ | 'AR'
374
+ | 'AM'
375
+ | 'AW'
376
+ | 'AP'
377
+ | 'AU'
378
+ | 'AT'
379
+ | 'AZ'
380
+ | 'BS'
381
+ | 'BH'
382
+ | 'BD'
383
+ | 'BB'
384
+ | 'BY'
385
+ | 'BE'
386
+ | 'BZ'
387
+ | 'BJ'
388
+ | 'BM'
389
+ | 'BT'
390
+ | 'BO'
391
+ | 'BQ'
392
+ | 'BA'
393
+ | 'BW'
394
+ | 'BV'
395
+ | 'BR'
396
+ | 'IO'
397
+ | 'BN'
398
+ | 'BG'
399
+ | 'BF'
400
+ | 'BI'
401
+ | 'KH'
402
+ | 'CM'
403
+ | 'CA'
404
+ | 'CV'
405
+ | 'KY'
406
+ | 'CF'
407
+ | 'TD'
408
+ | 'CL'
409
+ | 'CN'
410
+ | 'CX'
411
+ | 'CC'
412
+ | 'CO'
413
+ | 'KM'
414
+ | 'CG'
415
+ | 'CD'
416
+ | 'CK'
417
+ | 'CR'
418
+ | 'HR'
419
+ | 'CU'
420
+ | 'CW'
421
+ | 'CY'
422
+ | 'CZ'
423
+ | 'CI'
424
+ | 'DK'
425
+ | 'DJ'
426
+ | 'DM'
427
+ | 'DO'
428
+ | 'EC'
429
+ | 'EG'
430
+ | 'SV'
431
+ | 'GQ'
432
+ | 'ER'
433
+ | 'EE'
434
+ | 'ET'
435
+ | 'FK'
436
+ | 'FO'
437
+ | 'FJ'
438
+ | 'FI'
439
+ | 'FR'
440
+ | 'GF'
441
+ | 'PF'
442
+ | 'TF'
443
+ | 'GA'
444
+ | 'GM'
445
+ | 'GE'
446
+ | 'DE'
447
+ | 'GH'
448
+ | 'GI'
449
+ | 'GR'
450
+ | 'GL'
451
+ | 'GD'
452
+ | 'GP'
453
+ | 'GU'
454
+ | 'GT'
455
+ | 'GG'
456
+ | 'GN'
457
+ | 'GW'
458
+ | 'GY'
459
+ | 'HT'
460
+ | 'HM'
461
+ | 'VA'
462
+ | 'HN'
463
+ | 'HK'
464
+ | 'HU'
465
+ | 'IS'
466
+ | 'IN'
467
+ | 'ID'
468
+ | 'IR'
469
+ | 'IQ'
470
+ | 'IE'
471
+ | 'IM'
472
+ | 'IL'
473
+ | 'IT'
474
+ | 'JM'
475
+ | 'JP'
476
+ | 'JE'
477
+ | 'JO'
478
+ | 'KZ'
479
+ | 'KE'
480
+ | 'KI'
481
+ | 'KR'
482
+ | 'KW'
483
+ | 'KG'
484
+ | 'LA'
485
+ | 'LV'
486
+ | 'LB'
487
+ | 'LS'
488
+ | 'LR'
489
+ | 'LY'
490
+ | 'LI'
491
+ | 'LT'
492
+ | 'LU'
493
+ | 'MO'
494
+ | 'MG'
495
+ | 'MW'
496
+ | 'MY'
497
+ | 'MV'
498
+ | 'ML'
499
+ | 'MT'
500
+ | 'MH'
501
+ | 'MQ'
502
+ | 'MR'
503
+ | 'MU'
504
+ | 'YT'
505
+ | 'MX'
506
+ | 'FM'
507
+ | 'MD'
508
+ | 'MC'
509
+ | 'MN'
510
+ | 'ME'
511
+ | 'MS'
512
+ | 'MA'
513
+ | 'MZ'
514
+ | 'MM'
515
+ | 'NA'
516
+ | 'NR'
517
+ | 'NP'
518
+ | 'NL'
519
+ | 'AN'
520
+ | 'NC'
521
+ | 'NZ'
522
+ | 'NI'
523
+ | 'NE'
524
+ | 'NG'
525
+ | 'NU'
526
+ | 'NF'
527
+ | 'KP'
528
+ | 'MK'
529
+ | 'MP'
530
+ | 'NO'
531
+ | 'OM'
532
+ | 'PK'
533
+ | 'PW'
534
+ | 'PS'
535
+ | 'PA'
536
+ | 'PG'
537
+ | 'PY'
538
+ | 'PE'
539
+ | 'PH'
540
+ | 'PN'
541
+ | 'PL'
542
+ | 'PT'
543
+ | 'PR'
544
+ | 'QA'
545
+ | 'RE'
546
+ | 'RO'
547
+ | 'RU'
548
+ | 'RW'
549
+ | 'BL'
550
+ | 'SH'
551
+ | 'KN'
552
+ | 'LC'
553
+ | 'MF'
554
+ | 'PM'
555
+ | 'VC'
556
+ | 'WS'
557
+ | 'SM'
558
+ | 'ST'
559
+ | 'SA'
560
+ | 'SN'
561
+ | 'RS'
562
+ | 'CS'
563
+ | 'SC'
564
+ | 'SL'
565
+ | 'SG'
566
+ | 'SX'
567
+ | 'SK'
568
+ | 'SI'
569
+ | 'SB'
570
+ | 'SO'
571
+ | 'ZA'
572
+ | 'GS'
573
+ | 'SS'
574
+ | 'ES'
575
+ | 'LK'
576
+ | 'SD'
577
+ | 'SR'
578
+ | 'SJ'
579
+ | 'SZ'
580
+ | 'SE'
581
+ | 'CH'
582
+ | 'SY'
583
+ | 'TW'
584
+ | 'TJ'
585
+ | 'TZ'
586
+ | 'TH'
587
+ | 'TL'
588
+ | 'TG'
589
+ | 'TK'
590
+ | 'TO'
591
+ | 'TT'
592
+ | 'TN'
593
+ | 'TR'
594
+ | 'TM'
595
+ | 'TC'
596
+ | 'TV'
597
+ | 'UG'
598
+ | 'UA'
599
+ | 'AE'
600
+ | 'GB'
601
+ | 'US'
602
+ | 'UM'
603
+ | 'UY'
604
+ | 'UZ'
605
+ | 'VU'
606
+ | 'VE'
607
+ | 'VN'
608
+ | 'VG'
609
+ | 'VI'
610
+ | 'WF'
611
+ | 'EH'
612
+ | 'YE'
613
+ | 'ZM'
614
+ | 'ZW'
615
+ | 'AX';
616
+
617
+ createdAt: string | null;
618
+
619
+ createdBy: string | null;
620
+
621
+ ownerId: string | null;
622
+
623
+ queuedAt: string | null;
624
+
625
+ sizeBytes: number | null;
626
+
627
+ source: 'user' | 'system' | 'portal' | 'store';
339
628
 
340
629
  status: 'queued' | 'available' | 'failed';
341
630
 
@@ -658,7 +947,7 @@ export namespace AppListResponse {
658
947
 
659
948
  sizeBytes: number | null;
660
949
 
661
- source: 'user' | 'system' | 'portal' | 'store' | 'catalog';
950
+ source: 'user' | 'system' | 'portal' | 'store';
662
951
 
663
952
  status: 'queued' | 'available' | 'failed';
664
953
 
@@ -68,16 +68,8 @@ export class Tasks extends APIResource {
68
68
  * Create and dispatch a new agent task. Returns the task ID and device stream
69
69
  * details.
70
70
  */
71
- run(params: TaskRunParams, options?: RequestOptions): APIPromise<TaskRunResponse> {
72
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
73
- return this._client.post('/tasks', {
74
- body,
75
- ...options,
76
- headers: buildHeaders([
77
- { ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
78
- options?.headers,
79
- ]),
80
- });
71
+ run(body: TaskRunParams, options?: RequestOptions): APIPromise<TaskRunResponse> {
72
+ return this._client.post('/tasks', { body, ...options });
81
73
  }
82
74
 
83
75
  /**
@@ -134,7 +126,15 @@ export namespace TaskRetrieveResponse {
134
126
 
135
127
  ownerId: string;
136
128
 
137
- status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
129
+ status:
130
+ | 'prepared'
131
+ | 'queued'
132
+ | 'created'
133
+ | 'running'
134
+ | 'cancelling'
135
+ | 'completed'
136
+ | 'failed'
137
+ | 'cancelled';
138
138
 
139
139
  task: string;
140
140
 
@@ -147,8 +147,6 @@ export namespace TaskRetrieveResponse {
147
147
 
148
148
  accessibility?: boolean;
149
149
 
150
- agentId?: number;
151
-
152
150
  apps?: Array<string>;
153
151
 
154
152
  cancelRequestedAt?: string | null;
@@ -175,11 +173,6 @@ export namespace TaskRetrieveResponse {
175
173
 
176
174
  maxSteps?: number;
177
175
 
178
- /**
179
- * Memory namespace for cross-task personalization
180
- */
181
- memoryNamespace?: string;
182
-
183
176
  message?: string | null;
184
177
 
185
178
  output?: { [key: string]: unknown } | null;
@@ -188,6 +181,22 @@ export namespace TaskRetrieveResponse {
188
181
 
189
182
  reasoning?: boolean;
190
183
 
184
+ recordingDeviceId?: string | null;
185
+
186
+ /**
187
+ * Record device video for the whole task and persist a retrievable reference
188
+ */
189
+ recordingEnabled?: boolean;
190
+
191
+ recordingId?: string | null;
192
+
193
+ /**
194
+ * Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
195
+ * tasks spawned by an agent step. Agent tasks are readable (status, trajectory,
196
+ * media) but not controllable via this API.
197
+ */
198
+ source?: 'api' | 'agent';
199
+
191
200
  stealth?: boolean;
192
201
 
193
202
  steps?: number | null;
@@ -201,6 +210,10 @@ export namespace TaskRetrieveResponse {
201
210
 
202
211
  succeeded?: boolean | null;
203
212
 
213
+ /**
214
+ * @deprecated Deprecated and ignored. Sampling behavior is controlled by the model
215
+ * provider.
216
+ */
204
217
  temperature?: number;
205
218
 
206
219
  updatedAt?: string;
@@ -249,7 +262,15 @@ export namespace TaskListResponse {
249
262
 
250
263
  ownerId: string;
251
264
 
252
- status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
265
+ status:
266
+ | 'prepared'
267
+ | 'queued'
268
+ | 'created'
269
+ | 'running'
270
+ | 'cancelling'
271
+ | 'completed'
272
+ | 'failed'
273
+ | 'cancelled';
253
274
 
254
275
  task: string;
255
276
 
@@ -262,8 +283,6 @@ export namespace TaskListResponse {
262
283
 
263
284
  accessibility?: boolean;
264
285
 
265
- agentId?: number;
266
-
267
286
  apps?: Array<string>;
268
287
 
269
288
  cancelRequestedAt?: string | null;
@@ -290,11 +309,6 @@ export namespace TaskListResponse {
290
309
 
291
310
  maxSteps?: number;
292
311
 
293
- /**
294
- * Memory namespace for cross-task personalization
295
- */
296
- memoryNamespace?: string;
297
-
298
312
  message?: string | null;
299
313
 
300
314
  output?: { [key: string]: unknown } | null;
@@ -303,6 +317,22 @@ export namespace TaskListResponse {
303
317
 
304
318
  reasoning?: boolean;
305
319
 
320
+ recordingDeviceId?: string | null;
321
+
322
+ /**
323
+ * Record device video for the whole task and persist a retrievable reference
324
+ */
325
+ recordingEnabled?: boolean;
326
+
327
+ recordingId?: string | null;
328
+
329
+ /**
330
+ * Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
331
+ * tasks spawned by an agent step. Agent tasks are readable (status, trajectory,
332
+ * media) but not controllable via this API.
333
+ */
334
+ source?: 'api' | 'agent';
335
+
306
336
  stealth?: boolean;
307
337
 
308
338
  steps?: number | null;
@@ -316,6 +346,10 @@ export namespace TaskListResponse {
316
346
 
317
347
  succeeded?: boolean | null;
318
348
 
349
+ /**
350
+ * @deprecated Deprecated and ignored. Sampling behavior is controlled by the model
351
+ * provider.
352
+ */
319
353
  temperature?: number;
320
354
 
321
355
  updatedAt?: string;
@@ -338,7 +372,7 @@ export interface TaskGetStatusResponse {
338
372
  /**
339
373
  * The status of the task
340
374
  */
341
- status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
375
+ status: 'prepared' | 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
342
376
 
343
377
  /**
344
378
  * Execution metadata for abnormal terminal outcomes
@@ -360,6 +394,16 @@ export interface TaskGetStatusResponse {
360
394
  */
361
395
  output?: { [key: string]: unknown } | null;
362
396
 
397
+ /**
398
+ * Device ID associated with recordingId
399
+ */
400
+ recordingDeviceId?: string | null;
401
+
402
+ /**
403
+ * ID of the task's whole-task video recording, if recordingEnabled was set
404
+ */
405
+ recordingId?: string | null;
406
+
363
407
  /**
364
408
  * Number of steps taken
365
409
  */
@@ -703,6 +747,11 @@ export namespace TaskGetTrajectoryResponse {
703
747
 
704
748
  code?: string | null;
705
749
 
750
+ /**
751
+ * Classification of tool-call markup in an LLM response.
752
+ */
753
+ tool_call_status?: 'valid' | 'no_markup' | 'malformed';
754
+
706
755
  usage?: Data.Usage | null;
707
756
  }
708
757
 
@@ -1060,7 +1109,7 @@ export interface TaskRunResponse {
1060
1109
  /**
1061
1110
  * The status of the task (queued or created)
1062
1111
  */
1063
- status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
1112
+ status: 'prepared' | 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
1064
1113
 
1065
1114
  /**
1066
1115
  * The URL of the stream (null when queued)
@@ -1108,116 +1157,89 @@ export interface TaskListParams {
1108
1157
  */
1109
1158
  query?: string | null;
1110
1159
 
1111
- status?: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled' | null;
1160
+ /**
1161
+ * Only tasks created via the API ('api') or spawned by an agent step ('agent').
1162
+ */
1163
+ source?: 'api' | 'agent' | null;
1164
+
1165
+ status?:
1166
+ | 'prepared'
1167
+ | 'queued'
1168
+ | 'created'
1169
+ | 'running'
1170
+ | 'cancelling'
1171
+ | 'completed'
1172
+ | 'failed'
1173
+ | 'cancelled'
1174
+ | null;
1112
1175
  }
1113
1176
 
1114
1177
  export interface TaskRunParams {
1115
1178
  /**
1116
- * Body param: The ID of the device to run the task on.
1179
+ * The ID of the device to run the task on.
1117
1180
  */
1118
1181
  deviceId: string;
1119
1182
 
1120
- /**
1121
- * Body param
1122
- */
1123
1183
  task: string;
1124
1184
 
1125
- /**
1126
- * Body param
1127
- */
1128
1185
  accessibility?: boolean;
1129
1186
 
1130
- /**
1131
- * Body param
1132
- */
1133
- agentId?: number;
1134
-
1135
- /**
1136
- * Body param
1137
- */
1138
1187
  apps?: Array<string>;
1139
1188
 
1140
- /**
1141
- * Body param
1142
- */
1143
1189
  continueOnFailure?: boolean;
1144
1190
 
1145
- /**
1146
- * Body param
1147
- */
1148
1191
  credentials?: Array<TaskRunParams.Credential>;
1149
1192
 
1150
1193
  /**
1151
- * Body param: The display ID of the device to run the task on.
1194
+ * The display ID of the device to run the task on.
1152
1195
  */
1153
1196
  displayId?: number;
1154
1197
 
1155
1198
  /**
1156
- * Body param
1199
+ * Maximum agent execution time in seconds (1–2700).
1157
1200
  */
1158
1201
  executionTimeout?: number;
1159
1202
 
1160
- /**
1161
- * Body param
1162
- */
1163
1203
  files?: Array<string>;
1164
1204
 
1165
1205
  /**
1166
- * Body param: The LLM model identifier to use for the task (e.g.
1167
- * 'google/gemini-3.5-flash')
1206
+ * The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
1168
1207
  */
1169
1208
  llmModel?: string;
1170
1209
 
1171
- /**
1172
- * Body param
1173
- */
1174
1210
  maxSteps?: number;
1175
1211
 
1176
- /**
1177
- * Body param: Memory namespace for cross-task personalization
1178
- */
1179
- memoryNamespace?: string;
1180
-
1181
- /**
1182
- * Body param
1183
- */
1184
1212
  outputSchema?: { [key: string]: unknown } | null;
1185
1213
 
1186
- /**
1187
- * Body param
1188
- */
1189
1214
  reasoning?: boolean;
1190
1215
 
1191
1216
  /**
1192
- * Body param
1217
+ * Record device video for the whole task and persist a retrievable reference
1193
1218
  */
1219
+ recordingEnabled?: boolean;
1220
+
1194
1221
  stealth?: boolean;
1195
1222
 
1196
1223
  /**
1197
- * Body param: LLM model used by sub-agent roles: executor, app_opener,
1198
- * structured_output
1224
+ * LLM model used by sub-agent roles: executor, app_opener, structured_output
1199
1225
  */
1200
1226
  subagentModel?: string;
1201
1227
 
1202
1228
  /**
1203
- * Body param
1229
+ * Optional custom behavioral overlay applied on top of the agent's default system
1230
+ * prompts. Never echoed back in responses or errors.
1204
1231
  */
1205
- temperature?: number;
1232
+ systemPrompt?: string | null;
1206
1233
 
1207
1234
  /**
1208
- * Body param
1235
+ * @deprecated Deprecated and ignored. Sampling behavior is controlled by the model
1236
+ * provider.
1209
1237
  */
1238
+ temperature?: number;
1239
+
1210
1240
  vision?: boolean;
1211
1241
 
1212
- /**
1213
- * Body param
1214
- */
1215
1242
  vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
1216
-
1217
- /**
1218
- * Header param
1219
- */
1220
- 'Idempotency-Key'?: string;
1221
1243
  }
1222
1244
 
1223
1245
  export namespace TaskRunParams {
@@ -1238,8 +1260,6 @@ export interface TaskRunStreamedParams {
1238
1260
 
1239
1261
  accessibility?: boolean;
1240
1262
 
1241
- agentId?: number;
1242
-
1243
1263
  apps?: Array<string>;
1244
1264
 
1245
1265
  continueOnFailure?: boolean;
@@ -1251,26 +1271,29 @@ export interface TaskRunStreamedParams {
1251
1271
  */
1252
1272
  displayId?: number;
1253
1273
 
1274
+ /**
1275
+ * Maximum agent execution time in seconds (1–2700).
1276
+ */
1254
1277
  executionTimeout?: number;
1255
1278
 
1256
1279
  files?: Array<string>;
1257
1280
 
1258
1281
  /**
1259
- * The LLM model identifier to use for the task (e.g. 'google/gemini-3.5-flash')
1282
+ * The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
1260
1283
  */
1261
1284
  llmModel?: string;
1262
1285
 
1263
1286
  maxSteps?: number;
1264
1287
 
1265
- /**
1266
- * Memory namespace for cross-task personalization
1267
- */
1268
- memoryNamespace?: string;
1269
-
1270
1288
  outputSchema?: { [key: string]: unknown } | null;
1271
1289
 
1272
1290
  reasoning?: boolean;
1273
1291
 
1292
+ /**
1293
+ * Record device video for the whole task and persist a retrievable reference
1294
+ */
1295
+ recordingEnabled?: boolean;
1296
+
1274
1297
  stealth?: boolean;
1275
1298
 
1276
1299
  /**
@@ -1278,6 +1301,16 @@ export interface TaskRunStreamedParams {
1278
1301
  */
1279
1302
  subagentModel?: string;
1280
1303
 
1304
+ /**
1305
+ * Optional custom behavioral overlay applied on top of the agent's default system
1306
+ * prompts. Never echoed back in responses or errors.
1307
+ */
1308
+ systemPrompt?: string | null;
1309
+
1310
+ /**
1311
+ * @deprecated Deprecated and ignored. Sampling behavior is controlled by the model
1312
+ * provider.
1313
+ */
1281
1314
  temperature?: number;
1282
1315
 
1283
1316
  vision?: boolean;