@composio/client 2.1.35 → 2.2.0

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 (459) hide show
  1. package/MIGRATION.md +19 -1
  2. package/README.md +3 -3
  3. package/dist/{_internal-CqWJMe2s.d.mts → _internal-C4ZzriQ6.d.mts} +228 -144
  4. package/dist/{_internal-DxedXBJJ.d.mts → _internal-ChynSuwG.d.mts} +2 -32
  5. package/dist/effect/internal.d.mts +9 -3
  6. package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +2 -5
  7. package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +1 -2
  8. package/dist/effect/schemas/_internal/cli/create-session.d.mts +3 -5
  9. package/dist/effect/schemas/_internal/cli/create-session.mjs +4 -4
  10. package/dist/effect/schemas/_internal/cli/get-session.d.mts +2 -5
  11. package/dist/effect/schemas/_internal/cli/get-session.mjs +4 -5
  12. package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +2 -5
  13. package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +1 -2
  14. package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +2 -5
  15. package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +1 -2
  16. package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +2 -5
  17. package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +1 -2
  18. package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +2 -5
  19. package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +1 -2
  20. package/dist/effect/schemas/_internal/logs/tools/list.d.mts +2 -5
  21. package/dist/effect/schemas/_internal/logs/tools/list.mjs +1 -2
  22. package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +2 -5
  23. package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +1 -2
  24. package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +2 -5
  25. package/dist/effect/schemas/_internal/logs/triggers/list.mjs +2 -3
  26. package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +2 -5
  27. package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +2 -3
  28. package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +2 -5
  29. package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +1 -2
  30. package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +2 -5
  31. package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +1 -2
  32. package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +2 -5
  33. package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +1 -2
  34. package/dist/effect/schemas/api-key-revocation/create.d.mts +2 -5
  35. package/dist/effect/schemas/api-key-revocation/create.mjs +1 -2
  36. package/dist/effect/schemas/auth/session/retrieve-info.d.mts +2 -5
  37. package/dist/effect/schemas/auth/session/retrieve-info.mjs +1 -2
  38. package/dist/effect/schemas/auth-configs/create.d.mts +2 -5
  39. package/dist/effect/schemas/auth-configs/create.mjs +1 -2
  40. package/dist/effect/schemas/auth-configs/delete.d.mts +2 -5
  41. package/dist/effect/schemas/auth-configs/delete.mjs +1 -2
  42. package/dist/effect/schemas/auth-configs/list.d.mts +2 -5
  43. package/dist/effect/schemas/auth-configs/list.mjs +2 -3
  44. package/dist/effect/schemas/auth-configs/retrieve.d.mts +2 -5
  45. package/dist/effect/schemas/auth-configs/retrieve.mjs +2 -3
  46. package/dist/effect/schemas/auth-configs/update-status.d.mts +2 -5
  47. package/dist/effect/schemas/auth-configs/update-status.mjs +1 -2
  48. package/dist/effect/schemas/auth-configs/update.d.mts +2 -5
  49. package/dist/effect/schemas/auth-configs/update.mjs +1 -2
  50. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +2 -5
  51. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +1 -2
  52. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +2 -5
  53. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +1 -2
  54. package/dist/effect/schemas/components/block-reason.d.mts +2 -5
  55. package/dist/effect/schemas/components/block-reason.mjs +1 -2
  56. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +2 -5
  57. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +1 -2
  58. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +2 -5
  59. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +1 -2
  60. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +2 -5
  61. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +1 -2
  62. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +2 -5
  63. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +2 -3
  64. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +2 -5
  65. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +2 -3
  66. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +2 -5
  67. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +2 -3
  68. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +2 -5
  69. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +2 -3
  70. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +2 -5
  71. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +2 -3
  72. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +2 -5
  73. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +1 -2
  74. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +2 -5
  75. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +2 -3
  76. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +2 -5
  77. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +1 -2
  78. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +2 -5
  79. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +1 -2
  80. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +2 -5
  81. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +1 -2
  82. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +2 -5
  83. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +2 -3
  84. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +2 -5
  85. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +1 -2
  86. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +2 -5
  87. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +1 -2
  88. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +2 -5
  89. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +2 -3
  90. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +2 -5
  91. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +2 -3
  92. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +2 -5
  93. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +2 -3
  94. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +2 -5
  95. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +2 -3
  96. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +2 -5
  97. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +2 -3
  98. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +2 -5
  99. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +2 -3
  100. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +2 -5
  101. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +2 -3
  102. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +2 -5
  103. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +2 -3
  104. package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2 -5
  105. package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +2 -3
  106. package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +2 -5
  107. package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +1 -2
  108. package/dist/effect/schemas/components/execute-blocked.d.mts +3 -5
  109. package/dist/effect/schemas/components/execute-blocked.mjs +3 -4
  110. package/dist/effect/schemas/components/execute-completed.d.mts +3 -5
  111. package/dist/effect/schemas/components/execute-completed.mjs +3 -4
  112. package/dist/effect/schemas/components/execute-failed.d.mts +3 -5
  113. package/dist/effect/schemas/components/execute-failed.mjs +3 -4
  114. package/dist/effect/schemas/components/execute-requires-user-input.d.mts +2 -5
  115. package/dist/effect/schemas/components/execute-requires-user-input.mjs +2 -3
  116. package/dist/effect/schemas/components/hook-result.d.mts +3 -5
  117. package/dist/effect/schemas/components/hook-result.mjs +3 -3
  118. package/dist/effect/schemas/components/instant-account.d.mts +2 -5
  119. package/dist/effect/schemas/components/instant-account.mjs +2 -3
  120. package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +2 -5
  121. package/dist/effect/schemas/components/mcp-create-response-commands.mjs +1 -2
  122. package/dist/effect/schemas/components/mcp-list-response-items.d.mts +2 -5
  123. package/dist/effect/schemas/components/mcp-list-response-items.mjs +2 -3
  124. package/dist/effect/schemas/components/project-list-response-data.d.mts +2 -5
  125. package/dist/effect/schemas/components/project-list-response-data.mjs +1 -2
  126. package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +3 -5
  127. package/dist/effect/schemas/components/proxy-execute-blocked.mjs +3 -4
  128. package/dist/effect/schemas/components/proxy-execute-completed.d.mts +3 -5
  129. package/dist/effect/schemas/components/proxy-execute-completed.mjs +3 -4
  130. package/dist/effect/schemas/components/session-create-response-config.d.mts +12 -7
  131. package/dist/effect/schemas/components/session-create-response-config.mjs +23 -12
  132. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +2 -5
  133. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +1 -2
  134. package/dist/effect/schemas/components/session-create-response-warnings.d.mts +2 -5
  135. package/dist/effect/schemas/components/session-create-response-warnings.mjs +1 -2
  136. package/dist/effect/schemas/components/session-link-response-experimental.d.mts +2 -5
  137. package/dist/effect/schemas/components/session-link-response-experimental.mjs +1 -2
  138. package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +2 -5
  139. package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +2 -3
  140. package/dist/effect/schemas/components/tool-details.d.mts +2 -5
  141. package/dist/effect/schemas/components/tool-details.mjs +3 -4
  142. package/dist/effect/schemas/components/tool-pricing.d.mts +2 -5
  143. package/dist/effect/schemas/components/tool-pricing.mjs +1 -2
  144. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +12 -7
  145. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +23 -12
  146. package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +2 -5
  147. package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +1 -2
  148. package/dist/effect/schemas/components/tool.d.mts +2 -5
  149. package/dist/effect/schemas/components/tool.mjs +3 -4
  150. package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +2 -5
  151. package/dist/effect/schemas/components/toolkit-list-response-items.mjs +2 -3
  152. package/dist/effect/schemas/components/tools-paginated.d.mts +2 -5
  153. package/dist/effect/schemas/components/tools-paginated.mjs +2 -3
  154. package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +2 -5
  155. package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +1 -2
  156. package/dist/effect/schemas/components/user-input-request.d.mts +2 -5
  157. package/dist/effect/schemas/components/user-input-request.mjs +1 -2
  158. package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +2 -5
  159. package/dist/effect/schemas/connected-accounts/complete-auth.mjs +1 -2
  160. package/dist/effect/schemas/connected-accounts/create.d.mts +2 -5
  161. package/dist/effect/schemas/connected-accounts/create.mjs +2 -3
  162. package/dist/effect/schemas/connected-accounts/delete.d.mts +2 -5
  163. package/dist/effect/schemas/connected-accounts/delete.mjs +1 -2
  164. package/dist/effect/schemas/connected-accounts/list.d.mts +2 -5
  165. package/dist/effect/schemas/connected-accounts/list.mjs +2 -3
  166. package/dist/effect/schemas/connected-accounts/patch.d.mts +2 -5
  167. package/dist/effect/schemas/connected-accounts/patch.mjs +1 -2
  168. package/dist/effect/schemas/connected-accounts/refresh.d.mts +2 -5
  169. package/dist/effect/schemas/connected-accounts/refresh.mjs +1 -2
  170. package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2 -5
  171. package/dist/effect/schemas/connected-accounts/retrieve.mjs +2 -3
  172. package/dist/effect/schemas/connected-accounts/revoke.d.mts +2 -5
  173. package/dist/effect/schemas/connected-accounts/revoke.mjs +1 -2
  174. package/dist/effect/schemas/connected-accounts/update-status.d.mts +2 -5
  175. package/dist/effect/schemas/connected-accounts/update-status.mjs +1 -2
  176. package/dist/effect/schemas/custom/create-toolkit.d.mts +2 -5
  177. package/dist/effect/schemas/custom/create-toolkit.mjs +1 -2
  178. package/dist/effect/schemas/custom/delete-toolkit.d.mts +2 -5
  179. package/dist/effect/schemas/custom/delete-toolkit.mjs +1 -2
  180. package/dist/effect/schemas/custom/sync.d.mts +2 -5
  181. package/dist/effect/schemas/custom/sync.mjs +1 -2
  182. package/dist/effect/schemas/custom/update-toolkits.d.mts +2 -5
  183. package/dist/effect/schemas/custom/update-toolkits.mjs +1 -2
  184. package/dist/effect/schemas/custom/upsert.d.mts +2 -5
  185. package/dist/effect/schemas/custom/upsert.mjs +1 -2
  186. package/dist/effect/schemas/files/create-presigned-url.d.mts +2 -5
  187. package/dist/effect/schemas/files/create-presigned-url.mjs +1 -2
  188. package/dist/effect/schemas/files/list.d.mts +2 -5
  189. package/dist/effect/schemas/files/list.mjs +1 -2
  190. package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +2 -5
  191. package/dist/effect/schemas/keyring/list-transfer-keys.mjs +1 -2
  192. package/dist/effect/schemas/link/create.d.mts +2 -5
  193. package/dist/effect/schemas/link/create.mjs +2 -3
  194. package/dist/effect/schemas/logs/create-tool-execution.d.mts +2 -5
  195. package/dist/effect/schemas/logs/create-tool-execution.mjs +1 -2
  196. package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +2 -5
  197. package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +1 -2
  198. package/dist/effect/schemas/mcp/create-instance.d.mts +2 -5
  199. package/dist/effect/schemas/mcp/create-instance.mjs +1 -2
  200. package/dist/effect/schemas/mcp/create.d.mts +2 -5
  201. package/dist/effect/schemas/mcp/create.mjs +2 -3
  202. package/dist/effect/schemas/mcp/custom/create.d.mts +2 -5
  203. package/dist/effect/schemas/mcp/custom/create.mjs +1 -2
  204. package/dist/effect/schemas/mcp/delete-instance.d.mts +2 -5
  205. package/dist/effect/schemas/mcp/delete-instance.mjs +1 -2
  206. package/dist/effect/schemas/mcp/delete.d.mts +2 -5
  207. package/dist/effect/schemas/mcp/delete.mjs +1 -2
  208. package/dist/effect/schemas/mcp/generate/url.d.mts +2 -5
  209. package/dist/effect/schemas/mcp/generate/url.mjs +1 -2
  210. package/dist/effect/schemas/mcp/list-instances.d.mts +2 -5
  211. package/dist/effect/schemas/mcp/list-instances.mjs +1 -2
  212. package/dist/effect/schemas/mcp/list.d.mts +2 -5
  213. package/dist/effect/schemas/mcp/list.mjs +2 -3
  214. package/dist/effect/schemas/mcp/retrieve-app.d.mts +2 -5
  215. package/dist/effect/schemas/mcp/retrieve-app.mjs +2 -3
  216. package/dist/effect/schemas/mcp/retrieve.d.mts +2 -5
  217. package/dist/effect/schemas/mcp/retrieve.mjs +2 -3
  218. package/dist/effect/schemas/mcp/update.d.mts +2 -5
  219. package/dist/effect/schemas/mcp/update.mjs +2 -3
  220. package/dist/effect/schemas/org/list.d.mts +2 -5
  221. package/dist/effect/schemas/org/list.mjs +1 -2
  222. package/dist/effect/schemas/org/owner/project/create.d.mts +2 -5
  223. package/dist/effect/schemas/org/owner/project/create.mjs +1 -2
  224. package/dist/effect/schemas/org/owner/project/delete.d.mts +2 -5
  225. package/dist/effect/schemas/org/owner/project/delete.mjs +1 -2
  226. package/dist/effect/schemas/org/owner/project/list.d.mts +2 -5
  227. package/dist/effect/schemas/org/owner/project/list.mjs +2 -3
  228. package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +2 -5
  229. package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +1 -2
  230. package/dist/effect/schemas/org/owner/project/retrieve.d.mts +2 -5
  231. package/dist/effect/schemas/org/owner/project/retrieve.mjs +1 -2
  232. package/dist/effect/schemas/org/project/list.d.mts +2 -5
  233. package/dist/effect/schemas/org/project/list.mjs +2 -3
  234. package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +2 -5
  235. package/dist/effect/schemas/org/usage/retrieve-summary.mjs +1 -2
  236. package/dist/effect/schemas/org/usage/retrieve.d.mts +2 -5
  237. package/dist/effect/schemas/org/usage/retrieve.mjs +1 -2
  238. package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +2 -5
  239. package/dist/effect/schemas/project/usage/retrieve-summary.mjs +1 -2
  240. package/dist/effect/schemas/project/usage/retrieve.d.mts +2 -5
  241. package/dist/effect/schemas/project/usage/retrieve.mjs +1 -2
  242. package/dist/effect/schemas/session-configs/list.d.mts +2 -5
  243. package/dist/effect/schemas/session-configs/list.mjs +1 -2
  244. package/dist/effect/schemas/session-configs/retrieve.d.mts +2 -5
  245. package/dist/effect/schemas/session-configs/retrieve.mjs +1 -2
  246. package/dist/effect/schemas/tool-router/session/attach.d.mts +12 -7
  247. package/dist/effect/schemas/tool-router/session/attach.mjs +2 -3
  248. package/dist/effect/schemas/tool-router/session/config-history.d.mts +12 -7
  249. package/dist/effect/schemas/tool-router/session/config-history.mjs +1 -2
  250. package/dist/effect/schemas/tool-router/session/create.d.mts +12 -7
  251. package/dist/effect/schemas/tool-router/session/create.mjs +2 -3
  252. package/dist/effect/schemas/tool-router/session/delete.d.mts +2 -5
  253. package/dist/effect/schemas/tool-router/session/delete.mjs +1 -2
  254. package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +5 -5
  255. package/dist/effect/schemas/tool-router/session/execute-meta.mjs +2 -3
  256. package/dist/effect/schemas/tool-router/session/execute.d.mts +5 -5
  257. package/dist/effect/schemas/tool-router/session/execute.mjs +2 -3
  258. package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +2 -5
  259. package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +1 -2
  260. package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +2 -5
  261. package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +1 -2
  262. package/dist/effect/schemas/tool-router/session/files/delete.d.mts +2 -5
  263. package/dist/effect/schemas/tool-router/session/files/delete.mjs +1 -2
  264. package/dist/effect/schemas/tool-router/session/files/list.d.mts +2 -5
  265. package/dist/effect/schemas/tool-router/session/files/list.mjs +1 -2
  266. package/dist/effect/schemas/tool-router/session/link.d.mts +2 -5
  267. package/dist/effect/schemas/tool-router/session/link.mjs +2 -3
  268. package/dist/effect/schemas/tool-router/session/patch.d.mts +12 -7
  269. package/dist/effect/schemas/tool-router/session/patch.mjs +2 -3
  270. package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +4 -5
  271. package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +2 -3
  272. package/dist/effect/schemas/tool-router/session/retrieve.d.mts +12 -7
  273. package/dist/effect/schemas/tool-router/session/retrieve.mjs +2 -3
  274. package/dist/effect/schemas/tool-router/session/search.d.mts +2 -5
  275. package/dist/effect/schemas/tool-router/session/search.mjs +2 -3
  276. package/dist/effect/schemas/tool-router/session/toolkits.d.mts +2 -5
  277. package/dist/effect/schemas/tool-router/session/toolkits.mjs +1 -2
  278. package/dist/effect/schemas/tool-router/session/tools.d.mts +2 -5
  279. package/dist/effect/schemas/tool-router/session/tools.mjs +1 -2
  280. package/dist/effect/schemas/toolkits/list.d.mts +2 -5
  281. package/dist/effect/schemas/toolkits/list.mjs +2 -3
  282. package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +2 -5
  283. package/dist/effect/schemas/toolkits/recommend-scopes.mjs +1 -2
  284. package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +2 -5
  285. package/dist/effect/schemas/toolkits/retrieve-categories.mjs +1 -2
  286. package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +2 -5
  287. package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +1 -2
  288. package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +2 -5
  289. package/dist/effect/schemas/toolkits/retrieve-multi.mjs +2 -3
  290. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +2 -5
  291. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +1 -2
  292. package/dist/effect/schemas/toolkits/retrieve.d.mts +8 -5
  293. package/dist/effect/schemas/toolkits/retrieve.mjs +8 -2
  294. package/dist/effect/schemas/tools/execute.d.mts +2 -5
  295. package/dist/effect/schemas/tools/execute.mjs +2 -3
  296. package/dist/effect/schemas/tools/get-input.d.mts +2 -5
  297. package/dist/effect/schemas/tools/get-input.mjs +1 -2
  298. package/dist/effect/schemas/tools/list.d.mts +2 -5
  299. package/dist/effect/schemas/tools/list.mjs +1 -2
  300. package/dist/effect/schemas/tools/proxy.d.mts +2 -5
  301. package/dist/effect/schemas/tools/proxy.mjs +1 -2
  302. package/dist/effect/schemas/tools/retrieve-enum.d.mts +1 -4
  303. package/dist/effect/schemas/tools/retrieve-enum.mjs +1 -2
  304. package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +2 -5
  305. package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +1 -2
  306. package/dist/effect/schemas/tools/retrieve.d.mts +2 -5
  307. package/dist/effect/schemas/tools/retrieve.mjs +1 -2
  308. package/dist/effect/schemas/trigger-instances/list-active.d.mts +2 -5
  309. package/dist/effect/schemas/trigger-instances/list-active.mjs +1 -2
  310. package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +2 -5
  311. package/dist/effect/schemas/trigger-instances/manage/delete.mjs +1 -2
  312. package/dist/effect/schemas/trigger-instances/manage/update.d.mts +2 -5
  313. package/dist/effect/schemas/trigger-instances/manage/update.mjs +1 -2
  314. package/dist/effect/schemas/trigger-instances/upsert.d.mts +2 -5
  315. package/dist/effect/schemas/trigger-instances/upsert.mjs +1 -2
  316. package/dist/effect/schemas/triggers-types/list.d.mts +2 -5
  317. package/dist/effect/schemas/triggers-types/list.mjs +1 -2
  318. package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +1 -4
  319. package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +1 -2
  320. package/dist/effect/schemas/triggers-types/retrieve.d.mts +2 -5
  321. package/dist/effect/schemas/triggers-types/retrieve.mjs +1 -2
  322. package/dist/effect/schemas/webhook-endpoints/create.d.mts +2 -5
  323. package/dist/effect/schemas/webhook-endpoints/create.mjs +1 -2
  324. package/dist/effect/schemas/webhook-endpoints/list.d.mts +2 -5
  325. package/dist/effect/schemas/webhook-endpoints/list.mjs +1 -2
  326. package/dist/effect/schemas/webhook-endpoints/replace.d.mts +2 -5
  327. package/dist/effect/schemas/webhook-endpoints/replace.mjs +1 -2
  328. package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +2 -5
  329. package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +1 -2
  330. package/dist/effect/schemas/webhook-endpoints/update.d.mts +2 -5
  331. package/dist/effect/schemas/webhook-endpoints/update.mjs +1 -2
  332. package/dist/effect/schemas/webhook-subscriptions/create.d.mts +2 -5
  333. package/dist/effect/schemas/webhook-subscriptions/create.mjs +1 -2
  334. package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +2 -5
  335. package/dist/effect/schemas/webhook-subscriptions/delete.mjs +1 -2
  336. package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +2 -5
  337. package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +1 -2
  338. package/dist/effect/schemas/webhook-subscriptions/list.d.mts +2 -5
  339. package/dist/effect/schemas/webhook-subscriptions/list.mjs +1 -2
  340. package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +2 -5
  341. package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +1 -2
  342. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +2 -5
  343. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +1 -2
  344. package/dist/effect/schemas/webhook-subscriptions/update.d.mts +2 -5
  345. package/dist/effect/schemas/webhook-subscriptions/update.mjs +1 -2
  346. package/dist/effect/schemas.d.mts +67 -15
  347. package/dist/effect/schemas.mjs +1 -2
  348. package/dist/effect.d.mts +19 -79
  349. package/dist/effect.mjs +61 -105
  350. package/dist/{environments-CONyu8Dn.mjs → environments-C90r_t8M.mjs} +5 -8
  351. package/dist/{environments-VTbkf-RU.d.mts → environments-j3Mor1h6.d.mts} +1 -5
  352. package/dist/{error-Bw7_G2NZ.mjs → error-hMgVE2qc.mjs} +1 -2
  353. package/dist/{generated-operations-DQcTCsMo.mjs → generated-operations-Btwe6bGR.mjs} +13 -21
  354. package/dist/index.d.mts +10 -2
  355. package/dist/index.mjs +21 -23
  356. package/dist/internal.d.mts +15 -3
  357. package/dist/{pagination-rules-CMnBwktJ.mjs → pagination-rules-DMTBYzG_.mjs} +2 -3
  358. package/dist/pagination.d.mts +9 -12
  359. package/dist/pagination.mjs +2 -3
  360. package/dist/resources/_internal/_internal.d.mts +1 -1
  361. package/dist/resources/_internal/_internal.mjs +1 -2
  362. package/dist/resources/_internal/cli/cli.d.mts +1 -1
  363. package/dist/resources/_internal/cli/cli.mjs +6 -5
  364. package/dist/resources/_internal/cli/realtime.d.mts +1 -1
  365. package/dist/resources/_internal/cli/realtime.mjs +2 -3
  366. package/dist/resources/_internal/cli.d.mts +1 -1
  367. package/dist/resources/_internal/consumer/consumer.d.mts +1 -1
  368. package/dist/resources/_internal/consumer/consumer.mjs +1 -2
  369. package/dist/resources/_internal/consumer/permissions.d.mts +1 -1
  370. package/dist/resources/_internal/consumer/permissions.mjs +2 -3
  371. package/dist/resources/_internal/consumer.d.mts +1 -1
  372. package/dist/resources/_internal/logs/logs.d.mts +1 -1
  373. package/dist/resources/_internal/logs/logs.mjs +1 -2
  374. package/dist/resources/_internal/logs/tools.d.mts +1 -1
  375. package/dist/resources/_internal/logs/tools.mjs +2 -3
  376. package/dist/resources/_internal/logs/triggers.d.mts +1 -1
  377. package/dist/resources/_internal/logs/triggers.mjs +2 -3
  378. package/dist/resources/_internal/logs.d.mts +1 -1
  379. package/dist/resources/_internal/org/consumer/consumer.d.mts +1 -1
  380. package/dist/resources/_internal/org/consumer/consumer.mjs +2 -3
  381. package/dist/resources/_internal/org/consumer/project.d.mts +1 -1
  382. package/dist/resources/_internal/org/consumer/project.mjs +2 -3
  383. package/dist/resources/_internal/org/consumer.d.mts +1 -1
  384. package/dist/resources/_internal/org/org.d.mts +1 -1
  385. package/dist/resources/_internal/org/org.mjs +1 -2
  386. package/dist/resources/_internal/org.d.mts +1 -1
  387. package/dist/resources/_internal.d.mts +1 -1
  388. package/dist/resources/api-key-revocation.d.mts +1 -1
  389. package/dist/resources/api-key-revocation.mjs +2 -3
  390. package/dist/resources/auth/auth.d.mts +1 -1
  391. package/dist/resources/auth/auth.mjs +1 -2
  392. package/dist/resources/auth/session.d.mts +1 -1
  393. package/dist/resources/auth/session.mjs +2 -3
  394. package/dist/resources/auth-configs.d.mts +1 -1
  395. package/dist/resources/auth-configs.mjs +2 -3
  396. package/dist/resources/auth.d.mts +1 -1
  397. package/dist/resources/connected-accounts.d.mts +1 -1
  398. package/dist/resources/connected-accounts.mjs +2 -3
  399. package/dist/resources/custom.d.mts +1 -1
  400. package/dist/resources/custom.mjs +2 -3
  401. package/dist/resources/files.d.mts +1 -1
  402. package/dist/resources/files.mjs +2 -3
  403. package/dist/resources/keyring.d.mts +1 -1
  404. package/dist/resources/keyring.mjs +2 -3
  405. package/dist/resources/link.d.mts +1 -1
  406. package/dist/resources/link.mjs +2 -3
  407. package/dist/resources/logs/logs.d.mts +1 -1
  408. package/dist/resources/logs/logs.mjs +2 -3
  409. package/dist/resources/logs.d.mts +1 -1
  410. package/dist/resources/mcp/custom.d.mts +1 -1
  411. package/dist/resources/mcp/custom.mjs +2 -3
  412. package/dist/resources/mcp/generate.d.mts +1 -1
  413. package/dist/resources/mcp/generate.mjs +2 -3
  414. package/dist/resources/mcp/mcp.d.mts +1 -1
  415. package/dist/resources/mcp/mcp.mjs +2 -3
  416. package/dist/resources/mcp.d.mts +1 -1
  417. package/dist/resources/org/org.d.mts +1 -1
  418. package/dist/resources/org/org.mjs +2 -3
  419. package/dist/resources/org/owner/owner.d.mts +1 -1
  420. package/dist/resources/org/owner/owner.mjs +1 -2
  421. package/dist/resources/org/owner/project.d.mts +1 -1
  422. package/dist/resources/org/owner/project.mjs +2 -3
  423. package/dist/resources/org/owner.d.mts +1 -1
  424. package/dist/resources/org/project.d.mts +1 -1
  425. package/dist/resources/org/project.mjs +2 -3
  426. package/dist/resources/org/usage.d.mts +1 -1
  427. package/dist/resources/org/usage.mjs +2 -3
  428. package/dist/resources/org.d.mts +1 -1
  429. package/dist/resources/project/project.d.mts +1 -1
  430. package/dist/resources/project/project.mjs +1 -2
  431. package/dist/resources/project/usage.d.mts +1 -1
  432. package/dist/resources/project/usage.mjs +2 -3
  433. package/dist/resources/project.d.mts +1 -1
  434. package/dist/resources/session-configs.d.mts +1 -1
  435. package/dist/resources/session-configs.mjs +2 -3
  436. package/dist/resources/tool-router/session/files.d.mts +1 -1
  437. package/dist/resources/tool-router/session/files.mjs +2 -3
  438. package/dist/resources/tool-router/session/session.d.mts +1 -1
  439. package/dist/resources/tool-router/session/session.mjs +2 -3
  440. package/dist/resources/tool-router/session.d.mts +1 -1
  441. package/dist/resources/tool-router/tool-router.d.mts +1 -1
  442. package/dist/resources/tool-router/tool-router.mjs +1 -2
  443. package/dist/resources/tool-router.d.mts +1 -1
  444. package/dist/resources/toolkits.d.mts +1 -1
  445. package/dist/resources/toolkits.mjs +2 -3
  446. package/dist/resources/tools.d.mts +1 -1
  447. package/dist/resources/tools.mjs +2 -3
  448. package/dist/resources/trigger-instances/manage.d.mts +1 -1
  449. package/dist/resources/trigger-instances/manage.mjs +2 -3
  450. package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
  451. package/dist/resources/trigger-instances/trigger-instances.mjs +2 -3
  452. package/dist/resources/trigger-instances.d.mts +1 -1
  453. package/dist/resources/triggers-types.d.mts +1 -1
  454. package/dist/resources/triggers-types.mjs +2 -3
  455. package/dist/resources/webhook-endpoints.d.mts +1 -1
  456. package/dist/resources/webhook-endpoints.mjs +2 -3
  457. package/dist/resources/webhook-subscriptions.d.mts +1 -1
  458. package/dist/resources/webhook-subscriptions.mjs +2 -3
  459. package/package.json +17 -17
