@composio/client 0.1.0-alpha.1 → 0.1.0-alpha.10

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 (455) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/LICENSE +1 -1
  3. package/README.md +31 -31
  4. package/api-promise.js +2 -15
  5. package/api-promise.js.map +1 -1
  6. package/client.d.mts +28 -25
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +28 -25
  9. package/client.d.ts.map +1 -1
  10. package/client.js +95 -113
  11. package/client.js.map +1 -1
  12. package/client.mjs +88 -83
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts +2 -3
  15. package/core/api-promise.d.mts.map +1 -1
  16. package/core/api-promise.d.ts +2 -3
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.js +4 -14
  19. package/core/api-promise.js.map +1 -1
  20. package/core/api-promise.mjs +1 -11
  21. package/core/api-promise.mjs.map +1 -1
  22. package/core/error.d.mts +2 -3
  23. package/core/error.d.mts.map +1 -1
  24. package/core/error.d.ts +2 -3
  25. package/core/error.d.ts.map +1 -1
  26. package/core/error.js +4 -4
  27. package/core/error.js.map +1 -1
  28. package/core/error.mjs +2 -2
  29. package/core/error.mjs.map +1 -1
  30. package/core/resource.d.mts +3 -3
  31. package/core/resource.d.mts.map +1 -1
  32. package/core/resource.d.ts +3 -3
  33. package/core/resource.d.ts.map +1 -1
  34. package/core/resource.js.map +1 -1
  35. package/core/resource.mjs.map +1 -1
  36. package/error.js +2 -15
  37. package/error.js.map +1 -1
  38. package/index.d.mts +3 -3
  39. package/index.d.mts.map +1 -1
  40. package/index.d.ts +3 -3
  41. package/index.d.ts.map +1 -1
  42. package/index.js +4 -4
  43. package/index.js.map +1 -1
  44. package/index.mjs +3 -3
  45. package/index.mjs.map +1 -1
  46. package/internal/builtin-types.d.mts +0 -2
  47. package/internal/builtin-types.d.mts.map +1 -1
  48. package/internal/builtin-types.d.ts +0 -2
  49. package/internal/builtin-types.d.ts.map +1 -1
  50. package/internal/detect-platform.js.map +1 -1
  51. package/internal/detect-platform.mjs.map +1 -1
  52. package/internal/errors.d.mts.map +1 -1
  53. package/internal/errors.d.ts.map +1 -1
  54. package/internal/errors.js +2 -2
  55. package/internal/errors.js.map +1 -1
  56. package/internal/errors.mjs.map +1 -1
  57. package/internal/headers.d.mts +1 -2
  58. package/internal/headers.d.mts.map +1 -1
  59. package/internal/headers.d.ts +1 -2
  60. package/internal/headers.d.ts.map +1 -1
  61. package/internal/headers.js +3 -1
  62. package/internal/headers.js.map +1 -1
  63. package/internal/headers.mjs +3 -1
  64. package/internal/headers.mjs.map +1 -1
  65. package/internal/parse.d.mts +2 -3
  66. package/internal/parse.d.mts.map +1 -1
  67. package/internal/parse.d.ts +2 -3
  68. package/internal/parse.d.ts.map +1 -1
  69. package/internal/parse.js +1 -2
  70. package/internal/parse.js.map +1 -1
  71. package/internal/parse.mjs.map +1 -1
  72. package/internal/qs/formats.d.mts +6 -0
  73. package/internal/qs/formats.d.mts.map +1 -0
  74. package/internal/qs/formats.d.ts +6 -0
  75. package/internal/qs/formats.d.ts.map +1 -0
  76. package/internal/qs/formats.js +11 -0
  77. package/internal/qs/formats.js.map +1 -0
  78. package/internal/qs/formats.mjs +8 -0
  79. package/internal/qs/formats.mjs.map +1 -0
  80. package/internal/qs/index.d.mts +10 -0
  81. package/internal/qs/index.d.mts.map +1 -0
  82. package/internal/qs/index.d.ts +10 -0
  83. package/internal/qs/index.d.ts.map +1 -0
  84. package/internal/qs/index.js +14 -0
  85. package/internal/qs/index.js.map +1 -0
  86. package/internal/qs/index.mjs +10 -0
  87. package/internal/qs/index.mjs.map +1 -0
  88. package/internal/qs/stringify.d.mts +3 -0
  89. package/internal/qs/stringify.d.mts.map +1 -0
  90. package/internal/qs/stringify.d.ts +3 -0
  91. package/internal/qs/stringify.d.ts.map +1 -0
  92. package/internal/qs/stringify.js +279 -0
  93. package/internal/qs/stringify.js.map +1 -0
  94. package/internal/qs/stringify.mjs +276 -0
  95. package/internal/qs/stringify.mjs.map +1 -0
  96. package/internal/qs/types.d.mts +57 -0
  97. package/internal/qs/types.d.mts.map +1 -0
  98. package/internal/qs/types.d.ts +57 -0
  99. package/internal/qs/types.d.ts.map +1 -0
  100. package/internal/qs/types.js +3 -0
  101. package/internal/qs/types.js.map +1 -0
  102. package/internal/qs/types.mjs +2 -0
  103. package/internal/qs/types.mjs.map +1 -0
  104. package/internal/qs/utils.d.mts +14 -0
  105. package/internal/qs/utils.d.mts.map +1 -0
  106. package/internal/qs/utils.d.ts +14 -0
  107. package/internal/qs/utils.d.ts.map +1 -0
  108. package/internal/qs/utils.js +229 -0
  109. package/internal/qs/utils.js.map +1 -0
  110. package/internal/qs/utils.mjs +217 -0
  111. package/internal/qs/utils.mjs.map +1 -0
  112. package/internal/request-options.d.mts +0 -1
  113. package/internal/request-options.d.mts.map +1 -1
  114. package/internal/request-options.d.ts +0 -1
  115. package/internal/request-options.d.ts.map +1 -1
  116. package/internal/shims.js +6 -7
  117. package/internal/shims.js.map +1 -1
  118. package/internal/shims.mjs +1 -1
  119. package/internal/shims.mjs.map +1 -1
  120. package/internal/to-file.d.mts +0 -1
  121. package/internal/to-file.d.mts.map +1 -1
  122. package/internal/to-file.d.ts +0 -1
  123. package/internal/to-file.d.ts.map +1 -1
  124. package/internal/to-file.js +4 -4
  125. package/internal/to-file.js.map +1 -1
  126. package/internal/to-file.mjs +3 -2
  127. package/internal/to-file.mjs.map +1 -1
  128. package/internal/tslib.js +81 -0
  129. package/internal/tslib.mjs +17 -0
  130. package/internal/types.d.mts +0 -1
  131. package/internal/types.d.mts.map +1 -1
  132. package/internal/types.d.ts +0 -1
  133. package/internal/types.d.ts.map +1 -1
  134. package/internal/uploads.d.mts +5 -7
  135. package/internal/uploads.d.mts.map +1 -1
  136. package/internal/uploads.d.ts +5 -7
  137. package/internal/uploads.d.ts.map +1 -1
  138. package/internal/uploads.js +16 -6
  139. package/internal/uploads.js.map +1 -1
  140. package/internal/uploads.mjs +12 -3
  141. package/internal/uploads.mjs.map +1 -1
  142. package/internal/utils/base64.d.mts.map +1 -1
  143. package/internal/utils/base64.d.ts.map +1 -1
  144. package/internal/utils/base64.js +14 -9
  145. package/internal/utils/base64.js.map +1 -1
  146. package/internal/utils/base64.mjs +15 -10
  147. package/internal/utils/base64.mjs.map +1 -1
  148. package/internal/utils/bytes.d.mts +4 -0
  149. package/internal/utils/bytes.d.mts.map +1 -0
  150. package/internal/utils/bytes.d.ts +4 -0
  151. package/internal/utils/bytes.d.ts.map +1 -0
  152. package/internal/utils/bytes.js +31 -0
  153. package/internal/utils/bytes.js.map +1 -0
  154. package/internal/utils/bytes.mjs +26 -0
  155. package/internal/utils/bytes.mjs.map +1 -0
  156. package/internal/utils/env.d.mts.map +1 -1
  157. package/internal/utils/env.d.ts.map +1 -1
  158. package/internal/utils/env.js.map +1 -1
  159. package/internal/utils/env.mjs.map +1 -1
  160. package/internal/utils/log.d.mts +3 -4
  161. package/internal/utils/log.d.mts.map +1 -1
  162. package/internal/utils/log.d.ts +3 -4
  163. package/internal/utils/log.d.ts.map +1 -1
  164. package/internal/utils/log.js +2 -2
  165. package/internal/utils/log.js.map +1 -1
  166. package/internal/utils/log.mjs.map +1 -1
  167. package/internal/utils/path.d.mts.map +1 -1
  168. package/internal/utils/path.d.ts.map +1 -1
  169. package/internal/utils/path.js +3 -3
  170. package/internal/utils/path.js.map +1 -1
  171. package/internal/utils/path.mjs +2 -2
  172. package/internal/utils/path.mjs.map +1 -1
  173. package/internal/utils/sleep.d.mts.map +1 -1
  174. package/internal/utils/sleep.d.ts.map +1 -1
  175. package/internal/utils/uuid.d.mts +1 -1
  176. package/internal/utils/uuid.d.mts.map +1 -1
  177. package/internal/utils/uuid.d.ts +1 -1
  178. package/internal/utils/uuid.d.ts.map +1 -1
  179. package/internal/utils/uuid.js +1 -2
  180. package/internal/utils/uuid.js.map +1 -1
  181. package/internal/utils/uuid.mjs +1 -2
  182. package/internal/utils/uuid.mjs.map +1 -1
  183. package/internal/utils/values.d.mts.map +1 -1
  184. package/internal/utils/values.d.ts.map +1 -1
  185. package/internal/utils/values.js +10 -10
  186. package/internal/utils/values.js.map +1 -1
  187. package/internal/utils/values.mjs +6 -6
  188. package/internal/utils/values.mjs.map +1 -1
  189. package/internal/utils.js +7 -20
  190. package/internal/utils.js.map +1 -1
  191. package/package.json +5 -9
  192. package/resource.js +2 -15
  193. package/resource.js.map +1 -1
  194. package/resources/auth-configs.d.mts +75 -23
  195. package/resources/auth-configs.d.mts.map +1 -1
  196. package/resources/auth-configs.d.ts +75 -23
  197. package/resources/auth-configs.d.ts.map +1 -1
  198. package/resources/auth-configs.js +18 -0
  199. package/resources/auth-configs.js.map +1 -1
  200. package/resources/auth-configs.mjs +18 -0
  201. package/resources/auth-configs.mjs.map +1 -1
  202. package/resources/connected-accounts.d.mts +106 -209
  203. package/resources/connected-accounts.d.mts.map +1 -1
  204. package/resources/connected-accounts.d.ts +106 -209
  205. package/resources/connected-accounts.d.ts.map +1 -1
  206. package/resources/connected-accounts.js +18 -0
  207. package/resources/connected-accounts.js.map +1 -1
  208. package/resources/connected-accounts.mjs +18 -0
  209. package/resources/connected-accounts.mjs.map +1 -1
  210. package/resources/files.d.mts +126 -0
  211. package/resources/files.d.mts.map +1 -0
  212. package/resources/files.d.ts +126 -0
  213. package/resources/files.d.ts.map +1 -0
  214. package/resources/files.js +21 -0
  215. package/resources/files.js.map +1 -0
  216. package/resources/files.mjs +17 -0
  217. package/resources/files.mjs.map +1 -0
  218. package/resources/index.d.mts +3 -2
  219. package/resources/index.d.mts.map +1 -1
  220. package/resources/index.d.ts +3 -2
  221. package/resources/index.d.ts.map +1 -1
  222. package/resources/index.js +7 -5
  223. package/resources/index.js.map +1 -1
  224. package/resources/index.mjs +3 -2
  225. package/resources/index.mjs.map +1 -1
  226. package/resources/mcp/command.d.mts +37 -0
  227. package/resources/mcp/command.d.mts.map +1 -0
  228. package/resources/mcp/command.d.ts +37 -0
  229. package/resources/mcp/command.d.ts.map +1 -0
  230. package/resources/mcp/command.js +15 -0
  231. package/resources/mcp/command.js.map +1 -0
  232. package/resources/mcp/command.mjs +11 -0
  233. package/resources/mcp/command.mjs.map +1 -0
  234. package/resources/mcp/index.d.mts +3 -0
  235. package/resources/mcp/index.d.mts.map +1 -0
  236. package/resources/mcp/index.d.ts +3 -0
  237. package/resources/mcp/index.d.ts.map +1 -0
  238. package/resources/mcp/index.js +9 -0
  239. package/resources/mcp/index.js.map +1 -0
  240. package/resources/mcp/index.mjs +4 -0
  241. package/resources/mcp/index.mjs.map +1 -0
  242. package/resources/mcp/mcp.d.mts +414 -0
  243. package/resources/mcp/mcp.d.mts.map +1 -0
  244. package/resources/mcp/mcp.d.ts +414 -0
  245. package/resources/mcp/mcp.d.ts.map +1 -0
  246. package/resources/mcp/mcp.js +65 -0
  247. package/resources/mcp/mcp.js.map +1 -0
  248. package/resources/mcp/mcp.mjs +60 -0
  249. package/resources/mcp/mcp.mjs.map +1 -0
  250. package/resources/mcp.d.mts +2 -0
  251. package/resources/mcp.d.mts.map +1 -0
  252. package/resources/mcp.d.ts +2 -0
  253. package/resources/mcp.d.ts.map +1 -0
  254. package/resources/mcp.js +6 -0
  255. package/resources/mcp.js.map +1 -0
  256. package/resources/mcp.mjs +3 -0
  257. package/resources/mcp.mjs.map +1 -0
  258. package/resources/migration.d.mts +23 -0
  259. package/resources/migration.d.mts.map +1 -0
  260. package/resources/migration.d.ts +23 -0
  261. package/resources/migration.d.ts.map +1 -0
  262. package/resources/migration.js +15 -0
  263. package/resources/migration.js.map +1 -0
  264. package/resources/migration.mjs +11 -0
  265. package/resources/migration.mjs.map +1 -0
  266. package/resources/org/api-key.d.mts +7 -0
  267. package/resources/org/api-key.d.mts.map +1 -1
  268. package/resources/org/api-key.d.ts +7 -0
  269. package/resources/org/api-key.d.ts.map +1 -1
  270. package/resources/org/api-key.js +7 -0
  271. package/resources/org/api-key.js.map +1 -1
  272. package/resources/org/api-key.mjs +7 -0
  273. package/resources/org/api-key.mjs.map +1 -1
  274. package/resources/org/org.js +3 -25
  275. package/resources/org/org.js.map +1 -1
  276. package/resources/org/project/project.d.mts +9 -6
  277. package/resources/org/project/project.d.mts.map +1 -1
  278. package/resources/org/project/project.d.ts +9 -6
  279. package/resources/org/project/project.d.ts.map +1 -1
  280. package/resources/org/project/project.js +13 -26
  281. package/resources/org/project/project.js.map +1 -1
  282. package/resources/org/project/project.mjs +9 -0
  283. package/resources/org/project/project.mjs.map +1 -1
  284. package/resources/org/project/trigger.d.mts +0 -4
  285. package/resources/org/project/trigger.d.mts.map +1 -1
  286. package/resources/org/project/trigger.d.ts +0 -4
  287. package/resources/org/project/trigger.d.ts.map +1 -1
  288. package/resources/org/project/webhook.d.mts +3 -0
  289. package/resources/org/project/webhook.d.mts.map +1 -1
  290. package/resources/org/project/webhook.d.ts +3 -0
  291. package/resources/org/project/webhook.d.ts.map +1 -1
  292. package/resources/org/project/webhook.js +3 -0
  293. package/resources/org/project/webhook.js.map +1 -1
  294. package/resources/org/project/webhook.mjs +3 -0
  295. package/resources/org/project/webhook.mjs.map +1 -1
  296. package/resources/org/project.js +2 -15
  297. package/resources/org/project.js.map +1 -1
  298. package/resources/org.js +2 -15
  299. package/resources/org.js.map +1 -1
  300. package/resources/team-members.d.mts +12 -0
  301. package/resources/team-members.d.mts.map +1 -1
  302. package/resources/team-members.d.ts +12 -0
  303. package/resources/team-members.d.ts.map +1 -1
  304. package/resources/team-members.js +12 -0
  305. package/resources/team-members.js.map +1 -1
  306. package/resources/team-members.mjs +12 -0
  307. package/resources/team-members.mjs.map +1 -1
  308. package/resources/toolkits.d.mts +25 -2
  309. package/resources/toolkits.d.mts.map +1 -1
  310. package/resources/toolkits.d.ts +25 -2
  311. package/resources/toolkits.d.ts.map +1 -1
  312. package/resources/toolkits.js +10 -0
  313. package/resources/toolkits.js.map +1 -1
  314. package/resources/toolkits.mjs +10 -0
  315. package/resources/toolkits.mjs.map +1 -1
  316. package/resources/tools.d.mts +107 -0
  317. package/resources/tools.d.mts.map +1 -1
  318. package/resources/tools.d.ts +107 -0
  319. package/resources/tools.d.ts.map +1 -1
  320. package/resources/tools.js +14 -0
  321. package/resources/tools.js.map +1 -1
  322. package/resources/tools.mjs +14 -0
  323. package/resources/tools.mjs.map +1 -1
  324. package/resources/trigger-instances/handle.d.mts +2 -2
  325. package/resources/trigger-instances/handle.d.mts.map +1 -1
  326. package/resources/trigger-instances/handle.d.ts +2 -2
  327. package/resources/trigger-instances/handle.d.ts.map +1 -1
  328. package/resources/trigger-instances/handle.js.map +1 -1
  329. package/resources/trigger-instances/handle.mjs.map +1 -1
  330. package/resources/trigger-instances/trigger-instances.d.mts +32 -9
  331. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  332. package/resources/trigger-instances/trigger-instances.d.ts +32 -9
  333. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  334. package/resources/trigger-instances/trigger-instances.js +2 -24
  335. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  336. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  337. package/resources/trigger-instances.js +2 -15
  338. package/resources/trigger-instances.js.map +1 -1
  339. package/resources/triggers-types.d.mts +11 -4
  340. package/resources/triggers-types.d.mts.map +1 -1
  341. package/resources/triggers-types.d.ts +11 -4
  342. package/resources/triggers-types.d.ts.map +1 -1
  343. package/resources/triggers-types.js +7 -0
  344. package/resources/triggers-types.js.map +1 -1
  345. package/resources/triggers-types.mjs +7 -0
  346. package/resources/triggers-types.mjs.map +1 -1
  347. package/resources.js +2 -15
  348. package/resources.js.map +1 -1
  349. package/src/client.ts +132 -88
  350. package/src/core/api-promise.ts +4 -4
  351. package/src/core/error.ts +2 -2
  352. package/src/core/resource.ts +3 -3
  353. package/src/index.ts +3 -3
  354. package/src/internal/headers.ts +4 -3
  355. package/src/internal/parse.ts +2 -2
  356. package/src/internal/qs/LICENSE.md +13 -0
  357. package/src/internal/qs/README.md +3 -0
  358. package/src/internal/qs/formats.ts +9 -0
  359. package/src/internal/qs/index.ts +13 -0
  360. package/src/internal/qs/stringify.ts +388 -0
  361. package/src/internal/qs/types.ts +71 -0
  362. package/src/internal/qs/utils.ts +265 -0
  363. package/src/internal/shims.ts +1 -1
  364. package/src/internal/to-file.ts +4 -2
  365. package/src/internal/uploads.ts +21 -9
  366. package/src/internal/utils/base64.ts +16 -13
  367. package/src/internal/utils/bytes.ts +32 -0
  368. package/src/internal/utils/log.ts +3 -3
  369. package/src/internal/utils/path.ts +2 -4
  370. package/src/internal/utils/uuid.ts +1 -3
  371. package/src/internal/utils/values.ts +6 -6
  372. package/src/resources/auth-configs.ts +100 -31
  373. package/src/resources/connected-accounts.ts +122 -295
  374. package/src/resources/files.ts +176 -0
  375. package/src/resources/index.ts +26 -8
  376. package/src/resources/mcp/command.ts +50 -0
  377. package/src/resources/mcp/index.ts +17 -0
  378. package/src/resources/mcp/mcp.ts +562 -0
  379. package/src/resources/mcp.ts +3 -0
  380. package/src/resources/migration.ts +37 -0
  381. package/src/resources/org/api-key.ts +7 -0
  382. package/src/resources/org/project/project.ts +9 -12
  383. package/src/resources/org/project/trigger.ts +0 -8
  384. package/src/resources/org/project/webhook.ts +3 -0
  385. package/src/resources/team-members.ts +12 -0
  386. package/src/resources/toolkits.ts +35 -2
  387. package/src/resources/tools.ts +128 -0
  388. package/src/resources/trigger-instances/handle.ts +10 -2
  389. package/src/resources/trigger-instances/trigger-instances.ts +36 -9
  390. package/src/resources/triggers-types.ts +13 -6
  391. package/src/version.ts +1 -1
  392. package/uploads.js +2 -15
  393. package/uploads.js.map +1 -1
  394. package/version.d.mts +1 -1
  395. package/version.d.mts.map +1 -1
  396. package/version.d.ts +1 -1
  397. package/version.d.ts.map +1 -1
  398. package/version.js +1 -1
  399. package/version.js.map +1 -1
  400. package/version.mjs +1 -1
  401. package/version.mjs.map +1 -1
  402. package/internal/shims/crypto.d.mts +0 -13
  403. package/internal/shims/crypto.d.mts.map +0 -1
  404. package/internal/shims/crypto.d.ts +0 -13
  405. package/internal/shims/crypto.d.ts.map +0 -1
  406. package/internal/shims/crypto.js +0 -13
  407. package/internal/shims/crypto.js.map +0 -1
  408. package/internal/shims/crypto.mjs +0 -9
  409. package/internal/shims/crypto.mjs.map +0 -1
  410. package/internal/shims/file.d.mts +0 -23
  411. package/internal/shims/file.d.mts.map +0 -1
  412. package/internal/shims/file.d.ts +0 -23
  413. package/internal/shims/file.d.ts.map +0 -1
  414. package/internal/shims/file.js +0 -16
  415. package/internal/shims/file.js.map +0 -1
  416. package/internal/shims/file.mjs +0 -12
  417. package/internal/shims/file.mjs.map +0 -1
  418. package/internal/shims/getBuiltinModule.d.mts +0 -11
  419. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  420. package/internal/shims/getBuiltinModule.d.ts +0 -11
  421. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  422. package/internal/shims/getBuiltinModule.js +0 -68
  423. package/internal/shims/getBuiltinModule.js.map +0 -1
  424. package/internal/shims/getBuiltinModule.mjs +0 -64
  425. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  426. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  427. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  428. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  429. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  430. package/internal/shims/nullGetBuiltinModule.js +0 -5
  431. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  432. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  433. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  434. package/resources/action-execution.d.mts +0 -155
  435. package/resources/action-execution.d.mts.map +0 -1
  436. package/resources/action-execution.d.ts +0 -155
  437. package/resources/action-execution.d.ts.map +0 -1
  438. package/resources/action-execution.js +0 -19
  439. package/resources/action-execution.js.map +0 -1
  440. package/resources/action-execution.mjs +0 -15
  441. package/resources/action-execution.mjs.map +0 -1
  442. package/resources/trigger.d.mts +0 -73
  443. package/resources/trigger.d.mts.map +0 -1
  444. package/resources/trigger.d.ts +0 -73
  445. package/resources/trigger.d.ts.map +0 -1
  446. package/resources/trigger.js +0 -12
  447. package/resources/trigger.js.map +0 -1
  448. package/resources/trigger.mjs +0 -8
  449. package/resources/trigger.mjs.map +0 -1
  450. package/src/internal/shims/crypto.ts +0 -18
  451. package/src/internal/shims/file.ts +0 -32
  452. package/src/internal/shims/getBuiltinModule.ts +0 -64
  453. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  454. package/src/resources/action-execution.ts +0 -244
  455. package/src/resources/trigger.ts +0 -108
