@mobilerun/sdk 6.0.0 → 6.1.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 (340) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/assistant/conversations.d.mts +20 -0
  10. package/resources/assistant/conversations.d.mts.map +1 -1
  11. package/resources/assistant/conversations.d.ts +20 -0
  12. package/resources/assistant/conversations.d.ts.map +1 -1
  13. package/resources/connect/connect.d.mts +2 -2
  14. package/resources/connect/connect.d.mts.map +1 -1
  15. package/resources/connect/connect.d.ts +2 -2
  16. package/resources/connect/connect.d.ts.map +1 -1
  17. package/resources/connect/connect.js.map +1 -1
  18. package/resources/connect/connect.mjs.map +1 -1
  19. package/resources/connect/index.d.mts +1 -1
  20. package/resources/connect/index.d.mts.map +1 -1
  21. package/resources/connect/index.d.ts +1 -1
  22. package/resources/connect/index.d.ts.map +1 -1
  23. package/resources/connect/index.js.map +1 -1
  24. package/resources/connect/index.mjs.map +1 -1
  25. package/resources/connect/proxies.d.mts +22 -1
  26. package/resources/connect/proxies.d.mts.map +1 -1
  27. package/resources/connect/proxies.d.ts +22 -1
  28. package/resources/connect/proxies.d.ts.map +1 -1
  29. package/resources/connect/proxies.js +8 -0
  30. package/resources/connect/proxies.js.map +1 -1
  31. package/resources/connect/proxies.mjs +8 -0
  32. package/resources/connect/proxies.mjs.map +1 -1
  33. package/resources/credentials/credentials.d.mts +20 -0
  34. package/resources/credentials/credentials.d.mts.map +1 -1
  35. package/resources/credentials/credentials.d.ts +20 -0
  36. package/resources/credentials/credentials.d.ts.map +1 -1
  37. package/resources/credentials/credentials.js +4 -0
  38. package/resources/credentials/credentials.js.map +1 -1
  39. package/resources/credentials/credentials.mjs +4 -0
  40. package/resources/credentials/credentials.mjs.map +1 -1
  41. package/resources/credentials/index.d.mts +1 -0
  42. package/resources/credentials/index.d.mts.map +1 -1
  43. package/resources/credentials/index.d.ts +1 -0
  44. package/resources/credentials/index.d.ts.map +1 -1
  45. package/resources/credentials/index.js +5 -3
  46. package/resources/credentials/index.js.map +1 -1
  47. package/resources/credentials/index.mjs +1 -0
  48. package/resources/credentials/index.mjs.map +1 -1
  49. package/resources/credentials/onepassword/index.d.mts +3 -0
  50. package/resources/credentials/onepassword/index.d.mts.map +1 -0
  51. package/resources/credentials/onepassword/index.d.ts +3 -0
  52. package/resources/credentials/onepassword/index.d.ts.map +1 -0
  53. package/resources/credentials/onepassword/index.js +9 -0
  54. package/resources/credentials/onepassword/index.js.map +1 -0
  55. package/resources/credentials/onepassword/index.mjs +4 -0
  56. package/resources/credentials/onepassword/index.mjs.map +1 -0
  57. package/resources/credentials/onepassword/onepassword.d.mts +65 -0
  58. package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
  59. package/resources/credentials/onepassword/onepassword.d.ts +65 -0
  60. package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
  61. package/resources/credentials/onepassword/onepassword.js +35 -0
  62. package/resources/credentials/onepassword/onepassword.js.map +1 -0
  63. package/resources/credentials/onepassword/onepassword.mjs +30 -0
  64. package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
  65. package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
  66. package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
  67. package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
  68. package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
  69. package/resources/credentials/onepassword/vaults/index.js +9 -0
  70. package/resources/credentials/onepassword/vaults/index.js.map +1 -0
  71. package/resources/credentials/onepassword/vaults/index.mjs +4 -0
  72. package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
  73. package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
  74. package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
  75. package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
  76. package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
  77. package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
  78. package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
  79. package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
  80. package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
  81. package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
  82. package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
  83. package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
  84. package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
  85. package/resources/credentials/onepassword/vaults/items/index.js +9 -0
  86. package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
  87. package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
  88. package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
  89. package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
  90. package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
  91. package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
  92. package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
  93. package/resources/credentials/onepassword/vaults/items/items.js +24 -0
  94. package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
  95. package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
  96. package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
  97. package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
  98. package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
  99. package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
  100. package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
  101. package/resources/credentials/onepassword/vaults/items.js +6 -0
  102. package/resources/credentials/onepassword/vaults/items.js.map +1 -0
  103. package/resources/credentials/onepassword/vaults/items.mjs +3 -0
  104. package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
  105. package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
  106. package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
  107. package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
  108. package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
  109. package/resources/credentials/onepassword/vaults/vaults.js +17 -0
  110. package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
  111. package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
  112. package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
  113. package/resources/credentials/onepassword/vaults.d.mts +2 -0
  114. package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
  115. package/resources/credentials/onepassword/vaults.d.ts +2 -0
  116. package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
  117. package/resources/credentials/onepassword/vaults.js +6 -0
  118. package/resources/credentials/onepassword/vaults.js.map +1 -0
  119. package/resources/credentials/onepassword/vaults.mjs +3 -0
  120. package/resources/credentials/onepassword/vaults.mjs.map +1 -0
  121. package/resources/credentials/onepassword.d.mts +2 -0
  122. package/resources/credentials/onepassword.d.mts.map +1 -0
  123. package/resources/credentials/onepassword.d.ts +2 -0
  124. package/resources/credentials/onepassword.d.ts.map +1 -0
  125. package/resources/credentials/onepassword.js +6 -0
  126. package/resources/credentials/onepassword.js.map +1 -0
  127. package/resources/credentials/onepassword.mjs +3 -0
  128. package/resources/credentials/onepassword.mjs.map +1 -0
  129. package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
  130. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  131. package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
  132. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  133. package/resources/credentials/packages/credentials/credentials.js +0 -8
  134. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  135. package/resources/credentials/packages/credentials/credentials.mjs +0 -8
  136. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  137. package/resources/credentials/packages/credentials/fields.d.mts +48 -0
  138. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  139. package/resources/credentials/packages/credentials/fields.d.ts +48 -0
  140. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  141. package/resources/credentials/packages/credentials/index.d.mts +1 -1
  142. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  143. package/resources/credentials/packages/credentials/index.d.ts +1 -1
  144. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  145. package/resources/credentials/packages/credentials/index.js.map +1 -1
  146. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  147. package/resources/credentials/packages/index.d.mts +2 -1
  148. package/resources/credentials/packages/index.d.mts.map +1 -1
  149. package/resources/credentials/packages/index.d.ts +2 -1
  150. package/resources/credentials/packages/index.d.ts.map +1 -1
  151. package/resources/credentials/packages/index.js +3 -1
  152. package/resources/credentials/packages/index.js.map +1 -1
  153. package/resources/credentials/packages/index.mjs +1 -0
  154. package/resources/credentials/packages/index.mjs.map +1 -1
  155. package/resources/credentials/packages/links.d.mts +65 -0
  156. package/resources/credentials/packages/links.d.mts.map +1 -0
  157. package/resources/credentials/packages/links.d.ts +65 -0
  158. package/resources/credentials/packages/links.d.ts.map +1 -0
  159. package/resources/credentials/packages/links.js +16 -0
  160. package/resources/credentials/packages/links.js.map +1 -0
  161. package/resources/credentials/packages/links.mjs +12 -0
  162. package/resources/credentials/packages/links.mjs.map +1 -0
  163. package/resources/credentials/packages/packages.d.mts +22 -2
  164. package/resources/credentials/packages/packages.d.mts.map +1 -1
  165. package/resources/credentials/packages/packages.d.ts +22 -2
  166. package/resources/credentials/packages/packages.d.ts.map +1 -1
  167. package/resources/credentials/packages/packages.js +4 -0
  168. package/resources/credentials/packages/packages.js.map +1 -1
  169. package/resources/credentials/packages/packages.mjs +4 -0
  170. package/resources/credentials/packages/packages.mjs.map +1 -1
  171. package/resources/devices/apps.d.mts +14 -12
  172. package/resources/devices/apps.d.mts.map +1 -1
  173. package/resources/devices/apps.d.ts +14 -12
  174. package/resources/devices/apps.d.ts.map +1 -1
  175. package/resources/devices/apps.js +12 -10
  176. package/resources/devices/apps.js.map +1 -1
  177. package/resources/devices/apps.mjs +12 -10
  178. package/resources/devices/apps.mjs.map +1 -1
  179. package/resources/devices/devices.d.mts +62 -32
  180. package/resources/devices/devices.d.mts.map +1 -1
  181. package/resources/devices/devices.d.ts +62 -32
  182. package/resources/devices/devices.d.ts.map +1 -1
  183. package/resources/devices/devices.js +25 -17
  184. package/resources/devices/devices.js.map +1 -1
  185. package/resources/devices/devices.mjs +25 -17
  186. package/resources/devices/devices.mjs.map +1 -1
  187. package/resources/devices/index.d.mts +1 -2
  188. package/resources/devices/index.d.mts.map +1 -1
  189. package/resources/devices/index.d.ts +1 -2
  190. package/resources/devices/index.d.ts.map +1 -1
  191. package/resources/devices/index.js +1 -3
  192. package/resources/devices/index.js.map +1 -1
  193. package/resources/devices/index.mjs +0 -1
  194. package/resources/devices/index.mjs.map +1 -1
  195. package/resources/devices/keyboard.d.mts +1 -1
  196. package/resources/devices/keyboard.d.ts +1 -1
  197. package/resources/devices/language.d.mts +6 -4
  198. package/resources/devices/language.d.mts.map +1 -1
  199. package/resources/devices/language.d.ts +6 -4
  200. package/resources/devices/language.d.ts.map +1 -1
  201. package/resources/devices/language.js +3 -2
  202. package/resources/devices/language.js.map +1 -1
  203. package/resources/devices/language.mjs +3 -2
  204. package/resources/devices/language.mjs.map +1 -1
  205. package/resources/devices/state.d.mts +1 -0
  206. package/resources/devices/state.d.mts.map +1 -1
  207. package/resources/devices/state.d.ts +1 -0
  208. package/resources/devices/state.d.ts.map +1 -1
  209. package/resources/index.d.mts +1 -1
  210. package/resources/index.d.mts.map +1 -1
  211. package/resources/index.d.ts +1 -1
  212. package/resources/index.d.ts.map +1 -1
  213. package/resources/index.js.map +1 -1
  214. package/resources/index.mjs.map +1 -1
  215. package/resources/mailboxes/messages.d.mts +13 -0
  216. package/resources/mailboxes/messages.d.mts.map +1 -1
  217. package/resources/mailboxes/messages.d.ts +13 -0
  218. package/resources/mailboxes/messages.d.ts.map +1 -1
  219. package/resources/mailboxes/messages.js +2 -2
  220. package/resources/mailboxes/messages.js.map +1 -1
  221. package/resources/mailboxes/messages.mjs +2 -2
  222. package/resources/mailboxes/messages.mjs.map +1 -1
  223. package/resources/messages/conversations.d.mts +6 -0
  224. package/resources/messages/conversations.d.mts.map +1 -1
  225. package/resources/messages/conversations.d.ts +6 -0
  226. package/resources/messages/conversations.d.ts.map +1 -1
  227. package/resources/messages/messages.d.mts +28 -0
  228. package/resources/messages/messages.d.mts.map +1 -1
  229. package/resources/messages/messages.d.ts +28 -0
  230. package/resources/messages/messages.d.ts.map +1 -1
  231. package/resources/messages/messages.js.map +1 -1
  232. package/resources/messages/messages.mjs.map +1 -1
  233. package/resources/numbers/messages.d.mts +27 -1
  234. package/resources/numbers/messages.d.mts.map +1 -1
  235. package/resources/numbers/messages.d.ts +27 -1
  236. package/resources/numbers/messages.d.ts.map +1 -1
  237. package/resources/numbers/numbers.d.mts +108 -0
  238. package/resources/numbers/numbers.d.mts.map +1 -1
  239. package/resources/numbers/numbers.d.ts +108 -0
  240. package/resources/numbers/numbers.d.ts.map +1 -1
  241. package/resources/numbers/numbers.js.map +1 -1
  242. package/resources/numbers/numbers.mjs.map +1 -1
  243. package/resources/tasks/tasks.d.mts +6 -2
  244. package/resources/tasks/tasks.d.mts.map +1 -1
  245. package/resources/tasks/tasks.d.ts +6 -2
  246. package/resources/tasks/tasks.d.ts.map +1 -1
  247. package/resources/tasks/tasks.js.map +1 -1
  248. package/resources/tasks/tasks.mjs.map +1 -1
  249. package/resources/workflows/events.d.mts +1 -0
  250. package/resources/workflows/events.d.mts.map +1 -1
  251. package/resources/workflows/events.d.ts +1 -0
  252. package/resources/workflows/events.d.ts.map +1 -1
  253. package/resources/workflows/executions/executions.d.mts +10 -0
  254. package/resources/workflows/executions/executions.d.mts.map +1 -1
  255. package/resources/workflows/executions/executions.d.ts +10 -0
  256. package/resources/workflows/executions/executions.d.ts.map +1 -1
  257. package/resources/workflows/executions/executions.js.map +1 -1
  258. package/resources/workflows/executions/executions.mjs.map +1 -1
  259. package/resources/workflows/flows/flows.d.mts +31 -11
  260. package/resources/workflows/flows/flows.d.mts.map +1 -1
  261. package/resources/workflows/flows/flows.d.ts +31 -11
  262. package/resources/workflows/flows/flows.d.ts.map +1 -1
  263. package/resources/workflows/flows/flows.js +11 -10
  264. package/resources/workflows/flows/flows.js.map +1 -1
  265. package/resources/workflows/flows/flows.mjs +11 -10
  266. package/resources/workflows/flows/flows.mjs.map +1 -1
  267. package/resources/workflows/flows/index.d.mts +1 -1
  268. package/resources/workflows/flows/index.d.mts.map +1 -1
  269. package/resources/workflows/flows/index.d.ts +1 -1
  270. package/resources/workflows/flows/index.d.ts.map +1 -1
  271. package/resources/workflows/flows/index.js.map +1 -1
  272. package/resources/workflows/flows/index.mjs.map +1 -1
  273. package/resources/workflows/index.d.mts +1 -1
  274. package/resources/workflows/index.d.mts.map +1 -1
  275. package/resources/workflows/index.d.ts +1 -1
  276. package/resources/workflows/index.d.ts.map +1 -1
  277. package/resources/workflows/index.js.map +1 -1
  278. package/resources/workflows/index.mjs.map +1 -1
  279. package/resources/workflows/workflows.d.mts +2 -2
  280. package/resources/workflows/workflows.d.mts.map +1 -1
  281. package/resources/workflows/workflows.d.ts +2 -2
  282. package/resources/workflows/workflows.d.ts.map +1 -1
  283. package/resources/workflows/workflows.js.map +1 -1
  284. package/resources/workflows/workflows.mjs.map +1 -1
  285. package/src/client.ts +2 -0
  286. package/src/resources/assistant/conversations.ts +28 -0
  287. package/src/resources/connect/connect.ts +2 -0
  288. package/src/resources/connect/index.ts +1 -0
  289. package/src/resources/connect/proxies.ts +27 -0
  290. package/src/resources/credentials/credentials.ts +51 -0
  291. package/src/resources/credentials/index.ts +7 -0
  292. package/src/resources/credentials/onepassword/index.ts +10 -0
  293. package/src/resources/credentials/onepassword/onepassword.ts +101 -0
  294. package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
  295. package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
  296. package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
  297. package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
  298. package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
  299. package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
  300. package/src/resources/credentials/onepassword/vaults.ts +3 -0
  301. package/src/resources/credentials/onepassword.ts +3 -0
  302. package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
  303. package/src/resources/credentials/packages/credentials/fields.ts +99 -0
  304. package/src/resources/credentials/packages/credentials/index.ts +0 -2
  305. package/src/resources/credentials/packages/index.ts +1 -2
  306. package/src/resources/credentials/packages/links.ts +122 -0
  307. package/src/resources/credentials/packages/packages.ts +43 -4
  308. package/src/resources/devices/apps.ts +14 -12
  309. package/src/resources/devices/devices.ts +77 -59
  310. package/src/resources/devices/index.ts +1 -9
  311. package/src/resources/devices/keyboard.ts +1 -1
  312. package/src/resources/devices/language.ts +6 -4
  313. package/src/resources/devices/state.ts +2 -0
  314. package/src/resources/index.ts +1 -0
  315. package/src/resources/mailboxes/messages.ts +17 -2
  316. package/src/resources/messages/conversations.ts +6 -0
  317. package/src/resources/messages/messages.ts +32 -0
  318. package/src/resources/numbers/messages.ts +31 -1
  319. package/src/resources/numbers/numbers.ts +124 -0
  320. package/src/resources/tasks/tasks.ts +6 -2
  321. package/src/resources/workflows/events.ts +2 -0
  322. package/src/resources/workflows/executions/executions.ts +12 -0
  323. package/src/resources/workflows/flows/flows.ts +44 -11
  324. package/src/resources/workflows/flows/index.ts +1 -0
  325. package/src/resources/workflows/index.ts +1 -0
  326. package/src/resources/workflows/workflows.ts +2 -0
  327. package/src/version.ts +1 -1
  328. package/version.d.mts +1 -1
  329. package/version.d.ts +1 -1
  330. package/version.js +1 -1
  331. package/version.mjs +1 -1
  332. package/resources/devices/media-sessions.d.mts +0 -96
  333. package/resources/devices/media-sessions.d.mts.map +0 -1
  334. package/resources/devices/media-sessions.d.ts +0 -96
  335. package/resources/devices/media-sessions.d.ts.map +0 -1
  336. package/resources/devices/media-sessions.js +0 -50
  337. package/resources/devices/media-sessions.js.map +0 -1
  338. package/resources/devices/media-sessions.mjs +0 -46
  339. package/resources/devices/media-sessions.mjs.map +0 -1
  340. package/src/resources/devices/media-sessions.ts +0 -168