@@ -1,4 +1,3 @@
1
- //#region src/compat/api-promise.d.ts
2
1
  /**
3
2
  * Stainless-compatible `APIPromise`.
4
3
  *
@@ -30,8 +29,6 @@ declare class APIPromise<T> extends Promise<T> {
30
29
  catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
31
30
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
32
31
  }
33
- //#endregion
34
- //#region src/compat/headers.d.ts
35
32
  type HeaderValue = string | null | undefined;
36
33
  /**
37
34
  * The internal nullable representation used by Stainless. The symbol that
@@ -44,8 +41,6 @@ interface NullableHeadersLike {
44
41
  }
45
42
  /** Header inputs accepted by the published Stainless client. */
46
43
  type HeadersLike = Headers | ReadonlyArray<ReadonlyArray<HeaderValue | readonly HeaderValue[]>> | Record<string, HeaderValue | readonly HeaderValue[]> | NullableHeadersLike | null | undefined;
47
- //#endregion
48
- //#region src/compat/identity.d.ts
49
44
  /**
50
45
  * The product calling through this client, such as `@composio/core` or
51
46
  * `@composio/cli`. It owns the product headers: once a client has one,
@@ -63,8 +58,6 @@ interface ClientIdentity {
63
58
  /** Legacy label still read by the platform, sent as `x-runtime`. Defaults to the detected runtime. */
