@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
@@ -1,28 +1,27 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as Shared from "../shared.js";
3
+ import * as ConnectionsAPI from "./connections.js";
4
+ import { ConnectionCreateParams, ConnectionCreateResponse, ConnectionRetrieveResponse, Connections } from "./connections.js";
3
5
  import * as MessagesAPI from "./messages.js";
4
6
  import { MessageListParams, MessageListResponse, MessageRetrieveParams, MessageRetrieveResponse, Messages } from "./messages.js";
5
7
  import { APIPromise } from "../../core/api-promise.js";
6
8
  import { RequestOptions } from "../../internal/request-options.js";
7
9
  export declare class Mailboxes extends APIResource {
10
+ connections: ConnectionsAPI.Connections;
8
11
  messages: MessagesAPI.Messages;
9
12
  /**
10
- * Reserves a permanently-allocated, individually-rented mailbox and starts an
11
- * Autumn rental checkout. An optional localPart selects the full address local
12
- * part; omitting it keeps the default random, non-guessable mx\_-prefixed address.
13
- * The address is withheld until the first payment is confirmed. Idempotent on
14
- * (owner, clientRequestId): same key + payload replays (200); a conflicting or
15
- * already-held local part returns 409. 201 when the checkout URL is already
16
- * persisted, otherwise 202 (poll GET for the URL).
13
+ * Creates a mailbox on the default domain or a connected custom domain. An
14
+ * optional `localPart` selects the address. Replaying the same Idempotency-Key
15
+ * (or, during migration, the deprecated `clientRequestId` body field) and payload
16
+ * returns the original mailbox. Poll the mailbox when a 202 response does not yet
17
+ * include a checkout URL.
17
18
  *
18
19
  * @example
19
20
  * ```ts
20
- * const mailbox = await client.mailboxes.create({
21
- * clientRequestId: 'x',
22
- * });
21
+ * const mailbox = await client.mailboxes.create();
23
22
  * ```
24
23
  */
25
- create(body: MailboxCreateParams, options?: RequestOptions): APIPromise<MailboxCreateResponse>;
24
+ create(body?: MailboxCreateParams | null | undefined, options?: RequestOptions): APIPromise<MailboxCreateResponse>;
26
25
  /**
27
26
  * Get a mailbox
28
27
  *
@@ -56,10 +55,9 @@ export declare class Mailboxes extends APIResource {
56
55
  */
57
56
  list(query?: MailboxListParams | null | undefined, options?: RequestOptions): APIPromise<MailboxListResponse>;
58
57
  /**
59
- * For paid rent, schedules end-of-cycle cancellation. For an included generation,
60
- * archives immediately and releases its package seat. This never deletes the
61
- * mailbox, its address, or its messages — the address is permanently reserved.
62
- * Idempotent.
58
+ * Cancels a pending mailbox or schedules an active paid mailbox for cancellation.
59
+ * Existing addresses and messages are retained. Repeating the request is safe. An
60
+ * external inbox (Gmail) cannot be cancelled here; disconnect the link instead.
63
61
  *
64
62
  * @example
65
63
  * ```ts
@@ -70,8 +68,7 @@ export declare class Mailboxes extends APIResource {
70
68
  */
71
69
  delete(mailboxID: string, options?: RequestOptions): APIPromise<MailboxDeleteResponse>;
72
70
  /**
73
- * Returns the authoritative number of package-funded mailbox claims currently
74
- * available after local reservations.
71
+ * Returns the number of mailboxes currently available through included capacity.
75
72
  *
76
73
  * @example
77
74
  * ```ts
@@ -80,9 +77,19 @@ export declare class Mailboxes extends APIResource {
80
77
  */
81
78
  capacity(options?: RequestOptions): APIPromise<MailboxCapacityResponse>;
82
79
  /**
83
- * Returns the highest-confidence, most recent OTP for the mailbox, restricted to
84
- * messages of completed/active paid intervals. Does not wait server-side (SDKs
85
- * poll). 200 with the best code, 204 when none matches.
80
+ * Removes only this mailbox link. The agent Composio connection stays in place.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const response = await client.mailboxes.disconnect(
85
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
86
+ * );
87
+ * ```
88
+ */
89
+ disconnect(mailboxID: string, options?: RequestOptions): APIPromise<MailboxDisconnectResponse>;
90
+ /**
91
+ * Returns the most likely recent OTP for the mailbox. Returns 204 when no matching
92
+ * code is available.
86
93
  *
87
94
  * @example
88
95
  * ```ts
@@ -93,8 +100,8 @@ export declare class Mailboxes extends APIResource {
93
100
  */
94
101
  otp(mailboxID: string, query?: MailboxOtpParams | null | undefined, options?: RequestOptions): APIPromise<MailboxOtpResponse>;
95
102
  /**
96
- * Starts a new generation on an archived mailbox, reusing the same permanent
97
- * address. Uses included capacity first unless paid rent is requested.
103
+ * Restarts an archived mailbox with the same address. Uses included capacity when
104
+ * available unless paid service is requested.
98
105
  *
99
106
  * @example
100
107
  * ```ts
@@ -105,8 +112,8 @@ export declare class Mailboxes extends APIResource {
105
112
  */
106
113
  restart(mailboxID: string, body?: MailboxRestartParams | null | undefined, options?: RequestOptions): APIPromise<MailboxRestartResponse>;
107
114
  /**
108
- * Retracts a scheduled end-of-cycle cancellation for the current generation. Only
109
- * valid while cancellation is pending.
115
+ * Withdraws a scheduled cancellation. Only available while cancellation is
116
+ * pending.
110
117
  *
111
118
  * @example
112
119
  * ```ts
@@ -124,15 +131,17 @@ export declare namespace MailboxCreateResponse {
124
131
  interface Data {
125
132
  id: string;
126
133
  address: string | null;
127
- billingMode: 'rent' | 'included';
134
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
128
135
  cancelAtPeriodEnd: boolean;
129
136
  checkoutExpiresAt: string | null;
130
137
  checkoutUrl: string | null;
131
138
  createdAt: string;
132
139
  currentPeriodEnd: string | null;
140
+ domainId: string | null;
133
141
  inboundMessages: Data.InboundMessages;
134
142
  label: string | null;
135
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
143
+ provider: 'matix' | 'gmail';
144
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
136
145
  }
137
146
  namespace Data {
138
147
  interface InboundMessages {
@@ -150,15 +159,17 @@ export declare namespace MailboxRetrieveResponse {
150
159
  interface Data {
151
160
  id: string;
152
161
  address: string | null;
153
- billingMode: 'rent' | 'included';
162
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
154
163
  cancelAtPeriodEnd: boolean;
155
164
  checkoutExpiresAt: string | null;
156
165
  checkoutUrl: string | null;
157
166
  createdAt: string;
158
167
  currentPeriodEnd: string | null;
168
+ domainId: string | null;
159
169
  inboundMessages: Data.InboundMessages;
160
170
  label: string | null;
161
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
171
+ provider: 'matix' | 'gmail';
172
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
162
173
  }
163
174
  namespace Data {
164
175
  interface InboundMessages {
@@ -176,15 +187,17 @@ export declare namespace MailboxUpdateResponse {
176
187
  interface Data {
177
188
  id: string;
178
189
  address: string | null;
179
- billingMode: 'rent' | 'included';
190
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
180
191
  cancelAtPeriodEnd: boolean;
181
192
  checkoutExpiresAt: string | null;
182
193
  checkoutUrl: string | null;
183
194
  createdAt: string;
184
195
  currentPeriodEnd: string | null;
196
+ domainId: string | null;
185
197
  inboundMessages: Data.InboundMessages;
186
198
  label: string | null;
187
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
199
+ provider: 'matix' | 'gmail';
200
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
188
201
  }
189
202
  namespace Data {
190
203
  interface InboundMessages {
@@ -203,15 +216,17 @@ export declare namespace MailboxListResponse {
203
216
  interface Item {
204
217
  id: string;
205
218
  address: string | null;
206
- billingMode: 'rent' | 'included';
219
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
207
220
  cancelAtPeriodEnd: boolean;
208
221
  checkoutExpiresAt: string | null;
209
222
  checkoutUrl: string | null;
210
223
  createdAt: string;
211
224
  currentPeriodEnd: string | null;
225
+ domainId: string | null;
212
226
  inboundMessages: Item.InboundMessages;
213
227
  label: string | null;
214
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
228
+ provider: 'matix' | 'gmail';
229
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
215
230
  }
216
231
  namespace Item {
217
232
  interface InboundMessages {
@@ -229,15 +244,17 @@ export declare namespace MailboxDeleteResponse {
229
244
  interface Data {
230
245
  id: string;
231
246
  address: string | null;
232
- billingMode: 'rent' | 'included';
247
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
233
248
  cancelAtPeriodEnd: boolean;
234
249
  checkoutExpiresAt: string | null;
235
250
  checkoutUrl: string | null;
236
251
  createdAt: string;
237
252
  currentPeriodEnd: string | null;
253
+ domainId: string | null;
238
254
  inboundMessages: Data.InboundMessages;
239
255
  label: string | null;
240
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
256
+ provider: 'matix' | 'gmail';
257
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
241
258
  }
242
259
  namespace Data {
243
260
  interface InboundMessages {
@@ -253,7 +270,38 @@ export interface MailboxCapacityResponse {
253
270
  }
254
271
  export declare namespace MailboxCapacityResponse {
255
272
  interface Data {
273
+ included: number;
256
274
  includedRemaining: number;
275
+ remaining: number;
276
+ status: 'available' | 'exhausted' | 'not_included';
277
+ }
278
+ }
279
+ export interface MailboxDisconnectResponse {
280
+ data: MailboxDisconnectResponse.Data;
281
+ }
282
+ export declare namespace MailboxDisconnectResponse {
283
+ interface Data {
284
+ id: string;
285
+ address: string | null;
286
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
287
+ cancelAtPeriodEnd: boolean;
288
+ checkoutExpiresAt: string | null;
289
+ checkoutUrl: string | null;
290
+ createdAt: string;
291
+ currentPeriodEnd: string | null;
292
+ domainId: string | null;
293
+ inboundMessages: Data.InboundMessages;
294
+ label: string | null;
295
+ provider: 'matix' | 'gmail';
296
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
297
+ }
298
+ namespace Data {
299
+ interface InboundMessages {
300
+ exhausted: boolean;
301
+ included: number;
302
+ resetsAt: string | null;
303
+ used: number;
304
+ }
257
305
  }
258
306
  }
259
307
  export interface MailboxOtpResponse {
@@ -262,7 +310,7 @@ export interface MailboxOtpResponse {
262
310
  export declare namespace MailboxOtpResponse {
263
311
  interface Data {
264
312
  /**
265
- * String to preserve leading zeros
313
+ * OTP code as text to preserve leading zeros.
266
314
  */
267
315
  code: string;
268
316
  confidence: 'high' | 'medium' | 'low';
@@ -279,15 +327,17 @@ export declare namespace MailboxRestartResponse {
279
327
  interface Data {
280
328
  id: string;
281
329
  address: string | null;
282
- billingMode: 'rent' | 'included';
330
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
283
331
  cancelAtPeriodEnd: boolean;
284
332
  checkoutExpiresAt: string | null;
285
333
  checkoutUrl: string | null;
286
334
  createdAt: string;
287
335
  currentPeriodEnd: string | null;
336
+ domainId: string | null;
288
337
  inboundMessages: Data.InboundMessages;
289
338
  label: string | null;
290
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
339
+ provider: 'matix' | 'gmail';
340
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
291
341
  }
292
342
  namespace Data {
293
343
  interface InboundMessages {
@@ -305,15 +355,17 @@ export declare namespace MailboxUncancelResponse {
305
355
  interface Data {
306
356
  id: string;
307
357
  address: string | null;
308
- billingMode: 'rent' | 'included';
358
+ billingMode: 'rent' | 'included' | 'domain' | 'external';
309
359
  cancelAtPeriodEnd: boolean;
310
360
  checkoutExpiresAt: string | null;
311
361
  checkoutUrl: string | null;
312
362
  createdAt: string;
313
363
  currentPeriodEnd: string | null;
364
+ domainId: string | null;
314
365
  inboundMessages: Data.InboundMessages;
315
366
  label: string | null;
316
- status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error';
367
+ provider: 'matix' | 'gmail';
368
+ status: 'provisioning' | 'awaiting_payment' | 'active' | 'cancel_scheduled' | 'archived' | 'billing_error' | 'pending_connection' | 'connection_expired' | 'connection_removed';
317
369
  }
318
370
  namespace Data {
319
371
  interface InboundMessages {
@@ -325,17 +377,20 @@ export declare namespace MailboxUncancelResponse {
325
377
  }
326
378
  }
327
379
  export interface MailboxCreateParams {
328
- clientRequestId: string;
329
380
  /**
330
- * Funding preference. Omit or use included for included-first activation; rent
331
- * always preserves package capacity and starts paid checkout.
381
+ * included uses package capacity when available and otherwise starts paid
382
+ * checkout; included_only fails without creating a paid reservation when no
383
+ * included slot remains; rent always starts paid checkout.
384
+ */
385
+ billingPreference?: 'included' | 'included_only' | 'rent';
386
+ /**
387
+ * Optional active custom mailbox domain owned by the caller. Omit to use the
388
+ * system domain.
332
389
  */
333
- billingPreference?: 'included' | 'rent';
390
+ domainId?: string;
334
391
  label?: string;
335
392
  /**
336
- * Optional full mailbox local part (the address before "@"). Trimmed and
337
- * lowercased before validation. Omit for a random, non-guessable mx\_-prefixed
338
- * address.
393
+ * Optional mailbox name before the "@". Omit to generate a random address.
339
394
  */
340
395
  localPart?: string;
341
396
  }
@@ -354,13 +409,15 @@ export interface MailboxOtpParams {
354
409
  }
355
410
  export interface MailboxRestartParams {
356
411
  /**
357
- * Funding preference. Omit or use included for included-first activation; rent
358
- * always preserves package capacity and starts paid checkout.
412
+ * included uses package capacity when available and otherwise starts paid
413
+ * checkout; included_only fails without creating a paid reservation when no
414
+ * included slot remains; rent always starts paid checkout.
359
415
  */
360
- billingPreference?: 'included' | 'rent';
416
+ billingPreference?: 'included' | 'included_only' | 'rent';
361
417
  }
362
418
  export declare namespace Mailboxes {
363
- export { type MailboxCreateResponse as MailboxCreateResponse, type MailboxRetrieveResponse as MailboxRetrieveResponse, type MailboxUpdateResponse as MailboxUpdateResponse, type MailboxListResponse as MailboxListResponse, type MailboxDeleteResponse as MailboxDeleteResponse, type MailboxCapacityResponse as MailboxCapacityResponse, type MailboxOtpResponse as MailboxOtpResponse, type MailboxRestartResponse as MailboxRestartResponse, type MailboxUncancelResponse as MailboxUncancelResponse, type MailboxCreateParams as MailboxCreateParams, type MailboxUpdateParams as MailboxUpdateParams, type MailboxListParams as MailboxListParams, type MailboxOtpParams as MailboxOtpParams, type MailboxRestartParams as MailboxRestartParams, };
419
+ export { type MailboxCreateResponse as MailboxCreateResponse, type MailboxRetrieveResponse as MailboxRetrieveResponse, type MailboxUpdateResponse as MailboxUpdateResponse, type MailboxListResponse as MailboxListResponse, type MailboxDeleteResponse as MailboxDeleteResponse, type MailboxCapacityResponse as MailboxCapacityResponse, type MailboxDisconnectResponse as MailboxDisconnectResponse, type MailboxOtpResponse as MailboxOtpResponse, type MailboxRestartResponse as MailboxRestartResponse, type MailboxUncancelResponse as MailboxUncancelResponse, type MailboxCreateParams as MailboxCreateParams, type MailboxUpdateParams as MailboxUpdateParams, type MailboxListParams as MailboxListParams, type MailboxOtpParams as MailboxOtpParams, type MailboxRestartParams as MailboxRestartParams, };
420
+ export { Connections as Connections, type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionRetrieveResponse as ConnectionRetrieveResponse, type ConnectionCreateParams as ConnectionCreateParams, };
364
421
  export { Messages as Messages, type MessageRetrieveResponse as MessageRetrieveResponse, type MessageListResponse as MessageListResponse, type MessageRetrieveParams as MessageRetrieveParams, type MessageListParams as MessageListParams, };
365
422
  }
366
423
  //# sourceMappingURL=mailboxes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mailboxes.d.ts","sourceRoot":"","sources":["../../src/resources/mailboxes/mailboxes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,QAAQ,EACT,sBAAmB;AACpB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,SAAU,SAAQ,WAAW;IACxC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;;;;;;;;;OAUG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAItF;;;;;;;;OAQ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,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -4,31 +4,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Mailboxes = void 0;
5
5
  const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
+ const ConnectionsAPI = tslib_1.__importStar(require("./connections.js"));
8
+ const connections_1 = require("./connections.js");
7
9
  const MessagesAPI = tslib_1.__importStar(require("./messages.js"));
8
10
  const messages_1 = require("./messages.js");
9
11
  const path_1 = require("../../internal/utils/path.js");
10
12
  class Mailboxes extends resource_1.APIResource {
11
13
  constructor() {
12
14
  super(...arguments);
15
+ this.connections = new ConnectionsAPI.Connections(this._client);
13
16
  this.messages = new MessagesAPI.Messages(this._client);
14
17
  }
15
18
  /**
16
- * Reserves a permanently-allocated, individually-rented mailbox and starts an
17
- * Autumn rental checkout. An optional localPart selects the full address local
18
- * part; omitting it keeps the default random, non-guessable mx\_-prefixed address.
19
- * The address is withheld until the first payment is confirmed. Idempotent on
20
- * (owner, clientRequestId): same key + payload replays (200); a conflicting or
21
- * already-held local part returns 409. 201 when the checkout URL is already
22
- * persisted, otherwise 202 (poll GET for the URL).
19
+ * Creates a mailbox on the default domain or a connected custom domain. An
20
+ * optional `localPart` selects the address. Replaying the same Idempotency-Key
21
+ * (or, during migration, the deprecated `clientRequestId` body field) and payload
22
+ * returns the original mailbox. Poll the mailbox when a 202 response does not yet
23
+ * include a checkout URL.
23
24
  *
24
25
  * @example
25
26
  * ```ts
26
- * const mailbox = await client.mailboxes.create({
27
- * clientRequestId: 'x',
28
- * });
27
+ * const mailbox = await client.mailboxes.create();
29
28
  * ```
30
29
  */
31
- create(body, options) {
30
+ create(body = {}, options) {
32
31
  return this._client.post('/mailboxes', { body, ...options });
33
32
  }
34
33
  /**
@@ -70,10 +69,9 @@ class Mailboxes extends resource_1.APIResource {
70
69
  return this._client.get('/mailboxes', { query, ...options });
71
70
  }
72
71
  /**
73
- * For paid rent, schedules end-of-cycle cancellation. For an included generation,
74
- * archives immediately and releases its package seat. This never deletes the
75
- * mailbox, its address, or its messages — the address is permanently reserved.
76
- * Idempotent.
72
+ * Cancels a pending mailbox or schedules an active paid mailbox for cancellation.
73
+ * Existing addresses and messages are retained. Repeating the request is safe. An
74
+ * external inbox (Gmail) cannot be cancelled here; disconnect the link instead.
77
75
  *
78
76
  * @example
79
77
  * ```ts
@@ -86,8 +84,7 @@ class Mailboxes extends resource_1.APIResource {
86
84
  return this._client.delete((0, path_1.path) `/mailboxes/${mailboxID}`, options);
87
85
  }
88
86
  /**
89
- * Returns the authoritative number of package-funded mailbox claims currently
90
- * available after local reservations.
87
+ * Returns the number of mailboxes currently available through included capacity.
91
88
  *
92
89
  * @example
93
90
  * ```ts
@@ -98,9 +95,21 @@ class Mailboxes extends resource_1.APIResource {
98
95
  return this._client.get('/mailboxes/capacity', options);
99
96
  }
100
97
  /**
101
- * Returns the highest-confidence, most recent OTP for the mailbox, restricted to
102
- * messages of completed/active paid intervals. Does not wait server-side (SDKs
103
- * poll). 200 with the best code, 204 when none matches.
98
+ * Removes only this mailbox link. The agent Composio connection stays in place.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const response = await client.mailboxes.disconnect(
103
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
104
+ * );
105
+ * ```
106
+ */
107
+ disconnect(mailboxID, options) {
108
+ return this._client.post((0, path_1.path) `/mailboxes/${mailboxID}/disconnect`, options);
109
+ }
110
+ /**
111
+ * Returns the most likely recent OTP for the mailbox. Returns 204 when no matching
112
+ * code is available.
104
113
  *
105
114
  * @example
106
115
  * ```ts
@@ -113,8 +122,8 @@ class Mailboxes extends resource_1.APIResource {
113
122
  return this._client.get((0, path_1.path) `/mailboxes/${mailboxID}/otp`, { query, ...options });
114
123
  }
115
124
  /**
116
- * Starts a new generation on an archived mailbox, reusing the same permanent
117
- * address. Uses included capacity first unless paid rent is requested.
125
+ * Restarts an archived mailbox with the same address. Uses included capacity when
126
+ * available unless paid service is requested.
118
127
  *
119
128
  * @example
120
129
  * ```ts
@@ -127,8 +136,8 @@ class Mailboxes extends resource_1.APIResource {
127
136
  return this._client.post((0, path_1.path) `/mailboxes/${mailboxID}/restart`, { body, ...options });
128
137
  }
129
138
  /**
130
- * Retracts a scheduled end-of-cycle cancellation for the current generation. Only
131
- * valid while cancellation is pending.
139
+ * Withdraws a scheduled cancellation. Only available while cancellation is
140
+ * pending.
132
141
  *
133
142
  * @example
134
143
  * ```ts
@@ -142,5 +151,6 @@ class Mailboxes extends resource_1.APIResource {
142
151
  }
143
152
  }
144
153
  exports.Mailboxes = Mailboxes;
154
+ Mailboxes.Connections = connections_1.Connections;
145
155
  Mailboxes.Messages = messages_1.Messages;
146
156
  //# sourceMappingURL=mailboxes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mailboxes.js","sourceRoot":"","sources":["../../src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,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CACD,SAAiB,EACjB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CACL,SAAiB,EACjB,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,cAAc,SAAS,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,cAAc,SAAS,WAAW,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AArKD,8BAqKC;AAshBD,SAAS,CAAC,WAAW,GAAG,yBAAW,CAAC;AACpC,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
@@ -1,30 +1,29 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
+ import * as ConnectionsAPI from "./connections.mjs";
4
+ import { Connections, } from "./connections.mjs";
3
5
  import * as MessagesAPI from "./messages.mjs";
4
6
  import { Messages, } from "./messages.mjs";
5
7
  import { path } from "../../internal/utils/path.mjs";
6
8
  export class Mailboxes extends APIResource {
7
9
  constructor() {
8
10
  super(...arguments);
11
+ this.connections = new ConnectionsAPI.Connections(this._client);
9
12
  this.messages = new MessagesAPI.Messages(this._client);
10
13
  }
11
14
  /**
12
- * Reserves a permanently-allocated, individually-rented mailbox and starts an
13
- * Autumn rental checkout. An optional localPart selects the full address local
14
- * part; omitting it keeps the default random, non-guessable mx\_-prefixed address.
15
- * The address is withheld until the first payment is confirmed. Idempotent on
16
- * (owner, clientRequestId): same key + payload replays (200); a conflicting or
17
- * already-held local part returns 409. 201 when the checkout URL is already
18
- * persisted, otherwise 202 (poll GET for the URL).
15
+ * Creates a mailbox on the default domain or a connected custom domain. An
16
+ * optional `localPart` selects the address. Replaying the same Idempotency-Key
17
+ * (or, during migration, the deprecated `clientRequestId` body field) and payload
18
+ * returns the original mailbox. Poll the mailbox when a 202 response does not yet
19
+ * include a checkout URL.
19
20
  *
20
21
  * @example
21
22
  * ```ts
22
- * const mailbox = await client.mailboxes.create({
23
- * clientRequestId: 'x',
24
- * });
23
+ * const mailbox = await client.mailboxes.create();
25
24
  * ```
26
25
  */
27
- create(body, options) {
26
+ create(body = {}, options) {
28
27
  return this._client.post('/mailboxes', { body, ...options });
29
28
  }
30
29
  /**
@@ -66,10 +65,9 @@ export class Mailboxes extends APIResource {
66
65
  return this._client.get('/mailboxes', { query, ...options });
67
66
  }
68
67
  /**
69
- * For paid rent, schedules end-of-cycle cancellation. For an included generation,
70
- * archives immediately and releases its package seat. This never deletes the
71
- * mailbox, its address, or its messages — the address is permanently reserved.
72
- * Idempotent.
68
+ * Cancels a pending mailbox or schedules an active paid mailbox for cancellation.
69
+ * Existing addresses and messages are retained. Repeating the request is safe. An
70
+ * external inbox (Gmail) cannot be cancelled here; disconnect the link instead.
73
71
  *
74
72
  * @example
75
73
  * ```ts
@@ -82,8 +80,7 @@ export class Mailboxes extends APIResource {
82
80
  return this._client.delete(path `/mailboxes/${mailboxID}`, options);
83
81
  }
84
82
  /**
85
- * Returns the authoritative number of package-funded mailbox claims currently
86
- * available after local reservations.
83
+ * Returns the number of mailboxes currently available through included capacity.
87
84
  *
88
85
  * @example
89
86
  * ```ts
@@ -94,9 +91,21 @@ export class Mailboxes extends APIResource {
94
91
  return this._client.get('/mailboxes/capacity', options);
95
92
  }
96
93
  /**
97
- * Returns the highest-confidence, most recent OTP for the mailbox, restricted to
98
- * messages of completed/active paid intervals. Does not wait server-side (SDKs
99
- * poll). 200 with the best code, 204 when none matches.
94
+ * Removes only this mailbox link. The agent Composio connection stays in place.
95
+ *
96
+ * @example
97
+ * ```ts
98
+ * const response = await client.mailboxes.disconnect(
99
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
100
+ * );
101
+ * ```
102
+ */
103
+ disconnect(mailboxID, options) {
104
+ return this._client.post(path `/mailboxes/${mailboxID}/disconnect`, options);
105
+ }
106
+ /**
107
+ * Returns the most likely recent OTP for the mailbox. Returns 204 when no matching
108
+ * code is available.
100
109
  *
101
110
  * @example
102
111
  * ```ts
@@ -109,8 +118,8 @@ export class Mailboxes extends APIResource {
109
118
  return this._client.get(path `/mailboxes/${mailboxID}/otp`, { query, ...options });
110
119
  }
111
120
  /**
112
- * Starts a new generation on an archived mailbox, reusing the same permanent
113
- * address. Uses included capacity first unless paid rent is requested.
121
+ * Restarts an archived mailbox with the same address. Uses included capacity when
122
+ * available unless paid service is requested.
114
123
  *
115
124
  * @example
116
125
  * ```ts
@@ -123,8 +132,8 @@ export class Mailboxes extends APIResource {
123
132
  return this._client.post(path `/mailboxes/${mailboxID}/restart`, { body, ...options });
124
133
  }
125
134
  /**
126
- * Retracts a scheduled end-of-cycle cancellation for the current generation. Only
127
- * valid while cancellation is pending.
135
+ * Withdraws a scheduled cancellation. Only available while cancellation is
136
+ * pending.
128
137
  *
129
138
  * @example
130
139
  * ```ts
@@ -137,5 +146,6 @@ export class Mailboxes extends APIResource {
137
146
  return this._client.post(path `/mailboxes/${mailboxID}/uncancel`, options);
138
147
  }
139
148
  }
149
+ Mailboxes.Connections = Connections;
140
150
  Mailboxes.Messages = Messages;
141
151
  //# sourceMappingURL=mailboxes.mjs.map