@mobilerun/sdk 4.0.0 → 5.2.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 (653) hide show
  1. package/CHANGELOG.md +313 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +34 -29
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +34 -29
  11. package/client.d.ts.map +1 -1
  12. package/client.js +44 -22
  13. package/client.js.map +1 -1
  14. package/client.mjs +46 -24
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/resource.d.mts.map +1 -1
  21. package/core/resource.d.ts.map +1 -1
  22. package/core/uploads.d.mts.map +1 -1
  23. package/core/uploads.d.ts.map +1 -1
  24. package/core/uploads.mjs.map +1 -1
  25. package/error.d.mts +1 -0
  26. package/error.d.mts.map +1 -1
  27. package/error.d.ts +1 -0
  28. package/error.d.ts.map +1 -1
  29. package/error.mjs +1 -0
  30. package/error.mjs.map +1 -1
  31. package/index.d.mts.map +1 -1
  32. package/index.d.ts.map +1 -1
  33. package/index.mjs.map +1 -1
  34. package/internal/detect-platform.mjs.map +1 -1
  35. package/internal/headers.mjs.map +1 -1
  36. package/internal/parse.d.mts.map +1 -1
  37. package/internal/parse.d.ts.map +1 -1
  38. package/internal/parse.mjs.map +1 -1
  39. package/internal/qs/formats.d.mts.map +1 -1
  40. package/internal/qs/formats.d.ts.map +1 -1
  41. package/internal/qs/index.d.mts +2 -2
  42. package/internal/qs/index.d.mts.map +1 -1
  43. package/internal/qs/index.d.ts +2 -2
  44. package/internal/qs/index.d.ts.map +1 -1
  45. package/internal/qs/index.mjs.map +1 -1
  46. package/internal/qs/stringify.d.mts.map +1 -1
  47. package/internal/qs/stringify.d.ts.map +1 -1
  48. package/internal/qs/stringify.mjs.map +1 -1
  49. package/internal/qs/utils.d.mts.map +1 -1
  50. package/internal/qs/utils.d.ts.map +1 -1
  51. package/internal/qs/utils.mjs.map +1 -1
  52. package/internal/request-options.d.mts.map +1 -1
  53. package/internal/request-options.d.ts.map +1 -1
  54. package/internal/shims.d.mts +6 -0
  55. package/internal/shims.d.mts.map +1 -1
  56. package/internal/shims.d.ts +6 -0
  57. package/internal/shims.d.ts.map +1 -1
  58. package/internal/to-file.d.mts.map +1 -1
  59. package/internal/to-file.d.ts.map +1 -1
  60. package/internal/to-file.mjs.map +1 -1
  61. package/internal/types.d.mts +10 -10
  62. package/internal/types.d.mts.map +1 -1
  63. package/internal/types.d.ts +10 -10
  64. package/internal/types.d.ts.map +1 -1
  65. package/internal/uploads.d.mts.map +1 -1
  66. package/internal/uploads.d.ts.map +1 -1
  67. package/internal/uploads.mjs.map +1 -1
  68. package/internal/utils/base64.mjs.map +1 -1
  69. package/internal/utils/log.d.mts.map +1 -1
  70. package/internal/utils/log.d.ts.map +1 -1
  71. package/internal/utils/log.js +2 -0
  72. package/internal/utils/log.js.map +1 -1
  73. package/internal/utils/log.mjs +2 -0
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/lib/trajectory-decoder-stream.d.mts.map +1 -1
  82. package/lib/trajectory-decoder-stream.d.ts.map +1 -1
  83. package/package.json +1 -1
  84. package/resource.d.mts +1 -0
  85. package/resource.d.mts.map +1 -1
  86. package/resource.d.ts +1 -0
  87. package/resource.d.ts.map +1 -1
  88. package/resource.mjs +1 -0
  89. package/resource.mjs.map +1 -1
  90. package/resources/apps.d.mts +203 -16
  91. package/resources/apps.d.mts.map +1 -1
  92. package/resources/apps.d.ts +203 -16
  93. package/resources/apps.d.ts.map +1 -1
  94. package/resources/apps.js +98 -0
  95. package/resources/apps.js.map +1 -1
  96. package/resources/apps.mjs +98 -0
  97. package/resources/apps.mjs.map +1 -1
  98. package/resources/carriers.d.mts +105 -7
  99. package/resources/carriers.d.mts.map +1 -1
  100. package/resources/carriers.d.ts +105 -7
  101. package/resources/carriers.d.ts.map +1 -1
  102. package/resources/carriers.js.map +1 -1
  103. package/resources/carriers.mjs.map +1 -1
  104. package/resources/connect/connect.d.mts +18 -0
  105. package/resources/connect/connect.d.mts.map +1 -0
  106. package/resources/connect/connect.d.ts +18 -0
  107. package/resources/connect/connect.d.ts.map +1 -0
  108. package/resources/connect/connect.js +25 -0
  109. package/resources/connect/connect.js.map +1 -0
  110. package/resources/connect/connect.mjs +20 -0
  111. package/resources/connect/connect.mjs.map +1 -0
  112. package/resources/connect/countries.d.mts +84 -0
  113. package/resources/connect/countries.d.mts.map +1 -0
  114. package/resources/connect/countries.d.ts +84 -0
  115. package/resources/connect/countries.d.ts.map +1 -0
  116. package/resources/connect/countries.js +20 -0
  117. package/resources/connect/countries.js.map +1 -0
  118. package/resources/connect/countries.mjs +16 -0
  119. package/resources/connect/countries.mjs.map +1 -0
  120. package/resources/connect/index.d.mts +5 -0
  121. package/resources/connect/index.d.mts.map +1 -0
  122. package/resources/connect/index.d.ts +5 -0
  123. package/resources/connect/index.d.ts.map +1 -0
  124. package/resources/connect/index.js +13 -0
  125. package/resources/connect/index.js.map +1 -0
  126. package/resources/connect/index.mjs +6 -0
  127. package/resources/connect/index.mjs.map +1 -0
  128. package/resources/connect/proxies.d.mts +456 -0
  129. package/resources/connect/proxies.d.mts.map +1 -0
  130. package/resources/connect/proxies.d.ts +456 -0
  131. package/resources/connect/proxies.d.ts.map +1 -0
  132. package/resources/connect/proxies.js +59 -0
  133. package/resources/connect/proxies.js.map +1 -0
  134. package/resources/connect/proxies.mjs +55 -0
  135. package/resources/connect/proxies.mjs.map +1 -0
  136. package/resources/connect/users.d.mts +392 -0
  137. package/resources/connect/users.d.mts.map +1 -0
  138. package/resources/connect/users.d.ts +392 -0
  139. package/resources/connect/users.d.ts.map +1 -0
  140. package/resources/connect/users.js +59 -0
  141. package/resources/connect/users.js.map +1 -0
  142. package/resources/connect/users.mjs +55 -0
  143. package/resources/connect/users.mjs.map +1 -0
  144. package/resources/connect.d.mts +2 -0
  145. package/resources/connect.d.mts.map +1 -0
  146. package/resources/connect.d.ts +2 -0
  147. package/resources/connect.d.ts.map +1 -0
  148. package/resources/connect.js +6 -0
  149. package/resources/connect.js.map +1 -0
  150. package/resources/connect.mjs +3 -0
  151. package/resources/connect.mjs.map +1 -0
  152. package/resources/credentials/credentials.d.mts +3 -1
  153. package/resources/credentials/credentials.d.mts.map +1 -1
  154. package/resources/credentials/credentials.d.ts +3 -1
  155. package/resources/credentials/credentials.d.ts.map +1 -1
  156. package/resources/credentials/credentials.js +3 -1
  157. package/resources/credentials/credentials.js.map +1 -1
  158. package/resources/credentials/credentials.mjs +3 -1
  159. package/resources/credentials/credentials.mjs.map +1 -1
  160. package/resources/credentials/index.d.mts.map +1 -1
  161. package/resources/credentials/index.d.ts.map +1 -1
  162. package/resources/credentials/index.mjs.map +1 -1
  163. package/resources/credentials/packages/credentials/credentials.d.mts +14 -4
  164. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  165. package/resources/credentials/packages/credentials/credentials.d.ts +14 -4
  166. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  167. package/resources/credentials/packages/credentials/credentials.js +7 -3
  168. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  169. package/resources/credentials/packages/credentials/credentials.mjs +7 -3
  170. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  171. package/resources/credentials/packages/credentials/fields.d.mts +8 -3
  172. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  173. package/resources/credentials/packages/credentials/fields.d.ts +8 -3
  174. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  175. package/resources/credentials/packages/credentials/fields.js +8 -3
  176. package/resources/credentials/packages/credentials/fields.js.map +1 -1
  177. package/resources/credentials/packages/credentials/fields.mjs +8 -3
  178. package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
  179. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  180. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  181. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  182. package/resources/credentials/packages/credentials.d.mts.map +1 -1
  183. package/resources/credentials/packages/credentials.d.ts.map +1 -1
  184. package/resources/credentials/packages/credentials.mjs.map +1 -1
  185. package/resources/credentials/packages/index.d.mts.map +1 -1
  186. package/resources/credentials/packages/index.d.ts.map +1 -1
  187. package/resources/credentials/packages/index.mjs.map +1 -1
  188. package/resources/credentials/packages/packages.d.mts +5 -2
  189. package/resources/credentials/packages/packages.d.mts.map +1 -1
  190. package/resources/credentials/packages/packages.d.ts +5 -2
  191. package/resources/credentials/packages/packages.d.ts.map +1 -1
  192. package/resources/credentials/packages/packages.js +5 -2
  193. package/resources/credentials/packages/packages.js.map +1 -1
  194. package/resources/credentials/packages/packages.mjs +5 -2
  195. package/resources/credentials/packages/packages.mjs.map +1 -1
  196. package/resources/credentials/packages.d.mts.map +1 -1
  197. package/resources/credentials/packages.d.ts.map +1 -1
  198. package/resources/credentials/packages.mjs.map +1 -1
  199. package/resources/credentials.d.mts.map +1 -1
  200. package/resources/credentials.d.ts.map +1 -1
  201. package/resources/credentials.mjs.map +1 -1
  202. package/resources/devices/actions.d.mts +10 -5
  203. package/resources/devices/actions.d.mts.map +1 -1
  204. package/resources/devices/actions.d.ts +10 -5
  205. package/resources/devices/actions.d.ts.map +1 -1
  206. package/resources/devices/actions.js +10 -5
  207. package/resources/devices/actions.js.map +1 -1
  208. package/resources/devices/actions.mjs +10 -5
  209. package/resources/devices/actions.mjs.map +1 -1
  210. package/resources/devices/apps.d.mts +78 -24
  211. package/resources/devices/apps.d.mts.map +1 -1
  212. package/resources/devices/apps.d.ts +78 -24
  213. package/resources/devices/apps.d.ts.map +1 -1
  214. package/resources/devices/apps.js +38 -22
  215. package/resources/devices/apps.js.map +1 -1
  216. package/resources/devices/apps.mjs +38 -22
  217. package/resources/devices/apps.mjs.map +1 -1
  218. package/resources/devices/devices.d.mts +168 -41
  219. package/resources/devices/devices.d.mts.map +1 -1
  220. package/resources/devices/devices.d.ts +168 -41
  221. package/resources/devices/devices.d.ts.map +1 -1
  222. package/resources/devices/devices.js +86 -27
  223. package/resources/devices/devices.js.map +1 -1
  224. package/resources/devices/devices.mjs +86 -27
  225. package/resources/devices/devices.mjs.map +1 -1
  226. package/resources/devices/esim.d.mts +14 -6
  227. package/resources/devices/esim.d.mts.map +1 -1
  228. package/resources/devices/esim.d.ts +14 -6
  229. package/resources/devices/esim.d.ts.map +1 -1
  230. package/resources/devices/esim.js +6 -4
  231. package/resources/devices/esim.js.map +1 -1
  232. package/resources/devices/esim.mjs +6 -4
  233. package/resources/devices/esim.mjs.map +1 -1
  234. package/resources/devices/files.d.mts +7 -4
  235. package/resources/devices/files.d.mts.map +1 -1
  236. package/resources/devices/files.d.ts +7 -4
  237. package/resources/devices/files.d.ts.map +1 -1
  238. package/resources/devices/files.js +7 -4
  239. package/resources/devices/files.js.map +1 -1
  240. package/resources/devices/files.mjs +7 -4
  241. package/resources/devices/files.mjs.map +1 -1
  242. package/resources/devices/index.d.mts +6 -5
  243. package/resources/devices/index.d.mts.map +1 -1
  244. package/resources/devices/index.d.ts +6 -5
  245. package/resources/devices/index.d.ts.map +1 -1
  246. package/resources/devices/index.js +5 -3
  247. package/resources/devices/index.js.map +1 -1
  248. package/resources/devices/index.mjs +3 -2
  249. package/resources/devices/index.mjs.map +1 -1
  250. package/resources/devices/keyboard.d.mts +10 -3
  251. package/resources/devices/keyboard.d.mts.map +1 -1
  252. package/resources/devices/keyboard.d.ts +10 -3
  253. package/resources/devices/keyboard.d.ts.map +1 -1
  254. package/resources/devices/keyboard.js +5 -3
  255. package/resources/devices/keyboard.js.map +1 -1
  256. package/resources/devices/keyboard.mjs +5 -3
  257. package/resources/devices/keyboard.mjs.map +1 -1
  258. package/resources/devices/language.d.mts +45 -0
  259. package/resources/devices/language.d.mts.map +1 -0
  260. package/resources/devices/language.d.ts +45 -0
  261. package/resources/devices/language.d.ts.map +1 -0
  262. package/resources/devices/language.js +49 -0
  263. package/resources/devices/language.js.map +1 -0
  264. package/resources/devices/language.mjs +45 -0
  265. package/resources/devices/language.mjs.map +1 -0
  266. package/resources/devices/location.d.mts +7 -12
  267. package/resources/devices/location.d.mts.map +1 -1
  268. package/resources/devices/location.d.ts +7 -12
  269. package/resources/devices/location.d.ts.map +1 -1
  270. package/resources/devices/location.js +4 -2
  271. package/resources/devices/location.js.map +1 -1
  272. package/resources/devices/location.mjs +4 -2
  273. package/resources/devices/location.mjs.map +1 -1
  274. package/resources/devices/packages.d.mts +2 -1
  275. package/resources/devices/packages.d.mts.map +1 -1
  276. package/resources/devices/packages.d.ts +2 -1
  277. package/resources/devices/packages.d.ts.map +1 -1
  278. package/resources/devices/packages.js +2 -1
  279. package/resources/devices/packages.js.map +1 -1
  280. package/resources/devices/packages.mjs +2 -1
  281. package/resources/devices/packages.mjs.map +1 -1
  282. package/resources/devices/profile.d.mts.map +1 -1
  283. package/resources/devices/profile.d.ts.map +1 -1
  284. package/resources/devices/profile.mjs.map +1 -1
  285. package/resources/devices/proxy.d.mts +31 -10
  286. package/resources/devices/proxy.d.mts.map +1 -1
  287. package/resources/devices/proxy.d.ts +31 -10
  288. package/resources/devices/proxy.d.ts.map +1 -1
  289. package/resources/devices/proxy.js +7 -3
  290. package/resources/devices/proxy.js.map +1 -1
  291. package/resources/devices/proxy.mjs +7 -3
  292. package/resources/devices/proxy.mjs.map +1 -1
  293. package/resources/devices/state.d.mts +44 -5
  294. package/resources/devices/state.d.mts.map +1 -1
  295. package/resources/devices/state.d.ts +44 -5
  296. package/resources/devices/state.d.ts.map +1 -1
  297. package/resources/devices/state.js +22 -2
  298. package/resources/devices/state.js.map +1 -1
  299. package/resources/devices/state.mjs +22 -2
  300. package/resources/devices/state.mjs.map +1 -1
  301. package/resources/devices/tasks.d.mts +4 -9
  302. package/resources/devices/tasks.d.mts.map +1 -1
  303. package/resources/devices/tasks.d.ts +4 -9
  304. package/resources/devices/tasks.d.ts.map +1 -1
  305. package/resources/devices/tasks.js +2 -1
  306. package/resources/devices/tasks.js.map +1 -1
  307. package/resources/devices/tasks.mjs +2 -1
  308. package/resources/devices/tasks.mjs.map +1 -1
  309. package/resources/devices/timezone.d.mts +39 -0
  310. package/resources/devices/timezone.d.mts.map +1 -0
  311. package/resources/devices/timezone.d.ts +39 -0
  312. package/resources/devices/timezone.d.ts.map +1 -0
  313. package/resources/devices/{time.js → timezone.js} +15 -30
  314. package/resources/devices/timezone.js.map +1 -0
  315. package/resources/devices/{time.mjs → timezone.mjs} +13 -28
  316. package/resources/devices/timezone.mjs.map +1 -0
  317. package/resources/devices.d.mts.map +1 -1
  318. package/resources/devices.d.ts.map +1 -1
  319. package/resources/devices.mjs.map +1 -1
  320. package/resources/hooks.d.mts +0 -208
  321. package/resources/hooks.d.mts.map +1 -1
  322. package/resources/hooks.d.ts +0 -208
  323. package/resources/hooks.d.ts.map +1 -1
  324. package/resources/hooks.js +0 -51
  325. package/resources/hooks.js.map +1 -1
  326. package/resources/hooks.mjs +0 -51
  327. package/resources/hooks.mjs.map +1 -1
  328. package/resources/index.d.mts +9 -7
  329. package/resources/index.d.mts.map +1 -1
  330. package/resources/index.d.ts +9 -7
  331. package/resources/index.d.ts.map +1 -1
  332. package/resources/index.js +7 -3
  333. package/resources/index.js.map +1 -1
  334. package/resources/index.mjs +5 -3
  335. package/resources/index.mjs.map +1 -1
  336. package/resources/models.d.mts +3 -0
  337. package/resources/models.d.mts.map +1 -1
  338. package/resources/models.d.ts +3 -0
  339. package/resources/models.d.ts.map +1 -1
  340. package/resources/models.js +3 -0
  341. package/resources/models.js.map +1 -1
  342. package/resources/models.mjs +3 -0
  343. package/resources/models.mjs.map +1 -1
  344. package/resources/profiles.d.mts +69 -6
  345. package/resources/profiles.d.mts.map +1 -1
  346. package/resources/profiles.d.ts +69 -6
  347. package/resources/profiles.d.ts.map +1 -1
  348. package/resources/profiles.js.map +1 -1
  349. package/resources/profiles.mjs.map +1 -1
  350. package/resources/proxies.d.mts +101 -6
  351. package/resources/proxies.d.mts.map +1 -1
  352. package/resources/proxies.d.ts +101 -6
  353. package/resources/proxies.d.ts.map +1 -1
  354. package/resources/proxies.js +20 -5
  355. package/resources/proxies.js.map +1 -1
  356. package/resources/proxies.mjs +20 -5
  357. package/resources/proxies.mjs.map +1 -1
  358. package/resources/shared.d.mts +32 -7
  359. package/resources/shared.d.mts.map +1 -1
  360. package/resources/shared.d.ts +32 -7
  361. package/resources/shared.d.ts.map +1 -1
  362. package/resources/tasks/index.d.mts.map +1 -1
  363. package/resources/tasks/index.d.ts.map +1 -1
  364. package/resources/tasks/index.mjs.map +1 -1
  365. package/resources/tasks/screenshots.d.mts.map +1 -1
  366. package/resources/tasks/screenshots.d.ts.map +1 -1
  367. package/resources/tasks/screenshots.mjs.map +1 -1
  368. package/resources/tasks/tasks.d.mts +220 -64
  369. package/resources/tasks/tasks.d.mts.map +1 -1
  370. package/resources/tasks/tasks.d.ts +220 -64
  371. package/resources/tasks/tasks.d.ts.map +1 -1
  372. package/resources/tasks/tasks.js +10 -2
  373. package/resources/tasks/tasks.js.map +1 -1
  374. package/resources/tasks/tasks.mjs +10 -2
  375. package/resources/tasks/tasks.mjs.map +1 -1
  376. package/resources/tasks/ui-states.d.mts.map +1 -1
  377. package/resources/tasks/ui-states.d.ts.map +1 -1
  378. package/resources/tasks/ui-states.mjs.map +1 -1
  379. package/resources/tasks.d.mts.map +1 -1
  380. package/resources/tasks.d.ts.map +1 -1
  381. package/resources/tasks.mjs.map +1 -1
  382. package/resources/webhooks/deliveries.d.mts +207 -0
  383. package/resources/webhooks/deliveries.d.mts.map +1 -0
  384. package/resources/webhooks/deliveries.d.ts +207 -0
  385. package/resources/webhooks/deliveries.d.ts.map +1 -0
  386. package/resources/webhooks/deliveries.js +73 -0
  387. package/resources/webhooks/deliveries.js.map +1 -0
  388. package/resources/webhooks/deliveries.mjs +69 -0
  389. package/resources/webhooks/deliveries.mjs.map +1 -0
  390. package/resources/webhooks/index.d.mts +3 -0
  391. package/resources/webhooks/index.d.mts.map +1 -0
  392. package/resources/webhooks/index.d.ts +3 -0
  393. package/resources/webhooks/index.d.ts.map +1 -0
  394. package/resources/webhooks/index.js +9 -0
  395. package/resources/webhooks/index.js.map +1 -0
  396. package/resources/webhooks/index.mjs +4 -0
  397. package/resources/webhooks/index.mjs.map +1 -0
  398. package/resources/webhooks/webhooks.d.mts +329 -0
  399. package/resources/webhooks/webhooks.d.mts.map +1 -0
  400. package/resources/webhooks/webhooks.d.ts +329 -0
  401. package/resources/webhooks/webhooks.d.ts.map +1 -0
  402. package/resources/webhooks/webhooks.js +140 -0
  403. package/resources/webhooks/webhooks.js.map +1 -0
  404. package/resources/webhooks/webhooks.mjs +135 -0
  405. package/resources/webhooks/webhooks.mjs.map +1 -0
  406. package/resources/webhooks.d.mts +2 -0
  407. package/resources/webhooks.d.mts.map +1 -0
  408. package/resources/webhooks.d.ts +2 -0
  409. package/resources/webhooks.d.ts.map +1 -0
  410. package/resources/webhooks.js +6 -0
  411. package/resources/webhooks.js.map +1 -0
  412. package/resources/webhooks.mjs +3 -0
  413. package/resources/webhooks.mjs.map +1 -0
  414. package/resources/workflows/action-catalog.d.mts +43 -0
  415. package/resources/workflows/action-catalog.d.mts.map +1 -0
  416. package/resources/workflows/action-catalog.d.ts +43 -0
  417. package/resources/workflows/action-catalog.d.ts.map +1 -0
  418. package/resources/workflows/action-catalog.js +25 -0
  419. package/resources/workflows/action-catalog.js.map +1 -0
  420. package/resources/workflows/action-catalog.mjs +21 -0
  421. package/resources/workflows/action-catalog.mjs.map +1 -0
  422. package/resources/workflows/actions/actions.d.mts +96 -0
  423. package/resources/workflows/actions/actions.d.mts.map +1 -0
  424. package/resources/workflows/actions/actions.d.ts +96 -0
  425. package/resources/workflows/actions/actions.d.ts.map +1 -0
  426. package/resources/workflows/actions/actions.js +53 -0
  427. package/resources/workflows/actions/actions.js.map +1 -0
  428. package/resources/workflows/actions/actions.mjs +48 -0
  429. package/resources/workflows/actions/actions.mjs.map +1 -0
  430. package/resources/workflows/actions/index.d.mts +3 -0
  431. package/resources/workflows/actions/index.d.mts.map +1 -0
  432. package/resources/workflows/actions/index.d.ts +3 -0
  433. package/resources/workflows/actions/index.d.ts.map +1 -0
  434. package/resources/workflows/actions/index.js +9 -0
  435. package/resources/workflows/actions/index.js.map +1 -0
  436. package/resources/workflows/actions/index.mjs +4 -0
  437. package/resources/workflows/actions/index.mjs.map +1 -0
  438. package/resources/workflows/actions/services.d.mts +42 -0
  439. package/resources/workflows/actions/services.d.mts.map +1 -0
  440. package/resources/workflows/actions/services.d.ts +42 -0
  441. package/resources/workflows/actions/services.d.ts.map +1 -0
  442. package/resources/workflows/actions/services.js +25 -0
  443. package/resources/workflows/actions/services.js.map +1 -0
  444. package/resources/workflows/actions/services.mjs +21 -0
  445. package/resources/workflows/actions/services.mjs.map +1 -0
  446. package/resources/workflows/actions.d.mts +2 -0
  447. package/resources/workflows/actions.d.mts.map +1 -0
  448. package/resources/workflows/actions.d.ts +2 -0
  449. package/resources/workflows/actions.d.ts.map +1 -0
  450. package/resources/workflows/actions.js +6 -0
  451. package/resources/workflows/actions.js.map +1 -0
  452. package/resources/workflows/actions.mjs +3 -0
  453. package/resources/workflows/actions.mjs.map +1 -0
  454. package/resources/workflows/events/catalog.d.mts +4 -0
  455. package/resources/workflows/events/catalog.d.mts.map +1 -0
  456. package/resources/workflows/events/catalog.d.ts +4 -0
  457. package/resources/workflows/events/catalog.d.ts.map +1 -0
  458. package/resources/workflows/events/catalog.js +9 -0
  459. package/resources/workflows/events/catalog.js.map +1 -0
  460. package/resources/workflows/events/catalog.mjs +5 -0
  461. package/resources/workflows/events/catalog.mjs.map +1 -0
  462. package/resources/workflows/events/events.d.mts +113 -0
  463. package/resources/workflows/events/events.d.mts.map +1 -0
  464. package/resources/workflows/events/events.d.ts +113 -0
  465. package/resources/workflows/events/events.d.ts.map +1 -0
  466. package/resources/workflows/events/events.js +30 -0
  467. package/resources/workflows/events/events.js.map +1 -0
  468. package/resources/workflows/events/events.mjs +25 -0
  469. package/resources/workflows/events/events.mjs.map +1 -0
  470. package/resources/workflows/events/index.d.mts +3 -0
  471. package/resources/workflows/events/index.d.mts.map +1 -0
  472. package/resources/workflows/events/index.d.ts +3 -0
  473. package/resources/workflows/events/index.d.ts.map +1 -0
  474. package/resources/workflows/events/index.js +9 -0
  475. package/resources/workflows/events/index.js.map +1 -0
  476. package/resources/workflows/events/index.mjs +4 -0
  477. package/resources/workflows/events/index.mjs.map +1 -0
  478. package/resources/workflows/events.d.mts +2 -0
  479. package/resources/workflows/events.d.mts.map +1 -0
  480. package/resources/workflows/events.d.ts +2 -0
  481. package/resources/workflows/events.d.ts.map +1 -0
  482. package/resources/workflows/events.js +6 -0
  483. package/resources/workflows/events.js.map +1 -0
  484. package/resources/workflows/events.mjs +3 -0
  485. package/resources/workflows/events.mjs.map +1 -0
  486. package/resources/workflows/executions.d.mts +121 -0
  487. package/resources/workflows/executions.d.mts.map +1 -0
  488. package/resources/workflows/executions.d.ts +121 -0
  489. package/resources/workflows/executions.d.ts.map +1 -0
  490. package/resources/workflows/executions.js +33 -0
  491. package/resources/workflows/executions.js.map +1 -0
  492. package/resources/workflows/executions.mjs +29 -0
  493. package/resources/workflows/executions.mjs.map +1 -0
  494. package/resources/workflows/flows/actions.d.mts +89 -0
  495. package/resources/workflows/flows/actions.d.mts.map +1 -0
  496. package/resources/workflows/flows/actions.d.ts +89 -0
  497. package/resources/workflows/flows/actions.d.ts.map +1 -0
  498. package/resources/workflows/flows/actions.js +43 -0
  499. package/resources/workflows/flows/actions.js.map +1 -0
  500. package/resources/workflows/flows/actions.mjs +39 -0
  501. package/resources/workflows/flows/actions.mjs.map +1 -0
  502. package/resources/workflows/flows/flows.d.mts +154 -0
  503. package/resources/workflows/flows/flows.d.mts.map +1 -0
  504. package/resources/workflows/flows/flows.d.ts +154 -0
  505. package/resources/workflows/flows/flows.d.ts.map +1 -0
  506. package/resources/workflows/flows/flows.js +73 -0
  507. package/resources/workflows/flows/flows.js.map +1 -0
  508. package/resources/workflows/flows/flows.mjs +68 -0
  509. package/resources/workflows/flows/flows.mjs.map +1 -0
  510. package/resources/workflows/flows/index.d.mts +3 -0
  511. package/resources/workflows/flows/index.d.mts.map +1 -0
  512. package/resources/workflows/flows/index.d.ts +3 -0
  513. package/resources/workflows/flows/index.d.ts.map +1 -0
  514. package/resources/workflows/flows/index.js +9 -0
  515. package/resources/workflows/flows/index.js.map +1 -0
  516. package/resources/workflows/flows/index.mjs +4 -0
  517. package/resources/workflows/flows/index.mjs.map +1 -0
  518. package/resources/workflows/flows.d.mts +2 -0
  519. package/resources/workflows/flows.d.mts.map +1 -0
  520. package/resources/workflows/flows.d.ts +2 -0
  521. package/resources/workflows/flows.d.ts.map +1 -0
  522. package/resources/workflows/flows.js +6 -0
  523. package/resources/workflows/flows.js.map +1 -0
  524. package/resources/workflows/flows.mjs +3 -0
  525. package/resources/workflows/flows.mjs.map +1 -0
  526. package/resources/workflows/index.d.mts +9 -0
  527. package/resources/workflows/index.d.mts.map +1 -0
  528. package/resources/workflows/index.d.ts +9 -0
  529. package/resources/workflows/index.d.ts.map +1 -0
  530. package/resources/workflows/index.js +21 -0
  531. package/resources/workflows/index.js.map +1 -0
  532. package/resources/workflows/index.mjs +10 -0
  533. package/resources/workflows/index.mjs.map +1 -0
  534. package/resources/workflows/timezones.d.mts +16 -0
  535. package/resources/workflows/timezones.d.mts.map +1 -0
  536. package/resources/workflows/timezones.d.ts +16 -0
  537. package/resources/workflows/timezones.d.ts.map +1 -0
  538. package/resources/workflows/timezones.js +15 -0
  539. package/resources/workflows/timezones.js.map +1 -0
  540. package/resources/workflows/timezones.mjs +11 -0
  541. package/resources/workflows/timezones.mjs.map +1 -0
  542. package/resources/workflows/triggers.d.mts +325 -0
  543. package/resources/workflows/triggers.d.mts.map +1 -0
  544. package/resources/workflows/triggers.d.ts +325 -0
  545. package/resources/workflows/triggers.d.ts.map +1 -0
  546. package/resources/workflows/triggers.js +69 -0
  547. package/resources/workflows/triggers.js.map +1 -0
  548. package/resources/workflows/triggers.mjs +65 -0
  549. package/resources/workflows/triggers.mjs.map +1 -0
  550. package/resources/workflows/workflows.d.mts +72 -0
  551. package/resources/workflows/workflows.d.mts.map +1 -0
  552. package/resources/workflows/workflows.d.ts +72 -0
  553. package/resources/workflows/workflows.d.ts.map +1 -0
  554. package/resources/workflows/workflows.js +41 -0
  555. package/resources/workflows/workflows.js.map +1 -0
  556. package/resources/workflows/workflows.mjs +36 -0
  557. package/resources/workflows/workflows.mjs.map +1 -0
  558. package/resources/workflows.d.mts +2 -0
  559. package/resources/workflows.d.mts.map +1 -0
  560. package/resources/workflows.d.ts +2 -0
  561. package/resources/workflows.d.ts.map +1 -0
  562. package/resources/workflows.js +6 -0
  563. package/resources/workflows.js.map +1 -0
  564. package/resources/workflows.mjs +3 -0
  565. package/resources/workflows.mjs.map +1 -0
  566. package/resources.d.mts.map +1 -1
  567. package/resources.d.ts.map +1 -1
  568. package/resources.mjs.map +1 -1
  569. package/src/client.ts +163 -96
  570. package/src/internal/types.ts +6 -8
  571. package/src/internal/utils/log.ts +2 -0
  572. package/src/resources/apps.ts +553 -28
  573. package/src/resources/carriers.ts +188 -7
  574. package/src/resources/connect/connect.ts +73 -0
  575. package/src/resources/connect/countries.ts +106 -0
  576. package/src/resources/connect/index.ts +27 -0
  577. package/src/resources/connect/proxies.ts +598 -0
  578. package/src/resources/connect/users.ts +517 -0
  579. package/src/resources/connect.ts +3 -0
  580. package/src/resources/credentials/credentials.ts +3 -1
  581. package/src/resources/credentials/packages/credentials/credentials.ts +16 -4
  582. package/src/resources/credentials/packages/credentials/fields.ts +8 -3
  583. package/src/resources/credentials/packages/packages.ts +5 -2
  584. package/src/resources/devices/actions.ts +10 -5
  585. package/src/resources/devices/apps.ts +104 -42
  586. package/src/resources/devices/devices.ts +307 -103
  587. package/src/resources/devices/esim.ts +15 -6
  588. package/src/resources/devices/files.ts +7 -4
  589. package/src/resources/devices/index.ts +17 -13
  590. package/src/resources/devices/keyboard.ts +11 -3
  591. package/src/resources/devices/language.ts +93 -0
  592. package/src/resources/devices/location.ts +7 -19
  593. package/src/resources/devices/packages.ts +2 -1
  594. package/src/resources/devices/proxy.ts +34 -11
  595. package/src/resources/devices/state.ts +89 -5
  596. package/src/resources/devices/tasks.ts +4 -12
  597. package/src/resources/devices/{time.ts → timezone.ts} +24 -52
  598. package/src/resources/hooks.ts +1 -292
  599. package/src/resources/index.ts +39 -18
  600. package/src/resources/models.ts +3 -0
  601. package/src/resources/profiles.ts +105 -6
  602. package/src/resources/proxies.ts +124 -5
  603. package/src/resources/shared.ts +46 -10
  604. package/src/resources/tasks/tasks.ts +295 -77
  605. package/src/resources/webhooks/deliveries.ts +323 -0
  606. package/src/resources/webhooks/index.ts +26 -0
  607. package/src/resources/webhooks/webhooks.ts +503 -0
  608. package/src/resources/webhooks.ts +3 -0
  609. package/src/resources/workflows/action-catalog.ts +74 -0
  610. package/src/resources/workflows/actions/actions.ts +167 -0
  611. package/src/resources/workflows/actions/index.ts +15 -0
  612. package/src/resources/workflows/actions/services.ts +64 -0
  613. package/src/resources/workflows/actions.ts +3 -0
  614. package/src/resources/workflows/events/catalog.ts +5 -0
  615. package/src/resources/workflows/events/events.ts +167 -0
  616. package/src/resources/workflows/events/index.ts +10 -0
  617. package/src/resources/workflows/events.ts +3 -0
  618. package/src/resources/workflows/executions.ts +194 -0
  619. package/src/resources/workflows/flows/actions.ts +149 -0
  620. package/src/resources/workflows/flows/flows.ts +284 -0
  621. package/src/resources/workflows/flows/index.ts +29 -0
  622. package/src/resources/workflows/flows.ts +3 -0
  623. package/src/resources/workflows/index.ts +68 -0
  624. package/src/resources/workflows/timezones.ts +22 -0
  625. package/src/resources/workflows/triggers.ts +471 -0
  626. package/src/resources/workflows/workflows.ts +239 -0
  627. package/src/resources/workflows.ts +3 -0
  628. package/src/version.ts +1 -1
  629. package/uploads.d.mts +1 -0
  630. package/uploads.d.mts.map +1 -1
  631. package/uploads.d.ts +1 -0
  632. package/uploads.d.ts.map +1 -1
  633. package/uploads.mjs +1 -0
  634. package/uploads.mjs.map +1 -1
  635. package/version.d.mts +1 -1
  636. package/version.d.ts +1 -1
  637. package/version.js +1 -1
  638. package/version.mjs +1 -1
  639. package/resources/agents.d.mts +0 -30
  640. package/resources/agents.d.mts.map +0 -1
  641. package/resources/agents.d.ts +0 -30
  642. package/resources/agents.d.ts.map +0 -1
  643. package/resources/agents.js +0 -18
  644. package/resources/agents.js.map +0 -1
  645. package/resources/agents.mjs +0 -14
  646. package/resources/agents.mjs.map +0 -1
  647. package/resources/devices/time.d.mts +0 -45
  648. package/resources/devices/time.d.mts.map +0 -1
  649. package/resources/devices/time.d.ts +0 -45
  650. package/resources/devices/time.d.ts.map +0 -1
  651. package/resources/devices/time.js.map +0 -1
  652. package/resources/devices/time.mjs.map +0 -1
  653. package/src/resources/agents.ts +0 -45
