@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
@@ -0,0 +1,126 @@
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 Files extends APIResource {
5
+ /**
6
+ * List files with optional app and action filters
7
+ */
8
+ list(query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
9
+ /**
10
+ * Create presigned URL for request file upload to S3
11
+ */
12
+ createPresignedURL(body: FileCreatePresignedURLParams, options?: RequestOptions): APIPromise<FileCreatePresignedURLResponse>;
13
+ }
14
+ export interface FileListResponse {
15
+ items: Array<FileListResponse.Item>;
16
+ next_cursor: string | null;
17
+ total_pages: number;
18
+ }
19
+ export declare namespace FileListResponse {
20
+ interface Item {
21
+ /**
22
+ * Name of the original file.
23
+ */
24
+ filename: string;
25
+ /**
26
+ * MD5 of a file.
27
+ */
28
+ md5: string;
29
+ /**
30
+ * Mime type of the original file.
31
+ */
32
+ mimetype: string;
33
+ /**
34
+ * Name of the action where this file belongs to.
35
+ */
36
+ tool_slug: string;
37
+ /**
38
+ * Slug of the app where this file belongs to.
39
+ */
40
+ toolkit_slug: string;
41
+ }
42
+ }
43
+ export type FileCreatePresignedURLResponse = FileCreatePresignedURLResponse.UnionMember0 | FileCreatePresignedURLResponse.UnionMember1 | FileCreatePresignedURLResponse.UnionMember2;
44
+ export declare namespace FileCreatePresignedURLResponse {
45
+ interface UnionMember0 {
46
+ /**
47
+ * ID of the request file
48
+ */
49
+ id: string;
50
+ /**
51
+ * URL of the existing request file
52
+ */
53
+ existingUrl: string;
54
+ /**
55
+ * S3 upload location
56
+ */
57
+ key: string;
58
+ type: 'existing';
59
+ }
60
+ interface UnionMember1 {
61
+ /**
62
+ * ID of the request file
63
+ */
64
+ id: string;
65
+ /**
66
+ * S3 upload location
67
+ */
68
+ key: string;
69
+ /**
70
+ * Presigned URL for upload
71
+ */
72
+ newPresignedUrl: string;
73
+ type: 'new';
74
+ }
75
+ interface UnionMember2 {
76
+ /**
77
+ * ID of the request file
78
+ */
79
+ id: string;
80
+ /**
81
+ * S3 upload location
82
+ */
83
+ key: string;
84
+ type: 'update';
85
+ /**
86
+ * Presigned URL for upload
87
+ */
88
+ updatePresignedUrl: string;
89
+ }
90
+ }
91
+ export interface FileListParams {
92
+ /**
93
+ * Name of the action where this file belongs to.
94
+ */
95
+ tool_slug?: string;
96
+ /**
97
+ * Slug of the app where this file belongs to.
98
+ */
99
+ toolkit_slug?: string;
100
+ }
101
+ export interface FileCreatePresignedURLParams {
102
+ /**
103
+ * Name of the original file.
104
+ */
105
+ filename: string;
106
+ /**
107
+ * MD5 of a file.
108
+ */
109
+ md5: string;
110
+ /**
111
+ * Mime type of the original file.
112
+ */
113
+ mimetype: string;
114
+ /**
115
+ * Slug of the action where this file belongs to.
116
+ */
117
+ tool_slug: string;
118
+ /**
119
+ * Slug of the app where this file belongs to.
120
+ */
121
+ toolkit_slug: string;
122
+ }
123
+ export declare namespace Files {
124
+ export { type FileListResponse as FileListResponse, type FileCreatePresignedURLResponse as FileCreatePresignedURLResponse, type FileListParams as FileListParams, type FileCreatePresignedURLParams as FileCreatePresignedURLParams, };
125
+ }
126
+ //# sourceMappingURL=files.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,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EG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB,IAAI,EAAE,KAAK,CAAC;KACb;IAED,UAAiB,YAAY;QAC3B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ,IAAI,EAAE,QAAQ,CAAC;QAEf;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -0,0 +1,126 @@
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 Files extends APIResource {
5
+ /**
6
+ * List files with optional app and action filters
7
+ */
8
+ list(query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
9
+ /**
10
+ * Create presigned URL for request file upload to S3
11
+ */
12
+ createPresignedURL(body: FileCreatePresignedURLParams, options?: RequestOptions): APIPromise<FileCreatePresignedURLResponse>;
13
+ }
14
+ export interface FileListResponse {
15
+ items: Array<FileListResponse.Item>;
16
+ next_cursor: string | null;
17
+ total_pages: number;
18
+ }
19
+ export declare namespace FileListResponse {
20
+ interface Item {
21
+ /**
22
+ * Name of the original file.
23
+ */
24
+ filename: string;
25
+ /**
26
+ * MD5 of a file.
27
+ */
28
+ md5: string;
29
+ /**
30
+ * Mime type of the original file.
31
+ */
32
+ mimetype: string;
33
+ /**
34
+ * Name of the action where this file belongs to.
35
+ */
36
+ tool_slug: string;
37
+ /**
38
+ * Slug of the app where this file belongs to.
39
+ */
40
+ toolkit_slug: string;
41
+ }
42
+ }
43
+ export type FileCreatePresignedURLResponse = FileCreatePresignedURLResponse.UnionMember0 | FileCreatePresignedURLResponse.UnionMember1 | FileCreatePresignedURLResponse.UnionMember2;
44
+ export declare namespace FileCreatePresignedURLResponse {
45
+ interface UnionMember0 {
46
+ /**
47
+ * ID of the request file
48
+ */
49
+ id: string;
50
+ /**
51
+ * URL of the existing request file
52
+ */
53
+ existingUrl: string;
54
+ /**
55
+ * S3 upload location
56
+ */
57
+ key: string;
58
+ type: 'existing';
59
+ }
60
+ interface UnionMember1 {
61
+ /**
62
+ * ID of the request file
63
+ */
64
+ id: string;
65
+ /**
66
+ * S3 upload location
67
+ */
68
+ key: string;
69
+ /**
70
+ * Presigned URL for upload
71
+ */
72
+ newPresignedUrl: string;
73
+ type: 'new';
74
+ }
75
+ interface UnionMember2 {
76
+ /**
77
+ * ID of the request file
78
+ */
79
+ id: string;
80
+ /**
81
+ * S3 upload location
82
+ */
83
+ key: string;
84
+ type: 'update';
85
+ /**
86
+ * Presigned URL for upload
87
+ */
88
+ updatePresignedUrl: string;
89
+ }
90
+ }
91
+ export interface FileListParams {
92
+ /**
93
+ * Name of the action where this file belongs to.
94
+ */
95
+ tool_slug?: string;
96
+ /**
97
+ * Slug of the app where this file belongs to.
98
+ */
99
+ toolkit_slug?: string;
100
+ }
101
+ export interface FileCreatePresignedURLParams {
102
+ /**
103
+ * Name of the original file.
104
+ */
105
+ filename: string;
106
+ /**
107
+ * MD5 of a file.
108
+ */
109
+ md5: string;
110
+ /**
111
+ * Mime type of the original file.
112
+ */
113
+ mimetype: string;
114
+ /**
115
+ * Slug of the action where this file belongs to.
116
+ */
117
+ tool_slug: string;
118
+ /**
119
+ * Slug of the app where this file belongs to.
120
+ */
121
+ toolkit_slug: string;
122
+ }
123
+ export declare namespace Files {
124
+ export { type FileListResponse as FileListResponse, type FileCreatePresignedURLResponse as FileCreatePresignedURLResponse, type FileListParams as FileListParams, type FileCreatePresignedURLParams as FileCreatePresignedURLParams, };
125
+ }
126
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,IAAI;QACnB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC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,IAAI,cAAc,EACrC,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -0,0 +1,21 @@
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.Files = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Files extends resource_1.APIResource {
7
+ /**
8
+ * List files with optional app and action filters
9
+ */
10
+ list(query = {}, options) {
11
+ return this._client.get('/api/v3/files/list', { query, ...options });
12
+ }
13
+ /**
14
+ * Create presigned URL for request file upload to S3
15
+ */
16
+ createPresignedURL(body, options) {
17
+ return this._client.post('/api/v3/files/upload/request', { body, ...options });
18
+ }
19
+ }
20
+ exports.Files = Files;
21
+ //# sourceMappingURL=files.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.js","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AApBD,sBAoBC"}
@@ -0,0 +1,17 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Files extends APIResource {
4
+ /**
5
+ * List files with optional app and action filters
6
+ */
7
+ list(query = {}, options) {
8
+ return this._client.get('/api/v3/files/list', { query, ...options });
9
+ }
10
+ /**
11
+ * Create presigned URL for request file upload to S3
12
+ */
13
+ createPresignedURL(body, options) {
14
+ return this._client.post('/api/v3/files/upload/request', { body, ...options });
15
+ }
16
+ }
17
+ //# sourceMappingURL=files.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -1,11 +1,12 @@
1
- export { ActionExecution, type ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams, } from "./action-execution.mjs";
2
1
  export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.mjs";
3
2
  export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.mjs";
3
+ export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.mjs";
4
+ export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpValidateResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpValidateParams, } from "./mcp/mcp.mjs";
5
+ export { Migration, type MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams, } from "./migration.mjs";
4
6
  export { Org } from "./org/org.mjs";
5
7
  export { TeamMembers, type TeamMemberUpdateResponse, type TeamMemberListResponse, type TeamMemberInviteResponse, type TeamMemberRemoveResponse, type TeamMemberUpdateParams, type TeamMemberInviteParams, } from "./team-members.mjs";
6
8
  export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitListParams, } from "./toolkits.mjs";