@@ -2,11 +2,29 @@ import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
4
  export declare class ConnectedAccounts extends APIResource {
5
+ /**
6
+ * Create a new connected account
7
+ */
5
8
  create(body: ConnectedAccountCreateParams, options?: RequestOptions): APIPromise<ConnectedAccountCreateResponse>;
9
+ /**
10
+ * Get connected account details by ID
11
+ */
6
12
  retrieve(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountRetrieveResponse>;
13
+ /**
14
+ * List connected accounts with optional filters
15
+ */
7
16
  list(query?: ConnectedAccountListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectedAccountListResponse>;
17
+ /**
18
+ * Delete a connected account
19
+ */
8
20
  delete(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountDeleteResponse>;
21
+ /**
22
+ * Refresh authentication for a connected account
23
+ */
9
24
  refresh(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountRefreshResponse>;
25
+ /**
26
+ * Enable or disable a connected account
27
+ */
10
28
  updateStatus(nanoID: string, body: ConnectedAccountUpdateStatusParams, options?: RequestOptions): APIPromise<ConnectedAccountUpdateStatusResponse>;
11
29
  }
12
30
  export interface ConnectedAccountCreateResponse {
@@ -14,15 +32,33 @@ export interface ConnectedAccountCreateResponse {
14
32
  * The id of the connected account
15
33
  */
16
34
  id: string;
35
+ deprecated: ConnectedAccountCreateResponse.Deprecated;
17
36
  /**
18
- * The redirect uri of the app
37
+ * @deprecated DEPRECATED: This field will be removed in a future version. Please
38
+ * use redirect_url instead.
19
39
  */
20
40
  redirect_uri: string | null;
41
+ /**
42
+ * The URL to redirect to after connection completion
43
+ */
44
+ redirect_url: string | null;
21
45
  /**
22
46
  * The status of the connected account
23
47
  */
24
48
  status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
25
49
  }
50
+ export declare namespace ConnectedAccountCreateResponse {
51
+ interface Deprecated {
52
+ /**
53
+ * The uuid of the auth config
54
+ */
55
+ authConfigUuid: string;
56
+ /**
57
+ * The uuid of the connected account
58
+ */
59
+ uuid: string;
60
+ }
61
+ }
26
62
  export interface ConnectedAccountRetrieveResponse {
27
63
  /**
28
64
  * The id of the connection
@@ -62,10 +98,7 @@ export interface ConnectedAccountRetrieveResponse {
62
98
  * The user id of the connection
63
99
  */
64
100
  user_id: string;
65
- /**
66
- * The uuid of the connection
67
- */
68
- uuid: string;
101
+ deprecated?: ConnectedAccountRetrieveResponse.Deprecated;
69
102
  /**
70
103
  * The endpoint to make test request for verification
71
104
  */
@@ -89,6 +122,15 @@ export declare namespace ConnectedAccountRetrieveResponse {
89
122
  * Whether the auth config is disabled
90
123
  */
91
124
  is_disabled: boolean;
125
+ deprecated?: AuthConfig.Deprecated;
126
+ }
127
+ namespace AuthConfig {
128
+ interface Deprecated {
129
+ /**
130
+ * The uuid of the auth config
131
+ */
132
+ uuid: string;
133
+ }
92
134
  }
93
135
  interface Toolkit {
94
136
  /**
@@ -96,6 +138,16 @@ export declare namespace ConnectedAccountRetrieveResponse {
96
138
  */
97
139
  slug: string;
98
140
  }
141
+ interface Deprecated {
142
+ /**
143
+ * The labels of the connection
144
+ */
145
+ labels: Array<string>;
146
+ /**
147
+ * The uuid of the connection
148
+ */
149
+ uuid: string;
150
+ }
99
151
  }
100
152
  export interface ConnectedAccountListResponse {
101
153
  items: Array<ConnectedAccountListResponse.Item>;
@@ -138,14 +190,11 @@ export declare namespace ConnectedAccountListResponse {
138
190
  * The user id of the connection
139
191
  */
140
192
  user_id: string;
193
+ deprecated?: Item.Deprecated;
141
194
  /**
142
195
  * The endpoint to make test request for verification
143
196
  */
144
197
  test_request_endpoint?: string;
145
- /**
146
- * The uuid of the connected account
147
- */
148
- uuid?: string;
149
198
  }
150
199
  namespace Item {
151
200
  interface AuthConfig {
@@ -165,6 +214,15 @@ export declare namespace ConnectedAccountListResponse {
165
214
  * Whether the auth config is disabled
166
215
  */
167
216
  is_disabled: boolean;
217
+ deprecated?: AuthConfig.Deprecated;
218
+ }
219
+ namespace AuthConfig {
220
+ interface Deprecated {
221
+ /**
222
+ * The uuid of the auth config
223
+ */
224
+ uuid: string;
225
+ }
168
226
  }
169
227
  interface Toolkit {
170
228
  /**
@@ -172,217 +230,43 @@ export declare namespace ConnectedAccountListResponse {
172
230
  */
173
231
  slug: string;
174
232
  }
233
+ interface Deprecated {
234
+ /**
235
+ * The labels of the connection
236
+ */
237
+ labels: Array<string>;
238
+ /**
239
+ * The uuid of the connection
240
+ */
241
+ uuid: string;
242
+ }
175
243
  }
176
244
  }
177
245
  export interface ConnectedAccountDeleteResponse {
178
246
  /**
179
- * The id of the connection
180
- */
181
- id: string;
182
- auth_config: ConnectedAccountDeleteResponse.AuthConfig;
183
- /**
184
- * The created at of the connection
185
- */
186
- created_at: string;
187
- /**
188
- * The data of the connection
189
- */
190
- data: Record<string, unknown>;
191
- /**
192
- * Whether the connection is disabled
247
+ * The success of the update
193
248
  */
194
- is_disabled: boolean;
195
- /**
196
- * The status of the connection
197
- */
198
- status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
199
- /**
200
- * The reason the connection is disabled
201
- */
202
- status_reason: string | null;
203
- toolkit: ConnectedAccountDeleteResponse.Toolkit;
204
- /**
205
- * The updated at of the connection
206
- */
207
- updated_at: string;
208
- /**
209
- * The user id of the connection
210
- */
211
- user_id: string;
212
- /**
213
- * The uuid of the connection
214
- */
215
- uuid: string;
216
- /**
217
- * The endpoint to make test request for verification
218
- */
219
- test_request_endpoint?: string;
220
- }
221
- export declare namespace ConnectedAccountDeleteResponse {
222
- interface AuthConfig {
223
- /**
224
- * The id of the auth config
225
- */
226
- id: string;
227
- /**
228
- * The auth scheme of the auth config
229
- */
230
- auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
231
- /**
232
- * Whether the auth config is managed by Composio
233
- */
234
- is_composio_managed: boolean;
235
- /**
236
- * Whether the auth config is disabled
237
- */
238
- is_disabled: boolean;
239
- }
240
- interface Toolkit {
241
- /**
242
- * The slug of the toolkit
243
- */
244
- slug: string;
245
- }
249
+ success: boolean;
246
250
  }
247
251
  export interface ConnectedAccountRefreshResponse {
248
252
  /**
249
- * The id of the connection
253
+ * The id of the connected account
250
254
  */
251
255
  id: string;
252
- auth_config: ConnectedAccountRefreshResponse.AuthConfig;
253
256
  /**
254
- * The created at of the connection
257
+ * The redirect URL of the app (previously named redirect_uri)
255
258
  */
256
- created_at: string;
257
- /**
258
- * The data of the connection
259
- */
260
- data: Record<string, unknown>;
261
- /**
262
- * Whether the connection is disabled
263
- */
264
- is_disabled: boolean;
259
+ redirect_url: string | null;
265
260
  /**
266
- * The status of the connection
261
+ * The status of the connected account
267
262
  */
268
263
  status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
269
- /**
270
- * The reason the connection is disabled
271
- */
272
- status_reason: string | null;
273
- toolkit: ConnectedAccountRefreshResponse.Toolkit;
274
- /**
275
- * The updated at of the connection
276
- */
277
- updated_at: string;
278
- /**
279
- * The user id of the connection
280
- */
281
- user_id: string;
282
- /**
283
- * The uuid of the connection
284
- */
285
- uuid: string;
286
- /**
287
- * The endpoint to make test request for verification
288
- */
289
- test_request_endpoint?: string;
290
- }
291
- export declare namespace ConnectedAccountRefreshResponse {
292
- interface AuthConfig {
293
- /**
294
- * The id of the auth config
295
- */
296
- id: string;
297
- /**
298
- * The auth scheme of the auth config
299
- */
300
- auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
301
- /**
302
- * Whether the auth config is managed by Composio
303
- */
304
- is_composio_managed: boolean;
305
- /**
306
- * Whether the auth config is disabled
307
- */
308
- is_disabled: boolean;
309
- }
310
- interface Toolkit {
311
- /**
312
- * The slug of the toolkit
313
- */
314
- slug: string;
315
- }
316
264
  }
317
265
  export interface ConnectedAccountUpdateStatusResponse {
318
266
  /**
319
- * The id of the connection
320
- */
321
- id: string;
322
- auth_config: ConnectedAccountUpdateStatusResponse.AuthConfig;
323
- /**
324
- * The created at of the connection
325
- */
326
- created_at: string;
327
- /**
328
- * The data of the connection
329
- */
330
- data: Record<string, unknown>;
331
- /**
332
- * Whether the connection is disabled
267
+ * The success of the update
333
268
  */
334
- is_disabled: boolean;
335
- /**
336
- * The status of the connection
337
- */
338
- status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
339
- /**
340
- * The reason the connection is disabled
341
- */
342
- status_reason: string | null;
343
- toolkit: ConnectedAccountUpdateStatusResponse.Toolkit;
344
- /**
345
- * The updated at of the connection
346
- */
347
- updated_at: string;
348
- /**
349
- * The user id of the connection
350
- */
351
- user_id: string;
352
- /**
353
- * The uuid of the connection
354
- */
355
- uuid: string;
356
- /**
357
- * The endpoint to make test request for verification
358
- */
359
- test_request_endpoint?: string;
360
- }
361
- export declare namespace ConnectedAccountUpdateStatusResponse {
362
- interface AuthConfig {
363
- /**
364
- * The id of the auth config
365
- */
366
- id: string;
367
- /**
368
- * The auth scheme of the auth config
369
- */
370
- auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
371
- /**
372
- * Whether the auth config is managed by Composio
373
- */
374
- is_composio_managed: boolean;
375
- /**
376
- * Whether the auth config is disabled
377
- */
378
- is_disabled: boolean;
379
- }
380
- interface Toolkit {
381
- /**
382
- * The slug of the toolkit
383
- */
384
- slug: string;
385
- }
269
+ success: boolean;
386
270
  }
387
271
  export interface ConnectedAccountCreateParams {
388
272
  auth_config: ConnectedAccountCreateParams.AuthConfig;
@@ -396,12 +280,21 @@ export declare namespace ConnectedAccountCreateParams {
396
280
  id: string;
397
281
  }
398
282
  interface Connection {
283
+ /**
284
+ * The URL to redirect to after connection completion
285
+ */
286
+ callback_url?: string;
399
287
  /**
400
288
  * Initial data to pass to the connected account
401
289
  */
402
290
  data?: Record<string, unknown>;
403
291
  /**
404
- * The URL to redirect to after connection completion
292
+ * Whether the connection is rerouted
293
+ */
294
+ deprecated_is_v1_rerouted?: boolean;
295
+ /**
296
+ * @deprecated DEPRECATED: This parameter will be removed in a future version.
297
+ * Please use callback_url instead.
405
298
  */
406
299
  redirect_uri?: string;
407
300
  /**
@@ -412,13 +305,17 @@ export declare namespace ConnectedAccountCreateParams {
412
305
  }
413
306
  export interface ConnectedAccountListParams {
414
307
  /**
415
- * The auth config id of the connected account
308
+ * The auth config ids of the connected accounts
416
309
  */
417
- auth_config_id?: string;
310
+ auth_config_ids?: Array<string> | null;
418
311
  /**
419
312
  * The cursor to paginate through the connected accounts
420
313
  */
421
314
  cursor?: number | null;
315
+ /**
316
+ * The labels of the connected accounts
317
+ */
318
+ labels?: Array<string> | null;
422
319
  /**
423
320
  * The limit of the connected accounts to return
424
321
  */
@@ -430,15 +327,15 @@ export interface ConnectedAccountListParams {
430
327
  /**
431
328
  * The status of the connected account
432
329
  */
433
- status?: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
330
+ statuses?: Array<'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED'> | null;
434
331
  /**
435
- * The toolkit slug of the connected account
332
+ * The toolkit slugs of the connected accounts
436
333
  */
437
- toolkit_slug?: string;
334
+ toolkit_slugs?: Array<string> | null;
438
335
  /**
439
- * The user id of the connected account
336
+ * The user ids of the connected accounts
440
337
  */
441
- user_id?: string;
338
+ user_ids?: Array<string> | null;
442
339
  }
443
340
  export interface ConnectedAccountUpdateStatusParams {
444
341
  enabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"connected-accounts.d.mts","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gCAAgC,CAAC;IAIhG,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAA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