@composio/client 0.1.0-alpha.5 → 0.1.0-alpha.50

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 (576) hide show
  1. package/CHANGELOG.md +685 -0
  2. package/README.md +22 -35
  3. package/api-promise.js +2 -15
  4. package/api-promise.js.map +1 -1
  5. package/client.d.mts +44 -39
  6. package/client.d.mts.map +1 -1
  7. package/client.d.ts +44 -39
  8. package/client.d.ts.map +1 -1
  9. package/client.js +89 -96
  10. package/client.js.map +1 -1
  11. package/client.mjs +71 -55
  12. package/client.mjs.map +1 -1
  13. package/core/api-promise.d.mts +0 -1
  14. package/core/api-promise.d.mts.map +1 -1
  15. package/core/api-promise.d.ts +0 -1
  16. package/core/api-promise.d.ts.map +1 -1
  17. package/core/api-promise.js +4 -14
  18. package/core/api-promise.js.map +1 -1
  19. package/core/api-promise.mjs +1 -11
  20. package/core/api-promise.mjs.map +1 -1
  21. package/core/error.d.mts +0 -1
  22. package/core/error.d.mts.map +1 -1
  23. package/core/error.d.ts +0 -1
  24. package/core/error.d.ts.map +1 -1
  25. package/core/error.js.map +1 -1
  26. package/core/error.mjs.map +1 -1
  27. package/core/resource.d.mts +1 -1
  28. package/core/resource.d.mts.map +1 -1
  29. package/core/resource.d.ts +1 -1
  30. package/core/resource.d.ts.map +1 -1
  31. package/core/resource.js.map +1 -1
  32. package/core/resource.mjs.map +1 -1
  33. package/error.js +2 -15
  34. package/error.js.map +1 -1
  35. package/internal/builtin-types.d.mts +0 -2
  36. package/internal/builtin-types.d.mts.map +1 -1
  37. package/internal/builtin-types.d.ts +0 -2
  38. package/internal/builtin-types.d.ts.map +1 -1
  39. package/internal/detect-platform.js +3 -3
  40. package/internal/detect-platform.js.map +1 -1
  41. package/internal/detect-platform.mjs +3 -3
  42. package/internal/detect-platform.mjs.map +1 -1
  43. package/internal/errors.d.mts.map +1 -1
  44. package/internal/errors.d.ts.map +1 -1
  45. package/internal/errors.js +2 -2
  46. package/internal/errors.js.map +1 -1
  47. package/internal/errors.mjs.map +1 -1
  48. package/internal/headers.d.mts +1 -2
  49. package/internal/headers.d.mts.map +1 -1
  50. package/internal/headers.d.ts +1 -2
  51. package/internal/headers.d.ts.map +1 -1
  52. package/internal/headers.js +7 -5
  53. package/internal/headers.js.map +1 -1
  54. package/internal/headers.mjs +7 -5
  55. package/internal/headers.mjs.map +1 -1
  56. package/internal/parse.d.mts +0 -1
  57. package/internal/parse.d.mts.map +1 -1
  58. package/internal/parse.d.ts +0 -1
  59. package/internal/parse.d.ts.map +1 -1
  60. package/internal/parse.js +1 -2
  61. package/internal/parse.js.map +1 -1
  62. package/internal/parse.mjs.map +1 -1
  63. package/internal/qs/formats.d.mts +1 -0
  64. package/internal/qs/formats.d.mts.map +1 -1
  65. package/internal/qs/formats.d.ts +1 -0
  66. package/internal/qs/formats.d.ts.map +1 -1
  67. package/internal/qs/formats.js +4 -2
  68. package/internal/qs/formats.js.map +1 -1
  69. package/internal/qs/formats.mjs +2 -1
  70. package/internal/qs/formats.mjs.map +1 -1
  71. package/internal/qs/stringify.d.mts.map +1 -1
  72. package/internal/qs/stringify.d.ts.map +1 -1
  73. package/internal/qs/stringify.js +16 -19
  74. package/internal/qs/stringify.js.map +1 -1
  75. package/internal/qs/stringify.mjs +17 -19
  76. package/internal/qs/stringify.mjs.map +1 -1
  77. package/internal/qs/utils.d.mts +1 -0
  78. package/internal/qs/utils.d.mts.map +1 -1
  79. package/internal/qs/utils.d.ts +1 -0
  80. package/internal/qs/utils.d.ts.map +1 -1
  81. package/internal/qs/utils.js +22 -21
  82. package/internal/qs/utils.js.map +1 -1
  83. package/internal/qs/utils.mjs +12 -12
  84. package/internal/qs/utils.mjs.map +1 -1
  85. package/internal/request-options.d.mts +43 -1
  86. package/internal/request-options.d.mts.map +1 -1
  87. package/internal/request-options.d.ts +43 -1
  88. package/internal/request-options.d.ts.map +1 -1
  89. package/internal/request-options.js.map +1 -1
  90. package/internal/request-options.mjs.map +1 -1
  91. package/internal/shim-types.d.mts +11 -22
  92. package/internal/shim-types.d.mts.map +1 -0
  93. package/internal/shim-types.d.ts +11 -22
  94. package/internal/shim-types.d.ts.map +1 -0
  95. package/internal/shim-types.js +4 -0
  96. package/internal/shim-types.js.map +1 -0
  97. package/{src/resources/org.ts → internal/shim-types.mjs} +2 -2
  98. package/internal/shim-types.mjs.map +1 -0
  99. package/internal/shims.d.mts +2 -2
  100. package/internal/shims.d.mts.map +1 -1
  101. package/internal/shims.d.ts +2 -2
  102. package/internal/shims.d.ts.map +1 -1
  103. package/internal/shims.js +5 -6
  104. package/internal/shims.js.map +1 -1
  105. package/internal/shims.mjs.map +1 -1
  106. package/internal/to-file.d.mts +1 -2
  107. package/internal/to-file.d.mts.map +1 -1
  108. package/internal/to-file.d.ts +1 -2
  109. package/internal/to-file.d.ts.map +1 -1
  110. package/internal/to-file.js +5 -5
  111. package/internal/to-file.js.map +1 -1
  112. package/internal/to-file.mjs +4 -3
  113. package/internal/to-file.mjs.map +1 -1
  114. package/internal/tslib.js +81 -0
  115. package/internal/tslib.mjs +17 -0
  116. package/internal/types.d.mts +8 -7
  117. package/internal/types.d.mts.map +1 -1
  118. package/internal/types.d.ts +8 -7
  119. package/internal/types.d.ts.map +1 -1
  120. package/internal/uploads.d.mts +1 -3
  121. package/internal/uploads.d.mts.map +1 -1
  122. package/internal/uploads.d.ts +1 -3
  123. package/internal/uploads.d.ts.map +1 -1
  124. package/internal/uploads.js +17 -7
  125. package/internal/uploads.js.map +1 -1
  126. package/internal/uploads.mjs +13 -4
  127. package/internal/uploads.mjs.map +1 -1
  128. package/internal/utils/base64.d.mts.map +1 -1
  129. package/internal/utils/base64.d.ts.map +1 -1
  130. package/internal/utils/base64.js +12 -7
  131. package/internal/utils/base64.js.map +1 -1
  132. package/internal/utils/base64.mjs +12 -7
  133. package/internal/utils/base64.mjs.map +1 -1
  134. package/internal/utils/bytes.d.mts +4 -0
  135. package/internal/utils/bytes.d.mts.map +1 -0
  136. package/internal/utils/bytes.d.ts +4 -0
  137. package/internal/utils/bytes.d.ts.map +1 -0
  138. package/internal/utils/bytes.js +31 -0
  139. package/internal/utils/bytes.js.map +1 -0
  140. package/internal/utils/bytes.mjs +26 -0
  141. package/internal/utils/bytes.mjs.map +1 -0
  142. package/internal/utils/env.d.mts.map +1 -1
  143. package/internal/utils/env.d.ts.map +1 -1
  144. package/internal/utils/env.js.map +1 -1
  145. package/internal/utils/env.mjs.map +1 -1
  146. package/internal/utils/log.d.mts +0 -1
  147. package/internal/utils/log.d.mts.map +1 -1
  148. package/internal/utils/log.d.ts +0 -1
  149. package/internal/utils/log.d.ts.map +1 -1
  150. package/internal/utils/log.js +3 -3
  151. package/internal/utils/log.js.map +1 -1
  152. package/internal/utils/log.mjs +1 -1
  153. package/internal/utils/log.mjs.map +1 -1
  154. package/internal/utils/path.d.mts.map +1 -1
  155. package/internal/utils/path.d.ts.map +1 -1
  156. package/internal/utils/path.js +28 -7
  157. package/internal/utils/path.js.map +1 -1
  158. package/internal/utils/path.mjs +27 -6
  159. package/internal/utils/path.mjs.map +1 -1
  160. package/internal/utils/sleep.d.mts.map +1 -1
  161. package/internal/utils/sleep.d.ts.map +1 -1
  162. package/internal/utils/uuid.d.mts +1 -1
  163. package/internal/utils/uuid.d.mts.map +1 -1
  164. package/internal/utils/uuid.d.ts +1 -1
  165. package/internal/utils/uuid.d.ts.map +1 -1
  166. package/internal/utils/uuid.js +1 -2
  167. package/internal/utils/uuid.js.map +1 -1
  168. package/internal/utils/uuid.mjs +1 -2
  169. package/internal/utils/uuid.mjs.map +1 -1
  170. package/internal/utils/values.d.mts +2 -0
  171. package/internal/utils/values.d.mts.map +1 -1
  172. package/internal/utils/values.d.ts +2 -0
  173. package/internal/utils/values.d.ts.map +1 -1
  174. package/internal/utils/values.js +11 -8
  175. package/internal/utils/values.js.map +1 -1
  176. package/internal/utils/values.mjs +5 -3
  177. package/internal/utils/values.mjs.map +1 -1
  178. package/internal/utils.js +7 -20
  179. package/internal/utils.js.map +1 -1
  180. package/package.json +6 -14
  181. package/resource.js +2 -15
  182. package/resource.js.map +1 -1
  183. package/resources/auth-configs.d.mts +453 -54
  184. package/resources/auth-configs.d.mts.map +1 -1
  185. package/resources/auth-configs.d.ts +453 -54
  186. package/resources/auth-configs.d.ts.map +1 -1
  187. package/resources/auth-configs.js +64 -0
  188. package/resources/auth-configs.js.map +1 -1
  189. package/resources/auth-configs.mjs +64 -0
  190. package/resources/auth-configs.mjs.map +1 -1
  191. package/resources/cli.d.mts +37 -65
  192. package/resources/cli.d.mts.map +1 -1
  193. package/resources/cli.d.ts +37 -65
  194. package/resources/cli.d.ts.map +1 -1
  195. package/resources/cli.js +13 -4
  196. package/resources/cli.js.map +1 -1
  197. package/resources/cli.mjs +13 -4
  198. package/resources/cli.mjs.map +1 -1
  199. package/resources/connected-accounts.d.mts +8726 -233
  200. package/resources/connected-accounts.d.mts.map +1 -1
  201. package/resources/connected-accounts.d.ts +8726 -233
  202. package/resources/connected-accounts.d.ts.map +1 -1
  203. package/resources/connected-accounts.js +77 -2
  204. package/resources/connected-accounts.js.map +1 -1
  205. package/resources/connected-accounts.mjs +77 -2
  206. package/resources/connected-accounts.mjs.map +1 -1
  207. package/resources/files.d.mts +218 -0
  208. package/resources/files.d.mts.map +1 -0
  209. package/resources/files.d.ts +218 -0
  210. package/resources/files.d.ts.map +1 -0
  211. package/resources/files.js +39 -0
  212. package/resources/files.js.map +1 -0
  213. package/resources/files.mjs +35 -0
  214. package/resources/files.mjs.map +1 -0
  215. package/resources/index.d.mts +11 -11
  216. package/resources/index.d.mts.map +1 -1
  217. package/resources/index.d.ts +11 -11
  218. package/resources/index.d.ts.map +1 -1
  219. package/resources/index.js +9 -9
  220. package/resources/index.js.map +1 -1
  221. package/resources/index.mjs +4 -4
  222. package/resources/index.mjs.map +1 -1
  223. package/resources/link.d.mts +2017 -0
  224. package/resources/link.d.mts.map +1 -0
  225. package/resources/link.d.ts +2017 -0
  226. package/resources/link.d.ts.map +1 -0
  227. package/resources/link.js +16 -0
  228. package/resources/link.js.map +1 -0
  229. package/resources/link.mjs +12 -0
  230. package/resources/link.mjs.map +1 -0
  231. package/resources/mcp/custom.d.mts +102 -0
  232. package/resources/mcp/custom.d.mts.map +1 -0
  233. package/resources/mcp/custom.d.ts +102 -0
  234. package/resources/mcp/custom.d.ts.map +1 -0
  235. package/resources/mcp/custom.js +26 -0
  236. package/resources/mcp/custom.js.map +1 -0
  237. package/resources/mcp/custom.mjs +22 -0
  238. package/resources/mcp/custom.mjs.map +1 -0
  239. package/resources/mcp/generate.d.mts +59 -0
  240. package/resources/mcp/generate.d.mts.map +1 -0
  241. package/resources/mcp/generate.d.ts +59 -0
  242. package/resources/mcp/generate.d.ts.map +1 -0
  243. package/resources/mcp/generate.js +26 -0
  244. package/resources/mcp/generate.js.map +1 -0
  245. package/resources/mcp/generate.mjs +22 -0
  246. package/resources/mcp/generate.mjs.map +1 -0
  247. package/resources/mcp/index.d.mts +3 -2
  248. package/resources/mcp/index.d.mts.map +1 -1
  249. package/resources/mcp/index.d.ts +3 -2
  250. package/resources/mcp/index.d.ts.map +1 -1
  251. package/resources/mcp/index.js +5 -3
  252. package/resources/mcp/index.js.map +1 -1
  253. package/resources/mcp/index.mjs +2 -1
  254. package/resources/mcp/index.mjs.map +1 -1
  255. package/resources/mcp/mcp.d.mts +447 -175
  256. package/resources/mcp/mcp.d.mts.map +1 -1
  257. package/resources/mcp/mcp.d.ts +447 -175
  258. package/resources/mcp/mcp.d.ts.map +1 -1
  259. package/resources/mcp/mcp.js +89 -39
  260. package/resources/mcp/mcp.js.map +1 -1
  261. package/resources/mcp/mcp.mjs +88 -16
  262. package/resources/mcp/mcp.mjs.map +1 -1
  263. package/resources/mcp.js +2 -15
  264. package/resources/mcp.js.map +1 -1
  265. package/resources/migration.d.mts +32 -0
  266. package/resources/migration.d.mts.map +1 -0
  267. package/resources/migration.d.ts +32 -0
  268. package/resources/migration.d.ts.map +1 -0
  269. package/resources/migration.js +17 -0
  270. package/resources/migration.js.map +1 -0
  271. package/resources/migration.mjs +13 -0
  272. package/resources/migration.mjs.map +1 -0
  273. package/resources/tool-router/index.d.mts +3 -0
  274. package/resources/tool-router/index.d.mts.map +1 -0
  275. package/resources/tool-router/index.d.ts +3 -0
  276. package/resources/tool-router/index.d.ts.map +1 -0
  277. package/resources/tool-router/index.js +9 -0
  278. package/resources/tool-router/index.js.map +1 -0
  279. package/resources/tool-router/index.mjs +4 -0
  280. package/resources/tool-router/index.mjs.map +1 -0
  281. package/resources/tool-router/session.d.mts +646 -0
  282. package/resources/tool-router/session.d.mts.map +1 -0
  283. package/resources/tool-router/session.d.ts +646 -0
  284. package/resources/tool-router/session.d.ts.map +1 -0
  285. package/resources/tool-router/session.js +107 -0
  286. package/resources/tool-router/session.js.map +1 -0
  287. package/resources/tool-router/session.mjs +103 -0
  288. package/resources/tool-router/session.mjs.map +1 -0
  289. package/resources/tool-router/tool-router.d.mts +91 -0
  290. package/resources/tool-router/tool-router.d.mts.map +1 -0
  291. package/resources/tool-router/tool-router.d.ts +91 -0
  292. package/resources/tool-router/tool-router.d.ts.map +1 -0
  293. package/resources/tool-router/tool-router.js +46 -0
  294. package/resources/tool-router/tool-router.js.map +1 -0
  295. package/resources/tool-router/tool-router.mjs +41 -0
  296. package/resources/tool-router/tool-router.mjs.map +1 -0
  297. package/resources/tool-router.d.mts +2 -0
  298. package/resources/tool-router.d.mts.map +1 -0
  299. package/resources/tool-router.d.ts +2 -0
  300. package/resources/tool-router.d.ts.map +1 -0
  301. package/resources/tool-router.js +6 -0
  302. package/resources/tool-router.js.map +1 -0
  303. package/resources/{org.mjs → tool-router.mjs} +2 -2
  304. package/resources/tool-router.mjs.map +1 -0
  305. package/resources/toolkits.d.mts +288 -6
  306. package/resources/toolkits.d.mts.map +1 -1
  307. package/resources/toolkits.d.ts +288 -6
  308. package/resources/toolkits.d.ts.map +1 -1
  309. package/resources/toolkits.js +20 -2
  310. package/resources/toolkits.js.map +1 -1
  311. package/resources/toolkits.mjs +20 -2
  312. package/resources/toolkits.mjs.map +1 -1
  313. package/resources/tools.d.mts +1209 -41
  314. package/resources/tools.d.mts.map +1 -1
  315. package/resources/tools.d.ts +1209 -41
  316. package/resources/tools.d.ts.map +1 -1
  317. package/resources/tools.js +73 -6
  318. package/resources/tools.js.map +1 -1
  319. package/resources/tools.mjs +73 -6
  320. package/resources/tools.mjs.map +1 -1
  321. package/resources/trigger-instances/index.d.mts +2 -2
  322. package/resources/trigger-instances/index.d.mts.map +1 -1
  323. package/resources/trigger-instances/index.d.ts +2 -2
  324. package/resources/trigger-instances/index.d.ts.map +1 -1
  325. package/resources/trigger-instances/index.js +3 -3
  326. package/resources/trigger-instances/index.js.map +1 -1
  327. package/resources/trigger-instances/index.mjs +1 -1
  328. package/resources/trigger-instances/index.mjs.map +1 -1
  329. package/resources/trigger-instances/manage.d.mts +43 -0
  330. package/resources/trigger-instances/manage.d.mts.map +1 -0
  331. package/resources/trigger-instances/manage.d.ts +43 -0
  332. package/resources/trigger-instances/manage.d.ts.map +1 -0
  333. package/resources/trigger-instances/manage.js +33 -0
  334. package/resources/trigger-instances/manage.js.map +1 -0
  335. package/resources/trigger-instances/manage.mjs +29 -0
  336. package/resources/trigger-instances/manage.mjs.map +1 -0
  337. package/resources/trigger-instances/trigger-instances.d.mts +163 -40
  338. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  339. package/resources/trigger-instances/trigger-instances.d.ts +163 -40
  340. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  341. package/resources/trigger-instances/trigger-instances.js +20 -35
  342. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  343. package/resources/trigger-instances/trigger-instances.mjs +19 -12
  344. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  345. package/resources/trigger-instances.js +2 -15
  346. package/resources/trigger-instances.js.map +1 -1
  347. package/resources/triggers-types.d.mts +145 -12
  348. package/resources/triggers-types.d.mts.map +1 -1
  349. package/resources/triggers-types.d.ts +145 -12
  350. package/resources/triggers-types.d.ts.map +1 -1
  351. package/resources/triggers-types.js +14 -2
  352. package/resources/triggers-types.js.map +1 -1
  353. package/resources/triggers-types.mjs +14 -2
  354. package/resources/triggers-types.mjs.map +1 -1
  355. package/resources.js +2 -15
  356. package/resources.js.map +1 -1
  357. package/src/client.ts +145 -114
  358. package/src/core/resource.ts +1 -1
  359. package/src/internal/detect-platform.ts +3 -3
  360. package/src/internal/headers.ts +9 -8
  361. package/src/internal/qs/formats.ts +2 -1
  362. package/src/internal/qs/stringify.ts +17 -20
  363. package/src/internal/qs/utils.ts +14 -14
  364. package/src/internal/request-options.ts +54 -0
  365. package/src/internal/shim-types.ts +26 -0
  366. package/src/internal/shims.ts +2 -2
  367. package/src/internal/to-file.ts +5 -3
  368. package/src/internal/types.ts +9 -6
  369. package/src/internal/uploads.ts +17 -5
  370. package/src/internal/utils/base64.ts +13 -10
  371. package/src/internal/utils/bytes.ts +32 -0
  372. package/src/internal/utils/log.ts +1 -1
  373. package/src/internal/utils/path.ts +33 -8
  374. package/src/internal/utils/uuid.ts +1 -3
  375. package/src/internal/utils/values.ts +6 -3
  376. package/src/resources/auth-configs.ts +507 -67
  377. package/src/resources/cli.ts +39 -83
  378. package/src/resources/connected-accounts.ts +16471 -459
  379. package/src/resources/files.ts +281 -0
  380. package/src/resources/index.ts +24 -26
  381. package/src/resources/link.ts +3817 -0
  382. package/src/resources/mcp/custom.ts +122 -0
  383. package/src/resources/mcp/generate.ts +71 -0
  384. package/src/resources/mcp/index.ts +3 -3
  385. package/src/resources/mcp/mcp.ts +484 -200
  386. package/src/resources/migration.ts +46 -0
  387. package/src/resources/tool-router/index.ts +21 -0
  388. package/src/resources/tool-router/session.ts +792 -0
  389. package/src/resources/tool-router/tool-router.ts +141 -0
  390. package/src/resources/{org/project.ts → tool-router.ts} +1 -1
  391. package/src/resources/toolkits.ts +328 -8
  392. package/src/resources/tools.ts +1880 -60
  393. package/src/resources/trigger-instances/index.ts +5 -9
  394. package/src/resources/trigger-instances/manage.ts +63 -0
  395. package/src/resources/trigger-instances/trigger-instances.ts +176 -64
  396. package/src/resources/triggers-types.ts +149 -14
  397. package/src/version.ts +1 -1
  398. package/uploads.js +2 -15
  399. package/uploads.js.map +1 -1
  400. package/version.d.mts +1 -1
  401. package/version.d.mts.map +1 -1
  402. package/version.d.ts +1 -1
  403. package/version.d.ts.map +1 -1
  404. package/version.js +1 -1
  405. package/version.js.map +1 -1
  406. package/version.mjs +1 -1
  407. package/version.mjs.map +1 -1
  408. package/internal/shims/crypto.d.mts +0 -13
  409. package/internal/shims/crypto.d.mts.map +0 -1
  410. package/internal/shims/crypto.d.ts +0 -13
  411. package/internal/shims/crypto.d.ts.map +0 -1
  412. package/internal/shims/crypto.js +0 -13
  413. package/internal/shims/crypto.js.map +0 -1
  414. package/internal/shims/crypto.mjs +0 -9
  415. package/internal/shims/crypto.mjs.map +0 -1
  416. package/internal/shims/file.d.mts +0 -23
  417. package/internal/shims/file.d.mts.map +0 -1
  418. package/internal/shims/file.d.ts +0 -23
  419. package/internal/shims/file.d.ts.map +0 -1
  420. package/internal/shims/file.js +0 -16
  421. package/internal/shims/file.js.map +0 -1
  422. package/internal/shims/file.mjs +0 -12
  423. package/internal/shims/file.mjs.map +0 -1
  424. package/internal/shims/getBuiltinModule.d.mts +0 -11
  425. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  426. package/internal/shims/getBuiltinModule.d.ts +0 -11
  427. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  428. package/internal/shims/getBuiltinModule.js +0 -71
  429. package/internal/shims/getBuiltinModule.js.map +0 -1
  430. package/internal/shims/getBuiltinModule.mjs +0 -67
  431. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  432. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  433. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  434. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  435. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  436. package/internal/shims/nullGetBuiltinModule.js +0 -5
  437. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  438. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  439. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  440. package/resources/action-execution.d.mts +0 -155
  441. package/resources/action-execution.d.mts.map +0 -1
  442. package/resources/action-execution.d.ts +0 -155
  443. package/resources/action-execution.d.ts.map +0 -1
  444. package/resources/action-execution.js +0 -19
  445. package/resources/action-execution.js.map +0 -1
  446. package/resources/action-execution.mjs +0 -15
  447. package/resources/action-execution.mjs.map +0 -1
  448. package/resources/mcp/command.d.mts +0 -34
  449. package/resources/mcp/command.d.mts.map +0 -1
  450. package/resources/mcp/command.d.ts +0 -34
  451. package/resources/mcp/command.d.ts.map +0 -1
  452. package/resources/mcp/command.js +0 -12
  453. package/resources/mcp/command.js.map +0 -1
  454. package/resources/mcp/command.mjs +0 -8
  455. package/resources/mcp/command.mjs.map +0 -1
  456. package/resources/org/api-key.d.mts +0 -17
  457. package/resources/org/api-key.d.mts.map +0 -1
  458. package/resources/org/api-key.d.ts +0 -17
  459. package/resources/org/api-key.d.ts.map +0 -1
  460. package/resources/org/api-key.js +0 -15
  461. package/resources/org/api-key.js.map +0 -1
  462. package/resources/org/api-key.mjs +0 -11
  463. package/resources/org/api-key.mjs.map +0 -1
  464. package/resources/org/index.d.mts +0 -4
  465. package/resources/org/index.d.mts.map +0 -1
  466. package/resources/org/index.d.ts +0 -4
  467. package/resources/org/index.d.ts.map +0 -1
  468. package/resources/org/index.js +0 -11
  469. package/resources/org/index.js.map +0 -1
  470. package/resources/org/index.mjs +0 -5
  471. package/resources/org/index.mjs.map +0 -1
  472. package/resources/org/org.d.mts +0 -14
  473. package/resources/org/org.d.mts.map +0 -1
  474. package/resources/org/org.d.ts +0 -14
  475. package/resources/org/org.d.ts.map +0 -1
  476. package/resources/org/org.js +0 -43
  477. package/resources/org/org.js.map +0 -1
  478. package/resources/org/org.mjs +0 -16
  479. package/resources/org/org.mjs.map +0 -1
  480. package/resources/org/project/api-keys.d.mts +0 -109
  481. package/resources/org/project/api-keys.d.mts.map +0 -1
  482. package/resources/org/project/api-keys.d.ts +0 -109
  483. package/resources/org/project/api-keys.d.ts.map +0 -1
  484. package/resources/org/project/api-keys.js +0 -23
  485. package/resources/org/project/api-keys.js.map +0 -1
  486. package/resources/org/project/api-keys.mjs +0 -19
  487. package/resources/org/project/api-keys.mjs.map +0 -1
  488. package/resources/org/project/index.d.mts +0 -5
  489. package/resources/org/project/index.d.mts.map +0 -1
  490. package/resources/org/project/index.d.ts +0 -5
  491. package/resources/org/project/index.d.ts.map +0 -1
  492. package/resources/org/project/index.js +0 -13
  493. package/resources/org/project/index.js.map +0 -1
  494. package/resources/org/project/index.mjs +0 -6
  495. package/resources/org/project/index.mjs.map +0 -1
  496. package/resources/org/project/project.d.mts +0 -90
  497. package/resources/org/project/project.d.mts.map +0 -1
  498. package/resources/org/project/project.d.ts +0 -90
  499. package/resources/org/project/project.d.ts.map +0 -1
  500. package/resources/org/project/project.js +0 -60
  501. package/resources/org/project/project.js.map +0 -1
  502. package/resources/org/project/project.mjs +0 -33
  503. package/resources/org/project/project.mjs.map +0 -1
  504. package/resources/org/project/trigger.d.mts +0 -51
  505. package/resources/org/project/trigger.d.mts.map +0 -1
  506. package/resources/org/project/trigger.d.ts +0 -51
  507. package/resources/org/project/trigger.d.ts.map +0 -1
  508. package/resources/org/project/trigger.js +0 -16
  509. package/resources/org/project/trigger.js.map +0 -1
  510. package/resources/org/project/trigger.mjs +0 -12
  511. package/resources/org/project/trigger.mjs.map +0 -1
  512. package/resources/org/project/webhook.d.mts +0 -92
  513. package/resources/org/project/webhook.d.mts.map +0 -1
  514. package/resources/org/project/webhook.d.ts +0 -92
  515. package/resources/org/project/webhook.d.ts.map +0 -1
  516. package/resources/org/project/webhook.js +0 -24
  517. package/resources/org/project/webhook.js.map +0 -1
  518. package/resources/org/project/webhook.mjs +0 -20
  519. package/resources/org/project/webhook.mjs.map +0 -1
  520. package/resources/org/project.d.mts +0 -2
  521. package/resources/org/project.d.mts.map +0 -1
  522. package/resources/org/project.d.ts +0 -2
  523. package/resources/org/project.d.ts.map +0 -1
  524. package/resources/org/project.js +0 -19
  525. package/resources/org/project.js.map +0 -1
  526. package/resources/org/project.mjs +0 -3
  527. package/resources/org/project.mjs.map +0 -1
  528. package/resources/org.d.mts +0 -2
  529. package/resources/org.d.mts.map +0 -1
  530. package/resources/org.d.ts +0 -2
  531. package/resources/org.d.ts.map +0 -1
  532. package/resources/org.js +0 -19
  533. package/resources/org.js.map +0 -1
  534. package/resources/org.mjs.map +0 -1
  535. package/resources/team-members.d.mts +0 -57
  536. package/resources/team-members.d.mts.map +0 -1
  537. package/resources/team-members.d.ts +0 -57
  538. package/resources/team-members.d.ts.map +0 -1
  539. package/resources/team-members.js +0 -22
  540. package/resources/team-members.js.map +0 -1
  541. package/resources/team-members.mjs +0 -18
  542. package/resources/team-members.mjs.map +0 -1
  543. package/resources/trigger-instances/handle.d.mts +0 -25
  544. package/resources/trigger-instances/handle.d.mts.map +0 -1
  545. package/resources/trigger-instances/handle.d.ts +0 -25
  546. package/resources/trigger-instances/handle.d.ts.map +0 -1
  547. package/resources/trigger-instances/handle.js +0 -18
  548. package/resources/trigger-instances/handle.js.map +0 -1
  549. package/resources/trigger-instances/handle.mjs +0 -14
  550. package/resources/trigger-instances/handle.mjs.map +0 -1
  551. package/resources/trigger.d.mts +0 -73
  552. package/resources/trigger.d.mts.map +0 -1
  553. package/resources/trigger.d.ts +0 -73
  554. package/resources/trigger.d.ts.map +0 -1
  555. package/resources/trigger.js +0 -12
  556. package/resources/trigger.js.map +0 -1
  557. package/resources/trigger.mjs +0 -8
  558. package/resources/trigger.mjs.map +0 -1
  559. package/src/internal/shim-types.d.ts +0 -28
  560. package/src/internal/shims/crypto.ts +0 -18
  561. package/src/internal/shims/file.ts +0 -32
  562. package/src/internal/shims/getBuiltinModule.ts +0 -66
  563. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  564. package/src/resources/action-execution.ts +0 -244
  565. package/src/resources/mcp/command.ts +0 -47
  566. package/src/resources/org/api-key.ts +0 -30
  567. package/src/resources/org/index.ts +0 -12
  568. package/src/resources/org/org.ts +0 -39
  569. package/src/resources/org/project/api-keys.ts +0 -156
  570. package/src/resources/org/project/index.ts +0 -35
  571. package/src/resources/org/project/project.ts +0 -206
  572. package/src/resources/org/project/trigger.ts +0 -95
  573. package/src/resources/org/project/webhook.ts +0 -131
  574. package/src/resources/team-members.ts +0 -111
  575. package/src/resources/trigger-instances/handle.ts +0 -45
  576. package/src/resources/trigger.ts +0 -108
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/resources/mcp/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE;OAC3D,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/E,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAIhC,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIzG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAA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AAY,GAAG,YAAY,CAAC;IAEvC;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAKD,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,66 +1,116 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || function (mod) {
20
- if (mod && mod.__esModule) return mod;
21
- var result = {};
22
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
- __setModuleDefault(result, mod);
24
- return result;
25
- };
26
3
  Object.defineProperty(exports, "__esModule", { value: true });