7
9
  export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.mjs";
8
- export { Trigger, type TriggerLogResponse, type TriggerLogParams } from "./trigger.mjs";
9
10
  export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceRemoveUpsertResponse, type TriggerInstanceUpdateStatusResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpdateStatusParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.mjs";
10
11
  export { TriggersTypes, type TriggersTypeRetrieveResponse, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeListParams, } from "./triggers-types.mjs";
11
12
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAA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ACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,GACvB;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
@@ -1,11 +1,12 @@
1
- export { ActionExecution, type ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams, } from "./action-execution.js";
2
1
  export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.js";
3
2
  export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.js";
3
+ export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.js";
4
+ export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpValidateResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpValidateParams, } from "./mcp/mcp.js";
5
+ export { Migration, type MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams, } from "./migration.js";
4
6
  export { Org } from "./org/org.js";
5
7
  export { TeamMembers, type TeamMemberUpdateResponse, type TeamMemberListResponse, type TeamMemberInviteResponse, type TeamMemberRemoveResponse, type TeamMemberUpdateParams, type TeamMemberInviteParams, } from "./team-members.js";
6
8
  export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitListParams, } from "./toolkits.js";
7
9
  export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.js";
8
- export { Trigger, type TriggerLogResponse, type TriggerLogParams } from "./trigger.js";
9
10
  export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceRemoveUpsertResponse, type TriggerInstanceUpdateStatusResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpdateStatusParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.js";
