@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
@@ -102,6 +102,18 @@ import * as TasksAPI from './tasks';
102
102
  import { TaskListParams, TaskListResponse, Tasks } from './tasks';
103
103
  import * as TimezoneAPI from './timezone';
104
104
  import { Timezone, TimezoneGetParams, TimezoneGetResponse, TimezoneSetParams } from './timezone';
105
+ import * as TrafficSessionsAPI from './traffic-sessions';
106
+ import {
107
+ TrafficSessionCreateParams,
108
+ TrafficSessionCreateResponse,
109
+ TrafficSessionDeleteParams,
110
+ TrafficSessionDeleteResponse,
111
+ TrafficSessionListParams,
112
+ TrafficSessionListResponse,
113
+ TrafficSessionRetrieveParams,
114
+ TrafficSessionRetrieveResponse,
115
+ TrafficSessions,
116
+ } from './traffic-sessions';
105
117
  import * as EsimAPI from './esim/esim';
106
118
  import {
107
119
  Esim,
@@ -140,13 +152,13 @@ export class Devices extends APIResource {
140
152
  kiosk: KioskAPI.Kiosk = new KioskAPI.Kiosk(this._client);
141
153
  mediaSessions: MediaSessionsAPI.MediaSessions = new MediaSessionsAPI.MediaSessions(this._client);
142
154
  recordings: RecordingsAPI.Recordings = new RecordingsAPI.Recordings(this._client);
155
+ trafficSessions: TrafficSessionsAPI.TrafficSessions = new TrafficSessionsAPI.TrafficSessions(this._client);
143
156
 
144
157
  /**
145
- * Requests a new device for the authenticated user from the device spec in the
146
- * request body. Optional query parameters select the canonical device type, target
147
- * country, billing mode, and a profile to use as the base spec; deprecated
148
- * device-type aliases remain accepted only during the documented compatibility
149
- * grace period. The response returns the device and its stream token.
158
+ * Requests a new device from the specification in the request body. Optional query
159
+ * parameters select the canonical device type, country, billing mode, and base
160
+ * profile. Returns the device, its resolved billing strategy, and its stream
161
+ * token.
150
162
  */
151
163
  create(params: DeviceCreateParams, options?: RequestOptions): APIPromise<DeviceCreateResponse> {
152
164
  const { billing, query_country, deviceType, profileId, ...body } = params;
@@ -177,7 +189,11 @@ export class Devices extends APIResource {
177
189
  }
178
190
 
179
191
  /**
180
- * Returns the number of claimed devices for the user, broken down by device type.
192
+ * Deprecated: use GET /devices/summary instead. Returns the number of active
193
+ * claimed devices for the user, broken down by device type, in the legacy response
194
+ * shape.
195
+ *
196
+ * @deprecated
181
197
  */
182
198
  count(options?: RequestOptions): APIPromise<DeviceCountResponse> {
183
199
  return this._client.get('/devices/count', options);
@@ -231,10 +247,9 @@ export class Devices extends APIResource {
231
247
  }
232
248
 
233
249
  /**
234
- * Wakes a parked device: capacity is preflighted (the device's data may be
235
- * replicated to another node if its home is full), the device starts running
236
- * again, and per-minute billing resumes. On a device that is not parked this is a
237
- * no-op ready transition.
250
+ * Wakes a parked device: backend readiness and any required capacity are
251
+ * preflighted, the same device starts running again, and per-minute billing
252
+ * resumes. On a device that is not parked this is a no-op ready transition.
238
253
  */
239
254
  resume(deviceID: string, options?: RequestOptions): APIPromise<void> {
240
255
  return this._client.post(path`/devices/${deviceID}/resume`, {
@@ -281,12 +296,27 @@ export class Devices extends APIResource {
281
296
  });
282
297
  }
283
298
 
299
+ /**
300
+ * Returns the total number of the user's devices and counts grouped by current
301
+ * state and device type.
302
+ */
303
+ summary(
304
+ query: DeviceSummaryParams | null | undefined = {},
305
+ options?: RequestOptions,
306
+ ): APIPromise<DeviceSummaryResponse> {
307
+ return this._client.get('/devices/summary', { query, ...options });
308
+ }
309
+
284
310
  /**
285
311
  * Terminates the device and releases its resources. Termination can be scheduled
286
312
  * for a future time or chained from a previous device via the request body, in
287
313
  * which case a service key is required.
288
314
  */
289
- terminate(deviceID: string, body: DeviceTerminateParams, options?: RequestOptions): APIPromise<void> {
315
+ terminate(
316
+ deviceID: string,
317
+ body: DeviceTerminateParams | null | undefined = {},
318
+ options?: RequestOptions,
319
+ ): APIPromise<void> {
290
320
  return this._client.delete(path`/devices/${deviceID}`, {
291
321
  body,
292
322
  ...options,
@@ -315,6 +345,11 @@ export interface DeviceCreateResponse {
315
345
 
316
346
  name: string;
317
347
 
348
+ /**
349
+ * Operating system the device runs.
350
+ */
351
+ platform: 'android' | 'ios';
352
+
318
353
  state: string;
319
354
 
320
355
  stateMessage: string;
@@ -361,6 +396,11 @@ export interface DeviceRetrieveResponse {
361
396
 
362
397
  name: string;
363
398
 
399
+ /**
400
+ * Operating system the device runs.
401
+ */
402
+ platform: 'android' | 'ios';
403
+
364
404
  state: string;
365
405
 
366
406
  stateMessage: string;
@@ -419,6 +459,11 @@ export namespace DeviceListResponse {
419
459
 
420
460
  name: string;
421
461
 
462
+ /**
463
+ * Operating system the device runs.
464
+ */
465
+ platform: 'android' | 'ios';
466
+
422
467
  state: string;
423
468
 
424
469
  stateMessage: string;
@@ -543,6 +588,8 @@ export namespace DeviceRetrieveCapabilitiesResponse {
543
588
 
544
589
  proxy: boolean;
545
590
 
591
+ recording: boolean;
592
+
546
593
  reset: boolean;
547
594
 
548
595
  shell: boolean;
@@ -554,6 +601,8 @@ export namespace DeviceRetrieveCapabilitiesResponse {
554
601
  stream: boolean;
555
602
 
556
603
  time: boolean;
604
+
605
+ trafficInspection: boolean;
557
606
  }
558
607
  }
559
608
 
@@ -568,6 +617,11 @@ export interface DeviceSetNameResponse {
568
617
 
569
618
  name: string;
570
619
 
620
+ /**
621
+ * Operating system the device runs.
622
+ */
623
+ platform: 'android' | 'ios';
624
+
571
625
  state: string;
572
626
 
573
627
  stateMessage: string;
@@ -603,6 +657,19 @@ export interface DeviceSetNameResponse {
603
657
  userId?: string;
604
658
  }
605
659
 
660
+ export interface DeviceSummaryResponse {
661
+ byState: { [key: string]: number };
662
+
663
+ byType: { [key: string]: number };
664
+
665
+ total: number;
666
+
667
+ /**
668
+ * A URL to the JSON Schema for this object.
669
+ */
670
+ $schema?: string;
671
+ }
672
+
606
673
  export interface DeviceWaitReadyResponse {
607
674
  id: string;
608
675
 
@@ -614,6 +681,11 @@ export interface DeviceWaitReadyResponse {
614
681
 
615
682
  name: string;
616
683
 
684
+ /**
685
+ * Operating system the device runs.
686
+ */
687
+ platform: 'android' | 'ios';
688
+
617
689
  state: string;
618
690
 
619
691
  stateMessage: string;
@@ -651,10 +723,13 @@ export interface DeviceWaitReadyResponse {
651
723
 
652
724
  export interface DeviceCreateParams {
653
725
  /**
654
- * Query param: Billing mode. 'auto' uses a subscription slot when available and
655
- * otherwise bills per minute; 'subscription' requires an available subscription
656
- * slot; 'minute' bills per minute. Only cloud phone and cloud emulator devices
657
- * support per-minute billing.
726
+ * Query param: Billing mode. 'auto' tries subscription first, then minute billing
727
+ * if no subscription entitlement exists or all subscription slots are in use,
728
+ * provided minute billing is enabled. When subscription billing is disabled, auto
729
+ * uses minutes directly. Billing-service failures never trigger fallback.
730
+ * 'subscription' requires an available subscription slot and never falls back.
731
+ * 'minute' uses minute billing only, subject to balance and concurrency checks.
732
+ * Modes depend on the device type's billing configuration.
658
733
  */
659
734
  billing?: 'auto' | 'subscription' | 'minute';
660
735
 
@@ -665,18 +740,12 @@ export interface DeviceCreateParams {
665
740
  query_country?: string;
666
741
 
667
742
  /**
668
- * Query param: Deprecated device type aliases are accepted during a compatibility
669
- * grace period: dedicated_premium_device maps to android_cloud_phone,
670
- * dedicated_physical_device maps to android_physical_phone, dedicated_ios_device
671
- * maps to ios_stealth_phone, and dedicated_emulated_device maps to
672
- * android_emulator.
743
+ * Query param: Use android*cloud_phone for a cloud Android phone. Only canonical
744
+ * identifiers are accepted. Other backends are deployment-specific; recognized but
745
+ * unavailable types return DEVICE_TYPE_UNAVAILABLE (422). Retired dedicated*\*
746
+ * aliases are rejected with a canonical replacement.
673
747
  */
674
- deviceType?:
675
- | 'android_cloud_phone'
676
- | 'dedicated_premium_device'
677
- | 'dedicated_physical_device'
678
- | 'dedicated_ios_device'
679
- | 'dedicated_emulated_device';
748
+ deviceType?: string;
680
749
 
681
750
  /**
682
751
  * Query param: Profile ID to use as device spec
@@ -800,6 +869,12 @@ export interface DeviceListParams {
800
869
 
801
870
  pageSize?: number;
802
871
 
872
+ /**
873
+ * Filter by the device's platform as served in the platform field (runtime,
874
+ * announced, else type-derived).
875
+ */
876
+ platform?: 'android' | 'ios';
877
+
803
878
  providerId?: string;
804
879
 
805
880
  state?: Array<
@@ -816,17 +891,16 @@ export interface DeviceListParams {
816
891
  > | null;
817
892
 
818
893
  /**
819
- * Deprecated device type aliases are accepted during a compatibility grace period:
820
- * dedicated_premium_device maps to android_cloud_phone, dedicated_physical_device
821
- * maps to android_physical_phone, dedicated_ios_device maps to ios_stealth_phone,
822
- * and dedicated_emulated_device maps to android_emulator.
894
+ * Canonical device type. Retired dedicated\_\* aliases are no longer accepted.
895
+ * Availability depends on the deployment.
823
896
  */
824
897
  type?:
825
898
  | 'android_cloud_phone'
826
- | 'dedicated_premium_device'
827
- | 'dedicated_physical_device'
828
- | 'dedicated_ios_device'
829
- | 'dedicated_emulated_device';
899
+ | 'android_physical_phone'
900
+ | 'ios_stealth_phone'
901
+ | 'android_emulator'
902
+ | 'ios_simulator'
903
+ | 'device_slot';
830
904
  }
831
905
 
832
906
  export interface DeviceFingerprintParams {
@@ -837,6 +911,21 @@ export interface DeviceSetNameParams {
837
911
  name: string;
838
912
  }
839
913
 
914
+ export interface DeviceSummaryParams {
915
+ state?: Array<
916
+ | 'creating'
917
+ | 'assigned'
918
+ | 'ready'
919
+ | 'rebooting'
920
+ | 'migrating'
921
+ | 'resetting'
922
+ | 'terminated'
923
+ | 'maintenance'
924
+ | 'stopped'
925
+ | 'unknown'
926
+ > | null;
927
+ }
928
+
840
929
  export interface DeviceTerminateParams {
841
930
  previousDeviceId?: string;
842
931
 
@@ -862,6 +951,7 @@ Devices.Browser = Browser;
862
951
  Devices.Kiosk = Kiosk;
863
952
  Devices.MediaSessions = MediaSessions;
864
953
  Devices.Recordings = Recordings;
954
+ Devices.TrafficSessions = TrafficSessions;
865
955
 
866
956
  export declare namespace Devices {
867
957
  export {
@@ -872,11 +962,13 @@ export declare namespace Devices {
872
962
  type DeviceFingerprintResponse as DeviceFingerprintResponse,
873
963
  type DeviceRetrieveCapabilitiesResponse as DeviceRetrieveCapabilitiesResponse,
874
964
  type DeviceSetNameResponse as DeviceSetNameResponse,
965
+ type DeviceSummaryResponse as DeviceSummaryResponse,
875
966
  type DeviceWaitReadyResponse as DeviceWaitReadyResponse,
876
967
  type DeviceCreateParams as DeviceCreateParams,
877
968
  type DeviceListParams as DeviceListParams,
878
969
  type DeviceFingerprintParams as DeviceFingerprintParams,
879
970
  type DeviceSetNameParams as DeviceSetNameParams,
971
+ type DeviceSummaryParams as DeviceSummaryParams,
880
972
  type DeviceTerminateParams as DeviceTerminateParams,
881
973
  };
882
974
 
@@ -1029,4 +1121,16 @@ export declare namespace Devices {
1029
1121
  type RecordingTrajectoryParams as RecordingTrajectoryParams,
1030
1122
  type RecordingVideoParams as RecordingVideoParams,
1031
1123
  };
1124
+
1125
+ export {
1126
+ TrafficSessions as TrafficSessions,
1127
+ type TrafficSessionCreateResponse as TrafficSessionCreateResponse,
1128
+ type TrafficSessionRetrieveResponse as TrafficSessionRetrieveResponse,
1129
+ type TrafficSessionListResponse as TrafficSessionListResponse,
1130
+ type TrafficSessionDeleteResponse as TrafficSessionDeleteResponse,
1131
+ type TrafficSessionCreateParams as TrafficSessionCreateParams,
1132
+ type TrafficSessionRetrieveParams as TrafficSessionRetrieveParams,
1133
+ type TrafficSessionListParams as TrafficSessionListParams,
1134
+ type TrafficSessionDeleteParams as TrafficSessionDeleteParams,
1135
+ };
1032
1136
  }
@@ -39,11 +39,13 @@ export {
39
39
  type DeviceFingerprintResponse,
40
40
  type DeviceRetrieveCapabilitiesResponse,
41
41
  type DeviceSetNameResponse,
42
+ type DeviceSummaryResponse,
42
43
  type DeviceWaitReadyResponse,
43
44
  type DeviceCreateParams,
44
45
  type DeviceListParams,
45
46
  type DeviceFingerprintParams,
46
47
  type DeviceSetNameParams,
48
+ type DeviceSummaryParams,
47
49
  type DeviceTerminateParams,
48
50
  } from './devices';
49
51
  export {
@@ -135,3 +137,14 @@ export {
135
137
  type TimezoneGetParams,
136
138
  type TimezoneSetParams,
137
139
  } from './timezone';
140
+ export {
141
+ TrafficSessions,
142
+ type TrafficSessionCreateResponse,
143
+ type TrafficSessionRetrieveResponse,
144
+ type TrafficSessionListResponse,
145
+ type TrafficSessionDeleteResponse,
146
+ type TrafficSessionCreateParams,
147
+ type TrafficSessionRetrieveParams,
148
+ type TrafficSessionListParams,
149
+ type TrafficSessionDeleteParams,
150
+ } from './traffic-sessions';
@@ -51,9 +51,9 @@ export class Keyboard extends APIResource {
51
51
  }
52
52
 
53
53
  /**
54
- * Types the given text into the focused input field. Supports optionally clearing
55
- * the field first and a stealth mode that emulates human typing speed and error
56
- * rate on supported devices.
54
+ * Types text into the focused input field. The optional completionMode defaults to
55
+ * accepted for backwards-compatible low latency; committed additionally waits for
56
+ * the complete text or a quiescent UI state.
57
57
  */
58
58
  write(deviceID: string, params: KeyboardWriteParams, options?: RequestOptions): APIPromise<void> {
59
59
  const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
@@ -100,6 +100,13 @@ export interface KeyboardWriteParams {
100
100
  */
101
101
  clear?: boolean;
102
102
 
103
+ /**
104
+ * Body param: Completion guarantee. accepted returns after the input provider
105
+ * accepts the operation; committed additionally waits for the focused UI state to
106
+ * contain the complete text or become quiescent.
107
+ */
108
+ completionMode?: 'accepted' | 'committed';
109
+
103
110
  /**
104
111
  * Body param: Per-character mistake rate for humantouch typing. -1 uses server
105
112
  * default.
@@ -320,8 +320,22 @@ export interface RecordingDeleteParams {
320
320
  export interface RecordingStartParams {
321
321
  name?: string;
322
322
 
323
+ /**
324
+ * Capture quality from 1 (lowest) to 10 (full stream quality). Defaults to the
325
+ * device's full quality. Honored by devices recording through the portal stream
326
+ * bridge.
327
+ */
328
+ quality?: number;
329
+
323
330
  retentionDays?: number;
324
331
 
332
+ /**
333
+ * Artifacts to capture: trajectory (input actions; on portal stream-bridge devices
334
+ * only when the handset announces trajectory capture), video, and audio (captured
335
+ * into the video artifact, so it requires video; honored by portal stream-bridge
336
+ * recorders). Defaults to trajectory and video, narrowed to what the device
337
+ * produces.
338
+ */
325
339
  types?: Array<string> | null;
326
340
  }
327
341
 
@@ -0,0 +1,282 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as Shared from '../shared';
5
+ import { APIPromise } from '../../core/api-promise';
6
+ import { RequestOptions } from '../../internal/request-options';
7
+ import { path } from '../../internal/utils/path';
8
+
9
+ export class TrafficSessions extends APIResource {
10
+ /**
11
+ * Starts one live-only decoded HTTP/1.1, HTTP/2, HTTP/3 and WebSocket traffic
12
+ * session.
13
+ */
14
+ create(
15
+ deviceID: string,
16
+ body: TrafficSessionCreateParams,
17
+ options?: RequestOptions,
18
+ ): APIPromise<TrafficSessionCreateResponse> {
19
+ return this._client.post(path`/devices/${deviceID}/traffic/sessions`, { body, ...options });
20
+ }
21
+
22
+ /**
23
+ * Returns status and the device stream credential for a live session.
24
+ */
25
+ retrieve(
26
+ sessionID: string,
27
+ params: TrafficSessionRetrieveParams,
28
+ options?: RequestOptions,
29
+ ): APIPromise<TrafficSessionRetrieveResponse> {
30
+ const { deviceId } = params;
31
+ return this._client.get(path`/devices/${deviceId}/traffic/sessions/${sessionID}`, options);
32
+ }
33
+
34
+ /**
35
+ * List device traffic sessions
36
+ */
37
+ list(
38
+ deviceID: string,
39
+ query: TrafficSessionListParams | null | undefined = {},
40
+ options?: RequestOptions,
41
+ ): APIPromise<TrafficSessionListResponse> {
42
+ return this._client.get(path`/devices/${deviceID}/traffic/sessions`, { query, ...options });
43
+ }
44
+
45
+ /**
46
+ * Stop device traffic inspection
47
+ */
48
+ delete(
49
+ sessionID: string,
50
+ params: TrafficSessionDeleteParams,
51
+ options?: RequestOptions,
52
+ ): APIPromise<TrafficSessionDeleteResponse> {
53
+ const { deviceId } = params;
54
+ return this._client.delete(path`/devices/${deviceId}/traffic/sessions/${sessionID}`, options);
55
+ }
56
+ }
57
+
58
+ export interface TrafficSessionCreateResponse {
59
+ id: string;
60
+
61
+ createdAt: string;
62
+
63
+ deviceId: string;
64
+
65
+ expiresAt: string;
66
+
67
+ maxBodyBytes: number;
68
+
69
+ retention: 'none';
70
+
71
+ state: 'starting' | 'active' | 'stopping' | 'stopped' | 'failed' | 'expired';
72
+
73
+ /**
74
+ * A URL to the JSON Schema for this object.
75
+ */
76
+ $schema?: string;
77
+
78
+ error?: TrafficSessionCreateResponse.Error;
79
+
80
+ startedAt?: string;
81
+
82
+ stoppedAt?: string;
83
+
84
+ stream?: TrafficSessionCreateResponse.Stream;
85
+ }
86
+
87
+ export namespace TrafficSessionCreateResponse {
88
+ export interface Error {
89
+ code: string;
90
+
91
+ message: string;
92
+ }
93
+
94
+ export interface Stream {
95
+ token: string;
96
+
97
+ protocol: string;
98
+
99
+ url: string;
100
+ }
101
+ }
102
+
103
+ export interface TrafficSessionRetrieveResponse {
104
+ id: string;
105
+
106
+ createdAt: string;
107
+
108
+ deviceId: string;
109
+
110
+ expiresAt: string;
111
+
112
+ maxBodyBytes: number;
113
+
114
+ retention: 'none';
115
+
116
+ state: 'starting' | 'active' | 'stopping' | 'stopped' | 'failed' | 'expired';
117
+
118
+ /**
119
+ * A URL to the JSON Schema for this object.
120
+ */
121
+ $schema?: string;
122
+
123
+ error?: TrafficSessionRetrieveResponse.Error;
124
+
125
+ startedAt?: string;
126
+
127
+ stoppedAt?: string;
128
+
129
+ stream?: TrafficSessionRetrieveResponse.Stream;
130
+ }
131
+
132
+ export namespace TrafficSessionRetrieveResponse {
133
+ export interface Error {
134
+ code: string;
135
+
136
+ message: string;
137
+ }
138
+
139
+ export interface Stream {
140
+ token: string;
141
+
142
+ protocol: string;
143
+
144
+ url: string;
145
+ }
146
+ }
147
+
148
+ export interface TrafficSessionListResponse {
149
+ items: Array<TrafficSessionListResponse.Item> | null;
150
+
151
+ pagination: Shared.Meta;
152
+
153
+ /**
154
+ * A URL to the JSON Schema for this object.
155
+ */
156
+ $schema?: string;
157
+ }
158
+
159
+ export namespace TrafficSessionListResponse {
160
+ export interface Item {
161
+ id: string;
162
+
163
+ createdAt: string;
164
+
165
+ deviceId: string;
166
+
167
+ expiresAt: string;
168
+
169
+ maxBodyBytes: number;
170
+
171
+ retention: 'none';
172
+
173
+ state: 'starting' | 'active' | 'stopping' | 'stopped' | 'failed' | 'expired';
174
+
175
+ /**
176
+ * A URL to the JSON Schema for this object.
177
+ */
178
+ $schema?: string;
179
+
180
+ error?: Item.Error;
181
+
182
+ startedAt?: string;
183
+
184
+ stoppedAt?: string;
185
+
186
+ stream?: Item.Stream;
187
+ }
188
+
189
+ export namespace Item {
190
+ export interface Error {
191
+ code: string;
192
+
193
+ message: string;
194
+ }
195
+
196
+ export interface Stream {
197
+ token: string;
198
+
199
+ protocol: string;
200
+
201
+ url: string;
202
+ }
203
+ }
204
+ }
205
+
206
+ export interface TrafficSessionDeleteResponse {
207
+ id: string;
208
+
209
+ createdAt: string;
210
+
211
+ deviceId: string;
212
+
213
+ expiresAt: string;
214
+
215
+ maxBodyBytes: number;
216
+
217
+ retention: 'none';
218
+
219
+ state: 'starting' | 'active' | 'stopping' | 'stopped' | 'failed' | 'expired';
220
+
221
+ /**
222
+ * A URL to the JSON Schema for this object.
223
+ */
224
+ $schema?: string;
225
+
226
+ error?: TrafficSessionDeleteResponse.Error;
227
+
228
+ startedAt?: string;
229
+
230
+ stoppedAt?: string;
231
+
232
+ stream?: TrafficSessionDeleteResponse.Stream;
233
+ }
234
+
235
+ export namespace TrafficSessionDeleteResponse {
236
+ export interface Error {
237
+ code: string;
238
+
239
+ message: string;
240
+ }
241
+
242
+ export interface Stream {
243
+ token: string;
244
+
245
+ protocol: string;
246
+
247
+ url: string;
248
+ }
249
+ }
250
+
251
+ export interface TrafficSessionCreateParams {
252
+ expiresInSeconds?: number;
253
+
254
+ maxBodyBytes?: number;
255
+ }
256
+
257
+ export interface TrafficSessionRetrieveParams {
258
+ deviceId: string;
259
+ }
260
+
261
+ export interface TrafficSessionListParams {
262
+ page?: number;
263
+
264
+ pageSize?: number;
265
+ }
266
+
267
+ export interface TrafficSessionDeleteParams {
268
+ deviceId: string;
269
+ }
270
+
271
+ export declare namespace TrafficSessions {
272
+ export {
273
+ type TrafficSessionCreateResponse as TrafficSessionCreateResponse,
274
+ type TrafficSessionRetrieveResponse as TrafficSessionRetrieveResponse,
275
+ type TrafficSessionListResponse as TrafficSessionListResponse,
276
+ type TrafficSessionDeleteResponse as TrafficSessionDeleteResponse,
277
+ type TrafficSessionCreateParams as TrafficSessionCreateParams,
278
+ type TrafficSessionRetrieveParams as TrafficSessionRetrieveParams,
279
+ type TrafficSessionListParams as TrafficSessionListParams,
280
+ type TrafficSessionDeleteParams as TrafficSessionDeleteParams,
281
+ };
282
+ }