@composio/client 0.1.0-alpha.6 → 0.1.0-alpha.60

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 (681) hide show
  1. package/CHANGELOG.md +812 -0
  2. package/LICENSE +1 -1
  3. package/README.md +22 -35
  4. package/api-promise.js +2 -15
  5. package/api-promise.js.map +1 -1
  6. package/client.d.mts +51 -39
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +51 -39
  9. package/client.d.ts.map +1 -1
  10. package/client.js +111 -99
  11. package/client.js.map +1 -1
  12. package/client.mjs +92 -57
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts +0 -1
  15. package/core/api-promise.d.mts.map +1 -1
  16. package/core/api-promise.d.ts +0 -1
  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 +0 -1
  23. package/core/error.d.mts.map +1 -1
  24. package/core/error.d.ts +0 -1
  25. package/core/error.d.ts.map +1 -1
  26. package/core/error.js.map +1 -1
  27. package/core/error.mjs.map +1 -1
  28. package/core/resource.d.mts +1 -1
  29. package/core/resource.d.mts.map +1 -1
  30. package/core/resource.d.ts +1 -1
  31. package/core/resource.d.ts.map +1 -1
  32. package/core/resource.js.map +1 -1
  33. package/core/resource.mjs.map +1 -1
  34. package/error.js +2 -15
  35. package/error.js.map +1 -1
  36. package/internal/builtin-types.d.mts +0 -2
  37. package/internal/builtin-types.d.mts.map +1 -1
  38. package/internal/builtin-types.d.ts +0 -2
  39. package/internal/builtin-types.d.ts.map +1 -1
  40. package/internal/detect-platform.js +3 -3
  41. package/internal/detect-platform.js.map +1 -1
  42. package/internal/detect-platform.mjs +3 -3
  43. package/internal/detect-platform.mjs.map +1 -1
  44. package/internal/errors.d.mts.map +1 -1
  45. package/internal/errors.d.ts.map +1 -1
  46. package/internal/errors.js +2 -2
  47. package/internal/errors.js.map +1 -1
  48. package/internal/errors.mjs.map +1 -1
  49. package/internal/headers.d.mts +1 -2
  50. package/internal/headers.d.mts.map +1 -1
  51. package/internal/headers.d.ts +1 -2
  52. package/internal/headers.d.ts.map +1 -1
  53. package/internal/headers.js +7 -5
  54. package/internal/headers.js.map +1 -1
  55. package/internal/headers.mjs +7 -5
  56. package/internal/headers.mjs.map +1 -1
  57. package/internal/parse.d.mts +0 -1
  58. package/internal/parse.d.mts.map +1 -1
  59. package/internal/parse.d.ts +0 -1
  60. package/internal/parse.d.ts.map +1 -1
  61. package/internal/parse.js +6 -2
  62. package/internal/parse.js.map +1 -1
  63. package/internal/parse.mjs +5 -0
  64. package/internal/parse.mjs.map +1 -1
  65. package/internal/qs/formats.d.mts +1 -0
  66. package/internal/qs/formats.d.mts.map +1 -1
  67. package/internal/qs/formats.d.ts +1 -0
  68. package/internal/qs/formats.d.ts.map +1 -1
  69. package/internal/qs/formats.js +4 -2
  70. package/internal/qs/formats.js.map +1 -1
  71. package/internal/qs/formats.mjs +2 -1
  72. package/internal/qs/formats.mjs.map +1 -1
  73. package/internal/qs/stringify.d.mts.map +1 -1
  74. package/internal/qs/stringify.d.ts.map +1 -1
  75. package/internal/qs/stringify.js +16 -19
  76. package/internal/qs/stringify.js.map +1 -1
  77. package/internal/qs/stringify.mjs +17 -19
  78. package/internal/qs/stringify.mjs.map +1 -1
  79. package/internal/qs/utils.d.mts +1 -0
  80. package/internal/qs/utils.d.mts.map +1 -1
  81. package/internal/qs/utils.d.ts +1 -0
  82. package/internal/qs/utils.d.ts.map +1 -1
  83. package/internal/qs/utils.js +22 -21
  84. package/internal/qs/utils.js.map +1 -1
  85. package/internal/qs/utils.mjs +12 -12
  86. package/internal/qs/utils.mjs.map +1 -1
  87. package/internal/request-options.d.mts +43 -1
  88. package/internal/request-options.d.mts.map +1 -1
  89. package/internal/request-options.d.ts +43 -1
  90. package/internal/request-options.d.ts.map +1 -1
  91. package/internal/request-options.js.map +1 -1
  92. package/internal/request-options.mjs.map +1 -1
  93. package/internal/shim-types.d.mts +11 -22
  94. package/internal/shim-types.d.mts.map +1 -0
  95. package/internal/shim-types.d.ts +11 -22
  96. package/internal/shim-types.d.ts.map +1 -0
  97. package/internal/shim-types.js +4 -0
  98. package/internal/shim-types.js.map +1 -0
  99. package/{resources/org.mjs → internal/shim-types.mjs} +2 -2
  100. package/internal/shim-types.mjs.map +1 -0
  101. package/internal/shims.d.mts +2 -2
  102. package/internal/shims.d.mts.map +1 -1
  103. package/internal/shims.d.ts +2 -2
  104. package/internal/shims.d.ts.map +1 -1
  105. package/internal/shims.js +5 -6
  106. package/internal/shims.js.map +1 -1
  107. package/internal/shims.mjs.map +1 -1
  108. package/internal/to-file.d.mts +1 -2
  109. package/internal/to-file.d.mts.map +1 -1
  110. package/internal/to-file.d.ts +1 -2
  111. package/internal/to-file.d.ts.map +1 -1
  112. package/internal/to-file.js +5 -5
  113. package/internal/to-file.js.map +1 -1
  114. package/internal/to-file.mjs +4 -3
  115. package/internal/to-file.mjs.map +1 -1
  116. package/internal/tslib.js +81 -0
  117. package/internal/tslib.mjs +17 -0
  118. package/internal/types.d.mts +8 -7
  119. package/internal/types.d.mts.map +1 -1
  120. package/internal/types.d.ts +8 -7
  121. package/internal/types.d.ts.map +1 -1
  122. package/internal/uploads.d.mts +1 -3
  123. package/internal/uploads.d.mts.map +1 -1
  124. package/internal/uploads.d.ts +1 -3
  125. package/internal/uploads.d.ts.map +1 -1
  126. package/internal/uploads.js +17 -7
  127. package/internal/uploads.js.map +1 -1
  128. package/internal/uploads.mjs +13 -4
  129. package/internal/uploads.mjs.map +1 -1
  130. package/internal/utils/base64.d.mts.map +1 -1
  131. package/internal/utils/base64.d.ts.map +1 -1
  132. package/internal/utils/base64.js +12 -7
  133. package/internal/utils/base64.js.map +1 -1
  134. package/internal/utils/base64.mjs +12 -7
  135. package/internal/utils/base64.mjs.map +1 -1
  136. package/internal/utils/bytes.d.mts +4 -0
  137. package/internal/utils/bytes.d.mts.map +1 -0
  138. package/internal/utils/bytes.d.ts +4 -0
  139. package/internal/utils/bytes.d.ts.map +1 -0
  140. package/internal/utils/bytes.js +31 -0
  141. package/internal/utils/bytes.js.map +1 -0
  142. package/internal/utils/bytes.mjs +26 -0
  143. package/internal/utils/bytes.mjs.map +1 -0
  144. package/internal/utils/env.d.mts.map +1 -1
  145. package/internal/utils/env.d.ts.map +1 -1
  146. package/internal/utils/env.js.map +1 -1
  147. package/internal/utils/env.mjs.map +1 -1
  148. package/internal/utils/log.d.mts +0 -1
  149. package/internal/utils/log.d.mts.map +1 -1
  150. package/internal/utils/log.d.ts +0 -1
  151. package/internal/utils/log.d.ts.map +1 -1
  152. package/internal/utils/log.js +3 -3
  153. package/internal/utils/log.js.map +1 -1
  154. package/internal/utils/log.mjs +1 -1
  155. package/internal/utils/log.mjs.map +1 -1
  156. package/internal/utils/path.d.mts.map +1 -1
  157. package/internal/utils/path.d.ts.map +1 -1
  158. package/internal/utils/path.js +28 -7
  159. package/internal/utils/path.js.map +1 -1
  160. package/internal/utils/path.mjs +27 -6
  161. package/internal/utils/path.mjs.map +1 -1
  162. package/internal/utils/sleep.d.mts.map +1 -1
  163. package/internal/utils/sleep.d.ts.map +1 -1
  164. package/internal/utils/uuid.d.mts +1 -1
  165. package/internal/utils/uuid.d.mts.map +1 -1
  166. package/internal/utils/uuid.d.ts +1 -1
  167. package/internal/utils/uuid.d.ts.map +1 -1
  168. package/internal/utils/uuid.js +1 -2
  169. package/internal/utils/uuid.js.map +1 -1
  170. package/internal/utils/uuid.mjs +1 -2
  171. package/internal/utils/uuid.mjs.map +1 -1
  172. package/internal/utils/values.d.mts +2 -0
  173. package/internal/utils/values.d.mts.map +1 -1
  174. package/internal/utils/values.d.ts +2 -0
  175. package/internal/utils/values.d.ts.map +1 -1
  176. package/internal/utils/values.js +11 -8
  177. package/internal/utils/values.js.map +1 -1
  178. package/internal/utils/values.mjs +5 -3
  179. package/internal/utils/values.mjs.map +1 -1
  180. package/internal/utils.js +7 -20
  181. package/internal/utils.js.map +1 -1
  182. package/package.json +6 -14
  183. package/resource.js +2 -15
  184. package/resource.js.map +1 -1
  185. package/resources/auth-configs.d.mts +491 -54
  186. package/resources/auth-configs.d.mts.map +1 -1
  187. package/resources/auth-configs.d.ts +491 -54
  188. package/resources/auth-configs.d.ts.map +1 -1
  189. package/resources/auth-configs.js +70 -0
  190. package/resources/auth-configs.js.map +1 -1
  191. package/resources/auth-configs.mjs +70 -0
  192. package/resources/auth-configs.mjs.map +1 -1
  193. package/resources/cli/cli.d.mts +120 -0
  194. package/resources/cli/cli.d.mts.map +1 -0
  195. package/resources/cli/cli.d.ts +120 -0
  196. package/resources/cli/cli.d.ts.map +1 -0
  197. package/resources/cli/cli.js +36 -0
  198. package/resources/cli/cli.js.map +1 -0
  199. package/resources/cli/cli.mjs +31 -0
  200. package/resources/cli/cli.mjs.map +1 -0
  201. package/resources/cli/index.d.mts +3 -0
  202. package/resources/cli/index.d.mts.map +1 -0
  203. package/resources/cli/index.d.ts +3 -0
  204. package/resources/cli/index.d.ts.map +1 -0
  205. package/resources/cli/index.js +9 -0
  206. package/resources/cli/index.js.map +1 -0
  207. package/resources/cli/index.mjs +4 -0
  208. package/resources/cli/index.mjs.map +1 -0
  209. package/resources/cli/realtime.d.mts +53 -0
  210. package/resources/cli/realtime.d.mts.map +1 -0
  211. package/resources/cli/realtime.d.ts +53 -0
  212. package/resources/cli/realtime.d.ts.map +1 -0
  213. package/resources/cli/realtime.js +22 -0
  214. package/resources/cli/realtime.js.map +1 -0
  215. package/resources/cli/realtime.mjs +18 -0
  216. package/resources/cli/realtime.mjs.map +1 -0
  217. package/resources/cli.d.mts +1 -123
  218. package/resources/cli.d.mts.map +1 -1
  219. package/resources/cli.d.ts +1 -123
  220. package/resources/cli.d.ts.map +1 -1
  221. package/resources/cli.js +2 -14
  222. package/resources/cli.js.map +1 -1
  223. package/resources/cli.mjs +1 -12
  224. package/resources/cli.mjs.map +1 -1
  225. package/resources/connected-accounts.d.mts +8733 -233
  226. package/resources/connected-accounts.d.mts.map +1 -1
  227. package/resources/connected-accounts.d.ts +8733 -233
  228. package/resources/connected-accounts.d.ts.map +1 -1
  229. package/resources/connected-accounts.js +84 -2
  230. package/resources/connected-accounts.js.map +1 -1
  231. package/resources/connected-accounts.mjs +84 -2
  232. package/resources/connected-accounts.mjs.map +1 -1
  233. package/resources/files.d.mts +149 -0
  234. package/resources/files.d.mts.map +1 -0
  235. package/resources/files.d.ts +149 -0
  236. package/resources/files.d.ts.map +1 -0
  237. package/resources/files.js +39 -0
  238. package/resources/files.js.map +1 -0
  239. package/resources/files.mjs +35 -0
  240. package/resources/files.mjs.map +1 -0
  241. package/resources/index.d.mts +13 -11
  242. package/resources/index.d.mts.map +1 -1
  243. package/resources/index.d.ts +13 -11
  244. package/resources/index.d.ts.map +1 -1
  245. package/resources/index.js +14 -10
  246. package/resources/index.js.map +1 -1
  247. package/resources/index.mjs +7 -5
  248. package/resources/index.mjs.map +1 -1
  249. package/resources/link.d.mts +2017 -0
  250. package/resources/link.d.mts.map +1 -0
  251. package/resources/link.d.ts +2017 -0
  252. package/resources/link.d.ts.map +1 -0
  253. package/resources/link.js +16 -0
  254. package/resources/link.js.map +1 -0
  255. package/resources/link.mjs +12 -0
  256. package/resources/link.mjs.map +1 -0
  257. package/resources/logs/index.d.mts +4 -0
  258. package/resources/logs/index.d.mts.map +1 -0
  259. package/resources/logs/index.d.ts +4 -0
  260. package/resources/logs/index.d.ts.map +1 -0
  261. package/resources/logs/index.js +11 -0
  262. package/resources/logs/index.js.map +1 -0
  263. package/resources/logs/index.mjs +5 -0
  264. package/resources/logs/index.mjs.map +1 -0
  265. package/resources/logs/logs.d.mts +14 -0
  266. package/resources/logs/logs.d.mts.map +1 -0
  267. package/resources/logs/logs.d.ts +14 -0
  268. package/resources/logs/logs.d.ts.map +1 -0
  269. package/resources/logs/logs.js +21 -0
  270. package/resources/logs/logs.js.map +1 -0
  271. package/resources/logs/logs.mjs +16 -0
  272. package/resources/logs/logs.mjs.map +1 -0
  273. package/resources/logs/tools.d.mts +170 -0
  274. package/resources/logs/tools.d.mts.map +1 -0
  275. package/resources/logs/tools.d.ts +170 -0
  276. package/resources/logs/tools.d.ts.map +1 -0
  277. package/resources/logs/tools.js +32 -0
  278. package/resources/logs/tools.js.map +1 -0
  279. package/resources/logs/tools.mjs +28 -0
  280. package/resources/logs/tools.mjs.map +1 -0
  281. package/resources/logs/triggers.d.mts +158 -0
  282. package/resources/logs/triggers.d.mts.map +1 -0
  283. package/resources/logs/triggers.d.ts +158 -0
  284. package/resources/logs/triggers.d.ts.map +1 -0
  285. package/resources/logs/triggers.js +33 -0
  286. package/resources/logs/triggers.js.map +1 -0
  287. package/resources/logs/triggers.mjs +29 -0
  288. package/resources/logs/triggers.mjs.map +1 -0
  289. package/resources/logs.d.mts +2 -0
  290. package/resources/logs.d.mts.map +1 -0
  291. package/resources/logs.d.ts +2 -0
  292. package/resources/logs.d.ts.map +1 -0
  293. package/resources/logs.js +6 -0
  294. package/resources/logs.js.map +1 -0
  295. package/resources/logs.mjs +3 -0
  296. package/resources/logs.mjs.map +1 -0
  297. package/resources/mcp/custom.d.mts +102 -0
  298. package/resources/mcp/custom.d.mts.map +1 -0
  299. package/resources/mcp/custom.d.ts +102 -0
  300. package/resources/mcp/custom.d.ts.map +1 -0
  301. package/resources/mcp/custom.js +26 -0
  302. package/resources/mcp/custom.js.map +1 -0
  303. package/resources/mcp/custom.mjs +22 -0
  304. package/resources/mcp/custom.mjs.map +1 -0
  305. package/resources/mcp/generate.d.mts +59 -0
  306. package/resources/mcp/generate.d.mts.map +1 -0
  307. package/resources/mcp/generate.d.ts +59 -0
  308. package/resources/mcp/generate.d.ts.map +1 -0
  309. package/resources/mcp/generate.js +26 -0
  310. package/resources/mcp/generate.js.map +1 -0
  311. package/resources/mcp/generate.mjs +22 -0
  312. package/resources/mcp/generate.mjs.map +1 -0
  313. package/resources/mcp/index.d.mts +3 -2
  314. package/resources/mcp/index.d.mts.map +1 -1
  315. package/resources/mcp/index.d.ts +3 -2
  316. package/resources/mcp/index.d.ts.map +1 -1
  317. package/resources/mcp/index.js +5 -3
  318. package/resources/mcp/index.js.map +1 -1
  319. package/resources/mcp/index.mjs +2 -1
  320. package/resources/mcp/index.mjs.map +1 -1
  321. package/resources/mcp/mcp.d.mts +447 -175
  322. package/resources/mcp/mcp.d.mts.map +1 -1
  323. package/resources/mcp/mcp.d.ts +447 -175
  324. package/resources/mcp/mcp.d.ts.map +1 -1
  325. package/resources/mcp/mcp.js +89 -39
  326. package/resources/mcp/mcp.js.map +1 -1
  327. package/resources/mcp/mcp.mjs +88 -16
  328. package/resources/mcp/mcp.mjs.map +1 -1
  329. package/resources/mcp.js +2 -15
  330. package/resources/mcp.js.map +1 -1
  331. package/resources/migration.d.mts +32 -0
  332. package/resources/migration.d.mts.map +1 -0
  333. package/resources/migration.d.ts +32 -0
  334. package/resources/migration.d.ts.map +1 -0
  335. package/resources/migration.js +17 -0
  336. package/resources/migration.js.map +1 -0
  337. package/resources/migration.mjs +13 -0
  338. package/resources/migration.mjs.map +1 -0
  339. package/resources/project/config.d.mts +71 -0
  340. package/resources/project/config.d.mts.map +1 -0
  341. package/resources/project/config.d.ts +71 -0
  342. package/resources/project/config.d.ts.map +1 -0
  343. package/resources/project/config.js +33 -0
  344. package/resources/project/config.js.map +1 -0
  345. package/resources/project/config.mjs +29 -0
  346. package/resources/project/config.mjs.map +1 -0
  347. package/resources/project/index.d.mts +3 -0
  348. package/resources/project/index.d.mts.map +1 -0
  349. package/resources/project/index.d.ts +3 -0
  350. package/resources/project/index.d.ts.map +1 -0
  351. package/resources/project/index.js +9 -0
  352. package/resources/project/index.js.map +1 -0
  353. package/resources/project/index.mjs +4 -0
  354. package/resources/project/index.mjs.map +1 -0
  355. package/resources/project/project.d.mts +10 -0
  356. package/resources/project/project.d.mts.map +1 -0
  357. package/resources/project/project.d.ts +10 -0
  358. package/resources/project/project.d.ts.map +1 -0
  359. package/resources/project/project.js +17 -0
  360. package/resources/project/project.js.map +1 -0
  361. package/resources/project/project.mjs +12 -0
  362. package/resources/project/project.mjs.map +1 -0
  363. package/resources/{org/project.d.mts.map → project.d.mts.map} +1 -1
  364. package/resources/{org/project.d.ts.map → project.d.ts.map} +1 -1
  365. package/resources/project.js +6 -0
  366. package/resources/project.js.map +1 -0
  367. package/resources/project.mjs.map +1 -0
  368. package/resources/tool-router/index.d.mts +3 -0
  369. package/resources/tool-router/index.d.mts.map +1 -0
  370. package/resources/tool-router/index.d.ts +3 -0
  371. package/resources/tool-router/index.d.ts.map +1 -0
  372. package/resources/tool-router/index.js +9 -0
  373. package/resources/tool-router/index.js.map +1 -0
  374. package/resources/tool-router/index.mjs +4 -0
  375. package/resources/tool-router/index.mjs.map +1 -0
  376. package/resources/tool-router/session.d.mts +1194 -0
  377. package/resources/tool-router/session.d.mts.map +1 -0
  378. package/resources/tool-router/session.d.ts +1194 -0
  379. package/resources/tool-router/session.d.ts.map +1 -0
  380. package/resources/tool-router/session.js +142 -0
  381. package/resources/tool-router/session.js.map +1 -0
  382. package/resources/tool-router/session.mjs +138 -0
  383. package/resources/tool-router/session.mjs.map +1 -0
  384. package/resources/tool-router/tool-router.d.mts +91 -0
  385. package/resources/tool-router/tool-router.d.mts.map +1 -0
  386. package/resources/tool-router/tool-router.d.ts +91 -0
  387. package/resources/tool-router/tool-router.d.ts.map +1 -0
  388. package/resources/tool-router/tool-router.js +46 -0
  389. package/resources/tool-router/tool-router.js.map +1 -0
  390. package/resources/tool-router/tool-router.mjs +41 -0
  391. package/resources/tool-router/tool-router.mjs.map +1 -0
  392. package/resources/tool-router.d.mts +2 -0
  393. package/resources/tool-router.d.mts.map +1 -0
  394. package/resources/tool-router.d.ts +2 -0
  395. package/resources/tool-router.d.ts.map +1 -0
  396. package/resources/tool-router.js +6 -0
  397. package/resources/tool-router.js.map +1 -0
  398. package/resources/tool-router.mjs +3 -0
  399. package/resources/tool-router.mjs.map +1 -0
  400. package/resources/toolkits.d.mts +298 -6
  401. package/resources/toolkits.d.mts.map +1 -1
  402. package/resources/toolkits.d.ts +298 -6
  403. package/resources/toolkits.d.ts.map +1 -1
  404. package/resources/toolkits.js +20 -2
  405. package/resources/toolkits.js.map +1 -1
  406. package/resources/toolkits.mjs +20 -2
  407. package/resources/toolkits.mjs.map +1 -1
  408. package/resources/tools.d.mts +1286 -41
  409. package/resources/tools.d.mts.map +1 -1
  410. package/resources/tools.d.ts +1286 -41
  411. package/resources/tools.d.ts.map +1 -1
  412. package/resources/tools.js +82 -6
  413. package/resources/tools.js.map +1 -1
  414. package/resources/tools.mjs +82 -6
  415. package/resources/tools.mjs.map +1 -1
  416. package/resources/trigger-instances/index.d.mts +2 -2
  417. package/resources/trigger-instances/index.d.mts.map +1 -1
  418. package/resources/trigger-instances/index.d.ts +2 -2
  419. package/resources/trigger-instances/index.d.ts.map +1 -1
  420. package/resources/trigger-instances/index.js +3 -3
  421. package/resources/trigger-instances/index.js.map +1 -1
  422. package/resources/trigger-instances/index.mjs +1 -1
  423. package/resources/trigger-instances/index.mjs.map +1 -1
  424. package/resources/trigger-instances/manage.d.mts +52 -0
  425. package/resources/trigger-instances/manage.d.mts.map +1 -0
  426. package/resources/trigger-instances/manage.d.ts +52 -0
  427. package/resources/trigger-instances/manage.d.ts.map +1 -0
  428. package/resources/trigger-instances/manage.js +42 -0
  429. package/resources/trigger-instances/manage.js.map +1 -0
  430. package/resources/trigger-instances/manage.mjs +38 -0
  431. package/resources/trigger-instances/manage.mjs.map +1 -0
  432. package/resources/trigger-instances/trigger-instances.d.mts +181 -42
  433. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  434. package/resources/trigger-instances/trigger-instances.d.ts +181 -42
  435. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  436. package/resources/trigger-instances/trigger-instances.js +31 -35
  437. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  438. package/resources/trigger-instances/trigger-instances.mjs +30 -12
  439. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  440. package/resources/trigger-instances.js +2 -15
  441. package/resources/trigger-instances.js.map +1 -1
  442. package/resources/triggers-types.d.mts +145 -12
  443. package/resources/triggers-types.d.mts.map +1 -1
  444. package/resources/triggers-types.d.ts +145 -12
  445. package/resources/triggers-types.d.ts.map +1 -1
  446. package/resources/triggers-types.js +14 -2
  447. package/resources/triggers-types.js.map +1 -1
  448. package/resources/triggers-types.mjs +14 -2
  449. package/resources/triggers-types.mjs.map +1 -1
  450. package/resources.js +2 -15
  451. package/resources.js.map +1 -1
  452. package/src/client.ts +180 -117
  453. package/src/core/resource.ts +1 -1
  454. package/src/internal/detect-platform.ts +3 -3
  455. package/src/internal/headers.ts +9 -8
  456. package/src/internal/parse.ts +6 -0
  457. package/src/internal/qs/formats.ts +2 -1
  458. package/src/internal/qs/stringify.ts +17 -20
  459. package/src/internal/qs/utils.ts +14 -14
  460. package/src/internal/request-options.ts +54 -0
  461. package/src/internal/shim-types.ts +26 -0
  462. package/src/internal/shims.ts +2 -2
  463. package/src/internal/to-file.ts +5 -3
  464. package/src/internal/types.ts +9 -6
  465. package/src/internal/uploads.ts +17 -5
  466. package/src/internal/utils/base64.ts +13 -10
  467. package/src/internal/utils/bytes.ts +32 -0
  468. package/src/internal/utils/log.ts +1 -1
  469. package/src/internal/utils/path.ts +33 -8
  470. package/src/internal/utils/uuid.ts +1 -3
  471. package/src/internal/utils/values.ts +6 -3
  472. package/src/resources/auth-configs.ts +556 -67
  473. package/src/resources/cli/cli.ts +163 -0
  474. package/src/resources/cli/index.ts +15 -0
  475. package/src/resources/cli/realtime.ts +72 -0
  476. package/src/resources/cli.ts +1 -164
  477. package/src/resources/connected-accounts.ts +16480 -459
  478. package/src/resources/files.ts +194 -0
  479. package/src/resources/index.ts +28 -27
  480. package/src/resources/link.ts +3817 -0
  481. package/src/resources/logs/index.ts +10 -0
  482. package/src/resources/logs/logs.ts +31 -0
  483. package/src/resources/{action-execution.ts → logs/tools.ts} +94 -102
  484. package/src/resources/logs/triggers.ts +238 -0
  485. package/src/resources/{org.ts → logs.ts} +1 -1
  486. package/src/resources/mcp/custom.ts +122 -0
  487. package/src/resources/mcp/generate.ts +71 -0
  488. package/src/resources/mcp/index.ts +3 -3
  489. package/src/resources/mcp/mcp.ts +484 -200
  490. package/src/resources/migration.ts +46 -0
  491. package/src/resources/project/config.ts +110 -0
  492. package/src/resources/project/index.ts +9 -0
  493. package/src/resources/project/project.ts +20 -0
  494. package/src/resources/tool-router/index.ts +25 -0
  495. package/src/resources/tool-router/session.ts +1434 -0
  496. package/src/resources/tool-router/tool-router.ts +149 -0
  497. package/src/resources/tool-router.ts +3 -0
  498. package/src/resources/toolkits.ts +340 -8
  499. package/src/resources/tools.ts +1980 -60
  500. package/src/resources/trigger-instances/index.ts +5 -9
  501. package/src/resources/trigger-instances/manage.ts +72 -0
  502. package/src/resources/trigger-instances/trigger-instances.ts +194 -66
  503. package/src/resources/triggers-types.ts +149 -14
  504. package/src/version.ts +1 -1
  505. package/uploads.js +2 -15
  506. package/uploads.js.map +1 -1
  507. package/version.d.mts +1 -1
  508. package/version.d.mts.map +1 -1
  509. package/version.d.ts +1 -1
  510. package/version.d.ts.map +1 -1
  511. package/version.js +1 -1
  512. package/version.js.map +1 -1
  513. package/version.mjs +1 -1
  514. package/version.mjs.map +1 -1
  515. package/internal/shims/crypto.d.mts +0 -13
  516. package/internal/shims/crypto.d.mts.map +0 -1
  517. package/internal/shims/crypto.d.ts +0 -13
  518. package/internal/shims/crypto.d.ts.map +0 -1
  519. package/internal/shims/crypto.js +0 -13
  520. package/internal/shims/crypto.js.map +0 -1
  521. package/internal/shims/crypto.mjs +0 -9
  522. package/internal/shims/crypto.mjs.map +0 -1
  523. package/internal/shims/file.d.mts +0 -23
  524. package/internal/shims/file.d.mts.map +0 -1
  525. package/internal/shims/file.d.ts +0 -23
  526. package/internal/shims/file.d.ts.map +0 -1
  527. package/internal/shims/file.js +0 -16
  528. package/internal/shims/file.js.map +0 -1
  529. package/internal/shims/file.mjs +0 -12
  530. package/internal/shims/file.mjs.map +0 -1
  531. package/internal/shims/getBuiltinModule.d.mts +0 -11
  532. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  533. package/internal/shims/getBuiltinModule.d.ts +0 -11
  534. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  535. package/internal/shims/getBuiltinModule.js +0 -71
  536. package/internal/shims/getBuiltinModule.js.map +0 -1
  537. package/internal/shims/getBuiltinModule.mjs +0 -67
  538. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  539. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  540. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  541. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  542. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  543. package/internal/shims/nullGetBuiltinModule.js +0 -5
  544. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  545. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  546. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  547. package/resources/action-execution.d.mts +0 -155
  548. package/resources/action-execution.d.mts.map +0 -1
  549. package/resources/action-execution.d.ts +0 -155
  550. package/resources/action-execution.d.ts.map +0 -1
  551. package/resources/action-execution.js +0 -19
  552. package/resources/action-execution.js.map +0 -1
  553. package/resources/action-execution.mjs +0 -15
  554. package/resources/action-execution.mjs.map +0 -1
  555. package/resources/mcp/command.d.mts +0 -34
  556. package/resources/mcp/command.d.mts.map +0 -1
  557. package/resources/mcp/command.d.ts +0 -34
  558. package/resources/mcp/command.d.ts.map +0 -1
  559. package/resources/mcp/command.js +0 -12
  560. package/resources/mcp/command.js.map +0 -1
  561. package/resources/mcp/command.mjs +0 -8
  562. package/resources/mcp/command.mjs.map +0 -1
  563. package/resources/org/api-key.d.mts +0 -17
  564. package/resources/org/api-key.d.mts.map +0 -1
  565. package/resources/org/api-key.d.ts +0 -17
  566. package/resources/org/api-key.d.ts.map +0 -1
  567. package/resources/org/api-key.js +0 -15
  568. package/resources/org/api-key.js.map +0 -1
  569. package/resources/org/api-key.mjs +0 -11
  570. package/resources/org/api-key.mjs.map +0 -1
  571. package/resources/org/index.d.mts +0 -4
  572. package/resources/org/index.d.mts.map +0 -1
  573. package/resources/org/index.d.ts +0 -4
  574. package/resources/org/index.d.ts.map +0 -1
  575. package/resources/org/index.js +0 -11
  576. package/resources/org/index.js.map +0 -1
  577. package/resources/org/index.mjs +0 -5
  578. package/resources/org/index.mjs.map +0 -1
  579. package/resources/org/org.d.mts +0 -14
  580. package/resources/org/org.d.mts.map +0 -1
  581. package/resources/org/org.d.ts +0 -14
  582. package/resources/org/org.d.ts.map +0 -1
  583. package/resources/org/org.js +0 -43
  584. package/resources/org/org.js.map +0 -1
  585. package/resources/org/org.mjs +0 -16
  586. package/resources/org/org.mjs.map +0 -1
  587. package/resources/org/project/api-keys.d.mts +0 -109
  588. package/resources/org/project/api-keys.d.mts.map +0 -1
  589. package/resources/org/project/api-keys.d.ts +0 -109
  590. package/resources/org/project/api-keys.d.ts.map +0 -1
  591. package/resources/org/project/api-keys.js +0 -23
  592. package/resources/org/project/api-keys.js.map +0 -1
  593. package/resources/org/project/api-keys.mjs +0 -19
  594. package/resources/org/project/api-keys.mjs.map +0 -1
  595. package/resources/org/project/index.d.mts +0 -5
  596. package/resources/org/project/index.d.mts.map +0 -1
  597. package/resources/org/project/index.d.ts +0 -5
  598. package/resources/org/project/index.d.ts.map +0 -1
  599. package/resources/org/project/index.js +0 -13
  600. package/resources/org/project/index.js.map +0 -1
  601. package/resources/org/project/index.mjs +0 -6
  602. package/resources/org/project/index.mjs.map +0 -1
  603. package/resources/org/project/project.d.mts +0 -90
  604. package/resources/org/project/project.d.mts.map +0 -1
  605. package/resources/org/project/project.d.ts +0 -90
  606. package/resources/org/project/project.d.ts.map +0 -1
  607. package/resources/org/project/project.js +0 -60
  608. package/resources/org/project/project.js.map +0 -1
  609. package/resources/org/project/project.mjs +0 -33
  610. package/resources/org/project/project.mjs.map +0 -1
  611. package/resources/org/project/trigger.d.mts +0 -51
  612. package/resources/org/project/trigger.d.mts.map +0 -1
  613. package/resources/org/project/trigger.d.ts +0 -51
  614. package/resources/org/project/trigger.d.ts.map +0 -1
  615. package/resources/org/project/trigger.js +0 -16
  616. package/resources/org/project/trigger.js.map +0 -1
  617. package/resources/org/project/trigger.mjs +0 -12
  618. package/resources/org/project/trigger.mjs.map +0 -1
  619. package/resources/org/project/webhook.d.mts +0 -92
  620. package/resources/org/project/webhook.d.mts.map +0 -1
  621. package/resources/org/project/webhook.d.ts +0 -92
  622. package/resources/org/project/webhook.d.ts.map +0 -1
  623. package/resources/org/project/webhook.js +0 -24
  624. package/resources/org/project/webhook.js.map +0 -1
  625. package/resources/org/project/webhook.mjs +0 -20
  626. package/resources/org/project/webhook.mjs.map +0 -1
  627. package/resources/org/project.js +0 -19
  628. package/resources/org/project.js.map +0 -1
  629. package/resources/org/project.mjs.map +0 -1
  630. package/resources/org.d.mts +0 -2
  631. package/resources/org.d.mts.map +0 -1
  632. package/resources/org.d.ts +0 -2
  633. package/resources/org.d.ts.map +0 -1
  634. package/resources/org.js +0 -19
  635. package/resources/org.js.map +0 -1
  636. package/resources/org.mjs.map +0 -1
  637. package/resources/team-members.d.mts +0 -57
  638. package/resources/team-members.d.mts.map +0 -1
  639. package/resources/team-members.d.ts +0 -57
  640. package/resources/team-members.d.ts.map +0 -1
  641. package/resources/team-members.js +0 -22
  642. package/resources/team-members.js.map +0 -1
  643. package/resources/team-members.mjs +0 -18
  644. package/resources/team-members.mjs.map +0 -1
  645. package/resources/trigger-instances/handle.d.mts +0 -25
  646. package/resources/trigger-instances/handle.d.mts.map +0 -1
  647. package/resources/trigger-instances/handle.d.ts +0 -25
  648. package/resources/trigger-instances/handle.d.ts.map +0 -1
  649. package/resources/trigger-instances/handle.js +0 -18
  650. package/resources/trigger-instances/handle.js.map +0 -1
  651. package/resources/trigger-instances/handle.mjs +0 -14
  652. package/resources/trigger-instances/handle.mjs.map +0 -1
  653. package/resources/trigger.d.mts +0 -73
  654. package/resources/trigger.d.mts.map +0 -1
  655. package/resources/trigger.d.ts +0 -73
  656. package/resources/trigger.d.ts.map +0 -1
  657. package/resources/trigger.js +0 -12
  658. package/resources/trigger.js.map +0 -1
  659. package/resources/trigger.mjs +0 -8
  660. package/resources/trigger.mjs.map +0 -1
  661. package/src/internal/shim-types.d.ts +0 -28
  662. package/src/internal/shims/crypto.ts +0 -18
  663. package/src/internal/shims/file.ts +0 -32
  664. package/src/internal/shims/getBuiltinModule.ts +0 -66
  665. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  666. package/src/resources/mcp/command.ts +0 -47
  667. package/src/resources/org/api-key.ts +0 -30
  668. package/src/resources/org/index.ts +0 -12
  669. package/src/resources/org/org.ts +0 -39
  670. package/src/resources/org/project/api-keys.ts +0 -156
  671. package/src/resources/org/project/index.ts +0 -35
  672. package/src/resources/org/project/project.ts +0 -206
  673. package/src/resources/org/project/trigger.ts +0 -95
  674. package/src/resources/org/project/webhook.ts +0 -131
  675. package/src/resources/team-members.ts +0 -111
  676. package/src/resources/trigger-instances/handle.ts +0 -45
  677. package/src/resources/trigger.ts +0 -108
  678. /package/resources/{org/project.d.mts → project.d.mts} +0 -0
  679. /package/resources/{org/project.d.ts → project.d.ts} +0 -0
  680. /package/resources/{org/project.mjs → project.mjs} +0 -0
  681. /package/src/resources/{org/project.ts → project.ts} +0 -0