64
59
  readonly runtime?: string | undefined;
65
60
  }
66
- //#endregion
67
- //#region src/compat/transport.d.ts
68
61
  /**
69
62
  * Sends one prepared HTTP request without retries or redirect handling.
70
63
  * Implementations should observe `request.signal` to stop their underlying I/O;
@@ -82,8 +75,6 @@ declare const createFetchTransport: <Extra extends object = object>(options?: {
82
75
  fetch?: FetchImplementation<Extra> | undefined;
83
76
  defaults?: FetchTransportDefaults<Extra> | undefined;
84
77
  }) => Transport;
85
- //#endregion
86
- //#region src/compat/request.d.ts
87
78
  /**
88
79
  * Per-request options bag — the Stainless last-positional-argument contract.
89
80
  * Downstream derives this shape structurally (`Parameters<method>[last]`);
@@ -102,8 +93,6 @@ interface RequestOptions {
102
93
  */
103
94
  idempotencyKey?: string;
104
95
  }
105
- //#endregion
106
- //#region src/generated/types.gen.d.ts
107
96
  type Error$1 = {
108
97
  error: {
109
98
  message: string;
@@ -596,6 +585,16 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
596
585
  */
597
586
  condition: string;
598
587
  action: 'block';
588
+ } | {
589
+ type: 'webhook';
590
+ /**
591
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
592
+ */
593
+ timeout_ms?: number;
594
+ /**
595
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
596
+ */
597
+ fallback_action: 'block' | 'continue';
599
598
  };
600
599
  } | {
601
600
  type: 'after_execute';
@@ -626,6 +625,16 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
626
625
  } | {
627
626
  type: 'prompt_injection_check';
628
627
  action: 'block';
628
+ } | {
629
+ type: 'webhook';
630
+ /**
631
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
632
+ */
633
+ timeout_ms?: number;
634
+ /**
635
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
636
+ */
637
+ fallback_action: 'block' | 'continue';
629
638
  };
630
639
  }>;
631
640
  /**
@@ -685,6 +694,10 @@ type HookResult = {
685
694
  * The hook could not be evaluated
686
695
  */
687
696
  status: 'unavailable';
697
+ /**
698
+ * The reason the hook is unavailable, for example `The webhook endpoint timed out`.
699
+ */
700
+ detail?: string;
688
701
  };
689
702
  type ExecuteCompleted = {
690
703
  /**
@@ -723,7 +736,7 @@ type ExecuteCompleted = {
723
736
  */
724
737
  log_id: string;
725
738
  /**
726
- * Every session hook that applied to this call. Omitted when none applied.
739
+ * The session hooks that ran on this call, each with its result. Omitted when none applied.
727
740
  */
728
741
  hook_results?: Array<HookResult>;
729
742
  };
@@ -764,7 +777,7 @@ type ExecuteFailed = {
764
777
  */
765
778
  log_id: string;
766
779
  /**
767
- * Every session hook that applied to this call. Omitted when none applied.
780
+ * The session hooks that ran on this call, each with its result. Omitted when none applied.
768
781
  */
769
782
  hook_results?: Array<HookResult>;
770
783
  };
@@ -813,7 +826,7 @@ type ExecuteBlocked = {
813
826
  charged_by: 'composio';
814
827
  };
815
828
  /**
816
- * Every session hook that applied to this call. Omitted when none applied.
829
+ * The session hooks that ran on this call, each with its result. Omitted when none applied.
817
830
  */
818
831
  hook_results?: Array<HookResult>;
819
832
  };
@@ -1243,7 +1256,7 @@ type ProxyExecuteCompleted = {
1243
1256
  [key: string]: string;
1244
1257
  };
1245
1258
  /**
1246
- * Every session hook that applied to this request. Omitted when none applied.
1259
+ * The session hooks that ran on this request, each with its result. Omitted when none applied.
1247
1260
  */
1248
1261
  hook_results?: Array<HookResult>;
1249
1262
  };
@@ -1258,7 +1271,7 @@ type ProxyExecuteBlocked = {
1258
1271
  */
1259
1272
  message: string;
1260
1273
  /**
1261
- * Every session hook that applied to this call. Omitted when none applied.
1274
+ * The session hooks that ran on this call, each with its result. Omitted when none applied.
1262
1275
  */
1263
1276
  hook_results?: Array<HookResult>;
1264
1277
  };
