@composio/client 2.0.0-rc.11 → 2.0.0-rc.13

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 (500) hide show
  1. package/README.md +336 -4
  2. package/dist/{api-key-revocation-Dh-KSokR.mjs → api-key-revocation-Cepb5MPW.mjs} +2 -2
  3. package/dist/{auth-configs-yM05-r6r.mjs → auth-configs-DuClvjog.mjs} +1 -1
  4. package/dist/{auth-Drov-jN8.mjs → auth-g5G0n9oV.mjs} +2 -2
  5. package/dist/{clanker-BYmc69WC.mjs → clanker-D1NQWaPc.mjs} +2 -2
  6. package/dist/{cli-Ce8RT7yp.mjs → cli-CGKT5K03.mjs} +3 -3
  7. package/dist/{connected-accounts-D__sOoNZ.mjs → connected-accounts-C8CZoYC9.mjs} +3 -3
  8. package/dist/{consumer-DTh50Hih.mjs → consumer-C9YlbuuF.mjs} +3 -3
  9. package/dist/{custom-nlGufiDz.mjs → custom-C__H3Kph.mjs} +1 -1
  10. package/dist/{custom-CdC-6Y_i.mjs → custom-Dh-9BeLk.mjs} +1 -1
  11. package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
  12. package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
  13. package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
  14. package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
  15. package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
  16. package/dist/effect/schemas/auth-configs/create.mjs +22 -0
  17. package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
  18. package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
  19. package/dist/effect/schemas/auth-configs/list.d.mts +54 -0
  20. package/dist/effect/schemas/auth-configs/list.mjs +66 -0
  21. package/dist/effect/schemas/auth-configs/retrieve.d.mts +48 -0
  22. package/dist/effect/schemas/auth-configs/retrieve.mjs +60 -0
  23. package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
  24. package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
  25. package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
  26. package/dist/effect/schemas/auth-configs/update.mjs +11 -0
  27. package/dist/effect/schemas/cli/create-codact-failure.d.mts +9 -0
  28. package/dist/effect/schemas/cli/create-codact-failure.mjs +17 -0
  29. package/dist/effect/schemas/cli/create-session.d.mts +12 -0
  30. package/dist/effect/schemas/cli/create-session.mjs +26 -0
  31. package/dist/effect/schemas/cli/get-session.d.mts +18 -0
  32. package/dist/effect/schemas/cli/get-session.mjs +48 -0
  33. package/dist/effect/schemas/cli/realtime/auth.d.mts +9 -0
  34. package/dist/effect/schemas/cli/realtime/auth.mjs +11 -0
  35. package/dist/effect/schemas/cli/realtime/credentials.d.mts +10 -0
  36. package/dist/effect/schemas/cli/realtime/credentials.mjs +12 -0
  37. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
  38. package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
  39. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
  40. package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
  41. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
  42. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
  43. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
  44. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
  45. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
  46. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
  47. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
  48. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
  49. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
  50. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
  51. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
  52. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
  53. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
  54. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
  55. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
  56. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
  57. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
  58. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
  59. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
  60. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
  61. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
  62. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
  63. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
  64. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
  65. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
  66. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
  67. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
  68. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
  69. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
  70. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
  71. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
  72. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
  73. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
  74. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
  75. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
  76. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
  77. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
  78. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
  79. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
  80. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
  81. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
  82. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
  83. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
  84. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
  85. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
  86. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
  87. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
  88. package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
  89. package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
  90. package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
  91. package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
  92. package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
  93. package/dist/effect/schemas/components/execute-completed.d.mts +16 -0
  94. package/dist/effect/schemas/components/execute-completed.mjs +27 -0
  95. package/dist/effect/schemas/components/execute-failed.d.mts +16 -0
  96. package/dist/effect/schemas/components/execute-failed.mjs +27 -0
  97. package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
  98. package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
  99. package/dist/effect/schemas/components/instant-account.d.mts +12 -0
  100. package/dist/effect/schemas/components/instant-account.mjs +15 -0
  101. package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
  102. package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
  103. package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
  104. package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
  105. package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
  106. package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
  107. package/dist/effect/schemas/components/proxy-execute-completed.d.mts +17 -0
  108. package/dist/effect/schemas/components/proxy-execute-completed.mjs +36 -0
  109. package/dist/effect/schemas/components/session-create-response-config.d.mts +83 -0
  110. package/dist/effect/schemas/components/session-create-response-config.mjs +130 -0
  111. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
  112. package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
  113. package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
  114. package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
  115. package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
  116. package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
  117. package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
  118. package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
  119. package/dist/effect/schemas/components/tool-details.d.mts +51 -0
  120. package/dist/effect/schemas/components/tool-details.mjs +144 -0
  121. package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
  122. package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
  123. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +94 -0
  124. package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +141 -0
  125. package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
  126. package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
  127. package/dist/effect/schemas/components/tool.d.mts +51 -0
  128. package/dist/effect/schemas/components/tool.mjs +144 -0
  129. package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
  130. package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
  131. package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
  132. package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
  133. package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
  134. package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
  135. package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
  136. package/dist/effect/schemas/components/user-input-request.mjs +19 -0
  137. package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
  138. package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
  139. package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
  140. package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
  141. package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
  142. package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
  143. package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
  144. package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
  145. package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
  146. package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
  147. package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
  148. package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
  149. package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
  150. package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
  151. package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
  152. package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
  153. package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
  154. package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
  155. package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
  156. package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
  157. package/dist/effect/schemas/custom/sync.d.mts +10 -0
  158. package/dist/effect/schemas/custom/sync.mjs +21 -0
  159. package/dist/effect/schemas/custom/upsert.d.mts +8 -0
  160. package/dist/effect/schemas/custom/upsert.mjs +11 -0
  161. package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
  162. package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
  163. package/dist/effect/schemas/files/list.d.mts +18 -0
  164. package/dist/effect/schemas/files/list.mjs +20 -0
  165. package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
  166. package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
  167. package/dist/effect/schemas/link/create.d.mts +19 -0
  168. package/dist/effect/schemas/link/create.mjs +18 -0
  169. package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
  170. package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
  171. package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
  172. package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
  173. package/dist/effect/schemas/logs/tools/list-fields.d.mts +13 -0
  174. package/dist/effect/schemas/logs/tools/list-fields.mjs +13 -0
  175. package/dist/effect/schemas/logs/tools/list.d.mts +28 -0
  176. package/dist/effect/schemas/logs/tools/list.mjs +33 -0
  177. package/dist/effect/schemas/logs/tools/retrieve.d.mts +60 -0
  178. package/dist/effect/schemas/logs/tools/retrieve.mjs +74 -0
  179. package/dist/effect/schemas/logs/triggers/list.d.mts +34 -0
  180. package/dist/effect/schemas/logs/triggers/list.mjs +12 -0
  181. package/dist/effect/schemas/logs/triggers/retrieve.d.mts +33 -0
  182. package/dist/effect/schemas/logs/triggers/retrieve.mjs +9 -0
  183. package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
  184. package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
  185. package/dist/effect/schemas/mcp/create.d.mts +23 -0
  186. package/dist/effect/schemas/mcp/create.mjs +67 -0
  187. package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
  188. package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
  189. package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
  190. package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
  191. package/dist/effect/schemas/mcp/delete.d.mts +9 -0
  192. package/dist/effect/schemas/mcp/delete.mjs +17 -0
  193. package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
  194. package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
  195. package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
  196. package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
  197. package/dist/effect/schemas/mcp/list.d.mts +27 -0
  198. package/dist/effect/schemas/mcp/list.mjs +19 -0
  199. package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
  200. package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
  201. package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
  202. package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
  203. package/dist/effect/schemas/mcp/update.d.mts +24 -0
  204. package/dist/effect/schemas/mcp/update.mjs +68 -0
  205. package/dist/effect/schemas/org/clanker/create-claim.d.mts +9 -0
  206. package/dist/effect/schemas/org/clanker/create-claim.mjs +14 -0
  207. package/dist/effect/schemas/org/consumer/list-connected-toolkits.d.mts +8 -0
  208. package/dist/effect/schemas/org/consumer/list-connected-toolkits.mjs +8 -0
  209. package/dist/effect/schemas/org/consumer/project/resolve.d.mts +19 -0
  210. package/dist/effect/schemas/org/consumer/project/resolve.mjs +30 -0
  211. package/dist/effect/schemas/org/list.d.mts +17 -0
  212. package/dist/effect/schemas/org/list.mjs +22 -0
  213. package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
  214. package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
  215. package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
  216. package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
  217. package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
  218. package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
  219. package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
  220. package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
  221. package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
  222. package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
  223. package/dist/effect/schemas/org/project/list.d.mts +27 -0
  224. package/dist/effect/schemas/org/project/list.mjs +15 -0
  225. package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
  226. package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
  227. package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
  228. package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
  229. package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
  230. package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
  231. package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
  232. package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
  233. package/dist/effect/schemas/session-configs/list.d.mts +15 -0
  234. package/dist/effect/schemas/session-configs/list.mjs +26 -0
  235. package/dist/effect/schemas/session-configs/retrieve.d.mts +34 -0
  236. package/dist/effect/schemas/session-configs/retrieve.mjs +59 -0
  237. package/dist/effect/schemas/tool-router/session/attach.d.mts +128 -0
  238. package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
  239. package/dist/effect/schemas/tool-router/session/config-history.d.mts +93 -0
  240. package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
  241. package/dist/effect/schemas/tool-router/session/create.d.mts +128 -0
  242. package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
  243. package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
  244. package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
  245. package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +35 -0
  246. package/dist/effect/schemas/tool-router/session/execute-meta.mjs +15 -0
  247. package/dist/effect/schemas/tool-router/session/execute.d.mts +35 -0
  248. package/dist/effect/schemas/tool-router/session/execute.mjs +15 -0
  249. package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
  250. package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
  251. package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
  252. package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
  253. package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
  254. package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
  255. package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
  256. package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
  257. package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
  258. package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
  259. package/dist/effect/schemas/tool-router/session/patch.d.mts +128 -0
  260. package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
  261. package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +26 -0
  262. package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +10 -0
  263. package/dist/effect/schemas/tool-router/session/retrieve.d.mts +128 -0
  264. package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
  265. package/dist/effect/schemas/tool-router/session/search.d.mts +76 -0
  266. package/dist/effect/schemas/tool-router/session/search.mjs +74 -0
  267. package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
  268. package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
  269. package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
  270. package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
  271. package/dist/effect/schemas/toolkits/list.d.mts +42 -0
  272. package/dist/effect/schemas/toolkits/list.mjs +15 -0
  273. package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
  274. package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
  275. package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
  276. package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
  277. package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
  278. package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
  279. package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
  280. package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
  281. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
  282. package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
  283. package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
  284. package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
  285. package/dist/effect/schemas/tools/execute.d.mts +12 -0
  286. package/dist/effect/schemas/tools/execute.mjs +35 -0
  287. package/dist/effect/schemas/tools/get-input.d.mts +9 -0
  288. package/dist/effect/schemas/tools/get-input.mjs +22 -0
  289. package/dist/effect/schemas/tools/list.d.mts +56 -0
  290. package/dist/effect/schemas/tools/list.mjs +8 -0
  291. package/dist/effect/schemas/tools/proxy.d.mts +16 -0
  292. package/dist/effect/schemas/tools/proxy.mjs +36 -0
  293. package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
  294. package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
  295. package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
  296. package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
  297. package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
  298. package/dist/effect/schemas/tools/retrieve.mjs +8 -0
  299. package/dist/effect/schemas/trigger-instances/list-active.d.mts +34 -0
  300. package/dist/effect/schemas/trigger-instances/list-active.mjs +37 -0
  301. package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
  302. package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
  303. package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
  304. package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
  305. package/dist/effect/schemas/trigger-instances/upsert.d.mts +8 -0
  306. package/dist/effect/schemas/trigger-instances/upsert.mjs +8 -0
  307. package/dist/effect/schemas/triggers-types/list.d.mts +27 -0
  308. package/dist/effect/schemas/triggers-types/list.mjs +86 -0
  309. package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
  310. package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
  311. package/dist/effect/schemas/triggers-types/retrieve.d.mts +21 -0
  312. package/dist/effect/schemas/triggers-types/retrieve.mjs +80 -0
  313. package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
  314. package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
  315. package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
  316. package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
  317. package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
  318. package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
  319. package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
  320. package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
  321. package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
  322. package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
  323. package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
  324. package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
  325. package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
  326. package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
  327. package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
  328. package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
  329. package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
  330. package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
  331. package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
  332. package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
  333. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
  334. package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
  335. package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
  336. package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
  337. package/dist/effect/schemas.d.mts +9636 -0
  338. package/dist/effect/schemas.mjs +131 -0
  339. package/dist/effect.d.mts +749 -0
  340. package/dist/effect.mjs +1572 -0
  341. package/dist/{error-DLB1uKM3.mjs → error-D9cG225M.mjs} +15 -7
  342. package/dist/{files-RJPIH6iE.mjs → files-Azjc6Q8K.mjs} +1 -1
  343. package/dist/{files-DROCPzLP.mjs → files-D117G13q.mjs} +1 -1
  344. package/dist/{generate-mU4b3zJf.mjs → generate-CRTH0ELB.mjs} +1 -1
  345. package/dist/generated-deprecated-inputs-LDMdNcg5.mjs +201 -0
  346. package/dist/{generated-operations-CWhusMPU.mjs → generated-operations-CtVNMBUj.mjs} +13 -13
  347. package/dist/index.d.mts +2 -4
  348. package/dist/index.mjs +25 -212
  349. package/dist/{keyring-BzkcB1gu.mjs → keyring-Ct88j6tO.mjs} +1 -1
  350. package/dist/{link-CfIyH3nF.mjs → link-Cf--DVaO.mjs} +1 -1
  351. package/dist/{logs-D2wxXYiO.mjs → logs-Drxog1aA.mjs} +4 -5
  352. package/dist/{manage-Vc3jdRr_.mjs → manage-CE_6prdE.mjs} +1 -1
  353. package/dist/{mcp-DEe7xU7G.mjs → mcp-BH8R-5YV.mjs} +5 -5
  354. package/dist/{org-CYsl9O1u.mjs → org-Wf7f-Vv6.mjs} +7 -7
  355. package/dist/{owner-DmQb3AF5.mjs → owner-t5WgXUr3.mjs} +2 -2
  356. package/dist/pagination-rules-uMUdPq_7.mjs +36 -0
  357. package/dist/pagination.mjs +5 -9
  358. package/dist/{project-OSigfIdr.mjs → project-CbBPg2b6.mjs} +2 -2
  359. package/dist/{project-BVBWJzHm.mjs → project-CnnjwkO0.mjs} +2 -2
  360. package/dist/{project-DvSCDA9B.mjs → project-EfFVX-hX.mjs} +2 -2
  361. package/dist/{project-D-_r3H1_.mjs → project-p51XghZG.mjs} +2 -3
  362. package/dist/{realtime-Dsk1QGAl.mjs → realtime-BKG7w32e.mjs} +1 -1
  363. package/dist/resources/api-key-revocation.d.mts +1 -1
  364. package/dist/resources/api-key-revocation.mjs +1 -1
  365. package/dist/resources/auth/auth.d.mts +1 -1
  366. package/dist/resources/auth/auth.mjs +1 -1
  367. package/dist/resources/auth/index.d.mts +1 -1
  368. package/dist/resources/auth/index.mjs +2 -2
  369. package/dist/resources/auth/session.d.mts +1 -1
  370. package/dist/resources/auth/session.mjs +1 -1
  371. package/dist/resources/auth-configs.d.mts +1 -1
  372. package/dist/resources/auth-configs.mjs +1 -1
  373. package/dist/resources/auth.d.mts +1 -1
  374. package/dist/resources/auth.mjs +2 -2
  375. package/dist/resources/cli/cli.d.mts +1 -1
  376. package/dist/resources/cli/cli.mjs +1 -1
  377. package/dist/resources/cli/index.d.mts +1 -1
  378. package/dist/resources/cli/index.mjs +2 -2
  379. package/dist/resources/cli/realtime.d.mts +1 -1
  380. package/dist/resources/cli/realtime.mjs +1 -1
  381. package/dist/resources/cli.d.mts +1 -1
  382. package/dist/resources/cli.mjs +2 -2
  383. package/dist/resources/connected-accounts.d.mts +1 -1
  384. package/dist/resources/connected-accounts.mjs +1 -1
  385. package/dist/resources/custom.d.mts +1 -1
  386. package/dist/resources/custom.mjs +1 -1
  387. package/dist/resources/files.d.mts +1 -1
  388. package/dist/resources/files.mjs +1 -1
  389. package/dist/resources/index.d.mts +1 -1
  390. package/dist/resources/index.mjs +13 -13
  391. package/dist/resources/keyring.d.mts +1 -1
  392. package/dist/resources/keyring.mjs +1 -1
  393. package/dist/resources/link.d.mts +1 -1
  394. package/dist/resources/link.mjs +1 -1
  395. package/dist/resources/logs/index.d.mts +1 -1
  396. package/dist/resources/logs/index.mjs +3 -3
  397. package/dist/resources/logs/logs.d.mts +1 -1
  398. package/dist/resources/logs/logs.mjs +1 -1
  399. package/dist/resources/logs/tools.d.mts +1 -1
  400. package/dist/resources/logs/tools.mjs +1 -1
  401. package/dist/resources/logs/triggers.d.mts +1 -1
  402. package/dist/resources/logs/triggers.mjs +1 -1
  403. package/dist/resources/logs.d.mts +1 -1
  404. package/dist/resources/logs.mjs +3 -3
  405. package/dist/resources/mcp/custom.d.mts +1 -1
  406. package/dist/resources/mcp/custom.mjs +1 -1
  407. package/dist/resources/mcp/generate.d.mts +1 -1
  408. package/dist/resources/mcp/generate.mjs +1 -1
  409. package/dist/resources/mcp/index.d.mts +1 -1
  410. package/dist/resources/mcp/index.mjs +3 -3
  411. package/dist/resources/mcp/mcp.d.mts +1 -1
  412. package/dist/resources/mcp/mcp.mjs +1 -1
  413. package/dist/resources/mcp.d.mts +1 -1
  414. package/dist/resources/mcp.mjs +3 -3
  415. package/dist/resources/org/clanker.d.mts +1 -1
  416. package/dist/resources/org/clanker.mjs +1 -1
  417. package/dist/resources/org/consumer/consumer.d.mts +1 -1
  418. package/dist/resources/org/consumer/consumer.mjs +1 -1
  419. package/dist/resources/org/consumer/index.d.mts +1 -1
  420. package/dist/resources/org/consumer/index.mjs +2 -2
  421. package/dist/resources/org/consumer/project.d.mts +1 -1
  422. package/dist/resources/org/consumer/project.mjs +1 -1
  423. package/dist/resources/org/consumer.d.mts +1 -1
  424. package/dist/resources/org/consumer.mjs +2 -2
  425. package/dist/resources/org/index.d.mts +1 -1
  426. package/dist/resources/org/index.mjs +6 -6
  427. package/dist/resources/org/org.d.mts +1 -1
  428. package/dist/resources/org/org.mjs +1 -1
  429. package/dist/resources/org/owner/index.d.mts +1 -1
  430. package/dist/resources/org/owner/index.mjs +2 -2
  431. package/dist/resources/org/owner/owner.d.mts +1 -1
  432. package/dist/resources/org/owner/owner.mjs +1 -1
  433. package/dist/resources/org/owner/project.d.mts +1 -1
  434. package/dist/resources/org/owner/project.mjs +1 -1
  435. package/dist/resources/org/owner.d.mts +1 -1
  436. package/dist/resources/org/owner.mjs +2 -2
  437. package/dist/resources/org/project.d.mts +1 -1
  438. package/dist/resources/org/project.mjs +1 -1
  439. package/dist/resources/org/usage.d.mts +1 -1
  440. package/dist/resources/org/usage.mjs +1 -1
  441. package/dist/resources/org.d.mts +1 -1
  442. package/dist/resources/org.mjs +6 -6
  443. package/dist/resources/project/index.d.mts +1 -1
  444. package/dist/resources/project/index.mjs +1 -1
  445. package/dist/resources/project/project.d.mts +1 -1
  446. package/dist/resources/project/project.mjs +1 -1
  447. package/dist/resources/project/usage.d.mts +1 -1
  448. package/dist/resources/project/usage.mjs +1 -1
  449. package/dist/resources/project.d.mts +1 -1
  450. package/dist/resources/project.mjs +1 -1
  451. package/dist/resources/session-configs.d.mts +1 -1
  452. package/dist/resources/session-configs.mjs +1 -1
  453. package/dist/resources/tool-router/index.d.mts +1 -1
  454. package/dist/resources/tool-router/index.mjs +2 -2
  455. package/dist/resources/tool-router/session/files.d.mts +1 -1
  456. package/dist/resources/tool-router/session/files.mjs +1 -1
  457. package/dist/resources/tool-router/session/index.d.mts +1 -1
  458. package/dist/resources/tool-router/session/index.mjs +2 -2
  459. package/dist/resources/tool-router/session/session.d.mts +1 -1
  460. package/dist/resources/tool-router/session/session.mjs +1 -1
  461. package/dist/resources/tool-router/session.d.mts +1 -1
  462. package/dist/resources/tool-router/session.mjs +2 -2
  463. package/dist/resources/tool-router/tool-router.d.mts +1 -1
  464. package/dist/resources/tool-router/tool-router.mjs +1 -1
  465. package/dist/resources/tool-router.d.mts +1 -1
  466. package/dist/resources/tool-router.mjs +2 -2
  467. package/dist/resources/toolkits.d.mts +1 -1
  468. package/dist/resources/toolkits.mjs +1 -1
  469. package/dist/resources/tools.d.mts +1 -1
  470. package/dist/resources/tools.mjs +1 -1
  471. package/dist/resources/trigger-instances/index.d.mts +1 -1
  472. package/dist/resources/trigger-instances/index.mjs +2 -2
  473. package/dist/resources/trigger-instances/manage.d.mts +1 -1
  474. package/dist/resources/trigger-instances/manage.mjs +1 -1
  475. package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
  476. package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
  477. package/dist/resources/trigger-instances.d.mts +1 -1
  478. package/dist/resources/trigger-instances.mjs +2 -2
  479. package/dist/resources/triggers-types.d.mts +1 -1
  480. package/dist/resources/triggers-types.mjs +1 -1
  481. package/dist/resources/webhook-endpoints.d.mts +1 -1
  482. package/dist/resources/webhook-endpoints.mjs +1 -1
  483. package/dist/resources/webhook-subscriptions.d.mts +1 -1
  484. package/dist/resources/webhook-subscriptions.mjs +1 -1
  485. package/dist/{session-BUYbl8BA.mjs → session-BmNXoUzp.mjs} +3 -3
  486. package/dist/{session-DfISYrbs.mjs → session-Dr2pfpgr.mjs} +2 -3
  487. package/dist/{session-configs-CipRvstF.d.mts → session-configs-BCEkl1E-.d.mts} +67 -67
  488. package/dist/{tool-router-DJQ12uhs.mjs → tool-router-DUl_FyWW.mjs} +1 -1
  489. package/dist/{toolkits-CbdyRtvr.mjs → toolkits-NqNU3W0c.mjs} +2 -2
  490. package/dist/{tools-a29E_8La.mjs → tools-N4xcs_0a.mjs} +1 -1
  491. package/dist/{tools-DiH6dAto.mjs → tools-tclheOeG.mjs} +2 -2
  492. package/dist/{trigger-instances-Bg0n7X-d.mjs → trigger-instances-93_0xLWQ.mjs} +2 -2
  493. package/dist/{triggers-BoSFNGss.mjs → triggers-AZd9nfc9.mjs} +1 -1
  494. package/dist/{triggers-types-BPtTEwUA.mjs → triggers-types-Cop2FUpI.mjs} +1 -1
  495. package/dist/{usage-Cs10eWCd.mjs → usage-CGagRqsM.mjs} +2 -2
  496. package/dist/{usage-CHVyZ3tm.mjs → usage-CrsH3XJs.mjs} +2 -2
  497. package/dist/version-CVZVY0oU.d.mts +4 -0
  498. package/dist/{webhook-endpoints-B4lZc5YC.mjs → webhook-endpoints-B2b3GF14.mjs} +2 -3
  499. package/dist/{webhook-subscriptions-DJTSJd6K.mjs → webhook-subscriptions-CSP2_-0w.mjs} +2 -2
  500. package/package.json +27 -5