@@ -1,212 +1,4 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
- import * as Shared from "./shared.mjs";
3
- import * as TasksAPI from "./tasks/tasks.mjs";
4
- import { APIPromise } from "../core/api-promise.mjs";
5
- import { RequestOptions } from "../internal/request-options.mjs";
6
- /**
7
- * Webhooks API
8
- */
9
2
  export declare class Hooks extends APIResource {
10
- /**
11
- * Get a hook subscription by id.
12
- */
13
- retrieve(hookID: string, options?: RequestOptions): APIPromise<HookRetrieveResponse>;
14
- /**
15
- * Edit a hook subscription (events or state).
16
- *
17
- * Allows updating the events filter and/or the state of a hook.
18
- */
19
- update(hookID: string, body: HookUpdateParams, options?: RequestOptions): APIPromise<HookUpdateResponse>;
20
- /**
21
- * List hooks belonging to the requesting user (paginated).
22
- */
23
- list(query?: HookListParams | null | undefined, options?: RequestOptions): APIPromise<HookListResponse>;
24
- /**
25
- * Get sample hook data for Zapier Perform List (testing/field mapping).
26
- */
27
- getSampleData(options?: RequestOptions): APIPromise<HookGetSampleDataResponse>;
28
- /**
29
- * Zapier Perform endpoint - processes webhook payloads.
30
- */
31
- perform(params: HookPerformParams, options?: RequestOptions): APIPromise<HookPerformResponse>;
32
- /**
33
- * Subscribe the current user to a webhook URL. Returns subscription id.
34
- */
35
- subscribe(body: HookSubscribeParams, options?: RequestOptions): APIPromise<HookSubscribeResponse>;
36
- /**
37
- * Unsubscribe a previously created subscription by id.
38
- *
39
- * Permanently deletes the subscription if it belongs to the user.
40
- */
41
- unsubscribe(hookID: string, options?: RequestOptions): APIPromise<HookUnsubscribeResponse>;
42
- }
43
- export interface HookRetrieveResponse {
44
- service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
45
- url: string;
46
- userId: string;
47
- id?: string;
48
- createdAt?: string;
49
- events?: Array<TasksAPI.TaskStatus>;
50
- state?: 'active' | 'disabled' | 'deleted';
51
- updatedAt?: string;
52
- }
53
- /**
54
- * Response model after successfully editing a hook.
55
- */
56
- export interface HookUpdateResponse {
57
- /**
58
- * The subscription ID
59
- */
60
- id: string;
61
- /**
62
- * The hook state
63
- */
64
- state: string;
65
- /**
66
- * Whether the hook was updated
67
- */
68
- updated: boolean;
69
- /**
70
- * The webhook URL
71
- */
72
- url: string;
73
- /**
74
- * List of subscribed events
75
- */
76
- events?: Array<string> | null;
77
- }
78
- export interface HookListResponse {
79
- /**
80
- * The paginated items
81
- */
82
- items: Array<HookListResponse.Item>;
83
- /**
84
- * Pagination metadata
85
- */
86
- pagination: Shared.PaginationMeta;
87
- }
88
- export declare namespace HookListResponse {
89
- interface Item {
90
- service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
91
- url: string;
92
- userId: string;
93
- id?: string;
94
- createdAt?: string;
95
- events?: Array<TasksAPI.TaskStatus>;
96
- state?: 'active' | 'disabled' | 'deleted';
97
- updatedAt?: string;
98
- }
99
- }
100
- export type HookGetSampleDataResponse = Array<HookGetSampleDataResponse.HookGetSampleDataResponseItem>;
101
- export declare namespace HookGetSampleDataResponse {
102
- /**
103
- * Sample webhook event data for testing/mapping in Zapier.
104
- */
105
- interface HookGetSampleDataResponseItem {
106
- /**
107
- * The subscription ID
108
- */
109
- id: string;
110
- /**
111
- * ISO timestamp of when the subscription was created
112
- */
113
- createdAt: string;
114
- /**
115
- * List of subscribed events
116
- */
117
- events: Array<string>;
118
- /**
119
- * The hook state
120
- */
121
- state: string;
122
- /**
123
- * The webhook URL
124
- */
125
- url: string;
126
- /**
127
- * ISO timestamp of the last update
128
- */
129
- updatedAt?: string | null;
130
- }
131
- }
132
- export type HookPerformResponse = Array<{
133
- [key: string]: unknown;
134
- }>;
135
- /**
136
- * Response model after successful subscription.
137
- */
138
- export interface HookSubscribeResponse {
139
- /**
140
- * The subscription ID
141
- */
142
- id: string;
143
- /**
144
- * Whether subscription was successful
145
- */
146
- subscribed: boolean;
147
- /**
148
- * The webhook URL
149
- */
150
- url: string;
151
- /**
152
- * List of subscribed events
153
- */
154
- events?: Array<string> | null;
155
- /**
156
- * Service that receives the webhook
157
- */
158
- service?: string | null;
159
- }
160
- /**
161
- * Response model after successful unsubscription.
162
- */
163
- export interface HookUnsubscribeResponse {
164
- /**
165
- * The subscription ID
166
- */
167
- id: string;
168
- /**
169
- * Whether unsubscription was successful
170
- */
171
- unsubscribed: boolean;
172
- }
173
- export interface HookUpdateParams {
174
- /**
175
- * Updated list of events to subscribe to
176
- */
177
- events?: Array<string> | null;
178
- /**
179
- * Updated hook state (active, disabled, deleted)
180
- */
181
- state?: string | null;
182
- }
183
- export interface HookListParams {
184
- orderBy?: string | null;
185
- orderByDirection?: 'asc' | 'desc';
186
- page?: number;
187
- pageSize?: number;
188
- }
189
- export interface HookPerformParams {
190
- body: {
191
- [key: string]: unknown;
192
- };
193
- }
194
- export interface HookSubscribeParams {
195
- /**
196
- * The webhook URL to send notifications to
197
- */
198
- targetUrl: string;
199
- /**
200
- * List of task events to subscribe to (created, running, completed, failed,
201
- * cancelled, paused)
202
- */
203
- events?: Array<string> | null;
204
- /**
205
- * Service that receives the webhook
206
- */
207
- service?: string | null;
208
- }
209
- export declare namespace Hooks {
210
- export { type HookRetrieveResponse as HookRetrieveResponse, type HookUpdateResponse as HookUpdateResponse, type HookListResponse as HookListResponse, type HookGetSampleDataResponse as HookGetSampleDataResponse, type HookPerformResponse as HookPerformResponse, type HookSubscribeResponse as HookSubscribeResponse, type HookUnsubscribeResponse as HookUnsubscribeResponse, type HookUpdateParams as HookUpdateParams, type HookListParams as HookListParams, type HookPerformParams as HookPerformParams, type HookSubscribeParams as HookSubscribeParams, };
211
3
  }
