@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,142 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.10 (2025-05-14)
4
+
5
+ Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
6
+
7
+ ### Features
8
+
9
+ * **api:** API filtering updates ([49034e8](https://github.com/ComposioHQ/composio-base-ts/commit/49034e8677f5b4f18f0c9af61a2b66730331d9c3))
10
+ * **api:** api spec updates ([fa8f9e3](https://github.com/ComposioHQ/composio-base-ts/commit/fa8f9e31093160e6e0edeb729d129de270b349a3))
11
+ * **api:** api update ([3ff24f5](https://github.com/ComposioHQ/composio-base-ts/commit/3ff24f5564022d010600040afa735cd0d88450ad))
12
+ * **api:** api updates ([fe6e439](https://github.com/ComposioHQ/composio-base-ts/commit/fe6e43926d87776b4188836cc3c5422865df992e))
13
+ * **api:** fix api issues ([5621e4d](https://github.com/ComposioHQ/composio-base-ts/commit/5621e4dc615e8a73ecf95fda907e2b2379c39e68))
14
+ * **api:** fix local environment url ([bbe6462](https://github.com/ComposioHQ/composio-base-ts/commit/bbe64626b439b69000ec64ddc67ee66329a76c44))
15
+ * **api:** fix old api spec ([c54dbaf](https://github.com/ComposioHQ/composio-base-ts/commit/c54dbaf30ec5f6446cdbfc8df8ad6ec210ba7342))
16
+ * **api:** fix read_env ([b027dea](https://github.com/ComposioHQ/composio-base-ts/commit/b027deaa6d4afa0b281c028c225d29b138abd401))
17
+ * **api:** fix redirect_uri terms ([f87bd27](https://github.com/ComposioHQ/composio-base-ts/commit/f87bd276acd6ec1456f0e5c046b8367bd5d826be))
18
+ * **api:** fix redirect_uri terms ([e00963d](https://github.com/ComposioHQ/composio-base-ts/commit/e00963d5024755415626e90f6fb2aecff6da1cc3))
19
+ * **api:** fix redirect_uri terms ([a5e7caa](https://github.com/ComposioHQ/composio-base-ts/commit/a5e7caa22a414afb649769c0a40c7b4ec161bdb9))
20
+ * **api:** fix redirect_uri terms ([2bc5c5b](https://github.com/ComposioHQ/composio-base-ts/commit/2bc5c5ba1e669a0c77eda6adfed6d27b963ce55c))
21
+ * **api:** fix removed pvt apis ([3e0d08c](https://github.com/ComposioHQ/composio-base-ts/commit/3e0d08c66b453d465589f38a0e8dc0e84de1e8f3))
22
+ * **api:** fix removed pvt apis ([095e2e1](https://github.com/ComposioHQ/composio-base-ts/commit/095e2e102b059dd6602c259963e14987e4d794a6))
23
+ * **api:** manual updates ([cee9d92](https://github.com/ComposioHQ/composio-base-ts/commit/cee9d92b3228317f637c331be40f3d84c481d914))
24
+ * **api:** manual updates ([1803c01](https://github.com/ComposioHQ/composio-base-ts/commit/1803c01c95e164e2baa179627e3270ff79572ee7))
25
+ * **api:** manual updates ([67a46d5](https://github.com/ComposioHQ/composio-base-ts/commit/67a46d50caab5c50e1186119e630e88a4d3767a2))
26
+ * **api:** manual updates ([7908b57](https://github.com/ComposioHQ/composio-base-ts/commit/7908b57963f46e6eedb931534cc02f359b41aa50))
27
+ * **api:** update file api params ([185bb70](https://github.com/ComposioHQ/composio-base-ts/commit/185bb70221d819de35f9aae5ee9965b25e4530c1))
28
+ * **api:** update file api params ([f009e16](https://github.com/ComposioHQ/composio-base-ts/commit/f009e165448c7511ae8f4c389740e8f60ca1df93))
29
+ * **client:** add withOptions helper ([5d1eeb3](https://github.com/ComposioHQ/composio-base-ts/commit/5d1eeb3659fbd3743a69d1637d68dbaced0e1f3b))
30
+ * **mcp:** support dynamically discovering and invoking tools for APIs with many endpoints ([a74f68d](https://github.com/ComposioHQ/composio-base-ts/commit/a74f68d74d2809de07dddc28d747669e3b6ba5ca))
31
+ * more gracefully handle $refs and work around schema limitations ([712ca35](https://github.com/ComposioHQ/composio-base-ts/commit/712ca3591a91c1ad2195464123d00bb4b4f4248d))
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **client:** always overwrite when merging headers ([920af76](https://github.com/ComposioHQ/composio-base-ts/commit/920af76dfda71c4a957b1b6ee4127336e4007f38))
37
+ * **mcp:** remove ajv dependency so MCP servers are more compatible with Cloudflare Workers ([f38199a](https://github.com/ComposioHQ/composio-base-ts/commit/f38199a9796e3bbd946d8e85c594b6c707ec3fff))
38
+ * **tests:** skip broken tests ([8140520](https://github.com/ComposioHQ/composio-base-ts/commit/81405203451e0686b4de53157b3347dfb4e72a38))
39
+
40
+
41
+ ### Chores
42
+
43
+ * **build:** automatically build subpackages if present ([516bb8a](https://github.com/ComposioHQ/composio-base-ts/commit/516bb8ae1cc3c4d47cbc2a27eac9f0fa0754515e))
44
+ * **ci:** only use depot for staging repos ([8e79116](https://github.com/ComposioHQ/composio-base-ts/commit/8e79116bfcc568cc95839c8eb69b1fabbe5e211c))
45
+ * **client:** drop support for EOL node versions ([202e844](https://github.com/ComposioHQ/composio-base-ts/commit/202e844cdd3bcb579409bd7ec2e375a20b0ebeaf))
46
+ * configure new SDK language ([7af0da8](https://github.com/ComposioHQ/composio-base-ts/commit/7af0da8e0b6408b14e2d06dd3d5c35f2e1441ec0))
47
+ * **internal:** codegen related update ([dd6e5d0](https://github.com/ComposioHQ/composio-base-ts/commit/dd6e5d0afc433a6a37f1c425ea9f9d91adf424c9))
48
+ * **internal:** codegen related update ([464df68](https://github.com/ComposioHQ/composio-base-ts/commit/464df68a037270797304d4eea27032b676bfe4f3))
49
+ * **internal:** refactor utils ([e6057a0](https://github.com/ComposioHQ/composio-base-ts/commit/e6057a09bb75a51426d817873a2a8e8ef0a15bd2))
50
+ * **internal:** share typescript helpers ([cac0bd2](https://github.com/ComposioHQ/composio-base-ts/commit/cac0bd2d5327f81caf595adb128951f914f44c6d))
51
+ * **package:** remove engines ([92ab436](https://github.com/ComposioHQ/composio-base-ts/commit/92ab436b1128a4f0a5afeda2c050a52e97df1418))
52
+
53
+
54
+ ### Documentation
55
+
56
+ * add examples to tsdocs ([d799a44](https://github.com/ComposioHQ/composio-base-ts/commit/d799a44602a17d92e46485dc2358f8df91f33ef8))
57
+ * **readme:** fix typo ([1e96736](https://github.com/ComposioHQ/composio-base-ts/commit/1e96736e020d058216d8db56c7084dd61aae5d22))
58
+
59
+ ## 0.1.0-alpha.9 (2025-04-23)
60
+
61
+ Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
62
+
63
+ ### Features
64
+
65
+ * **api:** manual updates to add custom_auth_params in execute tool api ([95c8f62](https://github.com/ComposioHQ/composio-base-ts/commit/95c8f624142bb85dc6be99d92df6f9b6c10c418e))
66
+
67
+
68
+ ### Chores
69
+
70
+ * **ci:** add timeout thresholds for CI jobs ([22dc911](https://github.com/ComposioHQ/composio-base-ts/commit/22dc91190a22b3e83836536a99be5b5acc4c1eb6))
71
+ * **perf:** faster base64 decoding ([1bc6469](https://github.com/ComposioHQ/composio-base-ts/commit/1bc6469b59056168ee085bb34942728298a4a064))
72
+
73
+ ## 0.1.0-alpha.8 (2025-04-22)
74
+
75
+ Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
76
+
77
+ ### Features
78
+
79
+ * **api:** Add tool_slugs to list tools api ([ec46e2b](https://github.com/ComposioHQ/composio-base-ts/commit/ec46e2bb7af6f803a8c354aa721c57972803ee37))
80
+
81
+ ## 0.1.0-alpha.7 (2025-04-17)
82
+
83
+ Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
84
+
85
+ ### Features
86
+
87
+ * **api:** Include session info ([0b0a86a](https://github.com/ComposioHQ/composio-base-ts/commit/0b0a86a4939c5647cf88316e5fe1fd3409e7254f))
88
+
89
+ ## 0.1.0-alpha.6 (2025-04-16)
90
+
91
+ Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
92
+
93
+ ### Features
94
+
95
+ * **api:** manual updates ([5de3930](https://github.com/ComposioHQ/composio-base-ts/commit/5de3930ecc4c125cb649715ef049175570c6f746))
96
+ * **api:** manual updates ([c4ed86c](https://github.com/ComposioHQ/composio-base-ts/commit/c4ed86c6806bbc6fd3712a70fe4e9fbc22a5d262))
97
+
98
+ ## 0.1.0-alpha.5 (2025-04-15)
99
+
100
+ Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
101
+
102
+ ### Features
103
+
104
+ * **api:** manual updates ([3a642d2](https://github.com/ComposioHQ/composio-base-ts/commit/3a642d2cca6e7cb6c8d0992b3b942873f85015d5))
105
+
106
+
107
+ ### Chores
108
+
109
+ * **client:** minor internal fixes ([c53b1e2](https://github.com/ComposioHQ/composio-base-ts/commit/c53b1e219bf30729eabd56cfdbac51990229c28a))
110
+
111
+ ## 0.1.0-alpha.4 (2025-04-12)
112
+
113
+ Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
114
+
115
+ ### Features
116
+
117
+ * **api:** update via SDK Studio ([3a62b83](https://github.com/ComposioHQ/composio-base-ts/commit/3a62b838d3836811a4c89e8ea28264145a4da5cc))
118
+
119
+ ## 0.1.0-alpha.3 (2025-04-11)
120
+
121
+ Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
122
+
123
+ ### Features
124
+
125
+ * **api:** update via SDK Studio ([45bf901](https://github.com/ComposioHQ/composio-base-ts/commit/45bf901129bca9871813eadebf8b2b785f77b139))
126
+
127
+ ## 0.1.0-alpha.2 (2025-04-11)
128
+
129
+ Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
130
+
131
+ ### Features
132
+
133
+ * **api:** update via SDK Studio ([9d04ac6](https://github.com/ComposioHQ/composio-base-ts/commit/9d04ac6154102fd909d5afa440558c33b5e5abcd))
134
+
135
+
136
+ ### Bug Fixes
137
+
138
+ * **internal:** fix file uploads in node 18 jest ([ef31aeb](https://github.com/ComposioHQ/composio-base-ts/commit/ef31aeb7f17f5f184ad94fa9ca9e9df855c4a414))
139
+
3
140
  ## 0.1.0-alpha.1 (2025-04-10)
4
141
 
5
142
  Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/ComposioHQ/composio-base-ts/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2025 Composio SDK
189
+ Copyright 2025 Composio
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # Composio SDK TypeScript API Library
1
+ # Composio TypeScript API Library
2
2
 
3
3
  [![NPM version](https://img.shields.io/npm/v/@composio/client.svg)](https://npmjs.org/package/@composio/client) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@composio/client)
4
4
 
5
- This library provides convenient access to the Composio SDK REST API from server-side TypeScript or JavaScript.
5
+ This library provides convenient access to the Composio REST API from server-side TypeScript or JavaScript.
6
6
 
7
- The REST API documentation can be found on [docs.composio-sdk.com](https://docs.composio-sdk.com). The full API of this library can be found in [api.md](api.md).
7
+ The REST API documentation can be found on [docs.composio.com](https://docs.composio.com). The full API of this library can be found in [api.md](api.md).
8
8
 
9
9
  It is generated with [Stainless](https://www.stainless.com/).
10
10
 
@@ -20,9 +20,9 @@ The full API of this library can be found in [api.md](api.md).
20
20
 
21
21
  <!-- prettier-ignore -->
22
22
  ```js
23
- import ComposioSDK from '@composio/client';
23
+ import Composio from '@composio/client';
24
24
 
25
- const client = new ComposioSDK({
25
+ const client = new Composio({
26
26
  apiKey: process.env['COMPOSIO_API_KEY'], // This is the default and can be omitted
27
27
  environment: 'staging', // or 'production' | 'local'; defaults to 'production'
28
28
  });
@@ -42,15 +42,15 @@ This library includes TypeScript definitions for all request params and response
42
42
 
43
43
  <!-- prettier-ignore -->
44
44
  ```ts
45
- import ComposioSDK from '@composio/client';
45
+ import Composio from '@composio/client';
46
46
 
47
- const client = new ComposioSDK({
47
+ const client = new Composio({
48
48
  apiKey: process.env['COMPOSIO_API_KEY'], // This is the default and can be omitted
49
49
  environment: 'staging', // or 'production' | 'local'; defaults to 'production'
50
50
  });
51
51
 
52
52
  async function main() {
53
- const response: ComposioSDK.ToolExecuteResponse = await client.tools.execute('action');
53
+ const response: Composio.ToolExecuteResponse = await client.tools.execute('action');
54
54
  }
55
55
 
56
56
  main();
@@ -68,7 +68,7 @@ a subclass of `APIError` will be thrown:
68
68
  ```ts
69
69
  async function main() {
70
70
  const response = await client.tools.execute('action').catch(async (err) => {
71
- if (err instanceof ComposioSDK.APIError) {
71
+ if (err instanceof Composio.APIError) {
72
72
  console.log(err.status); // 400
73
73
  console.log(err.name); // BadRequestError
74
74
  console.log(err.headers); // {server: 'nginx', ...}
@@ -81,7 +81,7 @@ async function main() {
81
81
  main();
82
82
  ```
83
83
 
84
- Error codes are as followed:
84
+ Error codes are as follows:
85
85
 
86
86
  | Status Code | Error Type |
87
87
  | ----------- | -------------------------- |
@@ -105,7 +105,7 @@ You can use the `maxRetries` option to configure or disable this:
105
105
  <!-- prettier-ignore -->
106
106
  ```js
107
107
  // Configure the default for all requests:
108
- const client = new ComposioSDK({
108
+ const client = new Composio({
109
109
  maxRetries: 0, // default is 2
110
110
  });
111
111
 
@@ -122,7 +122,7 @@ Requests time out after 1 minute by default. You can configure this with a `time
122
122
  <!-- prettier-ignore -->
123
123
  ```ts
124
124
  // Configure the default for all requests:
125
- const client = new ComposioSDK({
125
+ const client = new Composio({
126
126
  timeout: 20 * 1000, // 20 seconds (default is 1 minute)
127
127
  });
128
128
 
@@ -148,7 +148,7 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
148
148
 
149
149
  <!-- prettier-ignore -->
150
150
  ```ts
151
- const client = new ComposioSDK();
151
+ const client = new Composio();
152
152
 
153
153
  const response = await client.tools.execute('action').asResponse();
154
154
  console.log(response.headers.get('X-My-Header'));
@@ -169,13 +169,13 @@ console.log(response.log_id);
169
169
 
170
170
  The log level can be configured in two ways:
171
171
 
172
- 1. Via the `COMPOSIO_SDK_LOG` environment variable
172
+ 1. Via the `COMPOSIO_LOG` environment variable
173
173
  2. Using the `logLevel` client option (overrides the environment variable if set)
174
174
 
175
175
  ```ts
176
- import ComposioSDK from '@composio/client';
176
+ import Composio from '@composio/client';
177
177
 
178
- const client = new ComposioSDK({
178
+ const client = new Composio({
179
179
  logLevel: 'debug', // Show all log messages
180
180
  });
181
181
  ```
@@ -201,13 +201,13 @@ When providing a custom logger, the `logLevel` option still controls which messa
201
201
  below the configured level will not be sent to your logger.
202
202
 
203
203
  ```ts
204
- import ComposioSDK from '@composio/client';
204
+ import Composio from '@composio/client';
205
205
  import pino from 'pino';
206
206
 
207
207
  const logger = pino();
208
208
 
209
- const client = new ComposioSDK({
210
- logger: logger.child({ name: 'ComposioSDK' }),
209
+ const client = new Composio({
210
+ logger: logger.child({ name: 'Composio' }),
211
211
  logLevel: 'debug', // Send all messages to pino, allowing it to filter
212
212
  });
213
213
  ```
@@ -271,10 +271,10 @@ globalThis.fetch = fetch;
271
271
  Or pass it to the client:
272
272
 
273
273
  ```ts
274
- import ComposioSDK from '@composio/client';
274
+ import Composio from '@composio/client';
275
275
  import fetch from 'my-fetch';
276
276
 
277
- const client = new ComposioSDK({ fetch });
277
+ const client = new Composio({ fetch });
278
278
  ```
279
279
 
280
280
  ### Fetch options
@@ -282,9 +282,9 @@ const client = new ComposioSDK({ fetch });
282
282
  If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
283
283
 
284
284
  ```ts
285
- import ComposioSDK from '@composio/client';
285
+ import Composio from '@composio/client';
286
286
 
287
- const client = new ComposioSDK({
287
+ const client = new Composio({
288
288
  fetchOptions: {
289
289
  // `RequestInit` options
290
290
  },
@@ -299,11 +299,11 @@ options to requests:
299
299
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
300
300
 
301
301
  ```ts
302
- import ComposioSDK from '@composio/client';
302
+ import Composio from '@composio/client';
303
303
  import * as undici from 'undici';
304
304
 
305
305
  const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
306
- const client = new ComposioSDK({
306
+ const client = new Composio({
307
307
  fetchOptions: {
308
308
  dispatcher: proxyAgent,
309
309
  },
@@ -313,9 +313,9 @@ const client = new ComposioSDK({
313
313
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
314
314
 
315
315
  ```ts
316
- import ComposioSDK from '@composio/client';
316
+ import Composio from '@composio/client';
317
317
 
318
- const client = new ComposioSDK({
318
+ const client = new Composio({
319
319
  fetchOptions: {
320
320
  proxy: 'http://localhost:8888',
321
321
  },
@@ -325,10 +325,10 @@ const client = new ComposioSDK({
325
325
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
326
326
 
327
327
  ```ts
328
- import ComposioSDK from 'npm:@composio/client';
328
+ import Composio from 'npm:@composio/client';
329
329
 
330
330
  const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
331
- const client = new ComposioSDK({
331
+ const client = new Composio({
332
332
  fetchOptions: {
333
333
  client: httpClient,
334
334
  },
@@ -347,7 +347,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
347
347
 
348
348
  We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
349
349
 
350
- We are keen for your feedback; please open an [issue](https://www.github.com/composiohq/composio-base-ts/issues) with questions, bugs, or suggestions.
350
+ We are keen for your feedback; please open an [issue](https://www.github.com/ComposioHQ/composio-base-ts/issues) with questions, bugs, or suggestions.
351
351
 
352
352
  ## Requirements
353
353
 
@@ -356,7 +356,7 @@ TypeScript >= 4.9 is supported.
356
356
  The following runtimes are supported:
357
357
 
358
358
  - Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
359
- - Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
359
+ - Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
360
360
  - Deno v1.28.0 or higher.
361
361
  - Bun 1.0 or later.
362
362
  - Cloudflare Workers.
package/api-promise.js CHANGED
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
17
4
  /** @deprecated Import from ./core/api-promise instead */
18
- __exportStar(require("./core/api-promise.js"), exports);
5
+ tslib_1.__exportStar(require("./core/api-promise.js"), exports);
19
6
  //# sourceMappingURL=api-promise.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAyD;AACzD,wDAAmC"}
1
+ {"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gEAAmC"}
package/client.d.mts CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs";
3
2
  import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs";
4
3
  import { type Logger, type LogLevel } from "./internal/utils/log.mjs";
@@ -11,14 +10,15 @@ import { APIPromise } from "./core/api-promise.mjs";
11
10
  import { type Fetch } from "./internal/builtin-types.mjs";
12
11
  import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
13
12
  import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
14
- import { ActionExecution, ActionExecutionLogParams, ActionExecutionLogResponse, ActionExecutionRetrieveFieldsResponse, ActionExecutionRetrieveLogResponse } from "./resources/action-execution.mjs";
15
13
  import { AuthConfigCreateParams, AuthConfigCreateResponse, AuthConfigDeleteResponse, AuthConfigListParams, AuthConfigListResponse, AuthConfigRetrieveResponse, AuthConfigUpdateParams, AuthConfigUpdateResponse, AuthConfigUpdateStatusParams, AuthConfigUpdateStatusResponse, AuthConfigs } from "./resources/auth-configs.mjs";
16
14
  import { ConnectedAccountCreateParams, ConnectedAccountCreateResponse, ConnectedAccountDeleteResponse, ConnectedAccountListParams, ConnectedAccountListResponse, ConnectedAccountRefreshResponse, ConnectedAccountRetrieveResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse, ConnectedAccounts } from "./resources/connected-accounts.mjs";
15
+ import { FileCreatePresignedURLParams, FileCreatePresignedURLResponse, FileListParams, FileListResponse, Files } from "./resources/files.mjs";
16
+ import { Migration, MigrationRetrieveNanoidParams, MigrationRetrieveNanoidResponse } from "./resources/migration.mjs";
17
17
  import { TeamMemberInviteParams, TeamMemberInviteResponse, TeamMemberListResponse, TeamMemberRemoveResponse, TeamMemberUpdateParams, TeamMemberUpdateResponse, TeamMembers } from "./resources/team-members.mjs";
18
18
  import { ToolkitListParams, ToolkitListResponse, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveResponse, Toolkits } from "./resources/toolkits.mjs";
19
19
  import { ToolExecuteParams, ToolExecuteResponse, ToolGetInputParams, ToolGetInputResponse, ToolListParams, ToolListResponse, ToolProxyParams, ToolProxyResponse, ToolRetrieveEnumResponse, ToolRetrieveResponse, Tools } from "./resources/tools.mjs";
20
- import { Trigger, TriggerLogParams, TriggerLogResponse } from "./resources/trigger.mjs";
21
20
  import { TriggersTypeListParams, TriggersTypeListResponse, TriggersTypeRetrieveEnumResponse, TriggersTypeRetrieveResponse, TriggersTypes } from "./resources/triggers-types.mjs";
21
+ import { Mcp, McpCreateParams, McpCreateResponse, McpDeleteResponse, McpListParams, McpListResponse, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse, McpValidateParams, McpValidateResponse } from "./resources/mcp/mcp.mjs";
22
22
  import { Org } from "./resources/org/org.mjs";
23
23
  import { TriggerInstanceListActiveParams, TriggerInstanceListActiveResponse, TriggerInstanceRemoveUpsertResponse, TriggerInstanceUpdateStatusParams, TriggerInstanceUpdateStatusResponse, TriggerInstanceUpsertParams, TriggerInstanceUpsertResponse, TriggerInstances } from "./resources/trigger-instances/trigger-instances.mjs";
24
24
  declare const environments: {
@@ -29,22 +29,22 @@ declare const environments: {
29
29
  type Environment = keyof typeof environments;
30
30
  export interface ClientOptions {
31
31
  /**
32
- * Defaults to process.env['COMPOSIO_API_KEY'].
32
+ * API key authentication
33
33
  */
34
- apiKey?: string | undefined;
34
+ apiKey?: string | null | undefined;
35
35
  /**
36
36
  * Specifies the environment to use for the API.
37
37
  *
38
38
  * Each environment maps to a different base URL:
39
39
  * - `production` corresponds to `https://backend.composio.dev`
40
40
  * - `staging` corresponds to `https://staging-backend.composio.dev`
41
- * - `local` corresponds to `http://localhost:9901`
41
+ * - `local` corresponds to `http://localhost:9900`
42
42
  */
43
43
  environment?: Environment | undefined;
44
44
  /**
45
45
  * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
46
46
  *
47
- * Defaults to process.env['COMPOSIO_SDK_BASE_URL'].
47
+ * Defaults to process.env['COMPOSIO_BASE_URL'].
48
48
  */
49
49
  baseURL?: string | null | undefined;
50
50
  /**
@@ -90,7 +90,7 @@ export interface ClientOptions {
90
90
  /**
91
91
  * Set the log level.
92
92
  *
93
- * Defaults to process.env['COMPOSIO_SDK_LOG'] or 'warn' if it isn't set.
93
+ * Defaults to process.env['COMPOSIO_LOG'] or 'warn' if it isn't set.
94
94
  */
95
95
  logLevel?: LogLevel | undefined;
96
96
  /**
@@ -101,11 +101,11 @@ export interface ClientOptions {
101
101
  logger?: Logger | undefined;
102
102
  }
103
103
  /**
104
- * API Client for interfacing with the Composio SDK API.
104
+ * API Client for interfacing with the Composio API.
105
105
  */
106
- export declare class ComposioSDK {
106
+ export declare class Composio {
107
107
  #private;
108
- apiKey: string;
108
+ apiKey: string | null;
109
109
  baseURL: string;
110
110
  maxRetries: number;
111
111
  timeout: number;
@@ -116,11 +116,11 @@ export declare class ComposioSDK {
116
116
  protected idempotencyHeader?: string;
117
117
  private _options;
118
118
  /**
119
- * API Client for interfacing with the Composio SDK API.
119
+ * API Client for interfacing with the Composio API.
120
120
  *
121
- * @param {string | undefined} [opts.apiKey=process.env['COMPOSIO_API_KEY'] ?? undefined]
121
+ * @param {string | null | undefined} [opts.apiKey=process.env['COMPOSIO_API_KEY'] ?? null]
122
122
  * @param {Environment} [opts.environment=production] - Specifies the environment URL to use for the API.
123
- * @param {string} [opts.baseURL=process.env['COMPOSIO_SDK_BASE_URL'] ?? https://backend.composio.dev] - Override the default base URL for the API.
123
+ * @param {string} [opts.baseURL=process.env['COMPOSIO_BASE_URL'] ?? https://backend.composio.dev] - Override the default base URL for the API.
124
124
  * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
125
125
  * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
126
126
  * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
@@ -129,12 +129,13 @@ export declare class ComposioSDK {
129
129
  * @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
130
130
  */
131
131
  constructor({ baseURL, apiKey, ...opts }?: ClientOptions);
132
+ /**
133
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
134
+ */
135
+ withOptions(options: Partial<ClientOptions>): this;
132
136
  protected defaultQuery(): Record<string, string | undefined> | undefined;
133
137
  protected validateHeaders({ values, nulls }: NullableHeaders): void;
134
138
  protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined;
135
- /**
136
- * Basic re-implementation of `qs.stringify` for primitive types.
137
- */
138
139
  protected stringifyQuery(query: Record<string, unknown>): string;
139
140
  private getUserAgent;
140
141
  protected defaultIdempotencyKey(): string;
@@ -166,7 +167,7 @@ export declare class ComposioSDK {
166
167
  private shouldRetry;
167
168
  private retryRequest;
168
169
  private calculateDefaultRetryTimeoutMillis;
169
- buildRequest(options: FinalRequestOptions, { retryCount }?: {
170
+ buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
170
171
  retryCount?: number;
171
172
  }): {
172
173
  req: FinalizedRequestInit;
@@ -175,9 +176,9 @@ export declare class ComposioSDK {
175
176
  };
176
177
  private buildHeaders;
177
178
  private buildBody;
178
- static ComposioSDK: typeof ComposioSDK;
179
+ static Composio: typeof Composio;
179
180
  static DEFAULT_TIMEOUT: number;
180
- static ComposioSDKError: typeof Errors.ComposioSDKError;
181
+ static ComposioError: typeof Errors.ComposioError;
181
182
  static APIError: typeof Errors.APIError;
182
183
  static APIConnectionError: typeof Errors.APIConnectionError;
183
184
  static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
@@ -193,26 +194,28 @@ export declare class ComposioSDK {
193
194
  static toFile: typeof Uploads.toFile;
194
195
  authConfigs: API.AuthConfigs;
195
196
  connectedAccounts: API.ConnectedAccounts;
196
- trigger: API.Trigger;
197
- actionExecution: API.ActionExecution;
198
197
  org: API.Org;
199
198
  teamMembers: API.TeamMembers;
200
199
  toolkits: API.Toolkits;
201
200
  tools: API.Tools;
202
201
  triggerInstances: API.TriggerInstances;
203
202
  triggersTypes: API.TriggersTypes;
203
+ mcp: API.Mcp;
204
+ files: API.Files;
205
+ migration: API.Migration;
204
206
  }
205
- export declare namespace ComposioSDK {
207
+ export declare namespace Composio {
206
208
  export type RequestOptions = Opts.RequestOptions;
207
209
  export { AuthConfigs as AuthConfigs, type AuthConfigCreateResponse as AuthConfigCreateResponse, type AuthConfigRetrieveResponse as AuthConfigRetrieveResponse, type AuthConfigUpdateResponse as AuthConfigUpdateResponse, type AuthConfigListResponse as AuthConfigListResponse, type AuthConfigDeleteResponse as AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse as AuthConfigUpdateStatusResponse, type AuthConfigCreateParams as AuthConfigCreateParams, type AuthConfigUpdateParams as AuthConfigUpdateParams, type AuthConfigListParams as AuthConfigListParams, type AuthConfigUpdateStatusParams as AuthConfigUpdateStatusParams, };
208
210
  export { ConnectedAccounts as ConnectedAccounts, type ConnectedAccountCreateResponse as ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse as ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse as ConnectedAccountListResponse, type ConnectedAccountDeleteResponse as ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse as ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse as ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams as ConnectedAccountCreateParams, type ConnectedAccountListParams as ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams as ConnectedAccountUpdateStatusParams, };
209
- export { Trigger as Trigger, type TriggerLogResponse as TriggerLogResponse, type TriggerLogParams as TriggerLogParams, };
210
- export { ActionExecution as ActionExecution, type ActionExecutionLogResponse as ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse as ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams as ActionExecutionLogParams, };
211
211
  export { Org as Org };
212
212
  export { TeamMembers as TeamMembers, type TeamMemberUpdateResponse as TeamMemberUpdateResponse, type TeamMemberListResponse as TeamMemberListResponse, type TeamMemberInviteResponse as TeamMemberInviteResponse, type TeamMemberRemoveResponse as TeamMemberRemoveResponse, type TeamMemberUpdateParams as TeamMemberUpdateParams, type TeamMemberInviteParams as TeamMemberInviteParams, };
213
213
  export { Toolkits as Toolkits, type ToolkitRetrieveResponse as ToolkitRetrieveResponse, type ToolkitListResponse as ToolkitListResponse, type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse, type ToolkitListParams as ToolkitListParams, };
214
214
  export { Tools as Tools, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolListResponse as ToolListResponse, type ToolExecuteResponse as ToolExecuteResponse, type ToolGetInputResponse as ToolGetInputResponse, type ToolProxyResponse as ToolProxyResponse, type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse, type ToolListParams as ToolListParams, type ToolExecuteParams as ToolExecuteParams, type ToolGetInputParams as ToolGetInputParams, type ToolProxyParams as ToolProxyParams, };
215
215
  export { TriggerInstances as TriggerInstances, type TriggerInstanceListActiveResponse as TriggerInstanceListActiveResponse, type TriggerInstanceRemoveUpsertResponse as TriggerInstanceRemoveUpsertResponse, type TriggerInstanceUpdateStatusResponse as TriggerInstanceUpdateStatusResponse, type TriggerInstanceUpsertResponse as TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams as TriggerInstanceListActiveParams, type TriggerInstanceUpdateStatusParams as TriggerInstanceUpdateStatusParams, type TriggerInstanceUpsertParams as TriggerInstanceUpsertParams, };
216
216
  export { TriggersTypes as TriggersTypes, type TriggersTypeRetrieveResponse as TriggersTypeRetrieveResponse, type TriggersTypeListResponse as TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse as TriggersTypeRetrieveEnumResponse, type TriggersTypeListParams as TriggersTypeListParams, };
217
+ export { Mcp as Mcp, type McpCreateResponse as McpCreateResponse, type McpRetrieveResponse as McpRetrieveResponse, type McpUpdateResponse as McpUpdateResponse, type McpListResponse as McpListResponse, type McpDeleteResponse as McpDeleteResponse, type McpRetrieveAppResponse as McpRetrieveAppResponse, type McpValidateResponse as McpValidateResponse, type McpCreateParams as McpCreateParams, type McpUpdateParams as McpUpdateParams, type McpListParams as McpListParams, type McpValidateParams as McpValidateParams, };
218
+ export { Files as Files, type FileListResponse as FileListResponse, type FileCreatePresignedURLResponse as FileCreatePresignedURLResponse, type FileListParams as FileListParams, type FileCreatePresignedURLParams as FileCreatePresignedURLParams, };
219
+ export { Migration as Migration, type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams, };
217
220
  }
218
221
  //# sourceMappingURL=client.d.mts.map
package/client.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.mts","source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