@@ -2,163 +2,1408 @@ import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
4
  export declare class Tools extends APIResource {
5
- retrieve(toolSlug: string, options?: RequestOptions): APIPromise<ToolRetrieveResponse>;
5
+ /**
6
+ * Retrieve detailed information about a specific tool using its slug identifier.
7
+ * This endpoint returns full metadata about a tool including input/output
8
+ * parameters, versions, and toolkit information.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const tool = await client.tools.retrieve('tool_slug');
13
+ * ```
14
+ */
15
+ retrieve(toolSlug: string, query?: ToolRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ToolRetrieveResponse>;
16
+ /**
17
+ * Retrieve a paginated list of available tools with comprehensive filtering,
18
+ * sorting and search capabilities. Use query parameters to narrow down results by
19
+ * toolkit, tags, or search terms.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const tools = await client.tools.list();
24
+ * ```
25
+ */
6
26
  list(query?: ToolListParams | null | undefined, options?: RequestOptions): APIPromise<ToolListResponse>;
7
- execute(action: string, body?: ToolExecuteParams | null | undefined, options?: RequestOptions): APIPromise<ToolExecuteResponse>;
8
- getInput(actionName: string, body: ToolGetInputParams, options?: RequestOptions): APIPromise<ToolGetInputResponse>;
27
+ /**
28
+ * Execute a specific tool operation with provided arguments and authentication.
29
+ * This is the primary endpoint for integrating with third-party services and
30
+ * executing tools. You can provide structured arguments or use natural language
31
+ * processing by providing a text description of what you want to accomplish.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const response = await client.tools.execute('tool_slug');
36
+ * ```
37
+ */
38
+ execute(toolSlug: string, params?: ToolExecuteParams | null | undefined, options?: RequestOptions): APIPromise<ToolExecuteResponse>;
39
+ /**
40
+ * Uses AI to translate a natural language description into structured arguments
41
+ * for a specific tool. This endpoint is useful when you want to let users describe
42
+ * what they want to do in plain language instead of providing structured
43
+ * parameters.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const response = await client.tools.getInput('tool_slug', {
48
+ * text: 'I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production',
49
+ * });
50
+ * ```
51
+ */
52
+ getInput(toolSlug: string, body: ToolGetInputParams, options?: RequestOptions): APIPromise<ToolGetInputResponse>;
53
+ /**
54
+ * Proxy an HTTP request to a third-party API using connected account credentials.
55
+ * This endpoint allows making authenticated API calls to external services while
56
+ * abstracting away authentication details.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const response = await client.tools.proxy({
61
+ * endpoint: '/api/v1/resources',
62
+ * method: 'GET',
63
+ * });
64
+ * ```
65
+ */
9
66
  proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse>;
10
- retrieveEnum(options?: RequestOptions): APIPromise<string>;
67
+ /**
68
+ * Retrieve a list of all available tool enumeration values (tool slugs) from
69
+ * latest version of each toolkit. This endpoint returns a comma-separated string
70
+ * of tool slugs that can be used in other API calls.
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * const response = await client.tools.retrieveEnum();
75
+ * ```
76
+ */
77
+ retrieveEnum(options?: RequestOptions): APIPromise<ToolRetrieveEnumResponse>;
11
78
  }
12
79
  export interface ToolRetrieveResponse {
80
+ /**
81
+ * List of all available versions for this tool
82
+ */
13
83
  available_versions: Array<string>;
84
+ deprecated: ToolRetrieveResponse.Deprecated;
85
+ /**
86
+ * Detailed explanation of the tool's functionality and purpose
87
+ */
14
88
  description: string;
15
- input_parameters: Record<string, unknown>;
89
+ /**
90
+ * Schema definition of required input parameters for the tool
91
+ */
92
+ input_parameters: {
93
+ [key: string]: unknown;
94
+ };
95
+ /**
96
+ * Indicates if this tool is deprecated and may be removed in the future
97
+ */
98
+ is_deprecated: boolean;
99
+ /**
100
+ * Human-readable display name of the tool
101
+ */
16
102
  name: string;
17
- output_parameters: Record<string, unknown>;
103
+ /**
104
+ * Indicates if the tool can be used without authentication
105
+ */
106
+ no_auth: boolean;
107
+ /**
108
+ * Schema definition of return values from the tool
109
+ */
110
+ output_parameters: {
111
+ [key: string]: unknown;
112
+ };
113
+ /**
114
+ * List of scopes associated with the tool
115
+ */
116
+ scopes: Array<string>;
117
+ /**
118
+ * Unique identifier for the tool
119
+ */
18
120
  slug: string;
121
+ /**
122
+ * List of tags associated with the tool for categorization and filtering
123
+ */
19
124
  tags: Array<string>;
20
125
  toolkit: ToolRetrieveResponse.Toolkit;
126
+ /**
127
+ * Current version of the tool
128
+ */
21
129
  version: string;
130
+ /**
131
+ * Human-friendly description of the tool, if available
132
+ */
133
+ human_description?: string;
22
134
  }
23
135
  export declare namespace ToolRetrieveResponse {
136
+ interface Deprecated {
137
+ /**
138
+ * List of all available versions for this tool
139
+ */
140
+ available_versions: Array<string>;
141
+ /**
142
+ * The display name of the tool
143
+ */
144
+ displayName: string;
145
+ /**
146
+ * Indicates if this tool is deprecated and may be removed in the future
147
+ */
148
+ is_deprecated: boolean;
149
+ toolkit: Deprecated.Toolkit;
150
+ /**
151
+ * Current version identifier of the tool
152
+ */
153
+ version: string;
154
+ }
155
+ namespace Deprecated {
156
+ interface Toolkit {
157
+ /**
158
+ * URL to the toolkit logo image
159
+ */
160
+ logo: string;
161
+ }
162
+ }
24
163
  interface Toolkit {
164
+ /**
165
+ * URL to the toolkit logo image
166
+ */
25
167
  logo: string;
168
+ /**
169
+ * Human-readable name of the parent toolkit
170
+ */
26
171
  name: string;
172
+ /**
173
+ * Unique identifier of the parent toolkit
174
+ */
27
175
  slug: string;
28
176
  }
29
177
  }
30
178
  export interface ToolListResponse {
179
+ current_page: number;
31
180
  items: Array<ToolListResponse.Item>;
32
- next_cursor: string | null;
181
+ total_items: number;
33
182
  total_pages: number;
183
+ next_cursor?: string | null;
34
184
  }
35
185
  export declare namespace ToolListResponse {
36
186
  interface Item {
37
187
  /**
38
- * The description of the tool
188
+ * List of all available versions for this tool
189
+ */
190
+ available_versions: Array<string>;
191
+ deprecated: Item.Deprecated;
192
+ /**
193
+ * Detailed explanation of the tool's functionality and purpose
39
194
  */
40
195
  description: string;
41
196
  /**
42
- * The input parameters of the tool
197
+ * Schema definition of required input parameters for the tool
43
198
  */
44
- input_parameters: Record<string, unknown>;
199
+ input_parameters: {
200
+ [key: string]: unknown;
201
+ };
45
202
  /**
46
- * The name of the tool
203
+ * Indicates if this tool is deprecated and may be removed in the future
204
+ */
205
+ is_deprecated: boolean;
206
+ /**
207
+ * Human-readable display name of the tool
47
208
  */
48
209
  name: string;
49
210
  /**
50
- * The output parameters of the tool
211
+ * Indicates if the tool can be used without authentication
51
212
  */
52
- output_parameters: Record<string, unknown>;
213
+ no_auth: boolean;
53
214
  /**
54
- * The slug of the tool
215
+ * Schema definition of return values from the tool
216
+ */
217
+ output_parameters: {
218
+ [key: string]: unknown;
219
+ };
220
+ /**
221
+ * List of scopes associated with the tool
222
+ */
223
+ scopes: Array<string>;
224
+ /**
225
+ * Unique identifier for the tool
55
226
  */
56
227
  slug: string;
57
228
  /**
58
- * The tags of the tool
229
+ * List of tags associated with the tool for categorization and filtering
59
230
  */
60
231
  tags: Array<string>;
61
232
  toolkit: Item.Toolkit;
233
+ /**
234
+ * Current version of the tool
235
+ */
236
+ version: string;
237
+ /**
238
+ * Human-friendly description of the tool, if available
239
+ */
240
+ human_description?: string;
62
241
  }
63
242
  namespace Item {
243
+ interface Deprecated {
244
+ /**
245
+ * List of all available versions for this tool
246
+ */
247
+ available_versions: Array<string>;
248
+ /**
249
+ * The display name of the tool
250
+ */
251
+ displayName: string;
252
+ /**
253
+ * Indicates if this tool is deprecated and may be removed in the future
254
+ */
255
+ is_deprecated: boolean;
256
+ toolkit: Deprecated.Toolkit;
257
+ /**
258
+ * Current version identifier of the tool
259
+ */
260
+ version: string;
261
+ }
262
+ namespace Deprecated {
263
+ interface Toolkit {
264
+ /**
265
+ * URL to the toolkit logo image
266
+ */
267
+ logo: string;
268
+ }
269
+ }
64
270
  interface Toolkit {
65
271
  /**
66
- * The name of the toolkit
272
+ * URL to the toolkit logo image
273
+ */
274
+ logo: string;
275
+ /**
276
+ * Human-readable name of the parent toolkit
67
277
  */
68
278
  name: string;
69
279
  /**
70
- * The slug of the toolkit
280
+ * Unique identifier of the parent toolkit
71
281
  */
72
282
  slug: string;
73
283
  }
74
284
  }
75
285
  }
76
286
  export interface ToolExecuteResponse {
77
- data: Record<string, unknown>;
287
+ /**
288
+ * Tool execution output data that varies based on the specific tool
289
+ */
290
+ data: {
291
+ [key: string]: unknown;
292
+ };
293
+ /**
294
+ * Error message if the tool execution was not successful (null if successful)
295
+ */
78
296
  error: string | null;
297
+ /**
298
+ * Indicates if the tool execution was successful
299
+ */
79
300
  successful: boolean;
301
+ /**
302
+ * Unique identifier for the execution log (useful for debugging and support)
303
+ */
80
304
  log_id?: string;
305
+ /**
306
+ * Optional session information for tools that return session context
307
+ */
81
308
  session_info?: unknown;
82
309
  }
83
310
  export interface ToolGetInputResponse {
84
311
  /**
85
- * The arguments for the action needed to execute the given task.
312
+ * Key-value pairs of arguments required by the tool to accomplish the described
313
+ * task
86
314
  */
87
- arguments?: Record<string, unknown>;
315
+ arguments?: {
316
+ [key: string]: unknown;
317
+ };
88
318
  /**
89
- * The error message if the arguments were not generated successfully.
319
+ * Error message if the arguments could not be generated (null if successful)
90
320
  */
91
321
  error?: string;
92
322
  }
93
323
  export interface ToolProxyResponse {
324
+ /**
325
+ * The HTTP status code returned from the proxied API
326
+ */
94
327
  status: number;
328
+ /**
329
+ * Binary body response data. Present when the response is a binary file.
330
+ */
331
+ binary_data?: ToolProxyResponse.BinaryData;
332
+ /**
333
+ * The response data returned from the proxied API
334
+ */
95
335
  data?: unknown;
96
- headers?: Record<string, string>;
336
+ /**
337
+ * The HTTP headers returned from the proxied API
338
+ */
339
+ headers?: {
340
+ [key: string]: string;
341
+ };
342
+ }
343
+ export declare namespace ToolProxyResponse {
344
+ /**
345
+ * Binary body response data. Present when the response is a binary file.
346
+ */
347
+ interface BinaryData {
348
+ /**
349
+ * Content-Type of the binary data
350
+ */
351
+ content_type: string;
352
+ /**
353
+ * File size in bytes
354
+ */
355
+ size: number;
356
+ /**
357
+ * URL to download binary content
358
+ */
359
+ url: string;
360
+ /**
361
+ * ISO 8601 timestamp when the URL expires
362
+ */
363
+ expires_at?: string;
364
+ }
365
+ }
366
+ /**
367
+ * JSON string containing all tool enum values from latest version of each toolkit
368
+ */
369
+ export type ToolRetrieveEnumResponse = Array<string>;
370
+ export interface ToolRetrieveParams {
371
+ /**
372
+ * Toolkit version specification. Use "latest" for latest versions or bracket
373
+ * notation for specific versions per toolkit.
374
+ */
375
+ toolkit_versions?: string | {
376
+ [key: string]: string;
377
+ };
378
+ /**
379
+ * Optional version of the tool to retrieve
380
+ */
381
+ version?: string;
97
382
  }
98
- export type ToolRetrieveEnumResponse = string;
99
383
  export interface ToolListParams {
100
384
  /**
101
- * The cursor to paginate through the results
385
+ * Comma-separated list of auth config IDs to filter tools by
386
+ */
387
+ auth_config_ids?: string | Array<string>;
388
+ /**
389
+ * Cursor for pagination. The cursor is a base64 encoded string of the page and
390
+ * limit. The page is the page number and the limit is the number of items per
391
+ * page. The cursor is used to paginate through the items. The cursor is not
392
+ * required for the first page.
102
393
  */
103
394
  cursor?: string;
104
395
  /**
105
- * Whether to filter by important tools
396
+ * Filter to only show important/featured tools (set to "true" to enable)
397
+ */
398
+ important?: 'true' | 'false';
399
+ /**
400
+ * Include deprecated tools in the response
106
401
  */
107
- important?: string;
402
+ include_deprecated?: boolean;
108
403
  /**
109
- * The number of results to return
404
+ * Number of items per page, max allowed is 1000
110
405
  */
111
- limit?: string;
406
+ limit?: number | null;
112
407
  /**
113
- * The search query to filter by
408
+ * Full-text search query to filter tools by name, slug, or description. Applied as
409
+ * a soft filter on top of other filters.
410
+ */
411
+ query?: string;
412
+ /**
413
+ * Array of scopes to filter tools by)
414
+ */
415
+ scopes?: Array<string> | null;
416
+ /**
417
+ * Deprecated: use "query" instead. Free-text search query to find tools by name,
418
+ * description, or functionality.
114
419
  */
115
420
  search?: string;
421
+ /**
422
+ * Filter tools by one or more tags (can be specified multiple times)
423
+ */
424
+ tags?: Array<string>;
425
+ /**
426
+ * Comma-separated list of specific tool slugs to retrieve (overrides other
427
+ * filters)
428
+ */
429
+ tool_slugs?: string;
116
430
  /**
117
431
  * The slug of the toolkit to filter by
118
432
  */
119
433
  toolkit_slug?: string;
434
+ /**
435
+ * Toolkit version specification. Use "latest" for latest versions or bracket
436
+ * notation for specific versions per toolkit.
437
+ */
438
+ toolkit_versions?: string | {
439
+ [key: string]: string;
440
+ };
120
441
  }
121
442
  export interface ToolExecuteParams {
122
- allow_tracing?: boolean;
123
- arguments?: Record<string, unknown>;
443
+ /**
444
+ * @deprecated Body param: Deprecated. Enable debug tracing for tool execution
445
+ * (useful for debugging)
446
+ */
447
+ allow_tracing?: boolean | null;
448
+ /**
449
+ * Body param: Key-value pairs of arguments required by the tool (mutually
450
+ * exclusive with text)
451
+ */
452
+ arguments?: {
453
+ [key: string]: unknown;
454
+ };
455
+ /**
456
+ * Body param: Unique identifier for the connected account to use for
457
+ * authentication
458
+ */
124
459
  connected_account_id?: string;
460
+ /**
461
+ * Body param: Custom authentication parameters for tools that support
462
+ * parameterized authentication
463
+ */
464
+ custom_auth_params?: ToolExecuteParams.CustomAuthParams;
465
+ /**
466
+ * Body param: Custom connection data for tools that support custom connection data
467
+ */
468
+ custom_connection_data?: ToolExecuteParams.UnionMember0 | ToolExecuteParams.UnionMember1 | ToolExecuteParams.UnionMember2 | ToolExecuteParams.UnionMember3 | ToolExecuteParams.UnionMember4 | ToolExecuteParams.UnionMember5 | ToolExecuteParams.UnionMember6 | ToolExecuteParams.UnionMember7 | ToolExecuteParams.UnionMember8 | ToolExecuteParams.UnionMember9;
469
+ /**
470
+ * @deprecated Body param: Deprecated: please use user_id instead. Entity
471
+ * identifier for multi-entity connected accounts (e.g. multiple repositories,
472
+ * organizations)
473
+ */
125
474
  entity_id?: string;
475
+ /**
476
+ * Body param: Natural language description of the task to perform (mutually
477
+ * exclusive with arguments)
478
+ */
126
479
  text?: string;
480
+ /**
481
+ * Body param: User id for multi-user connected accounts (e.g. multiple users,
482
+ * organizations)
483
+ */
484
+ user_id?: string;
485
+ /**
486
+ * Body param: Tool version to execute (defaults to "00000000_00" if not specified)
487
+ */
127
488
  version?: string;
489
+ /**
490
+ * Header param: JSON object containing custom headers to pass to LLM providers
491
+ * (OpenAI, Bedrock, etc.)
492
+ */
493
+ 'x-llm-gateway-headers'?: string;
494
+ }
495
+ export declare namespace ToolExecuteParams {
496
+ /**
497
+ * Custom authentication parameters for tools that support parameterized
498
+ * authentication
499
+ */
500
+ interface CustomAuthParams {
501
+ /**
502
+ * The base URL (root address) what you should use while making http requests to
503
+ * the connected account. For example, for gmail, it would be
504
+ * 'https://gmail.googleapis.com'
505
+ */
506
+ base_url?: string;
507
+ /**
508
+ * The body to be sent to the endpoint for authentication. This is a JSON object.
509
+ * Note: This is very rarely needed and is only required by very few apps.
510
+ */
511
+ body?: {
512
+ [key: string]: unknown;
513
+ };
514
+ parameters?: Array<CustomAuthParams.Parameter>;
515
+ }
516
+ namespace CustomAuthParams {
517
+ interface Parameter {
518
+ /**
519
+ * The location of the parameter. Can be 'query' or 'header'.
520
+ */
521
+ in: 'query' | 'header';
522
+ /**
523
+ * The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.
524
+ */
525
+ name: string;
526
+ /**
527
+ * The value of the parameter. For example, '1234567890', 'application/json', etc.
528
+ */
529
+ value: string | number;
530
+ }
531
+ }
532
+ interface UnionMember0 {
533
+ authScheme: 'OAUTH2';
534
+ toolkitSlug: string;
535
+ val: UnionMember0.Val;
536
+ }
537
+ namespace UnionMember0 {
538
+ interface Val {
539
+ access_token: string;
540
+ account_id?: string;
541
+ account_url?: string;
542
+ api_url?: string;
543
+ /**
544
+ * for slack user scopes
545
+ */
546
+ authed_user?: Val.AuthedUser;
547
+ base_url?: string;
548
+ borneo_dashboard_url?: string;
549
+ COMPANYDOMAIN?: string;
550
+ dc?: string;
551
+ domain?: string;
552
+ expires_in?: number | string | null;
553
+ extension?: string;
554
+ form_api_base_url?: string;
555
+ id_token?: string;
556
+ instanceEndpoint?: string;
557
+ instanceName?: string;
558
+ /**
559
+ * Whether to return the redirect url without shortening
560
+ */
561
+ long_redirect_url?: boolean;
562
+ proxy_password?: string;
563
+ proxy_username?: string;
564
+ refresh_token?: string | null;
565
+ region?: string;
566
+ scope?: string | Array<string> | null;
567
+ server_location?: string;
568
+ shop?: string;
569
+ site_name?: string;
570
+ /**
571
+ * The oauth2 state prefix for the connection
572
+ */
573
+ state_prefix?: string;
574
+ subdomain?: string;
575
+ token_type?: string;
576
+ version?: string;
577
+ webhook_signature?: string;
578
+ your_server?: string;
579
+ 'your-domain'?: string;
580
+ [k: string]: unknown;
581
+ }
582
+ namespace Val {
583
+ /**
584
+ * for slack user scopes
585
+ */
586
+ interface AuthedUser {
587
+ access_token?: string;
588
+ scope?: string;
589
+ }
590
+ }
591
+ }
592
+ interface UnionMember1 {
593
+ authScheme: 'DCR_OAUTH';
594
+ toolkitSlug: string;
595
+ val: UnionMember1.Val;
596
+ }
597
+ namespace UnionMember1 {
598
+ interface Val {
599
+ access_token: string;
600
+ /**
601
+ * Dynamically registered client ID
602
+ */
603
+ client_id: string;
604
+ account_id?: string;
605
+ account_url?: string;
606
+ api_url?: string;
607
+ base_url?: string;
608
+ borneo_dashboard_url?: string;
609
+ client_id_issued_at?: number;
610
+ /**
611
+ * Dynamically registered client secret
612
+ */
613
+ client_secret?: string;
614
+ client_secret_expires_at?: number;
615
+ COMPANYDOMAIN?: string;
616
+ dc?: string;
617
+ domain?: string;
618
+ expires_in?: number | string | null;
619
+ extension?: string;
620
+ form_api_base_url?: string;
621
+ id_token?: string;
622
+ instanceEndpoint?: string;
623
+ instanceName?: string;
624
+ /**
625
+ * Whether to return the redirect url without shortening
626
+ */
627
+ long_redirect_url?: boolean;
628
+ proxy_password?: string;
629
+ proxy_username?: string;
630
+ refresh_token?: string | null;
631
+ region?: string;
632
+ scope?: string | Array<string> | null;
633
+ server_location?: string;
634
+ shop?: string;
635
+ site_name?: string;
636
+ /**
637
+ * The oauth2 state prefix for the connection
638
+ */
639
+ state_prefix?: string;
640
+ subdomain?: string;
641
+ token_type?: string;
642
+ version?: string;
643
+ your_server?: string;
644
+ 'your-domain'?: string;
645
+ [k: string]: unknown;
646
+ }
647
+ }
648
+ interface UnionMember2 {
649
+ authScheme: 'API_KEY';
650
+ toolkitSlug: string;
651
+ val: UnionMember2.Val;
652
+ }
653
+ namespace UnionMember2 {
654
+ interface Val {
655
+ account_id?: string;
656
+ account_url?: string;
657
+ api_key?: string;
658
+ api_url?: string;
659
+ base_url?: string;
660
+ basic_encoded?: string;
661
+ bearer_token?: string;
662
+ borneo_dashboard_url?: string;
663
+ COMPANYDOMAIN?: string;
664
+ dc?: string;
665
+ domain?: string;
666
+ extension?: string;
667
+ form_api_base_url?: string;
668
+ generic_api_key?: string;
669
+ instanceEndpoint?: string;
670
+ instanceName?: string;
671
+ proxy_password?: string;
672
+ proxy_username?: string;
673
+ region?: string;
674
+ server_location?: string;
675
+ shop?: string;
676
+ site_name?: string;
677
+ subdomain?: string;
678
+ version?: string;
679
+ your_server?: string;
680
+ 'your-domain'?: string;
681
+ [k: string]: unknown;
682
+ }
683
+ }
684
+ interface UnionMember3 {
685
+ authScheme: 'BASIC_WITH_JWT';
686
+ toolkitSlug: string;
687
+ val: UnionMember3.Val;
688
+ }
689
+ namespace UnionMember3 {
690
+ interface Val {
691
+ password: string;
692
+ username: string;
693
+ account_id?: string;
694
+ account_url?: string;
695
+ api_url?: string;
696
+ base_url?: string;
697
+ borneo_dashboard_url?: string;
698
+ COMPANYDOMAIN?: string;
699
+ dc?: string;
700
+ domain?: string;
701
+ extension?: string;
702
+ form_api_base_url?: string;
703
+ instanceEndpoint?: string;
704
+ instanceName?: string;
705
+ proxy_password?: string;
706
+ proxy_username?: string;
707
+ region?: string;
708
+ server_location?: string;
709
+ shop?: string;
710
+ site_name?: string;
711
+ subdomain?: string;
712
+ version?: string;
713
+ your_server?: string;
714
+ 'your-domain'?: string;
715
+ [k: string]: unknown;
716
+ }
717
+ }
718
+ interface UnionMember4 {
719
+ authScheme: 'BASIC';
720
+ toolkitSlug: string;
721
+ val: UnionMember4.Val;
722
+ }
723
+ namespace UnionMember4 {
724
+ interface Val {
725
+ username: string;
726
+ account_id?: string;
727
+ account_url?: string;
728
+ api_url?: string;
729
+ base_url?: string;
730
+ borneo_dashboard_url?: string;
731
+ COMPANYDOMAIN?: string;
732
+ dc?: string;
733
+ domain?: string;
734
+ extension?: string;
735
+ form_api_base_url?: string;
736
+ instanceEndpoint?: string;
737
+ instanceName?: string;
738
+ password?: string;
739
+ proxy_password?: string;
740
+ proxy_username?: string;
741
+ region?: string;
742
+ server_location?: string;
743
+ shop?: string;
744
+ site_name?: string;
745
+ subdomain?: string;
746
+ version?: string;
747
+ your_server?: string;
748
+ 'your-domain'?: string;
749
+ [k: string]: unknown;
750
+ }
751
+ }
752
+ interface UnionMember5 {
753
+ authScheme: 'BEARER_TOKEN';
754
+ toolkitSlug: string;
755
+ val: UnionMember5.Val;
756
+ }
757
+ namespace UnionMember5 {
758
+ interface Val {
759
+ token: string;
760
+ account_id?: string;
761
+ account_url?: string;
762
+ api_url?: string;
763
+ base_url?: string;
764
+ borneo_dashboard_url?: string;
765
+ COMPANYDOMAIN?: string;
766
+ dc?: string;
767
+ domain?: string;
768
+ extension?: string;
769
+ form_api_base_url?: string;
770
+ instanceEndpoint?: string;
771
+ instanceName?: string;
772
+ proxy_password?: string;
773
+ proxy_username?: string;
774
+ region?: string;
775
+ server_location?: string;
776
+ shop?: string;
777
+ site_name?: string;
778
+ subdomain?: string;
779
+ version?: string;
780
+ your_server?: string;
781
+ 'your-domain'?: string;
782
+ [k: string]: unknown;
783
+ }
784
+ }
785
+ interface UnionMember6 {
786
+ authScheme: 'OAUTH1';
787
+ toolkitSlug: string;
788
+ val: UnionMember6.Val;
789
+ }
790
+ namespace UnionMember6 {
791
+ interface Val {
792
+ oauth_token: string;
793
+ oauth_token_secret: string;
794
+ account_id?: string;
795
+ account_url?: string;
796
+ api_url?: string;
797
+ base_url?: string;
798
+ borneo_dashboard_url?: string;
799
+ callback_url?: string;
800
+ COMPANYDOMAIN?: string;
801
+ consumer_key?: string;
802
+ dc?: string;
803
+ domain?: string;
804
+ extension?: string;
805
+ form_api_base_url?: string;
806
+ instanceEndpoint?: string;
807
+ instanceName?: string;
808
+ oauth_verifier?: string;
809
+ proxy_password?: string;
810
+ proxy_username?: string;
811
+ redirectUrl?: string;
812
+ region?: string;
813
+ server_location?: string;
814
+ shop?: string;
815
+ site_name?: string;
816
+ subdomain?: string;
817
+ version?: string;
818
+ your_server?: string;
819
+ 'your-domain'?: string;
820
+ [k: string]: unknown;
821
+ }
822
+ }
823
+ interface UnionMember7 {
824
+ authScheme: 'NO_AUTH';
825
+ toolkitSlug: string;
826
+ val: UnionMember7.Val;
827
+ }
828
+ namespace UnionMember7 {
829
+ interface Val {
830
+ account_id?: string;
831
+ account_url?: string;
832
+ api_url?: string;
833
+ base_url?: string;
834
+ borneo_dashboard_url?: string;
835
+ COMPANYDOMAIN?: string;
836
+ dc?: string;
837
+ domain?: string;
838
+ extension?: string;
839
+ form_api_base_url?: string;
840
+ instanceEndpoint?: string;
841
+ instanceName?: string;
842
+ proxy_password?: string;
843
+ proxy_username?: string;
844
+ region?: string;
845
+ server_location?: string;
846
+ shop?: string;
847
+ site_name?: string;
848
+ subdomain?: string;
849
+ version?: string;
850
+ your_server?: string;
851
+ 'your-domain'?: string;
852
+ [k: string]: unknown;
853
+ }
854
+ }
855
+ interface UnionMember8 {
856
+ authScheme: 'SERVICE_ACCOUNT';
857
+ toolkitSlug: string;
858
+ val: UnionMember8.Val;
859
+ }
860
+ namespace UnionMember8 {
861
+ interface Val {
862
+ application_id: string;
863
+ installation_id: string;
864
+ private_key: string;
865
+ account_id?: string;
866
+ account_url?: string;
867
+ api_url?: string;
868
+ base_url?: string;
869
+ borneo_dashboard_url?: string;
870
+ COMPANYDOMAIN?: string;
871
+ dc?: string;
872
+ domain?: string;
873
+ extension?: string;
874
+ form_api_base_url?: string;
875
+ instanceEndpoint?: string;
876
+ instanceName?: string;
877
+ proxy_password?: string;
878
+ proxy_username?: string;
879
+ region?: string;
880
+ server_location?: string;
881
+ shop?: string;
882
+ site_name?: string;
883
+ subdomain?: string;
884
+ version?: string;
885
+ your_server?: string;
886
+ 'your-domain'?: string;
887
+ [k: string]: unknown;
888
+ }
889
+ }
890
+ interface UnionMember9 {
891
+ authScheme: 'GOOGLE_SERVICE_ACCOUNT';
892
+ toolkitSlug: string;
893
+ val: UnionMember9.Val;
894
+ }
895
+ namespace UnionMember9 {
896
+ interface Val {
897
+ credentials_json: string;
898
+ account_id?: string;
899
+ account_url?: string;
900
+ api_url?: string;
901
+ base_url?: string;
902
+ borneo_dashboard_url?: string;
903
+ COMPANYDOMAIN?: string;
904
+ dc?: string;
905
+ domain?: string;
906
+ extension?: string;
907
+ form_api_base_url?: string;
908
+ instanceEndpoint?: string;
909
+ instanceName?: string;
910
+ proxy_password?: string;
911
+ proxy_username?: string;
912
+ region?: string;
913
+ server_location?: string;
914
+ shop?: string;
915
+ site_name?: string;
916
+ subdomain?: string;
917
+ version?: string;
918
+ your_server?: string;
919
+ 'your-domain'?: string;
920
+ [k: string]: unknown;
921
+ }
922
+ }
128
923
  }
129
924
  export interface ToolGetInputParams {
130
925
  /**
131
- * The use-case description for the action, this will give context to LLM to
132
- * generate the correct inputs for the action.
926
+ * Natural language description of what you want to accomplish with this tool
133
927
  */
134
928
  text: string;
135
929
  /**
136
- * The custom description for the action, use this to provide customised context
137
- * about the action to the LLM to suit your use-case.
930
+ * Custom description of the tool to help guide the LLM in generating more accurate
931
+ * inputs
932
+ */
933
+ custom_description?: string;
934
+ /**
935
+ * System prompt to control and guide the behavior of the LLM when generating
936
+ * inputs
138
937
  */
139
- customDescription?: string;
938
+ system_prompt?: string;
140
939
  /**
141
- * The system prompt to be used by LLM, use this to control and guide the behaviour
142
- * of the LLM.
940
+ * Tool version to use when generating inputs (defaults to "latest" if not
941
+ * specified)
143
942
  */
144
- systemPrompt?: string;
145
943
  version?: string;
146
944
  }
147
945
  export interface ToolProxyParams {
946
+ /**
947
+ * The API endpoint to call (absolute URL or path relative to base URL of the
948
+ * connected account)
949
+ */
148
950
  endpoint: string;
149
- method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
951
+ /**
952
+ * The HTTP method to use for the request
953
+ */
954
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
955
+ /**
956
+ * Binary body to send. For binary upload via URL: use {url: "https://...",
957
+ * content_type?: "..."}. For binary upload via base64: use {base64: "...",
958
+ * content_type?: "..."}.
959
+ */
960
+ binary_body?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1;
961
+ /**
962
+ * The request body (for POST, PUT, and PATCH requests)
963
+ */
150
964
  body?: unknown;
965
+ /**
966
+ * The ID of the connected account to use for authentication (if not provided, will
967
+ * use the default account for the project)
968
+ */
151
969
  connected_account_id?: string;
970
+ /**
971
+ * @deprecated
972
+ */
973
+ custom_connection_data?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1 | ToolProxyParams.UnionMember2 | ToolProxyParams.UnionMember3 | ToolProxyParams.UnionMember4 | ToolProxyParams.UnionMember5 | ToolProxyParams.UnionMember6 | ToolProxyParams.UnionMember7 | ToolProxyParams.UnionMember8 | ToolProxyParams.UnionMember9;
974
+ /**
975
+ * Additional HTTP headers or query parameters to include in the request
976
+ */
152
977
  parameters?: Array<ToolProxyParams.Parameter>;
153
978
  }
154
979
  export declare namespace ToolProxyParams {
980
+ interface UnionMember0 {
981
+ /**
982
+ * URL to fetch binary content from
983
+ */
984
+ url: string;
985
+ /**
986
+ * Content-Type header to use for the request
987
+ */
988
+ content_type?: string;
989
+ }
990
+ interface UnionMember1 {
991
+ /**
992
+ * Base64-encoded binary data
993
+ */
994
+ base64: string;
995
+ /**
996
+ * Content-Type header to use for the request
997
+ */
998
+ content_type?: string;
999
+ }
1000
+ interface UnionMember0 {
1001
+ authScheme: 'OAUTH2';
1002
+ toolkitSlug: string;
1003
+ val: UnionMember0.Val;
1004
+ }
1005
+ namespace UnionMember0 {
1006
+ interface Val {
1007
+ access_token: string;
1008
+ account_id?: string;
1009
+ account_url?: string;
1010
+ api_url?: string;
1011
+ /**
1012
+ * for slack user scopes
1013
+ */
1014
+ authed_user?: Val.AuthedUser;
1015
+ base_url?: string;
1016
+ borneo_dashboard_url?: string;
1017
+ COMPANYDOMAIN?: string;
1018
+ dc?: string;
1019
+ domain?: string;
1020
+ expires_in?: number | string | null;
1021
+ extension?: string;
1022
+ form_api_base_url?: string;
1023
+ id_token?: string;
1024
+ instanceEndpoint?: string;
1025
+ instanceName?: string;
1026
+ /**
1027
+ * Whether to return the redirect url without shortening
1028
+ */
1029
+ long_redirect_url?: boolean;
1030
+ proxy_password?: string;
1031
+ proxy_username?: string;
1032
+ refresh_token?: string | null;
1033
+ region?: string;
1034
+ scope?: string | Array<string> | null;
1035
+ server_location?: string;
1036
+ shop?: string;
1037
+ site_name?: string;
1038
+ /**
1039
+ * The oauth2 state prefix for the connection
1040
+ */
1041
+ state_prefix?: string;
1042
+ subdomain?: string;
1043
+ token_type?: string;
1044
+ version?: string;
1045
+ webhook_signature?: string;
1046
+ your_server?: string;
1047
+ 'your-domain'?: string;
1048
+ [k: string]: unknown;
1049
+ }
1050
+ namespace Val {
1051
+ /**
1052
+ * for slack user scopes
1053
+ */
1054
+ interface AuthedUser {
1055
+ access_token?: string;
1056
+ scope?: string;
1057
+ }
1058
+ }
1059
+ }
1060
+ interface UnionMember1 {
1061
+ authScheme: 'DCR_OAUTH';
1062
+ toolkitSlug: string;
1063
+ val: UnionMember1.Val;
1064
+ }
1065
+ namespace UnionMember1 {
1066
+ interface Val {
1067
+ access_token: string;
1068
+ /**
1069
+ * Dynamically registered client ID
1070
+ */
1071
+ client_id: string;
1072
+ account_id?: string;
1073
+ account_url?: string;
1074
+ api_url?: string;
1075
+ base_url?: string;
1076
+ borneo_dashboard_url?: string;
1077
+ client_id_issued_at?: number;
1078
+ /**
1079
+ * Dynamically registered client secret
1080
+ */
1081
+ client_secret?: string;
1082
+ client_secret_expires_at?: number;
1083
+ COMPANYDOMAIN?: string;
1084
+ dc?: string;
1085
+ domain?: string;
1086
+ expires_in?: number | string | null;
1087
+ extension?: string;
1088
+ form_api_base_url?: string;
1089
+ id_token?: string;
1090
+ instanceEndpoint?: string;
1091
+ instanceName?: string;
1092
+ /**
1093
+ * Whether to return the redirect url without shortening
1094
+ */
1095
+ long_redirect_url?: boolean;
1096
+ proxy_password?: string;
1097
+ proxy_username?: string;
1098
+ refresh_token?: string | null;
1099
+ region?: string;
1100
+ scope?: string | Array<string> | null;
1101
+ server_location?: string;
1102
+ shop?: string;
1103
+ site_name?: string;
1104
+ /**
1105
+ * The oauth2 state prefix for the connection
1106
+ */
1107
+ state_prefix?: string;
1108
+ subdomain?: string;
1109
+ token_type?: string;
1110
+ version?: string;
1111
+ your_server?: string;
1112
+ 'your-domain'?: string;
1113
+ [k: string]: unknown;
1114
+ }
1115
+ }
1116
+ interface UnionMember2 {
1117
+ authScheme: 'API_KEY';
1118
+ toolkitSlug: string;
1119
+ val: UnionMember2.Val;
1120
+ }
1121
+ namespace UnionMember2 {
1122
+ interface Val {
1123
+ account_id?: string;
1124
+ account_url?: string;
1125
+ api_key?: string;
1126
+ api_url?: string;
1127
+ base_url?: string;
1128
+ basic_encoded?: string;
1129
+ bearer_token?: string;
1130
+ borneo_dashboard_url?: string;
1131
+ COMPANYDOMAIN?: string;
1132
+ dc?: string;
1133
+ domain?: string;
1134
+ extension?: string;
1135
+ form_api_base_url?: string;
1136
+ generic_api_key?: string;
1137
+ instanceEndpoint?: string;
1138
+ instanceName?: string;
1139
+ proxy_password?: string;
1140
+ proxy_username?: string;
1141
+ region?: string;
1142
+ server_location?: string;
1143
+ shop?: string;
1144
+ site_name?: string;
1145
+ subdomain?: string;
1146
+ version?: string;
1147
+ your_server?: string;
1148
+ 'your-domain'?: string;
1149
+ [k: string]: unknown;
1150
+ }
1151
+ }
1152
+ interface UnionMember3 {
1153
+ authScheme: 'BASIC_WITH_JWT';
1154
+ toolkitSlug: string;
1155
+ val: UnionMember3.Val;
1156
+ }
1157
+ namespace UnionMember3 {
1158
+ interface Val {
1159
+ password: string;
1160
+ username: string;
1161
+ account_id?: string;
1162
+ account_url?: string;
1163
+ api_url?: string;
1164
+ base_url?: string;
1165
+ borneo_dashboard_url?: string;
1166
+ COMPANYDOMAIN?: string;
1167
+ dc?: string;
1168
+ domain?: string;
1169
+ extension?: string;
1170
+ form_api_base_url?: string;
1171
+ instanceEndpoint?: string;
1172
+ instanceName?: string;
1173
+ proxy_password?: string;
1174
+ proxy_username?: string;
1175
+ region?: string;
1176
+ server_location?: string;
1177
+ shop?: string;
1178
+ site_name?: string;
1179
+ subdomain?: string;
1180
+ version?: string;
1181
+ your_server?: string;
1182
+ 'your-domain'?: string;
1183
+ [k: string]: unknown;
1184
+ }
1185
+ }
1186
+ interface UnionMember4 {
1187
+ authScheme: 'BASIC';
1188
+ toolkitSlug: string;
1189
+ val: UnionMember4.Val;
1190
+ }
1191
+ namespace UnionMember4 {
1192
+ interface Val {
1193
+ username: string;
1194
+ account_id?: string;
1195
+ account_url?: string;
1196
+ api_url?: string;
1197
+ base_url?: string;
1198
+ borneo_dashboard_url?: string;
1199
+ COMPANYDOMAIN?: string;
1200
+ dc?: string;
1201
+ domain?: string;
1202
+ extension?: string;
1203
+ form_api_base_url?: string;
1204
+ instanceEndpoint?: string;
1205
+ instanceName?: string;
1206
+ password?: string;
1207
+ proxy_password?: string;
1208
+ proxy_username?: string;
1209
+ region?: string;
1210
+ server_location?: string;
1211
+ shop?: string;
1212
+ site_name?: string;
1213
+ subdomain?: string;
1214
+ version?: string;
1215
+ your_server?: string;
1216
+ 'your-domain'?: string;
1217
+ [k: string]: unknown;
1218
+ }
1219
+ }
1220
+ interface UnionMember5 {
1221
+ authScheme: 'BEARER_TOKEN';
1222
+ toolkitSlug: string;
1223
+ val: UnionMember5.Val;
1224
+ }
1225
+ namespace UnionMember5 {
1226
+ interface Val {
1227
+ token: string;
1228
+ account_id?: string;
1229
+ account_url?: string;
1230
+ api_url?: string;
1231
+ base_url?: string;
1232
+ borneo_dashboard_url?: string;
1233
+ COMPANYDOMAIN?: string;
1234
+ dc?: string;
1235
+ domain?: string;
1236
+ extension?: string;
1237
+ form_api_base_url?: string;
1238
+ instanceEndpoint?: string;
1239
+ instanceName?: string;
1240
+ proxy_password?: string;
1241
+ proxy_username?: string;
1242
+ region?: string;
1243
+ server_location?: string;
1244
+ shop?: string;
1245
+ site_name?: string;
1246
+ subdomain?: string;
1247
+ version?: string;
1248
+ your_server?: string;
1249
+ 'your-domain'?: string;
1250
+ [k: string]: unknown;
1251
+ }
1252
+ }
1253
+ interface UnionMember6 {
1254
+ authScheme: 'OAUTH1';
1255
+ toolkitSlug: string;
1256
+ val: UnionMember6.Val;
1257
+ }
1258
+ namespace UnionMember6 {
1259
+ interface Val {
1260
+ oauth_token: string;
1261
+ oauth_token_secret: string;
1262
+ account_id?: string;
1263
+ account_url?: string;
1264
+ api_url?: string;
1265
+ base_url?: string;
1266
+ borneo_dashboard_url?: string;
1267
+ callback_url?: string;
1268
+ COMPANYDOMAIN?: string;
1269
+ consumer_key?: string;
1270
+ dc?: string;
1271
+ domain?: string;
1272
+ extension?: string;
1273
+ form_api_base_url?: string;
1274
+ instanceEndpoint?: string;
1275
+ instanceName?: string;
1276
+ oauth_verifier?: string;
1277
+ proxy_password?: string;
1278
+ proxy_username?: string;
1279
+ redirectUrl?: string;
1280
+ region?: string;
1281
+ server_location?: string;
1282
+ shop?: string;
1283
+ site_name?: string;
1284
+ subdomain?: string;
1285
+ version?: string;
1286
+ your_server?: string;
1287
+ 'your-domain'?: string;
1288
+ [k: string]: unknown;
1289
+ }
1290
+ }
1291
+ interface UnionMember7 {
1292
+ authScheme: 'NO_AUTH';
1293
+ toolkitSlug: string;
1294
+ val: UnionMember7.Val;
1295
+ }
1296
+ namespace UnionMember7 {
1297
+ interface Val {
1298
+ account_id?: string;
1299
+ account_url?: string;
1300
+ api_url?: string;
1301
+ base_url?: string;
1302
+ borneo_dashboard_url?: string;
1303
+ COMPANYDOMAIN?: string;
1304
+ dc?: string;
1305
+ domain?: string;
1306
+ extension?: string;
1307
+ form_api_base_url?: string;
1308
+ instanceEndpoint?: string;
1309
+ instanceName?: string;
1310
+ proxy_password?: string;
1311
+ proxy_username?: string;
1312
+ region?: string;
1313
+ server_location?: string;
1314
+ shop?: string;
1315
+ site_name?: string;
1316
+ subdomain?: string;
1317
+ version?: string;
1318
+ your_server?: string;
1319
+ 'your-domain'?: string;
1320
+ [k: string]: unknown;
1321
+ }
1322
+ }
1323
+ interface UnionMember8 {
1324
+ authScheme: 'SERVICE_ACCOUNT';
1325
+ toolkitSlug: string;
1326
+ val: UnionMember8.Val;
1327
+ }
1328
+ namespace UnionMember8 {
1329
+ interface Val {
1330
+ application_id: string;
1331
+ installation_id: string;
1332
+ private_key: string;
1333
+ account_id?: string;
1334
+ account_url?: string;
1335
+ api_url?: string;
1336
+ base_url?: string;
1337
+ borneo_dashboard_url?: string;
1338
+ COMPANYDOMAIN?: string;
1339
+ dc?: string;
1340
+ domain?: string;
1341
+ extension?: string;
1342
+ form_api_base_url?: string;
1343
+ instanceEndpoint?: string;
1344
+ instanceName?: string;
1345
+ proxy_password?: string;
1346
+ proxy_username?: string;
1347
+ region?: string;
1348
+ server_location?: string;
1349
+ shop?: string;
1350
+ site_name?: string;
1351
+ subdomain?: string;
1352
+ version?: string;
1353
+ your_server?: string;
1354
+ 'your-domain'?: string;
1355
+ [k: string]: unknown;
1356
+ }
1357
+ }
1358
+ interface UnionMember9 {
1359
+ authScheme: 'GOOGLE_SERVICE_ACCOUNT';
1360
+ toolkitSlug: string;
1361
+ val: UnionMember9.Val;
1362
+ }
1363
+ namespace UnionMember9 {
1364
+ interface Val {
1365
+ credentials_json: string;
1366
+ account_id?: string;
1367
+ account_url?: string;
1368
+ api_url?: string;
1369
+ base_url?: string;
1370
+ borneo_dashboard_url?: string;
1371
+ COMPANYDOMAIN?: string;
1372
+ dc?: string;
1373
+ domain?: string;
1374
+ extension?: string;
1375
+ form_api_base_url?: string;
1376
+ instanceEndpoint?: string;
1377
+ instanceName?: string;
1378
+ proxy_password?: string;
1379
+ proxy_username?: string;
1380
+ region?: string;
1381
+ server_location?: string;
1382
+ shop?: string;
1383
+ site_name?: string;
1384
+ subdomain?: string;
1385
+ version?: string;
1386
+ your_server?: string;
1387
+ 'your-domain'?: string;
1388
+ [k: string]: unknown;
1389
+ }
1390
+ }
155
1391
  interface Parameter {
1392
+ /**
1393
+ * Parameter name
1394
+ */
156
1395
  name: string;
1396
+ /**
1397
+ * Parameter type (header or query)
1398
+ */
157
1399
  type: 'header' | 'query';
1400
+ /**
1401
+ * Parameter value
1402
+ */
158
1403
  value: string;
159
1404
  }
160
1405
  }
161
1406
  export declare namespace Tools {
162
- export { type ToolRetrieveResponse as ToolRetrieveResponse, type ToolListResponse as ToolListResponse, type ToolExecuteResponse as ToolExecuteResponse, type ToolGetInputResponse as ToolGetInputResponse, type ToolProxyResponse as ToolProxyResponse, type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse, type ToolListParams as ToolListParams, type ToolExecuteParams as ToolExecuteParams, type ToolGetInputParams as ToolGetInputParams, type ToolProxyParams as ToolProxyParams, };
1407
+ export { type ToolRetrieveResponse as ToolRetrieveResponse, type ToolListResponse as ToolListResponse, type ToolExecuteResponse as ToolExecuteResponse, type ToolGetInputResponse as ToolGetInputResponse, type ToolProxyResponse as ToolProxyResponse, type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse, type ToolRetrieveParams as ToolRetrieveParams, type ToolListParams as ToolListParams, type ToolExecuteParams as ToolExecuteParams, type ToolGetInputParams as ToolGetInputParams, type ToolProxyParams as ToolProxyParams, };
163
1408
  }
164
1409
  //# sourceMappingURL=tools.d.mts.map