@@ -164,6 +164,9 @@ export namespace NumberRetrieveResponse {
164
164
  */
165
165
  canSend: boolean;
166
166
 
167
+ /**
168
+ * @deprecated Deprecated: use `lineCapabilities`
169
+ */
167
170
  capabilities: Array<'sms' | 'voice'> | null;
168
171
 
169
172
  checkoutUrl: string | null;
@@ -183,6 +186,12 @@ export namespace NumberRetrieveResponse {
183
186
 
184
187
  label: string | null;
185
188
 
189
+ /**
190
+ * What this line supports in principle, per channel. Use `actions` for what you
191
+ * can do right now.
192
+ */
193
+ lineCapabilities: Data.LineCapabilities;
194
+
186
195
  phoneNumber: string | null;
187
196
 
188
197
  purpose: string | null;
@@ -210,6 +219,28 @@ export namespace NumberRetrieveResponse {
210
219
  */
211
220
  send: boolean;
212
221
  }
222
+
223
+ /**
224
+ * What this line supports in principle, per channel. Use `actions` for what you
225
+ * can do right now.
226
+ */
227
+ export interface LineCapabilities {
228
+ sms: LineCapabilities.SMS;
229
+ }
230
+
231
+ export namespace LineCapabilities {
232
+ export interface SMS {
233
+ /**
234
+ * This line can receive on this channel.
235
+ */
236
+ inbound: boolean;
237
+
238
+ /**
239
+ * This line can send on this channel.
240
+ */
241
+ outbound: boolean;
242
+ }
243
+ }
213
244
  }
214
245
  }
