@mobilerun/sdk 5.5.0 → 6.0.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 (502) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +0 -9
  3. package/client.d.mts +12 -30
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +12 -30
  6. package/client.d.ts.map +1 -1
  7. package/client.js +1 -18
  8. package/client.js.map +1 -1
  9. package/client.mjs +2 -19
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/apps.d.mts +39 -26
  13. package/resources/apps.d.mts.map +1 -1
  14. package/resources/apps.d.ts +39 -26
  15. package/resources/apps.d.ts.map +1 -1
  16. package/resources/apps.js +20 -7
  17. package/resources/apps.js.map +1 -1
  18. package/resources/apps.mjs +20 -7
  19. package/resources/apps.mjs.map +1 -1
  20. package/resources/assistant/conversations.d.mts +7 -17
  21. package/resources/assistant/conversations.d.mts.map +1 -1
  22. package/resources/assistant/conversations.d.ts +7 -17
  23. package/resources/assistant/conversations.d.ts.map +1 -1
  24. package/resources/assistant/conversations.js +4 -11
  25. package/resources/assistant/conversations.js.map +1 -1
  26. package/resources/assistant/conversations.mjs +4 -11
  27. package/resources/assistant/conversations.mjs.map +1 -1
  28. package/resources/connect/connect.d.mts +2 -2
  29. package/resources/connect/connect.d.mts.map +1 -1
  30. package/resources/connect/connect.d.ts +2 -2
  31. package/resources/connect/connect.d.ts.map +1 -1
  32. package/resources/connect/connect.js.map +1 -1
  33. package/resources/connect/connect.mjs.map +1 -1
  34. package/resources/connect/index.d.mts +1 -1
  35. package/resources/connect/index.d.mts.map +1 -1
  36. package/resources/connect/index.d.ts +1 -1
  37. package/resources/connect/index.d.ts.map +1 -1
  38. package/resources/connect/index.js.map +1 -1
  39. package/resources/connect/index.mjs.map +1 -1
  40. package/resources/connect/proxies.d.mts +102 -17
  41. package/resources/connect/proxies.d.mts.map +1 -1
  42. package/resources/connect/proxies.d.ts +102 -17
  43. package/resources/connect/proxies.d.ts.map +1 -1
  44. package/resources/connect/proxies.js +27 -14
  45. package/resources/connect/proxies.js.map +1 -1
  46. package/resources/connect/proxies.mjs +27 -14
  47. package/resources/connect/proxies.mjs.map +1 -1
  48. package/resources/connect/users.d.mts +4 -4
  49. package/resources/connect/users.d.ts +4 -4
  50. package/resources/connect/users.js +2 -2
  51. package/resources/connect/users.mjs +2 -2
  52. package/resources/devices/actions.d.mts +25 -5
  53. package/resources/devices/actions.d.mts.map +1 -1
  54. package/resources/devices/actions.d.ts +25 -5
  55. package/resources/devices/actions.d.ts.map +1 -1
  56. package/resources/devices/actions.js +5 -3
  57. package/resources/devices/actions.js.map +1 -1
  58. package/resources/devices/actions.mjs +5 -3
  59. package/resources/devices/actions.mjs.map +1 -1
  60. package/resources/devices/apps.d.mts +13 -0
  61. package/resources/devices/apps.d.mts.map +1 -1
  62. package/resources/devices/apps.d.ts +13 -0
  63. package/resources/devices/apps.d.ts.map +1 -1
  64. package/resources/devices/browser.d.mts +9 -3
  65. package/resources/devices/browser.d.mts.map +1 -1
  66. package/resources/devices/browser.d.ts +9 -3
  67. package/resources/devices/browser.d.ts.map +1 -1
  68. package/resources/devices/browser.js +9 -3
  69. package/resources/devices/browser.js.map +1 -1
  70. package/resources/devices/browser.mjs +9 -3
  71. package/resources/devices/browser.mjs.map +1 -1
  72. package/resources/devices/devices.d.mts +88 -36
  73. package/resources/devices/devices.d.mts.map +1 -1
  74. package/resources/devices/devices.d.ts +88 -36
  75. package/resources/devices/devices.d.ts.map +1 -1
  76. package/resources/devices/devices.js +30 -15
  77. package/resources/devices/devices.js.map +1 -1
  78. package/resources/devices/devices.mjs +30 -15
  79. package/resources/devices/devices.mjs.map +1 -1
  80. package/resources/devices/index.d.mts +3 -2
  81. package/resources/devices/index.d.mts.map +1 -1
  82. package/resources/devices/index.d.ts +3 -2
  83. package/resources/devices/index.d.ts.map +1 -1
  84. package/resources/devices/index.js +3 -1
  85. package/resources/devices/index.js.map +1 -1
  86. package/resources/devices/index.mjs +1 -0
  87. package/resources/devices/index.mjs.map +1 -1
  88. package/resources/devices/keyboard.d.mts +8 -2
  89. package/resources/devices/keyboard.d.mts.map +1 -1
  90. package/resources/devices/keyboard.d.ts +8 -2
  91. package/resources/devices/keyboard.d.ts.map +1 -1
  92. package/resources/devices/recordings.d.mts +29 -6
  93. package/resources/devices/recordings.d.mts.map +1 -1
  94. package/resources/devices/recordings.d.ts +29 -6
  95. package/resources/devices/recordings.d.ts.map +1 -1
  96. package/resources/devices/recordings.js +9 -0
  97. package/resources/devices/recordings.js.map +1 -1
  98. package/resources/devices/recordings.mjs +9 -0
  99. package/resources/devices/recordings.mjs.map +1 -1
  100. package/resources/devices/screenshots.d.mts +72 -0
  101. package/resources/devices/screenshots.d.mts.map +1 -0
  102. package/resources/devices/screenshots.d.ts +72 -0
  103. package/resources/devices/screenshots.d.ts.map +1 -0
  104. package/resources/devices/screenshots.js +57 -0
  105. package/resources/devices/screenshots.js.map +1 -0
  106. package/resources/devices/screenshots.mjs +53 -0
  107. package/resources/devices/screenshots.mjs.map +1 -0
  108. package/resources/devices/state.d.mts +11 -2
  109. package/resources/devices/state.d.mts.map +1 -1
  110. package/resources/devices/state.d.ts +11 -2
  111. package/resources/devices/state.d.ts.map +1 -1
  112. package/resources/devices/state.js +5 -2
  113. package/resources/devices/state.js.map +1 -1
  114. package/resources/devices/state.mjs +5 -2
  115. package/resources/devices/state.mjs.map +1 -1
  116. package/resources/devices/traffic-sessions.d.mts +1 -11
  117. package/resources/devices/traffic-sessions.d.mts.map +1 -1
  118. package/resources/devices/traffic-sessions.d.ts +1 -11
  119. package/resources/devices/traffic-sessions.d.ts.map +1 -1
  120. package/resources/devices/traffic-sessions.js +2 -8
  121. package/resources/devices/traffic-sessions.js.map +1 -1
  122. package/resources/devices/traffic-sessions.mjs +2 -8
  123. package/resources/devices/traffic-sessions.mjs.map +1 -1
  124. package/resources/files.d.mts +8 -22
  125. package/resources/files.d.mts.map +1 -1
  126. package/resources/files.d.ts +8 -22
  127. package/resources/files.d.ts.map +1 -1
  128. package/resources/files.js +5 -13
  129. package/resources/files.js.map +1 -1
  130. package/resources/files.mjs +5 -13
  131. package/resources/files.mjs.map +1 -1
  132. package/resources/index.d.mts +6 -11
  133. package/resources/index.d.mts.map +1 -1
  134. package/resources/index.d.ts +6 -11
  135. package/resources/index.d.ts.map +1 -1
  136. package/resources/index.js +1 -11
  137. package/resources/index.js.map +1 -1
  138. package/resources/index.mjs +1 -6
  139. package/resources/index.mjs.map +1 -1
  140. package/resources/mailboxes/connections.d.mts +58 -0
  141. package/resources/mailboxes/connections.d.mts.map +1 -0
  142. package/resources/mailboxes/connections.d.ts +58 -0
  143. package/resources/mailboxes/connections.d.ts.map +1 -0
  144. package/resources/mailboxes/connections.js +41 -0
  145. package/resources/mailboxes/connections.js.map +1 -0
  146. package/resources/mailboxes/connections.mjs +37 -0
  147. package/resources/mailboxes/connections.mjs.map +1 -0
  148. package/resources/mailboxes/index.d.mts +2 -1
  149. package/resources/mailboxes/index.d.mts.map +1 -1
  150. package/resources/mailboxes/index.d.ts +2 -1
  151. package/resources/mailboxes/index.d.ts.map +1 -1
  152. package/resources/mailboxes/index.js +3 -1
  153. package/resources/mailboxes/index.js.map +1 -1
  154. package/resources/mailboxes/index.mjs +1 -0
  155. package/resources/mailboxes/index.mjs.map +1 -1
  156. package/resources/mailboxes/mailboxes.d.mts +74 -24
  157. package/resources/mailboxes/mailboxes.d.mts.map +1 -1
  158. package/resources/mailboxes/mailboxes.d.ts +74 -24
  159. package/resources/mailboxes/mailboxes.d.ts.map +1 -1
  160. package/resources/mailboxes/mailboxes.js +26 -8
  161. package/resources/mailboxes/mailboxes.js.map +1 -1
  162. package/resources/mailboxes/mailboxes.mjs +26 -8
  163. package/resources/mailboxes/mailboxes.mjs.map +1 -1
  164. package/resources/messages/index.d.mts +1 -1
  165. package/resources/messages/index.d.mts.map +1 -1
  166. package/resources/messages/index.d.ts +1 -1
  167. package/resources/messages/index.d.ts.map +1 -1
  168. package/resources/messages/index.js.map +1 -1
  169. package/resources/messages/index.mjs +1 -1
  170. package/resources/messages/index.mjs.map +1 -1
  171. package/resources/messages/messages.d.mts +26 -1
  172. package/resources/messages/messages.d.mts.map +1 -1
  173. package/resources/messages/messages.d.ts +26 -1
  174. package/resources/messages/messages.d.ts.map +1 -1
  175. package/resources/messages/messages.js +9 -0
  176. package/resources/messages/messages.js.map +1 -1
  177. package/resources/messages/messages.mjs +9 -0
  178. package/resources/messages/messages.mjs.map +1 -1
  179. package/resources/models.d.mts +12 -23
  180. package/resources/models.d.mts.map +1 -1
  181. package/resources/models.d.ts +12 -23
  182. package/resources/models.d.ts.map +1 -1
  183. package/resources/models.js +3 -4
  184. package/resources/models.js.map +1 -1
  185. package/resources/models.mjs +3 -4
  186. package/resources/models.mjs.map +1 -1
  187. package/resources/numbers/index.d.mts +2 -2
  188. package/resources/numbers/index.d.mts.map +1 -1
  189. package/resources/numbers/index.d.ts +2 -2
  190. package/resources/numbers/index.d.ts.map +1 -1
  191. package/resources/numbers/index.js.map +1 -1
  192. package/resources/numbers/index.mjs +1 -1
  193. package/resources/numbers/index.mjs.map +1 -1
  194. package/resources/numbers/messages.d.mts +57 -1
  195. package/resources/numbers/messages.d.mts.map +1 -1
  196. package/resources/numbers/messages.d.ts +57 -1
  197. package/resources/numbers/messages.d.ts.map +1 -1
  198. package/resources/numbers/messages.js +23 -0
  199. package/resources/numbers/messages.js.map +1 -1
  200. package/resources/numbers/messages.mjs +23 -0
  201. package/resources/numbers/messages.mjs.map +1 -1
  202. package/resources/numbers/numbers.d.mts +148 -44
  203. package/resources/numbers/numbers.d.mts.map +1 -1
  204. package/resources/numbers/numbers.d.ts +148 -44
  205. package/resources/numbers/numbers.d.ts.map +1 -1
  206. package/resources/numbers/numbers.js +3 -23
  207. package/resources/numbers/numbers.js.map +1 -1
  208. package/resources/numbers/numbers.mjs +4 -24
  209. package/resources/numbers/numbers.mjs.map +1 -1
  210. package/resources/proxies.d.mts +1 -87
  211. package/resources/proxies.d.mts.map +1 -1
  212. package/resources/proxies.d.ts +1 -87
  213. package/resources/proxies.d.ts.map +1 -1
  214. package/resources/proxies.js +0 -6
  215. package/resources/proxies.js.map +1 -1
  216. package/resources/proxies.mjs +0 -6
  217. package/resources/proxies.mjs.map +1 -1
  218. package/resources/tasks/tasks.d.mts +51 -188
  219. package/resources/tasks/tasks.d.mts.map +1 -1
  220. package/resources/tasks/tasks.d.ts +51 -188
  221. package/resources/tasks/tasks.d.ts.map +1 -1
  222. package/resources/tasks/tasks.js +2 -10
  223. package/resources/tasks/tasks.js.map +1 -1
  224. package/resources/tasks/tasks.mjs +2 -10
  225. package/resources/tasks/tasks.mjs.map +1 -1
  226. package/resources/webhooks/deliveries.d.mts +22 -31
  227. package/resources/webhooks/deliveries.d.mts.map +1 -1
  228. package/resources/webhooks/deliveries.d.ts +22 -31
  229. package/resources/webhooks/deliveries.d.ts.map +1 -1
  230. package/resources/webhooks/deliveries.js +4 -30
  231. package/resources/webhooks/deliveries.js.map +1 -1
  232. package/resources/webhooks/deliveries.mjs +4 -30
  233. package/resources/webhooks/deliveries.mjs.map +1 -1
  234. package/resources/webhooks/index.d.mts +2 -1
  235. package/resources/webhooks/index.d.mts.map +1 -1
  236. package/resources/webhooks/index.d.ts +2 -1
  237. package/resources/webhooks/index.d.ts.map +1 -1
  238. package/resources/webhooks/index.js +3 -1
  239. package/resources/webhooks/index.js.map +1 -1
  240. package/resources/webhooks/index.mjs +1 -0
  241. package/resources/webhooks/index.mjs.map +1 -1
  242. package/resources/webhooks/integrations.d.mts +77 -0
  243. package/resources/webhooks/integrations.d.mts.map +1 -0
  244. package/resources/webhooks/integrations.d.ts +77 -0
  245. package/resources/webhooks/integrations.d.ts.map +1 -0
  246. package/resources/webhooks/integrations.js +26 -0
  247. package/resources/webhooks/integrations.js.map +1 -0
  248. package/resources/webhooks/integrations.mjs +22 -0
  249. package/resources/webhooks/integrations.mjs.map +1 -0
  250. package/resources/webhooks/webhooks.d.mts +276 -104
  251. package/resources/webhooks/webhooks.d.mts.map +1 -1
  252. package/resources/webhooks/webhooks.d.ts +276 -104
  253. package/resources/webhooks/webhooks.d.ts.map +1 -1
  254. package/resources/webhooks/webhooks.js +32 -68
  255. package/resources/webhooks/webhooks.js.map +1 -1
  256. package/resources/webhooks/webhooks.mjs +32 -68
  257. package/resources/webhooks/webhooks.mjs.map +1 -1
  258. package/resources/workflows/action-catalog.d.mts +7 -3
  259. package/resources/workflows/action-catalog.d.mts.map +1 -1
  260. package/resources/workflows/action-catalog.d.ts +7 -3
  261. package/resources/workflows/action-catalog.d.ts.map +1 -1
  262. package/resources/workflows/actions/actions.d.mts +9 -5
  263. package/resources/workflows/actions/actions.d.mts.map +1 -1
  264. package/resources/workflows/actions/actions.d.ts +9 -5
  265. package/resources/workflows/actions/actions.d.ts.map +1 -1
  266. package/resources/workflows/actions/actions.js +4 -0
  267. package/resources/workflows/actions/actions.js.map +1 -1
  268. package/resources/workflows/actions/actions.mjs +4 -0
  269. package/resources/workflows/actions/actions.mjs.map +1 -1
  270. package/resources/workflows/events.d.mts +52 -5
  271. package/resources/workflows/events.d.mts.map +1 -1
  272. package/resources/workflows/events.d.ts +52 -5
  273. package/resources/workflows/events.d.ts.map +1 -1
  274. package/resources/workflows/executions/executions.d.mts +330 -0
  275. package/resources/workflows/executions/executions.d.mts.map +1 -0
  276. package/resources/workflows/executions/executions.d.ts +330 -0
  277. package/resources/workflows/executions/executions.d.ts.map +1 -0
  278. package/resources/workflows/executions/executions.js +49 -0
  279. package/resources/workflows/executions/executions.js.map +1 -0
  280. package/resources/workflows/executions/executions.mjs +44 -0
  281. package/resources/workflows/executions/executions.mjs.map +1 -0
  282. package/resources/workflows/executions/index.d.mts +3 -0
  283. package/resources/workflows/executions/index.d.mts.map +1 -0
  284. package/resources/workflows/executions/index.d.ts +3 -0
  285. package/resources/workflows/executions/index.d.ts.map +1 -0
  286. package/resources/workflows/executions/index.js +9 -0
  287. package/resources/workflows/executions/index.js.map +1 -0
  288. package/resources/workflows/executions/index.mjs +4 -0
  289. package/resources/workflows/executions/index.mjs.map +1 -0
  290. package/resources/workflows/executions/screenshots.d.mts +18 -0
  291. package/resources/workflows/executions/screenshots.d.mts.map +1 -0
  292. package/resources/workflows/executions/screenshots.d.ts +18 -0
  293. package/resources/workflows/executions/screenshots.d.ts.map +1 -0
  294. package/resources/workflows/executions/screenshots.js +23 -0
  295. package/resources/workflows/executions/screenshots.js.map +1 -0
  296. package/resources/workflows/executions/screenshots.mjs +19 -0
  297. package/resources/workflows/executions/screenshots.mjs.map +1 -0
  298. package/resources/workflows/executions.d.mts +1 -269
  299. package/resources/workflows/executions.d.mts.map +1 -1
  300. package/resources/workflows/executions.d.ts +1 -269
  301. package/resources/workflows/executions.d.ts.map +1 -1
  302. package/resources/workflows/executions.js +2 -37
  303. package/resources/workflows/executions.js.map +1 -1
  304. package/resources/workflows/executions.mjs +1 -35
  305. package/resources/workflows/executions.mjs.map +1 -1
  306. package/resources/workflows/flows/actions.d.mts +39 -0
  307. package/resources/workflows/flows/actions.d.mts.map +1 -1
  308. package/resources/workflows/flows/actions.d.ts +39 -0
  309. package/resources/workflows/flows/actions.d.ts.map +1 -1
  310. package/resources/workflows/flows/actions.js +4 -0
  311. package/resources/workflows/flows/actions.js.map +1 -1
  312. package/resources/workflows/flows/actions.mjs +4 -0
  313. package/resources/workflows/flows/actions.mjs.map +1 -1
  314. package/resources/workflows/flows/flows.d.mts +574 -27
  315. package/resources/workflows/flows/flows.d.mts.map +1 -1
  316. package/resources/workflows/flows/flows.d.ts +574 -27
  317. package/resources/workflows/flows/flows.d.ts.map +1 -1
  318. package/resources/workflows/flows/flows.js +78 -3
  319. package/resources/workflows/flows/flows.js.map +1 -1
  320. package/resources/workflows/flows/flows.mjs +78 -3
  321. package/resources/workflows/flows/flows.mjs.map +1 -1
  322. package/resources/workflows/flows/index.d.mts +1 -1
  323. package/resources/workflows/flows/index.d.mts.map +1 -1
  324. package/resources/workflows/flows/index.d.ts +1 -1
  325. package/resources/workflows/flows/index.d.ts.map +1 -1
  326. package/resources/workflows/flows/index.js.map +1 -1
  327. package/resources/workflows/flows/index.mjs.map +1 -1
  328. package/resources/workflows/index.d.mts +2 -2
  329. package/resources/workflows/index.d.mts.map +1 -1
  330. package/resources/workflows/index.d.ts +2 -2
  331. package/resources/workflows/index.d.ts.map +1 -1
  332. package/resources/workflows/index.js +4 -4
  333. package/resources/workflows/index.js.map +1 -1
  334. package/resources/workflows/index.mjs +1 -1
  335. package/resources/workflows/index.mjs.map +1 -1
  336. package/resources/workflows/triggers.d.mts +110 -15
  337. package/resources/workflows/triggers.d.mts.map +1 -1
  338. package/resources/workflows/triggers.d.ts +110 -15
  339. package/resources/workflows/triggers.d.ts.map +1 -1
  340. package/resources/workflows/triggers.js +13 -1
  341. package/resources/workflows/triggers.js.map +1 -1
  342. package/resources/workflows/triggers.mjs +13 -1
  343. package/resources/workflows/triggers.mjs.map +1 -1
  344. package/resources/workflows/workflows.d.mts +4 -4
  345. package/resources/workflows/workflows.d.mts.map +1 -1
  346. package/resources/workflows/workflows.d.ts +4 -4
  347. package/resources/workflows/workflows.d.ts.map +1 -1
  348. package/resources/workflows/workflows.js +2 -2
  349. package/resources/workflows/workflows.js.map +1 -1
  350. package/resources/workflows/workflows.mjs +2 -2
  351. package/resources/workflows/workflows.mjs.map +1 -1
  352. package/src/client.ts +14 -103
  353. package/src/resources/apps.ts +39 -26
  354. package/src/resources/assistant/conversations.ts +12 -27
  355. package/src/resources/connect/connect.ts +6 -0
  356. package/src/resources/connect/index.ts +3 -0
  357. package/src/resources/connect/proxies.ts +127 -25
  358. package/src/resources/connect/users.ts +4 -4
  359. package/src/resources/devices/actions.ts +28 -5
  360. package/src/resources/devices/apps.ts +18 -0
  361. package/src/resources/devices/browser.ts +9 -3
  362. package/src/resources/devices/devices.ts +139 -41
  363. package/src/resources/devices/index.ts +13 -0
  364. package/src/resources/devices/keyboard.ts +9 -2
  365. package/src/resources/devices/recordings.ts +45 -5
  366. package/src/resources/devices/screenshots.ts +140 -0
  367. package/src/resources/devices/state.ts +12 -2
  368. package/src/resources/devices/traffic-sessions.ts +2 -19
  369. package/src/resources/files.ts +11 -32
  370. package/src/resources/index.ts +9 -43
  371. package/src/resources/mailboxes/connections.ts +84 -0
  372. package/src/resources/mailboxes/index.ts +7 -0
  373. package/src/resources/mailboxes/mailboxes.ts +147 -24
  374. package/src/resources/messages/index.ts +6 -1
  375. package/src/resources/messages/messages.ts +55 -1
  376. package/src/resources/models.ts +16 -23
  377. package/src/resources/numbers/index.ts +7 -2
  378. package/src/resources/numbers/messages.ts +88 -1
  379. package/src/resources/numbers/numbers.ts +171 -62
  380. package/src/resources/proxies.ts +0 -110
  381. package/src/resources/tasks/tasks.ts +57 -198
  382. package/src/resources/webhooks/deliveries.ts +26 -31
  383. package/src/resources/webhooks/index.ts +6 -1
  384. package/src/resources/webhooks/integrations.ts +107 -0
  385. package/src/resources/webhooks/webhooks.ts +315 -114
  386. package/src/resources/workflows/action-catalog.ts +11 -3
  387. package/src/resources/workflows/actions/actions.ts +9 -5
  388. package/src/resources/workflows/events.ts +66 -5
  389. package/src/resources/workflows/executions/executions.ts +510 -0
  390. package/src/resources/workflows/executions/index.ts +12 -0
  391. package/src/resources/workflows/executions/screenshots.ts +34 -0
  392. package/src/resources/workflows/executions.ts +1 -412
  393. package/src/resources/workflows/flows/actions.ts +46 -0
  394. package/src/resources/workflows/flows/flows.ts +811 -26
  395. package/src/resources/workflows/flows/index.ts +11 -0
  396. package/src/resources/workflows/index.ts +12 -1
  397. package/src/resources/workflows/triggers.ts +131 -16
  398. package/src/resources/workflows/workflows.ts +32 -10
  399. package/src/version.ts +1 -1
  400. package/version.d.mts +1 -1
  401. package/version.d.ts +1 -1
  402. package/version.js +1 -1
  403. package/version.mjs +1 -1
  404. package/resources/app-events/app-events.d.mts +0 -81
  405. package/resources/app-events/app-events.d.mts.map +0 -1
  406. package/resources/app-events/app-events.d.ts +0 -81
  407. package/resources/app-events/app-events.d.ts.map +0 -1
  408. package/resources/app-events/app-events.js +0 -33
  409. package/resources/app-events/app-events.js.map +0 -1
  410. package/resources/app-events/app-events.mjs +0 -28
  411. package/resources/app-events/app-events.mjs.map +0 -1
  412. package/resources/app-events/catalog.d.mts +0 -64
  413. package/resources/app-events/catalog.d.mts.map +0 -1
  414. package/resources/app-events/catalog.d.ts +0 -64
  415. package/resources/app-events/catalog.d.ts.map +0 -1
  416. package/resources/app-events/catalog.js +0 -25
  417. package/resources/app-events/catalog.js.map +0 -1
  418. package/resources/app-events/catalog.mjs +0 -21
  419. package/resources/app-events/catalog.mjs.map +0 -1
  420. package/resources/app-events/index.d.mts +0 -3
  421. package/resources/app-events/index.d.mts.map +0 -1
  422. package/resources/app-events/index.d.ts +0 -3
  423. package/resources/app-events/index.d.ts.map +0 -1
  424. package/resources/app-events/index.js +0 -9
  425. package/resources/app-events/index.js.map +0 -1
  426. package/resources/app-events/index.mjs +0 -4
  427. package/resources/app-events/index.mjs.map +0 -1
  428. package/resources/app-events.d.mts +0 -2
  429. package/resources/app-events.d.mts.map +0 -1
  430. package/resources/app-events.d.ts +0 -2
  431. package/resources/app-events.d.ts.map +0 -1
  432. package/resources/app-events.js +0 -6
  433. package/resources/app-events.js.map +0 -1
  434. package/resources/app-events.mjs +0 -3
  435. package/resources/app-events.mjs.map +0 -1
  436. package/resources/carriers.d.mts +0 -331
  437. package/resources/carriers.d.mts.map +0 -1
  438. package/resources/carriers.d.ts +0 -331
  439. package/resources/carriers.d.ts.map +0 -1
  440. package/resources/carriers.js +0 -46
  441. package/resources/carriers.js.map +0 -1
  442. package/resources/carriers.mjs +0 -42
  443. package/resources/carriers.mjs.map +0 -1
  444. package/resources/notifications.d.mts +0 -86
  445. package/resources/notifications.d.mts.map +0 -1
  446. package/resources/notifications.d.ts +0 -86
  447. package/resources/notifications.d.ts.map +0 -1
  448. package/resources/notifications.js +0 -55
  449. package/resources/notifications.js.map +0 -1
  450. package/resources/notifications.mjs +0 -51
  451. package/resources/notifications.mjs.map +0 -1
  452. package/resources/profiles.d.mts +0 -147
  453. package/resources/profiles.d.mts.map +0 -1
  454. package/resources/profiles.d.ts +0 -147
  455. package/resources/profiles.d.ts.map +0 -1
  456. package/resources/profiles.js +0 -40
  457. package/resources/profiles.js.map +0 -1
  458. package/resources/profiles.mjs +0 -36
  459. package/resources/profiles.mjs.map +0 -1
  460. package/resources/store/apps.d.mts +0 -119
  461. package/resources/store/apps.d.mts.map +0 -1
  462. package/resources/store/apps.d.ts +0 -119
  463. package/resources/store/apps.d.ts.map +0 -1
  464. package/resources/store/apps.js +0 -31
  465. package/resources/store/apps.js.map +0 -1
  466. package/resources/store/apps.mjs +0 -27
  467. package/resources/store/apps.mjs.map +0 -1
  468. package/resources/store/index.d.mts +0 -3
  469. package/resources/store/index.d.mts.map +0 -1
  470. package/resources/store/index.d.ts +0 -3
  471. package/resources/store/index.d.ts.map +0 -1
  472. package/resources/store/index.js +0 -9
  473. package/resources/store/index.js.map +0 -1
  474. package/resources/store/index.mjs +0 -4
  475. package/resources/store/index.mjs.map +0 -1
  476. package/resources/store/store.d.mts +0 -20
  477. package/resources/store/store.d.mts.map +0 -1
  478. package/resources/store/store.d.ts +0 -20
  479. package/resources/store/store.d.ts.map +0 -1
  480. package/resources/store/store.js +0 -23
  481. package/resources/store/store.js.map +0 -1
  482. package/resources/store/store.mjs +0 -18
  483. package/resources/store/store.mjs.map +0 -1
  484. package/resources/store.d.mts +0 -2
  485. package/resources/store.d.mts.map +0 -1
  486. package/resources/store.d.ts +0 -2
  487. package/resources/store.d.ts.map +0 -1
  488. package/resources/store.js +0 -6
  489. package/resources/store.js.map +0 -1
  490. package/resources/store.mjs +0 -3
  491. package/resources/store.mjs.map +0 -1
  492. package/src/resources/app-events/app-events.ts +0 -133
  493. package/src/resources/app-events/catalog.ts +0 -100
  494. package/src/resources/app-events/index.ts +0 -9
  495. package/src/resources/app-events.ts +0 -3
  496. package/src/resources/carriers.ts +0 -508
  497. package/src/resources/notifications.ts +0 -118
  498. package/src/resources/profiles.ts +0 -232
  499. package/src/resources/store/apps.ts +0 -704
  500. package/src/resources/store/index.ts +0 -10
  501. package/src/resources/store/store.ts +0 -36
  502. package/src/resources/store.ts +0 -3