@@ -0,0 +1,174 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/auth/session/retrieve-info.ts
4
+ /** The 200 response of `GET /api/v3.1/auth/session/info`, which `client.auth.session.retrieveInfo` answers with. */
5
+ const SessionRetrieveInfoResponse = Schema.StructWithRest(Schema.Struct({
6
+ "project": Schema.Union([Schema.StructWithRest(Schema.Struct({
7
+ "auto_id": Schema.Number.annotate({
8
+ "description": "Internal auto-incrementing ID for the project",
9
+ "examples": [12345]
10
+ }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
11
+ "id": Schema.String.annotate({
12
+ "description": "UUID identifier for the project",
13
+ "examples": ["550e8400-e29b-41d4-a716-446655440000"]
14
+ }),
15
+ "org_id": Schema.String.annotate({
16
+ "description": "Organization UUID that this project belongs to",
17
+ "examples": ["550e8400-e29b-41d4-a716-446655440001"]
18
+ }),
19
+ "name": Schema.String.annotate({
20
+ "description": "User-defined name for the project",
21
+ "examples": ["Production API"]
22
+ }),
23
+ "email": Schema.String.annotate({
24
+ "description": "Email address used for project notifications",
25
+ "examples": ["project-123@composio.dev"]
26
+ }),
27
+ "nano_id": Schema.String.annotate({
28
+ "description": "Short, URL-friendly unique identifier for the project",
29
+ "examples": ["pr_1a2b3c4d5e6f"],
30
+ "format": "projectId"
31
+ }),
32
+ "created_at": Schema.String.annotate({
33
+ "description": "Date and time when the project was created",
34
+ "examples": ["2023-05-16T14:30:00.000Z"]
35
+ }),
36
+ "updated_at": Schema.String.annotate({
37
+ "description": "Date and time when the project was last modified",
38
+ "examples": ["2023-05-18T09:15:30.000Z"]
39
+ }),
40
+ "webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
41
+ "description": "Endpoint URL for trigger webhook notifications",
42
+ "examples": ["https://example.com/webhook"]
43
+ }),
44
+ "event_webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
45
+ "description": "Endpoint URL for event webhook notifications",
46
+ "examples": ["https://example.com/events"]
47
+ }),
48
+ "webhook_secret": Schema.Union([Schema.String, Schema.Null]).annotate({
49
+ "description": "Secret used to verify webhook signatures",
50
+ "examples": ["whsec_a1b2c3d4e5f6g7h8i9j0"]
51
+ }),
52
+ "triggers_enabled": Schema.Boolean.annotate({
53
+ "description": "Flag indicating if triggers are enabled for this project",
54
+ "examples": [true]
55
+ }),
56
+ "last_subscribed_at": Schema.Union([Schema.String, Schema.Null]).annotate({
57
+ "description": "Date and time when the project last subscribed to updates",
58
+ "examples": ["2023-05-17T10:00:00.000Z"]
59
+ }),
60
+ "deleted": Schema.Boolean.annotate({
61
+ "description": "Flag indicating if the project has been deleted",
62
+ "examples": [false]
63
+ }),
64
+ "is_new_webhook": Schema.Boolean.annotate({
65
+ "description": "Deprecated: Please refer to webhook_version instead. True indicates if the webhook configuration is using the previous new format (V2). False indicates the oldest format (V1)",
66
+ "examples": [true]
67
+ }),
68
+ "webhook_version": Schema.Literals([
69
+ "V1",
70
+ "V2",
71
+ "V3"
72
+ ]).annotate({
73
+ "description": "Version of the webhook configuration",
74
+ "examples": ["V2"]
75
+ }),
76
+ "org": Schema.StructWithRest(Schema.Struct({
77
+ "id": Schema.String.annotate({
78
+ "description": "Short, URL-friendly unique identifier for the organization",
79
+ "examples": ["ok_1a2b3c4d5e6f"],
80
+ "format": "orgId"
81
+ }),
82
+ "name": Schema.String.annotate({
83
+ "description": "User-defined name for the organization",
84
+ "examples": ["Acme Corp"]
85
+ }),
86
+ "plan": Schema.String.annotate({
87
+ "description": "Current subscription plan level",
88
+ "examples": ["BUSINESS"]
89
+ })
90
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Organization details" })
91
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null]).annotate({ "description": "Details of the current active project (null if accessing with org-level credentials)" }),
92
+ "api_key": Schema.Union([Schema.StructWithRest(Schema.Struct({
93
+ "auto_id": Schema.Number.annotate({
94
+ "description": "Internal auto-incrementing ID for the API key",
95
+ "examples": [7890]
96
+ }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
97
+ "id": Schema.String.annotate({
98
+ "description": "UUID identifier for the API key",
99
+ "examples": ["550e8400-e29b-41d4-a716-446655440003"]
100
+ }),
101
+ "name": Schema.String.annotate({
102
+ "description": "User-defined name for the API key",
103
+ "examples": ["Development Key"]
104
+ }),
105
+ "project_id": Schema.String.annotate({
106
+ "description": "Short, URL-friendly unique identifier for the associated project",
107
+ "examples": ["pr_1a2b3c4d5e6f"],
108
+ "format": "projectId"
109
+ }),
110
+ "org_member_id": Schema.String.annotate({
111
+ "description": "UUID identifier for the organization member who owns this API key",
112
+ "examples": ["550e8400-e29b-41d4-a716-446655440002"]
113
+ }),
114
+ "created_at": Schema.String.annotate({
115
+ "description": "Date and time when the API key was created",
116
+ "examples": ["2023-05-01T10:00:00.000Z"]
117
+ }),
118
+ "updated_at": Schema.String.annotate({
119
+ "description": "Date and time when the API key was last modified",
120
+ "examples": ["2023-05-01T10:00:00.000Z"]
121
+ }),
122
+ "deleted_at": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Date and time when the API key was deleted (if applicable)" }),
123
+ "key": Schema.String.annotate({
124
+ "description": "The actual API key value (usually only shown once during creation)",
125
+ "examples": ["ak_a1b2c3d4e5f6g7h8i9j0"]
126
+ }),
127
+ "deleted": Schema.Boolean.annotate({
128
+ "description": "Flag indicating if the API key has been deleted",
129
+ "examples": [false]
130
+ })
131
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null]).annotate({ "description": "Details of the API key used for authentication (null if using session auth)" }),
132
+ "org_member": Schema.StructWithRest(Schema.Struct({
133
+ "id": Schema.String.annotate({
134
+ "description": "UUID identifier for the organization member",
135
+ "examples": ["550e8400-e29b-41d4-a716-446655440002"]
136
+ }),
137
+ "email": Schema.String.annotate({
138
+ "description": "Email address of the authenticated user",
139
+ "examples": ["user@example.com"]
140
+ }),
141
+ "name": Schema.String.annotate({
142
+ "description": "Display name of the authenticated user",
143
+ "examples": ["John Doe"]
144
+ }),
145
+ "role": Schema.String.annotate({
146
+ "description": "Access role of the authenticated user within the organization",
147
+ "examples": ["admin"]
148
+ }),
149
+ "metadata": Schema.StructWithRest(Schema.Struct({
150
+ "prefers_old_dashboard": Schema.optionalKey(Schema.Boolean.annotate({ "description": "If true, the user will be redirected to the legacy dashboard at platform.composio.dev." })),
151
+ "onboarding_platform": Schema.optionalKey(Schema.Literals(["consumer", "developer"]).annotate({ "description": "Platform the user onboarded on." })),
152
+ "seen_flow_consumer": Schema.optionalKey(Schema.Boolean.annotate({ "description": "True once the user has completed the consumer onboarding flow." })),
153
+ "seen_flow_developer": Schema.optionalKey(Schema.Boolean.annotate({ "description": "True once the user has completed the developer onboarding flow." })),
154
+ "seen_flow_cli": Schema.optionalKey(Schema.Boolean.annotate({ "description": "True once the user has completed the CLI onboarding flow." })),
155
+ "seen_connect_announcement": Schema.optionalKey(Schema.Boolean.annotate({ "description": "True once the user has dismissed the Composio For You announcement modal in the developer dashboard." }))
156
+ }), [Schema.Record(Schema.String, Schema.Union([
157
+ Schema.String,
158
+ Schema.Boolean,
159
+ Schema.Number.check(Schema.isFinite().annotate({ "expected": "a finite number" }))
160
+ ]))]).annotate({ "description": "User metadata (JSONB). Typed keys are shown; additional keys pass through unchanged." })
161
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
162
+ "description": "Information about the authenticated user",
163
+ "examples": [{
164
+ "id": "550e8400-e29b-41d4-a716-446655440002",
165
+ "email": "user@example.com",
166
+ "name": "John Doe",
167
+ "role": "admin",
168
+ "metadata": { "prefers_old_dashboard": false }
169
+ }]
170
+ })
171
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Response containing user session information" });
172
+
173
+ //#endregion
174
+ export { SessionRetrieveInfoResponse };
@@ -0,0 +1,16 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/create.d.ts
3
+ /** The 201 response of `POST /api/v3.1/auth_configs`, which `client.authConfigs.create` answers with. */
4
+ declare const AuthConfigCreateResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly toolkit: Schema.StructWithRest<Schema.Struct<{
6
+ readonly slug: Schema.String;
7
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
8
+ readonly auth_config: Schema.StructWithRest<Schema.Struct<{
9
+ readonly id: Schema.String;
10
+ readonly auth_scheme: Schema.String;
11
+ readonly is_composio_managed: Schema.Boolean;
12
+ readonly restrict_to_following_tools: Schema.optionalKey<Schema.$Array<Schema.String>>;
13
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
14
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15
+ //#endregion
16
+ export { AuthConfigCreateResponse };
@@ -0,0 +1,22 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/auth-configs/create.ts
4
+ /** The 201 response of `POST /api/v3.1/auth_configs`, which `client.authConfigs.create` answers with. */
5
+ const AuthConfigCreateResponse = Schema.StructWithRest(Schema.Struct({
6
+ "toolkit": Schema.StructWithRest(Schema.Struct({ "slug": Schema.String.annotate({ "description": "The unique key of the toolkit" }) }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]),
7
+ "auth_config": Schema.StructWithRest(Schema.Struct({
8
+ "id": Schema.String.annotate({
9
+ "description": "The auth config id of the toolkit (must be a valid auth config id)",
10
+ "format": "authConfigId"
11
+ }),
12
+ "auth_scheme": Schema.String.annotate({ "description": "The authentication mode of the toolkit" }),
13
+ "is_composio_managed": Schema.Boolean.annotate({ "description": "Whether the auth config is managed by Composio" }),
14
+ "restrict_to_following_tools": Schema.optionalKey(Schema.Array(Schema.String).annotate({
15
+ "description": "The tools that the user can use with the auth config. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`.",
16
+ "default": []
17
+ }))
18
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])
19
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
20
+
21
+ //#endregion
22
+ export { AuthConfigCreateResponse };
@@ -0,0 +1,10 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/delete.d.ts
3
+ /** The 200 response of `DELETE /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.delete` answers with. */
4
+ declare const AuthConfigDeleteResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly success: Schema.Boolean;
6
+ readonly message: Schema.String;
7
+ readonly revoke_job_id: Schema.optionalKey<Schema.String>;
8
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
9
+ //#endregion
10
+ export { AuthConfigDeleteResponse };
@@ -0,0 +1,15 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/auth-configs/delete.ts
4
+ /** The 200 response of `DELETE /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.delete` answers with. */
5
+ const AuthConfigDeleteResponse = Schema.StructWithRest(Schema.Struct({
6
+ "success": Schema.Boolean.annotate({ "description": "Whether the auth config was deleted" }),
7
+ "message": Schema.String.annotate({ "description": "A human-readable result message" }),
8
+ "revoke_job_id": Schema.optionalKey(Schema.String.annotate({
9
+ "description": "Identifier of the background revoke job started for this delete. Present only when `revoke_on_delete=true`. Track the job and its per-connection results from the Composio dashboard — a programmatic endpoint to poll this job is not yet generally available.",
10
+ "examples": ["pj_1a2b3c4d5e6f"]
11
+ }))
12
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
13
+
14
+ //#endregion
15
+ export { AuthConfigDeleteResponse };
@@ -0,0 +1,54 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/list.d.ts
3
+ /** The 200 response of `GET /api/v3.1/auth_configs`, which `client.authConfigs.list` answers with. */
4
+ declare const AuthConfigListResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
6
+ readonly id: Schema.String;
7
+ readonly uuid: Schema.String;
8
+ readonly type: Schema.Literals<readonly ["default", "custom"]>;
9
+ readonly toolkit: Schema.StructWithRest<Schema.Struct<{
10
+ readonly slug: Schema.String;
11
+ readonly logo: Schema.String;
12
+ readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
13
+ readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
14
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15
+ readonly name: Schema.String;
16
+ readonly auth_scheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
17
+ readonly is_composio_managed: Schema.optionalKey<Schema.Boolean>;
18
+ readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
19
+ readonly proxy_config: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
20
+ readonly proxy_url: Schema.String;
21
+ readonly proxy_auth_key: Schema.optionalKey<Schema.String>;
22
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>>;
23
+ readonly status: Schema.Literals<readonly ["ENABLED", "DISABLED"]>;
24
+ readonly created_by: Schema.optionalKey<Schema.String>;
25
+ readonly created_at: Schema.optionalKey<Schema.String>;
26
+ readonly last_updated_at: Schema.optionalKey<Schema.String>;
27
+ readonly no_of_connections: Schema.Number;
28
+ readonly expected_input_fields: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
29
+ readonly name: Schema.String;
30
+ readonly displayName: Schema.String;
31
+ readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
32
+ readonly type: Schema.String;
33
+ readonly description: Schema.String;
34
+ readonly required: Schema.Boolean;
35
+ readonly is_secret: Schema.optionalKey<Schema.Boolean>;
36
+ readonly legacy_template_name: Schema.optionalKey<Schema.String>;
37
+ readonly user_visible: Schema.Boolean;
38
+ readonly is_available_as_shared_credentials: Schema.optionalKey<Schema.Boolean>;
39
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
40
+ readonly restrict_to_following_tools: Schema.optionalKey<Schema.$Array<Schema.String>>;
41
+ readonly tool_access_config: Schema.StructWithRest<Schema.Struct<{
42
+ readonly tools_for_connected_account_creation: Schema.optionalKey<Schema.$Array<Schema.String>>;
43
+ readonly tools_available_for_execution: Schema.optionalKey<Schema.$Array<Schema.String>>;
44
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
45
+ readonly shared_credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
46
+ readonly is_enabled_for_tool_router: Schema.optionalKey<Schema.Boolean>;
47
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
48
+ readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
49
+ readonly total_pages: Schema.Number;
50
+ readonly current_page: Schema.Number;
51
+ readonly total_items: Schema.Number;
52
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
53
+ //#endregion
54
+ export { AuthConfigListResponse };
@@ -0,0 +1,66 @@
1
+ import { AuthConfigRetrieveResponseExpectedInputFields } from "../components/auth-config-retrieve-response-expected-input-fields.mjs";
2
+ import { AuthConfigRetrieveResponseToolAccessConfig } from "../components/auth-config-retrieve-response-tool-access-config.mjs";
3
+ import * as Schema from "effect/Schema";
4
+
5
+ //#region src/effect/generated/schemas/auth-configs/list.ts
6
+ /** The 200 response of `GET /api/v3.1/auth_configs`, which `client.authConfigs.list` answers with. */
7
+ const AuthConfigListResponse = Schema.StructWithRest(Schema.Struct({
8
+ "items": Schema.Array(Schema.StructWithRest(Schema.Struct({
9
+ "id": Schema.String.annotate({
10
+ "description": "The unique ID of the authentication configuration",
11
+ "format": "authConfigId"
12
+ }),
13
+ "uuid": Schema.String.annotate({ "description": "The UUID of the authentication configuration (for backward compatibility)" }),
14
+ "type": Schema.Literals(["default", "custom"]).annotate({ "description": "The type of the authentication configuration (custom or default)" }),
15
+ "toolkit": Schema.StructWithRest(Schema.Struct({
16
+ "slug": Schema.String.annotate({ "description": "The unique identifier of the integration app" }),
17
+ "logo": Schema.String.annotate({ "description": "The URL to the integration app's logo image" }),
18
+ "auth_guide_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a guide page with authentication setup instructions" })),
19
+ "auth_hint_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a page where users can obtain or configure credentials" }))
20
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Information about the associated integration" }),
21
+ "name": Schema.String.annotate({ "description": "The display name of the authentication configuration" }),
22
+ "auth_scheme": Schema.optionalKey(Schema.Literals([
23
+ "OAUTH2",
24
+ "OAUTH1",
25
+ "API_KEY",
26
+ "BASIC",
27
+ "BILLCOM_AUTH",
28
+ "BEARER_TOKEN",
29
+ "GOOGLE_SERVICE_ACCOUNT",
30
+ "NO_AUTH",
31
+ "BASIC_WITH_JWT",
32
+ "CALCOM_AUTH",
33
+ "SERVICE_ACCOUNT",
34
+ "SAML",
35
+ "DCR_OAUTH",
36
+ "CIMD_OAUTH",
37
+ "S2S_OAUTH2"
38
+ ]).annotate({ "description": "The authentication scheme used (e.g., OAuth2, API Key, etc.)" })),
39
+ "is_composio_managed": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this authentication configuration is managed by Composio or the user" })),
40
+ "credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "The authentication credentials (tokens, keys, etc.) - may be partially hidden for security" })),
41
+ "proxy_config": Schema.optionalKey(Schema.Union([Schema.StructWithRest(Schema.Struct({
42
+ "proxy_url": Schema.String.annotate({
43
+ "description": "The url of the auth proxy",
44
+ "format": "uri"
45
+ }),
46
+ "proxy_auth_key": Schema.optionalKey(Schema.String.annotate({ "description": "The auth key for the auth proxy" }))
47
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null])),
48
+ "status": Schema.Literals(["ENABLED", "DISABLED"]).annotate({ "description": "Current status of the authentication configuration" }),
49
+ "created_by": Schema.optionalKey(Schema.String.annotate({ "description": "The identifier of the user who created the auth config" })),
50
+ "created_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was created" })),
51
+ "last_updated_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was last updated" })),
52
+ "no_of_connections": Schema.Number.annotate({ "description": "The number of active connections using this auth config" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
53
+ "expected_input_fields": Schema.optionalKey(AuthConfigRetrieveResponseExpectedInputFields),
54
+ "restrict_to_following_tools": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "List of tool slugs this auth config is restricted to use with. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`." })),
55
+ "tool_access_config": AuthConfigRetrieveResponseToolAccessConfig,
56
+ "shared_credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "[EXPERIMENTAL] Shared credentials that will be inherited by all connected accounts using this auth config" })),
57
+ "is_enabled_for_tool_router": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this auth config is enabled for tool router" }))
58
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
59
+ "next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
60
+ "total_pages": Schema.Number.check(Schema.isFinite().annotate({ "expected": "a finite number" })),
61
+ "current_page": Schema.Number.check(Schema.isFinite().annotate({ "expected": "a finite number" })),
62
+ "total_items": Schema.Number.check(Schema.isFinite().annotate({ "expected": "a finite number" }))
63
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
64
+
65
+ //#endregion
66
+ export { AuthConfigListResponse };
@@ -0,0 +1,48 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/retrieve.d.ts
3
+ /** The 200 response of `GET /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.retrieve` answers with. */
4
+ declare const AuthConfigRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly id: Schema.String;
6
+ readonly uuid: Schema.String;
7
+ readonly type: Schema.Literals<readonly ["default", "custom"]>;
8
+ readonly toolkit: Schema.StructWithRest<Schema.Struct<{
9
+ readonly slug: Schema.String;
10
+ readonly logo: Schema.String;
11
+ readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
12
+ readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
13
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
14
+ readonly name: Schema.String;
15
+ readonly auth_scheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
16
+ readonly is_composio_managed: Schema.optionalKey<Schema.Boolean>;
17
+ readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
18
+ readonly proxy_config: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
19
+ readonly proxy_url: Schema.String;
20
+ readonly proxy_auth_key: Schema.optionalKey<Schema.String>;
21
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>>;
22
+ readonly status: Schema.Literals<readonly ["ENABLED", "DISABLED"]>;
23
+ readonly created_by: Schema.optionalKey<Schema.String>;
24
+ readonly created_at: Schema.optionalKey<Schema.String>;
25
+ readonly last_updated_at: Schema.optionalKey<Schema.String>;
26
+ readonly no_of_connections: Schema.Number;
27
+ readonly expected_input_fields: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
28
+ readonly name: Schema.String;
29
+ readonly displayName: Schema.String;
30
+ readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
31
+ readonly type: Schema.String;
32
+ readonly description: Schema.String;
33
+ readonly required: Schema.Boolean;
34
+ readonly is_secret: Schema.optionalKey<Schema.Boolean>;
35
+ readonly legacy_template_name: Schema.optionalKey<Schema.String>;
36
+ readonly user_visible: Schema.Boolean;
37
+ readonly is_available_as_shared_credentials: Schema.optionalKey<Schema.Boolean>;
38
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
39
+ readonly restrict_to_following_tools: Schema.optionalKey<Schema.$Array<Schema.String>>;
40
+ readonly tool_access_config: Schema.StructWithRest<Schema.Struct<{
41
+ readonly tools_for_connected_account_creation: Schema.optionalKey<Schema.$Array<Schema.String>>;
42
+ readonly tools_available_for_execution: Schema.optionalKey<Schema.$Array<Schema.String>>;
43
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
44
+ readonly shared_credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
45
+ readonly is_enabled_for_tool_router: Schema.optionalKey<Schema.Boolean>;
46
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
47
+ //#endregion
48
+ export { AuthConfigRetrieveResponse };
@@ -0,0 +1,60 @@
1
+ import { AuthConfigRetrieveResponseExpectedInputFields } from "../components/auth-config-retrieve-response-expected-input-fields.mjs";
2
+ import { AuthConfigRetrieveResponseToolAccessConfig } from "../components/auth-config-retrieve-response-tool-access-config.mjs";
3
+ import * as Schema from "effect/Schema";
4
+
5
+ //#region src/effect/generated/schemas/auth-configs/retrieve.ts
6
+ /** The 200 response of `GET /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.retrieve` answers with. */
7
+ const AuthConfigRetrieveResponse = Schema.StructWithRest(Schema.Struct({
8
+ "id": Schema.String.annotate({
9
+ "description": "The unique ID of the authentication configuration",
10
+ "format": "authConfigId"
11
+ }),
12
+ "uuid": Schema.String.annotate({ "description": "The UUID of the authentication configuration (for backward compatibility)" }),
13
+ "type": Schema.Literals(["default", "custom"]).annotate({ "description": "The type of the authentication configuration (custom or default)" }),
14
+ "toolkit": Schema.StructWithRest(Schema.Struct({
15
+ "slug": Schema.String.annotate({ "description": "The unique identifier of the integration app" }),
16
+ "logo": Schema.String.annotate({ "description": "The URL to the integration app's logo image" }),
17
+ "auth_guide_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a guide page with authentication setup instructions" })),
18
+ "auth_hint_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a page where users can obtain or configure credentials" }))
19
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Information about the associated integration" }),
20
+ "name": Schema.String.annotate({ "description": "The display name of the authentication configuration" }),
21
+ "auth_scheme": Schema.optionalKey(Schema.Literals([
22
+ "OAUTH2",
23
+ "OAUTH1",
24
+ "API_KEY",
25
+ "BASIC",
26
+ "BILLCOM_AUTH",
27
+ "BEARER_TOKEN",
28
+ "GOOGLE_SERVICE_ACCOUNT",
29
+ "NO_AUTH",
30
+ "BASIC_WITH_JWT",
31
+ "CALCOM_AUTH",
32
+ "SERVICE_ACCOUNT",
33
+ "SAML",
34
+ "DCR_OAUTH",
35
+ "CIMD_OAUTH",
36
+ "S2S_OAUTH2"
37
+ ]).annotate({ "description": "The authentication scheme used (e.g., OAuth2, API Key, etc.)" })),
38
+ "is_composio_managed": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this authentication configuration is managed by Composio or the user" })),
39
+ "credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "The authentication credentials (tokens, keys, etc.) - may be partially hidden for security" })),
40
+ "proxy_config": Schema.optionalKey(Schema.Union([Schema.StructWithRest(Schema.Struct({
41
+ "proxy_url": Schema.String.annotate({
42
+ "description": "The url of the auth proxy",
43
+ "format": "uri"
44
+ }),
45
+ "proxy_auth_key": Schema.optionalKey(Schema.String.annotate({ "description": "The auth key for the auth proxy" }))
46
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null])),
47
+ "status": Schema.Literals(["ENABLED", "DISABLED"]).annotate({ "description": "Current status of the authentication configuration" }),
48
+ "created_by": Schema.optionalKey(Schema.String.annotate({ "description": "The identifier of the user who created the auth config" })),
49
+ "created_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was created" })),
50
+ "last_updated_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was last updated" })),
51
+ "no_of_connections": Schema.Number.annotate({ "description": "The number of active connections using this auth config" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
52
+ "expected_input_fields": Schema.optionalKey(AuthConfigRetrieveResponseExpectedInputFields),
53
+ "restrict_to_following_tools": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "List of tool slugs this auth config is restricted to use with. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`." })),
54
+ "tool_access_config": AuthConfigRetrieveResponseToolAccessConfig,
55
+ "shared_credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "[EXPERIMENTAL] Shared credentials that will be inherited by all connected accounts using this auth config" })),
56
+ "is_enabled_for_tool_router": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this auth config is enabled for tool router" }))
57
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
58
+
59
+ //#endregion
60
+ export { AuthConfigRetrieveResponse };
@@ -0,0 +1,9 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/update-status.d.ts
3
+ /** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}/{status}`, which `client.authConfigs.updateStatus` answers with. */
4
+ declare const AuthConfigUpdateStatusResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly success: Schema.Boolean;
6
+ readonly message: Schema.String;
7
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
8
+ //#endregion
9
+ export { AuthConfigUpdateStatusResponse };
@@ -0,0 +1,11 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/auth-configs/update-status.ts
4
+ /** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}/{status}`, which `client.authConfigs.updateStatus` answers with. */
5
+ const AuthConfigUpdateStatusResponse = Schema.StructWithRest(Schema.Struct({
6
+ "success": Schema.Boolean.annotate({ "description": "Whether the status update succeeded" }),
7
+ "message": Schema.String.annotate({ "description": "A human-readable result message" })
8
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
9
+
10
+ //#endregion
11
+ export { AuthConfigUpdateStatusResponse };
@@ -0,0 +1,9 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/auth-configs/update.d.ts
3
+ /** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.update` answers with. */
4
+ declare const AuthConfigUpdateResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly success: Schema.Boolean;
6
+ readonly message: Schema.String;
7
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
8
+ //#endregion
9
+ export { AuthConfigUpdateResponse };
@@ -0,0 +1,11 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/auth-configs/update.ts
4
+ /** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.update` answers with. */
5
+ const AuthConfigUpdateResponse = Schema.StructWithRest(Schema.Struct({
6
+ "success": Schema.Boolean.annotate({ "description": "Whether the auth config was updated" }),
7
+ "message": Schema.String.annotate({ "description": "A human-readable result message" })
8
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
9
+
10
+ //#endregion
11
+ export { AuthConfigUpdateResponse };
@@ -0,0 +1,9 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/cli/create-codact-failure.d.ts
3
+ /** The 200 response of `POST /api/v3.1/cli/codact_failures`, which `client.cli.createCodactFailure` answers with. */
4
+ declare const CliCreateCodactFailureResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly tracked: Schema.Boolean;
6
+ readonly id: Schema.String;
7
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
8
+ //#endregion
9
+ export { CliCreateCodactFailureResponse };
@@ -0,0 +1,17 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/cli/create-codact-failure.ts
4
+ /** The 200 response of `POST /api/v3.1/cli/codact_failures`, which `client.cli.createCodactFailure` answers with. */
5
+ const CliCreateCodactFailureResponse = Schema.StructWithRest(Schema.Struct({
6
+ "tracked": Schema.Boolean.annotate({
7
+ "description": "Whether the codact failure row was accepted for storage.",
8
+ "examples": [true]
9
+ }),
10
+ "id": Schema.String.annotate({
11
+ "description": "Unique identifier for the stored failure row.",
12
+ "examples": ["5f6f7a1d-72d1-4f7c-bf3a-2fd7421bc123"]
13
+ })
14
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
15
+
16
+ //#endregion
17
+ export { CliCreateCodactFailureResponse };
@@ -0,0 +1,12 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/cli/create-session.d.ts
3
+ /** The 201 response of `POST /api/v3.1/cli/create-session`, which `client.cli.createSession` answers with. */
4
+ declare const CliCreateSessionResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly id: Schema.String;
6
+ readonly code: Schema.String;
7
+ readonly expiresAt: Schema.String;
8
+ readonly status: Schema.Literals<readonly ["pending", "linked"]>;
9
+ readonly scope: Schema.Literals<readonly ["project", "user"]>;
10
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
11
+ //#endregion
12
+ export { CliCreateSessionResponse };
@@ -0,0 +1,26 @@
1
+ import * as Schema from "effect/Schema";
2
+
3
+ //#region src/effect/generated/schemas/cli/create-session.ts
4
+ /** The 201 response of `POST /api/v3.1/cli/create-session`, which `client.cli.createSession` answers with. */
5
+ const CliCreateSessionResponse = Schema.StructWithRest(Schema.Struct({
6
+ "id": Schema.String.annotate({ "description": "Unique identifier for the CLI session. UUID v4 format used for tracking and retrieval." }),
7
+ "code": Schema.String.annotate({
8
+ "description": "The 6-character hexadecimal code used for CLI login",
9
+ "examples": ["ABC123"]
10
+ }),
11
+ "expiresAt": Schema.String.annotate({
12
+ "description": "The ISO timestamp when the session expires",
13
+ "examples": ["2023-01-01T12:00:00.000Z"]
14
+ }),
15
+ "status": Schema.Literals(["pending", "linked"]).annotate({
16
+ "description": "The current status of the session",
17
+ "examples": ["pending"]
18
+ }),
19
+ "scope": Schema.Literals(["project", "user"]).annotate({
20
+ "description": "The key scope for this session",
21
+ "examples": ["project"]
22
+ })
23
+ }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
24
+
25
+ //#endregion
26
+ export { CliCreateSessionResponse };
@@ -0,0 +1,18 @@
1
+ import * as Schema from "effect/Schema";
2
+ //#region src/effect/generated/schemas/cli/get-session.d.ts
3
+ /** The 200 response of `GET /api/v3.1/cli/get-session`, which `client.cli.getSession` answers with. */
4
+ declare const CliGetSessionResponse: Schema.StructWithRest<Schema.Struct<{
5
+ readonly id: Schema.String;
6
+ readonly code: Schema.String;
7
+ readonly status: Schema.Literals<readonly ["pending", "linked"]>;
8
+ readonly expiresAt: Schema.String;
9
+ readonly account: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
10
+ readonly id: Schema.String;
11
+ readonly email: Schema.String;
12
+ readonly name: Schema.String;
13
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>;
14
+ readonly api_key: Schema.Union<readonly [Schema.String, Schema.Null]>;
15
+ readonly scope: Schema.Union<readonly [Schema.Literals<readonly ["project", "user"]>, Schema.Null]>;
16
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
17
+ //#endregion
18
+ export { CliGetSessionResponse };