@@ -1644,7 +1657,7 @@ type PostApiV31LogsToolExecutionData = {
1644
1657
  cursor?: string | null;
1645
1658
  filters?: Array<{
1646
1659
  field: 'tool_slug' | 'toolkit_slug' | 'connected_account_id' | 'auth_config_id' | 'status' | 'user_id' | 'session_id' | 'sandbox_id' | 'request_id' | 'log_id';
1647
- operator: '==' | '!=' | 'contains' | 'not_contains';
1660
+ operator: '==' | '!=';
1648
1661
  value: string;
1649
1662
  }>;
1650
1663
  time_range?: {
@@ -1819,12 +1832,16 @@ type GetApiV31ToolsData = {
1819
1832
  toolkit_versions?: string | {
1820
1833
  [key: string]: string;
1821
1834
  } | null;
1835
+ /**
1836
+ * Include the tools of the custom toolkits this user can use. Without it, only tools of custom toolkits with access "all" are listed.
1837
+ */
1838
+ user_id?: string;
1822
1839
  /**
1823
1840
  * Number of items per page, max allowed is 1000
1824
1841
  */
1825
1842
  limit?: number | null;
1826
1843
  /**
1827
- * Cursor for pagination. The cursor is a base64 encoded string of the page and limit. The page is the page number and the limit is the number of items per page. The cursor is used to paginate through the items. The cursor is not required for the first page.
1844
+ * Opaque cursor for the next page: pass back the `next_cursor` of the previous response. Omit it for the first page.
1828
1845
  */
1829
1846
  cursor?: string;
1830
1847
  };
@@ -3820,6 +3837,16 @@ type PostApiV31ToolRouterSessionData = {
3820
3837
  */
3821
3838
  condition: string;
3822
3839
  action: 'block';
3840
+ } | {
3841
+ type: 'webhook';
3842
+ /**
3843
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
3844
+ */
3845
+ timeout_ms?: number;
3846
+ /**
3847
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
3848
+ */
3849
+ fallback_action: 'block' | 'continue';
3823
3850
  };
3824
3851
  } | {
3825
3852
  type: 'after_execute';
@@ -3850,6 +3877,16 @@ type PostApiV31ToolRouterSessionData = {
3850
3877
  } | {
3851
3878
  type: 'prompt_injection_check';
3852
3879
  action: 'block';
3880
+ } | {
3881
+ type: 'webhook';
3882
+ /**
3883
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
3884
+ */
3885
+ timeout_ms?: number;
3886
+ /**
3887
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
3888
+ */
3889
+ fallback_action: 'block' | 'continue';
3853
3890
  };
3854
3891
  }>;
3855
3892
  search?: {
@@ -4112,6 +4149,16 @@ type PostApiV31ToolRouterSessionResponses = {
4112
4149
  */
4113
4150
  condition: string;
4114
4151
  action: 'block';
4152
+ } | {
4153
+ type: 'webhook';
4154
+ /**
4155
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
4156
+ */
4157
+ timeout_ms?: number;
4158
+ /**
4159
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
4160
+ */
4161
+ fallback_action: 'block' | 'continue';
4115
4162
  };
4116
4163
  } | {
4117
4164
  type: 'after_execute';
@@ -4142,6 +4189,16 @@ type PostApiV31ToolRouterSessionResponses = {
4142
4189
  } | {
4143
4190
  type: 'prompt_injection_check';
4144
4191
  action: 'block';
4192
+ } | {
4193
+ type: 'webhook';
4194
+ /**
4195
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
4196
+ */
4197
+ timeout_ms?: number;
4198
+ /**
4199
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
4200
+ */
4201
+ fallback_action: 'block' | 'continue';
4145
4202
  };
4146
4203
  }>;
4147
4204
  /**
@@ -4534,6 +4591,16 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
4534
4591
  */
4535
4592
  condition: string;
4536
4593
  action: 'block';
4594
+ } | {
4595
+ type: 'webhook';
4596
+ /**
4597
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
4598
+ */
4599
+ timeout_ms?: number;
4600
+ /**
4601
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
4602
+ */
4603
+ fallback_action: 'block' | 'continue';
4537
4604
  };
4538
4605
  } | {
4539
4606
  type: 'after_execute';
@@ -4564,6 +4631,16 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
4564
4631
  } | {
4565
4632
  type: 'prompt_injection_check';
4566
4633
  action: 'block';
4634
+ } | {
4635
+ type: 'webhook';
4636
+ /**
4637
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
4638
+ */
4639
+ timeout_ms?: number;
4640
+ /**
4641
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
4642
+ */
4643
+ fallback_action: 'block' | 'continue';
4567
4644
  };
4568
4645
  }>;
4569
4646
  /**
@@ -4720,13 +4797,13 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4720
4797
  * Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed. A toolkit's own lists in `tools` replace the session-wide tag list for that toolkit.
4721
4798
  */
4722
4799
  require_approval: Array<string>;
4723
- };
4800
+ } | null;
4724
4801
  /**
4725
4802
  * The auth configs to use for the session. This will override the default behavior and use the given auth config when specific toolkits are being executed
4726
4803
  */
4727
4804
  auth_configs?: {
4728
4805
  [key: string]: string;
4729
- };
4806
+ } | null;
4730
4807
  /**
4731
4808
  * The connected accounts to use for the session, as an array of nano-IDs per toolkit. This overrides the default behaviour and pins specific connected accounts when toolkits are executed. Each account must exist (not deleted or disabled) and belong to the same `user_id` as the session. Multi-account sessions can pin multiple; non-multi-account sessions are capped at length 1.
4732
4809
  */
@@ -4778,19 +4855,19 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4778
4855
  };
4779
4856
  manage_connections?: {
4780
4857
  /**
4781
- * Whether to enable the connection manager for automatic connection handling. If true, we will provide a tool your agent can use to initiate connections to toolkits if it doesnt exist. If set to false, then you have to manage connections manually.
4858
+ * Whether to enable the connection manager for automatic connection handling. If true, we will provide a tool your agent can use to initiate connections to toolkits if it doesnt exist. If set to false, then you have to manage connections manually. Send null to restore the default (true).
4782
4859
  */
4783
4860
  enable?: boolean | null;
4784
4861
  /**
4785
- * The URL to redirect to after a user completes authentication for a connected account. This allows you to handle the auth callback in your own application.
4862
+ * The URL to redirect to after a user completes authentication for a connected account. This allows you to handle the auth callback in your own application. Send null to remove it.
4786
4863
  */
4787
- callback_url?: string;
4864
+ callback_url?: string | null;
4788
4865
  /**
4789
4866
  * When true, the COMPOSIO_WAIT_FOR_CONNECTIONS tool is available for agents to poll connection status after sharing auth URLs. Default is false (disabled). May not work reliably with GPT models.
4790
4867
  */
4791
4868
  enable_wait_for_connections?: boolean | null;
4792
4869
  /**
4793
- * Enable the "remove" action in COMPOSIO_MANAGE_CONNECTIONS to allow deleting connected accounts. Default true.
4870
+ * Enable the "remove" action in COMPOSIO_MANAGE_CONNECTIONS to allow deleting connected accounts. Defaults to true. Send null to restore the default.
4794
4871
  */
4795
4872
  enable_connection_removal?: boolean | null;
4796
4873
  } | null;
@@ -4838,7 +4915,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4838
4915
  */
4839
4916
  require_approval: Array<string>;
4840
4917
  };
4841
- };
4918
+ } | null;
4842
4919
  /**
4843
4920
  * Session-wide tags for filtering tools. Array format is treated as an enabled list. Object format supports `enable` (a tool must have at least one) and `disable` (a tool must have none), and experimentally the tags whose tools need approval. If a toolkit sets `tools.<toolkit>.tags`, its tools use that object instead of this one.
4844
4921
  */
@@ -4849,7 +4926,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4849
4926
  * Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed. A toolkit's own lists in `tools` replace the session-wide tag list for that toolkit.
4850
4927
  */
4851
4928
  require_approval?: Array<'readOnlyHint' | 'createHint' | 'updateHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
4852
- };
4929
+ } | null;
4853
4930
  workbench?: {
4854
4931
  /**
4855
4932
  * Set to false to disable the workbench entirely. When disabled, no code execution tools are available in the session.
@@ -4878,9 +4955,9 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4878
4955
  */
4879
4956
  enable?: boolean;
4880
4957
  /**
4881
- * Maximum number of connected accounts allowed per toolkit. Must be between 2 and 10.
4958
+ * Maximum number of connected accounts allowed per toolkit. Must be between 2 and 10. Send null to restore the default of five.
4882
4959
  */
4883
- max_accounts_per_toolkit?: number;
4960
+ max_accounts_per_toolkit?: number | null;
4884
4961
  /**
4885
4962
  * When true, the agent must explicitly select which account to use. When false (default), the first/default account is used automatically.
4886
4963
  */
@@ -4900,13 +4977,13 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4900
4977
  * Explicit tool slugs to preload, or "all" to dynamically expose all current and future app tools allowed by the positive session filters. "all" is capped at 1000 tools and is not supported without a positive allowlist.
4901
4978
  */
4902
4979
  tools?: Array<string> | string;
4903
- };
4980
+ } | null;
4904
4981
  search?: {
4905
4982
  enable?: boolean;
4906
- };
4983
+ } | null;
4907
4984
  execute?: {
4908
4985
  enable_multi_execute?: boolean;
4909
- };
4986
+ } | null;
4910
4987
  /**
4911
4988
  * Hooks that run on this session's tool calls. A hook can block a call before it runs, or block its result before the agent sees it.
4912
4989
  */
@@ -4936,6 +5013,16 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4936
5013
  */
4937
5014
  condition: string;
4938
5015
  action: 'block';
5016
+ } | {
5017
+ type: 'webhook';
5018
+ /**
5019
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5020
+ */
5021
+ timeout_ms?: number;
5022
+ /**
5023
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5024
+ */
5025
+ fallback_action: 'block' | 'continue';
4939
5026
  };
4940
5027
  } | {
4941
5028
  type: 'after_execute';
@@ -4966,11 +5053,21 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4966
5053
  } | {
4967
5054
  type: 'prompt_injection_check';
4968
5055
  action: 'block';
5056
+ } | {
5057
+ type: 'webhook';
5058
+ /**
5059
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5060
+ */
5061
+ timeout_ms?: number;
5062
+ /**
5063
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5064
+ */
5065
+ fallback_action: 'block' | 'continue';
4969
5066
  };
4970
5067
  }> | null;
4971
5068
  experimental?: {
4972
5069
  /**
4973
- * Per-tool elicitation permission config. Replaces the stored block when provided.
5070
+ * Per-tool elicitation permission config. Replaces the stored block when provided. Send null to remove it.
4974
5071
  */
4975
5072
  permissions?: {
4976
5073
  /**
@@ -4983,28 +5080,28 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
4983
5080
  overrides?: {
4984
5081
  [key: string]: 'always_allow' | 'always_deny' | 'ask_once' | 'ask_always';
4985
5082
  };
4986
- };
5083
+ } | null;
4987
5084
  /**
4988
- * Experimental base URL override for connection link redirects created from this tool-router session. When set, link creation returns `${link_url_overwrite}/link/{link_token}` instead of the default Composio Connect base URL. Use only when your integration needs links to open through a custom Connect host.
5085
+ * Experimental base URL override for connection link redirects created from this tool-router session. When set, link creation returns `${link_url_overwrite}/link/{link_token}` instead of the default Composio Connect base URL. Use only when your integration needs links to open through a custom Connect host. Send null to remove it.
4989
5086
  */
4990
- link_url_overwrite?: string;
5087
+ link_url_overwrite?: string | null;
4991
5088
  /**
4992
- * Fast mode reduces search latency. It is experimental, so tool search quality may be affected.
5089
+ * Fast mode reduces search latency. It is experimental, so tool search quality may be affected. Send null to remove the override.
4993
5090
  */
4994
- fast_mode?: boolean;
5091
+ fast_mode?: boolean | null;
4995
5092
  /**
4996
- * Set to true to stop tool search from returning cached plans (recommended_plan_steps, known_pitfalls, reference_workbench_snippets) in this session, false to return them again. Unlike fast_mode, tool search quality is unaffected.
5093
+ * Set to true to stop tool search from returning cached plans (recommended_plan_steps, known_pitfalls, reference_workbench_snippets) in this session, false to return them again, or null to remove the override. Unlike fast_mode, tool search quality is unaffected.
4997
5094
  */
4998
- disable_plan_search?: boolean;
5095
+ disable_plan_search?: boolean | null;
4999
5096
  /**
5000
- * Exposes the COMPOSIO_SUBMIT_FEEDBACK helper tool in this session so the agent can report tool executions with empty, incorrect, or failed results. Replaces the stored block when provided; `enable` is required when the block is sent.
5097
+ * Exposes the COMPOSIO_SUBMIT_FEEDBACK helper tool in this session so the agent can report tool executions with empty, incorrect, or failed results. Replaces the stored block when provided; `enable` is required when the block is sent. Send null to remove the block.
5001
5098
  */
5002
5099
  submit_feedback?: {
5003
5100
  /**
5004
5101
  * Set to true to expose the COMPOSIO_SUBMIT_FEEDBACK helper tool in this session, false to hide it.
5005
5102
  */
5006
5103
  enable: boolean;
5007
- };
5104
+ } | null;
5008
5105
  /**
5009
5106
  * What session MCP does with a tool call that needs approval when the MCP client can't ask the user. deny (default) rejects the call; allow runs it without approval.
5010
5107
  */
@@ -5014,6 +5111,10 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
5014
5111
  */
5015
5112
  session_config_id?: string;
5016
5113
  } | null;