215
246
 
@@ -238,6 +269,9 @@ export namespace NumberUpdateResponse {
238
269
  */
239
270
  canSend: boolean;
240
271
 
272
+ /**
273
+ * @deprecated Deprecated: use `lineCapabilities`
274
+ */
241
275
  capabilities: Array<'sms' | 'voice'> | null;
242
276
 
243
277
  checkoutUrl: string | null;
@@ -257,6 +291,12 @@ export namespace NumberUpdateResponse {
257
291
 
258
292
  label: string | null;
259
293
 
294
+ /**
295
+ * What this line supports in principle, per channel. Use `actions` for what you
296
+ * can do right now.
297
+ */
298
+ lineCapabilities: Data.LineCapabilities;
299
+
260
300
  phoneNumber: string | null;
261
301
 
262
302
  purpose: string | null;
@@ -284,6 +324,28 @@ export namespace NumberUpdateResponse {
284
324
  */
285
325
  send: boolean;
286
326
  }
327
+
328
+ /**
329
+ * What this line supports in principle, per channel. Use `actions` for what you
330
+ * can do right now.
331
+ */
332
+ export interface LineCapabilities {
333
+ sms: LineCapabilities.SMS;
334
+ }
335
+
336
+ export namespace LineCapabilities {
337
+ export interface SMS {
338
+ /**
339
+ * This line can receive on this channel.
340
+ */
341
+ inbound: boolean;
342
+
343
+ /**
344
+ * This line can send on this channel.
345
+ */
346
+ outbound: boolean;
347
+ }
348
+ }
287
349
  }
288
350
  }