10
11
  export { TriggersTypes, type TriggersTypeRetrieveResponse, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeListParams, } from "./triggers-types.js";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,GAC9B;OACM,EACL,WAAW,EACX,KAAK,wBAAwB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BAAsB,GAC5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,GACvB;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.TriggersTypes = exports.TriggerInstances = exports.Trigger = exports.Tools = exports.Toolkits = exports.TeamMembers = exports.Org = exports.ConnectedAccounts = exports.AuthConfigs = exports.ActionExecution = void 0;
5
- var action_execution_1 = require("./action-execution.js");
6
- Object.defineProperty(exports, "ActionExecution", { enumerable: true, get: function () { return action_execution_1.ActionExecution; } });
4
+ exports.TriggersTypes = exports.TriggerInstances = exports.Tools = exports.Toolkits = exports.TeamMembers = exports.Org = exports.Migration = exports.Mcp = exports.Files = exports.ConnectedAccounts = exports.AuthConfigs = void 0;
7
5
  var auth_configs_1 = require("./auth-configs.js");
8
6
  Object.defineProperty(exports, "AuthConfigs", { enumerable: true, get: function () { return auth_configs_1.AuthConfigs; } });
9
7
  var connected_accounts_1 = require("./connected-accounts.js");
10
8
  Object.defineProperty(exports, "ConnectedAccounts", { enumerable: true, get: function () { return connected_accounts_1.ConnectedAccounts; } });
