@mobilerun/sdk 5.2.0 → 5.3.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 (671) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +15 -12
  3. package/client.d.mts +36 -15
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +36 -15
  6. package/client.d.ts.map +1 -1
  7. package/client.js +24 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +24 -3
  10. package/client.mjs.map +1 -1
  11. package/core/streaming.d.mts +33 -0
  12. package/core/streaming.d.mts.map +1 -0
  13. package/core/streaming.d.ts +33 -0
  14. package/core/streaming.d.ts.map +1 -0
  15. package/core/streaming.js +263 -0
  16. package/core/streaming.js.map +1 -0
  17. package/core/streaming.mjs +258 -0
  18. package/core/streaming.mjs.map +1 -0
  19. package/internal/decoders/line.d.mts +17 -0
  20. package/internal/decoders/line.d.mts.map +1 -0
  21. package/internal/decoders/line.d.ts +17 -0
  22. package/internal/decoders/line.d.ts.map +1 -0
  23. package/internal/decoders/line.js +113 -0
  24. package/internal/decoders/line.js.map +1 -0
  25. package/internal/decoders/line.mjs +108 -0
  26. package/internal/decoders/line.mjs.map +1 -0
  27. package/internal/parse.d.mts.map +1 -1
  28. package/internal/parse.d.ts.map +1 -1
  29. package/internal/parse.js +10 -0
  30. package/internal/parse.js.map +1 -1
  31. package/internal/parse.mjs +10 -0
  32. package/internal/parse.mjs.map +1 -1
  33. package/internal/request-options.d.mts +2 -0
  34. package/internal/request-options.d.mts.map +1 -1
  35. package/internal/request-options.d.ts +2 -0
  36. package/internal/request-options.d.ts.map +1 -1
  37. package/internal/request-options.js.map +1 -1
  38. package/internal/request-options.mjs.map +1 -1
  39. package/internal/tslib.js +18 -18
  40. package/package.json +12 -2
  41. package/resources/app-events/app-events.d.mts +81 -0
  42. package/resources/app-events/app-events.d.mts.map +1 -0
  43. package/resources/app-events/app-events.d.ts +81 -0
  44. package/resources/app-events/app-events.d.ts.map +1 -0
  45. package/resources/app-events/app-events.js +33 -0
  46. package/resources/app-events/app-events.js.map +1 -0
  47. package/resources/app-events/app-events.mjs +28 -0
  48. package/resources/app-events/app-events.mjs.map +1 -0
  49. package/resources/app-events/catalog.d.mts +64 -0
  50. package/resources/app-events/catalog.d.mts.map +1 -0
  51. package/resources/app-events/catalog.d.ts +64 -0
  52. package/resources/app-events/catalog.d.ts.map +1 -0
  53. package/resources/app-events/catalog.js +25 -0
  54. package/resources/app-events/catalog.js.map +1 -0
  55. package/resources/app-events/catalog.mjs +21 -0
  56. package/resources/app-events/catalog.mjs.map +1 -0
  57. package/resources/app-events/index.d.mts +3 -0
  58. package/resources/app-events/index.d.mts.map +1 -0
  59. package/resources/app-events/index.d.ts +3 -0
  60. package/resources/app-events/index.d.ts.map +1 -0
  61. package/resources/{workflows/events → app-events}/index.js +3 -3
  62. package/resources/app-events/index.js.map +1 -0
  63. package/resources/{workflows/events → app-events}/index.mjs +1 -1
  64. package/resources/app-events/index.mjs.map +1 -0
  65. package/resources/app-events.d.mts +2 -0
  66. package/resources/app-events.d.mts.map +1 -0
  67. package/resources/app-events.d.ts +2 -0
  68. package/resources/app-events.d.ts.map +1 -0
  69. package/resources/app-events.js +6 -0
  70. package/resources/app-events.js.map +1 -0
  71. package/resources/app-events.mjs +3 -0
  72. package/resources/app-events.mjs.map +1 -0
  73. package/resources/apps.d.mts +34 -3
  74. package/resources/apps.d.mts.map +1 -1
  75. package/resources/apps.d.ts +34 -3
  76. package/resources/apps.d.ts.map +1 -1
  77. package/resources/apps.js +12 -0
  78. package/resources/apps.js.map +1 -1
  79. package/resources/apps.mjs +12 -0
  80. package/resources/apps.mjs.map +1 -1
  81. package/resources/assistant/assistant.d.mts +10 -0
  82. package/resources/assistant/assistant.d.mts.map +1 -0
  83. package/resources/assistant/assistant.d.ts +10 -0
  84. package/resources/assistant/assistant.d.ts.map +1 -0
  85. package/resources/assistant/assistant.js +17 -0
  86. package/resources/assistant/assistant.js.map +1 -0
  87. package/resources/assistant/assistant.mjs +12 -0
  88. package/resources/assistant/assistant.mjs.map +1 -0
  89. package/resources/assistant/conversations.d.mts +295 -0
  90. package/resources/assistant/conversations.d.mts.map +1 -0
  91. package/resources/assistant/conversations.d.ts +295 -0
  92. package/resources/assistant/conversations.d.ts.map +1 -0
  93. package/resources/assistant/conversations.js +109 -0
  94. package/resources/assistant/conversations.js.map +1 -0
  95. package/resources/assistant/conversations.mjs +105 -0
  96. package/resources/assistant/conversations.mjs.map +1 -0
  97. package/resources/assistant/index.d.mts +3 -0
  98. package/resources/assistant/index.d.mts.map +1 -0
  99. package/resources/assistant/index.d.ts +3 -0
  100. package/resources/assistant/index.d.ts.map +1 -0
  101. package/resources/assistant/index.js +9 -0
  102. package/resources/assistant/index.js.map +1 -0
  103. package/resources/assistant/index.mjs +4 -0
  104. package/resources/assistant/index.mjs.map +1 -0
  105. package/resources/assistant.d.mts +2 -0
  106. package/resources/assistant.d.mts.map +1 -0
  107. package/resources/assistant.d.ts +2 -0
  108. package/resources/assistant.d.ts.map +1 -0
  109. package/resources/assistant.js +6 -0
  110. package/resources/assistant.js.map +1 -0
  111. package/resources/assistant.mjs +3 -0
  112. package/resources/assistant.mjs.map +1 -0
  113. package/resources/credentials/credentials.d.mts +24 -4
  114. package/resources/credentials/credentials.d.mts.map +1 -1
  115. package/resources/credentials/credentials.d.ts +24 -4
  116. package/resources/credentials/credentials.d.ts.map +1 -1
  117. package/resources/credentials/credentials.js.map +1 -1
  118. package/resources/credentials/credentials.mjs.map +1 -1
  119. package/resources/credentials/index.d.mts +1 -1
  120. package/resources/credentials/index.d.mts.map +1 -1
  121. package/resources/credentials/index.d.ts +1 -1
  122. package/resources/credentials/index.d.ts.map +1 -1
  123. package/resources/credentials/index.js.map +1 -1
  124. package/resources/credentials/index.mjs.map +1 -1
  125. package/resources/credentials/packages/credentials/credentials.d.mts +67 -23
  126. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  127. package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
  128. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  129. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  130. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  131. package/resources/credentials/packages/credentials/fields.d.mts +66 -4
  132. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  133. package/resources/credentials/packages/credentials/fields.d.ts +66 -4
  134. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  135. package/resources/credentials/packages/credentials/fields.js.map +1 -1
  136. package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
  137. package/resources/credentials/packages/credentials/index.d.mts +1 -1
  138. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  139. package/resources/credentials/packages/credentials/index.d.ts +1 -1
  140. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  141. package/resources/credentials/packages/credentials/index.js.map +1 -1
  142. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  143. package/resources/credentials/packages/index.d.mts +2 -2
  144. package/resources/credentials/packages/index.d.mts.map +1 -1
  145. package/resources/credentials/packages/index.d.ts +2 -2
  146. package/resources/credentials/packages/index.d.ts.map +1 -1
  147. package/resources/credentials/packages/index.js.map +1 -1
  148. package/resources/credentials/packages/index.mjs.map +1 -1
  149. package/resources/credentials/packages/packages.d.mts +39 -4
  150. package/resources/credentials/packages/packages.d.mts.map +1 -1
  151. package/resources/credentials/packages/packages.d.ts +39 -4
  152. package/resources/credentials/packages/packages.d.ts.map +1 -1
  153. package/resources/credentials/packages/packages.js +8 -0
  154. package/resources/credentials/packages/packages.js.map +1 -1
  155. package/resources/credentials/packages/packages.mjs +8 -0
  156. package/resources/credentials/packages/packages.mjs.map +1 -1
  157. package/resources/devices/apps.d.mts +81 -1
  158. package/resources/devices/apps.d.mts.map +1 -1
  159. package/resources/devices/apps.d.ts +81 -1
  160. package/resources/devices/apps.d.ts.map +1 -1
  161. package/resources/devices/apps.js +59 -0
  162. package/resources/devices/apps.js.map +1 -1
  163. package/resources/devices/apps.mjs +59 -0
  164. package/resources/devices/apps.mjs.map +1 -1
  165. package/resources/devices/browser.d.mts +41 -0
  166. package/resources/devices/browser.d.mts.map +1 -0
  167. package/resources/devices/browser.d.ts +41 -0
  168. package/resources/devices/browser.d.ts.map +1 -0
  169. package/resources/devices/browser.js +31 -0
  170. package/resources/devices/browser.js.map +1 -0
  171. package/resources/devices/browser.mjs +27 -0
  172. package/resources/devices/browser.mjs.map +1 -0
  173. package/resources/devices/clipboard.d.mts +40 -0
  174. package/resources/devices/clipboard.d.mts.map +1 -0
  175. package/resources/devices/clipboard.d.ts +40 -0
  176. package/resources/devices/clipboard.d.ts.map +1 -0
  177. package/resources/devices/clipboard.js +50 -0
  178. package/resources/devices/clipboard.js.map +1 -0
  179. package/resources/devices/clipboard.mjs +46 -0
  180. package/resources/devices/clipboard.mjs.map +1 -0
  181. package/resources/devices/deep-link.d.mts +41 -0
  182. package/resources/devices/deep-link.d.mts.map +1 -0
  183. package/resources/devices/deep-link.d.ts +41 -0
  184. package/resources/devices/deep-link.d.ts.map +1 -0
  185. package/resources/devices/deep-link.js +33 -0
  186. package/resources/devices/deep-link.js.map +1 -0
  187. package/resources/devices/deep-link.mjs +29 -0
  188. package/resources/devices/deep-link.mjs.map +1 -0
  189. package/resources/devices/devices.d.mts +214 -19
  190. package/resources/devices/devices.d.mts.map +1 -1
  191. package/resources/devices/devices.d.ts +214 -19
  192. package/resources/devices/devices.d.ts.map +1 -1
  193. package/resources/devices/devices.js +59 -2
  194. package/resources/devices/devices.js.map +1 -1
  195. package/resources/devices/devices.mjs +59 -2
  196. package/resources/devices/devices.mjs.map +1 -1
  197. package/resources/devices/esim/apn.d.mts +95 -0
  198. package/resources/devices/esim/apn.d.mts.map +1 -0
  199. package/resources/devices/esim/apn.d.ts +95 -0
  200. package/resources/devices/esim/apn.d.ts.map +1 -0
  201. package/resources/devices/esim/apn.js +70 -0
  202. package/resources/devices/esim/apn.js.map +1 -0
  203. package/resources/devices/esim/apn.mjs +66 -0
  204. package/resources/devices/esim/apn.mjs.map +1 -0
  205. package/resources/devices/esim/esim.d.mts +144 -0
  206. package/resources/devices/esim/esim.d.mts.map +1 -0
  207. package/resources/devices/esim/esim.d.ts +144 -0
  208. package/resources/devices/esim/esim.d.ts.map +1 -0
  209. package/resources/devices/esim/esim.js +131 -0
  210. package/resources/devices/esim/esim.js.map +1 -0
  211. package/resources/devices/esim/esim.mjs +126 -0
  212. package/resources/devices/esim/esim.mjs.map +1 -0
  213. package/resources/devices/esim/index.d.mts +3 -0
  214. package/resources/devices/esim/index.d.mts.map +1 -0
  215. package/resources/devices/esim/index.d.ts +3 -0
  216. package/resources/devices/esim/index.d.ts.map +1 -0
  217. package/resources/devices/esim/index.js +9 -0
  218. package/resources/devices/esim/index.js.map +1 -0
  219. package/resources/devices/esim/index.mjs +4 -0
  220. package/resources/devices/esim/index.mjs.map +1 -0
  221. package/resources/devices/esim.d.mts +1 -102
  222. package/resources/devices/esim.d.mts.map +1 -1
  223. package/resources/devices/esim.d.ts +1 -102
  224. package/resources/devices/esim.d.ts.map +1 -1
  225. package/resources/devices/esim.js +2 -82
  226. package/resources/devices/esim.js.map +1 -1
  227. package/resources/devices/esim.mjs +1 -80
  228. package/resources/devices/esim.mjs.map +1 -1
  229. package/resources/devices/files.d.mts +31 -29
  230. package/resources/devices/files.d.mts.map +1 -1
  231. package/resources/devices/files.d.ts +31 -29
  232. package/resources/devices/files.d.ts.map +1 -1
  233. package/resources/devices/index.d.mts +12 -6
  234. package/resources/devices/index.d.mts.map +1 -1
  235. package/resources/devices/index.d.ts +12 -6
  236. package/resources/devices/index.d.ts.map +1 -1
  237. package/resources/devices/index.js +15 -3
  238. package/resources/devices/index.js.map +1 -1
  239. package/resources/devices/index.mjs +8 -2
  240. package/resources/devices/index.mjs.map +1 -1
  241. package/resources/devices/kiosk.d.mts +32 -0
  242. package/resources/devices/kiosk.d.mts.map +1 -0
  243. package/resources/devices/kiosk.d.ts +32 -0
  244. package/resources/devices/kiosk.d.ts.map +1 -0
  245. package/resources/devices/kiosk.js +50 -0
  246. package/resources/devices/kiosk.js.map +1 -0
  247. package/resources/devices/kiosk.mjs +46 -0
  248. package/resources/devices/kiosk.mjs.map +1 -0
  249. package/resources/devices/location.d.mts +9 -1
  250. package/resources/devices/location.d.mts.map +1 -1
  251. package/resources/devices/location.d.ts +9 -1
  252. package/resources/devices/location.d.ts.map +1 -1
  253. package/resources/devices/location.js +19 -0
  254. package/resources/devices/location.js.map +1 -1
  255. package/resources/devices/location.mjs +19 -0
  256. package/resources/devices/location.mjs.map +1 -1
  257. package/resources/devices/media-sessions.d.mts +96 -0
  258. package/resources/devices/media-sessions.d.mts.map +1 -0
  259. package/resources/devices/media-sessions.d.ts +96 -0
  260. package/resources/devices/media-sessions.d.ts.map +1 -0
  261. package/resources/devices/media-sessions.js +50 -0
  262. package/resources/devices/media-sessions.js.map +1 -0
  263. package/resources/devices/media-sessions.mjs +46 -0
  264. package/resources/devices/media-sessions.mjs.map +1 -0
  265. package/resources/devices/recordings.d.mts +192 -0
  266. package/resources/devices/recordings.d.mts.map +1 -0
  267. package/resources/devices/recordings.d.ts +192 -0
  268. package/resources/devices/recordings.d.ts.map +1 -0
  269. package/resources/devices/recordings.js +67 -0
  270. package/resources/devices/recordings.js.map +1 -0
  271. package/resources/devices/recordings.mjs +63 -0
  272. package/resources/devices/recordings.mjs.map +1 -0
  273. package/resources/devices/state.d.mts +6 -7
  274. package/resources/devices/state.d.mts.map +1 -1
  275. package/resources/devices/state.d.ts +6 -7
  276. package/resources/devices/state.d.ts.map +1 -1
  277. package/resources/devices/state.js.map +1 -1
  278. package/resources/devices/state.mjs.map +1 -1
  279. package/resources/devices/tasks.d.mts +8 -2
  280. package/resources/devices/tasks.d.mts.map +1 -1
  281. package/resources/devices/tasks.d.ts +8 -2
  282. package/resources/devices/tasks.d.ts.map +1 -1
  283. package/resources/devices/tasks.js.map +1 -1
  284. package/resources/devices/tasks.mjs.map +1 -1
  285. package/resources/esims/esims.d.mts +566 -0
  286. package/resources/esims/esims.d.mts.map +1 -0
  287. package/resources/esims/esims.d.ts +566 -0
  288. package/resources/esims/esims.d.ts.map +1 -0
  289. package/resources/esims/esims.js +205 -0
  290. package/resources/esims/esims.js.map +1 -0
  291. package/resources/esims/esims.mjs +200 -0
  292. package/resources/esims/esims.mjs.map +1 -0
  293. package/resources/esims/index.d.mts +3 -0
  294. package/resources/esims/index.d.mts.map +1 -0
  295. package/resources/esims/index.d.ts +3 -0
  296. package/resources/esims/index.d.ts.map +1 -0
  297. package/resources/esims/index.js +9 -0
  298. package/resources/esims/index.js.map +1 -0
  299. package/resources/esims/index.mjs +4 -0
  300. package/resources/esims/index.mjs.map +1 -0
  301. package/resources/esims/messages.d.mts +106 -0
  302. package/resources/esims/messages.d.mts.map +1 -0
  303. package/resources/esims/messages.d.ts +106 -0
  304. package/resources/esims/messages.d.ts.map +1 -0
  305. package/resources/esims/messages.js +37 -0
  306. package/resources/esims/messages.js.map +1 -0
  307. package/resources/esims/messages.mjs +33 -0
  308. package/resources/esims/messages.mjs.map +1 -0
  309. package/resources/esims.d.mts +2 -0
  310. package/resources/esims.d.mts.map +1 -0
  311. package/resources/esims.d.ts +2 -0
  312. package/resources/esims.d.ts.map +1 -0
  313. package/resources/esims.js +6 -0
  314. package/resources/esims.js.map +1 -0
  315. package/resources/esims.mjs +3 -0
  316. package/resources/esims.mjs.map +1 -0
  317. package/resources/files.d.mts +126 -0
  318. package/resources/files.d.mts.map +1 -0
  319. package/resources/files.d.ts +126 -0
  320. package/resources/files.d.ts.map +1 -0
  321. package/resources/files.js +68 -0
  322. package/resources/files.js.map +1 -0
  323. package/resources/files.mjs +64 -0
  324. package/resources/files.mjs.map +1 -0
  325. package/resources/index.d.mts +13 -6
  326. package/resources/index.d.mts.map +1 -1
  327. package/resources/index.d.ts +13 -6
  328. package/resources/index.d.ts.map +1 -1
  329. package/resources/index.js +17 -3
  330. package/resources/index.js.map +1 -1
  331. package/resources/index.mjs +8 -1
  332. package/resources/index.mjs.map +1 -1
  333. package/resources/messages/conversations.d.mts +82 -0
  334. package/resources/messages/conversations.d.mts.map +1 -0
  335. package/resources/messages/conversations.d.ts +82 -0
  336. package/resources/messages/conversations.d.ts.map +1 -0
  337. package/resources/messages/conversations.js +34 -0
  338. package/resources/messages/conversations.js.map +1 -0
  339. package/resources/messages/conversations.mjs +30 -0
  340. package/resources/messages/conversations.mjs.map +1 -0
  341. package/resources/messages/index.d.mts +3 -0
  342. package/resources/messages/index.d.mts.map +1 -0
  343. package/resources/messages/index.d.ts +3 -0
  344. package/resources/messages/index.d.ts.map +1 -0
  345. package/resources/messages/index.js +9 -0
  346. package/resources/messages/index.js.map +1 -0
  347. package/resources/messages/index.mjs +4 -0
  348. package/resources/messages/index.mjs.map +1 -0
  349. package/resources/messages/messages.d.mts +51 -0
  350. package/resources/messages/messages.d.mts.map +1 -0
  351. package/resources/messages/messages.d.ts +51 -0
  352. package/resources/messages/messages.d.ts.map +1 -0
  353. package/resources/messages/messages.js +26 -0
  354. package/resources/messages/messages.js.map +1 -0
  355. package/resources/messages/messages.mjs +21 -0
  356. package/resources/messages/messages.mjs.map +1 -0
  357. package/resources/messages.d.mts +2 -0
  358. package/resources/messages.d.mts.map +1 -0
  359. package/resources/messages.d.ts +2 -0
  360. package/resources/messages.d.ts.map +1 -0
  361. package/resources/messages.js +6 -0
  362. package/resources/messages.js.map +1 -0
  363. package/resources/messages.mjs +3 -0
  364. package/resources/messages.mjs.map +1 -0
  365. package/resources/models.d.mts +20 -5
  366. package/resources/models.d.mts.map +1 -1
  367. package/resources/models.d.ts +20 -5
  368. package/resources/models.d.ts.map +1 -1
  369. package/resources/models.js +1 -1
  370. package/resources/models.mjs +1 -1
  371. package/resources/notifications.d.mts +86 -0
  372. package/resources/notifications.d.mts.map +1 -0
  373. package/resources/notifications.d.ts +86 -0
  374. package/resources/notifications.d.ts.map +1 -0
  375. package/resources/notifications.js +55 -0
  376. package/resources/notifications.js.map +1 -0
  377. package/resources/notifications.mjs +51 -0
  378. package/resources/notifications.mjs.map +1 -0
  379. package/resources/numbers/index.d.mts +3 -0
  380. package/resources/numbers/index.d.mts.map +1 -0
  381. package/resources/numbers/index.d.ts +3 -0
  382. package/resources/numbers/index.d.ts.map +1 -0
  383. package/resources/numbers/index.js +9 -0
  384. package/resources/numbers/index.js.map +1 -0
  385. package/resources/numbers/index.mjs +4 -0
  386. package/resources/numbers/index.mjs.map +1 -0
  387. package/resources/numbers/messages.d.mts +48 -0
  388. package/resources/numbers/messages.d.mts.map +1 -0
  389. package/resources/numbers/messages.d.ts +48 -0
  390. package/resources/numbers/messages.d.ts.map +1 -0
  391. package/resources/numbers/messages.js +25 -0
  392. package/resources/numbers/messages.js.map +1 -0
  393. package/resources/numbers/messages.mjs +21 -0
  394. package/resources/numbers/messages.mjs.map +1 -0
  395. package/resources/numbers/numbers.d.mts +270 -0
  396. package/resources/numbers/numbers.d.mts.map +1 -0
  397. package/resources/numbers/numbers.d.ts +270 -0
  398. package/resources/numbers/numbers.d.ts.map +1 -0
  399. package/resources/numbers/numbers.js +134 -0
  400. package/resources/numbers/numbers.js.map +1 -0
  401. package/resources/numbers/numbers.mjs +129 -0
  402. package/resources/numbers/numbers.mjs.map +1 -0
  403. package/resources/numbers.d.mts +2 -0
  404. package/resources/numbers.d.mts.map +1 -0
  405. package/resources/numbers.d.ts +2 -0
  406. package/resources/numbers.d.ts.map +1 -0
  407. package/resources/numbers.js +6 -0
  408. package/resources/numbers.js.map +1 -0
  409. package/resources/numbers.mjs +3 -0
  410. package/resources/numbers.mjs.map +1 -0
  411. package/resources/proxies.d.mts +43 -20
  412. package/resources/proxies.d.mts.map +1 -1
  413. package/resources/proxies.d.ts +43 -20
  414. package/resources/proxies.d.ts.map +1 -1
  415. package/resources/proxies.js.map +1 -1
  416. package/resources/proxies.mjs.map +1 -1
  417. package/resources/shared.d.mts +11 -3
  418. package/resources/shared.d.mts.map +1 -1
  419. package/resources/shared.d.ts +11 -3
  420. package/resources/shared.d.ts.map +1 -1
  421. package/resources/store/apps.d.mts +119 -0
  422. package/resources/store/apps.d.mts.map +1 -0
  423. package/resources/store/apps.d.ts +119 -0
  424. package/resources/store/apps.d.ts.map +1 -0
  425. package/resources/store/apps.js +31 -0
  426. package/resources/store/apps.js.map +1 -0
  427. package/resources/store/apps.mjs +27 -0
  428. package/resources/store/apps.mjs.map +1 -0
  429. package/resources/store/index.d.mts +3 -0
  430. package/resources/store/index.d.mts.map +1 -0
  431. package/resources/store/index.d.ts +3 -0
  432. package/resources/store/index.d.ts.map +1 -0
  433. package/resources/store/index.js +9 -0
  434. package/resources/store/index.js.map +1 -0
  435. package/resources/store/index.mjs +4 -0
  436. package/resources/store/index.mjs.map +1 -0
  437. package/resources/store/store.d.mts +20 -0
  438. package/resources/store/store.d.mts.map +1 -0
  439. package/resources/store/store.d.ts +20 -0
  440. package/resources/store/store.d.ts.map +1 -0
  441. package/resources/store/store.js +23 -0
  442. package/resources/store/store.js.map +1 -0
  443. package/resources/store/store.mjs +18 -0
  444. package/resources/store/store.mjs.map +1 -0
  445. package/resources/store.d.mts +2 -0
  446. package/resources/store.d.mts.map +1 -0
  447. package/resources/store.d.ts +2 -0
  448. package/resources/store.d.ts.map +1 -0
  449. package/resources/store.js +6 -0
  450. package/resources/store.js.map +1 -0
  451. package/resources/store.mjs +3 -0
  452. package/resources/store.mjs.map +1 -0
  453. package/resources/tasks/index.d.mts +3 -3
  454. package/resources/tasks/index.d.mts.map +1 -1
  455. package/resources/tasks/index.d.ts +3 -3
  456. package/resources/tasks/index.d.ts.map +1 -1
  457. package/resources/tasks/index.js.map +1 -1
  458. package/resources/tasks/index.mjs +1 -1
  459. package/resources/tasks/index.mjs.map +1 -1
  460. package/resources/tasks/screenshots.d.mts +3 -3
  461. package/resources/tasks/screenshots.d.mts.map +1 -1
  462. package/resources/tasks/screenshots.d.ts +3 -3
  463. package/resources/tasks/screenshots.d.ts.map +1 -1
  464. package/resources/tasks/tasks.d.mts +65 -34
  465. package/resources/tasks/tasks.d.mts.map +1 -1
  466. package/resources/tasks/tasks.d.ts +65 -34
  467. package/resources/tasks/tasks.d.ts.map +1 -1
  468. package/resources/tasks/tasks.js.map +1 -1
  469. package/resources/tasks/tasks.mjs +1 -1
  470. package/resources/tasks/tasks.mjs.map +1 -1
  471. package/resources/tasks/ui-states.d.mts +8 -3
  472. package/resources/tasks/ui-states.d.mts.map +1 -1
  473. package/resources/tasks/ui-states.d.ts +8 -3
  474. package/resources/tasks/ui-states.d.ts.map +1 -1
  475. package/resources/tasks/ui-states.js.map +1 -1
  476. package/resources/tasks/ui-states.mjs.map +1 -1
  477. package/resources/workflows/action-catalog.d.mts +27 -13
  478. package/resources/workflows/action-catalog.d.mts.map +1 -1
  479. package/resources/workflows/action-catalog.d.ts +27 -13
  480. package/resources/workflows/action-catalog.d.ts.map +1 -1
  481. package/resources/workflows/actions/actions.d.mts +85 -23
  482. package/resources/workflows/actions/actions.d.mts.map +1 -1
  483. package/resources/workflows/actions/actions.d.ts +85 -23
  484. package/resources/workflows/actions/actions.d.ts.map +1 -1
  485. package/resources/workflows/actions/actions.js.map +1 -1
  486. package/resources/workflows/actions/actions.mjs.map +1 -1
  487. package/resources/workflows/actions/index.d.mts +1 -1
  488. package/resources/workflows/actions/index.d.mts.map +1 -1
  489. package/resources/workflows/actions/index.d.ts +1 -1
  490. package/resources/workflows/actions/index.d.ts.map +1 -1
  491. package/resources/workflows/actions/index.js.map +1 -1
  492. package/resources/workflows/actions/index.mjs.map +1 -1
  493. package/resources/workflows/events.d.mts +145 -1
  494. package/resources/workflows/events.d.mts.map +1 -1
  495. package/resources/workflows/events.d.ts +145 -1
  496. package/resources/workflows/events.d.ts.map +1 -1
  497. package/resources/workflows/events.js +18 -2
  498. package/resources/workflows/events.js.map +1 -1
  499. package/resources/workflows/events.mjs +16 -1
  500. package/resources/workflows/events.mjs.map +1 -1
  501. package/resources/workflows/executions.d.mts +96 -26
  502. package/resources/workflows/executions.d.mts.map +1 -1
  503. package/resources/workflows/executions.d.ts +96 -26
  504. package/resources/workflows/executions.d.ts.map +1 -1
  505. package/resources/workflows/executions.js +7 -0
  506. package/resources/workflows/executions.js.map +1 -1
  507. package/resources/workflows/executions.mjs +7 -0
  508. package/resources/workflows/executions.mjs.map +1 -1
  509. package/resources/workflows/flows/actions.d.mts +109 -26
  510. package/resources/workflows/flows/actions.d.mts.map +1 -1
  511. package/resources/workflows/flows/actions.d.ts +109 -26
  512. package/resources/workflows/flows/actions.d.ts.map +1 -1
  513. package/resources/workflows/flows/actions.js.map +1 -1
  514. package/resources/workflows/flows/actions.mjs.map +1 -1
  515. package/resources/workflows/flows/flows.d.mts +381 -25
  516. package/resources/workflows/flows/flows.d.mts.map +1 -1
  517. package/resources/workflows/flows/flows.d.ts +381 -25
  518. package/resources/workflows/flows/flows.d.ts.map +1 -1
  519. package/resources/workflows/flows/flows.js +25 -0
  520. package/resources/workflows/flows/flows.js.map +1 -1
  521. package/resources/workflows/flows/flows.mjs +25 -0
  522. package/resources/workflows/flows/flows.mjs.map +1 -1
  523. package/resources/workflows/flows/index.d.mts +2 -2
  524. package/resources/workflows/flows/index.d.mts.map +1 -1
  525. package/resources/workflows/flows/index.d.ts +2 -2
  526. package/resources/workflows/flows/index.d.ts.map +1 -1
  527. package/resources/workflows/flows/index.js.map +1 -1
  528. package/resources/workflows/flows/index.mjs.map +1 -1
  529. package/resources/workflows/index.d.mts +6 -6
  530. package/resources/workflows/index.d.mts.map +1 -1
  531. package/resources/workflows/index.d.ts +6 -6
  532. package/resources/workflows/index.d.ts.map +1 -1
  533. package/resources/workflows/index.js +4 -4
  534. package/resources/workflows/index.js.map +1 -1
  535. package/resources/workflows/index.mjs +1 -1
  536. package/resources/workflows/index.mjs.map +1 -1
  537. package/resources/workflows/triggers.d.mts +6 -3
  538. package/resources/workflows/triggers.d.mts.map +1 -1
  539. package/resources/workflows/triggers.d.ts +6 -3
  540. package/resources/workflows/triggers.d.ts.map +1 -1
  541. package/resources/workflows/workflows.d.mts +10 -48
  542. package/resources/workflows/workflows.d.mts.map +1 -1
  543. package/resources/workflows/workflows.d.ts +10 -48
  544. package/resources/workflows/workflows.d.ts.map +1 -1
  545. package/resources/workflows/workflows.js +2 -2
  546. package/resources/workflows/workflows.js.map +1 -1
  547. package/resources/workflows/workflows.mjs +2 -2
  548. package/resources/workflows/workflows.mjs.map +1 -1
  549. package/src/client.ts +164 -21
  550. package/src/core/streaming.ts +315 -0
  551. package/src/internal/decoders/line.ts +135 -0
  552. package/src/internal/parse.ts +14 -0
  553. package/src/internal/request-options.ts +2 -0
  554. package/src/resources/app-events/app-events.ts +133 -0
  555. package/src/resources/app-events/catalog.ts +100 -0
  556. package/src/resources/app-events/index.ts +9 -0
  557. package/src/resources/app-events.ts +3 -0
  558. package/src/resources/apps.ts +41 -2
  559. package/src/resources/assistant/assistant.ts +59 -0
  560. package/src/resources/assistant/conversations.ts +524 -0
  561. package/src/resources/assistant/index.ts +26 -0
  562. package/src/resources/assistant.ts +3 -0
  563. package/src/resources/credentials/credentials.ts +40 -2
  564. package/src/resources/credentials/index.ts +1 -0
  565. package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
  566. package/src/resources/credentials/packages/credentials/fields.ts +114 -4
  567. package/src/resources/credentials/packages/credentials/index.ts +0 -1
  568. package/src/resources/credentials/packages/index.ts +1 -1
  569. package/src/resources/credentials/packages/packages.ts +58 -3
  570. package/src/resources/devices/apps.ts +155 -0
  571. package/src/resources/devices/browser.ts +71 -0
  572. package/src/resources/devices/clipboard.ts +87 -0
  573. package/src/resources/devices/deep-link.ts +70 -0
  574. package/src/resources/devices/devices.ts +427 -23
  575. package/src/resources/devices/esim/apn.ts +178 -0
  576. package/src/resources/devices/esim/esim.ts +312 -0
  577. package/src/resources/devices/esim/index.ts +21 -0
  578. package/src/resources/devices/esim.ts +1 -208
  579. package/src/resources/devices/files.ts +36 -35
  580. package/src/resources/devices/index.ts +51 -5
  581. package/src/resources/devices/kiosk.ts +74 -0
  582. package/src/resources/devices/location.ts +33 -1
  583. package/src/resources/devices/media-sessions.ts +168 -0
  584. package/src/resources/devices/recordings.ts +358 -0
  585. package/src/resources/devices/state.ts +7 -9
  586. package/src/resources/devices/tasks.ts +11 -2
  587. package/src/resources/esims/esims.ts +1019 -0
  588. package/src/resources/esims/index.ts +28 -0
  589. package/src/resources/esims/messages.ts +187 -0
  590. package/src/resources/esims.ts +3 -0
  591. package/src/resources/files.ts +225 -0
  592. package/src/resources/index.ts +67 -8
  593. package/src/resources/messages/conversations.ts +132 -0
  594. package/src/resources/messages/index.ts +10 -0
  595. package/src/resources/messages/messages.ts +114 -0
  596. package/src/resources/messages.ts +3 -0
  597. package/src/resources/models.ts +22 -7
  598. package/src/resources/notifications.ts +118 -0
  599. package/src/resources/numbers/index.ts +16 -0
  600. package/src/resources/numbers/messages.ts +83 -0
  601. package/src/resources/numbers/numbers.ts +415 -0
  602. package/src/resources/numbers.ts +3 -0
  603. package/src/resources/proxies.ts +52 -22
  604. package/src/resources/shared.ts +18 -4
  605. package/src/resources/store/apps.ts +704 -0
  606. package/src/resources/store/index.ts +10 -0
  607. package/src/resources/store/store.ts +36 -0
  608. package/src/resources/store.ts +3 -0
  609. package/src/resources/tasks/index.ts +7 -6
  610. package/src/resources/tasks/screenshots.ts +3 -3
  611. package/src/resources/tasks/tasks.ts +89 -53
  612. package/src/resources/tasks/ui-states.ts +9 -2
  613. package/src/resources/workflows/action-catalog.ts +35 -14
  614. package/src/resources/workflows/actions/actions.ts +124 -24
  615. package/src/resources/workflows/actions/index.ts +0 -1
  616. package/src/resources/workflows/events.ts +228 -1
  617. package/src/resources/workflows/executions.ts +139 -35
  618. package/src/resources/workflows/flows/actions.ts +129 -25
  619. package/src/resources/workflows/flows/flows.ts +638 -24
  620. package/src/resources/workflows/flows/index.ts +3 -3
  621. package/src/resources/workflows/index.ts +6 -7
  622. package/src/resources/workflows/triggers.ts +6 -3
  623. package/src/resources/workflows/workflows.ts +16 -90
  624. package/src/streaming.ts +2 -0
  625. package/src/version.ts +1 -1
  626. package/streaming.d.mts +3 -0
  627. package/streaming.d.mts.map +1 -0
  628. package/streaming.d.ts +3 -0
  629. package/streaming.d.ts.map +1 -0
  630. package/streaming.js +6 -0
  631. package/streaming.js.map +1 -0
  632. package/streaming.mjs +3 -0
  633. package/streaming.mjs.map +1 -0
  634. package/version.d.mts +1 -1
  635. package/version.d.ts +1 -1
  636. package/version.js +1 -1
  637. package/version.mjs +1 -1
  638. package/resources/hooks.d.mts +0 -4
  639. package/resources/hooks.d.mts.map +0 -1
  640. package/resources/hooks.d.ts +0 -4
  641. package/resources/hooks.d.ts.map +0 -1
  642. package/resources/hooks.js +0 -9
  643. package/resources/hooks.js.map +0 -1
  644. package/resources/hooks.mjs +0 -5
  645. package/resources/hooks.mjs.map +0 -1
  646. package/resources/workflows/events/catalog.d.mts +0 -4
  647. package/resources/workflows/events/catalog.d.mts.map +0 -1
  648. package/resources/workflows/events/catalog.d.ts +0 -4
  649. package/resources/workflows/events/catalog.d.ts.map +0 -1
  650. package/resources/workflows/events/catalog.js +0 -9
  651. package/resources/workflows/events/catalog.js.map +0 -1
  652. package/resources/workflows/events/catalog.mjs +0 -5
  653. package/resources/workflows/events/catalog.mjs.map +0 -1
  654. package/resources/workflows/events/events.d.mts +0 -113
  655. package/resources/workflows/events/events.d.mts.map +0 -1
  656. package/resources/workflows/events/events.d.ts +0 -113
  657. package/resources/workflows/events/events.d.ts.map +0 -1
  658. package/resources/workflows/events/events.js +0 -30
  659. package/resources/workflows/events/events.js.map +0 -1
  660. package/resources/workflows/events/events.mjs +0 -25
  661. package/resources/workflows/events/events.mjs.map +0 -1
  662. package/resources/workflows/events/index.d.mts +0 -3
  663. package/resources/workflows/events/index.d.mts.map +0 -1
  664. package/resources/workflows/events/index.d.ts +0 -3
  665. package/resources/workflows/events/index.d.ts.map +0 -1
  666. package/resources/workflows/events/index.js.map +0 -1
  667. package/resources/workflows/events/index.mjs.map +0 -1
  668. package/src/resources/hooks.ts +0 -5
  669. package/src/resources/workflows/events/catalog.ts +0 -5
  670. package/src/resources/workflows/events/events.ts +0 -167
  671. package/src/resources/workflows/events/index.ts +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,sBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGrF;AAED,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,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A4LD,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Actions, type Action, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionUpdateParams, type ActionListParams, } from "./actions.mjs";
