@composio/client 2.0.0-rc.9 → 2.0.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.
- package/LICENSE +202 -0
- package/MIGRATION.md +164 -0
- package/README.md +499 -39
- package/dist/{session-configs-DC9dblKH.d.mts → _internal-BBZ8gsxI.d.mts} +2297 -1749
- package/dist/_internal-C4YQE9nG.d.mts +281 -0
- package/dist/effect/internal.d.mts +9 -0
- package/dist/effect/internal.mjs +1 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +17 -0
- package/dist/effect/schemas/_internal/cli/create-session.d.mts +12 -0
- package/dist/effect/schemas/_internal/cli/create-session.mjs +26 -0
- package/dist/effect/schemas/_internal/cli/get-session.d.mts +18 -0
- package/dist/effect/schemas/_internal/cli/get-session.mjs +48 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +11 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +10 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +12 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +13 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +20 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list.d.mts +28 -0
- package/dist/effect/schemas/_internal/logs/tools/list.mjs +33 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +60 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +74 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +34 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.mjs +12 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +33 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +9 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +8 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +8 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +20 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +31 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +10 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +18 -0
- package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
- package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
- package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
- package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
- package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
- package/dist/effect/schemas/auth-configs/create.mjs +22 -0
- package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
- package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
- package/dist/effect/schemas/auth-configs/list.d.mts +55 -0
- package/dist/effect/schemas/auth-configs/list.mjs +67 -0
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +49 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +61 -0
- package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
- package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update.mjs +11 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
- package/dist/effect/schemas/components/block-reason.d.mts +12 -0
- package/dist/effect/schemas/components/block-reason.mjs +14 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
- package/dist/effect/schemas/components/execute-blocked.d.mts +30 -0
- package/dist/effect/schemas/components/execute-blocked.mjs +24 -0
- package/dist/effect/schemas/components/execute-completed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-completed.mjs +29 -0
- package/dist/effect/schemas/components/execute-failed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-failed.mjs +29 -0
- package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
- package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
- package/dist/effect/schemas/components/hook-result.d.mts +13 -0
- package/dist/effect/schemas/components/hook-result.mjs +15 -0
- package/dist/effect/schemas/components/instant-account.d.mts +12 -0
- package/dist/effect/schemas/components/instant-account.mjs +15 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
- package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
- package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
- package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
- package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +24 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.mjs +18 -0
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +25 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +38 -0
- package/dist/effect/schemas/components/session-create-response-config.d.mts +112 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +167 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
- package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
- package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
- package/dist/effect/schemas/components/tool-details.d.mts +51 -0
- package/dist/effect/schemas/components/tool-details.mjs +144 -0
- package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
- package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +123 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +178 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
- package/dist/effect/schemas/components/tool.d.mts +51 -0
- package/dist/effect/schemas/components/tool.mjs +144 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
- package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
- package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
- package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
- package/dist/effect/schemas/components/user-input-request.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
- package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
- package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
- package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
- package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
- package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
- package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
- package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
- package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
- package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
- package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
- package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
- package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
- package/dist/effect/schemas/custom/sync.d.mts +10 -0
- package/dist/effect/schemas/custom/sync.mjs +21 -0
- package/dist/effect/schemas/custom/upsert.d.mts +8 -0
- package/dist/effect/schemas/custom/upsert.mjs +11 -0
- package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
- package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
- package/dist/effect/schemas/files/list.d.mts +18 -0
- package/dist/effect/schemas/files/list.mjs +20 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
- package/dist/effect/schemas/link/create.d.mts +19 -0
- package/dist/effect/schemas/link/create.mjs +18 -0
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
- package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
- package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
- package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
- package/dist/effect/schemas/mcp/create.d.mts +23 -0
- package/dist/effect/schemas/mcp/create.mjs +67 -0
- package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
- package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
- package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
- package/dist/effect/schemas/mcp/delete.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete.mjs +17 -0
- package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
- package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
- package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
- package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
- package/dist/effect/schemas/mcp/list.d.mts +27 -0
- package/dist/effect/schemas/mcp/list.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
- package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
- package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
- package/dist/effect/schemas/mcp/update.d.mts +24 -0
- package/dist/effect/schemas/mcp/update.mjs +68 -0
- package/dist/effect/schemas/org/list.d.mts +17 -0
- package/dist/effect/schemas/org/list.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
- package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
- package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
- package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
- package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
- package/dist/effect/schemas/org/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/project/list.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/session-configs/list.d.mts +15 -0
- package/dist/effect/schemas/session-configs/list.mjs +26 -0
- package/dist/effect/schemas/session-configs/retrieve.d.mts +45 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +103 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +122 -0
- package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
- package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
- package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
- package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
- package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
- package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
- package/dist/effect/schemas/tool-router/session/patch.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +52 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/search.d.mts +80 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +78 -0
- package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
- package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
- package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
- package/dist/effect/schemas/toolkits/list.d.mts +42 -0
- package/dist/effect/schemas/toolkits/list.mjs +15 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
- package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
- package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
- package/dist/effect/schemas/tools/execute.d.mts +12 -0
- package/dist/effect/schemas/tools/execute.mjs +35 -0
- package/dist/effect/schemas/tools/get-input.d.mts +9 -0
- package/dist/effect/schemas/tools/get-input.mjs +22 -0
- package/dist/effect/schemas/tools/list.d.mts +56 -0
- package/dist/effect/schemas/tools/list.mjs +8 -0
- package/dist/effect/schemas/tools/proxy.d.mts +16 -0
- package/dist/effect/schemas/tools/proxy.mjs +36 -0
- package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
- package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
- package/dist/effect/schemas/tools/retrieve.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/list-active.d.mts +37 -0
- package/dist/effect/schemas/trigger-instances/list-active.mjs +49 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
- package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.d.mts +11 -0
- package/dist/effect/schemas/trigger-instances/upsert.mjs +22 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +28 -0
- package/dist/effect/schemas/triggers-types/list.mjs +90 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +22 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +84 -0
- package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
- package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
- package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
- package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
- package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
- package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
- package/dist/effect/schemas.d.mts +9922 -0
- package/dist/effect/schemas.mjs +132 -0
- package/dist/effect.d.mts +505 -0
- package/dist/effect.mjs +1632 -0
- package/dist/environments-BFGXNbF0.mjs +230 -0
- package/dist/environments-cVbMu7FC.d.mts +19 -0
- package/dist/{error-DLB1uKM3.mjs → error-Bw7_G2NZ.mjs} +16 -8
- package/dist/{generated-operations-BDdFa2UY.mjs → generated-operations-DXMQK5w5.mjs} +617 -275
- package/dist/index.d.mts +3 -5
- package/dist/index.mjs +132 -425
- package/dist/internal.d.mts +9 -0
- package/dist/internal.mjs +1 -0
- package/dist/pagination-rules-CMnBwktJ.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/resources/_internal/_internal.d.mts +2 -0
- package/dist/resources/_internal/_internal.mjs +16 -0
- package/dist/resources/_internal/cli/cli.d.mts +2 -0
- package/dist/resources/_internal/cli/cli.mjs +33 -0
- package/dist/resources/_internal/cli/realtime.d.mts +2 -0
- package/dist/resources/_internal/cli/realtime.mjs +20 -0
- package/dist/resources/_internal/cli.d.mts +2 -0
- package/dist/resources/_internal/cli.mjs +1 -0
- package/dist/resources/_internal/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer/consumer.mjs +8 -0
- package/dist/resources/_internal/consumer/permissions.d.mts +2 -0
- package/dist/resources/_internal/consumer/permissions.mjs +14 -0
- package/dist/resources/_internal/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer.mjs +1 -0
- package/dist/resources/_internal/logs/logs.d.mts +2 -0
- package/dist/resources/_internal/logs/logs.mjs +12 -0
- package/dist/resources/_internal/logs/tools.d.mts +2 -0
- package/dist/resources/_internal/logs/tools.mjs +24 -0
- package/dist/resources/_internal/logs/triggers.d.mts +2 -0
- package/dist/resources/_internal/logs/triggers.mjs +20 -0
- package/dist/resources/_internal/logs.d.mts +2 -0
- package/dist/resources/_internal/logs.mjs +1 -0
- package/dist/resources/_internal/org/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/consumer.mjs +26 -0
- package/dist/resources/_internal/org/consumer/project.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/project.mjs +15 -0
- package/dist/resources/_internal/org/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer.mjs +1 -0
- package/dist/resources/_internal/org/org.d.mts +2 -0
- package/dist/resources/_internal/org/org.mjs +8 -0
- package/dist/resources/_internal/org.d.mts +2 -0
- package/dist/resources/_internal/org.mjs +1 -0
- package/dist/resources/_internal.d.mts +2 -0
- package/dist/resources/_internal.mjs +1 -0
- package/dist/resources/api-key-revocation.d.mts +2 -2
- package/dist/resources/api-key-revocation.mjs +13 -2
- package/dist/resources/auth/auth.d.mts +2 -2
- package/dist/resources/auth/auth.mjs +7 -2
- package/dist/resources/auth/session.d.mts +2 -2
- package/dist/resources/auth/session.mjs +10 -2
- package/dist/resources/auth-configs.d.mts +2 -2
- package/dist/resources/auth-configs.mjs +45 -2
- package/dist/resources/auth.d.mts +2 -2
- package/dist/resources/auth.mjs +1 -5
- package/dist/resources/connected-accounts.d.mts +2 -2
- package/dist/resources/connected-accounts.mjs +70 -2
- package/dist/resources/custom.d.mts +2 -2
- package/dist/resources/custom.mjs +29 -2
- package/dist/resources/files.d.mts +2 -2
- package/dist/resources/files.mjs +22 -2
- package/dist/resources/keyring.d.mts +2 -2
- package/dist/resources/keyring.mjs +10 -2
- package/dist/resources/link.d.mts +2 -2
- package/dist/resources/link.mjs +13 -2
- package/dist/resources/logs/logs.d.mts +2 -2
- package/dist/resources/logs/logs.mjs +19 -2
- package/dist/resources/logs.d.mts +2 -2
- package/dist/resources/logs.mjs +1 -6
- package/dist/resources/mcp/custom.d.mts +2 -2
- package/dist/resources/mcp/custom.mjs +13 -2
- package/dist/resources/mcp/generate.d.mts +2 -2
- package/dist/resources/mcp/generate.mjs +13 -2
- package/dist/resources/mcp/mcp.d.mts +2 -2
- package/dist/resources/mcp/mcp.mjs +67 -2
- package/dist/resources/mcp.d.mts +2 -2
- package/dist/resources/mcp.mjs +1 -6
- package/dist/resources/org/org.d.mts +2 -2
- package/dist/resources/org/org.mjs +21 -2
- package/dist/resources/org/owner/owner.d.mts +2 -2
- package/dist/resources/org/owner/owner.mjs +7 -2
- package/dist/resources/org/owner/project.d.mts +2 -2
- package/dist/resources/org/owner/project.mjs +37 -2
- package/dist/resources/org/owner.d.mts +2 -2
- package/dist/resources/org/owner.mjs +1 -5
- package/dist/resources/org/project.d.mts +2 -2
- package/dist/resources/org/project.mjs +13 -2
- package/dist/resources/org/usage.d.mts +2 -2
- package/dist/resources/org/usage.mjs +22 -2
- package/dist/resources/org.d.mts +2 -2
- package/dist/resources/org.mjs +1 -9
- package/dist/resources/project/project.d.mts +2 -2
- package/dist/resources/project/project.mjs +7 -2
- package/dist/resources/project/usage.d.mts +2 -2
- package/dist/resources/project/usage.mjs +22 -2
- package/dist/resources/project.d.mts +2 -3
- package/dist/resources/project.mjs +1 -5
- package/dist/resources/session-configs.d.mts +2 -2
- package/dist/resources/session-configs.mjs +8 -12
- package/dist/resources/tool-router/session/files.d.mts +2 -2
- package/dist/resources/tool-router/session/files.mjs +40 -2
- package/dist/resources/tool-router/session/session.d.mts +2 -2
- package/dist/resources/tool-router/session/session.mjs +95 -2
- package/dist/resources/tool-router/session.d.mts +2 -2
- package/dist/resources/tool-router/session.mjs +1 -5
- package/dist/resources/tool-router/tool-router.d.mts +2 -2
- package/dist/resources/tool-router/tool-router.mjs +7 -2
- package/dist/resources/tool-router.d.mts +2 -2
- package/dist/resources/tool-router.mjs +1 -5
- package/dist/resources/toolkits.d.mts +2 -2
- package/dist/resources/toolkits.mjs +51 -2
- package/dist/resources/tools.d.mts +2 -2
- package/dist/resources/tools.mjs +56 -2
- package/dist/resources/trigger-instances/manage.d.mts +2 -2
- package/dist/resources/trigger-instances/manage.mjs +19 -2
- package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances/trigger-instances.mjs +24 -2
- package/dist/resources/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances.mjs +1 -5
- package/dist/resources/triggers-types.d.mts +2 -2
- package/dist/resources/triggers-types.mjs +26 -2
- package/dist/resources/webhook-endpoints.d.mts +2 -2
- package/dist/resources/webhook-endpoints.mjs +40 -2
- package/dist/resources/webhook-subscriptions.d.mts +2 -2
- package/dist/resources/webhook-subscriptions.mjs +45 -2
- package/package.json +42 -34
- package/dist/api-key-revocation-C9gI3mxD.mjs +0 -25
- package/dist/auth-configs-AfPOIrp_.mjs +0 -54
- package/dist/auth-mNBmShhc.mjs +0 -17
- package/dist/clanker-DuDWRKms.mjs +0 -24
- package/dist/cli-BL3iy1cn.mjs +0 -45
- package/dist/config-BLBbhLe1.mjs +0 -10
- package/dist/config-DnyMhILW.d.mts +0 -9
- package/dist/connected-accounts-CDAYy93Y.mjs +0 -82
- package/dist/consumer-xMnRU0C0.mjs +0 -34
- package/dist/custom-CG287eyS.mjs +0 -24
- package/dist/custom-D5-KtFkx.mjs +0 -31
- package/dist/files-7nQzcAPu.mjs +0 -49
- package/dist/files-DfXyjBsv.mjs +0 -31
- package/dist/generate-Deely-Rs.mjs +0 -24
- package/dist/keyring-BU1WNke6.mjs +0 -17
- package/dist/link-BgM_kX73.mjs +0 -23
- package/dist/logs-CvGKikGY.mjs +0 -38
- package/dist/manage-D3woWCHa.mjs +0 -28
- package/dist/mcp-C9lPgg0I.mjs +0 -91
- package/dist/migration-CBhnoN-Y.mjs +0 -10
- package/dist/migration-CKGKuRO3.d.mts +0 -9
- package/dist/org-D490cmfQ.mjs +0 -45
- package/dist/owner-DUnkjEA9.mjs +0 -17
- package/dist/project-61Vi9ABS.mjs +0 -47
- package/dist/project-BmLu0B1A.mjs +0 -22
- package/dist/project-BoZ_FkAd.mjs +0 -25
- package/dist/project-DJCRMUWP.mjs +0 -29
- package/dist/realtime-D92CAeH1.mjs +0 -28
- package/dist/resources/auth/index.d.mts +0 -2
- package/dist/resources/auth/index.mjs +0 -4
- package/dist/resources/cli/cli.d.mts +0 -2
- package/dist/resources/cli/cli.mjs +0 -3
- package/dist/resources/cli/index.d.mts +0 -2
- package/dist/resources/cli/index.mjs +0 -4
- package/dist/resources/cli/realtime.d.mts +0 -2
- package/dist/resources/cli/realtime.mjs +0 -3
- package/dist/resources/cli.d.mts +0 -2
- package/dist/resources/cli.mjs +0 -5
- package/dist/resources/index.d.mts +0 -3
- package/dist/resources/index.mjs +0 -16
- package/dist/resources/logs/index.d.mts +0 -2
- package/dist/resources/logs/index.mjs +0 -5
- package/dist/resources/logs/tools.d.mts +0 -2
- package/dist/resources/logs/tools.mjs +0 -3
- package/dist/resources/logs/triggers.d.mts +0 -2
- package/dist/resources/logs/triggers.mjs +0 -3
- package/dist/resources/mcp/index.d.mts +0 -2
- package/dist/resources/mcp/index.mjs +0 -5
- package/dist/resources/migration.d.mts +0 -2
- package/dist/resources/migration.mjs +0 -3
- package/dist/resources/org/clanker.d.mts +0 -2
- package/dist/resources/org/clanker.mjs +0 -3
- package/dist/resources/org/consumer/consumer.d.mts +0 -2
- package/dist/resources/org/consumer/consumer.mjs +0 -3
- package/dist/resources/org/consumer/index.d.mts +0 -2
- package/dist/resources/org/consumer/index.mjs +0 -4
- package/dist/resources/org/consumer/project.d.mts +0 -2
- package/dist/resources/org/consumer/project.mjs +0 -3
- package/dist/resources/org/consumer.d.mts +0 -2
- package/dist/resources/org/consumer.mjs +0 -5
- package/dist/resources/org/index.d.mts +0 -2
- package/dist/resources/org/index.mjs +0 -8
- package/dist/resources/org/owner/index.d.mts +0 -2
- package/dist/resources/org/owner/index.mjs +0 -4
- package/dist/resources/project/config.d.mts +0 -2
- package/dist/resources/project/config.mjs +0 -3
- package/dist/resources/project/index.d.mts +0 -3
- package/dist/resources/project/index.mjs +0 -4
- package/dist/resources/tool-router/index.d.mts +0 -2
- package/dist/resources/tool-router/index.mjs +0 -4
- package/dist/resources/tool-router/session/index.d.mts +0 -2
- package/dist/resources/tool-router/session/index.mjs +0 -4
- package/dist/resources/trigger-instances/index.d.mts +0 -2
- package/dist/resources/trigger-instances/index.mjs +0 -4
- package/dist/session-CuxeTn6B.mjs +0 -22
- package/dist/session-Ko7BIjgq.mjs +0 -110
- package/dist/tool-router-CBKKosNd.mjs +0 -14
- package/dist/toolkits-3DF2HJzj.mjs +0 -62
- package/dist/tools-CHZz5vhP.mjs +0 -33
- package/dist/tools-CZ866I6_.mjs +0 -68
- package/dist/trigger-instances-Db9jhHWY.mjs +0 -35
- package/dist/triggers-CDhM0b24.mjs +0 -28
- package/dist/triggers-types-C6SEunIK.mjs +0 -34
- package/dist/usage-7j_ne9rG.mjs +0 -31
- package/dist/usage-CE6S407C.mjs +0 -31
- package/dist/webhook-endpoints-DWS1Ycp6.mjs +0 -51
- package/dist/webhook-subscriptions-DgL5Qp1f.mjs +0 -55
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ConnectedAccountCreateResponseConnectionDataOption1 } from "./connected-account-create-response-connection-data-option1.mjs";
|
|
2
|
+
import { ConnectedAccountCreateResponseConnectionDataOption10 } from "./connected-account-create-response-connection-data-option10.mjs";
|
|
3
|
+
import { ConnectedAccountCreateResponseConnectionDataOption11 } from "./connected-account-create-response-connection-data-option11.mjs";
|
|
4
|
+
import { ConnectedAccountCreateResponseConnectionDataOption12 } from "./connected-account-create-response-connection-data-option12.mjs";
|
|
5
|
+
import { ConnectedAccountCreateResponseConnectionDataOption13 } from "./connected-account-create-response-connection-data-option13.mjs";
|
|
6
|
+
import { ConnectedAccountCreateResponseConnectionDataOption14 } from "./connected-account-create-response-connection-data-option14.mjs";
|
|
7
|
+
import { ConnectedAccountCreateResponseConnectionDataOption15 } from "./connected-account-create-response-connection-data-option15.mjs";
|
|
8
|
+
import { ConnectedAccountCreateResponseConnectionDataOption2 } from "./connected-account-create-response-connection-data-option2.mjs";
|
|
9
|
+
import { ConnectedAccountCreateResponseConnectionDataOption3 } from "./connected-account-create-response-connection-data-option3.mjs";
|
|
10
|
+
import { ConnectedAccountCreateResponseConnectionDataOption4 } from "./connected-account-create-response-connection-data-option4.mjs";
|
|
11
|
+
import { ConnectedAccountCreateResponseConnectionDataOption5 } from "./connected-account-create-response-connection-data-option5.mjs";
|
|
12
|
+
import { ConnectedAccountCreateResponseConnectionDataOption6 } from "./connected-account-create-response-connection-data-option6.mjs";
|
|
13
|
+
import { ConnectedAccountCreateResponseConnectionDataOption7 } from "./connected-account-create-response-connection-data-option7.mjs";
|
|
14
|
+
import { ConnectedAccountCreateResponseConnectionDataOption8 } from "./connected-account-create-response-connection-data-option8.mjs";
|
|
15
|
+
import { ConnectedAccountCreateResponseConnectionDataOption9 } from "./connected-account-create-response-connection-data-option9.mjs";
|
|
16
|
+
import * as Schema from "effect/Schema";
|
|
17
|
+
|
|
18
|
+
//#region src/effect/generated/schemas/components/connected-account-retrieve-response-state.ts
|
|
19
|
+
/** The `ConnectedAccountRetrieveResponseState` component schema. */
|
|
20
|
+
const ConnectedAccountRetrieveResponseState = Schema.Union([
|
|
21
|
+
ConnectedAccountCreateResponseConnectionDataOption1,
|
|
22
|
+
ConnectedAccountCreateResponseConnectionDataOption2,
|
|
23
|
+
ConnectedAccountCreateResponseConnectionDataOption3,
|
|
24
|
+
ConnectedAccountCreateResponseConnectionDataOption4,
|
|
25
|
+
ConnectedAccountCreateResponseConnectionDataOption5,
|
|
26
|
+
ConnectedAccountCreateResponseConnectionDataOption6,
|
|
27
|
+
ConnectedAccountCreateResponseConnectionDataOption7,
|
|
28
|
+
ConnectedAccountCreateResponseConnectionDataOption8,
|
|
29
|
+
ConnectedAccountCreateResponseConnectionDataOption9,
|
|
30
|
+
ConnectedAccountCreateResponseConnectionDataOption10,
|
|
31
|
+
ConnectedAccountCreateResponseConnectionDataOption11,
|
|
32
|
+
ConnectedAccountCreateResponseConnectionDataOption12,
|
|
33
|
+
ConnectedAccountCreateResponseConnectionDataOption13,
|
|
34
|
+
ConnectedAccountCreateResponseConnectionDataOption14,
|
|
35
|
+
ConnectedAccountCreateResponseConnectionDataOption15
|
|
36
|
+
], { mode: "oneOf" }).annotate({
|
|
37
|
+
"description": "The state of the connection",
|
|
38
|
+
"identifier": "ConnectedAccountRetrieveResponseState"
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ConnectedAccountRetrieveResponseState };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/deprecated-toolkit-info.d.ts
|
|
3
|
+
/** The `DeprecatedToolkitInfo` component schema. */
|
|
4
|
+
declare const DeprecatedToolkitInfo: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly toolkitId: Schema.String;
|
|
6
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { DeprecatedToolkitInfo };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/deprecated-toolkit-info.ts
|
|
4
|
+
/** The `DeprecatedToolkitInfo` component schema. */
|
|
5
|
+
const DeprecatedToolkitInfo = Schema.StructWithRest(Schema.Struct({ "toolkitId": Schema.String }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
6
|
+
"description": "Deprecated toolkit ID",
|
|
7
|
+
"examples": [{ "toolkitId": "550e8400-e29b-41d4-a716-446655440000" }],
|
|
8
|
+
"identifier": "DeprecatedToolkitInfo"
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { DeprecatedToolkitInfo };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-blocked.d.ts
|
|
3
|
+
/** The `ExecuteBlocked` component schema. */
|
|
4
|
+
declare const ExecuteBlocked: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"blocked">;
|
|
6
|
+
readonly reason: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly type: Schema.Literal<"request_blocked">;
|
|
8
|
+
readonly hook_id: Schema.String;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly type: Schema.Literal<"response_blocked">;
|
|
11
|
+
readonly hook_id: Schema.String;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>;
|
|
13
|
+
readonly message: Schema.String;
|
|
14
|
+
readonly log_id: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly instant_charge: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
16
|
+
readonly amount: Schema.String;
|
|
17
|
+
readonly currency: Schema.Literal<"USD">;
|
|
18
|
+
readonly charged_by: Schema.Literal<"composio">;
|
|
19
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
20
|
+
readonly hook_results: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
21
|
+
readonly id: Schema.String;
|
|
22
|
+
readonly status: Schema.Literal<"evaluated">;
|
|
23
|
+
readonly outcome: Schema.Literals<readonly ["continue", "block"]>;
|
|
24
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
25
|
+
readonly id: Schema.String;
|
|
26
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
27
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>>;
|
|
28
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ExecuteBlocked };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BlockReason } from "./block-reason.mjs";
|
|
2
|
+
import { HookResult } from "./hook-result.mjs";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
|
|
5
|
+
//#region src/effect/generated/schemas/components/execute-blocked.ts
|
|
6
|
+
/** The `ExecuteBlocked` component schema. */
|
|
7
|
+
const ExecuteBlocked = Schema.StructWithRest(Schema.Struct({
|
|
8
|
+
"result_type": Schema.Literal("blocked").annotate({ "description": "A session hook stopped the call" }),
|
|
9
|
+
"reason": BlockReason,
|
|
10
|
+
"message": Schema.String.annotate({
|
|
11
|
+
"description": "A message for the agent. It includes the hook's name, when it has one; the hook id is in `reason`.",
|
|
12
|
+
"examples": ["Blocked by session policy: No external email"]
|
|
13
|
+
}),
|
|
14
|
+
"log_id": Schema.optionalKey(Schema.String.annotate({ "description": "The execution log ID. Only set when the tool ran and its response was blocked." })),
|
|
15
|
+
"instant_charge": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
16
|
+
"amount": Schema.String.annotate({ "description": "Instant charge in USD as an exact non-negative decimal string, with up to 12 fractional digits." }).check(Schema.isPattern(new globalThis.RegExp("^(0|[1-9]\\d*)(\\.\\d{1,12})?$", "u")).annotate({ "expected": "a string matching the RegExp ^(0|[1-9]\\d*)(\\.\\d{1,12})?$" })),
|
|
17
|
+
"currency": Schema.Literal("USD").annotate({ "description": "Currency of the instant charge. Always USD." }),
|
|
18
|
+
"charged_by": Schema.Literal("composio").annotate({ "description": "Entity charging for instant usage. Always composio." })
|
|
19
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Returned only when the session enables instant.return_instant_charge and a charge is available. Only set when the tool ran and its response was blocked." })),
|
|
20
|
+
"hook_results": Schema.optionalKey(Schema.Array(HookResult).annotate({ "description": "Every session hook that applied to this call. Omitted when none applied." }))
|
|
21
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ExecuteBlocked" });
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ExecuteBlocked };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-completed.d.ts
|
|
3
|
+
/** The `ExecuteCompleted` component schema. */
|
|
4
|
+
declare const ExecuteCompleted: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"completed">;
|
|
6
|
+
readonly instant_charge: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly amount: Schema.String;
|
|
8
|
+
readonly currency: Schema.Literal<"USD">;
|
|
9
|
+
readonly charged_by: Schema.Literal<"composio">;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
11
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
12
|
+
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly log_id: Schema.String;
|
|
14
|
+
readonly hook_results: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly status: Schema.Literal<"evaluated">;
|
|
17
|
+
readonly outcome: Schema.Literals<readonly ["continue", "block"]>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>>;
|
|
22
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ExecuteCompleted };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HookResult } from "./hook-result.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/execute-completed.ts
|
|
5
|
+
/** The `ExecuteCompleted` component schema. */
|
|
6
|
+
const ExecuteCompleted = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"result_type": Schema.Literal("completed").annotate({ "description": "The tool ran and succeeded" }),
|
|
8
|
+
"instant_charge": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"amount": Schema.String.annotate({ "description": "Instant charge in USD as an exact non-negative decimal string, with up to 12 fractional digits." }).check(Schema.isPattern(new globalThis.RegExp("^(0|[1-9]\\d*)(\\.\\d{1,12})?$", "u")).annotate({ "expected": "a string matching the RegExp ^(0|[1-9]\\d*)(\\.\\d{1,12})?$" })),
|
|
10
|
+
"currency": Schema.Literal("USD").annotate({ "description": "Currency of the instant charge. Always USD." }),
|
|
11
|
+
"charged_by": Schema.Literal("composio").annotate({ "description": "Entity charging for instant usage. Always composio." })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails." })),
|
|
13
|
+
"data": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
14
|
+
"description": "The data returned by the tool execution",
|
|
15
|
+
"examples": [{
|
|
16
|
+
"message": "Hello, World!",
|
|
17
|
+
"status": "success"
|
|
18
|
+
}]
|
|
19
|
+
}),
|
|
20
|
+
"error": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Error message if the execution failed, null otherwise" }),
|
|
21
|
+
"log_id": Schema.String.annotate({
|
|
22
|
+
"description": "Unique identifier for the execution log",
|
|
23
|
+
"examples": ["log_abc123xyz"]
|
|
24
|
+
}),
|
|
25
|
+
"hook_results": Schema.optionalKey(Schema.Array(HookResult).annotate({ "description": "Every session hook that applied to this call. Omitted when none applied." }))
|
|
26
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ExecuteCompleted" });
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ExecuteCompleted };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-failed.d.ts
|
|
3
|
+
/** The `ExecuteFailed` component schema. */
|
|
4
|
+
declare const ExecuteFailed: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"failed">;
|
|
6
|
+
readonly instant_charge: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly amount: Schema.String;
|
|
8
|
+
readonly currency: Schema.Literal<"USD">;
|
|
9
|
+
readonly charged_by: Schema.Literal<"composio">;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
11
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
12
|
+
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly log_id: Schema.String;
|
|
14
|
+
readonly hook_results: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly status: Schema.Literal<"evaluated">;
|
|
17
|
+
readonly outcome: Schema.Literals<readonly ["continue", "block"]>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>>;
|
|
22
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ExecuteFailed };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HookResult } from "./hook-result.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/execute-failed.ts
|
|
5
|
+
/** The `ExecuteFailed` component schema. */
|
|
6
|
+
const ExecuteFailed = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"result_type": Schema.Literal("failed").annotate({ "description": "The tool ran and failed, or the user did not approve it" }),
|
|
8
|
+
"instant_charge": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"amount": Schema.String.annotate({ "description": "Instant charge in USD as an exact non-negative decimal string, with up to 12 fractional digits." }).check(Schema.isPattern(new globalThis.RegExp("^(0|[1-9]\\d*)(\\.\\d{1,12})?$", "u")).annotate({ "expected": "a string matching the RegExp ^(0|[1-9]\\d*)(\\.\\d{1,12})?$" })),
|
|
10
|
+
"currency": Schema.Literal("USD").annotate({ "description": "Currency of the instant charge. Always USD." }),
|
|
11
|
+
"charged_by": Schema.Literal("composio").annotate({ "description": "Entity charging for instant usage. Always composio." })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails." })),
|
|
13
|
+
"data": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
14
|
+
"description": "The data returned by the tool execution",
|
|
15
|
+
"examples": [{
|
|
16
|
+
"message": "Hello, World!",
|
|
17
|
+
"status": "success"
|
|
18
|
+
}]
|
|
19
|
+
}),
|
|
20
|
+
"error": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Error message if the execution failed, null otherwise" }),
|
|
21
|
+
"log_id": Schema.String.annotate({
|
|
22
|
+
"description": "Unique identifier for the execution log",
|
|
23
|
+
"examples": ["log_abc123xyz"]
|
|
24
|
+
}),
|
|
25
|
+
"hook_results": Schema.optionalKey(Schema.Array(HookResult).annotate({ "description": "Every session hook that applied to this call. Omitted when none applied." }))
|
|
26
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ExecuteFailed" });
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ExecuteFailed };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-requires-user-input.d.ts
|
|
3
|
+
/** The `ExecuteRequiresUserInput` component schema. */
|
|
4
|
+
declare const ExecuteRequiresUserInput: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"input_required">;
|
|
6
|
+
readonly input_requests: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly type: Schema.Literal<"elicitation">;
|
|
8
|
+
readonly mode: Schema.Literal<"form">;
|
|
9
|
+
readonly message: Schema.String;
|
|
10
|
+
readonly requested_schema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly request_state: Schema.optionalKey<Schema.String>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ExecuteRequiresUserInput };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UserInputRequest } from "./user-input-request.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/execute-requires-user-input.ts
|
|
5
|
+
/** The `ExecuteRequiresUserInput` component schema. */
|
|
6
|
+
const ExecuteRequiresUserInput = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"result_type": Schema.Literal("input_required").annotate({ "description": "The call needs the user's input before it runs" }),
|
|
8
|
+
"input_requests": Schema.Record(Schema.String, UserInputRequest).annotate({ "description": "Questions for the user, keyed by an ID the answers must reuse" }),
|
|
9
|
+
"request_state": Schema.optionalKey(Schema.String.annotate({ "description": "Send this back unchanged in `request_state` with the answers" }))
|
|
10
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
11
|
+
"description": "The call needs the user's input before it runs. Returned only when the session is configured to ask for user approval before tool execution. Show each question in `input_requests` to the user, then repeat the same call with their answers in `input_responses`, along with this `request_state` if present.",
|
|
12
|
+
"identifier": "ExecuteRequiresUserInput"
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ExecuteRequiresUserInput };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/hook-result.d.ts
|
|
3
|
+
/** The `HookResult` component schema. */
|
|
4
|
+
declare const HookResult: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly status: Schema.Literal<"evaluated">;
|
|
7
|
+
readonly outcome: Schema.Literals<readonly ["continue", "block"]>;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
9
|
+
readonly id: Schema.String;
|
|
10
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { HookResult };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/hook-result.ts
|
|
4
|
+
/** The `HookResult` component schema. */
|
|
5
|
+
const HookResult = Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({ "description": "The hook id" }),
|
|
7
|
+
"status": Schema.Literal("evaluated"),
|
|
8
|
+
"outcome": Schema.Literals(["continue", "block"]).annotate({ "description": "What the hook decided" })
|
|
9
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.StructWithRest(Schema.Struct({
|
|
10
|
+
"id": Schema.String.annotate({ "description": "The hook id" }),
|
|
11
|
+
"status": Schema.Literal("unavailable").annotate({ "description": "The hook could not be evaluated" })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])], { mode: "oneOf" }).annotate({ "identifier": "HookResult" });
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { HookResult };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/instant-account.d.ts
|
|
3
|
+
/** The `InstantAccount` component schema. */
|
|
4
|
+
declare const InstantAccount: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly supported: Schema.Literal<true>;
|
|
6
|
+
readonly price: Schema.optionalKey<Schema.Struct<{
|
|
7
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly discount: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9
|
+
}>>;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { InstantAccount };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ToolPricing } from "./tool-pricing.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/instant-account.ts
|
|
5
|
+
/** The `InstantAccount` component schema. */
|
|
6
|
+
const InstantAccount = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"supported": Schema.Literal(true),
|
|
8
|
+
"price": Schema.optionalKey(ToolPricing)
|
|
9
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
10
|
+
"description": "Present only when the tool supports an Instant account and its selected toolkit version is the latest. Missing for older toolkit versions or ineligible tools.",
|
|
11
|
+
"identifier": "InstantAccount"
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { InstantAccount };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/mcp-create-response-commands.d.ts
|
|
3
|
+
/** The `McpCreateResponseCommands` component schema. */
|
|
4
|
+
declare const McpCreateResponseCommands: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly cursor: Schema.String;
|
|
6
|
+
readonly claude: Schema.String;
|
|
7
|
+
readonly windsurf: Schema.String;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { McpCreateResponseCommands };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/mcp-create-response-commands.ts
|
|
4
|
+
/** The `McpCreateResponseCommands` component schema. */
|
|
5
|
+
const McpCreateResponseCommands = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"cursor": Schema.String.annotate({
|
|
7
|
+
"description": "Command line instruction for Cursor client setup",
|
|
8
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client cursor"]
|
|
9
|
+
}),
|
|
10
|
+
"claude": Schema.String.annotate({
|
|
11
|
+
"description": "Command line instruction for Claude client setup",
|
|
12
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client claude"]
|
|
13
|
+
}),
|
|
14
|
+
"windsurf": Schema.String.annotate({
|
|
15
|
+
"description": "Command line instruction for Windsurf client setup",
|
|
16
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"]
|
|
17
|
+
})
|
|
18
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
19
|
+
"description": "Set of command line instructions for connecting various clients to this MCP server",
|
|
20
|
+
"identifier": "McpCreateResponseCommands"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { McpCreateResponseCommands };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/mcp-list-response-items.d.ts
|
|
3
|
+
/** The `McpListResponseItems` component schema. */
|
|
4
|
+
declare const McpListResponseItems: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly auth_config_ids: Schema.$Array<Schema.String>;
|
|
8
|
+
readonly allowed_tools: Schema.$Array<Schema.String>;
|
|
9
|
+
readonly mcp_url: Schema.String;
|
|
10
|
+
readonly toolkits: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly toolkit_icons: Schema.$Record<Schema.String, Schema.String>;
|
|
12
|
+
readonly commands: Schema.StructWithRest<Schema.Struct<{
|
|
13
|
+
readonly cursor: Schema.String;
|
|
14
|
+
readonly claude: Schema.String;
|
|
15
|
+
readonly windsurf: Schema.String;
|
|
16
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
17
|
+
readonly updated_at: Schema.String;
|
|
18
|
+
readonly created_at: Schema.String;
|
|
19
|
+
readonly server_instance_count: Schema.Number;
|
|
20
|
+
readonly managed_auth_via_composio: Schema.Boolean;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { McpListResponseItems };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { McpCreateResponseCommands } from "./mcp-create-response-commands.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/mcp-list-response-items.ts
|
|
5
|
+
/** The `McpListResponseItems` component schema. */
|
|
6
|
+
const McpListResponseItems = Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"id": Schema.String.annotate({
|
|
8
|
+
"description": "UUID of the MCP server instance",
|
|
9
|
+
"examples": ["550e8400-e29b-41d4-a716-446655440000"]
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.String.annotate({
|
|
12
|
+
"description": "User-defined descriptive name for this MCP server",
|
|
13
|
+
"examples": ["GitHub Integration Server"]
|
|
14
|
+
}),
|
|
15
|
+
"auth_config_ids": Schema.Array(Schema.String).annotate({
|
|
16
|
+
"description": "ID references to the auth configurations used by this server",
|
|
17
|
+
"examples": [["ac_1a2b3c4d5e6f", "ac_7g8h9i0j1k2l"]]
|
|
18
|
+
}),
|
|
19
|
+
"allowed_tools": Schema.Array(Schema.String).annotate({
|
|
20
|
+
"description": "Array of tool slugs that this MCP server is allowed to use",
|
|
21
|
+
"examples": [[
|
|
22
|
+
"GITHUB_CREATE_AN_ISSUE",
|
|
23
|
+
"GITHUB_GET_A_REPOSITORY",
|
|
24
|
+
"GITHUB_LIST_PULL_REQUESTS"
|
|
25
|
+
]]
|
|
26
|
+
}),
|
|
27
|
+
"mcp_url": Schema.String.annotate({
|
|
28
|
+
"description": "[DEPRECATED] Please use the URL with user_id or connected_account_id query param",
|
|
29
|
+
"examples": ["https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john"]
|
|
30
|
+
}),
|
|
31
|
+
"toolkits": Schema.Array(Schema.String).annotate({
|
|
32
|
+
"description": "Array of toolkit slugs that this MCP server is allowed to use",
|
|
33
|
+
"examples": [[
|
|
34
|
+
"github",
|
|
35
|
+
"jira",
|
|
36
|
+
"slack"
|
|
37
|
+
]]
|
|
38
|
+
}),
|
|
39
|
+
"toolkit_icons": Schema.Record(Schema.String, Schema.String).annotate({
|
|
40
|
+
"description": "Object mapping each toolkit slug to its icon/logo URL for display purposes",
|
|
41
|
+
"examples": [{
|
|
42
|
+
"github": "https://assets.composio.dev/logos/github.png",
|
|
43
|
+
"jira": "https://assets.composio.dev/logos/jira.png",
|
|
44
|
+
"slack": "https://assets.composio.dev/logos/slack.png"
|
|
45
|
+
}]
|
|
46
|
+
}),
|
|
47
|
+
"commands": McpCreateResponseCommands,
|
|
48
|
+
"updated_at": Schema.String.annotate({
|
|
49
|
+
"description": "Date and time when this server configuration was last modified",
|
|
50
|
+
"examples": ["2023-06-15T14:30:00.000Z"]
|
|
51
|
+
}),
|
|
52
|
+
"created_at": Schema.String.annotate({
|
|
53
|
+
"description": "Date and time when this server was initially created",
|
|
54
|
+
"examples": ["2023-06-10T09:15:00.000Z"]
|
|
55
|
+
}),
|
|
56
|
+
"server_instance_count": Schema.Number.annotate({
|
|
57
|
+
"description": "Total count of active user instances connected to this server",
|
|
58
|
+
"examples": [5]
|
|
59
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
60
|
+
"managed_auth_via_composio": Schema.Boolean.annotate({
|
|
61
|
+
"description": "Whether the MCP server is managed by Composio",
|
|
62
|
+
"examples": [true]
|
|
63
|
+
})
|
|
64
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "MCP server configuration and connection details" })).annotate({
|
|
65
|
+
"description": "Array of MCP server configurations",
|
|
66
|
+
"examples": [[{
|
|
67
|
+
"id": "550e8400-e29b-41d4-a716-446655440000",
|
|
68
|
+
"name": "GitHub Integration Server",
|
|
69
|
+
"auth_config_ids": ["ac_1a2b3c4d5e6f", "ac_7g8h9i0j1k2l"],
|
|
70
|
+
"allowed_tools": ["GITHUB_CREATE_AN_ISSUE", "GITHUB_GET_A_REPOSITORY"],
|
|
71
|
+
"mcp_url": "https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john",
|
|
72
|
+
"commands": {
|
|
73
|
+
"cursor": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client cursor",
|
|
74
|
+
"claude": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client claude",
|
|
75
|
+
"windsurf": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"
|
|
76
|
+
},
|
|
77
|
+
"toolkits": [
|
|
78
|
+
"github",
|
|
79
|
+
"jira",
|
|
80
|
+
"slack"
|
|
81
|
+
],
|
|
82
|
+
"toolkit_icons": {
|
|
83
|
+
"github": "https://assets.composio.dev/logos/github.png",
|
|
84
|
+
"jira": "https://assets.composio.dev/logos/jira.png",
|
|
85
|
+
"slack": "https://assets.composio.dev/logos/slack.png"
|
|
86
|
+
},
|
|
87
|
+
"updated_at": "2023-06-15T14:30:00.000Z",
|
|
88
|
+
"created_at": "2023-06-10T09:15:00.000Z",
|
|
89
|
+
"server_instance_count": 5,
|
|
90
|
+
"managed_auth_via_composio": true
|
|
91
|
+
}]],
|
|
92
|
+
"identifier": "McpListResponseItems"
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
//#endregion
|
|
96
|
+
export { McpListResponseItems };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/project-list-response-data.d.ts
|
|
3
|
+
/** The `ProjectListResponseData` component schema. */
|
|
4
|
+
declare const ProjectListResponseData: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly org_id: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly email: Schema.String;
|
|
9
|
+
readonly created_at: Schema.String;
|
|
10
|
+
readonly updated_at: Schema.String;
|
|
11
|
+
readonly webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12
|
+
readonly event_webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly webhook_secret: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14
|
+
readonly triggers_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
readonly last_subscribed_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
16
|
+
readonly is_new_webhook: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly webhook_version: Schema.Literals<readonly ["V1", "V2", "V3"]>;
|
|
18
|
+
readonly deleted: Schema.Boolean;
|
|
19
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ProjectListResponseData };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/project-list-response-data.ts
|
|
4
|
+
/** The `ProjectListResponseData` component schema. */
|
|
5
|
+
const ProjectListResponseData = Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({
|
|
7
|
+
"description": "Unique identifier for the project",
|
|
8
|
+
"examples": ["pr_1a2b3c4d5e6f"],
|
|
9
|
+
"format": "projectId"
|
|
10
|
+
}),
|
|
11
|
+
"org_id": Schema.String.annotate({
|
|
12
|
+
"description": "Identifier of the organization that owns this project",
|
|
13
|
+
"examples": ["ok_1a2b3c4d5e6f"],
|
|
14
|
+
"format": "orgId"
|
|
15
|
+
}),
|
|
16
|
+
"name": Schema.String.annotate({
|
|
17
|
+
"description": "Name of the project",
|
|
18
|
+
"examples": ["My Awesome Project"]
|
|
19
|
+
}),
|
|
20
|
+
"email": Schema.String.annotate({
|
|
21
|
+
"description": "Email address associated with the project",
|
|
22
|
+
"examples": ["project-123@composio.dev"]
|
|
23
|
+
}),
|
|
24
|
+
"created_at": Schema.String.annotate({
|
|
25
|
+
"description": "ISO timestamp when the project was created",
|
|
26
|
+
"examples": ["2023-05-16T14:30:00.000Z"]
|
|
27
|
+
}),
|
|
28
|
+
"updated_at": Schema.String.annotate({
|
|
29
|
+
"description": "ISO timestamp when the project was last updated",
|
|
30
|
+
"examples": ["2023-05-18T09:15:30.000Z"]
|
|
31
|
+
}),
|
|
32
|
+
"webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
33
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook URL.",
|
|
34
|
+
"examples": ["https://example.com/webhook"],
|
|
35
|
+
"format": "uri"
|
|
36
|
+
}),
|
|
37
|
+
"event_webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
38
|
+
"description": "DEPRECATED: No longer used.",
|
|
39
|
+
"examples": ["https://example.com/events"],
|
|
40
|
+
"format": "uri"
|
|
41
|
+
}),
|
|
42
|
+
"webhook_secret": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
43
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook secret.",
|
|
44
|
+
"examples": ["whsec_abcdef123456789"]
|
|
45
|
+
}),
|
|
46
|
+
"triggers_enabled": Schema.optionalKey(Schema.Boolean.annotate({
|
|
47
|
+
"description": "Whether triggers are enabled for this project",
|
|
48
|
+
"examples": [true]
|
|
49
|
+
})),
|
|
50
|
+
"last_subscribed_at": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
51
|
+
"description": "ISO timestamp when the project last subscribed to updates",
|
|
52
|
+
"examples": ["2023-05-17T10:00:00.000Z"],
|
|
53
|
+
"format": "date-time"
|
|
54
|
+
})),
|
|
55
|
+
"is_new_webhook": Schema.optionalKey(Schema.Boolean.annotate({
|
|
56
|
+
"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)",
|
|
57
|
+
"examples": [true]
|
|
58
|
+
})),
|
|
59
|
+
"webhook_version": Schema.Literals([
|
|
60
|
+
"V1",
|
|
61
|
+
"V2",
|
|
62
|
+
"V3"
|
|
63
|
+
]).annotate({
|
|
64
|
+
"description": "Payload format version for Pusher real-time events only. For webhook configuration, use GET /api/v3/webhook_subscriptions.",
|
|
65
|
+
"examples": ["V2"]
|
|
66
|
+
}),
|
|
67
|
+
"deleted": Schema.Boolean.annotate({
|
|
68
|
+
"description": "Whether this project has been deleted",
|
|
69
|
+
"examples": [false]
|
|
70
|
+
})
|
|
71
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "identifier": "ProjectListResponseData" });
|
|
72
|
+
|
|
73
|
+
//#endregion
|
|
74
|
+
export { ProjectListResponseData };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/proxy-execute-blocked.d.ts
|
|
3
|
+
/** The `ProxyExecuteBlocked` component schema. */
|
|
4
|
+
declare const ProxyExecuteBlocked: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"blocked">;
|
|
6
|
+
readonly reason: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly type: Schema.Literal<"request_blocked">;
|
|
8
|
+
readonly hook_id: Schema.String;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly type: Schema.Literal<"response_blocked">;
|
|
11
|
+
readonly hook_id: Schema.String;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>;
|
|
13
|
+
readonly message: Schema.String;
|
|
14
|
+
readonly hook_results: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly status: Schema.Literal<"evaluated">;
|
|
17
|
+
readonly outcome: Schema.Literals<readonly ["continue", "block"]>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>>;
|
|
22
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ProxyExecuteBlocked };
|