9
+ var files_1 = require("./files.js");
10
+ Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
11
+ var mcp_1 = require("./mcp/mcp.js");
12
+ Object.defineProperty(exports, "Mcp", { enumerable: true, get: function () { return mcp_1.Mcp; } });
13
+ var migration_1 = require("./migration.js");
14
+ Object.defineProperty(exports, "Migration", { enumerable: true, get: function () { return migration_1.Migration; } });
11
15
  var org_1 = require("./org/org.js");
12
16
  Object.defineProperty(exports, "Org", { enumerable: true, get: function () { return org_1.Org; } });
13
17
  var team_members_1 = require("./team-members.js");
@@ -16,8 +20,6 @@ var toolkits_1 = require("./toolkits.js");
16
20
  Object.defineProperty(exports, "Toolkits", { enumerable: true, get: function () { return toolkits_1.Toolkits; } });
17
21
  var tools_1 = require("./tools.js");
18
22
  Object.defineProperty(exports, "Tools", { enumerable: true, get: function () { return tools_1.Tools; } });
19
- var trigger_1 = require("./trigger.js");
20
- Object.defineProperty(exports, "Trigger", { enumerable: true, get: function () { return trigger_1.Trigger; } });
21
23
  var trigger_instances_1 = require("./trigger-instances/trigger-instances.js");
22
24
  Object.defineProperty(exports, "TriggerInstances", { enumerable: true, get: function () { return trigger_instances_1.TriggerInstances; } });
23
25
  var triggers_types_1 = require("./triggers-types.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,kDAYwB;AAXtB,2GAAA,WAAW,OAAA;AAYb,8DAW8B;AAV5B,uHAAA,iBAAiB,OAAA;AAWnB,oCAAgC;AAAvB,0FAAA,GAAG,OAAA;AACZ,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,8EAS+C;AAR7C,qHAAA,gBAAgB,OAAA;AASlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAYwB;AAXtB,2GAAA,WAAW,OAAA;AAYb,8DAW8B;AAV5B,uHAAA,iBAAiB,OAAA;AAWnB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,oCAamB;AAZjB,0FAAA,GAAG,OAAA;AAaL,4CAIqB;AAHnB,sGAAA,SAAS,OAAA;AAIX,oCAAgC;AAAvB,0FAAA,GAAG,OAAA;AACZ,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,8EAS+C;AAR7C,qHAAA,gBAAgB,OAAA;AASlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA"}
@@ -1,12 +1,13 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { ActionExecution, } from "./action-execution.mjs";
3
2
  export { AuthConfigs, } from "./auth-configs.mjs";
4
3
  export { ConnectedAccounts, } from "./connected-accounts.mjs";
4
+ export { Files, } from "./files.mjs";
5
+ export { Mcp, } from "./mcp/mcp.mjs";
6
+ export { Migration, } from "./migration.mjs";
5
7
  export { Org } from "./org/org.mjs";
6
8
  export { TeamMembers, } from "./team-members.mjs";
7
9
  export { Toolkits, } from "./toolkits.mjs";
8
10
  export { Tools, } from "./tools.mjs";
9
- export { Trigger } from "./trigger.mjs";
10
11
  export { TriggerInstances, } from "./trigger-instances/trigger-instances.mjs";
11
12
  export { TriggersTypes, } from "./triggers-types.mjs";