289
351
 
@@ -314,6 +376,9 @@ export namespace NumberListResponse {
314
376
  */
315
377
  canSend: boolean;
316
378
 
379
+ /**
380
+ * @deprecated Deprecated: use `lineCapabilities`
381
+ */
317
382
  capabilities: Array<'sms' | 'voice'> | null;
318
383
 
319
384
  checkoutUrl: string | null;
@@ -333,6 +398,12 @@ export namespace NumberListResponse {
333
398
 
334
399
  label: string | null;
335
400
 
401
+ /**
402
+ * What this line supports in principle, per channel. Use `actions` for what you
403
+ * can do right now.
404
+ */
405
+ lineCapabilities: Item.LineCapabilities;
406
+
336
407
  phoneNumber: string | null;
337
408
 
338
409
  purpose: string | null;
@@ -360,6 +431,28 @@ export namespace NumberListResponse {
360
431
  */
361
432
  send: boolean;
362
433
  }
434
+
435
+ /**
436
+ * What this line supports in principle, per channel. Use `actions` for what you
437
+ * can do right now.
438
+ */
439
+ export interface LineCapabilities {
440
+ sms: LineCapabilities.SMS;
441
+ }
442
+
443
+ export namespace LineCapabilities {
444
+ export interface SMS {
445
+ /**
446
+ * This line can receive on this channel.
447
+ */
448
+ inbound: boolean;
449
+
450
+ /**
451
+ * This line can send on this channel.
452
+ */
453
+ outbound: boolean;
454
+ }
455
+ }
363
456
  }
364
457
  }