5114
+ /**
5115
+ * Apply the patch only if the session's current config_version equals this value. If the session changed since you read it, the request fails with 409 and nothing is written. Re-fetch the session and retry. Omit to apply the patch to the latest config.
5116
+ */
5117
+ expected_config_version?: number;
5017
5118
  };
5018
5119
  path: {
5019
5120
  /**
@@ -5273,6 +5374,16 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
5273
5374
  */
5274
5375
  condition: string;
5275
5376
  action: 'block';
5377
+ } | {
5378
+ type: 'webhook';
5379
+ /**
5380
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5381
+ */
5382
+ timeout_ms?: number;
5383
+ /**
5384
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5385
+ */
5386
+ fallback_action: 'block' | 'continue';
5276
5387
  };
5277
5388
  } | {
5278
5389
  type: 'after_execute';
@@ -5303,6 +5414,16 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
5303
5414
  } | {
5304
5415
  type: 'prompt_injection_check';
5305
5416
  action: 'block';
5417
+ } | {
5418
+ type: 'webhook';
5419
+ /**
5420
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5421
+ */
5422
+ timeout_ms?: number;
5423
+ /**
5424
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5425
+ */
5426
+ fallback_action: 'block' | 'continue';
5306
5427
  };
5307
5428
  }>;
5308
5429
  /**
@@ -5788,6 +5909,16 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
5788
5909
  */
5789
5910
  condition: string;
5790
5911
  action: 'block';
5912
+ } | {
5913
+ type: 'webhook';
5914
+ /**
5915
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5916
+ */
5917
+ timeout_ms?: number;
5918
+ /**
5919
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5920
+ */
5921
+ fallback_action: 'block' | 'continue';
5791
5922
  };
5792
5923
  } | {
5793
5924
  type: 'after_execute';
@@ -5818,6 +5949,16 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
5818
5949
  } | {
5819
5950
  type: 'prompt_injection_check';
5820
5951
  action: 'block';
5952
+ } | {
5953
+ type: 'webhook';
5954
+ /**
5955
+ * How long to wait for your endpoint to answer, in milliseconds. Defaults to 3000.
5956
+ */
5957
+ timeout_ms?: number;
5958
+ /**
5959
+ * What happens to the call when your endpoint times out, can't be reached, or sends an answer that can't be read.
5960
+ */
5961
+ fallback_action: 'block' | 'continue';
5821
5962
  };
5822
5963
  }>;
5823
5964
  /**
@@ -6413,7 +6554,7 @@ type PostApiV31ToolRouterSessionBySessionIdExecuteData = {
6413
6554
  [key: string]: unknown;
6414
6555
  };
6415
6556
  /**
6416
- * Account identifier to specify which connected account to use for direct tool execution. Use the account ID (e.g. "coup_hurricane_dal_analytical") or an alias. When omitted with a single account, the default is used. When omitted with multiple accounts, an error lists available accounts. Meta/helper tools either ignore this top-level field or define their own account-selection fields, for example COMPOSIO_MULTI_EXECUTE_TOOL.tools[].account.
6557
+ * Account identifier to specify which connected account to use for direct tool execution. Use the account ID (e.g. "coup_hurricane_dal_analytical") or an alias. When omitted with a single account, the default is used. When omitted with multiple accounts, an error lists available accounts. Pass `instant_account` to run the tool on the Composio instant account for its toolkit, even when the user has connected the toolkit themselves and whether or not multi-account is enabled; the request fails rather than falling back to another credential. Meta/helper tools either ignore this top-level field or define their own account-selection fields, for example COMPOSIO_MULTI_EXECUTE_TOOL.tools[].account.
6417
6558
  */
6418
6559
  account?: string;
6419
6560
  /**
@@ -7623,6 +7764,14 @@ type PostApiV31CliCreateSessionData = {
7623
7764
  * Free-form string describing the source, e.g. 'Johns MacBook (darwin, v1.2.3)'
7624
7765
  */
7625
7766
  source?: string;
7767
+ /**
7768
+ * PKCE-style S256 challenge: the base64url encoding, without padding, of the SHA-256 digest of a random verifier the client keeps. Send together with code_challenge_method.
7769
+ */
7770
+ code_challenge?: string;
7771
+ /**
7772
+ * Method used to derive code_challenge from the verifier. Only S256 is supported. Send together with code_challenge.
7773
+ */
7774
+ code_challenge_method?: 'S256';
7626
7775
  };
7627
7776
  path?: never;
7628
7777
  query?: never;
@@ -7630,7 +7779,7 @@ type PostApiV31CliCreateSessionData = {
7630
7779
  };
7631
7780
  type PostApiV31CliCreateSessionResponses = {
7632
7781
  /**
7633
- * CLI session created successfully with a unique ID and temporary authentication code
7782
+ * CLI session created successfully with a unique ID and temporary display code
7634
7783
  */
7635
7784
  201: {
7636
7785
  /**
@@ -7638,7 +7787,7 @@ type PostApiV31CliCreateSessionResponses = {
7638
7787
  */
7639
7788
  id: string;
7640
7789
  /**
7641
- * The 6-character hexadecimal code used for CLI login
7790
+ * The 6-character hexadecimal display code
7642
7791
  */
7643
7792
  code: string;
7644
7793
  /**
@@ -7653,6 +7802,10 @@ type PostApiV31CliCreateSessionResponses = {
7653
7802
  * The key scope for this session
7654
7803
  */
7655
7804
  scope: 'project' | 'user';
7805
+ /**
7806
+ * Present only when the session stored the code_challenge sent with this request, and every lookup of the session by ID then requires its verifier. A client that sent a challenge should not continue the login without it.
7807
+ */
7808
+ code_challenge_method?: 'S256';
7656
7809
  };
7657
7810
  };