1
+ export { Actions, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionUpdateParams, type ActionListParams, } from "./actions.mjs";
2
2
  export { Services, type ServiceListResponse, type ServiceListMethodsResponse } from "./services.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,sBAAkB;AACnB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,uBAAmB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,sBAAkB;AACnB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,uBAAmB"}
@@ -1,3 +1,3 @@
1
- export { Actions, type Action, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionUpdateParams, type ActionListParams, } from "./actions.js";
1
+ export { Actions, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionUpdateParams, type ActionListParams, } from "./actions.js";
2
2
  export { Services, type ServiceListResponse, type ServiceListMethodsResponse } from "./services.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,qBAAkB;AACnB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,sBAAmB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,qBAAkB;AACnB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,sBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAWmB;AAVjB,kGAAA,OAAO,OAAA;AAWT,0CAAiG;AAAxF,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAAiG;AAAxF,oGAAA,QAAQ,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAUR,sBAAkB;AACnB,OAAO,EAAE,QAAQ,EAA6D,uBAAmB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GASR,sBAAkB;AACnB,OAAO,EAAE,QAAQ,EAA6D,uBAAmB"}
@@ -1,2 +1,146 @@
1
- export * from "./events/index.mjs";
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 Events extends APIResource {
5
+ /**
6
+ * Simulate an event against all configured flows. Returns which flows would match
7
+ * and what actions would run, without storing the event or enqueuing jobs.
8
+ */
9
+ dryRun(body: EventDryRunParams, options?: RequestOptions): APIPromise<EventDryRunResponse>;
10
+ /**
11
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
12
+ */
13
+ ingest(body: EventIngestParams, options?: RequestOptions): APIPromise<EventIngestResponse>;
14
+ }
15
+ export interface EventDryRunResponse {
16
+ data: EventDryRunResponse.Data;
17
+ }
18
+ export declare namespace EventDryRunResponse {
19
+ interface Data {
20
+ matchedFlows: Array<Data.MatchedFlow>;
21
+ validation: Data.Validation;
22
+ }
23
+ namespace Data {
24
+ interface MatchedFlow {
25
+ actions: Array<MatchedFlow.Action>;
26
+ flow: MatchedFlow.Flow;
27
+ gates: MatchedFlow.Gates;
28
+ trigger: MatchedFlow.Trigger;
29
+ wouldFire: boolean;
30
+ }
31
+ namespace MatchedFlow {
32
+ interface Action {
33
+ continueOnError: boolean;
34
+ method: string;
35
+ name: string;
36
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
37
+ /**
38
+ * Nested child actions (loop/branch bodies), each the same shape as a
39
+ * ResolvedAction.
40
+ */
41
+ children?: Array<unknown>;
42
+ params?: {
43
+ [key: string]: unknown;
44
+ };
45
+ }
46
+ interface Flow {
47
+ id: string;
48
+ blockedAt: string | null;
49
+ consecutiveFailures: number;
50
+ cooldownScope: 'flow' | 'device';
51
+ cooldownSeconds: number | null;
52
+ createdAt: string | null;
53
+ createdBy: string | null;
54
+ description: string | null;
55
+ deviceIds: Array<string>;
56
+ enabled: boolean;
57
+ healthMonitoringEnabled: boolean;
58
+ lastFailureAt: string | null;
59
+ lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
60
+ lastTriggeredAt: string | null;
61
+ name: string;
62
+ notifyOnFailure: boolean;
63
+ notifyOnSuccess: boolean;
64
+ notifyWebhookId: string | null;
65
+ ownerId: string;
66
+ recordingEnabled: boolean;
67
+ selfHealingEnabled: boolean;
68
+ selfHealingMaxAttempts: number;
69
+ status: 'healthy' | 'failing' | 'blocked';
70
+ /**
71
+ * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
72
+ * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
73
+ * a whole-token null stays JSON null). Existing flows stay 1; new flows default
74
+ * to 2.
75
+ */
76
+ templateResolutionVersion: number;
77
+ triggerId: string;
78
+ updatedAt: string | null;
79
+ /**
80
+ * @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
81
+ */
82
+ userId: string;
83
+ }
84
+ interface Gates {
85
+ blocked: boolean;
86
+ cooldownActive: boolean | null;
87
+ deviceAttached: boolean;
88
+ deviceIds: Array<string>;
89
+ enabled: boolean;
90
+ }
91
+ interface Trigger {
92
+ id: string;
93
+ activation: 'event' | 'schedule' | 'custom';
94
+ createdAt: string | null;
95
+ createdBy: string | null;
96
+ customPayloadSchema: {
97
+ [key: string]: unknown;
98
+ } | null;
99
+ description: string | null;
100
+ eventType: string | null;
101
+ name: string;
102
+ ownerId: string;
103
+ scheduleRule: unknown;
104
+ timezone: string | null;
105
+ updatedAt: string | null;
106
+ /**
107
+ * @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
108
+ */
109
+ userId: string;
110
+ conditions?: unknown;
111
+ nextFireTime?: string | null;
112
+ }
113
+ }
114
+ interface Validation {
115
+ valid: boolean;
116
+ errors?: Array<Validation.Error>;
117
+ }
118
+ namespace Validation {
119
+ interface Error {
120
+ field: string;
121
+ message: string;
122
+ }
123
+ }
124
+ }
125
+ }
126
+ export interface EventIngestResponse {
127
+ eventId: string;
128
+ }
129
+ export interface EventDryRunParams {
130
+ eventType: string;
131
+ deviceId?: string;
132
+ payload?: {
133
+ [key: string]: unknown;
134
+ };
135
+ }
136
+ export interface EventIngestParams {
137
+ eventType: string;
138
+ deviceId?: string;
139
+ payload?: {
140
+ [key: string]: unknown;
141
+ };
142
+ }
143
+ export declare namespace Events {
144
+ export { type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
145
+ }
2
146
  //# sourceMappingURL=events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,mCAA+B"}
1
+ {"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,C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,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,2 +1,146 @@
1
- export * from "./events/index.js";
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 Events extends APIResource {
5
+ /**
6
+ * Simulate an event against all configured flows. Returns which flows would match
7
+ * and what actions would run, without storing the event or enqueuing jobs.
8
+ */
9
+ dryRun(body: EventDryRunParams, options?: RequestOptions): APIPromise<EventDryRunResponse>;
10
+ /**
11
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
12
+ */
13
+ ingest(body: EventIngestParams, options?: RequestOptions): APIPromise<EventIngestResponse>;
14
+ }
15
+ export interface EventDryRunResponse {
16
+ data: EventDryRunResponse.Data;
17
+ }
18
+ export declare namespace EventDryRunResponse {
19
+ interface Data {
20
+ matchedFlows: Array<Data.MatchedFlow>;
21
+ validation: Data.Validation;
22
+ }
23
+ namespace Data {
24
+ interface MatchedFlow {
25
+ actions: Array<MatchedFlow.Action>;
26
+ flow: MatchedFlow.Flow;
27
+ gates: MatchedFlow.Gates;
28
+ trigger: MatchedFlow.Trigger;
29
+ wouldFire: boolean;
30
+ }
31
+ namespace MatchedFlow {
32
+ interface Action {
33
+ continueOnError: boolean;
34
+ method: string;
35
+ name: string;
36
+ service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
37
+ /**
38
+ * Nested child actions (loop/branch bodies), each the same shape as a
39
+ * ResolvedAction.
40
+ */
41
+ children?: Array<unknown>;
42
+ params?: {
43
+ [key: string]: unknown;
44
+ };
45
+ }
46
+ interface Flow {
47
+ id: string;
48
+ blockedAt: string | null;
49
+ consecutiveFailures: number;
50
+ cooldownScope: 'flow' | 'device';
51
+ cooldownSeconds: number | null;
52
+ createdAt: string | null;
53
+ createdBy: string | null;
54
+ description: string | null;
55
+ deviceIds: Array<string>;
56
+ enabled: boolean;
57
+ healthMonitoringEnabled: boolean;
58
+ lastFailureAt: string | null;
59
+ lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
60
+ lastTriggeredAt: string | null;
61
+ name: string;
62
+ notifyOnFailure: boolean;
63
+ notifyOnSuccess: boolean;
64
+ notifyWebhookId: string | null;
65
+ ownerId: string;
66
+ recordingEnabled: boolean;
67
+ selfHealingEnabled: boolean;
68
+ selfHealingMaxAttempts: number;
69
+ status: 'healthy' | 'failing' | 'blocked';
70
+ /**
71
+ * Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
72
+ * (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
73
+ * a whole-token null stays JSON null). Existing flows stay 1; new flows default
74
+ * to 2.
75
+ */
76
+ templateResolutionVersion: number;
77
+ triggerId: string;
78
+ updatedAt: string | null;
79
+ /**
80
+ * @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
81
+ */
82
+ userId: string;
83
+ }
84
+ interface Gates {
85
+ blocked: boolean;
86
+ cooldownActive: boolean | null;
87
+ deviceAttached: boolean;
88
+ deviceIds: Array<string>;
89
+ enabled: boolean;
90
+ }
91
+ interface Trigger {
92
+ id: string;
93
+ activation: 'event' | 'schedule' | 'custom';
94
+ createdAt: string | null;
95
+ createdBy: string | null;
96
+ customPayloadSchema: {
97
+ [key: string]: unknown;
98
+ } | null;
99
+ description: string | null;
100
+ eventType: string | null;
101
+ name: string;
102
+ ownerId: string;
103
+ scheduleRule: unknown;
104
+ timezone: string | null;
105
+ updatedAt: string | null;
106
+ /**
107
+ * @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
108
+ */
109
+ userId: string;
110
+ conditions?: unknown;
111
+ nextFireTime?: string | null;
112
+ }
113
+ }
114
+ interface Validation {
115
+ valid: boolean;
116
+ errors?: Array<Validation.Error>;
117
+ }
118
+ namespace Validation {
119
+ interface Error {
120
+ field: string;
121
+ message: string;
122
+ }
123
+ }
124
+ }
125
+ }
126
+ export interface EventIngestResponse {
127
+ eventId: string;
128
+ }
129
+ export interface EventDryRunParams {
130
+ eventType: string;
131
+ deviceId?: string;
132
+ payload?: {
133
+ [key: string]: unknown;
134
+ };
135
+ }
136
+ export interface EventIngestParams {
137
+ eventType: string;
138
+ deviceId?: string;
139
+ payload?: {
140
+ [key: string]: unknown;
141
+ };
142
+ }
143
+ export declare namespace Events {
144
+ export { type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
145
+ }
2
146
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,kCAA+B"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GA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;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,6 +1,22 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- const tslib_1 = require("../../internal/tslib.js");
5
- tslib_1.__exportStar(require("./events/index.js"), exports);
4
+ exports.Events = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ class Events extends resource_1.APIResource {
7
+ /**
8
+ * Simulate an event against all configured flows. Returns which flows would match
9
+ * and what actions would run, without storing the event or enqueuing jobs.
10
+ */
11
+ dryRun(body, options) {
12
+ return this._client.post('/events/dry-run', { body, ...options });
13
+ }
14
+ /**
15
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
16
+ */
17
+ ingest(body, options) {
18
+ return this._client.post('/events/ingest', { body, ...options });
19
+ }
20
+ }
21
+ exports.Events = Events;
6
22
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAfD,wBAeC"}
@@ -1,3 +1,18 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./events/index.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ export class Events extends APIResource {
4
+ /**
5
+ * Simulate an event against all configured flows. Returns which flows would match
6
+ * and what actions would run, without storing the event or enqueuing jobs.
7
+ */
8
+ dryRun(body, options) {
9
+ return this._client.post('/events/dry-run', { body, ...options });
10
+ }
11
+ /**
12
+ * Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
13
+ */
14
+ ingest(body, options) {
15
+ return this._client.post('/events/ingest', { body, ...options });
16
+ }
17
+ }
3
18
  //# sourceMappingURL=events.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,mCAA+B"}
1
+ {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/workflows/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -1,5 +1,4 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
- import * as ExecutionsAPI from "./executions.mjs";
3
2
  import * as Shared from "../shared.mjs";
4
3
  import { APIPromise } from "../../core/api-promise.mjs";
5
4
  import { RequestOptions } from "../../internal/request-options.mjs";
@@ -15,6 +14,11 @@ export declare class Executions extends APIResource {
15
14
  * ordering by startedAt, finishedAt, or status.
16
15
  */
17
16
  list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
17
+ /**
18
+ * Signals the worker to stop the execution between steps and marks it cancelled.
19
+ * Idempotent-ish: already-terminal executions return 409.
20
+ */
21
+ abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
18
22
  /**
19
23
  * Return aggregate execution metrics — total count, counts by status, average
20
24
  * duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
@@ -22,40 +26,45 @@ export declare class Executions extends APIResource {
22
26
  */
23
27
  getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
24
28
  }
25
- export interface FlowExecution {
26
- id: string;
27
- error: string | null;
28
- eventId: string | null;
29
- finishedAt: string | null;
30
- flowId: string;
31
- flowName: string | null;
32
- kind: 'live' | 'dry_run';
33
- startedAt: string | null;
34
- status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
35
- triggerId: string;
36
- triggerName: string | null;
37
- /**
38
- * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
39
- * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
40
- * step that opted into a verdict — null otherwise. Table-backed steps (current
41
- * executions) also carry a `status` string (e.g. success/failed/stopped, see
42
- * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
43
- * clients must not assume its presence.
44
- */
45
- result?: unknown;
46
- }
47
29
  export interface ExecutionRetrieveResponse {
48
30
  data: ExecutionRetrieveResponse.Data;
49
31
  }
50
32
  export declare namespace ExecutionRetrieveResponse {
51
- interface Data extends ExecutionsAPI.FlowExecution {
33
+ interface Data {
34
+ id: string;
52
35
  createdBy: string | null;
36
+ error: string | null;
37
+ eventId: string | null;
53
38
  /**
54
39
  * Files produced by files.upload steps, plus files an agent.run step reported on
55
40
  * its terminal response (agent-created output or a workflow upload minted during
56
41
  * the turn); derived server-side at read time.
57
42
  */
58
43
  files: Array<Data.File>;
44
+ finishedAt: string | null;
45
+ flowId: string;
46
+ flowName: string | null;
47
+ kind: 'live' | 'dry_run';
48
+ recordingDeviceId: string | null;
49
+ /**
50
+ * Device-recording id (devices-api) for this execution, set once the worker starts
51
+ * a recording. Null when the flow has recording disabled, no device is bound, or
52
+ * the recording failed to start.
53
+ */
54
+ recordingId: string | null;
55
+ startedAt: string | null;
56
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
57
+ triggerId: string;
58
+ triggerName: string | null;
59
+ /**
60
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
61
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
62
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
63
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
64
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
65
+ * clients must not assume its presence.
66
+ */
67
+ result?: unknown;
59
68
  }
60
69
  namespace Data {
61
70
  interface File {
@@ -71,8 +80,69 @@ export interface ExecutionListResponse {
71
80
  pagination: Shared.Pagination;
72
81
  }
73
82
  export declare namespace ExecutionListResponse {
74
- interface Item extends ExecutionsAPI.FlowExecution {
83
+ interface Item {
84
+ id: string;
75
85
  createdBy: string | null;
86
+ error: string | null;
87
+ eventId: string | null;
88
+ finishedAt: string | null;
89
+ flowId: string;
90
+ flowName: string | null;
91
+ kind: 'live' | 'dry_run';
92
+ recordingDeviceId: string | null;
93
+ /**
94
+ * Device-recording id (devices-api) for this execution, set once the worker starts
95
+ * a recording. Null when the flow has recording disabled, no device is bound, or
96
+ * the recording failed to start.
97
+ */
98
+ recordingId: string | null;
99
+ startedAt: string | null;
100
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
101
+ triggerId: string;
102
+ triggerName: string | null;
103
+ /**
104
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
105
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
106
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
107
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
108
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
109
+ * clients must not assume its presence.
110
+ */
111
+ result?: unknown;
112
+ }
113
+ }
114
+ export interface ExecutionAbortResponse {
115
+ data: ExecutionAbortResponse.Data;
116
+ }
117
+ export declare namespace ExecutionAbortResponse {
118
+ interface Data {
119
+ id: string;
120
+ error: string | null;
121
+ eventId: string | null;
122
+ finishedAt: string | null;
123
+ flowId: string;
124
+ flowName: string | null;
125
+ kind: 'live' | 'dry_run';
126
+ recordingDeviceId: string | null;
127
+ /**
128
+ * Device-recording id (devices-api) for this execution, set once the worker starts
129
+ * a recording. Null when the flow has recording disabled, no device is bound, or
130
+ * the recording failed to start.
131
+ */
132
+ recordingId: string | null;
133
+ startedAt: string | null;
134
+ status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
135
+ triggerId: string;
136
+ triggerName: string | null;
137
+ /**
138
+ * Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
139
+ * `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
140
+ * step that opted into a verdict — null otherwise. Table-backed steps (current
141
+ * executions) also carry a `status` string (e.g. success/failed/stopped, see
142
+ * deriveStepStatus); it is optional and absent on legacy blob-only executions, so
143
+ * clients must not assume its presence.
144
+ */
145
+ result?: unknown;
76
146
  }
77
147
  }
78
148
  export interface ExecutionGetMetricsResponse {
@@ -116,6 +186,6 @@ export interface ExecutionGetMetricsParams {
116
186
  triggerId?: string;
117
187
  }
118
188
  export declare namespace Executions {
119
- export { type FlowExecution as FlowExecution, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
189
+ export { type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
120
190
  }
121
191
  //# sourceMappingURL=executions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executions.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;;OAIG;IACH,UAAU,CACR,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EA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