365
458
 
@@ -388,6 +481,9 @@ export namespace NumberDeleteResponse {
388
481
  */
389
482
  canSend: boolean;
390
483
 
484
+ /**
485
+ * @deprecated Deprecated: use `lineCapabilities`
486
+ */
391
487
  capabilities: Array<'sms' | 'voice'> | null;
392
488
 
393
489
  checkoutUrl: string | null;
@@ -407,6 +503,12 @@ export namespace NumberDeleteResponse {
407
503
 
408
504
  label: string | null;
409
505
 
506
+ /**
507
+ * What this line supports in principle, per channel. Use `actions` for what you
508
+ * can do right now.
509
+ */
510
+ lineCapabilities: Data.LineCapabilities;
511
+
410
512
  phoneNumber: string | null;
411
513
 
412
514
  purpose: string | null;
@@ -434,6 +536,28 @@ export namespace NumberDeleteResponse {
434
536
  */
435
537
  send: boolean;
436
538
  }
539
+
540
+ /**
541
+ * What this line supports in principle, per channel. Use `actions` for what you
542
+ * can do right now.
543
+ */
544
+ export interface LineCapabilities {
545
+ sms: LineCapabilities.SMS;
546
+ }
547
+
548
+ export namespace LineCapabilities {
549
+ export interface SMS {
550
+ /**
551
+ * This line can receive on this channel.
552
+ */
553
+ inbound: boolean;
554
+
555
+ /**
556
+ * This line can send on this channel.
557
+ */
558
+ outbound: boolean;
559
+ }
560
+ }
437
561
  }
438
562
  }
439
563
 