7658
7811
  type PostApiV31CliCodactFailuresData = {
@@ -7715,10 +7868,16 @@ type PostApiV31CliCodactFailuresResponses = {
7715
7868
  };
7716
7869
  type GetApiV31CliGetSessionData = {
7717
7870
  body?: never;
7871
+ headers?: {
7872
+ /**
7873
+ * The code_verifier whose S256 hash is the session's code_challenge. Required on every UUID lookup of a session created with a code_challenge; omit it for a session created without one.
7874
+ */
7875
+ 'x-cli-session-secret'?: string;
7876
+ };
7718
7877
  path?: never;
7719
7878
  query: {
7720
7879
  /**
7721
- * The CLI session ID or code to check
7880
+ * The CLI session ID (UUID) to check
7722
7881
  */
7723
7882
  id: string;
7724
7883
  };
@@ -7730,11 +7889,11 @@ type GetApiV31CliGetSessionResponses = {
7730
7889
  */
7731
7890
  200: {
7732
7891
  /**
7733
- * The CLI session ID, or the code for a lookup by code
7892
+ * The CLI session ID
7734
7893
  */
7735
7894
  id: string;
7736
7895
  /**
7737
- * The 6-character hexadecimal code used for CLI login
7896
+ * The 6-character hexadecimal display code
7738
7897
  */
7739
7898
  code: string;
7740
7899
  /**
@@ -22170,7 +22329,6 @@ type PostApiV31OrgOwnerProjectNewData = {
22170
22329
  * App name shown to end users on the hosted Connect Link page, up to 75 characters. The page shows Composio when omitted.
22171
22330
  */
22172
22331
  display_name?: string;
22173
- mask_secret_keys_in_connected_account?: boolean;
22174
22332
  log_visibility_setting?: 'show_all' | 'dont_store_data';
22175
22333
  /**
22176
22334
  * Whether to enable composio link for managed authentication. This key will be deprecated in the future. Please don't use this key.
@@ -23413,6 +23571,16 @@ type GetApiV31ToolkitsBySlugResponses = {
23413
23571
  * Toolkit provenance: "native" for Composio-managed toolkits, "custom" for a project-registered custom (MCP) toolkit
23414
23572
  */
23415
23573
  type: 'native' | 'custom';
23574
+ /**
23575
+ * How the toolkit is implemented: "api" for an API integration, "mcp" for an MCP server
23576
+ */
23577
+ toolkit_type: 'api' | 'mcp';
23578
+ /**
23579
+ * Present when the latest version of this toolkit supports Instant accounts. See the tools endpoint for support on individual tools.
23580
+ */
23581
+ instant?: {
23582
+ supported: true;
23583
+ };
23416
23584
  /**
23417
23585
  * Indicates if this toolkit is currently enabled and available for use
23418
23586
  */
@@ -23578,6 +23746,10 @@ type GetApiV31ToolkitsBySlugResponses = {
23578
23746
  * URL to a page where users can obtain or configure credentials for this authentication method
23579
23747
  */
23580
23748
  auth_hint_url?: string | null;
23749
+ /**
23750
+ * Whether a connection made with this authentication method can be revoked at the provider
23751
+ */
23752
+ is_connection_revoke_supported: boolean;
23581
23753
  /**
23582
23754
  * Authentication URL fields for OAuth 2.0 and OAuth 1.0. We don't recommend using this field for authentication and might break post Aug 31 2025.
23583
23755
  *
@@ -23592,6 +23764,10 @@ type GetApiV31ToolkitsBySlugResponses = {
23592
23764
  * URL to a guide page with authentication setup instructions for this toolkit
23593
23765
  */
23594
23766
  auth_guide_url?: string | null;
23767
+ /**
23768
+ * The provider's own documentation URL for this toolkit, or null when it has none
23769
+ */
23770
+ docs_url: string | null;
23595
23771
  /**
23596
23772
  * If evaluation of base URL needs some connection info (like shopify), please create the connection and get the base URL from there
23597
23773
  */
@@ -26174,8 +26350,6 @@ type GetApiV31ToolkitsChangelogResponses = {
26174
26350
  }>;
26175
26351
  };
26176
26352
  };
26177
- //#endregion
26178
- //#region src/compat/error.d.ts
26179
26353
  declare class ComposioError extends Error {}
26180
26354
  /**
26181
26355
  * The error envelope every Composio API error response carries — the spec's
@@ -26235,8 +26409,6 @@ declare class ConflictError extends APIError<409, Headers> {}
26235
26409
  declare class UnprocessableEntityError extends APIError<422, Headers> {}
26236
26410
  declare class RateLimitError extends APIError<429, Headers> {}
26237
26411
  declare class InternalServerError extends APIError<number, Headers> {}
26238
- //#endregion
26239
- //#region src/compat/auth.d.ts
26240
26412
  /** A key, or a function returning one, called once per call. */
26241
26413
  type Credential = string | (() => string | PromiseLike<string>);
26242
26414
  /** At least one of the three. */
@@ -26280,8 +26452,6 @@ interface AuthConstructors<C> {
26280
26452
  readonly auto: (credentials: AutoCredentials<C>) => AuthOf<C>;
26281
26453
  }
26282
26454
  declare const Auth$1: AuthConstructors<Credential>;
26283
- //#endregion
26284
- //#region src/compat/resources/tool-router/session/files.d.ts
26285
26455
  type FileListQueryGen = NonNullable<GetApiV31ToolRouterSessionBySessionIdMountsByMountIdItemsData['query']>;
26286
26456
  interface FileListParams$1 extends FileListQueryGen {
26287
26457
  /** The tool router session that owns the mount (a path param in Stainless params objects). */
@@ -26319,8 +26489,6 @@ interface Files$1 {
26319
26489
  }
26320
26490
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26321
26491
  declare const makeFiles$1: (client: Composio) => Files$1;
26322
- //#endregion
26323
- //#region src/compat/resources/tool-router/session/session.d.ts
26324
26492
  type SessionCreateParamsGen = NonNullable<PostApiV31ToolRouterSessionData['body']>;
26325
26493
  interface SessionCreateParams extends SessionCreateParamsGen {}
26326
26494
  type SessionAttachParamsGen = NonNullable<PostApiV31ToolRouterSessionBySessionIdAttachData['body']>;
@@ -26385,16 +26553,12 @@ interface Session$1 {
26385
26553
  }
26386
26554
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26387
26555
  declare const makeSession$1: (client: Composio) => Session$1;
26388
- //#endregion
26389
- //#region src/compat/resources/tool-router/tool-router.d.ts
26390
26556
  /** `client.toolRouter`. */
26391
26557
  interface ToolRouter {
26392
26558
  readonly session: Session$1;
26393
26559
  }
26394
26560
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26395
26561
  declare const makeToolRouter: (client: Composio) => ToolRouter;
26396
- //#endregion
26397
- //#region src/compat/resources/tools.d.ts
26398
26562
  type ToolRetrieveParamsGen = NonNullable<GetApiV31ToolsByToolSlugData['query']>;
26399
26563
  interface ToolRetrieveParams extends ToolRetrieveParamsGen {}
26400
26564
  type ToolListParamsGen$1 = NonNullable<GetApiV31ToolsData['query']>;
@@ -26435,8 +26599,6 @@ interface Tools$1 {
26435
26599
  }
26436
26600
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26437
26601
  declare const makeTools$1: (client: Composio) => Tools$1;
26438
- //#endregion
26439
- //#region src/compat/resources/files.d.ts
26440
26602
  type FileListParamsGen = NonNullable<GetApiV31FilesListData['query']>;
26441
26603
  interface FileListParams extends FileListParamsGen {}
26442
26604
  type FileCreatePresignedURLParamsGen = NonNullable<PostApiV31FilesUploadRequestData['body']>;
@@ -26453,8 +26615,6 @@ interface Files {
26453
26615
  }
26454
26616
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26455
26617
  declare const makeFiles: (client: Composio) => Files;
26456
- //#endregion
26457
- //#region src/compat/resources/connected-accounts.d.ts
26458
26618
  type ConnectedAccountCreateParamsGen = NonNullable<PostApiV31ConnectedAccountsData['body']>;
26459
26619
  interface ConnectedAccountCreateParams extends ConnectedAccountCreateParamsGen {}
26460
26620
  type ConnectedAccountListParamsGen = NonNullable<GetApiV31ConnectedAccountsData['query']>;
@@ -26509,8 +26669,6 @@ interface ConnectedAccounts {
26509
26669
  }
26510
26670
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26511
26671
  declare const makeConnectedAccounts: (client: Composio) => ConnectedAccounts;
26512
- //#endregion
26513
- //#region src/compat/resources/link.d.ts
26514
26672
  type LinkCreateParamsGen = NonNullable<PostApiV31ConnectedAccountsLinkData['body']>;
26515
26673
  interface LinkCreateParams extends LinkCreateParamsGen {}
26516
26674
  type LinkCreateResponseGen = PostApiV31ConnectedAccountsLinkResponses[201];
@@ -26521,8 +26679,6 @@ interface Link {
26521
26679
  }
26522
26680
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26523
26681
  declare const makeLink: (client: Composio) => Link;
26524
- //#endregion
26525
- //#region src/compat/resources/toolkits.d.ts
26526
26682
  type ToolkitRetrieveParamsGen = NonNullable<GetApiV31ToolkitsBySlugData['query']>;
26527
26683
  interface ToolkitRetrieveParams extends ToolkitRetrieveParamsGen {}
26528
26684
  type ToolkitListParamsGen = NonNullable<GetApiV31ToolkitsData['query']>;
@@ -26563,8 +26719,6 @@ interface Toolkits {
26563
26719
  }
26564
26720
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26565
26721
  declare const makeToolkits: (client: Composio) => Toolkits;
26566
- //#endregion
26567
- //#region src/compat/resources/auth-configs.d.ts
26568
26722
  type AuthConfigCreateParamsGen = NonNullable<PostApiV31AuthConfigsData['body']>;
26569
26723
  interface AuthConfigCreateParams extends AuthConfigCreateParamsGen {}
26570
26724
  type AuthConfigUpdateParams = NonNullable<PatchApiV31AuthConfigsByNanoidData['body']>;
@@ -26600,8 +26754,6 @@ interface AuthConfigs {
26600
26754
  }
26601
26755
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26602
26756
  declare const makeAuthConfigs: (client: Composio) => AuthConfigs;
26603
- //#endregion
26604
- //#region src/compat/resources/triggers-types.d.ts
26605
26757
  type TriggersTypeRetrieveParamsGen = NonNullable<GetApiV31TriggersTypesBySlugData['query']>;
26606
26758
  interface TriggersTypeRetrieveParams extends TriggersTypeRetrieveParamsGen {}
26607
26759
  type TriggersTypeListParamsGen = NonNullable<GetApiV31TriggersTypesData['query']>;
@@ -26619,8 +26771,6 @@ interface TriggersTypes {
26619
26771
  }
26620
26772
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26621
26773
  declare const makeTriggersTypes: (client: Composio) => TriggersTypes;
26622
- //#endregion
26623
- //#region src/compat/resources/trigger-instances/manage.d.ts
26624
26774
  type ManageUpdateParamsGen = NonNullable<PatchApiV31TriggerInstancesManageByTriggerIdData['body']>;
26625
26775
  interface ManageUpdateParams extends ManageUpdateParamsGen {}
26626
26776
  type ManageUpdateResponseGen = PatchApiV31TriggerInstancesManageByTriggerIdResponses[200];
@@ -26634,8 +26784,6 @@ interface Manage {
26634
26784
  }
26635
26785
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26636
26786
  declare const makeManage: (client: Composio) => Manage;
26637
- //#endregion
26638
- //#region src/compat/resources/trigger-instances/trigger-instances.d.ts
26639
26787
  type TriggerInstanceListActiveParamsGen = NonNullable<GetApiV31TriggerInstancesActiveData['query']>;
26640
26788
  interface TriggerInstanceListActiveParams extends TriggerInstanceListActiveParamsGen {}
26641
26789
  type TriggerInstanceUpsertParamsGen = NonNullable<PostApiV31TriggerInstancesBySlugUpsertData['body']>;
@@ -26652,8 +26800,6 @@ interface TriggerInstances {
26652
26800
  }
26653
26801
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26654
26802
  declare const makeTriggerInstances: (client: Composio) => TriggerInstances;
26655
- //#endregion
26656
- //#region src/compat/resources/mcp/custom.d.ts
26657
26803
  type CustomCreateParamsGen = NonNullable<PostApiV31McpServersCustomData['body']>;
26658
26804
  interface CustomCreateParams extends CustomCreateParamsGen {}
26659
26805
  type CustomCreateResponseGen = PostApiV31McpServersCustomResponses[201];
@@ -26665,8 +26811,6 @@ interface Custom$1 {
26665
26811
  }
26666
26812
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26667
26813
  declare const makeCustom$1: (client: Composio) => Custom$1;
26668
- //#endregion
26669
- //#region src/compat/resources/mcp/generate.d.ts
26670
26814
  type GenerateURLParamsGen = NonNullable<PostApiV31McpServersGenerateData['body']>;
26671
26815
  interface GenerateURLParams extends GenerateURLParamsGen {}
26672
26816
  type GenerateURLResponseGen = PostApiV31McpServersGenerateResponses[200];
@@ -26678,8 +26822,6 @@ interface Generate {
26678
26822
  }
26679
26823
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26680
26824
  declare const makeGenerate: (client: Composio) => Generate;
26681
- //#endregion
26682
- //#region src/compat/resources/mcp/mcp.d.ts
26683
26825
  type McpCreateParamsGen = NonNullable<PostApiV31McpServersData['body']>;
26684
26826
  interface McpCreateParams extends McpCreateParamsGen {}
26685
26827
  type McpUpdateParamsGen = NonNullable<PatchApiV31McpByIdData['body']>;
@@ -26739,8 +26881,6 @@ interface Mcp {
26739
26881
  }
26740
26882
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26741
26883
  declare const makeMcp: (client: Composio) => Mcp;
26742
- //#endregion
26743
- //#region src/compat/resources/logs/logs.d.ts
26744
26884
  type LogCreateToolExecutionParamsGen = NonNullable<PostApiV31LogsToolExecutionData['body']>;
26745
26885
  interface LogCreateToolExecutionParams extends LogCreateToolExecutionParamsGen {}
26746
26886
  type LogCreateToolExecutionResponseGen = PostApiV31LogsToolExecutionResponses[200];
@@ -26754,8 +26894,6 @@ interface Logs$1 {
26754
26894
  }
26755
26895
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26756
26896
  declare const makeLogs$1: (client: Composio) => Logs$1;
26757
- //#endregion
26758
- //#region src/compat/resources/project/usage.d.ts
26759
26897
  type UsageRetrieveParamsGen$1 = NonNullable<PostApiV31ProjectUsageByEntityTypeData['body']>;
26760
26898
  interface UsageRetrieveParams$1 extends UsageRetrieveParamsGen$1 {}
26761
26899
  type UsageRetrieveSummaryParamsGen$1 = NonNullable<PostApiV31ProjectUsageSummaryData['body']>;
@@ -26771,16 +26909,12 @@ interface Usage$1 {
26771
26909
  }
26772
26910
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26773
26911
  declare const makeUsage$1: (client: Composio) => Usage$1;
26774
- //#endregion
26775
- //#region src/compat/resources/project/project.d.ts
26776
26912
  /** `client.project`. */
26777
26913
  interface Project$3 {
26778
26914
  readonly usage: Usage$1;
26779
26915
  }
26780
26916
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26781
26917
  declare const makeProject$3: (client: Composio) => Project$3;
26782
- //#endregion
26783
- //#region src/compat/resources/webhook-subscriptions.d.ts
26784
26918
  type WebhookSubscriptionCreateParamsGen = NonNullable<PostApiV31WebhookSubscriptionsData['body']>;
26785
26919
  interface WebhookSubscriptionCreateParams extends WebhookSubscriptionCreateParamsGen {}
26786
26920
  type WebhookSubscriptionUpdateParamsGen = NonNullable<PatchApiV31WebhookSubscriptionsByIdData['body']>;
@@ -26813,8 +26947,6 @@ interface WebhookSubscriptions {
26813
26947
  }
26814
26948
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26815
26949
  declare const makeWebhookSubscriptions: (client: Composio) => WebhookSubscriptions;
26816
- //#endregion
26817
- //#region src/compat/resources/webhook-endpoints.d.ts
26818
26950
  type WebhookEndpointCreateParamsGen = NonNullable<PostApiV31WebhookEndpointsData['body']>;
26819
26951
  interface WebhookEndpointCreateParams extends WebhookEndpointCreateParamsGen {}
26820
26952
  type WebhookEndpointUpdateParamsGen = NonNullable<PatchApiV31WebhookEndpointsByNanoIdData['body']>;
@@ -26843,8 +26975,6 @@ interface WebhookEndpoints {
26843
26975
  }
26844
26976
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26845
26977
  declare const makeWebhookEndpoints: (client: Composio) => WebhookEndpoints;
26846
- //#endregion
26847
- //#region src/compat/resources/org/owner/project.d.ts
26848
26978
  type ProjectCreateParamsGen = NonNullable<PostApiV31OrgOwnerProjectNewData['body']>;
26849
26979
  interface ProjectCreateParams extends ProjectCreateParamsGen {}
26850
26980
  type ProjectListParamsGen$1 = NonNullable<GetApiV31OrgOwnerProjectListData['query']>;
@@ -26871,16 +27001,12 @@ interface Project$2 {
26871
27001
  }
26872
27002
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26873
27003
  declare const makeProject$2: (client: Composio) => Project$2;
26874
- //#endregion
26875
- //#region src/compat/resources/org/owner/owner.d.ts
26876
27004
  /** `client.org.owner`. */
26877
27005
  interface Owner {
26878
27006
  readonly project: Project$2;
26879
27007
  }
26880
27008
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26881
27009
  declare const makeOwner: (client: Composio) => Owner;
26882
- //#endregion
26883
- //#region src/compat/resources/org/project.d.ts
26884
27010
  type ProjectListParamsGen = NonNullable<GetApiV31OrgProjectListData['query']>;
26885
27011
  interface ProjectListParams extends ProjectListParamsGen {}
26886
27012
  type ProjectListResponseGen = GetApiV31OrgProjectListResponses[200];
@@ -26891,8 +27017,6 @@ interface Project$1 {
26891
27017
  }
26892
27018
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26893
27019
  declare const makeProject$1: (client: Composio) => Project$1;
26894
- //#endregion
26895
- //#region src/compat/resources/org/usage.d.ts
26896
27020
  type UsageRetrieveParamsGen = NonNullable<PostApiV31OrgUsageByEntityTypeData['body']>;
26897
27021
  interface UsageRetrieveParams extends UsageRetrieveParamsGen {}
26898
27022
  type UsageRetrieveSummaryParamsGen = NonNullable<PostApiV31OrgUsageSummaryData['body']>;
@@ -26908,8 +27032,6 @@ interface Usage {
26908
27032
  }
26909
27033
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26910
27034
  declare const makeUsage: (client: Composio) => Usage;
26911
- //#endregion
26912
- //#region src/compat/resources/org/org.d.ts
26913
27035
  type OrgListParamsGen = NonNullable<GetApiV31OrgListData['query']>;
26914
27036
  interface OrgListParams extends OrgListParamsGen {}
26915
27037
  type OrgListResponseGen = GetApiV31OrgListResponses[200];
@@ -26923,8 +27045,6 @@ interface Org$1 {
26923
27045
  }
26924
27046
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26925
27047
  declare const makeOrg$1: (client: Composio) => Org$1;
26926
- //#endregion
26927
- //#region src/compat/resources/auth/session.d.ts
26928
27048
  type SessionRetrieveInfoResponseGen = GetApiV31AuthSessionInfoResponses[200];
26929
27049
  interface SessionRetrieveInfoResponse extends SessionRetrieveInfoResponseGen {}
26930
27050
  /** `client.auth.session`. */
@@ -26933,16 +27053,12 @@ interface Session {
26933
27053
  }
26934
27054
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26935
27055
  declare const makeSession: (client: Composio) => Session;
26936
- //#endregion
26937
- //#region src/compat/resources/auth/auth.d.ts
26938
27056
  /** `client.auth`. */
26939
27057
  interface Auth {
26940
27058
  readonly session: Session;
26941
27059
  }
26942
27060
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26943
27061
  declare const makeAuth: (client: Composio) => Auth;
26944
- //#endregion
26945
- //#region src/compat/resources/api-key-revocation.d.ts
26946
27062
  type ApiKeyRevocationCreateParamsGen = NonNullable<PostApiV31ApiKeyRevocationData['body']>;
26947
27063
  interface ApiKeyRevocationCreateParams extends ApiKeyRevocationCreateParamsGen {}
26948
27064
  type ApiKeyRevocationCreateResponseGen = PostApiV31ApiKeyRevocationResponses[200];
@@ -26953,8 +27069,6 @@ interface ApiKeyRevocation {
26953
27069
  }
26954
27070
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26955
27071
  declare const makeApiKeyRevocation: (client: Composio) => ApiKeyRevocation;
26956
- //#endregion
26957
- //#region src/compat/resources/custom.d.ts
26958
27072
  type CustomCreateToolkitParamsGen = NonNullable<PostApiV31CustomToolkitsData['body']>;
26959
27073
  interface CustomCreateToolkitParams extends CustomCreateToolkitParamsGen {}
26960
27074
  type CustomDeleteToolkitParamsGen = NonNullable<DeleteApiV31CustomToolkitsBySlugData['query']>;
@@ -26986,8 +27100,6 @@ interface Custom {
26986
27100
  }
26987
27101
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26988
27102
  declare const makeCustom: (client: Composio) => Custom;
26989
- //#endregion
26990
- //#region src/compat/resources/keyring.d.ts
26991
27103
  type KeyringListTransferKeysResponseGen = GetApiV31KeyringTransferKeysResponses[200];
26992
27104
  interface KeyringListTransferKeysResponse extends KeyringListTransferKeysResponseGen {}
26993
27105
  /** `client.keyring`. */
@@ -26996,8 +27108,6 @@ interface Keyring {
26996
27108
  }
26997
27109
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
26998
27110
  declare const makeKeyring: (client: Composio) => Keyring;
26999
- //#endregion
27000
- //#region src/compat/resources/session-configs.d.ts
27001
27111
  type SessionConfigsListParamsGen = NonNullable<GetApiV31SessionConfigsData['query']>;
27002
27112
  interface SessionConfigsListParams extends SessionConfigsListParamsGen {}
27003
27113
  type SessionConfigsRetrieveResponseGen = GetApiV31SessionConfigsBySessionConfigIdResponses[200];
@@ -27011,8 +27121,6 @@ interface SessionConfigs {
27011
27121
  }
27012
27122
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27013
27123
  declare const makeSessionConfigs: (client: Composio) => SessionConfigs;
27014
- //#endregion
27015
- //#region src/compat/generated-resource-wiring.d.ts
27016
27124
  interface ClientResources {
27017
27125
  readonly toolRouter: ToolRouter;
27018
27126
  readonly tools: Tools$1;
@@ -27035,8 +27143,6 @@ interface ClientResources {
27035
27143
  readonly keyring: Keyring;
27036
27144
  readonly sessionConfigs: SessionConfigs;
27037
27145
  }
27038
- //#endregion
27039
- //#region src/compat/client.d.ts
27040
27146
  /** Environment values consumed by {@link Composio.fromEnv}. */
27041
27147
  type EnvironmentMap = Readonly<Record<string, string | undefined>>;
27042
27148
  type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug';
@@ -27143,8 +27249,6 @@ declare class Composio {
27143
27249
  static PermissionDeniedError: typeof PermissionDeniedError;
27144
27250
  static UnprocessableEntityError: typeof UnprocessableEntityError;
27145
27251
  }
27146
- //#endregion
27147
- //#region src/compat/resources/_internal/cli/realtime.d.ts
27148
27252
  type RealtimeAuthParamsGen = NonNullable<PostApiV31CliRealtimeAuthData['body']>;
27149
27253
  interface RealtimeAuthParams extends RealtimeAuthParamsGen {}
27150
27254
  type RealtimeAuthResponseGen = PostApiV31CliRealtimeAuthResponses[200];
@@ -27158,15 +27262,14 @@ interface Realtime {
27158
27262
  }
27159
27263
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27160
27264
  declare const makeRealtime: (client: Composio) => Realtime;
27161
- //#endregion
27162
- //#region src/compat/resources/_internal/cli/cli.d.ts
27163
27265
  type CliCreateCodactFailureBodyGen = NonNullable<PostApiV31CliCodactFailuresData['body']>;
27164
27266
  type CliCreateCodactFailureHeadersGen = NonNullable<PostApiV31CliCodactFailuresData['headers']>;
27165
27267
  interface CliCreateCodactFailureParams extends CliCreateCodactFailureBodyGen, CliCreateCodactFailureHeadersGen {}
27166
27268
  type CliCreateSessionParamsGen = NonNullable<PostApiV31CliCreateSessionData['body']>;
27167
27269
  interface CliCreateSessionParams extends CliCreateSessionParamsGen {}
27168
- type CliGetSessionParamsGen = NonNullable<GetApiV31CliGetSessionData['query']>;
27169
- interface CliGetSessionParams extends CliGetSessionParamsGen {}
27270
+ type CliGetSessionQueryGen = NonNullable<GetApiV31CliGetSessionData['query']>;
27271
+ type CliGetSessionHeadersGen = NonNullable<GetApiV31CliGetSessionData['headers']>;
27272
+ interface CliGetSessionParams extends CliGetSessionQueryGen, CliGetSessionHeadersGen {}
27170
27273
  type CliCreateCodactFailureResponseGen = PostApiV31CliCodactFailuresResponses[200];
27171
27274
  interface CliCreateCodactFailureResponse extends CliCreateCodactFailureResponseGen {}
27172
27275
  type CliCreateSessionResponseGen = PostApiV31CliCreateSessionResponses[201];
@@ -27178,12 +27281,10 @@ interface Cli {
27178
27281
  readonly realtime: Realtime;
27179
27282
  createCodactFailure(params: CliCreateCodactFailureParams, options?: RequestOptions): APIPromise<CliCreateCodactFailureResponse>;
27180
27283
  createSession(body?: CliCreateSessionParams | null | undefined, options?: RequestOptions): APIPromise<CliCreateSessionResponse>;
27181
- getSession(query: CliGetSessionParams, options?: RequestOptions): APIPromise<CliGetSessionResponse>;
27284
+ getSession(params: CliGetSessionParams, options?: RequestOptions): APIPromise<CliGetSessionResponse>;
27182
27285
  }
27183
27286
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27184
27287
  declare const makeCli: (client: Composio) => Cli;
27185
- //#endregion
27186
- //#region src/compat/resources/_internal/consumer/permissions.d.ts
27187
27288
  type PermissionsResolveParamsGen = NonNullable<PostApiV31ConsumerPermissionsResolveData['body']>;
27188
27289
  interface PermissionsResolveParams extends PermissionsResolveParamsGen {}
27189
27290
  type PermissionsResolveResponseGen = PostApiV31ConsumerPermissionsResolveResponses[200];
@@ -27194,16 +27295,12 @@ interface Permissions {
27194
27295
  }
27195
27296
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27196
27297
  declare const makePermissions: (client: Composio) => Permissions;
27197
- //#endregion
27198
- //#region src/compat/resources/_internal/consumer/consumer.d.ts
27199
27298
  /** `client._internal.consumer`. */
27200
27299
  interface Consumer$1 {
27201
27300
  readonly permissions: Permissions;
27202
27301
  }
27203
27302
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27204
27303
  declare const makeConsumer$1: (client: Composio) => Consumer$1;
27205
- //#endregion
27206
- //#region src/compat/resources/_internal/logs/triggers.d.ts
27207
27304
  type TriggerListParamsGen = NonNullable<PostApiV31InternalTriggerLogsData['body']>;
27208
27305
  interface TriggerListParams extends TriggerListParamsGen {}
27209
27306
  type TriggerRetrieveResponseGen = GetApiV31InternalTriggerLogByIdResponses[200];
@@ -27218,8 +27315,6 @@ interface Triggers {
27218
27315
  }
27219
27316
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27220
27317
  declare const makeTriggers: (client: Composio) => Triggers;
27221
- //#endregion
27222
- //#region src/compat/resources/_internal/logs/tools.d.ts
27223
27318
  type ToolListParamsGen = NonNullable<PostApiV31InternalActionExecutionLogsData['body']>;
27224
27319
  interface ToolListParams extends ToolListParamsGen {}
27225
27320
  type ToolRetrieveResponseGen = GetApiV31InternalActionExecutionLogByIdResponses[200];
@@ -27238,8 +27333,6 @@ interface Tools {
27238
27333
  }
27239
27334
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27240
27335
  declare const makeTools: (client: Composio) => Tools;
27241
- //#endregion
27242
- //#region src/compat/resources/_internal/logs/logs.d.ts
27243
27336
  /** `client._internal.logs`. */
27244
27337
  interface Logs {
27245
27338
  readonly triggers: Triggers;
@@ -27247,8 +27340,6 @@ interface Logs {
27247
27340
  }
27248
27341
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27249
27342
  declare const makeLogs: (client: Composio) => Logs;
27250
- //#endregion
27251
- //#region src/compat/resources/_internal/org/consumer/project.d.ts
27252
27343
  type ProjectResolveHeadersGen = NonNullable<PostApiV31OrgConsumerProjectResolveData['headers']>;
27253
27344
  interface ProjectResolveParams extends ProjectResolveHeadersGen {}
27254
27345
  type ProjectResolveResponseGen = PostApiV31OrgConsumerProjectResolveResponses[200];
@@ -27259,8 +27350,6 @@ interface Project {
27259
27350
  }
27260
27351
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27261
27352
  declare const makeProject: (client: Composio) => Project;
27262
- //#endregion
27263
- //#region src/compat/resources/_internal/org/consumer/consumer.d.ts
27264
27353
  type ConsumerListConnectedToolkitsQueryGen = NonNullable<GetApiV31OrgConsumerConnectedToolkitsData['query']>;
27265
27354
  type ConsumerListConnectedToolkitsHeadersGen = NonNullable<GetApiV31OrgConsumerConnectedToolkitsData['headers']>;
27266
27355
  interface ConsumerListConnectedToolkitsParams extends ConsumerListConnectedToolkitsQueryGen, ConsumerListConnectedToolkitsHeadersGen {}
@@ -27276,16 +27365,12 @@ interface Consumer {
27276
27365
  }
27277
27366
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27278
27367
  declare const makeConsumer: (client: Composio) => Consumer;
27279
- //#endregion
27280
- //#region src/compat/resources/_internal/org/org.d.ts
27281
27368
  /** `client._internal.org`. */
27282
27369
  interface Org {
27283
27370
  readonly consumer: Consumer;
27284
27371
  }
27285
27372
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27286
27373
  declare const makeOrg: (client: Composio) => Org;
27287
- //#endregion
27288
- //#region src/compat/resources/_internal/_internal.d.ts
27289
27374
  /** `client._internal`. */
27290
27375
  interface Internal {
27291
27376
  readonly cli: Cli;
@@ -27295,5 +27380,4 @@ interface Internal {
27295
27380
  }
27296
27381
  /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
27297
27382
  declare const makeInternal: (client: Composio) => Internal;
27298
- //#endregion
27299
27383
  export { SessionConfigsRetrieveResponse as $, SessionExecuteResponse as $i, GenerateURLResponse as $n, LinkCreateResponse as $r, WebhookEndpointListParams as $t, PermissionsResolveParams as A, Scope as Aa, ToolListResponse$1 as Ai, LogRetrieveToolExecutionResponse as An, AuthConfigUpdateParams as Ar, UsageRetrieveParams as At, makeCli as B, InternalServerError as Ba, ToolRouter as Bi, McpDeleteResponse as Bn, ToolkitRetrieveCategoriesResponse as Br, makeOwner as Bt, TriggerListResponse as C, makeFiles$1 as Ca, Files as Ci, UsageRetrieveParams$1 as Cn, AuthConfigCreateParams as Cr, SessionRetrieveInfoResponse as Ct, Consumer$1 as D, AuthOf as Da, ToolGetInputParams as Di, makeUsage$1 as Dn, AuthConfigListParams as Dr, OrgListResponse as Dt, makeTriggers as E, AuthMode as Ea, ToolExecuteResponse as Ei, UsageRetrieveSummaryResponse$1 as En, AuthConfigDeleteResponse as Er, OrgListParams as Et, CliCreateCodactFailureResponse as F, APIUserAbortError as Fa, ToolRetrieveRequiredScopesParams as Fi, McpCreateInstanceResponse as Fn, makeAuthConfigs as Fr, Project$1 as Ft, makeRealtime as G, RequestOptions as Ga, SessionConfigHistoryParams as Gi, McpRetrieveAppParams as Gn, ToolkitRetrieveParams as Gr, ProjectDeleteResponse as Gt, RealtimeAuthParams as H, PermissionDeniedError as Ha, Session$1 as Hi, McpListInstancesResponse as Hn, ToolkitRetrieveChangelogResponse as Hr, ProjectCreateParams as Ht, CliCreateSessionParams as I, AuthenticationError as Ia, ToolRetrieveRequiredScopesResponse as Ii, McpCreateParams as In, ToolkitListParams as Ir, ProjectListParams as It, EnvironmentMap as J, createFetchTransport as Ja, SessionCreateResponse as Ji, McpUpdateParams as Jn, ToolkitRetrieveScopesGrantContextResponse as Jr, ProjectRegenerateAPIKeyResponse as Jt, ClientOptions as K, FetchTransportDefaults as Ka, SessionConfigHistoryResponse as Ki, McpRetrieveAppResponse as Kn, ToolkitRetrieveResponse as Kr, ProjectListParams$1 as Kt, CliCreateSessionResponse as L, BadRequestError as La, ToolRetrieveResponse$1 as Li, McpCreateResponse as Ln, ToolkitListResponse as Lr, ProjectListResponse as Lt, makePermissions as M, APIConnectionTimeoutError as Ma, ToolProxyResponse as Mi, makeLogs$1 as Mn, AuthConfigUpdateStatusParams as Mr, UsageRetrieveSummaryParams as Mt, Cli as N, APIError as Na, ToolRetrieveEnumResponse as Ni, Mcp as Nn, AuthConfigUpdateStatusResponse as Nr, UsageRetrieveSummaryResponse as Nt, makeConsumer$1 as O, AutoCredentials as Oa, ToolGetInputResponse as Oi, LogCreateToolExecutionParams as On, AuthConfigListResponse as Or, makeOrg$1 as Ot, CliCreateCodactFailureParams as P, APIErrorBody as Pa, ToolRetrieveParams as Pi, McpCreateInstanceParams as Pn, AuthConfigs as Pr, makeUsage as Pt, SessionConfigsListResponse as Q, SessionExecuteParams as Qi, GenerateURLParams as Qn, LinkCreateParams as Qr, WebhookEndpointCreateResponse as Qt, CliGetSessionParams as R, ComposioError as Ra, Tools$1 as Ri, McpDeleteInstanceParams as Rn, ToolkitRecommendScopesParams as Rr, makeProject$1 as Rt, TriggerListParams as S, Files$1 as Sa, FileListResponse as Si, Usage$1 as Sn, makeTriggersTypes as Sr, Session as St, Triggers as T, AuthConstructors as Ta, ToolExecuteParams as Ti, UsageRetrieveSummaryParams$1 as Tn, AuthConfigDeleteParams as Tr, Org$1 as Tt, RealtimeAuthResponse as U, RateLimitError as Ua, SessionAttachParams as Ui, McpListParams as Un, ToolkitRetrieveMultiParams as Ur, ProjectCreateResponse as Ut, Realtime as V, NotFoundError as Va, makeToolRouter as Vi, McpListInstancesParams as Vn, ToolkitRetrieveChangelogParams as Vr, Project$2 as Vt, RealtimeCredentialsResponse as W, UnprocessableEntityError as Wa, SessionAttachResponse as Wi, McpListResponse as Wn, ToolkitRetrieveMultiResponse as Wr, ProjectDeleteParams as Wt, SessionConfigs as X, HeadersLike as Xa, SessionExecuteMetaParams as Xi, makeMcp as Xn, makeToolkits as Xr, makeProject$2 as Xt, LogLevel as Y, ClientIdentity as Ya, SessionDeleteResponse as Yi, McpUpdateResponse as Yn, Toolkits as Yr, ProjectRetrieveResponse as Yt, SessionConfigsListParams as Z, APIPromise as Za, SessionExecuteMetaResponse as Zi, Generate as Zn, Link as Zr, WebhookEndpointCreateParams as Zt, ToolListParams as _, FileCreateUploadURLResponse as _a, ConnectedAccounts as _i, WebhookSubscriptionUpdateResponse as _n, TriggersTypeListResponse as _r, ApiKeyRevocationCreateParams as _t, Consumer as a, SessionProxyExecuteResponse as aa, ConnectedAccountDeleteParams as ai, WebhookEndpointUpdateResponse as an, TriggerInstanceListActiveParams as ar, CustomCreateToolkitParams as at, Tools as b, FileListParams$1 as ba, FileCreatePresignedURLResponse as bi, Project$3 as bn, TriggersTypeRetrieveResponse as br, Auth as bt, ConsumerRetrieveConfigResponse as c, SessionSearchResponse as ca, ConnectedAccountListResponse as ci, WebhookSubscriptionCreateParams as cn, TriggerInstanceUpsertResponse as cr, CustomDeleteToolkitResponse as ct, ProjectResolveParams as d, SessionToolsParams as da, ConnectedAccountRefreshParams as di, WebhookSubscriptionListEventTypesResponse as dn, Manage as dr, CustomUpdateToolkitsParams as dt, SessionLinkParams as ea, makeLink as ei, WebhookEndpointListResponse as en, makeGenerate as er, makeSessionConfigs as et, ProjectResolveResponse as f, SessionToolsResponse as fa, ConnectedAccountRefreshResponse as fi, WebhookSubscriptionListParams as fn, ManageDeleteResponse as fr, CustomUpdateToolkitsResponse as ft, ToolListFieldsResponse as g, FileCreateUploadURLParams as ga, ConnectedAccountUpdateStatusResponse as gi, WebhookSubscriptionUpdateParams as gn, TriggersTypeListParams as gr, ApiKeyRevocation as gt, makeLogs as h, FileCreateDownloadURLResponse as ha, ConnectedAccountUpdateStatusParams as hi, WebhookSubscriptionRotateSecretResponse as hn, makeManage as hr, makeCustom as ht, makeOrg as i, SessionProxyExecuteParams as ia, ConnectedAccountCreateResponse as ii, WebhookEndpointUpdateParams as in, makeCustom$1 as ir, Custom as it, PermissionsResolveResponse as j, APIConnectionError as ja, ToolProxyParams as ji, Logs$1 as jn, AuthConfigUpdateResponse as jr, UsageRetrieveResponse as jt, Permissions as k, Credential as ka, ToolListParams$1 as ki, LogCreateToolExecutionResponse as kn, AuthConfigRetrieveResponse as kr, Usage as kt, makeConsumer as l, SessionToolkitsParams as la, ConnectedAccountPatchParams as li, WebhookSubscriptionCreateResponse as ln, TriggerInstances as lr, CustomSyncParams as lt, Logs as m, FileCreateDownloadURLParams as ma, ConnectedAccountRevokeResponse as mi, WebhookSubscriptionRetrieveResponse as mn, ManageUpdateResponse as mr, CustomUpsertResponse as mt, makeInternal as n, SessionPatchParams as na, ConnectedAccountCompleteAuthResponse as ni, WebhookEndpointReplaceResponse as nn, CustomCreateParams as nr, KeyringListTransferKeysResponse as nt, ConsumerListConnectedToolkitsParams as o, SessionRetrieveResponse as oa, ConnectedAccountDeleteResponse as oi, WebhookEndpoints as on, TriggerInstanceListActiveResponse as or, CustomCreateToolkitResponse as ot, makeProject as p, makeSession$1 as pa, ConnectedAccountRetrieveResponse as pi, WebhookSubscriptionListResponse as pn, ManageUpdateParams as pr, CustomUpsertParams as pt, Composio as q, Transport as qa, SessionCreateParams as qi, McpRetrieveResponse as qn, ToolkitRetrieveScopesGrantContextParams as qr, ProjectListResponse$1 as qt, Org as r, SessionPatchResponse as ra, ConnectedAccountCreateParams as ri, WebhookEndpointRetrieveResponse as rn, CustomCreateResponse as rr, makeKeyring as rt, ConsumerListConnectedToolkitsResponse as s, SessionSearchParams as sa, ConnectedAccountListParams as si, makeWebhookEndpoints as sn, TriggerInstanceUpsertParams as sr, CustomDeleteToolkitParams as st, Internal as t, SessionLinkResponse as ta, ConnectedAccountCompleteAuthParams as ti, WebhookEndpointReplaceParams as tn, Custom$1 as tr, Keyring as tt, Project as u, SessionToolkitsResponse as ua, ConnectedAccountPatchResponse as ui, WebhookSubscriptionDeleteResponse as un, makeTriggerInstances as ur, CustomSyncResponse as ut, ToolListResponse as v, FileDeleteParams as va, makeConnectedAccounts as vi, WebhookSubscriptions as vn, TriggersTypeRetrieveEnumResponse as vr, ApiKeyRevocationCreateResponse as vt, TriggerRetrieveResponse as w, Auth$1 as wa, makeFiles as wi, UsageRetrieveResponse$1 as wn, AuthConfigCreateResponse as wr, makeSession as wt, makeTools as x, FileListResponse$1 as xa, FileListParams as xi, makeProject$3 as xn, TriggersTypes as xr, makeAuth as xt, ToolRetrieveResponse as y, FileDeleteResponse as ya, FileCreatePresignedURLParams as yi, makeWebhookSubscriptions as yn, TriggersTypeRetrieveParams as yr, makeApiKeyRevocation as yt, CliGetSessionResponse as z, ConflictError as za, makeTools$1 as zi, McpDeleteInstanceResponse as zn, ToolkitRecommendScopesResponse as zr, Owner as zt };