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

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 (721) hide show
  1. package/CHANGELOG.md +837 -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 +85 -40
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +85 -40
  9. package/client.d.ts.map +1 -1
  10. package/client.js +151 -105
  11. package/client.js.map +1 -1
  12. package/client.mjs +133 -64
  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/query.d.mts +2 -0
  163. package/internal/utils/query.d.mts.map +1 -0
  164. package/internal/utils/query.d.ts +2 -0
  165. package/internal/utils/query.d.ts.map +1 -0
  166. package/internal/utils/query.js +10 -0
  167. package/internal/utils/query.js.map +1 -0
  168. package/internal/utils/query.mjs +6 -0
  169. package/internal/utils/query.mjs.map +1 -0
  170. package/internal/utils/sleep.d.mts.map +1 -1
  171. package/internal/utils/sleep.d.ts.map +1 -1
  172. package/internal/utils/uuid.d.mts +1 -1
  173. package/internal/utils/uuid.d.mts.map +1 -1
  174. package/internal/utils/uuid.d.ts +1 -1
  175. package/internal/utils/uuid.d.ts.map +1 -1
  176. package/internal/utils/uuid.js +1 -2
  177. package/internal/utils/uuid.js.map +1 -1
  178. package/internal/utils/uuid.mjs +1 -2
  179. package/internal/utils/uuid.mjs.map +1 -1
  180. package/internal/utils/values.d.mts +2 -0
  181. package/internal/utils/values.d.mts.map +1 -1
  182. package/internal/utils/values.d.ts +2 -0
  183. package/internal/utils/values.d.ts.map +1 -1
  184. package/internal/utils/values.js +11 -8
  185. package/internal/utils/values.js.map +1 -1
  186. package/internal/utils/values.mjs +5 -3
  187. package/internal/utils/values.mjs.map +1 -1
  188. package/internal/utils.d.mts +1 -0
  189. package/internal/utils.d.ts +1 -0
  190. package/internal/utils.js +8 -20
  191. package/internal/utils.js.map +1 -1
  192. package/internal/utils.mjs +1 -0
  193. package/package.json +6 -14
  194. package/resource.js +2 -15
  195. package/resource.js.map +1 -1
  196. package/resources/auth-configs.d.mts +494 -54
  197. package/resources/auth-configs.d.mts.map +1 -1
  198. package/resources/auth-configs.d.ts +494 -54
  199. package/resources/auth-configs.d.ts.map +1 -1
  200. package/resources/auth-configs.js +73 -0
  201. package/resources/auth-configs.js.map +1 -1
  202. package/resources/auth-configs.mjs +73 -0
  203. package/resources/auth-configs.mjs.map +1 -1
  204. package/resources/cli/cli.d.mts +120 -0
  205. package/resources/cli/cli.d.mts.map +1 -0
  206. package/resources/cli/cli.d.ts +120 -0
  207. package/resources/cli/cli.d.ts.map +1 -0
  208. package/resources/cli/cli.js +36 -0
  209. package/resources/cli/cli.js.map +1 -0
  210. package/resources/cli/cli.mjs +31 -0
  211. package/resources/cli/cli.mjs.map +1 -0
  212. package/resources/cli/index.d.mts +3 -0
  213. package/resources/cli/index.d.mts.map +1 -0
  214. package/resources/cli/index.d.ts +3 -0
  215. package/resources/cli/index.d.ts.map +1 -0
  216. package/resources/cli/index.js +9 -0
  217. package/resources/cli/index.js.map +1 -0
  218. package/resources/cli/index.mjs +4 -0
  219. package/resources/cli/index.mjs.map +1 -0
  220. package/resources/cli/realtime.d.mts +56 -0
  221. package/resources/cli/realtime.d.mts.map +1 -0
  222. package/resources/cli/realtime.d.ts +56 -0
  223. package/resources/cli/realtime.d.ts.map +1 -0
  224. package/resources/cli/realtime.js +25 -0
  225. package/resources/cli/realtime.js.map +1 -0
  226. package/resources/cli/realtime.mjs +21 -0
  227. package/resources/cli/realtime.mjs.map +1 -0
  228. package/resources/cli.d.mts +1 -123
  229. package/resources/cli.d.mts.map +1 -1
  230. package/resources/cli.d.ts +1 -123
  231. package/resources/cli.d.ts.map +1 -1
  232. package/resources/cli.js +2 -14
  233. package/resources/cli.js.map +1 -1
  234. package/resources/cli.mjs +1 -12
  235. package/resources/cli.mjs.map +1 -1
  236. package/resources/connected-accounts.d.mts +8744 -235
  237. package/resources/connected-accounts.d.mts.map +1 -1
  238. package/resources/connected-accounts.d.ts +8744 -235
  239. package/resources/connected-accounts.d.ts.map +1 -1
  240. package/resources/connected-accounts.js +87 -2
  241. package/resources/connected-accounts.js.map +1 -1
  242. package/resources/connected-accounts.mjs +87 -2
  243. package/resources/connected-accounts.mjs.map +1 -1
  244. package/resources/files.d.mts +152 -0
  245. package/resources/files.d.mts.map +1 -0
  246. package/resources/files.d.ts +152 -0
  247. package/resources/files.d.ts.map +1 -0
  248. package/resources/files.js +42 -0
  249. package/resources/files.js.map +1 -0
  250. package/resources/files.mjs +38 -0
  251. package/resources/files.mjs.map +1 -0
  252. package/resources/index.d.mts +13 -11
  253. package/resources/index.d.mts.map +1 -1
  254. package/resources/index.d.ts +13 -11
  255. package/resources/index.d.ts.map +1 -1
  256. package/resources/index.js +14 -10
  257. package/resources/index.js.map +1 -1
  258. package/resources/index.mjs +7 -5
  259. package/resources/index.mjs.map +1 -1
  260. package/resources/link.d.mts +2020 -0
  261. package/resources/link.d.mts.map +1 -0
  262. package/resources/link.d.ts +2020 -0
  263. package/resources/link.d.ts.map +1 -0
  264. package/resources/link.js +19 -0
  265. package/resources/link.js.map +1 -0
  266. package/resources/link.mjs +15 -0
  267. package/resources/link.mjs.map +1 -0
  268. package/resources/logs/index.d.mts +4 -0
  269. package/resources/logs/index.d.mts.map +1 -0
  270. package/resources/logs/index.d.ts +4 -0
  271. package/resources/logs/index.d.ts.map +1 -0
  272. package/resources/logs/index.js +11 -0
  273. package/resources/logs/index.js.map +1 -0
  274. package/resources/logs/index.mjs +5 -0
  275. package/resources/logs/index.mjs.map +1 -0
  276. package/resources/logs/logs.d.mts +14 -0
  277. package/resources/logs/logs.d.mts.map +1 -0
  278. package/resources/logs/logs.d.ts +14 -0
  279. package/resources/logs/logs.d.ts.map +1 -0
  280. package/resources/logs/logs.js +21 -0
  281. package/resources/logs/logs.js.map +1 -0
  282. package/resources/logs/logs.mjs +16 -0
  283. package/resources/logs/logs.mjs.map +1 -0
  284. package/resources/logs/tools.d.mts +173 -0
  285. package/resources/logs/tools.d.mts.map +1 -0
  286. package/resources/logs/tools.d.ts +173 -0
  287. package/resources/logs/tools.d.ts.map +1 -0
  288. package/resources/logs/tools.js +35 -0
  289. package/resources/logs/tools.js.map +1 -0
  290. package/resources/logs/tools.mjs +31 -0
  291. package/resources/logs/tools.mjs.map +1 -0
  292. package/resources/logs/triggers.d.mts +161 -0
  293. package/resources/logs/triggers.d.mts.map +1 -0
  294. package/resources/logs/triggers.d.ts +161 -0
  295. package/resources/logs/triggers.d.ts.map +1 -0
  296. package/resources/logs/triggers.js +36 -0
  297. package/resources/logs/triggers.js.map +1 -0
  298. package/resources/logs/triggers.mjs +32 -0
  299. package/resources/logs/triggers.mjs.map +1 -0
  300. package/resources/logs.d.mts +2 -0
  301. package/resources/logs.d.mts.map +1 -0
  302. package/resources/logs.d.ts +2 -0
  303. package/resources/logs.d.ts.map +1 -0
  304. package/resources/logs.js +6 -0
  305. package/resources/logs.js.map +1 -0
  306. package/resources/logs.mjs +3 -0
  307. package/resources/logs.mjs.map +1 -0
  308. package/resources/mcp/custom.d.mts +105 -0
  309. package/resources/mcp/custom.d.mts.map +1 -0
  310. package/resources/mcp/custom.d.ts +105 -0
  311. package/resources/mcp/custom.d.ts.map +1 -0
  312. package/resources/mcp/custom.js +29 -0
  313. package/resources/mcp/custom.js.map +1 -0
  314. package/resources/mcp/custom.mjs +25 -0
  315. package/resources/mcp/custom.mjs.map +1 -0
  316. package/resources/mcp/generate.d.mts +62 -0
  317. package/resources/mcp/generate.d.mts.map +1 -0
  318. package/resources/mcp/generate.d.ts +62 -0
  319. package/resources/mcp/generate.d.ts.map +1 -0
  320. package/resources/mcp/generate.js +29 -0
  321. package/resources/mcp/generate.js.map +1 -0
  322. package/resources/mcp/generate.mjs +25 -0
  323. package/resources/mcp/generate.mjs.map +1 -0
  324. package/resources/mcp/index.d.mts +3 -2
  325. package/resources/mcp/index.d.mts.map +1 -1
  326. package/resources/mcp/index.d.ts +3 -2
  327. package/resources/mcp/index.d.ts.map +1 -1
  328. package/resources/mcp/index.js +5 -3
  329. package/resources/mcp/index.js.map +1 -1
  330. package/resources/mcp/index.mjs +2 -1
  331. package/resources/mcp/index.mjs.map +1 -1
  332. package/resources/mcp/mcp.d.mts +450 -175
  333. package/resources/mcp/mcp.d.mts.map +1 -1
  334. package/resources/mcp/mcp.d.ts +450 -175
  335. package/resources/mcp/mcp.d.ts.map +1 -1
  336. package/resources/mcp/mcp.js +92 -39
  337. package/resources/mcp/mcp.js.map +1 -1
  338. package/resources/mcp/mcp.mjs +91 -16
  339. package/resources/mcp/mcp.mjs.map +1 -1
  340. package/resources/mcp.js +2 -15
  341. package/resources/mcp.js.map +1 -1
  342. package/resources/migration.d.mts +35 -0
  343. package/resources/migration.d.mts.map +1 -0
  344. package/resources/migration.d.ts +35 -0
  345. package/resources/migration.d.ts.map +1 -0
  346. package/resources/migration.js +20 -0
  347. package/resources/migration.js.map +1 -0
  348. package/resources/migration.mjs +16 -0
  349. package/resources/migration.mjs.map +1 -0
  350. package/resources/project/config.d.mts +71 -0
  351. package/resources/project/config.d.mts.map +1 -0
  352. package/resources/project/config.d.ts +71 -0
  353. package/resources/project/config.d.ts.map +1 -0
  354. package/resources/project/config.js +33 -0
  355. package/resources/project/config.js.map +1 -0
  356. package/resources/project/config.mjs +29 -0
  357. package/resources/project/config.mjs.map +1 -0
  358. package/resources/project/index.d.mts +3 -0
  359. package/resources/project/index.d.mts.map +1 -0
  360. package/resources/project/index.d.ts +3 -0
  361. package/resources/project/index.d.ts.map +1 -0
  362. package/resources/project/index.js +9 -0
  363. package/resources/project/index.js.map +1 -0
  364. package/resources/project/index.mjs +4 -0
  365. package/resources/project/index.mjs.map +1 -0
  366. package/resources/project/project.d.mts +10 -0
  367. package/resources/project/project.d.mts.map +1 -0
  368. package/resources/project/project.d.ts +10 -0
  369. package/resources/project/project.d.ts.map +1 -0
  370. package/resources/project/project.js +17 -0
  371. package/resources/project/project.js.map +1 -0
  372. package/resources/project/project.mjs +12 -0
  373. package/resources/project/project.mjs.map +1 -0
  374. package/resources/{org/project.d.mts.map → project.d.mts.map} +1 -1
  375. package/resources/{org/project.d.ts.map → project.d.ts.map} +1 -1
  376. package/resources/project.js +6 -0
  377. package/resources/project.js.map +1 -0
  378. package/resources/project.mjs.map +1 -0
  379. package/resources/tool-router/index.d.mts +3 -0
  380. package/resources/tool-router/index.d.mts.map +1 -0
  381. package/resources/tool-router/index.d.ts +3 -0
  382. package/resources/tool-router/index.d.ts.map +1 -0
  383. package/resources/tool-router/index.js +9 -0
  384. package/resources/tool-router/index.js.map +1 -0
  385. package/resources/tool-router/index.mjs +4 -0
  386. package/resources/tool-router/index.mjs.map +1 -0
  387. package/resources/tool-router/session/files.d.mts +205 -0
  388. package/resources/tool-router/session/files.d.mts.map +1 -0
  389. package/resources/tool-router/session/files.d.ts +205 -0
  390. package/resources/tool-router/session/files.d.ts.map +1 -0
  391. package/resources/tool-router/session/files.js +101 -0
  392. package/resources/tool-router/session/files.js.map +1 -0
  393. package/resources/tool-router/session/files.mjs +97 -0
  394. package/resources/tool-router/session/files.mjs.map +1 -0
  395. package/resources/tool-router/session/index.d.mts +3 -0
  396. package/resources/tool-router/session/index.d.mts.map +1 -0
  397. package/resources/tool-router/session/index.d.ts +3 -0
  398. package/resources/tool-router/session/index.d.ts.map +1 -0
  399. package/resources/tool-router/session/index.js +9 -0
  400. package/resources/tool-router/session/index.js.map +1 -0
  401. package/resources/tool-router/session/index.mjs +4 -0
  402. package/resources/tool-router/session/index.mjs.map +1 -0
  403. package/resources/tool-router/session/session.d.mts +1201 -0
  404. package/resources/tool-router/session/session.d.mts.map +1 -0
  405. package/resources/tool-router/session/session.d.ts +1201 -0
  406. package/resources/tool-router/session/session.d.ts.map +1 -0
  407. package/resources/tool-router/session/session.js +153 -0
  408. package/resources/tool-router/session/session.js.map +1 -0
  409. package/resources/tool-router/session/session.mjs +148 -0
  410. package/resources/tool-router/session/session.mjs.map +1 -0
  411. package/resources/tool-router/session.d.mts +2 -0
  412. package/resources/tool-router/session.d.mts.map +1 -0
  413. package/resources/tool-router/session.d.ts +2 -0
  414. package/resources/tool-router/session.d.ts.map +1 -0
  415. package/resources/tool-router/session.js +6 -0
  416. package/resources/tool-router/session.js.map +1 -0
  417. package/resources/tool-router/session.mjs +3 -0
  418. package/resources/tool-router/session.mjs.map +1 -0
  419. package/resources/tool-router/tool-router.d.mts +94 -0
  420. package/resources/tool-router/tool-router.d.mts.map +1 -0
  421. package/resources/tool-router/tool-router.d.ts +94 -0
  422. package/resources/tool-router/tool-router.d.ts.map +1 -0
  423. package/resources/tool-router/tool-router.js +49 -0
  424. package/resources/tool-router/tool-router.js.map +1 -0
  425. package/resources/tool-router/tool-router.mjs +44 -0
  426. package/resources/tool-router/tool-router.mjs.map +1 -0
  427. package/resources/tool-router.d.mts +2 -0
  428. package/resources/tool-router.d.mts.map +1 -0
  429. package/resources/tool-router.d.ts +2 -0
  430. package/resources/tool-router.d.ts.map +1 -0
  431. package/resources/tool-router.js +6 -0
  432. package/resources/tool-router.js.map +1 -0
  433. package/resources/tool-router.mjs +3 -0
  434. package/resources/tool-router.mjs.map +1 -0
  435. package/resources/toolkits.d.mts +301 -6
  436. package/resources/toolkits.d.mts.map +1 -1
  437. package/resources/toolkits.d.ts +301 -6
  438. package/resources/toolkits.d.ts.map +1 -1
  439. package/resources/toolkits.js +23 -2
  440. package/resources/toolkits.js.map +1 -1
  441. package/resources/toolkits.mjs +23 -2
  442. package/resources/toolkits.mjs.map +1 -1
  443. package/resources/tools.d.mts +1289 -41
  444. package/resources/tools.d.mts.map +1 -1
  445. package/resources/tools.d.ts +1289 -41
  446. package/resources/tools.d.ts.map +1 -1
  447. package/resources/tools.js +85 -6
  448. package/resources/tools.js.map +1 -1
  449. package/resources/tools.mjs +85 -6
  450. package/resources/tools.mjs.map +1 -1
  451. package/resources/trigger-instances/index.d.mts +2 -2
  452. package/resources/trigger-instances/index.d.mts.map +1 -1
  453. package/resources/trigger-instances/index.d.ts +2 -2
  454. package/resources/trigger-instances/index.d.ts.map +1 -1
  455. package/resources/trigger-instances/index.js +3 -3
  456. package/resources/trigger-instances/index.js.map +1 -1
  457. package/resources/trigger-instances/index.mjs +1 -1
  458. package/resources/trigger-instances/index.mjs.map +1 -1
  459. package/resources/trigger-instances/manage.d.mts +55 -0
  460. package/resources/trigger-instances/manage.d.mts.map +1 -0
  461. package/resources/trigger-instances/manage.d.ts +55 -0
  462. package/resources/trigger-instances/manage.d.ts.map +1 -0
  463. package/resources/trigger-instances/manage.js +45 -0
  464. package/resources/trigger-instances/manage.js.map +1 -0
  465. package/resources/trigger-instances/manage.mjs +41 -0
  466. package/resources/trigger-instances/manage.mjs.map +1 -0
  467. package/resources/trigger-instances/trigger-instances.d.mts +184 -42
  468. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  469. package/resources/trigger-instances/trigger-instances.d.ts +184 -42
  470. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  471. package/resources/trigger-instances/trigger-instances.js +34 -35
  472. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  473. package/resources/trigger-instances/trigger-instances.mjs +33 -12
  474. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  475. package/resources/trigger-instances.js +2 -15
  476. package/resources/trigger-instances.js.map +1 -1
  477. package/resources/triggers-types.d.mts +148 -12
  478. package/resources/triggers-types.d.mts.map +1 -1
  479. package/resources/triggers-types.d.ts +148 -12
  480. package/resources/triggers-types.d.ts.map +1 -1
  481. package/resources/triggers-types.js +17 -2
  482. package/resources/triggers-types.js.map +1 -1
  483. package/resources/triggers-types.mjs +17 -2
  484. package/resources/triggers-types.mjs.map +1 -1
  485. package/resources.js +2 -15
  486. package/resources.js.map +1 -1
  487. package/src/client.ts +223 -126
  488. package/src/core/resource.ts +1 -1
  489. package/src/internal/detect-platform.ts +3 -3
  490. package/src/internal/headers.ts +9 -8
  491. package/src/internal/parse.ts +6 -0
  492. package/src/internal/qs/formats.ts +2 -1
  493. package/src/internal/qs/stringify.ts +17 -20
  494. package/src/internal/qs/utils.ts +14 -14
  495. package/src/internal/request-options.ts +54 -0
  496. package/src/internal/shim-types.ts +26 -0
  497. package/src/internal/shims.ts +2 -2
  498. package/src/internal/to-file.ts +5 -3
  499. package/src/internal/types.ts +9 -6
  500. package/src/internal/uploads.ts +17 -5
  501. package/src/internal/utils/base64.ts +13 -10
  502. package/src/internal/utils/bytes.ts +32 -0
  503. package/src/internal/utils/log.ts +1 -1
  504. package/src/internal/utils/path.ts +33 -8
  505. package/src/internal/utils/query.ts +7 -0
  506. package/src/internal/utils/uuid.ts +1 -3
  507. package/src/internal/utils/values.ts +6 -3
  508. package/src/internal/utils.ts +1 -0
  509. package/src/resources/auth-configs.ts +559 -67
  510. package/src/resources/cli/cli.ts +163 -0
  511. package/src/resources/cli/index.ts +15 -0
  512. package/src/resources/cli/realtime.ts +75 -0
  513. package/src/resources/cli.ts +1 -164
  514. package/src/resources/connected-accounts.ts +16489 -459
  515. package/src/resources/files.ts +197 -0
  516. package/src/resources/index.ts +28 -27
  517. package/src/resources/link.ts +3820 -0
  518. package/src/resources/logs/index.ts +10 -0
  519. package/src/resources/logs/logs.ts +31 -0
  520. package/src/resources/{action-execution.ts → logs/tools.ts} +98 -103
  521. package/src/resources/logs/triggers.ts +241 -0
  522. package/src/resources/{org.ts → logs.ts} +1 -1
  523. package/src/resources/mcp/custom.ts +125 -0
  524. package/src/resources/mcp/generate.ts +74 -0
  525. package/src/resources/mcp/index.ts +3 -3
  526. package/src/resources/mcp/mcp.ts +487 -200
  527. package/src/resources/migration.ts +49 -0
  528. package/src/resources/project/config.ts +110 -0
  529. package/src/resources/project/index.ts +9 -0
  530. package/src/resources/project/project.ts +20 -0
  531. package/src/resources/tool-router/index.ts +25 -0
  532. package/src/resources/tool-router/session/files.ts +284 -0
  533. package/src/resources/tool-router/session/index.ts +31 -0
  534. package/src/resources/tool-router/session/session.ts +1465 -0
  535. package/src/resources/tool-router/session.ts +3 -0
  536. package/src/resources/tool-router/tool-router.ts +152 -0
  537. package/src/resources/tool-router.ts +3 -0
  538. package/src/resources/toolkits.ts +343 -8
  539. package/src/resources/tools.ts +1983 -60
  540. package/src/resources/trigger-instances/index.ts +5 -9
  541. package/src/resources/trigger-instances/manage.ts +75 -0
  542. package/src/resources/trigger-instances/trigger-instances.ts +197 -66
  543. package/src/resources/triggers-types.ts +152 -14
  544. package/src/version.ts +1 -1
  545. package/uploads.js +2 -15
  546. package/uploads.js.map +1 -1
  547. package/version.d.mts +1 -1
  548. package/version.d.mts.map +1 -1
  549. package/version.d.ts +1 -1
  550. package/version.d.ts.map +1 -1
  551. package/version.js +1 -1
  552. package/version.js.map +1 -1
  553. package/version.mjs +1 -1
  554. package/version.mjs.map +1 -1
  555. package/internal/shims/crypto.d.mts +0 -13
  556. package/internal/shims/crypto.d.mts.map +0 -1
  557. package/internal/shims/crypto.d.ts +0 -13
  558. package/internal/shims/crypto.d.ts.map +0 -1
  559. package/internal/shims/crypto.js +0 -13
  560. package/internal/shims/crypto.js.map +0 -1
  561. package/internal/shims/crypto.mjs +0 -9
  562. package/internal/shims/crypto.mjs.map +0 -1
  563. package/internal/shims/file.d.mts +0 -23
  564. package/internal/shims/file.d.mts.map +0 -1
  565. package/internal/shims/file.d.ts +0 -23
  566. package/internal/shims/file.d.ts.map +0 -1
  567. package/internal/shims/file.js +0 -16
  568. package/internal/shims/file.js.map +0 -1
  569. package/internal/shims/file.mjs +0 -12
  570. package/internal/shims/file.mjs.map +0 -1
  571. package/internal/shims/getBuiltinModule.d.mts +0 -11
  572. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  573. package/internal/shims/getBuiltinModule.d.ts +0 -11
  574. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  575. package/internal/shims/getBuiltinModule.js +0 -71
  576. package/internal/shims/getBuiltinModule.js.map +0 -1
  577. package/internal/shims/getBuiltinModule.mjs +0 -67
  578. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  579. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  580. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  581. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  582. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  583. package/internal/shims/nullGetBuiltinModule.js +0 -5
  584. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  585. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  586. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  587. package/resources/action-execution.d.mts +0 -155
  588. package/resources/action-execution.d.mts.map +0 -1
  589. package/resources/action-execution.d.ts +0 -155
  590. package/resources/action-execution.d.ts.map +0 -1
  591. package/resources/action-execution.js +0 -19
  592. package/resources/action-execution.js.map +0 -1
  593. package/resources/action-execution.mjs +0 -15
  594. package/resources/action-execution.mjs.map +0 -1
  595. package/resources/mcp/command.d.mts +0 -34
  596. package/resources/mcp/command.d.mts.map +0 -1
  597. package/resources/mcp/command.d.ts +0 -34
  598. package/resources/mcp/command.d.ts.map +0 -1
  599. package/resources/mcp/command.js +0 -12
  600. package/resources/mcp/command.js.map +0 -1
  601. package/resources/mcp/command.mjs +0 -8
  602. package/resources/mcp/command.mjs.map +0 -1
  603. package/resources/org/api-key.d.mts +0 -17
  604. package/resources/org/api-key.d.mts.map +0 -1
  605. package/resources/org/api-key.d.ts +0 -17
  606. package/resources/org/api-key.d.ts.map +0 -1
  607. package/resources/org/api-key.js +0 -15
  608. package/resources/org/api-key.js.map +0 -1
  609. package/resources/org/api-key.mjs +0 -11
  610. package/resources/org/api-key.mjs.map +0 -1
  611. package/resources/org/index.d.mts +0 -4
  612. package/resources/org/index.d.mts.map +0 -1
  613. package/resources/org/index.d.ts +0 -4
  614. package/resources/org/index.d.ts.map +0 -1
  615. package/resources/org/index.js +0 -11
  616. package/resources/org/index.js.map +0 -1
  617. package/resources/org/index.mjs +0 -5
  618. package/resources/org/index.mjs.map +0 -1
  619. package/resources/org/org.d.mts +0 -14
  620. package/resources/org/org.d.mts.map +0 -1
  621. package/resources/org/org.d.ts +0 -14
  622. package/resources/org/org.d.ts.map +0 -1
  623. package/resources/org/org.js +0 -43
  624. package/resources/org/org.js.map +0 -1
  625. package/resources/org/org.mjs +0 -16
  626. package/resources/org/org.mjs.map +0 -1
  627. package/resources/org/project/api-keys.d.mts +0 -109
  628. package/resources/org/project/api-keys.d.mts.map +0 -1
  629. package/resources/org/project/api-keys.d.ts +0 -109
  630. package/resources/org/project/api-keys.d.ts.map +0 -1
  631. package/resources/org/project/api-keys.js +0 -23
  632. package/resources/org/project/api-keys.js.map +0 -1
  633. package/resources/org/project/api-keys.mjs +0 -19
  634. package/resources/org/project/api-keys.mjs.map +0 -1
  635. package/resources/org/project/index.d.mts +0 -5
  636. package/resources/org/project/index.d.mts.map +0 -1
  637. package/resources/org/project/index.d.ts +0 -5
  638. package/resources/org/project/index.d.ts.map +0 -1
  639. package/resources/org/project/index.js +0 -13
  640. package/resources/org/project/index.js.map +0 -1
  641. package/resources/org/project/index.mjs +0 -6
  642. package/resources/org/project/index.mjs.map +0 -1
  643. package/resources/org/project/project.d.mts +0 -90
  644. package/resources/org/project/project.d.mts.map +0 -1
  645. package/resources/org/project/project.d.ts +0 -90
  646. package/resources/org/project/project.d.ts.map +0 -1
  647. package/resources/org/project/project.js +0 -60
  648. package/resources/org/project/project.js.map +0 -1
  649. package/resources/org/project/project.mjs +0 -33
  650. package/resources/org/project/project.mjs.map +0 -1
  651. package/resources/org/project/trigger.d.mts +0 -51
  652. package/resources/org/project/trigger.d.mts.map +0 -1
  653. package/resources/org/project/trigger.d.ts +0 -51
  654. package/resources/org/project/trigger.d.ts.map +0 -1
  655. package/resources/org/project/trigger.js +0 -16
  656. package/resources/org/project/trigger.js.map +0 -1
  657. package/resources/org/project/trigger.mjs +0 -12
  658. package/resources/org/project/trigger.mjs.map +0 -1
  659. package/resources/org/project/webhook.d.mts +0 -92
  660. package/resources/org/project/webhook.d.mts.map +0 -1
  661. package/resources/org/project/webhook.d.ts +0 -92
  662. package/resources/org/project/webhook.d.ts.map +0 -1
  663. package/resources/org/project/webhook.js +0 -24
  664. package/resources/org/project/webhook.js.map +0 -1
  665. package/resources/org/project/webhook.mjs +0 -20
  666. package/resources/org/project/webhook.mjs.map +0 -1
  667. package/resources/org/project.js +0 -19
  668. package/resources/org/project.js.map +0 -1
  669. package/resources/org/project.mjs.map +0 -1
  670. package/resources/org.d.mts +0 -2
  671. package/resources/org.d.mts.map +0 -1
  672. package/resources/org.d.ts +0 -2
  673. package/resources/org.d.ts.map +0 -1
  674. package/resources/org.js +0 -19
  675. package/resources/org.js.map +0 -1
  676. package/resources/org.mjs.map +0 -1
  677. package/resources/team-members.d.mts +0 -57
  678. package/resources/team-members.d.mts.map +0 -1
  679. package/resources/team-members.d.ts +0 -57
  680. package/resources/team-members.d.ts.map +0 -1
  681. package/resources/team-members.js +0 -22
  682. package/resources/team-members.js.map +0 -1
  683. package/resources/team-members.mjs +0 -18
  684. package/resources/team-members.mjs.map +0 -1
  685. package/resources/trigger-instances/handle.d.mts +0 -25
  686. package/resources/trigger-instances/handle.d.mts.map +0 -1
  687. package/resources/trigger-instances/handle.d.ts +0 -25
  688. package/resources/trigger-instances/handle.d.ts.map +0 -1
  689. package/resources/trigger-instances/handle.js +0 -18
  690. package/resources/trigger-instances/handle.js.map +0 -1
  691. package/resources/trigger-instances/handle.mjs +0 -14
  692. package/resources/trigger-instances/handle.mjs.map +0 -1
  693. package/resources/trigger.d.mts +0 -73
  694. package/resources/trigger.d.mts.map +0 -1
  695. package/resources/trigger.d.ts +0 -73
  696. package/resources/trigger.d.ts.map +0 -1
  697. package/resources/trigger.js +0 -12
  698. package/resources/trigger.js.map +0 -1
  699. package/resources/trigger.mjs +0 -8
  700. package/resources/trigger.mjs.map +0 -1
  701. package/src/internal/shim-types.d.ts +0 -28
  702. package/src/internal/shims/crypto.ts +0 -18
  703. package/src/internal/shims/file.ts +0 -32
  704. package/src/internal/shims/getBuiltinModule.ts +0 -66
  705. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  706. package/src/resources/mcp/command.ts +0 -47
  707. package/src/resources/org/api-key.ts +0 -30
  708. package/src/resources/org/index.ts +0 -12
  709. package/src/resources/org/org.ts +0 -39
  710. package/src/resources/org/project/api-keys.ts +0 -156
  711. package/src/resources/org/project/index.ts +0 -35
  712. package/src/resources/org/project/project.ts +0 -206
  713. package/src/resources/org/project/trigger.ts +0 -95
  714. package/src/resources/org/project/webhook.ts +0 -131
  715. package/src/resources/team-members.ts +0 -111
  716. package/src/resources/trigger-instances/handle.ts +0 -45
  717. package/src/resources/trigger.ts +0 -108
  718. /package/resources/{org/project.d.mts → project.d.mts} +0 -0
  719. /package/resources/{org/project.d.ts → project.d.ts} +0 -0
  720. /package/resources/{org/project.mjs → project.mjs} +0 -0
  721. /package/src/resources/{org/project.ts → project.ts} +0 -0