@@ -1095,7 +1095,9 @@ export interface TaskRunParams {
1095
1095
  humanize?: boolean;
1096
1096
 
1097
1097
  /**
1098
- * The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
1098
+ * The LLM model identifier to use for the task (e.g.
1099
+ * 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
1100
+ * default model is used.
1099
1101
  */
1100
1102
  llmModel?: string;
1101
1103
 
@@ -1181,7 +1183,9 @@ export interface TaskRunStreamedParams {
1181
1183
  humanize?: boolean;
1182
1184
 
1183
1185
  /**
1184
- * The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
1186
+ * The LLM model identifier to use for the task (e.g.
1187
+ * 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
1188
+ * default model is used.
1185
1189
  */
1186
1190
  llmModel?: string;
1187
1191
 
@@ -73,6 +73,8 @@ export namespace EventDryRunResponse {
73
73
  export interface Flow {
74
74
  id: string;
75
75
 
76
+ agentId: string | null;
77
+
76
78
  archivedAt: string | null;
77
79
 
78
80
  blockedAt: string | null;
@@ -61,6 +61,11 @@ export namespace ExecutionRetrieveResponse {
61
61
  export interface Data {
62
62
  id: string;
63
63
 
64
+ /**
65
+ * Current agent assignment of the owner-scoped parent flow; null when unassigned.
66
+ */
67
+ agentId: string | null;
68
+
64
69
  createdBy: string | null;
65
70
 
66
71
  /**
@@ -209,6 +214,13 @@ export namespace ExecutionRetrieveResponse {
209
214
  startedAt: string | null;
210
215
 
211
216
  status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
217
+
218
+ /**
219
+ * Zero-based retry attempt of the execution job during which this step last ran (0
220
+ * = initial attempt). Not a per-step retry counter; may undercount after crash
221
+ * recovery.
222
+ */
223
+ attempt?: number;
212
224
  }
213
225
  }
214
226
 
@@ -57,10 +57,11 @@ export class Flows extends APIResource {
57
57
  }
58
58
 
59
59
  /**
60
- * Return a paginated list of flows. Supports filtering by `triggerId`, `enabled`,
61
- * one or more health `status` values (healthy, failing, blocked), `mine` (flows
62
- * created by the calling actor), `createdBy` (flows created by a given actor id —
63
- * mutually exclusive with `mine`), plus free-text `search` and ordering.
60
+ * Return a paginated list of flows. Supports filtering by `agentId` (UUID or
61
+ * `unassigned`; omit for all buckets), `triggerId`, `enabled`, one or more health
62
+ * `status` values (healthy, failing, blocked), `mine` (flows created by the
63
+ * calling actor), `createdBy` (flows created by a given actor id — mutually
64
+ * exclusive with `mine`), plus free-text `search` and ordering.
64
65
  */
65
66
  list(
66
67
  query: FlowListParams | null | undefined = {},
@@ -91,13 +92,16 @@ export class Flows extends APIResource {
91
92
  }
92
93
 
93
94
  /**
94
- * Returns an owner-scoped snapshot of finite included workflow-agent capacity
95
- * after accounting for enabled and disabled agents. Returns 503 when a finite
96
- * capacity snapshot is unavailable, including for unlimited plans. This is
97
- * advisory; create and clone perform the authoritative capacity check.
95
+ * Returns the environment routine limit and remaining capacity for this owner and
96
+ * agent bucket, counting enabled and disabled non-deleted flows. Omit agentId (or
97
+ * use unassigned) for the unassigned bucket. This is advisory; create and clone
98
+ * enforce admission under a bucket lock.
98
99
  */
99
- capacity(options?: RequestOptions): APIPromise<FlowCapacityResponse> {
100
- return this._client.get('/flows/capacity', options);
100
+ capacity(
101
+ query: FlowCapacityParams | null | undefined = {},
102
+ options?: RequestOptions,
103
+ ): APIPromise<FlowCapacityResponse> {
104
+ return this._client.get('/flows/capacity', { query, ...options });
101
105
  }
102
106
 
103
107
  /**
@@ -236,6 +240,8 @@ export namespace FlowCreateResponse {
236
240
  export interface Data {
237
241
  id: string;
238
242
 
243
+ agentId: string | null;
244
+
239
245
  archivedAt: string | null;
240
246
 
241
247
  blockedAt: string | null;
@@ -356,6 +362,8 @@ export namespace FlowRetrieveResponse {
356
362
  export interface Data {
357
363
  id: string;
358
364
 
365
+ agentId: string | null;
366
+
359
367
  archivedAt: string | null;
360
368
 
361
369
  blockedAt: string | null;
@@ -476,6 +484,8 @@ export namespace FlowUpdateResponse {
476
484
  export interface Data {
477
485
  id: string;
478
486
 
487
+ agentId: string | null;
488
+
479
489
  archivedAt: string | null;
480
490
 
481
491
  blockedAt: string | null;
@@ -598,6 +608,8 @@ export namespace FlowListResponse {
598
608
  export interface Item {
599
609
  id: string;
600
610
 
611
+ agentId: string | null;
612
+
601
613
  archivedAt: string | null;
602
614
 
603
615
  blockedAt: string | null;
@@ -722,6 +734,8 @@ export namespace FlowActivateResponse {
722
734
  export interface Data {
723
735
  id: string;
724
736
 
737
+ agentId: string | null;
738
+
725
739
  archivedAt: string | null;
726
740
 
727
741
  blockedAt: string | null;
@@ -844,7 +858,7 @@ export namespace FlowCapacityResponse {
844
858
 
845
859
  remaining: number;
846
860
 
847
- status: 'available' | 'exhausted' | 'not_included';
861
+ status: 'available' | 'exhausted';
848
862
  }
849
863
  }
850
864
 
@@ -856,6 +870,8 @@ export namespace FlowCloneResponse {
856
870
  export interface Data {
857
871
  id: string;
858
872
 
873
+ agentId: string | null;
874
+
859
875
  archivedAt: string | null;
860
876
 
861
877
  blockedAt: string | null;
@@ -1213,6 +1229,8 @@ export namespace FlowUnblockResponse {
1213
1229
  export interface Data {
1214
1230
  id: string;
1215
1231
 
1232
+ agentId: string | null;
1233
+
1216
1234
  archivedAt: string | null;
1217
1235
 
1218
1236
  blockedAt: string | null;
@@ -1585,6 +1603,12 @@ export namespace FlowUpdateParams {
1585
1603
  }
1586
1604
 
1587
1605
  export interface FlowListParams {
1606
+ /**
1607
+ * Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
1608
+ * capacity for unassigned.
1609
+ */
1610
+ agentId?: (string & {}) | 'unassigned';
1611
+
1588
1612
  createdBy?: string;
1589
1613
 
1590
1614
  /**
@@ -1616,6 +1640,14 @@ export interface FlowActivateParams {
1616
1640
  verificationExecutionId: string;
1617
1641
  }
1618
1642
 
1643
+ export interface FlowCapacityParams {
1644
+ /**
1645
+ * Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
1646
+ * capacity for unassigned.
1647
+ */
1648
+ agentId?: (string & {}) | 'unassigned';
1649
+ }
1650
+
1619
1651
  export interface FlowCloneParams {
1620
1652
  deviceIds?: Array<string>;
1621
1653
 
@@ -1843,6 +1875,7 @@ export declare namespace Flows {
1843
1875
  type FlowUpdateParams as FlowUpdateParams,
1844
1876
  type FlowListParams as FlowListParams,
1845
1877
  type FlowActivateParams as FlowActivateParams,
1878
+ type FlowCapacityParams as FlowCapacityParams,
1846
1879
  type FlowCloneParams as FlowCloneParams,
1847
1880
  type FlowDryRunParams as FlowDryRunParams,
1848
1881
  type FlowRunParams as FlowRunParams,
@@ -32,6 +32,7 @@ export {
32
32
  type FlowUpdateParams,
33
33
  type FlowListParams,
34
34
  type FlowActivateParams,
35
+ type FlowCapacityParams,
35
36
  type FlowCloneParams,
36
37
  type FlowDryRunParams,
37
38
  type FlowRunParams,
@@ -55,6 +55,7 @@ export {
55
55
  type FlowUpdateParams,
56
56
  type FlowListParams,
57
57
  type FlowActivateParams,
58
+ type FlowCapacityParams,
58
59
  type FlowCloneParams,
59
60
  type FlowDryRunParams,
60
61
  type FlowRunParams,
@@ -58,6 +58,7 @@ import * as FlowsAPI from './flows/flows';
58
58
  import {
59
59
  FlowActivateParams,
60
60
  FlowActivateResponse,
61
+ FlowCapacityParams,
61
62
  FlowCapacityResponse,
62
63
  FlowCloneParams,
63
64
  FlowCloneResponse,
@@ -159,6 +160,7 @@ export declare namespace Workflows {
159
160
  type FlowUpdateParams as FlowUpdateParams,
160
161
  type FlowListParams as FlowListParams,
161
162
  type FlowActivateParams as FlowActivateParams,
163
+ type FlowCapacityParams as FlowCapacityParams,
162
164
  type FlowCloneParams as FlowCloneParams,
163
165
  type FlowDryRunParams as FlowDryRunParams,
164
166
  type FlowRunParams as FlowRunParams,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.0.0'; // x-release-please-version
1
+ export const VERSION = '6.1.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.0.0";
1
+ export declare const VERSION = "6.1.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.0.0";
1
+ export declare const VERSION = "6.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '6.0.0'; // x-release-please-version
4
+ exports.VERSION = '6.1.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.0.0'; // x-release-please-version
1
+ export const VERSION = '6.1.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,96 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import { APIPromise } from "../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../internal/request-options.mjs";
4
- export declare class MediaSessions extends APIResource {
5
- /**
6
- * Allocates an exclusive relay path and returns one-time publish and control
7
- * credentials. The relay publisher must be established before activation.
8
- */
9
- create(deviceID: string, body: MediaSessionCreateParams, options?: RequestOptions): APIPromise<MediaSessionCreateResponse>;
10
- /**
11
- * Immediately revokes relay authorization, detaches virtual media inputs, and
12
- * kicks the relay publisher.
13
- */
14
- delete(sessionID: string, params: MediaSessionDeleteParams, options?: RequestOptions): APIPromise<void>;
15
- /**
16
- * Validates relay codecs and attaches one private RTSP source to either the
17
- * virtual microphone or the combined microphone-and-camera pipeline.
18
- */
19
- activate(sessionID: string, params: MediaSessionActivateParams, options?: RequestOptions): APIPromise<MediaSessionActivateResponse>;
20
- /**
21
- * Returns status only. Publish URLs and credentials are never replayed after
22
- * creation.
23
- */
24
- retrieveCurrent(deviceID: string, options?: RequestOptions): APIPromise<MediaSessionRetrieveCurrentResponse>;
25
- }
26
- export interface MediaSessionCreateResponse {
27
- camera: boolean;
28
- controlToken: string;
29
- expiresAt: string;
30
- microphone: boolean;
31
- publishToken: string;
32
- publishUrl: string;
33
- sessionId: string;
34
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
35
- /**
36
- * A URL to the JSON Schema for this object.
37
- */
38
- $schema?: string;
39
- }
40
- export interface MediaSessionActivateResponse {
41
- camera: boolean;
42
- expiresAt: string;
43
- microphone: boolean;
44
- sessionId: string;
45
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
46
- /**
47
- * A URL to the JSON Schema for this object.
48
- */
49
- $schema?: string;
50
- }
51
- export interface MediaSessionRetrieveCurrentResponse {
52
- camera: boolean;
53
- expiresAt: string;
54
- microphone: boolean;
55
- sessionId: string;
56
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
57
- /**
58
- * A URL to the JSON Schema for this object.
59
- */
60
- $schema?: string;
61
- }
62
- export interface MediaSessionCreateParams {
63
- /**
64
- * Publish combined browser audio and H264 video into the device's virtual
65
- * microphone and camera. Requires microphone=true.
66
- */
67
- camera: boolean;
68
- /**
69
- * Publish browser audio into the device's virtual microphone.
70
- */
71
- microphone: boolean;
72
- }
73
- export interface MediaSessionDeleteParams {
74
- /**
75
- * Path param
76
- */
77
- deviceId: string;
78
- /**
79
- * Header param
80
- */
81
- 'X-Media-Control-Token': string;
82
- }
83
- export interface MediaSessionActivateParams {
84
- /**
85
- * Path param
86
- */
87
- deviceId: string;
88
- /**
89
- * Header param
90
- */
91
- 'X-Media-Control-Token': string;
92
- }
93
- export declare namespace MediaSessions {
94
- export { type MediaSessionCreateResponse as MediaSessionCreateResponse, type MediaSessionActivateResponse as MediaSessionActivateResponse, type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse, type MediaSessionCreateParams as MediaSessionCreateParams, type MediaSessionDeleteParams as MediaSessionDeleteParams, type MediaSessionActivateParams as MediaSessionActivateParams, };
95
- }
96
- //# sourceMappingURL=media-sessions.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media-sessions.d.mts","sourceRoot":"","sources":["../../src/resources/devices/media-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;OAGG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAWvG;;;OAGG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAQ3C;;;OAGG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,OAAO,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -1,96 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import { APIPromise } from "../../core/api-promise.js";
3
- import { RequestOptions } from "../../internal/request-options.js";
4
- export declare class MediaSessions extends APIResource {
5
- /**
6
- * Allocates an exclusive relay path and returns one-time publish and control
7
- * credentials. The relay publisher must be established before activation.
8
- */
9
- create(deviceID: string, body: MediaSessionCreateParams, options?: RequestOptions): APIPromise<MediaSessionCreateResponse>;
10
- /**
11
- * Immediately revokes relay authorization, detaches virtual media inputs, and
12
- * kicks the relay publisher.
13
- */
14
- delete(sessionID: string, params: MediaSessionDeleteParams, options?: RequestOptions): APIPromise<void>;
15
- /**
16
- * Validates relay codecs and attaches one private RTSP source to either the
17
- * virtual microphone or the combined microphone-and-camera pipeline.
18
- */
19
- activate(sessionID: string, params: MediaSessionActivateParams, options?: RequestOptions): APIPromise<MediaSessionActivateResponse>;
20
- /**
21
- * Returns status only. Publish URLs and credentials are never replayed after
22
- * creation.
23
- */
24
- retrieveCurrent(deviceID: string, options?: RequestOptions): APIPromise<MediaSessionRetrieveCurrentResponse>;
25
- }
26
- export interface MediaSessionCreateResponse {
27
- camera: boolean;
28
- controlToken: string;
29
- expiresAt: string;
30
- microphone: boolean;
31
- publishToken: string;
32
- publishUrl: string;
33
- sessionId: string;
34
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
35
- /**
36
- * A URL to the JSON Schema for this object.
37
- */
38
- $schema?: string;
39
- }
40
- export interface MediaSessionActivateResponse {
41
- camera: boolean;
42
- expiresAt: string;
43
- microphone: boolean;
44
- sessionId: string;
45
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
46
- /**
47
- * A URL to the JSON Schema for this object.
48
- */
49
- $schema?: string;
50
- }
51
- export interface MediaSessionRetrieveCurrentResponse {
52
- camera: boolean;
53
- expiresAt: string;
54
- microphone: boolean;
55
- sessionId: string;
56
- state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
57
- /**
58
- * A URL to the JSON Schema for this object.
59
- */
60
- $schema?: string;
61
- }
62
- export interface MediaSessionCreateParams {
63
- /**
64
- * Publish combined browser audio and H264 video into the device's virtual
65
- * microphone and camera. Requires microphone=true.
66
- */
67
- camera: boolean;
68
- /**
69
- * Publish browser audio into the device's virtual microphone.
70
- */
71
- microphone: boolean;
72
- }
73
- export interface MediaSessionDeleteParams {
74
- /**
75
- * Path param
76
- */
77
- deviceId: string;
78
- /**
79
- * Header param
80
- */
81
- 'X-Media-Control-Token': string;
82
- }
83
- export interface MediaSessionActivateParams {
84
- /**
85
- * Path param
86
- */
87
- deviceId: string;
88
- /**
89
- * Header param
90
- */
91
- 'X-Media-Control-Token': string;
92
- }
93
- export declare namespace MediaSessions {
94
- export { type MediaSessionCreateResponse as MediaSessionCreateResponse, type MediaSessionActivateResponse as MediaSessionActivateResponse, type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse, type MediaSessionCreateParams as MediaSessionCreateParams, type MediaSessionDeleteParams as MediaSessionDeleteParams, type MediaSessionActivateParams as MediaSessionActivateParams, };
95
- }
96
- //# sourceMappingURL=media-sessions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media-sessions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/media-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;OAGG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAWvG;;;OAGG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAQ3C;;;OAGG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,OAAO,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}