212
4
  //# sourceMappingURL=hooks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.mts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIpF;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxG;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,aAAa,CAAC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AAuB,IAAI,uBAAuB,EACvD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"hooks.d.mts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
@@ -1,212 +1,4 @@
1
1
  import { APIResource } from "../core/resource.js";
2
- import * as Shared from "./shared.js";
3
- import * as TasksAPI from "./tasks/tasks.js";
4
- import { APIPromise } from "../core/api-promise.js";
5
- import { RequestOptions } from "../internal/request-options.js";
6
- /**
7
- * Webhooks API
8
- */
9
2
  export declare class Hooks extends APIResource {
10
- /**
11
- * Get a hook subscription by id.
12
- */
13
- retrieve(hookID: string, options?: RequestOptions): APIPromise<HookRetrieveResponse>;
14
- /**
15
- * Edit a hook subscription (events or state).
16
- *
17
- * Allows updating the events filter and/or the state of a hook.
18
- */
19
- update(hookID: string, body: HookUpdateParams, options?: RequestOptions): APIPromise<HookUpdateResponse>;
20
- /**
21
- * List hooks belonging to the requesting user (paginated).
22
- */
23
- list(query?: HookListParams | null | undefined, options?: RequestOptions): APIPromise<HookListResponse>;
24
- /**
25
- * Get sample hook data for Zapier Perform List (testing/field mapping).
26
- */
27
- getSampleData(options?: RequestOptions): APIPromise<HookGetSampleDataResponse>;
28
- /**
29
- * Zapier Perform endpoint - processes webhook payloads.
30
- */
31
- perform(params: HookPerformParams, options?: RequestOptions): APIPromise<HookPerformResponse>;
32
- /**
33
- * Subscribe the current user to a webhook URL. Returns subscription id.
34
- */
35
- subscribe(body: HookSubscribeParams, options?: RequestOptions): APIPromise<HookSubscribeResponse>;
36
- /**
37
- * Unsubscribe a previously created subscription by id.
38
- *
39
- * Permanently deletes the subscription if it belongs to the user.
40
- */
41
- unsubscribe(hookID: string, options?: RequestOptions): APIPromise<HookUnsubscribeResponse>;
42
- }
43
- export interface HookRetrieveResponse {
44
- service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
45
- url: string;
46
- userId: string;
47
- id?: string;
48
- createdAt?: string;
49
- events?: Array<TasksAPI.TaskStatus>;
50
- state?: 'active' | 'disabled' | 'deleted';
51
- updatedAt?: string;
52
- }
53
- /**
54
- * Response model after successfully editing a hook.
55
- */
56
- export interface HookUpdateResponse {
57
- /**
58
- * The subscription ID
59
- */
60
- id: string;
61
- /**
62
- * The hook state
63
- */
64
- state: string;
65
- /**
66
- * Whether the hook was updated
67
- */
68
- updated: boolean;
69
- /**
70
- * The webhook URL
71
- */
72
- url: string;
73
- /**
74
- * List of subscribed events
75
- */
76
- events?: Array<string> | null;
77
- }
78
- export interface HookListResponse {
79
- /**
80
- * The paginated items
81
- */
82
- items: Array<HookListResponse.Item>;
83
- /**
84
- * Pagination metadata
85
- */
86
- pagination: Shared.PaginationMeta;
87
- }
88
- export declare namespace HookListResponse {
89
- interface Item {
90
- service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
91
- url: string;
92
- userId: string;
93
- id?: string;
94
- createdAt?: string;
95
- events?: Array<TasksAPI.TaskStatus>;
96
- state?: 'active' | 'disabled' | 'deleted';
97
- updatedAt?: string;
98
- }
99
- }
100
- export type HookGetSampleDataResponse = Array<HookGetSampleDataResponse.HookGetSampleDataResponseItem>;
101
- export declare namespace HookGetSampleDataResponse {
102
- /**
103
- * Sample webhook event data for testing/mapping in Zapier.
104
- */
105
- interface HookGetSampleDataResponseItem {
106
- /**
107
- * The subscription ID
108
- */
109
- id: string;
110
- /**
111
- * ISO timestamp of when the subscription was created
112
- */
113
- createdAt: string;
114
- /**
115
- * List of subscribed events
116
- */
117
- events: Array<string>;
118
- /**
119
- * The hook state
120
- */
121
- state: string;
122
- /**
123
- * The webhook URL
124
- */
125
- url: string;
126
- /**
127
- * ISO timestamp of the last update
128
- */
129
- updatedAt?: string | null;
130
- }
131
- }
132
- export type HookPerformResponse = Array<{
133
- [key: string]: unknown;
134
- }>;
135
- /**
136
- * Response model after successful subscription.
137
- */
138
- export interface HookSubscribeResponse {
139
- /**
140
- * The subscription ID
141
- */
142
- id: string;
143
- /**
144
- * Whether subscription was successful
145
- */
146
- subscribed: boolean;
147
- /**
148
- * The webhook URL
149
- */
150
- url: string;
151
- /**
152
- * List of subscribed events
153
- */
154
- events?: Array<string> | null;
155
- /**
156
- * Service that receives the webhook
157
- */
158
- service?: string | null;
159
- }
160
- /**
161
- * Response model after successful unsubscription.
162
- */
163
- export interface HookUnsubscribeResponse {
164
- /**
165
- * The subscription ID
166
- */
167
- id: string;
168
- /**
169
- * Whether unsubscription was successful
170
- */
171
- unsubscribed: boolean;
172
- }
173
- export interface HookUpdateParams {
174
- /**
175
- * Updated list of events to subscribe to
176
- */
177
- events?: Array<string> | null;
178
- /**
179
- * Updated hook state (active, disabled, deleted)
180
- */
181
- state?: string | null;
182
- }
183
- export interface HookListParams {
184
- orderBy?: string | null;
185
- orderByDirection?: 'asc' | 'desc';
186
- page?: number;
187
- pageSize?: number;
188
- }
189
- export interface HookPerformParams {
190
- body: {
191
- [key: string]: unknown;
192
- };
193
- }
194
- export interface HookSubscribeParams {
195
- /**
196
- * The webhook URL to send notifications to
197
- */
198
- targetUrl: string;
199
- /**
200
- * List of task events to subscribe to (created, running, completed, failed,
201
- * cancelled, paused)
202
- */
203
- events?: Array<string> | null;
204
- /**
205
- * Service that receives the webhook
206
- */
207
- service?: string | null;
208
- }
209
- export declare namespace Hooks {
210
- export { type HookRetrieveResponse as HookRetrieveResponse, type HookUpdateResponse as HookUpdateResponse, type HookListResponse as HookListResponse, type HookGetSampleDataResponse as HookGetSampleDataResponse, type HookPerformResponse as HookPerformResponse, type HookSubscribeResponse as HookSubscribeResponse, type HookUnsubscribeResponse as HookUnsubscribeResponse, type HookUpdateParams as HookUpdateParams, type HookListParams as HookListParams, type HookPerformParams as HookPerformParams, type HookSubscribeParams as HookSubscribeParams, };
211
3
  }