12
13
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,eAAe,GAKhB;OACM,EACL,WAAW,GAWZ;OACM,EACL,iBAAiB,GAUlB;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAKT;OACM,EACL,KAAK,GAWN;OACM,EAAE,OAAO,EAAkD;OAC3D,EACL,gBAAgB,GAQjB;OACM,EACL,aAAa,GAKd"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAWZ;OACM,EACL,iBAAiB,GAUlB;OACM,EACL,KAAK,GAKN;OACM,EACL,GAAG,GAYJ;OACM,EACL,SAAS,GAGV;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAKT;OACM,EACL,KAAK,GAWN;OACM,EACL,gBAAgB,GAQjB;OACM,EACL,aAAa,GAKd"}
@@ -0,0 +1,37 @@
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 Command extends APIResource {
5
+ /**
6
+ * Generate CLI command to set up MCP server
7
+ */
8
+ generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse>;
9
+ }
10
+ export interface CommandGenerateResponse {
11
+ /**
12
+ * The generated command to run
13
+ */
14
+ command?: string;
15
+ /**
16
+ * The URL for the MCP server
17
+ */
18
+ url?: string;
19
+ }
20
+ export interface CommandGenerateParams {
21
+ /**
22
+ * The ID of the MCP server
23
+ */
24
+ id: string;
25
+ /**
26
+ * MCP client to generate command for
27
+ */
28
+ mcp_client: 'cursor' | 'claude' | 'windsurf';
29
+ /**
30
+ * Time to live for the command
31
+ */
32
+ ttl?: '1d' | '3d' | '1 month' | 'no expiration';
33
+ }
34
+ export declare namespace Command {
35
+ export { type CommandGenerateResponse as CommandGenerateResponse, type CommandGenerateParams as CommandGenerateParams, };
36
+ }
37
+ //# sourceMappingURL=command.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.mts","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGrG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -0,0 +1,37 @@
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 Command extends APIResource {
5
+ /**
6
+ * Generate CLI command to set up MCP server
7
+ */
8
+ generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse>;
9
+ }
10
+ export interface CommandGenerateResponse {
11
+ /**
12
+ * The generated command to run
13
+ */
14
+ command?: string;
15
+ /**
16
+ * The URL for the MCP server
17
+ */
18
+ url?: string;
19
+ }
20
+ export interface CommandGenerateParams {
21
+ /**
22
+ * The ID of the MCP server
23
+ */
24
+ id: string;
25
+ /**
26
+ * MCP client to generate command for
27
+ */
28
+ mcp_client: 'cursor' | 'claude' | 'windsurf';
29
+ /**
30
+ * Time to live for the command
31
+ */
32
+ ttl?: '1d' | '3d' | '1 month' | 'no expiration';
33
+ }
34
+ export declare namespace Command {
35
+ export { type CommandGenerateResponse as CommandGenerateResponse, type CommandGenerateParams as CommandGenerateParams, };
36
+ }
37
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGrG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -0,0 +1,15 @@
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.Command = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ class Command extends resource_1.APIResource {
7
+ /**
8
+ * Generate CLI command to set up MCP server
9
+ */
10
+ generate(body, options) {
11
+ return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
12
+ }
13
+ }
14
+ exports.Command = Command;
15
+ //# sourceMappingURL=command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.js","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAPD,0BAOC"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ export class Command extends APIResource {
4
+ /**
5
+ * Generate CLI command to set up MCP server
6
+ */
7
+ generate(body, options) {
8
+ return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
9
+ }
10
+ }
11
+ //# sourceMappingURL=command.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.mjs","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Command, type CommandGenerateResponse, type CommandGenerateParams } from "./command.mjs";
2
+ export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpValidateResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpValidateParams, } from "./mcp.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/mcp/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE;OACrE,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB"}
@@ -0,0 +1,3 @@
1
+ export { Command, type CommandGenerateResponse, type CommandGenerateParams } from "./command.js";
2
+ export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpValidateResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpValidateParams, } from "./mcp.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/mcp/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE;OACrE,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB"}
@@ -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.Mcp = exports.Command = void 0;
5
+ var command_1 = require("./command.js");
6
+ Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return command_1.Command; } });
7
+ var mcp_1 = require("./mcp.js");
8
+ Object.defineProperty(exports, "Mcp", { enumerable: true, get: function () { return mcp_1.Mcp; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/mcp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA8F;AAArF,kGAAA,OAAO,OAAA;AAChB,gCAae;AAZb,0FAAA,GAAG,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Command } from "./command.mjs";
3
+ export { Mcp, } from "./mcp.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/mcp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA4D;OACrE,EACL,GAAG,GAYJ"}