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

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