212
4
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIpF;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxG;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,aAAa,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9E;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAK7F;;OAEG;IACH,SAAS,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjG;;;;OAIG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAG3F;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CA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gB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAElC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CAClC;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAE/C,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
@@ -3,58 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Hooks = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
- const path_1 = require("../internal/utils/path.js");
7
- /**
8
- * Webhooks API
9
- */
10
6
  class Hooks extends resource_1.APIResource {
11
- /**
12
- * Get a hook subscription by id.
13
- */
14
- retrieve(hookID, options) {
15
- return this._client.get((0, path_1.path) `/hooks/${hookID}`, options);
16
- }
17
- /**
18
- * Edit a hook subscription (events or state).
19
- *
20
- * Allows updating the events filter and/or the state of a hook.
21
- */
22
- update(hookID, body, options) {
23
- return this._client.post((0, path_1.path) `/hooks/${hookID}/edit`, { body, ...options });
24
- }
25
- /**
26
- * List hooks belonging to the requesting user (paginated).
27
- */
28
- list(query = {}, options) {
29
- return this._client.get('/hooks', { query, ...options });
30
- }
31
- /**
32
- * Get sample hook data for Zapier Perform List (testing/field mapping).
33
- */
34
- getSampleData(options) {
35
- return this._client.get('/hooks/sample', options);
36
- }
37
- /**
38
- * Zapier Perform endpoint - processes webhook payloads.
39
- */
40
- perform(params, options) {
41
- const { body } = params;
42
- return this._client.post('/hooks/perform', { body: body, ...options });
43
- }
44
- /**
45
- * Subscribe the current user to a webhook URL. Returns subscription id.
46
- */
47
- subscribe(body, options) {
48
- return this._client.post('/hooks/subscribe', { body, ...options });
49
- }
50
- /**
51
- * Unsubscribe a previously created subscription by id.
52
- *
53
- * Permanently deletes the subscription if it belongs to the user.
54
- */
55
- unsubscribe(hookID, options) {
56
- return this._client.post((0, path_1.path) `/hooks/${hookID}/unsubscribe`, options);
57
- }
58
7
  }