27
4
  exports.Mcp = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
28
6
  const resource_1 = require("../../core/resource.js");
29
- const CommandAPI = __importStar(require("./command.js"));
30
- const command_1 = require("./command.js");
31
- const headers_1 = require("../../internal/headers.js");
7
+ const CustomAPI = tslib_1.__importStar(require("./custom.js"));
8
+ const custom_1 = require("./custom.js");
9
+ const GenerateAPI = tslib_1.__importStar(require("./generate.js"));
10
+ const generate_1 = require("./generate.js");
32
11
  const path_1 = require("../../internal/utils/path.js");
33
12
  class Mcp extends resource_1.APIResource {
34
13
  constructor() {
35
14
  super(...arguments);
36
- this.command = new CommandAPI.Command(this._client);
15
+ this.custom = new CustomAPI.Custom(this._client);
16
+ this.generate = new GenerateAPI.Generate(this._client);
37
17
  }
18
+ /**
19
+ * Creates a new Model Control Protocol (MCP) server instance for the authenticated
20
+ * project. An MCP server provides a connection point for AI assistants to access
21
+ * your applications and services. The server is configured with specific
22
+ * authentication and tool permissions that determine what actions the connected
23
+ * assistants can perform.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const mcp = await client.mcp.create({
28
+ * auth_config_ids: ['auth_cfg_abc123def456'],
29
+ * name: 'GitHub Integration Server',
30
+ * });
31
+ * ```
32
+ */
38
33
  create(body, options) {
39
- return this._client.post('/api/v3/mcp/create', { body, ...options });
34
+ return this._client.post('/api/v3/mcp/servers', { body, ...options });
40
35
  }
36
+ /**
37
+ * Retrieves detailed configuration information for a specific Model Control
38
+ * Protocol (MCP) server. The returned data includes connection details, associated
39
+ * applications, enabled tools, and authentication configuration.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const mcp = await client.mcp.retrieve(
44
+ * '550e8400-e29b-41d4-a716-446655440000',
45
+ * );
46
+ * ```
47
+ */
41
48
  retrieve(id, options) {
42
49
  return this._client.get((0, path_1.path) `/api/v3/mcp/${id}`, options);
43
50
  }
51
+ /**
52
+ * Updates the configuration of an existing Model Control Protocol (MCP) server.
53
+ * You can modify the server name, associated applications, and enabled tools. Only
54
+ * the fields included in the request will be updated.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const mcp = await client.mcp.update(
59
+ * '550e8400-e29b-41d4-a716-446655440000',
60
+ * { name: 'Updated GitHub Integration Server' },
61
+ * );
62
+ * ```
63
+ */
44
64
  update(id, body = {}, options) {
45
65
  return this._client.patch((0, path_1.path) `/api/v3/mcp/${id}`, { body, ...options });
46
66
  }
67
+ /**
68
+ * Retrieves a paginated list of MCP servers associated with the authenticated
69
+ * project. Results can be filtered by name, toolkit, or authentication
70
+ * configuration ID. MCP servers are used to provide Model Control Protocol
71
+ * integration points for connecting AI assistants to your applications and
72
+ * services.
73
+ *
74
+ * @example
75
+ * ```ts
76
+ * const mcps = await client.mcp.list();
77
+ * ```
78
+ */
47
79
  list(query = {}, options) {
48
- return this._client.get('/api/v3/mcp/list', { query, ...options });
80
+ return this._client.get('/api/v3/mcp/servers', { query, ...options });
49
81
  }
82
+ /**
83
+ * Performs a soft delete on a Model Control Protocol (MCP) server, making it
84
+ * unavailable for future use. This operation is reversible in the database but
85
+ * cannot be undone through the API. Any applications or services connected to this
86
+ * server will lose access after deletion.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * const mcp = await client.mcp.delete(
91
+ * '550e8400-e29b-41d4-a716-446655440000',
92
+ * );
93
+ * ```
94
+ */
50
95
  delete(id, options) {
51
96
  return this._client.delete((0, path_1.path) `/api/v3/mcp/${id}`, options);
52
97
  }
53
- retrieveApp(appKey, options) {
54
- return this._client.get((0, path_1.path) `/api/v3/mcp/app/${appKey}`, options);
55
- }
56
- validate(uuid, params, options) {
57
- const { 'x-admin-token': xAdminToken } = params;
58
- return this._client.get((0, path_1.path) `/api/v3/mcp/validate/${uuid}`, {
59
- ...options,
60
- headers: (0, headers_1.buildHeaders)([{ 'x-admin-token': xAdminToken }, options?.headers]),
61
- });
98
+ /**
99
+ * Retrieves a paginated list of Model Control Protocol (MCP) servers that are
100
+ * configured for a specific application or toolkit. This endpoint allows you to
101
+ * find all MCP server instances that have access to a particular application, such
102
+ * as GitHub, Slack, or Jira.
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * const response = await client.mcp.retrieveApp('github');
107
+ * ```
108
+ */
109
+ retrieveApp(appKey, query = {}, options) {
110
+ return this._client.get((0, path_1.path) `/api/v3/mcp/app/${appKey}`, { query, ...options });
62
111
  }
63
112
  }
64
113
  exports.Mcp = Mcp;
65
- Mcp.Command = command_1.Command;
114
+ Mcp.Custom = custom_1.Custom;
115
+ Mcp.Generate = generate_1.Generate;
66
116
  //# sourceMappingURL=mcp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/resources/mcp/mcp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,qDAAkD;AAClD,yDAAwC;AACxC,0CAAoF;AAEpF,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,GAAI,SAAQ,sBAAW;IAApC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyCrE,CAAC;IAvCC,MAAM,CAAC,IAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,QAAQ,CAAC,EAAU,EAAE,OAA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,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,MAAc,EACd,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AA/GD,kBA+GC;AA4oBD,GAAG,CAAC,MAAM,GAAG,eAAM,CAAC;AACpB,GAAG,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
@@ -1,39 +1,111 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
- import * as CommandAPI from "./command.mjs";
4
- import { Command } from "./command.mjs";
5
- import { buildHeaders } from "../../internal/headers.mjs";
3
+ import * as CustomAPI from "./custom.mjs";
4
+ import { Custom } from "./custom.mjs";
5
+ import * as GenerateAPI from "./generate.mjs";
6
+ import { Generate } from "./generate.mjs";
6
7
  import { path } from "../../internal/utils/path.mjs";
7
8
  export class Mcp extends APIResource {
8
9
  constructor() {
9
10
  super(...arguments);
10
- this.command = new CommandAPI.Command(this._client);
11
+ this.custom = new CustomAPI.Custom(this._client);
12
+ this.generate = new GenerateAPI.Generate(this._client);
11
13
  }
14
+ /**
15
+ * Creates a new Model Control Protocol (MCP) server instance for the authenticated
16
+ * project. An MCP server provides a connection point for AI assistants to access
17
+ * your applications and services. The server is configured with specific
18
+ * authentication and tool permissions that determine what actions the connected
19
+ * assistants can perform.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const mcp = await client.mcp.create({
24
+ * auth_config_ids: ['auth_cfg_abc123def456'],
25
+ * name: 'GitHub Integration Server',
26
+ * });
27
+ * ```
28
+ */
12
29
  create(body, options) {
13
- return this._client.post('/api/v3/mcp/create', { body, ...options });
30
+ return this._client.post('/api/v3/mcp/servers', { body, ...options });
14
31
  }
32
+ /**
33
+ * Retrieves detailed configuration information for a specific Model Control
34
+ * Protocol (MCP) server. The returned data includes connection details, associated
35
+ * applications, enabled tools, and authentication configuration.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const mcp = await client.mcp.retrieve(
40
+ * '550e8400-e29b-41d4-a716-446655440000',
41
+ * );
42
+ * ```
43
+ */
15
44
  retrieve(id, options) {
16
45
  return this._client.get(path `/api/v3/mcp/${id}`, options);
17
46
  }
47
+ /**
48
+ * Updates the configuration of an existing Model Control Protocol (MCP) server.
49
+ * You can modify the server name, associated applications, and enabled tools. Only
50
+ * the fields included in the request will be updated.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * const mcp = await client.mcp.update(
55
+ * '550e8400-e29b-41d4-a716-446655440000',
56
+ * { name: 'Updated GitHub Integration Server' },
57
+ * );
58
+ * ```
59
+ */
18
60
  update(id, body = {}, options) {
19
61
  return this._client.patch(path `/api/v3/mcp/${id}`, { body, ...options });
20
62
  }
63
+ /**
64
+ * Retrieves a paginated list of MCP servers associated with the authenticated
65
+ * project. Results can be filtered by name, toolkit, or authentication
66
+ * configuration ID. MCP servers are used to provide Model Control Protocol
67
+ * integration points for connecting AI assistants to your applications and
68
+ * services.
69
+ *
70
+ * @example
71
+ * ```ts
72
+ * const mcps = await client.mcp.list();
73
+ * ```
74
+ */
21
75
  list(query = {}, options) {
22
- return this._client.get('/api/v3/mcp/list', { query, ...options });
76
+ return this._client.get('/api/v3/mcp/servers', { query, ...options });
23
77
  }
78
+ /**
79
+ * Performs a soft delete on a Model Control Protocol (MCP) server, making it
80
+ * unavailable for future use. This operation is reversible in the database but
81
+ * cannot be undone through the API. Any applications or services connected to this
82
+ * server will lose access after deletion.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const mcp = await client.mcp.delete(
87
+ * '550e8400-e29b-41d4-a716-446655440000',
88
+ * );
89
+ * ```
90
+ */
24
91
  delete(id, options) {
25
92
  return this._client.delete(path `/api/v3/mcp/${id}`, options);
26
93
  }
27
- retrieveApp(appKey, options) {
28
- return this._client.get(path `/api/v3/mcp/app/${appKey}`, options);
29
- }
30
- validate(uuid, params, options) {
31
- const { 'x-admin-token': xAdminToken } = params;
32
- return this._client.get(path `/api/v3/mcp/validate/${uuid}`, {
33
- ...options,
34
- headers: buildHeaders([{ 'x-admin-token': xAdminToken }, options?.headers]),
35
- });
94
+ /**
95
+ * Retrieves a paginated list of Model Control Protocol (MCP) servers that are
96
+ * configured for a specific application or toolkit. This endpoint allows you to
97
+ * find all MCP server instances that have access to a particular application, such
98
+ * as GitHub, Slack, or Jira.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const response = await client.mcp.retrieveApp('github');
103
+ * ```
104
+ */
105
+ retrieveApp(appKey, query = {}, options) {
106
+ return this._client.get(path `/api/v3/mcp/app/${appKey}`, { query, ...options });
36
107
  }
37
108
  }
38
- Mcp.Command = Command;
109
+ Mcp.Custom = Custom;
110
+ Mcp.Generate = Generate;
39
111
  //# sourceMappingURL=mcp.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.mjs","sourceRoot":"","sources":["../../src/resources/mcp/mcp.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAkD;OAE3D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,GAAI,SAAQ,WAAW;IAApC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyCrE,CAAC;IAvCC,MAAM,CAAC,IAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,O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AC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,MAAc,EACd,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AA4oBD,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;AACpB,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
package/resources/mcp.js CHANGED
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
3
  Object.defineProperty(exports, "__esModule", { value: true });
18
- __exportStar(require("./mcp/index.js"), exports);
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./mcp/index.js"), exports);
19
6
  //# sourceMappingURL=mcp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../src/resources/mcp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,iDAA4B"}
1
+ {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../src/resources/mcp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAA4B"}
@@ -0,0 +1,32 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ export declare class Migration extends APIResource {
5
+ /**
6
+ * Convert a legacy UUID to its corresponding NanoId for migration purposes. This
7
+ * endpoint facilitates the transition from UUID-based identifiers to the more
8
+ * compact NanoId format used in the v3 API.
9
+ */
10
+ retrieveNanoid(query: MigrationRetrieveNanoidParams, options?: RequestOptions): APIPromise<MigrationRetrieveNanoidResponse>;
11
+ }
12
+ export interface MigrationRetrieveNanoidResponse {
13
+ /**
14
+ * The NanoId corresponding to the provided UUID. This is the new identifier that
15
+ * should be used in place of the legacy UUID.
16
+ */
17
+ nanoid: string;
18
+ }
19
+ export interface MigrationRetrieveNanoidParams {
20
+ /**
21
+ * The type of resource that the UUID belongs to
22
+ */
23
+ type: 'CONNECTED_ACCOUNT' | 'AUTH_CONFIG' | 'TRIGGER_INSTANCE';
24
+ /**
25
+ * The legacy UUID that needs to be converted to a NanoId
26
+ */
27
+ uuid: string;
28
+ }
29
+ export declare namespace Migration {
30
+ export { type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams, };
31
+ }
32
+ //# sourceMappingURL=migration.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migration.d.mts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,cAAc,CACZ,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;CAG/C;AAED,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,mBAAmB,GAAG,aAAa,GAAG,kBAAkB,CAAC;IAE/D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -0,0 +1,32 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ export declare class Migration extends APIResource {
5
+ /**
6
+ * Convert a legacy UUID to its corresponding NanoId for migration purposes. This
7
+ * endpoint facilitates the transition from UUID-based identifiers to the more
8
+ * compact NanoId format used in the v3 API.
9
+ */
10
+ retrieveNanoid(query: MigrationRetrieveNanoidParams, options?: RequestOptions): APIPromise<MigrationRetrieveNanoidResponse>;
11
+ }
12
+ export interface MigrationRetrieveNanoidResponse {
13
+ /**
14
+ * The NanoId corresponding to the provided UUID. This is the new identifier that
15
+ * should be used in place of the legacy UUID.
16
+ */
17
+ nanoid: string;
18
+ }
19
+ export interface MigrationRetrieveNanoidParams {
20
+ /**
21
+ * The type of resource that the UUID belongs to
22
+ */
23
+ type: 'CONNECTED_ACCOUNT' | 'AUTH_CONFIG' | 'TRIGGER_INSTANCE';
24
+ /**
25
+ * The legacy UUID that needs to be converted to a NanoId
26
+ */
27
+ uuid: string;
28
+ }
29
+ export declare namespace Migration {
30
+ export { type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams, };
31
+ }
32
+ //# sourceMappingURL=migration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,cAAc,CACZ,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;CAG/C;AAED,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,mBAAmB,GAAG,aAAa,GAAG,kBAAkB,CAAC;IAE/D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Migration = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Migration extends resource_1.APIResource {
7
+ /**
8
+ * Convert a legacy UUID to its corresponding NanoId for migration purposes. This
9
+ * endpoint facilitates the transition from UUID-based identifiers to the more
10
+ * compact NanoId format used in the v3 API.
11
+ */
12
+ retrieveNanoid(query, options) {
13
+ return this._client.get('/api/v3/migration/get-nanoid', { query, ...options });
14
+ }
15
+ }
16
+ exports.Migration = Migration;
17
+ //# sourceMappingURL=migration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migration.js","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;OAIG;IACH,cAAc,CACZ,KAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAZD,8BAYC"}
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Migration extends APIResource {
4
+ /**
5
+ * Convert a legacy UUID to its corresponding NanoId for migration purposes. This
6
+ * endpoint facilitates the transition from UUID-based identifiers to the more
7
+ * compact NanoId format used in the v3 API.
8
+ */
9
+ retrieveNanoid(query, options) {
10
+ return this._client.get('/api/v3/migration/get-nanoid', { query, ...options });
11
+ }
12
+ }
13
+ //# sourceMappingURL=migration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migration.mjs","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,cAAc,CACZ,KAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, } from "./session.mjs";
2
+ export { ToolRouter, type ToolRouterCreateSessionResponse, type ToolRouterCreateSessionParams, } from "./tool-router.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,UAAU,EACV,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC"}
@@ -0,0 +1,3 @@
1
+ export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, } from "./session.js";
2
+ export { ToolRouter, type ToolRouterCreateSessionResponse, type ToolRouterCreateSessionParams, } from "./tool-router.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,UAAU,EACV,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ToolRouter = exports.Session = void 0;
5
+ var session_1 = require("./session.js");
6
+ Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return session_1.Session; } });
7
+ var tool_router_1 = require("./tool-router.js");
8
+ Object.defineProperty(exports, "ToolRouter", { enumerable: true, get: function () { return tool_router_1.ToolRouter; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAamB;AAZjB,kGAAA,OAAO,OAAA;AAaT,gDAIuB;AAHrB,yGAAA,UAAU,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Session, } from "./session.mjs";
3
+ export { ToolRouter, } from "./tool-router.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAYR;OACM,EACL,UAAU,GAGX"}