@@ -5,10 +5,13 @@ export { Countries, type CountryListResponse, type CountryListParams } from './c
5
5
  export {
6
6
  Proxies,
7
7
  type ProxyRetrieveResponse,
8
+ type ProxyUpdateResponse,
8
9
  type ProxyListResponse,
9
10
  type ProxyBuyResponse,
11
+ type ProxyEnsureHealthyResponse,
10
12
  type ProxyListConnectionsResponse,
11
13
  type ProxyPingResponse,
14
+ type ProxyUpdateParams,
12
15
  type ProxyListParams,
13
16
  type ProxyBuyParams,
14
17
  type ProxyListConnectionsParams,
@@ -6,6 +6,9 @@ import { buildHeaders } from '../../internal/headers';
6
6
  import { RequestOptions } from '../../internal/request-options';
7
7
  import { path } from '../../internal/utils/path';
8
8
 
9
+ /**
10
+ * Manage your Mobilerun Connect Proxies
11
+ */
9
12
  export class Proxies extends APIResource {
10
13
  /**
11
14
  * Returns the proxy identified by the path ID. The response includes the proxy's
@@ -16,8 +19,14 @@ export class Proxies extends APIResource {
16
19
  }
17
20
 
18
21
  /**
19
- * Returns proxies owned by the calling tenant (the X-Owner-Id header, falling back
20
- * to X-User-ID). Credentials are omitted from the list.
22
+ * Renames the proxy identified by the path ID.
23
+ */
24
+ update(id: string, body: ProxyUpdateParams, options?: RequestOptions): APIPromise<ProxyUpdateResponse> {
25
+ return this._client.patch(path`/connect/proxies/${id}`, { body, ...options });
26
+ }
27
+
28
+ /**
29
+ * Returns proxies owned by the caller. Credentials are omitted from the list.
21
30
  */
22
31
  list(
23
32
  query: ProxyListParams | null | undefined = {},
@@ -29,16 +38,8 @@ export class Proxies extends APIResource {
29
38
  /**
30
39
  * Provisions a proxy of the requested type for the caller in the selected country.
31
40
  */
32
- buy(params: ProxyBuyParams, options?: RequestOptions): APIPromise<ProxyBuyResponse> {
33
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
34
- return this._client.post('/connect/proxies', {
35
- body,
36
- ...options,
37
- headers: buildHeaders([
38
- { ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
39
- options?.headers,
40
- ]),
41
- });
41
+ buy(body: ProxyBuyParams, options?: RequestOptions): APIPromise<ProxyBuyResponse> {
42
+ return this._client.post('/connect/proxies', { body, ...options });
42
43
  }
43
44
 
44
45
  /**
@@ -52,11 +53,25 @@ export class Proxies extends APIResource {
52
53
  });
53
54
  }
54
55
 
56
+ /**
57
+ * Checks right now that the proxy's upstream accepts a connection through its
58
+ * current session. If the upstream refuses the session and the proxy is a rotating
59
+ * (sticky-session) proxy, the proxy is moved onto a fresh session that has been
60
+ * checked to work; its credentials and country stay the same, its exit IP changes.
61
+ * Intended for callers that are about to depend on the proxy (e.g. while
62
+ * provisioning a phone). After `rotated`, the gateway uses the new session within
63
+ * about 30 seconds. A `refused` or `unreachable` result is not an error: the
64
+ * response describes the proxy's state.
65
+ */
66
+ ensureHealthy(id: string, options?: RequestOptions): APIPromise<ProxyEnsureHealthyResponse> {
67
+ return this._client.post(path`/connect/proxies/${id}/ensure-healthy`, options);
68
+ }
69
+
55
70
  /**
56
71
  * Returns the connection history recorded for this proxy, one item per connection
57
72
  * (aggregated across the connection's lifetime). Supports filtering on every
58
- * property plus ordering and pagination. Returns 503 when the connection-insights
59
- * backend is disabled or unreachable.
73
+ * property plus ordering and pagination. Returns 503 when connection history is
74
+ * temporarily unavailable.
60
75
  */
61
76
  listConnections(
62
77
  id: string,
@@ -92,6 +107,13 @@ export interface ProxyRetrieveResponse {
92
107
 
93
108
  host: string;
94
109
 
110
+ /**
111
+ * Display name for the proxy. Set it on create or change it with PATCH; when no
112
+ * name has been set, a label generated from the proxy's country, type, and id is
113
+ * returned instead — so this is never empty.
114
+ */
115
+ name: string;
116
+
95
117
  password: string;
96
118
 
97
119
  port: number;
@@ -119,6 +141,47 @@ export interface ProxyRetrieveResponse {
119
141
  paymentUrl?: string | null;
120
142
  }
121
143
 
144
+ /**
145
+ * A provisioned proxy without its credentials.
146
+ */
147
+ export interface ProxyUpdateResponse {
148
+ id: string;
149
+
150
+ /**
151
+ * ISO 3166-1 alpha-2 country code (lowercase).
152
+ */
153
+ country: string;
154
+
155
+ createdAt: string;
156
+
157
+ host: string;
158
+
159
+ /**
160
+ * Display name for the proxy. Set it on create or change it with PATCH; when no
161
+ * name has been set, a label generated from the proxy's country, type, and id is
162
+ * returned instead — so this is never empty.
163
+ */
164
+ name: string;
165
+
166
+ port: number;
167
+
168
+ /**
169
+ * Lifecycle of a proxy. A freshly created proxy is `checking` while its billing
170
+ * identity is being resolved — clients should poll until a `paymentUrl` or a later
171
+ * status appears — then `provisioning` — or `pending_payment` until the customer
172
+ * completes checkout — and becomes `active` once its upstream is assigned.
173
+ * `cancelling` retains full access through the paid period; when the subscription
174
+ * expires the proxy is `ended`. `error` marks a failed provisioning attempt.
175
+ */
176
+ status: 'checking' | 'pending_payment' | 'provisioning' | 'active' | 'cancelling' | 'ended' | 'error';
177
+
178
+ type: 'dedicated_residential' | 'residential' | 'mobile';
179
+
180
+ username: string;
181
+
182
+ billingMode?: 'included' | 'standalone_paid';
183
+ }
184
+
122
185
  /**
123
186
  * A page of proxies.
124
187
  */
@@ -147,6 +210,13 @@ export namespace ProxyListResponse {
147
210
 
148
211
  host: string;
149
212
 
213
+ /**
214
+ * Display name for the proxy. Set it on create or change it with PATCH; when no
215
+ * name has been set, a label generated from the proxy's country, type, and id is
216
+ * returned instead — so this is never empty.
217
+ */
218
+ name: string;
219
+
150
220
  port: number;
151
221
 
152
222
  /**
@@ -217,6 +287,13 @@ export interface ProxyBuyResponse {
217
287
 
218
288
  host: string;
219
289
 
290
+ /**
291
+ * Display name for the proxy. Set it on create or change it with PATCH; when no
292
+ * name has been set, a label generated from the proxy's country, type, and id is
293
+ * returned instead — so this is never empty.
294
+ */
295
+ name: string;
296
+
220
297
  password: string;
221
298
 
222
299
  port: number;
@@ -244,6 +321,22 @@ export interface ProxyBuyResponse {
244
321
  paymentUrl?: string | null;
245
322
  }
246
323
 
324
+ /**
325
+ * The outcome of an ensure-healthy check.
326
+ */
327
+ export interface ProxyEnsureHealthyResponse {
328
+ proxyId: string;
329
+
330
+ /**
331
+ * `healthy`: the upstream accepted the current session. `rotated`: the session was
332
+ * refused and the proxy now uses a fresh, checked session; retry through the
333
+ * proxy. `refused`: the session was refused and could not be replaced.
334
+ * `unreachable`: the upstream could not be reached; the session was left
335
+ * unchanged.
336
+ */
337
+ status: 'healthy' | 'rotated' | 'refused' | 'unreachable';
338
+ }
339
+
247
340
  /**
248
341
  * A page of connections.
249
342
  */
@@ -303,7 +396,7 @@ export namespace ProxyListConnectionsResponse {
303
396
  protocol: 'tcp' | 'udp' | 'unknown';
304
397
 
305
398
  /**
306
- * Upstream provider that served the connection.
399
+ * Identifier of the upstream provider that served the connection.
307
400
  */
308
401
  provider: string;
309
402
 
@@ -446,6 +539,16 @@ export namespace ProxyPingResponse {
446
539
  }
447
540
  }
448
541
 
542
+ export interface ProxyUpdateParams {
543
+ /**
544
+ * New display name, up to 64 characters excluding surrounding whitespace, and
545
+ * containing no NUL. Send null (or an empty/whitespace-only string) to drop a
546
+ * custom name and go back to the generated label. Omit to leave the name
547
+ * unchanged.
548
+ */
549
+ name?: string | null;
550
+ }
551
+
449
552
  export interface ProxyListParams {
450
553
  /**
451
554
  * Filter to proxies in this country (ISO 3166-1 alpha-2, lowercase).
@@ -465,22 +568,18 @@ export interface ProxyListParams {
465
568
 
466
569
  export interface ProxyBuyParams {
467
570
  /**
468
- * Body param: ISO 3166-1 alpha-2 country code to provision the proxy in.
571
+ * ISO 3166-1 alpha-2 country code to provision the proxy in.
469
572
  */
470
573
  country: string;
471
574
 
472
- /**
473
- * Body param
474
- */
475
575
  type: 'dedicated_residential' | 'residential' | 'mobile';
476
576
 
477
577
  /**
478
- * Header param: Optional idempotency key, unique per owner (1-128 characters after
479
- * trimming; surrounding whitespace is ignored). Reusing a key returns the
480
- * originally created proxy with its original credentials, regardless of changed
481
- * request parameters.
578
+ * Display name for the proxy, up to 64 characters excluding surrounding
579
+ * whitespace, and containing no NUL. Omit it (or send only whitespace) to get a
580
+ * generated label built from the country, type, and id.
482
581
  */
483
- 'Idempotency-Key'?: string;
582
+ name?: string;
484
583
  }
485
584
 
486
585
  export interface ProxyListConnectionsParams {
@@ -582,7 +681,7 @@ export interface ProxyListConnectionsParams {
582
681
  protocol?: 'tcp' | 'udp' | 'unknown';
583
682
 
584
683
  /**
585
- * Filter to connections served by this upstream provider.
684
+ * Filter to connections served by this upstream provider identifier.
586
685
  */
587
686
  provider?: string;
588
687
 
@@ -615,10 +714,13 @@ export interface ProxyListConnectionsParams {
615
714
  export declare namespace Proxies {
616
715
  export {
617
716
  type ProxyRetrieveResponse as ProxyRetrieveResponse,
717
+ type ProxyUpdateResponse as ProxyUpdateResponse,
618
718
  type ProxyListResponse as ProxyListResponse,
619
719
  type ProxyBuyResponse as ProxyBuyResponse,
720
+ type ProxyEnsureHealthyResponse as ProxyEnsureHealthyResponse,
620
721
  type ProxyListConnectionsResponse as ProxyListConnectionsResponse,
621
722
  type ProxyPingResponse as ProxyPingResponse,
723
+ type ProxyUpdateParams as ProxyUpdateParams,
622
724
  type ProxyListParams as ProxyListParams,
623
725
  type ProxyBuyParams as ProxyBuyParams,
624
726
  type ProxyListConnectionsParams as ProxyListConnectionsParams,
@@ -57,8 +57,8 @@ export class Users extends APIResource {
57
57
  /**
58
58
  * Returns the connection history recorded for this user, one item per connection
59
59
  * (aggregated across the connection's lifetime). Supports filtering on every
60
- * property plus ordering and pagination. Returns 503 when the connection-insights
61
- * backend is disabled or unreachable.
60
+ * property plus ordering and pagination. Returns 503 when connection history is
61
+ * temporarily unavailable.
62
62
  */
63
63
  listConnections(
64
64
  id: string,
@@ -247,7 +247,7 @@ export namespace UserListConnectionsResponse {
247
247
  protocol: 'tcp' | 'udp' | 'unknown';
248
248
 
249
249
  /**
250
- * Upstream provider that served the connection.
250
+ * Identifier of the upstream provider that served the connection.
251
251
  */
252
252
  provider: string;
253
253
 
@@ -472,7 +472,7 @@ export interface UserListConnectionsParams {
472
472
  protocol?: 'tcp' | 'udp' | 'unknown';
473
473
 
474
474
  /**
475
- * Filter to connections served by this upstream provider.
475
+ * Filter to connections served by this upstream provider identifier.
476
476
  */
477
477
  provider?: string;
478
478
 
@@ -77,8 +77,10 @@ export class Actions extends APIResource {
77
77
 
78
78
  /**
79
79
  * Swipes from a start coordinate to an end coordinate over the given duration in
80
- * milliseconds. An optional stealth flag applies human-like jitter and curved
81
- * paths on devices that support it.
80
+ * milliseconds. An optional humanize flag applies human-like jitter and curved
81
+ * paths on devices that support it. With holdMs > 0 the request returns 422 when
82
+ * combined with humanize, when duration + holdMs exceeds 9000 ms, or on devices
83
+ * that do not support it.
82
84
  */
83
85
  swipe(deviceID: string, params: ActionSwipeParams, options?: RequestOptions): APIPromise<void> {
84
86
  const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
@@ -98,7 +100,7 @@ export class Actions extends APIResource {
98
100
  }
99
101
 
100
102
  /**
101
- * Taps the device screen at the given x/y coordinates. An optional stealth flag
103
+ * Taps the device screen at the given x/y coordinates. An optional humanize flag
102
104
  * routes the tap through human-like input on devices that support it.
103
105
  */
104
106
  tap(deviceID: string, params: ActionTapParams, options?: RequestOptions): APIPromise<void> {
@@ -183,7 +185,21 @@ export interface ActionSwipeParams {
183
185
  startY: number;
184
186
 
185
187
  /**
186
- * Body param
188
+ * Body param: Keep the finger at the end point for holdMs and suppress fling
189
+ * before lifting, so content moves by about the finger travel. Supported on
190
+ * Android cloud phones.
191
+ */
192
+ holdMs?: number;
193
+
194
+ /**
195
+ * Body param: Request human-like input where supported by the device. Defaults to
196
+ * false.
197
+ */
198
+ humanize?: boolean;
199
+
200
+ /**
201
+ * @deprecated Body param: Deprecated: use humanize. Both names must agree when
202
+ * supplied together.
187
203
  */
188
204
  stealth?: boolean;
189
205
 
@@ -205,7 +221,14 @@ export interface ActionTapParams {
205
221
  y: number;
206
222
 
207
223
  /**
208
- * Body param
224
+ * Body param: Request human-like input where supported by the device. Defaults to
225
+ * false.
226
+ */
227
+ humanize?: boolean;
228
+
229
+ /**
230
+ * @deprecated Body param: Deprecated: use humanize. Both names must agree when
231
+ * supplied together.
209
232
  */
210
233
  stealth?: boolean;
211
234
 
@@ -215,6 +215,18 @@ export namespace AppListResponse {
215
215
  versionCode: number;
216
216
 
217
217
  versionName: string;
218
+
219
+ availableUpdate?: AppListResponseItem.AvailableUpdate;
220
+ }
221
+
222
+ export namespace AppListResponseItem {
223
+ export interface AvailableUpdate {
224
+ country: string;
225
+
226
+ versionCode: number;
227
+
228
+ versionName: string;
229
+ }
218
230
  }
219
231
  }
220
232
 
@@ -267,6 +279,12 @@ export interface AppListParams {
267
279
  */
268
280
  includeSystemApps?: boolean;
269
281
 
282
+ /**
283
+ * Query param: Resolve availableUpdate for Android user apps (one library lookup
284
+ * per app). Off by default.
285
+ */
286
+ includeUpdates?: boolean;
287
+
270
288
  /**
271
289
  * Header param
272
290
  */
@@ -8,9 +8,15 @@ import { path } from '../../internal/utils/path';
8
8
 
9
9
  export class Browser extends APIResource {
10
10
  /**
11
- * Evaluates a JavaScript expression in the device's foreground Chrome tab via the
12
- * Chrome DevTools Protocol and returns its JSON-serialized result. Devices without
13
- * browser support return an unsupported-feature error.
11
+ * Evaluates a JavaScript expression exactly once in the device's single, confirmed
12
+ * foreground Chrome tab via the Chrome DevTools Protocol and returns its
13
+ * JSON-serialized result. A responsive browser state without exactly one visible
14
+ * page returns DEVICE_NO_BROWSER_TARGET (400). Transient discovery, page-dial, or
15
+ * visibility-probe transport failures return CDP_TRANSPORT_UNAVAILABLE (503) with
16
+ * Retry-After and an executionOutcome; the service may start Chrome once and retry
17
+ * selection before Runtime.evaluate, but dial or probe recovery is skipped for a
18
+ * backgrounded Chrome, and a user script is never retried after its write or read.
19
+ * Devices without browser support return an unsupported-feature error.
14
20
  */
15
21
  executeScript(
16
22
  deviceID: string,