@@ -2,14 +2,42 @@
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
4
  import { APIPromise } from '../core/api-promise';
5
+ import { buildHeaders } from '../internal/headers';
5
6
  import { RequestOptions } from '../internal/request-options';
6
7
  import { path } from '../internal/utils/path';
7
8
 
9
+ /**
10
+ * Tool execution endpoints
11
+ */
8
12
  export class Tools extends APIResource {
9
- retrieve(toolSlug: string, options?: RequestOptions): APIPromise<ToolRetrieveResponse> {
10
- return this._client.get(path`/api/v3/tools/${toolSlug}`, options);
13
+ /**
14
+ * Retrieve detailed information about a specific tool using its slug identifier.
15
+ * This endpoint returns full metadata about a tool including input/output
16
+ * parameters, versions, and toolkit information.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * const tool = await client.tools.retrieve('tool_slug');
21
+ * ```
22
+ */
23
+ retrieve(
24
+ toolSlug: string,
25
+ query: ToolRetrieveParams | null | undefined = {},
26
+ options?: RequestOptions,
27
+ ): APIPromise<ToolRetrieveResponse> {
28
+ return this._client.get(path`/api/v3/tools/${toolSlug}`, { query, ...options });
11
29
  }
12
30
 
31
+ /**
32
+ * Retrieve a paginated list of available tools with comprehensive filtering,
33
+ * sorting and search capabilities. Use query parameters to narrow down results by
34
+ * toolkit, tags, or search terms.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const tools = await client.tools.list();
39
+ * ```
40
+ */
13
41
  list(
14
42
  query: ToolListParams | null | undefined = {},
15
43
  options?: RequestOptions,
@@ -17,113 +45,330 @@ export class Tools extends APIResource {
17
45
  return this._client.get('/api/v3/tools', { query, ...options });
18
46
  }
19
47
 
48
+ /**
49
+ * Execute a specific tool operation with provided arguments and authentication.
50
+ * This is the primary endpoint for integrating with third-party services and
51
+ * executing tools. You can provide structured arguments or use natural language
52
+ * processing by providing a text description of what you want to accomplish.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const response = await client.tools.execute('tool_slug');
57
+ * ```
58
+ */
20
59
  execute(
21
- action: string,
22
- body: ToolExecuteParams | null | undefined = {},
60
+ toolSlug: string,
61
+ params: ToolExecuteParams | null | undefined = {},
23
62
  options?: RequestOptions,
24
63
  ): APIPromise<ToolExecuteResponse> {
25
- return this._client.post(path`/api/v3/tools/execute/${action}`, { body, ...options });
64
+ const { 'x-llm-gateway-headers': xLlmGatewayHeaders, ...body } = params ?? {};
65
+ return this._client.post(path`/api/v3/tools/execute/${toolSlug}`, {
66
+ body,
67
+ ...options,
68
+ headers: buildHeaders([
69
+ { ...(xLlmGatewayHeaders != null ? { 'x-llm-gateway-headers': xLlmGatewayHeaders } : undefined) },
70
+ options?.headers,
71
+ ]),
72
+ });
26
73
  }
27
74
 
75
+ /**
76
+ * Uses AI to translate a natural language description into structured arguments
77
+ * for a specific tool. This endpoint is useful when you want to let users describe
78
+ * what they want to do in plain language instead of providing structured
79
+ * parameters.
80
+ *
81
+ * @example
82
+ * ```ts
83
+ * const response = await client.tools.getInput('tool_slug', {
84
+ * text: 'I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production',
85
+ * });
86
+ * ```
87
+ */
28
88
  getInput(
29
- actionName: string,
89
+ toolSlug: string,
30
90
  body: ToolGetInputParams,
31
91
  options?: RequestOptions,
32
92
  ): APIPromise<ToolGetInputResponse> {
33
- return this._client.post(path`/api/v3/tools/execute/${actionName}/input`, { body, ...options });
93
+ return this._client.post(path`/api/v3/tools/execute/${toolSlug}/input`, { body, ...options });
34
94
  }
35
95
 
96
+ /**
97
+ * Proxy an HTTP request to a third-party API using connected account credentials.
98
+ * This endpoint allows making authenticated API calls to external services while
99
+ * abstracting away authentication details.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * const response = await client.tools.proxy({
104
+ * endpoint: '/api/v1/resources',
105
+ * method: 'GET',
106
+ * });
107
+ * ```
108
+ */
36
109
  proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse> {
37
110
  return this._client.post('/api/v3/tools/execute/proxy', { body, ...options });
38
111
  }
39
112
 
40
- retrieveEnum(options?: RequestOptions): APIPromise<string> {
113
+ /**
114
+ * Retrieve a list of all available tool enumeration values (tool slugs) from
115
+ * latest version of each toolkit. This endpoint returns a comma-separated string
116
+ * of tool slugs that can be used in other API calls.
117
+ *
118
+ * @example
119
+ * ```ts
120
+ * const response = await client.tools.retrieveEnum();
121
+ * ```
122
+ */
123
+ retrieveEnum(options?: RequestOptions): APIPromise<ToolRetrieveEnumResponse> {
41
124
  return this._client.get('/api/v3/tools/enum', options);
42
125
  }
43
126
  }
44
127
 
45
128
  export interface ToolRetrieveResponse {
129
+ /**
130
+ * List of all available versions for this tool
131
+ */
46
132
  available_versions: Array<string>;
47
133
 
134
+ deprecated: ToolRetrieveResponse.Deprecated;
135
+
136
+ /**
137
+ * Detailed explanation of the tool's functionality and purpose
138
+ */
48
139
  description: string;
49
140
 
50
- input_parameters: Record<string, unknown>;
141
+ /**
142
+ * Schema definition of required input parameters for the tool
143
+ */
144
+ input_parameters: { [key: string]: unknown };
145
+
146
+ /**
147
+ * Indicates if this tool is deprecated and may be removed in the future
148
+ */
149
+ is_deprecated: boolean;
51
150
 
151
+ /**
152
+ * Human-readable display name of the tool
153
+ */
52
154
  name: string;
53
155
 
54
- output_parameters: Record<string, unknown>;
156
+ /**
157
+ * Indicates if the tool can be used without authentication
158
+ */
159
+ no_auth: boolean;
160
+
161
+ /**
162
+ * Schema definition of return values from the tool
163
+ */
164
+ output_parameters: { [key: string]: unknown };
165
+
166
+ /**
167
+ * List of scopes associated with the tool
168
+ */
169
+ scopes: Array<string>;
55
170
 
171
+ /**
172
+ * Unique identifier for the tool
173
+ */
56
174
  slug: string;
57
175
 
176
+ /**
177
+ * List of tags associated with the tool for categorization and filtering
178
+ */
58
179
  tags: Array<string>;
59
180
 
60
181
  toolkit: ToolRetrieveResponse.Toolkit;
61
182
 
183
+ /**
184
+ * Current version of the tool
185
+ */
62
186
  version: string;
187
+
188
+ /**
189
+ * Human-friendly description of the tool, if available
190
+ */
191
+ human_description?: string;
63
192
  }
64
193
 
65
194
  export namespace ToolRetrieveResponse {
195
+ export interface Deprecated {
196
+ /**
197
+ * List of all available versions for this tool
198
+ */
199
+ available_versions: Array<string>;
200
+
201
+ /**
202
+ * The display name of the tool
203
+ */
204
+ displayName: string;
205
+
206
+ /**
207
+ * Indicates if this tool is deprecated and may be removed in the future
208
+ */
209
+ is_deprecated: boolean;
210
+
211
+ toolkit: Deprecated.Toolkit;
212
+
213
+ /**
214
+ * Current version identifier of the tool
215
+ */
216
+ version: string;
217
+ }
218
+
219
+ export namespace Deprecated {
220
+ export interface Toolkit {
221
+ /**
222
+ * URL to the toolkit logo image
223
+ */
224
+ logo: string;
225
+ }
226
+ }
227
+
66
228
  export interface Toolkit {
229
+ /**
230
+ * URL to the toolkit logo image
231
+ */
67
232
  logo: string;
68
233
 
234
+ /**
235
+ * Human-readable name of the parent toolkit
236
+ */
69
237
  name: string;
70
238
 
239
+ /**
240
+ * Unique identifier of the parent toolkit
241
+ */
71
242
  slug: string;
72
243
  }
73
244
  }
74
245
 
75
246
  export interface ToolListResponse {
247
+ current_page: number;
248
+
76
249
  items: Array<ToolListResponse.Item>;
77
250
 
78
- next_cursor: string | null;
251
+ total_items: number;
79
252
 
80
253
  total_pages: number;
254
+
255
+ next_cursor?: string | null;
81
256
  }
82
257
 
83
258
  export namespace ToolListResponse {
84
259
  export interface Item {
85
260
  /**
86
- * The description of the tool
261
+ * List of all available versions for this tool
262
+ */
263
+ available_versions: Array<string>;
264
+
265
+ deprecated: Item.Deprecated;
266
+
267
+ /**
268
+ * Detailed explanation of the tool's functionality and purpose
87
269
  */
88
270
  description: string;
89
271
 
90
272
  /**
91
- * The input parameters of the tool
273
+ * Schema definition of required input parameters for the tool
274
+ */
275
+ input_parameters: { [key: string]: unknown };
276
+
277
+ /**
278
+ * Indicates if this tool is deprecated and may be removed in the future
92
279
  */
93
- input_parameters: Record<string, unknown>;
280
+ is_deprecated: boolean;
94
281
 
95
282
  /**
96
- * The name of the tool
283
+ * Human-readable display name of the tool
97
284
  */
98
285
  name: string;
99
286
 
100
287
  /**
101
- * The output parameters of the tool
288
+ * Indicates if the tool can be used without authentication
289
+ */
290
+ no_auth: boolean;
291
+
292
+ /**
293
+ * Schema definition of return values from the tool
102
294
  */
103
- output_parameters: Record<string, unknown>;
295
+ output_parameters: { [key: string]: unknown };
104
296
 
105
297
  /**
106
- * The slug of the tool
298
+ * List of scopes associated with the tool
299
+ */
300
+ scopes: Array<string>;
301
+
302
+ /**
303
+ * Unique identifier for the tool
107
304
  */
108
305
  slug: string;
109
306
 
110
307
  /**
111
- * The tags of the tool
308
+ * List of tags associated with the tool for categorization and filtering
112
309
  */
113
310
  tags: Array<string>;
114
311
 
115
312
  toolkit: Item.Toolkit;
313
+
314
+ /**
315
+ * Current version of the tool
316
+ */
317
+ version: string;
318
+
319
+ /**
320
+ * Human-friendly description of the tool, if available
321
+ */
322
+ human_description?: string;
116
323
  }
117
324
 
118
325
  export namespace Item {
326
+ export interface Deprecated {
327
+ /**
328
+ * List of all available versions for this tool
329
+ */
330
+ available_versions: Array<string>;
331
+
332
+ /**
333
+ * The display name of the tool
334
+ */
335
+ displayName: string;
336
+
337
+ /**
338
+ * Indicates if this tool is deprecated and may be removed in the future
339
+ */
340
+ is_deprecated: boolean;
341
+
342
+ toolkit: Deprecated.Toolkit;
343
+
344
+ /**
345
+ * Current version identifier of the tool
346
+ */
347
+ version: string;
348
+ }
349
+
350
+ export namespace Deprecated {
351
+ export interface Toolkit {
352
+ /**
353
+ * URL to the toolkit logo image
354
+ */
355
+ logo: string;
356
+ }
357
+ }
358
+
119
359
  export interface Toolkit {
120
360
  /**
121
- * The name of the toolkit
361
+ * URL to the toolkit logo image
362
+ */
363
+ logo: string;
364
+
365
+ /**
366
+ * Human-readable name of the parent toolkit
122
367
  */
123
368
  name: string;
124
369
 
125
370
  /**
126
- * The slug of the toolkit
371
+ * Unique identifier of the parent toolkit
127
372
  */
128
373
  slug: string;
129
374
  }
@@ -131,120 +376,1797 @@ export namespace ToolListResponse {
131
376
  }
132
377
 
133
378
  export interface ToolExecuteResponse {
134
- data: Record<string, unknown>;
379
+ /**
380
+ * Tool execution output data that varies based on the specific tool
381
+ */
382
+ data: { [key: string]: unknown };
135
383
 
384
+ /**
385
+ * Error message if the tool execution was not successful (null if successful)
386
+ */
136
387
  error: string | null;
137
388
 
389
+ /**
390
+ * Indicates if the tool execution was successful
391
+ */
138
392
  successful: boolean;
139
393
 
394
+ /**
395
+ * Unique identifier for the execution log (useful for debugging and support)
396
+ */
140
397
  log_id?: string;
141
398
 
399
+ /**
400
+ * Optional session information for tools that return session context
401
+ */
142
402
  session_info?: unknown;
143
403
  }
144
404
 
145
405
  export interface ToolGetInputResponse {
146
406
  /**
147
- * The arguments for the action needed to execute the given task.
407
+ * Key-value pairs of arguments required by the tool to accomplish the described
408
+ * task
148
409
  */
149
- arguments?: Record<string, unknown>;
410
+ arguments?: { [key: string]: unknown };
150
411
 
151
412
  /**
152
- * The error message if the arguments were not generated successfully.
413
+ * Error message if the arguments could not be generated (null if successful)
153
414
  */
154
415
  error?: string;
155
416
  }
156
417
 
157
418
  export interface ToolProxyResponse {
419
+ /**
420
+ * The HTTP status code returned from the proxied API
421
+ */
158
422
  status: number;
159
423
 
424
+ /**
425
+ * Binary body response data. Present when the response is a binary file.
426
+ */
427
+ binary_data?: ToolProxyResponse.BinaryData;
428
+
429
+ /**
430
+ * The response data returned from the proxied API
431
+ */
160
432
  data?: unknown;
161
433
 
162
- headers?: Record<string, string>;
434
+ /**
435
+ * The HTTP headers returned from the proxied API
436
+ */
437
+ headers?: { [key: string]: string };
438
+ }
439
+
440
+ export namespace ToolProxyResponse {
441
+ /**
442
+ * Binary body response data. Present when the response is a binary file.
443
+ */
444
+ export interface BinaryData {
445
+ /**
446
+ * Content-Type of the binary data
447
+ */
448
+ content_type: string;
449
+
450
+ /**
451
+ * File size in bytes
452
+ */
453
+ size: number;
454
+
455
+ /**
456
+ * URL to download binary content
457
+ */
458
+ url: string;
459
+
460
+ /**
461
+ * ISO 8601 timestamp when the URL expires
462
+ */
463
+ expires_at?: string;
464
+ }
163
465
  }
164
466
 
165
- export type ToolRetrieveEnumResponse = string;
467
+ /**
468
+ * JSON string containing all tool enum values from latest version of each toolkit
469
+ */
470
+ export type ToolRetrieveEnumResponse = Array<string>;
471
+
472
+ export interface ToolRetrieveParams {
473
+ /**
474
+ * Toolkit version specification. Use "latest" for latest versions or bracket
475
+ * notation for specific versions per toolkit.
476
+ */
477
+ toolkit_versions?: string | { [key: string]: string };
478
+
479
+ /**
480
+ * Optional version of the tool to retrieve
481
+ */
482
+ version?: string;
483
+ }
166
484
 
167
485
  export interface ToolListParams {
168
486
  /**
169
- * The cursor to paginate through the results
487
+ * Comma-separated list of auth config IDs to filter tools by
488
+ */
489
+ auth_config_ids?: string | Array<string>;
490
+
491
+ /**
492
+ * Cursor for pagination. The cursor is a base64 encoded string of the page and
493
+ * limit. The page is the page number and the limit is the number of items per
494
+ * page. The cursor is used to paginate through the items. The cursor is not
495
+ * required for the first page.
170
496
  */
171
497
  cursor?: string;
172
498
 
173
499
  /**
174
- * Whether to filter by important tools
500
+ * Filter to only show important/featured tools (set to "true" to enable)
501
+ */
502
+ important?: 'true' | 'false';
503
+
504
+ /**
505
+ * Include deprecated tools in the response
506
+ */
507
+ include_deprecated?: boolean;
508
+
509
+ /**
510
+ * Number of items per page, max allowed is 1000
175
511
  */
176
- important?: string;
512
+ limit?: number | null;
177
513
 
178
514
  /**
179
- * The number of results to return
515
+ * Full-text search query to filter tools by name, slug, or description. Applied as
516
+ * a soft filter on top of other filters.
180
517
  */
181
- limit?: string;
518
+ query?: string;
182
519
 
183
520
  /**
184
- * The search query to filter by
521
+ * Array of scopes to filter tools by)
522
+ */
523
+ scopes?: Array<string> | null;
524
+
525
+ /**
526
+ * Deprecated: use "query" instead. Free-text search query to find tools by name,
527
+ * description, or functionality.
185
528
  */
186
529
  search?: string;
187
530
 
531
+ /**
532
+ * Filter tools by one or more tags (can be specified multiple times)
533
+ */
534
+ tags?: Array<string>;
535
+
536
+ /**
537
+ * Comma-separated list of specific tool slugs to retrieve (overrides other
538
+ * filters)
539
+ */
540
+ tool_slugs?: string;
541
+
188
542
  /**
189
543
  * The slug of the toolkit to filter by
190
544
  */
191
545
  toolkit_slug?: string;
546
+
547
+ /**
548
+ * Toolkit version specification. Use "latest" for latest versions or bracket
549
+ * notation for specific versions per toolkit.
550
+ */
551
+ toolkit_versions?: string | { [key: string]: string };
192
552
  }
193
553
 
194
554
  export interface ToolExecuteParams {
195
- allow_tracing?: boolean;
555
+ /**
556
+ * @deprecated Body param: Deprecated. Enable debug tracing for tool execution
557
+ * (useful for debugging)
558
+ */
559
+ allow_tracing?: boolean | null;
196
560
 
197
- arguments?: Record<string, unknown>;
561
+ /**
562
+ * Body param: Key-value pairs of arguments required by the tool (mutually
563
+ * exclusive with text)
564
+ */
565
+ arguments?: { [key: string]: unknown };
198
566
 
567
+ /**
568
+ * Body param: Unique identifier for the connected account to use for
569
+ * authentication
570
+ */
199
571
  connected_account_id?: string;
200
572
 
573
+ /**
574
+ * Body param: Custom authentication parameters for tools that support
575
+ * parameterized authentication
576
+ */
577
+ custom_auth_params?: ToolExecuteParams.CustomAuthParams;
578
+
579
+ /**
580
+ * Body param: Custom connection data for tools that support custom connection data
581
+ */
582
+ custom_connection_data?:
583
+ | ToolExecuteParams.UnionMember0
584
+ | ToolExecuteParams.UnionMember1
585
+ | ToolExecuteParams.UnionMember2
586
+ | ToolExecuteParams.UnionMember3
587
+ | ToolExecuteParams.UnionMember4
588
+ | ToolExecuteParams.UnionMember5
589
+ | ToolExecuteParams.UnionMember6
590
+ | ToolExecuteParams.UnionMember7
591
+ | ToolExecuteParams.UnionMember8
592
+ | ToolExecuteParams.UnionMember9;
593
+
594
+ /**
595
+ * @deprecated Body param: Deprecated: please use user_id instead. Entity
596
+ * identifier for multi-entity connected accounts (e.g. multiple repositories,
597
+ * organizations)
598
+ */
201
599
  entity_id?: string;
202
600
 
601
+ /**
602
+ * Body param: Natural language description of the task to perform (mutually
603
+ * exclusive with arguments)
604
+ */
203
605
  text?: string;
204
606
 
205
- version?: string;
206
- }
607
+ /**
608
+ * Body param: User id for multi-user connected accounts (e.g. multiple users,
609
+ * organizations)
610
+ */
611
+ user_id?: string;
207
612
 
208
- export interface ToolGetInputParams {
209
613
  /**
210
- * The use-case description for the action, this will give context to LLM to
211
- * generate the correct inputs for the action.
614
+ * Body param: Tool version to execute (defaults to "00000000_00" if not specified)
212
615
  */
213
- text: string;
616
+ version?: string;
214
617
 
215
618
  /**
216
- * The custom description for the action, use this to provide customised context
217
- * about the action to the LLM to suit your use-case.
619
+ * Header param: JSON object containing custom headers to pass to LLM providers
620
+ * (OpenAI, Bedrock, etc.)
218
621
  */
219
- customDescription?: string;
622
+ 'x-llm-gateway-headers'?: string;
623
+ }
220
624
 
625
+ export namespace ToolExecuteParams {
221
626
  /**
222
- * The system prompt to be used by LLM, use this to control and guide the behaviour
223
- * of the LLM.
627
+ * Custom authentication parameters for tools that support parameterized
628
+ * authentication
224
629
  */
225
- systemPrompt?: string;
630
+ export interface CustomAuthParams {
631
+ /**
632
+ * The base URL (root address) what you should use while making http requests to
633
+ * the connected account. For example, for gmail, it would be
634
+ * 'https://gmail.googleapis.com'
635
+ */
636
+ base_url?: string;
226
637
 
227
- version?: string;
228
- }
638
+ /**
639
+ * The body to be sent to the endpoint for authentication. This is a JSON object.
640
+ * Note: This is very rarely needed and is only required by very few apps.
641
+ */
642
+ body?: { [key: string]: unknown };
229
643
 
230
- export interface ToolProxyParams {
231
- endpoint: string;
644
+ parameters?: Array<CustomAuthParams.Parameter>;
645
+ }
232
646
 
233
- method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
647
+ export namespace CustomAuthParams {
648
+ export interface Parameter {
649
+ /**
650
+ * The location of the parameter. Can be 'query' or 'header'.
651
+ */
652
+ in: 'query' | 'header';
234
653
 
235
- body?: unknown;
654
+ /**
655
+ * The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.
656
+ */
657
+ name: string;
236
658
 
237
- connected_account_id?: string;
659
+ /**
660
+ * The value of the parameter. For example, '1234567890', 'application/json', etc.
661
+ */
662
+ value: string | number;
663
+ }
664
+ }
238
665
 
239
- parameters?: Array<ToolProxyParams.Parameter>;
240
- }
666
+ export interface UnionMember0 {
667
+ authScheme: 'OAUTH2';
241
668
 
242
- export namespace ToolProxyParams {
243
- export interface Parameter {
244
- name: string;
669
+ toolkitSlug: string;
245
670
 
246
- type: 'header' | 'query';
671
+ val: UnionMember0.Val;
672
+ }
673
+
674
+ export namespace UnionMember0 {
675
+ export interface Val {
676
+ access_token: string;
677
+
678
+ account_id?: string;
679
+
680
+ account_url?: string;
681
+
682
+ api_url?: string;
683
+
684
+ /**
685
+ * for slack user scopes
686
+ */
687
+ authed_user?: Val.AuthedUser;
688
+
689
+ base_url?: string;
690
+
691
+ borneo_dashboard_url?: string;
692
+
693
+ COMPANYDOMAIN?: string;
694
+
695
+ dc?: string;
696
+
697
+ domain?: string;
698
+
699
+ expires_in?: number | string | null;
700
+
701
+ extension?: string;
702
+
703
+ form_api_base_url?: string;
704
+
705
+ id_token?: string;
706
+
707
+ instanceEndpoint?: string;
708
+
709
+ instanceName?: string;
710
+
711
+ /**
712
+ * Whether to return the redirect url without shortening
713
+ */
714
+ long_redirect_url?: boolean;
715
+
716
+ proxy_password?: string;
717
+
718
+ proxy_username?: string;
719
+
720
+ refresh_token?: string | null;
721
+
722
+ region?: string;
723
+
724
+ scope?: string | Array<string> | null;
725
+
726
+ server_location?: string;
727
+
728
+ shop?: string;
729
+
730
+ site_name?: string;
731
+
732
+ /**
733
+ * The oauth2 state prefix for the connection
734
+ */
735
+ state_prefix?: string;
736
+
737
+ subdomain?: string;
247
738
 
739
+ token_type?: string;
740
+
741
+ version?: string;
742
+
743
+ webhook_signature?: string;
744
+
745
+ your_server?: string;
746
+
747
+ 'your-domain'?: string;
748
+
749
+ [k: string]: unknown;
750
+ }
751
+
752
+ export namespace Val {
753
+ /**
754
+ * for slack user scopes
755
+ */
756
+ export interface AuthedUser {
757
+ access_token?: string;
758
+
759
+ scope?: string;
760
+ }
761
+ }
762
+ }
763
+
764
+ export interface UnionMember1 {
765
+ authScheme: 'DCR_OAUTH';
766
+
767
+ toolkitSlug: string;
768
+
769
+ val: UnionMember1.Val;
770
+ }
771
+
772
+ export namespace UnionMember1 {
773
+ export interface Val {
774
+ access_token: string;
775
+
776
+ /**
777
+ * Dynamically registered client ID
778
+ */
779
+ client_id: string;
780
+
781
+ account_id?: string;
782
+
783
+ account_url?: string;
784
+
785
+ api_url?: string;
786
+
787
+ base_url?: string;
788
+
789
+ borneo_dashboard_url?: string;
790
+
791
+ client_id_issued_at?: number;
792
+
793
+ /**
794
+ * Dynamically registered client secret
795
+ */
796
+ client_secret?: string;
797
+
798
+ client_secret_expires_at?: number;
799
+
800
+ COMPANYDOMAIN?: string;
801
+
802
+ dc?: string;
803
+
804
+ domain?: string;
805
+
806
+ expires_in?: number | string | null;
807
+
808
+ extension?: string;
809
+
810
+ form_api_base_url?: string;
811
+
812
+ id_token?: string;
813
+
814
+ instanceEndpoint?: string;
815
+
816
+ instanceName?: string;
817
+
818
+ /**
819
+ * Whether to return the redirect url without shortening
820
+ */
821
+ long_redirect_url?: boolean;
822
+
823
+ proxy_password?: string;
824
+
825
+ proxy_username?: string;
826
+
827
+ refresh_token?: string | null;
828
+
829
+ region?: string;
830
+
831
+ scope?: string | Array<string> | null;
832
+
833
+ server_location?: string;
834
+
835
+ shop?: string;
836
+
837
+ site_name?: string;
838
+
839
+ /**
840
+ * The oauth2 state prefix for the connection
841
+ */
842
+ state_prefix?: string;
843
+
844
+ subdomain?: string;
845
+
846
+ token_type?: string;
847
+
848
+ version?: string;
849
+
850
+ your_server?: string;
851
+
852
+ 'your-domain'?: string;
853
+
854
+ [k: string]: unknown;
855
+ }
856
+ }
857
+
858
+ export interface UnionMember2 {
859
+ authScheme: 'API_KEY';
860
+
861
+ toolkitSlug: string;
862
+
863
+ val: UnionMember2.Val;
864
+ }
865
+
866
+ export namespace UnionMember2 {
867
+ export interface Val {
868
+ account_id?: string;
869
+
870
+ account_url?: string;
871
+
872
+ api_key?: string;
873
+
874
+ api_url?: string;
875
+
876
+ base_url?: string;
877
+
878
+ basic_encoded?: string;
879
+
880
+ bearer_token?: string;
881
+
882
+ borneo_dashboard_url?: string;
883
+
884
+ COMPANYDOMAIN?: string;
885
+
886
+ dc?: string;
887
+
888
+ domain?: string;
889
+
890
+ extension?: string;
891
+
892
+ form_api_base_url?: string;
893
+
894
+ generic_api_key?: string;
895
+
896
+ instanceEndpoint?: string;
897
+
898
+ instanceName?: string;
899
+
900
+ proxy_password?: string;
901
+
902
+ proxy_username?: string;
903
+
904
+ region?: string;
905
+
906
+ server_location?: string;
907
+
908
+ shop?: string;
909
+
910
+ site_name?: string;
911
+
912
+ subdomain?: string;
913
+
914
+ version?: string;
915
+
916
+ your_server?: string;
917
+
918
+ 'your-domain'?: string;
919
+
920
+ [k: string]: unknown;
921
+ }
922
+ }
923
+
924
+ export interface UnionMember3 {
925
+ authScheme: 'BASIC_WITH_JWT';
926
+
927
+ toolkitSlug: string;
928
+
929
+ val: UnionMember3.Val;
930
+ }
931
+
932
+ export namespace UnionMember3 {
933
+ export interface Val {
934
+ password: string;
935
+
936
+ username: string;
937
+
938
+ account_id?: string;
939
+
940
+ account_url?: string;
941
+
942
+ api_url?: string;
943
+
944
+ base_url?: string;
945
+
946
+ borneo_dashboard_url?: string;
947
+
948
+ COMPANYDOMAIN?: string;
949
+
950
+ dc?: string;
951
+
952
+ domain?: string;
953
+
954
+ extension?: string;
955
+
956
+ form_api_base_url?: string;
957
+
958
+ instanceEndpoint?: string;
959
+
960
+ instanceName?: string;
961
+
962
+ proxy_password?: string;
963
+
964
+ proxy_username?: string;
965
+
966
+ region?: string;
967
+
968
+ server_location?: string;
969
+
970
+ shop?: string;
971
+
972
+ site_name?: string;
973
+
974
+ subdomain?: string;
975
+
976
+ version?: string;
977
+
978
+ your_server?: string;
979
+
980
+ 'your-domain'?: string;
981
+
982
+ [k: string]: unknown;
983
+ }
984
+ }
985
+
986
+ export interface UnionMember4 {
987
+ authScheme: 'BASIC';
988
+
989
+ toolkitSlug: string;
990
+
991
+ val: UnionMember4.Val;
992
+ }
993
+
994
+ export namespace UnionMember4 {
995
+ export interface Val {
996
+ username: string;
997
+
998
+ account_id?: string;
999
+
1000
+ account_url?: string;
1001
+
1002
+ api_url?: string;
1003
+
1004
+ base_url?: string;
1005
+
1006
+ borneo_dashboard_url?: string;
1007
+
1008
+ COMPANYDOMAIN?: string;
1009
+
1010
+ dc?: string;
1011
+
1012
+ domain?: string;
1013
+
1014
+ extension?: string;
1015
+
1016
+ form_api_base_url?: string;
1017
+
1018
+ instanceEndpoint?: string;
1019
+
1020
+ instanceName?: string;
1021
+
1022
+ password?: string;
1023
+
1024
+ proxy_password?: string;
1025
+
1026
+ proxy_username?: string;
1027
+
1028
+ region?: string;
1029
+
1030
+ server_location?: string;
1031
+
1032
+ shop?: string;
1033
+
1034
+ site_name?: string;
1035
+
1036
+ subdomain?: string;
1037
+
1038
+ version?: string;
1039
+
1040
+ your_server?: string;
1041
+
1042
+ 'your-domain'?: string;
1043
+
1044
+ [k: string]: unknown;
1045
+ }
1046
+ }
1047
+
1048
+ export interface UnionMember5 {
1049
+ authScheme: 'BEARER_TOKEN';
1050
+
1051
+ toolkitSlug: string;
1052
+
1053
+ val: UnionMember5.Val;
1054
+ }
1055
+
1056
+ export namespace UnionMember5 {
1057
+ export interface Val {
1058
+ token: string;
1059
+
1060
+ account_id?: string;
1061
+
1062
+ account_url?: string;
1063
+
1064
+ api_url?: string;
1065
+
1066
+ base_url?: string;
1067
+
1068
+ borneo_dashboard_url?: string;
1069
+
1070
+ COMPANYDOMAIN?: string;
1071
+
1072
+ dc?: string;
1073
+
1074
+ domain?: string;
1075
+
1076
+ extension?: string;
1077
+
1078
+ form_api_base_url?: string;
1079
+
1080
+ instanceEndpoint?: string;
1081
+
1082
+ instanceName?: string;
1083
+
1084
+ proxy_password?: string;
1085
+
1086
+ proxy_username?: string;
1087
+
1088
+ region?: string;
1089
+
1090
+ server_location?: string;
1091
+
1092
+ shop?: string;
1093
+
1094
+ site_name?: string;
1095
+
1096
+ subdomain?: string;
1097
+
1098
+ version?: string;
1099
+
1100
+ your_server?: string;
1101
+
1102
+ 'your-domain'?: string;
1103
+
1104
+ [k: string]: unknown;
1105
+ }
1106
+ }
1107
+
1108
+ export interface UnionMember6 {
1109
+ authScheme: 'OAUTH1';
1110
+
1111
+ toolkitSlug: string;
1112
+
1113
+ val: UnionMember6.Val;
1114
+ }
1115
+
1116
+ export namespace UnionMember6 {
1117
+ export interface Val {
1118
+ oauth_token: string;
1119
+
1120
+ oauth_token_secret: string;
1121
+
1122
+ account_id?: string;
1123
+
1124
+ account_url?: string;
1125
+
1126
+ api_url?: string;
1127
+
1128
+ base_url?: string;
1129
+
1130
+ borneo_dashboard_url?: string;
1131
+
1132
+ callback_url?: string;
1133
+
1134
+ COMPANYDOMAIN?: string;
1135
+
1136
+ consumer_key?: string;
1137
+
1138
+ dc?: string;
1139
+
1140
+ domain?: string;
1141
+
1142
+ extension?: string;
1143
+
1144
+ form_api_base_url?: string;
1145
+
1146
+ instanceEndpoint?: string;
1147
+
1148
+ instanceName?: string;
1149
+
1150
+ oauth_verifier?: string;
1151
+
1152
+ proxy_password?: string;
1153
+
1154
+ proxy_username?: string;
1155
+
1156
+ redirectUrl?: string;
1157
+
1158
+ region?: string;
1159
+
1160
+ server_location?: string;
1161
+
1162
+ shop?: string;
1163
+
1164
+ site_name?: string;
1165
+
1166
+ subdomain?: string;
1167
+
1168
+ version?: string;
1169
+
1170
+ your_server?: string;
1171
+
1172
+ 'your-domain'?: string;
1173
+
1174
+ [k: string]: unknown;
1175
+ }
1176
+ }
1177
+
1178
+ export interface UnionMember7 {
1179
+ authScheme: 'NO_AUTH';
1180
+
1181
+ toolkitSlug: string;
1182
+
1183
+ val: UnionMember7.Val;
1184
+ }
1185
+
1186
+ export namespace UnionMember7 {
1187
+ export interface Val {
1188
+ account_id?: string;
1189
+
1190
+ account_url?: string;
1191
+
1192
+ api_url?: string;
1193
+
1194
+ base_url?: string;
1195
+
1196
+ borneo_dashboard_url?: string;
1197
+
1198
+ COMPANYDOMAIN?: string;
1199
+
1200
+ dc?: string;
1201
+
1202
+ domain?: string;
1203
+
1204
+ extension?: string;
1205
+
1206
+ form_api_base_url?: string;
1207
+
1208
+ instanceEndpoint?: string;
1209
+
1210
+ instanceName?: string;
1211
+
1212
+ proxy_password?: string;
1213
+
1214
+ proxy_username?: string;
1215
+
1216
+ region?: string;
1217
+
1218
+ server_location?: string;
1219
+
1220
+ shop?: string;
1221
+
1222
+ site_name?: string;
1223
+
1224
+ subdomain?: string;
1225
+
1226
+ version?: string;
1227
+
1228
+ your_server?: string;
1229
+
1230
+ 'your-domain'?: string;
1231
+
1232
+ [k: string]: unknown;
1233
+ }
1234
+ }
1235
+
1236
+ export interface UnionMember8 {
1237
+ authScheme: 'SERVICE_ACCOUNT';
1238
+
1239
+ toolkitSlug: string;
1240
+
1241
+ val: UnionMember8.Val;
1242
+ }
1243
+
1244
+ export namespace UnionMember8 {
1245
+ export interface Val {
1246
+ application_id: string;
1247
+
1248
+ installation_id: string;
1249
+
1250
+ private_key: string;
1251
+
1252
+ account_id?: string;
1253
+
1254
+ account_url?: string;
1255
+
1256
+ api_url?: string;
1257
+
1258
+ base_url?: string;
1259
+
1260
+ borneo_dashboard_url?: string;
1261
+
1262
+ COMPANYDOMAIN?: string;
1263
+
1264
+ dc?: string;
1265
+
1266
+ domain?: string;
1267
+
1268
+ extension?: string;
1269
+
1270
+ form_api_base_url?: string;
1271
+
1272
+ instanceEndpoint?: string;
1273
+
1274
+ instanceName?: string;
1275
+
1276
+ proxy_password?: string;
1277
+
1278
+ proxy_username?: string;
1279
+
1280
+ region?: string;
1281
+
1282
+ server_location?: string;
1283
+
1284
+ shop?: string;
1285
+
1286
+ site_name?: string;
1287
+
1288
+ subdomain?: string;
1289
+
1290
+ version?: string;
1291
+
1292
+ your_server?: string;
1293
+
1294
+ 'your-domain'?: string;
1295
+
1296
+ [k: string]: unknown;
1297
+ }
1298
+ }
1299
+
1300
+ export interface UnionMember9 {
1301
+ authScheme: 'GOOGLE_SERVICE_ACCOUNT';
1302
+
1303
+ toolkitSlug: string;
1304
+
1305
+ val: UnionMember9.Val;
1306
+ }
1307
+
1308
+ export namespace UnionMember9 {
1309
+ export interface Val {
1310
+ credentials_json: string;
1311
+
1312
+ account_id?: string;
1313
+
1314
+ account_url?: string;
1315
+
1316
+ api_url?: string;
1317
+
1318
+ base_url?: string;
1319
+
1320
+ borneo_dashboard_url?: string;
1321
+
1322
+ COMPANYDOMAIN?: string;
1323
+
1324
+ dc?: string;
1325
+
1326
+ domain?: string;
1327
+
1328
+ extension?: string;
1329
+
1330
+ form_api_base_url?: string;
1331
+
1332
+ instanceEndpoint?: string;
1333
+
1334
+ instanceName?: string;
1335
+
1336
+ proxy_password?: string;
1337
+
1338
+ proxy_username?: string;
1339
+
1340
+ region?: string;
1341
+
1342
+ server_location?: string;
1343
+
1344
+ shop?: string;
1345
+
1346
+ site_name?: string;
1347
+
1348
+ subdomain?: string;
1349
+
1350
+ version?: string;
1351
+
1352
+ your_server?: string;
1353
+
1354
+ 'your-domain'?: string;
1355
+
1356
+ [k: string]: unknown;
1357
+ }
1358
+ }
1359
+ }
1360
+
1361
+ export interface ToolGetInputParams {
1362
+ /**
1363
+ * Natural language description of what you want to accomplish with this tool
1364
+ */
1365
+ text: string;
1366
+
1367
+ /**
1368
+ * Custom description of the tool to help guide the LLM in generating more accurate
1369
+ * inputs
1370
+ */
1371
+ custom_description?: string;
1372
+
1373
+ /**
1374
+ * System prompt to control and guide the behavior of the LLM when generating
1375
+ * inputs
1376
+ */
1377
+ system_prompt?: string;
1378
+
1379
+ /**
1380
+ * Tool version to use when generating inputs (defaults to "latest" if not
1381
+ * specified)
1382
+ */
1383
+ version?: string;
1384
+ }
1385
+
1386
+ export interface ToolProxyParams {
1387
+ /**
1388
+ * The API endpoint to call (absolute URL or path relative to base URL of the
1389
+ * connected account)
1390
+ */
1391
+ endpoint: string;
1392
+
1393
+ /**
1394
+ * The HTTP method to use for the request
1395
+ */
1396
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
1397
+
1398
+ /**
1399
+ * Binary body to send. For binary upload via URL: use {url: "https://...",
1400
+ * content_type?: "..."}. For binary upload via base64: use {base64: "...",
1401
+ * content_type?: "..."}.
1402
+ */
1403
+ binary_body?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1;
1404
+
1405
+ /**
1406
+ * The request body (for POST, PUT, and PATCH requests)
1407
+ */
1408
+ body?: unknown;
1409
+
1410
+ /**
1411
+ * The ID of the connected account to use for authentication (if not provided, will
1412
+ * use the default account for the project)
1413
+ */
1414
+ connected_account_id?: string;
1415
+
1416
+ /**
1417
+ * @deprecated
1418
+ */
1419
+ custom_connection_data?:
1420
+ | ToolProxyParams.UnionMember0
1421
+ | ToolProxyParams.UnionMember1
1422
+ | ToolProxyParams.UnionMember2
1423
+ | ToolProxyParams.UnionMember3
1424
+ | ToolProxyParams.UnionMember4
1425
+ | ToolProxyParams.UnionMember5
1426
+ | ToolProxyParams.UnionMember6
1427
+ | ToolProxyParams.UnionMember7
1428
+ | ToolProxyParams.UnionMember8
1429
+ | ToolProxyParams.UnionMember9;
1430
+
1431
+ /**
1432
+ * Additional HTTP headers or query parameters to include in the request
1433
+ */
1434
+ parameters?: Array<ToolProxyParams.Parameter>;
1435
+ }
1436
+
1437
+ export namespace ToolProxyParams {
1438
+ export interface UnionMember0 {
1439
+ /**
1440
+ * URL to fetch binary content from
1441
+ */
1442
+ url: string;
1443
+
1444
+ /**
1445
+ * Content-Type header to use for the request
1446
+ */
1447
+ content_type?: string;
1448
+ }
1449
+
1450
+ export interface UnionMember1 {
1451
+ /**
1452
+ * Base64-encoded binary data
1453
+ */
1454
+ base64: string;
1455
+
1456
+ /**
1457
+ * Content-Type header to use for the request
1458
+ */
1459
+ content_type?: string;
1460
+ }
1461
+
1462
+ export interface UnionMember0 {
1463
+ authScheme: 'OAUTH2';
1464
+
1465
+ toolkitSlug: string;
1466
+
1467
+ val: UnionMember0.Val;
1468
+ }
1469
+
1470
+ export namespace UnionMember0 {
1471
+ export interface Val {
1472
+ access_token: string;
1473
+
1474
+ account_id?: string;
1475
+
1476
+ account_url?: string;
1477
+
1478
+ api_url?: string;
1479
+
1480
+ /**
1481
+ * for slack user scopes
1482
+ */
1483
+ authed_user?: Val.AuthedUser;
1484
+
1485
+ base_url?: string;
1486
+
1487
+ borneo_dashboard_url?: string;
1488
+
1489
+ COMPANYDOMAIN?: string;
1490
+
1491
+ dc?: string;
1492
+
1493
+ domain?: string;
1494
+
1495
+ expires_in?: number | string | null;
1496
+
1497
+ extension?: string;
1498
+
1499
+ form_api_base_url?: string;
1500
+
1501
+ id_token?: string;
1502
+
1503
+ instanceEndpoint?: string;
1504
+
1505
+ instanceName?: string;
1506
+
1507
+ /**
1508
+ * Whether to return the redirect url without shortening
1509
+ */
1510
+ long_redirect_url?: boolean;
1511
+
1512
+ proxy_password?: string;
1513
+
1514
+ proxy_username?: string;
1515
+
1516
+ refresh_token?: string | null;
1517
+
1518
+ region?: string;
1519
+
1520
+ scope?: string | Array<string> | null;
1521
+
1522
+ server_location?: string;
1523
+
1524
+ shop?: string;
1525
+
1526
+ site_name?: string;
1527
+
1528
+ /**
1529
+ * The oauth2 state prefix for the connection
1530
+ */
1531
+ state_prefix?: string;
1532
+
1533
+ subdomain?: string;
1534
+
1535
+ token_type?: string;
1536
+
1537
+ version?: string;
1538
+
1539
+ webhook_signature?: string;
1540
+
1541
+ your_server?: string;
1542
+
1543
+ 'your-domain'?: string;
1544
+
1545
+ [k: string]: unknown;
1546
+ }
1547
+
1548
+ export namespace Val {
1549
+ /**
1550
+ * for slack user scopes
1551
+ */
1552
+ export interface AuthedUser {
1553
+ access_token?: string;
1554
+
1555
+ scope?: string;
1556
+ }
1557
+ }
1558
+ }
1559
+
1560
+ export interface UnionMember1 {
1561
+ authScheme: 'DCR_OAUTH';
1562
+
1563
+ toolkitSlug: string;
1564
+
1565
+ val: UnionMember1.Val;
1566
+ }
1567
+
1568
+ export namespace UnionMember1 {
1569
+ export interface Val {
1570
+ access_token: string;
1571
+
1572
+ /**
1573
+ * Dynamically registered client ID
1574
+ */
1575
+ client_id: string;
1576
+
1577
+ account_id?: string;
1578
+
1579
+ account_url?: string;
1580
+
1581
+ api_url?: string;
1582
+
1583
+ base_url?: string;
1584
+
1585
+ borneo_dashboard_url?: string;
1586
+
1587
+ client_id_issued_at?: number;
1588
+
1589
+ /**
1590
+ * Dynamically registered client secret
1591
+ */
1592
+ client_secret?: string;
1593
+
1594
+ client_secret_expires_at?: number;
1595
+
1596
+ COMPANYDOMAIN?: string;
1597
+
1598
+ dc?: string;
1599
+
1600
+ domain?: string;
1601
+
1602
+ expires_in?: number | string | null;
1603
+
1604
+ extension?: string;
1605
+
1606
+ form_api_base_url?: string;
1607
+
1608
+ id_token?: string;
1609
+
1610
+ instanceEndpoint?: string;
1611
+
1612
+ instanceName?: string;
1613
+
1614
+ /**
1615
+ * Whether to return the redirect url without shortening
1616
+ */
1617
+ long_redirect_url?: boolean;
1618
+
1619
+ proxy_password?: string;
1620
+
1621
+ proxy_username?: string;
1622
+
1623
+ refresh_token?: string | null;
1624
+
1625
+ region?: string;
1626
+
1627
+ scope?: string | Array<string> | null;
1628
+
1629
+ server_location?: string;
1630
+
1631
+ shop?: string;
1632
+
1633
+ site_name?: string;
1634
+
1635
+ /**
1636
+ * The oauth2 state prefix for the connection
1637
+ */
1638
+ state_prefix?: string;
1639
+
1640
+ subdomain?: string;
1641
+
1642
+ token_type?: string;
1643
+
1644
+ version?: string;
1645
+
1646
+ your_server?: string;
1647
+
1648
+ 'your-domain'?: string;
1649
+
1650
+ [k: string]: unknown;
1651
+ }
1652
+ }
1653
+
1654
+ export interface UnionMember2 {
1655
+ authScheme: 'API_KEY';
1656
+
1657
+ toolkitSlug: string;
1658
+
1659
+ val: UnionMember2.Val;
1660
+ }
1661
+
1662
+ export namespace UnionMember2 {
1663
+ export interface Val {
1664
+ account_id?: string;
1665
+
1666
+ account_url?: string;
1667
+
1668
+ api_key?: string;
1669
+
1670
+ api_url?: string;
1671
+
1672
+ base_url?: string;
1673
+
1674
+ basic_encoded?: string;
1675
+
1676
+ bearer_token?: string;
1677
+
1678
+ borneo_dashboard_url?: string;
1679
+
1680
+ COMPANYDOMAIN?: string;
1681
+
1682
+ dc?: string;
1683
+
1684
+ domain?: string;
1685
+
1686
+ extension?: string;
1687
+
1688
+ form_api_base_url?: string;
1689
+
1690
+ generic_api_key?: string;
1691
+
1692
+ instanceEndpoint?: string;
1693
+
1694
+ instanceName?: string;
1695
+
1696
+ proxy_password?: string;
1697
+
1698
+ proxy_username?: string;
1699
+
1700
+ region?: string;
1701
+
1702
+ server_location?: string;
1703
+
1704
+ shop?: string;
1705
+
1706
+ site_name?: string;
1707
+
1708
+ subdomain?: string;
1709
+
1710
+ version?: string;
1711
+
1712
+ your_server?: string;
1713
+
1714
+ 'your-domain'?: string;
1715
+
1716
+ [k: string]: unknown;
1717
+ }
1718
+ }
1719
+
1720
+ export interface UnionMember3 {
1721
+ authScheme: 'BASIC_WITH_JWT';
1722
+
1723
+ toolkitSlug: string;
1724
+
1725
+ val: UnionMember3.Val;
1726
+ }
1727
+
1728
+ export namespace UnionMember3 {
1729
+ export interface Val {
1730
+ password: string;
1731
+
1732
+ username: string;
1733
+
1734
+ account_id?: string;
1735
+
1736
+ account_url?: string;
1737
+
1738
+ api_url?: string;
1739
+
1740
+ base_url?: string;
1741
+
1742
+ borneo_dashboard_url?: string;
1743
+
1744
+ COMPANYDOMAIN?: string;
1745
+
1746
+ dc?: string;
1747
+
1748
+ domain?: string;
1749
+
1750
+ extension?: string;
1751
+
1752
+ form_api_base_url?: string;
1753
+
1754
+ instanceEndpoint?: string;
1755
+
1756
+ instanceName?: string;
1757
+
1758
+ proxy_password?: string;
1759
+
1760
+ proxy_username?: string;
1761
+
1762
+ region?: string;
1763
+
1764
+ server_location?: string;
1765
+
1766
+ shop?: string;
1767
+
1768
+ site_name?: string;
1769
+
1770
+ subdomain?: string;
1771
+
1772
+ version?: string;
1773
+
1774
+ your_server?: string;
1775
+
1776
+ 'your-domain'?: string;
1777
+
1778
+ [k: string]: unknown;
1779
+ }
1780
+ }
1781
+
1782
+ export interface UnionMember4 {
1783
+ authScheme: 'BASIC';
1784
+
1785
+ toolkitSlug: string;
1786
+
1787
+ val: UnionMember4.Val;
1788
+ }
1789
+
1790
+ export namespace UnionMember4 {
1791
+ export interface Val {
1792
+ username: string;
1793
+
1794
+ account_id?: string;
1795
+
1796
+ account_url?: string;
1797
+
1798
+ api_url?: string;
1799
+
1800
+ base_url?: string;
1801
+
1802
+ borneo_dashboard_url?: string;
1803
+
1804
+ COMPANYDOMAIN?: string;
1805
+
1806
+ dc?: string;
1807
+
1808
+ domain?: string;
1809
+
1810
+ extension?: string;
1811
+
1812
+ form_api_base_url?: string;
1813
+
1814
+ instanceEndpoint?: string;
1815
+
1816
+ instanceName?: string;
1817
+
1818
+ password?: string;
1819
+
1820
+ proxy_password?: string;
1821
+
1822
+ proxy_username?: string;
1823
+
1824
+ region?: string;
1825
+
1826
+ server_location?: string;
1827
+
1828
+ shop?: string;
1829
+
1830
+ site_name?: string;
1831
+
1832
+ subdomain?: string;
1833
+
1834
+ version?: string;
1835
+
1836
+ your_server?: string;
1837
+
1838
+ 'your-domain'?: string;
1839
+
1840
+ [k: string]: unknown;
1841
+ }
1842
+ }
1843
+
1844
+ export interface UnionMember5 {
1845
+ authScheme: 'BEARER_TOKEN';
1846
+
1847
+ toolkitSlug: string;
1848
+
1849
+ val: UnionMember5.Val;
1850
+ }
1851
+
1852
+ export namespace UnionMember5 {
1853
+ export interface Val {
1854
+ token: string;
1855
+
1856
+ account_id?: string;
1857
+
1858
+ account_url?: string;
1859
+
1860
+ api_url?: string;
1861
+
1862
+ base_url?: string;
1863
+
1864
+ borneo_dashboard_url?: string;
1865
+
1866
+ COMPANYDOMAIN?: string;
1867
+
1868
+ dc?: string;
1869
+
1870
+ domain?: string;
1871
+
1872
+ extension?: string;
1873
+
1874
+ form_api_base_url?: string;
1875
+
1876
+ instanceEndpoint?: string;
1877
+
1878
+ instanceName?: string;
1879
+
1880
+ proxy_password?: string;
1881
+
1882
+ proxy_username?: string;
1883
+
1884
+ region?: string;
1885
+
1886
+ server_location?: string;
1887
+
1888
+ shop?: string;
1889
+
1890
+ site_name?: string;
1891
+
1892
+ subdomain?: string;
1893
+
1894
+ version?: string;
1895
+
1896
+ your_server?: string;
1897
+
1898
+ 'your-domain'?: string;
1899
+
1900
+ [k: string]: unknown;
1901
+ }
1902
+ }
1903
+
1904
+ export interface UnionMember6 {
1905
+ authScheme: 'OAUTH1';
1906
+
1907
+ toolkitSlug: string;
1908
+
1909
+ val: UnionMember6.Val;
1910
+ }
1911
+
1912
+ export namespace UnionMember6 {
1913
+ export interface Val {
1914
+ oauth_token: string;
1915
+
1916
+ oauth_token_secret: string;
1917
+
1918
+ account_id?: string;
1919
+
1920
+ account_url?: string;
1921
+
1922
+ api_url?: string;
1923
+
1924
+ base_url?: string;
1925
+
1926
+ borneo_dashboard_url?: string;
1927
+
1928
+ callback_url?: string;
1929
+
1930
+ COMPANYDOMAIN?: string;
1931
+
1932
+ consumer_key?: string;
1933
+
1934
+ dc?: string;
1935
+
1936
+ domain?: string;
1937
+
1938
+ extension?: string;
1939
+
1940
+ form_api_base_url?: string;
1941
+
1942
+ instanceEndpoint?: string;
1943
+
1944
+ instanceName?: string;
1945
+
1946
+ oauth_verifier?: string;
1947
+
1948
+ proxy_password?: string;
1949
+
1950
+ proxy_username?: string;
1951
+
1952
+ redirectUrl?: string;
1953
+
1954
+ region?: string;
1955
+
1956
+ server_location?: string;
1957
+
1958
+ shop?: string;
1959
+
1960
+ site_name?: string;
1961
+
1962
+ subdomain?: string;
1963
+
1964
+ version?: string;
1965
+
1966
+ your_server?: string;
1967
+
1968
+ 'your-domain'?: string;
1969
+
1970
+ [k: string]: unknown;
1971
+ }
1972
+ }
1973
+
1974
+ export interface UnionMember7 {
1975
+ authScheme: 'NO_AUTH';
1976
+
1977
+ toolkitSlug: string;
1978
+
1979
+ val: UnionMember7.Val;
1980
+ }
1981
+
1982
+ export namespace UnionMember7 {
1983
+ export interface Val {
1984
+ account_id?: string;
1985
+
1986
+ account_url?: string;
1987
+
1988
+ api_url?: string;
1989
+
1990
+ base_url?: string;
1991
+
1992
+ borneo_dashboard_url?: string;
1993
+
1994
+ COMPANYDOMAIN?: string;
1995
+
1996
+ dc?: string;
1997
+
1998
+ domain?: string;
1999
+
2000
+ extension?: string;
2001
+
2002
+ form_api_base_url?: string;
2003
+
2004
+ instanceEndpoint?: string;
2005
+
2006
+ instanceName?: string;
2007
+
2008
+ proxy_password?: string;
2009
+
2010
+ proxy_username?: string;
2011
+
2012
+ region?: string;
2013
+
2014
+ server_location?: string;
2015
+
2016
+ shop?: string;
2017
+
2018
+ site_name?: string;
2019
+
2020
+ subdomain?: string;
2021
+
2022
+ version?: string;
2023
+
2024
+ your_server?: string;
2025
+
2026
+ 'your-domain'?: string;
2027
+
2028
+ [k: string]: unknown;
2029
+ }
2030
+ }
2031
+
2032
+ export interface UnionMember8 {
2033
+ authScheme: 'SERVICE_ACCOUNT';
2034
+
2035
+ toolkitSlug: string;
2036
+
2037
+ val: UnionMember8.Val;
2038
+ }
2039
+
2040
+ export namespace UnionMember8 {
2041
+ export interface Val {
2042
+ application_id: string;
2043
+
2044
+ installation_id: string;
2045
+
2046
+ private_key: string;
2047
+
2048
+ account_id?: string;
2049
+
2050
+ account_url?: string;
2051
+
2052
+ api_url?: string;
2053
+
2054
+ base_url?: string;
2055
+
2056
+ borneo_dashboard_url?: string;
2057
+
2058
+ COMPANYDOMAIN?: string;
2059
+
2060
+ dc?: string;
2061
+
2062
+ domain?: string;
2063
+
2064
+ extension?: string;
2065
+
2066
+ form_api_base_url?: string;
2067
+
2068
+ instanceEndpoint?: string;
2069
+
2070
+ instanceName?: string;
2071
+
2072
+ proxy_password?: string;
2073
+
2074
+ proxy_username?: string;
2075
+
2076
+ region?: string;
2077
+
2078
+ server_location?: string;
2079
+
2080
+ shop?: string;
2081
+
2082
+ site_name?: string;
2083
+
2084
+ subdomain?: string;
2085
+
2086
+ version?: string;
2087
+
2088
+ your_server?: string;
2089
+
2090
+ 'your-domain'?: string;
2091
+
2092
+ [k: string]: unknown;
2093
+ }
2094
+ }
2095
+
2096
+ export interface UnionMember9 {
2097
+ authScheme: 'GOOGLE_SERVICE_ACCOUNT';
2098
+
2099
+ toolkitSlug: string;
2100
+
2101
+ val: UnionMember9.Val;
2102
+ }
2103
+
2104
+ export namespace UnionMember9 {
2105
+ export interface Val {
2106
+ credentials_json: string;
2107
+
2108
+ account_id?: string;
2109
+
2110
+ account_url?: string;
2111
+
2112
+ api_url?: string;
2113
+
2114
+ base_url?: string;
2115
+
2116
+ borneo_dashboard_url?: string;
2117
+
2118
+ COMPANYDOMAIN?: string;
2119
+
2120
+ dc?: string;
2121
+
2122
+ domain?: string;
2123
+
2124
+ extension?: string;
2125
+
2126
+ form_api_base_url?: string;
2127
+
2128
+ instanceEndpoint?: string;
2129
+
2130
+ instanceName?: string;
2131
+
2132
+ proxy_password?: string;
2133
+
2134
+ proxy_username?: string;
2135
+
2136
+ region?: string;
2137
+
2138
+ server_location?: string;
2139
+
2140
+ shop?: string;
2141
+
2142
+ site_name?: string;
2143
+
2144
+ subdomain?: string;
2145
+
2146
+ version?: string;
2147
+
2148
+ your_server?: string;
2149
+
2150
+ 'your-domain'?: string;
2151
+
2152
+ [k: string]: unknown;
2153
+ }
2154
+ }
2155
+
2156
+ export interface Parameter {
2157
+ /**
2158
+ * Parameter name
2159
+ */
2160
+ name: string;
2161
+
2162
+ /**
2163
+ * Parameter type (header or query)
2164
+ */
2165
+ type: 'header' | 'query';
2166
+
2167
+ /**
2168
+ * Parameter value
2169
+ */
248
2170
  value: string;
249
2171
  }
250
2172
  }
@@ -257,6 +2179,7 @@ export declare namespace Tools {
257
2179
  type ToolGetInputResponse as ToolGetInputResponse,
258
2180
  type ToolProxyResponse as ToolProxyResponse,
259
2181
  type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse,
2182
+ type ToolRetrieveParams as ToolRetrieveParams,
260
2183
  type ToolListParams as ToolListParams,
261
2184
  type ToolExecuteParams as ToolExecuteParams,
262
2185
  type ToolGetInputParams as ToolGetInputParams,