59
8
  exports.Hooks = Hooks;
60
9
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;;;OAIG;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,sBAAW;CAAG;AAAzC,sBAAyC"}
@@ -1,56 +1,5 @@
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 { path } from "../internal/utils/path.mjs";
4
- /**
5
- * Webhooks API
6
- */
7
3
  export class Hooks extends APIResource {
8
- /**
9
- * Get a hook subscription by id.
10
- */
11
- retrieve(hookID, options) {
12
- return this._client.get(path `/hooks/${hookID}`, options);
13
- }
14
- /**
15
- * Edit a hook subscription (events or state).
16
- *
17
- * Allows updating the events filter and/or the state of a hook.
18
- */
19
- update(hookID, body, options) {
20
- return this._client.post(path `/hooks/${hookID}/edit`, { body, ...options });
21
- }
22
- /**
23
- * List hooks belonging to the requesting user (paginated).
24
- */
25
- list(query = {}, options) {
26
- return this._client.get('/hooks', { query, ...options });
27
- }
28
- /**
29
- * Get sample hook data for Zapier Perform List (testing/field mapping).
30
- */
31
- getSampleData(options) {
32
- return this._client.get('/hooks/sample', options);
33
- }
34
- /**
35
- * Zapier Perform endpoint - processes webhook payloads.
36
- */
37
- perform(params, options) {
38
- const { body } = params;
39
- return this._client.post('/hooks/perform', { body: body, ...options });
40
- }
41
- /**
42
- * Subscribe the current user to a webhook URL. Returns subscription id.
43
- */
44
- subscribe(body, options) {
45
- return this._client.post('/hooks/subscribe', { body, ...options });
46
- }
47
- /**
48
- * Unsubscribe a previously created subscription by id.
49
- *
50
- * Permanently deletes the subscription if it belongs to the user.
51
- */
52
- unsubscribe(hookID, options) {
53
- return this._client.post(path `/hooks/${hookID}/unsubscribe`, options);
54
- }
55
4
  }
56
5
  //# sourceMappingURL=hooks.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.mjs","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OA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xE,CAAC;CACF"}
1
+ {"version":3,"file":"hooks.mjs","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
@@ -1,12 +1,14 @@
1
1
  export * from "./shared.mjs";
2
- export { Agents, type AgentListResponse } from "./agents.mjs";
3
- export { Apps, type AppListResponse, type AppListParams } from "./apps.mjs";
4
- export { Carriers, type Carrier, type CarrierListResponse, type CarrierDeleteResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.mjs";
2
+ export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.mjs";
3
+ export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.mjs";
4
+ export { Connect } from "./connect/connect.mjs";
5
5
  export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.mjs";
6
- export { Devices, type Device, type DeviceListResponse, type DeviceCountResponse, type DeviceCreateParams, type DeviceListParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
7
- export { Hooks, type HookRetrieveResponse, type HookUpdateResponse, type HookListResponse, type HookGetSampleDataResponse, type HookPerformResponse, type HookSubscribeResponse, type HookUnsubscribeResponse, type HookUpdateParams, type HookListParams, type HookPerformParams, type HookSubscribeParams, } from "./hooks.mjs";
6
+ export { Devices, type Device, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
7
+ export { Hooks } from "./hooks.mjs";
8
8
  export { Models, type ModelListResponse } from "./models.mjs";
9
- export { Profiles, type Profile, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.mjs";
10
- export { Proxies, type ProxyConfig, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, } from "./proxies.mjs";
9
+ export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.mjs";
10
+ export { Proxies, type ProxyConfig, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.mjs";
11
11
  export { Tasks, type PackageCredentials, type Task, type TaskStatus, type UsageResult, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.mjs";
12
+ export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.mjs";
13
+ export { Workflows, type Flow } from "./workflows/workflows.mjs";
12
14
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts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,qBAAiB;AAC1D,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,uBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,sBAAkB;AACnB,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,0BAAsB;AACvB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,KAAK,IAAI,EAAE,kCAA8B"}
@@ -1,12 +1,14 @@
1
1
  export * from "./shared.js";
2
- export { Agents, type AgentListResponse } from "./agents.js";
3
- export { Apps, type AppListResponse, type AppListParams } from "./apps.js";
4
- export { Carriers, type Carrier, type CarrierListResponse, type CarrierDeleteResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.js";
2
+ export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.js";
3
+ export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.js";
4
+ export { Connect } from "./connect/connect.js";
5
5
  export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.js";
6
- export { Devices, type Device, type DeviceListResponse, type DeviceCountResponse, type DeviceCreateParams, type DeviceListParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.js";
7
- export { Hooks, type HookRetrieveResponse, type HookUpdateResponse, type HookListResponse, type HookGetSampleDataResponse, type HookPerformResponse, type HookSubscribeResponse, type HookUnsubscribeResponse, type HookUpdateParams, type HookListParams, type HookPerformParams, type HookSubscribeParams, } from "./hooks.js";
6
+ export { Devices, type Device, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.js";
7
+ export { Hooks } from "./hooks.js";
8
8
  export { Models, type ModelListResponse } from "./models.js";
9
- export { Profiles, type Profile, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.js";
10
- export { Proxies, type ProxyConfig, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, } from "./proxies.js";
9
+ export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.js";
10
+ export { Proxies, type ProxyConfig, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.js";
11
11
  export { Tasks, type PackageCredentials, type Task, type TaskStatus, type UsageResult, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.js";
12
+ export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.js";
13
+ export { Workflows, type Flow } from "./workflows/workflows.js";
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE;OAClC,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE;OAClC,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB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