@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,19 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/recommend-scopes.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/toolkits/{toolkit_slug}/scopes/recommended`, which `client.toolkits.recommendScopes` answers with. */
|
|
4
|
+
declare const ToolkitRecommendScopesResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly auth_scheme: Schema.String;
|
|
6
|
+
readonly toolkit_version: Schema.String;
|
|
7
|
+
readonly grant_context: Schema.$Record<Schema.String, Schema.String>;
|
|
8
|
+
readonly scopes: Schema.StructWithRest<Schema.Struct<{
|
|
9
|
+
readonly least_privilege: Schema.$Array<Schema.String>;
|
|
10
|
+
readonly fewest: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly conditional: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
12
|
+
readonly scope: Schema.String;
|
|
13
|
+
readonly when: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
14
|
+
readonly for: Schema.$Array<Schema.String>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
16
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
17
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ToolkitRecommendScopesResponse };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/toolkits/recommend-scopes.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/toolkits/{toolkit_slug}/scopes/recommended`, which `client.toolkits.recommendScopes` answers with. */
|
|
5
|
+
const ToolkitRecommendScopesResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"auth_scheme": Schema.String.annotate({ "description": "Auth scheme the recommendation was computed under." }),
|
|
7
|
+
"toolkit_version": Schema.String.annotate({ "description": "Concrete toolkit version the answer was computed from; pass it back as toolkit_version to pin." }),
|
|
8
|
+
"grant_context": Schema.Record(Schema.String, Schema.String).annotate({ "description": "The effective grant_context the recommendation was computed with - the toolkit default overlaid with your overrides; {} when none applies." }),
|
|
9
|
+
"scopes": Schema.StructWithRest(Schema.Struct({
|
|
10
|
+
"least_privilege": Schema.Array(Schema.String).annotate({ "description": "Narrowest documented option per requirement." }),
|
|
11
|
+
"fewest": Schema.Array(Schema.String).annotate({ "description": "Smallest scope set covering all requirements." }),
|
|
12
|
+
"conditional": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
13
|
+
"scope": Schema.String.annotate({ "description": "The scope needed only under the `when` guard." }),
|
|
14
|
+
"when": Schema.Record(Schema.String, Schema.Array(Schema.String)).annotate({ "description": "Condition for when this scope is needed: input field name to qualifying values (any value matches within a field; all fields must match)." }),
|
|
15
|
+
"for": Schema.Array(Schema.String).annotate({ "description": "Tool slugs that need this scope under the guard." })
|
|
16
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Scopes needed only for particular call-time inputs; the lists above already include them worst-case, so a caller that knows its inputs may subtract the rest. Empty when none apply." })
|
|
17
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])
|
|
18
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ToolkitRecommendScopesResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-categories.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/toolkits/categories`, which `client.toolkits.retrieveCategories` answers with. */
|
|
4
|
+
declare const ToolkitRetrieveCategoriesResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly id: Schema.String;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
9
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
10
|
+
readonly total_pages: Schema.Finite;
|
|
11
|
+
readonly current_page: Schema.Finite;
|
|
12
|
+
readonly total_items: Schema.Finite;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ToolkitRetrieveCategoriesResponse };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-categories.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/toolkits/categories`, which `client.toolkits.retrieveCategories` answers with. */
|
|
5
|
+
const ToolkitRetrieveCategoriesResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"items": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"name": Schema.String.annotate({
|
|
8
|
+
"description": "Display name of the toolkit category",
|
|
9
|
+
"examples": ["Developer Tools"]
|
|
10
|
+
}),
|
|
11
|
+
"id": Schema.String.annotate({
|
|
12
|
+
"description": "URL-friendly unique identifier for the category, used for filtering toolkits",
|
|
13
|
+
"examples": ["developer-tools"]
|
|
14
|
+
})
|
|
15
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Information about a single toolkit category" })),
|
|
16
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
17
|
+
"total_pages": Schema.Finite,
|
|
18
|
+
"current_page": Schema.Finite,
|
|
19
|
+
"total_items": Schema.Finite
|
|
20
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ToolkitRetrieveCategoriesResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-changelog.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/toolkits/changelog`, which `client.toolkits.retrieveChangelog` answers with. */
|
|
4
|
+
declare const ToolkitRetrieveChangelogResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly slug: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly display_name: Schema.String;
|
|
9
|
+
readonly versions: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly version: Schema.String;
|
|
11
|
+
readonly changelog: Schema.String;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
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 { ToolkitRetrieveChangelogResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-changelog.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/toolkits/changelog`, which `client.toolkits.retrieveChangelog` answers with. */
|
|
5
|
+
const ToolkitRetrieveChangelogResponse = Schema.StructWithRest(Schema.Struct({ "items": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"slug": Schema.String.annotate({ "description": "Toolkit slug" }),
|
|
7
|
+
"name": Schema.String.annotate({ "description": "Toolkit name" }),
|
|
8
|
+
"display_name": Schema.String.annotate({ "description": "Toolkit display name" }),
|
|
9
|
+
"versions": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
10
|
+
"version": Schema.String.annotate({ "description": "Version identifier" }),
|
|
11
|
+
"changelog": Schema.String.annotate({ "description": "Changelog for this version" })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Array of version changelogs" })
|
|
13
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "List of toolkits with their changelogs" }) }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ToolkitRetrieveChangelogResponse };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-multi.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/toolkits/multi`, which `client.toolkits.retrieveMulti` answers with. */
|
|
4
|
+
declare const ToolkitRetrieveMultiResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly slug: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly type: Schema.Literals<readonly ["native", "custom"]>;
|
|
9
|
+
readonly instant: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly supported: Schema.Literal<true>;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly access: Schema.optionalKey<Schema.Literals<readonly ["all", "user"]>>;
|
|
13
|
+
readonly auth_schemes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
14
|
+
readonly composio_managed_auth_schemes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
15
|
+
readonly is_local_toolkit: Schema.Boolean;
|
|
16
|
+
readonly no_auth: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
18
|
+
readonly deprecated: Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly toolkitId: Schema.String;
|
|
20
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
21
|
+
readonly meta: Schema.StructWithRest<Schema.Struct<{
|
|
22
|
+
readonly created_at: Schema.String;
|
|
23
|
+
readonly updated_at: Schema.String;
|
|
24
|
+
readonly description: Schema.String;
|
|
25
|
+
readonly logo: Schema.String;
|
|
26
|
+
readonly app_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
27
|
+
readonly categories: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
28
|
+
readonly id: Schema.String;
|
|
29
|
+
readonly name: Schema.String;
|
|
30
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
31
|
+
readonly triggers_count: Schema.Number;
|
|
32
|
+
readonly tools_count: Schema.Number;
|
|
33
|
+
readonly version: Schema.String;
|
|
34
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
35
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
36
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
37
|
+
readonly total_pages: Schema.Finite;
|
|
38
|
+
readonly current_page: Schema.Finite;
|
|
39
|
+
readonly total_items: Schema.Finite;
|
|
40
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ToolkitRetrieveMultiResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ToolkitListResponseItems } from "../components/toolkit-list-response-items.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-multi.ts
|
|
5
|
+
/** The 200 response of `POST /api/v3.1/toolkits/multi`, which `client.toolkits.retrieveMulti` answers with. */
|
|
6
|
+
const ToolkitRetrieveMultiResponse = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"items": ToolkitListResponseItems,
|
|
8
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
9
|
+
"total_pages": Schema.Finite,
|
|
10
|
+
"current_page": Schema.Finite,
|
|
11
|
+
"total_items": Schema.Finite
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ToolkitRetrieveMultiResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-scopes-grant-context.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{toolkit_slug}/scopes/grant_context`, which `client.toolkits.retrieveScopesGrantContext` answers with. */
|
|
4
|
+
declare const ToolkitRetrieveScopesGrantContextResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly auth_scheme: Schema.String;
|
|
6
|
+
readonly toolkit_version: Schema.String;
|
|
7
|
+
readonly grant_context_dimensions: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
8
|
+
readonly dimension: Schema.String;
|
|
9
|
+
readonly description: Schema.String;
|
|
10
|
+
readonly values: Schema.$Array<Schema.String>;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly default_grant_context: Schema.$Record<Schema.String, Schema.String>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ToolkitRetrieveScopesGrantContextResponse };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/toolkits/retrieve-scopes-grant-context.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{toolkit_slug}/scopes/grant_context`, which `client.toolkits.retrieveScopesGrantContext` answers with. */
|
|
5
|
+
const ToolkitRetrieveScopesGrantContextResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"auth_scheme": Schema.String.annotate({ "description": "Auth scheme whose scope catalog the vocabulary was read from." }),
|
|
7
|
+
"toolkit_version": Schema.String.annotate({ "description": "Concrete toolkit version the answer was computed from; pass it back as toolkit_version to pin." }),
|
|
8
|
+
"grant_context_dimensions": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"dimension": Schema.String.annotate({ "description": "Context in which you could grant scopes to your user." }),
|
|
10
|
+
"description": Schema.String.annotate({ "description": "What this dimension means and when to pass it." }),
|
|
11
|
+
"values": Schema.Array(Schema.String).annotate({ "description": "Values that this dimension can take." })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Dimensions this toolkit accepts in grant_context under the auth scheme; [] when no scope depends on grant_context." }),
|
|
13
|
+
"default_grant_context": Schema.Record(Schema.String, Schema.String).annotate({ "description": "The grant_context assumed when you pass none — pass a dimension and its selected value only to override or extend it." })
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ToolkitRetrieveScopesGrantContextResponse };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/toolkits/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{slug}`, which `client.toolkits.retrieve` answers with. */
|
|
4
|
+
declare const ToolkitRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly slug: Schema.String;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly type: Schema.Literals<readonly ["native", "custom"]>;
|
|
8
|
+
readonly enabled: Schema.Boolean;
|
|
9
|
+
readonly access: Schema.optionalKey<Schema.Literals<readonly ["all", "user"]>>;
|
|
10
|
+
readonly composio_managed_auth_schemes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
11
|
+
readonly composio_managed_auth: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
12
|
+
readonly mode: Schema.String;
|
|
13
|
+
readonly scopes: Schema.StructWithRest<Schema.Struct<{
|
|
14
|
+
readonly available: Schema.$Array<Schema.String>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16
|
+
readonly user_scopes: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
17
|
+
readonly available: Schema.$Array<Schema.String>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
19
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
20
|
+
readonly is_local_toolkit: Schema.Boolean;
|
|
21
|
+
readonly auth_config_details: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
22
|
+
readonly mode: Schema.String;
|
|
23
|
+
readonly required_scopes: Schema.$Array<Schema.String>;
|
|
24
|
+
readonly fields: Schema.StructWithRest<Schema.Struct<{
|
|
25
|
+
readonly auth_config_creation: Schema.StructWithRest<Schema.Struct<{
|
|
26
|
+
readonly required: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
27
|
+
readonly name: Schema.String;
|
|
28
|
+
readonly displayName: Schema.String;
|
|
29
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
30
|
+
readonly type: Schema.String;
|
|
31
|
+
readonly description: Schema.String;
|
|
32
|
+
readonly required: Schema.Boolean;
|
|
33
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
34
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
35
|
+
readonly user_visible: Schema.Boolean;
|
|
36
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
37
|
+
readonly optional: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
38
|
+
readonly name: Schema.String;
|
|
39
|
+
readonly displayName: Schema.String;
|
|
40
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
41
|
+
readonly type: Schema.String;
|
|
42
|
+
readonly description: Schema.String;
|
|
43
|
+
readonly required: Schema.Boolean;
|
|
44
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
45
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
46
|
+
readonly user_visible: Schema.Boolean;
|
|
47
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
48
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
49
|
+
readonly connected_account_initiation: Schema.StructWithRest<Schema.Struct<{
|
|
50
|
+
readonly required: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
51
|
+
readonly name: Schema.String;
|
|
52
|
+
readonly displayName: Schema.String;
|
|
53
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
54
|
+
readonly type: Schema.String;
|
|
55
|
+
readonly description: Schema.String;
|
|
56
|
+
readonly required: Schema.Boolean;
|
|
57
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
58
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
59
|
+
readonly user_visible: Schema.Boolean;
|
|
60
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
61
|
+
readonly optional: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
62
|
+
readonly name: Schema.String;
|
|
63
|
+
readonly displayName: Schema.String;
|
|
64
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
65
|
+
readonly type: Schema.String;
|
|
66
|
+
readonly description: Schema.String;
|
|
67
|
+
readonly required: Schema.Boolean;
|
|
68
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
69
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
70
|
+
readonly user_visible: Schema.Boolean;
|
|
71
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
72
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
73
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
74
|
+
readonly proxy: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
75
|
+
readonly base_url: Schema.String;
|
|
76
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
77
|
+
readonly name: Schema.String;
|
|
78
|
+
readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
79
|
+
readonly deprecated_auth_provider_details: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
80
|
+
readonly authorization_url: Schema.optionalKey<Schema.String>;
|
|
81
|
+
readonly token_url: Schema.optionalKey<Schema.String>;
|
|
82
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
83
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
84
|
+
readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
85
|
+
readonly base_url: Schema.optionalKey<Schema.String>;
|
|
86
|
+
readonly meta: Schema.StructWithRest<Schema.Struct<{
|
|
87
|
+
readonly created_at: Schema.String;
|
|
88
|
+
readonly updated_at: Schema.String;
|
|
89
|
+
readonly description: Schema.String;
|
|
90
|
+
readonly logo: Schema.String;
|
|
91
|
+
readonly app_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
92
|
+
readonly categories: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
93
|
+
readonly name: Schema.String;
|
|
94
|
+
readonly slug: Schema.String;
|
|
95
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
96
|
+
readonly triggers_count: Schema.Number;
|
|
97
|
+
readonly tools_count: Schema.Number;
|
|
98
|
+
readonly version: Schema.String;
|
|
99
|
+
readonly available_versions: Schema.$Array<Schema.String>;
|
|
100
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
101
|
+
readonly get_current_user_endpoint: Schema.optionalKey<Schema.String>;
|
|
102
|
+
readonly get_current_user_endpoint_method: Schema.optionalKey<Schema.String>;
|
|
103
|
+
readonly deprecated: Schema.StructWithRest<Schema.Struct<{
|
|
104
|
+
readonly toolkitId: Schema.String;
|
|
105
|
+
readonly getCurrentUserEndpoint: Schema.optionalKey<Schema.String>;
|
|
106
|
+
readonly rawProxyInfoByAuthSchemes: Schema.$Array<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
107
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
108
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
109
|
+
//#endregion
|
|
110
|
+
export { ToolkitRetrieveResponse };
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/toolkits/retrieve.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{slug}`, which `client.toolkits.retrieve` answers with. */
|
|
5
|
+
const ToolkitRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"slug": Schema.String.annotate({
|
|
7
|
+
"description": "URL-friendly unique identifier for the toolkit",
|
|
8
|
+
"examples": ["github"]
|
|
9
|
+
}),
|
|
10
|
+
"name": Schema.String.annotate({
|
|
11
|
+
"description": "Human-readable name of the toolkit",
|
|
12
|
+
"examples": ["GitHub"]
|
|
13
|
+
}),
|
|
14
|
+
"type": Schema.Literals(["native", "custom"]).annotate({
|
|
15
|
+
"description": "Toolkit provenance: \"native\" for Composio-managed toolkits, \"custom\" for a project-registered custom (MCP) toolkit",
|
|
16
|
+
"examples": ["native"]
|
|
17
|
+
}),
|
|
18
|
+
"enabled": Schema.Boolean.annotate({
|
|
19
|
+
"description": "Indicates if this toolkit is currently enabled and available for use",
|
|
20
|
+
"examples": [true]
|
|
21
|
+
}),
|
|
22
|
+
"access": Schema.optionalKey(Schema.Literals(["all", "user"]).annotate({
|
|
23
|
+
"description": "[EXPERIMENTAL] Custom toolkits only. \"all\": every user in the project can use it. \"user\": only the user it was created for can.",
|
|
24
|
+
"examples": ["all"]
|
|
25
|
+
})),
|
|
26
|
+
"composio_managed_auth_schemes": Schema.optionalKey(Schema.Array(Schema.String).annotate({
|
|
27
|
+
"description": "List of authentication methods that Composio manages for this toolkit",
|
|
28
|
+
"examples": [["oauth2"]]
|
|
29
|
+
})),
|
|
30
|
+
"composio_managed_auth": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
31
|
+
"mode": Schema.String.annotate({
|
|
32
|
+
"description": "Authentication mode for the Composio-managed auth config",
|
|
33
|
+
"examples": ["OAUTH2"]
|
|
34
|
+
}),
|
|
35
|
+
"scopes": Schema.StructWithRest(Schema.Struct({ "available": Schema.Array(Schema.String).annotate({ "description": "Available OAuth scopes" }) }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
36
|
+
"description": "OAuth scopes available in the Composio-managed auth config for this auth mode.",
|
|
37
|
+
"examples": [{ "available": ["read", "write"] }]
|
|
38
|
+
}),
|
|
39
|
+
"user_scopes": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({ "available": Schema.Array(Schema.String).annotate({ "description": "Available OAuth user scopes" }) }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
40
|
+
"description": "OAuth user scopes available in the Composio-managed auth config for this auth mode. Only present for Slack toolkits.",
|
|
41
|
+
"examples": [{ "available": ["search:read", "users:read"] }]
|
|
42
|
+
}))
|
|
43
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Managed-auth-only metadata, including the supported OAuth scope ceiling." }),
|
|
44
|
+
"is_local_toolkit": Schema.Boolean.annotate({
|
|
45
|
+
"description": "DEPRECATED: This field is no longer meaningful and will always return false. It was previously used to indicate if a toolkit is specific to the current project.",
|
|
46
|
+
"examples": [false]
|
|
47
|
+
}),
|
|
48
|
+
"auth_config_details": Schema.optionalKey(Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
49
|
+
"mode": Schema.String.annotate({
|
|
50
|
+
"description": "The type of authentication mode (e.g., oauth2, basic_auth, api_key)",
|
|
51
|
+
"examples": ["oauth2"]
|
|
52
|
+
}),
|
|
53
|
+
"required_scopes": Schema.Array(Schema.String).annotate({
|
|
54
|
+
"description": "OAuth scopes that are always requested for this authentication method regardless of the tool-specific scopes selected, such as token-refresh (e.g. offline_access) and identity/whoami scopes. Consumers handling authentication themselves should union these with per-tool scopes.",
|
|
55
|
+
"examples": [["offline_access", "User.Read"]]
|
|
56
|
+
}),
|
|
57
|
+
"fields": Schema.StructWithRest(Schema.Struct({
|
|
58
|
+
"auth_config_creation": Schema.StructWithRest(Schema.Struct({
|
|
59
|
+
"required": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
60
|
+
"name": Schema.String,
|
|
61
|
+
"displayName": Schema.String,
|
|
62
|
+
"default": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
63
|
+
"type": Schema.String,
|
|
64
|
+
"description": Schema.String,
|
|
65
|
+
"required": Schema.Boolean,
|
|
66
|
+
"is_secret": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this field holds a secret/credential value. Clients use it to decide whether to mask the input." })),
|
|
67
|
+
"legacy_template_name": Schema.optionalKey(Schema.String),
|
|
68
|
+
"user_visible": Schema.Boolean.annotate({ "description": "Whether this field is shown to the end user in the hosted connect flow. Fields with `false` are never required — the field's `default` applies unless the developer supplies a value on the auth config (e.g. as a shared credential)." })
|
|
69
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
70
|
+
"optional": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
71
|
+
"name": Schema.String,
|
|
72
|
+
"displayName": Schema.String,
|
|
73
|
+
"default": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
74
|
+
"type": Schema.String,
|
|
75
|
+
"description": Schema.String,
|
|
76
|
+
"required": Schema.Boolean,
|
|
77
|
+
"is_secret": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this field holds a secret/credential value. Clients use it to decide whether to mask the input." })),
|
|
78
|
+
"legacy_template_name": Schema.optionalKey(Schema.String),
|
|
79
|
+
"user_visible": Schema.Boolean.annotate({ "description": "Whether this field is shown to the end user in the hosted connect flow. Fields with `false` are never required — the field's `default` applies unless the developer supplies a value on the auth config (e.g. as a shared credential)." })
|
|
80
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]))
|
|
81
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Form fields needed when creating an authentication configuration" }),
|
|
82
|
+
"connected_account_initiation": Schema.StructWithRest(Schema.Struct({
|
|
83
|
+
"required": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
84
|
+
"name": Schema.String,
|
|
85
|
+
"displayName": Schema.String,
|
|
86
|
+
"default": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
87
|
+
"type": Schema.String,
|
|
88
|
+
"description": Schema.String,
|
|
89
|
+
"required": Schema.Boolean,
|
|
90
|
+
"is_secret": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this field holds a secret/credential value. Clients use it to decide whether to mask the input." })),
|
|
91
|
+
"legacy_template_name": Schema.optionalKey(Schema.String),
|
|
92
|
+
"user_visible": Schema.Boolean.annotate({ "description": "Whether this field is shown to the end user in the hosted connect flow. Fields with `false` are never required — the field's `default` applies unless the developer supplies a value on the auth config (e.g. as a shared credential)." })
|
|
93
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
94
|
+
"optional": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
95
|
+
"name": Schema.String,
|
|
96
|
+
"displayName": Schema.String,
|
|
97
|
+
"default": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
98
|
+
"type": Schema.String,
|
|
99
|
+
"description": Schema.String,
|
|
100
|
+
"required": Schema.Boolean,
|
|
101
|
+
"is_secret": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this field holds a secret/credential value. Clients use it to decide whether to mask the input." })),
|
|
102
|
+
"legacy_template_name": Schema.optionalKey(Schema.String),
|
|
103
|
+
"user_visible": Schema.Boolean.annotate({ "description": "Whether this field is shown to the end user in the hosted connect flow. Fields with `false` are never required — the field's `default` applies unless the developer supplies a value on the auth config (e.g. as a shared credential)." })
|
|
104
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]))
|
|
105
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Form fields needed when connecting a user account with this authentication method" })
|
|
106
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Field groups required for different authentication stages" }),
|
|
107
|
+
"proxy": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({ "base_url": Schema.String.annotate({
|
|
108
|
+
"description": "URL to which authentication requests will be proxied",
|
|
109
|
+
"examples": ["https://auth.example.com/proxy"]
|
|
110
|
+
}) }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Configuration for proxying authentication requests to external services" })),
|
|
111
|
+
"name": Schema.String.annotate({
|
|
112
|
+
"description": "Display name for this authentication method",
|
|
113
|
+
"examples": ["OAuth 2.0"]
|
|
114
|
+
}),
|
|
115
|
+
"auth_hint_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
116
|
+
"description": "URL to a page where users can obtain or configure credentials for this authentication method",
|
|
117
|
+
"examples": ["https://github.com/settings/tokens"]
|
|
118
|
+
})),
|
|
119
|
+
"deprecated_auth_provider_details": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
120
|
+
"authorization_url": Schema.optionalKey(Schema.String),
|
|
121
|
+
"token_url": Schema.optionalKey(Schema.String)
|
|
122
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Authentication URL fields for OAuth 2.0 and OAuth 1.0. We don't recommend using this field for authentication and might break post Aug 31 2025." }))
|
|
123
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Detailed configuration for an authentication method" })).annotate({ "description": "Complete authentication configuration details for each supported auth method" })),
|
|
124
|
+
"auth_guide_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
125
|
+
"description": "URL to a guide page with authentication setup instructions for this toolkit",
|
|
126
|
+
"examples": ["https://composio.dev/auth/github"]
|
|
127
|
+
})),
|
|
128
|
+
"base_url": Schema.optionalKey(Schema.String.annotate({
|
|
129
|
+
"description": "If evaluation of base URL needs some connection info (like shopify), please create the connection and get the base URL from there",
|
|
130
|
+
"examples": ["https://api.github.com"]
|
|
131
|
+
})),
|
|
132
|
+
"meta": Schema.StructWithRest(Schema.Struct({
|
|
133
|
+
"created_at": Schema.String.annotate({
|
|
134
|
+
"description": "Creation date and time of the toolkit",
|
|
135
|
+
"examples": ["2023-01-15T09:30:00.000Z"]
|
|
136
|
+
}),
|
|
137
|
+
"updated_at": Schema.String.annotate({
|
|
138
|
+
"description": "Last modification date and time of the toolkit",
|
|
139
|
+
"examples": ["2023-05-20T14:45:00.000Z"]
|
|
140
|
+
}),
|
|
141
|
+
"description": Schema.String.annotate({
|
|
142
|
+
"description": "Human-readable description explaining the toolkit's purpose and functionality",
|
|
143
|
+
"examples": ["Integrate with GitHub repositories, issues, pull requests, and more."]
|
|
144
|
+
}),
|
|
145
|
+
"logo": Schema.String.annotate({
|
|
146
|
+
"description": "Image URL for the toolkit's branding",
|
|
147
|
+
"examples": ["https://assets.composio.dev/logos/github.png"]
|
|
148
|
+
}),
|
|
149
|
+
"app_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
150
|
+
"description": "Link to the toolkit's main application or service website",
|
|
151
|
+
"examples": ["https://github.com"]
|
|
152
|
+
})),
|
|
153
|
+
"categories": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
154
|
+
"name": Schema.String.annotate({
|
|
155
|
+
"description": "Human-readable category name",
|
|
156
|
+
"examples": ["Developer Tools"]
|
|
157
|
+
}),
|
|
158
|
+
"slug": Schema.String.annotate({
|
|
159
|
+
"description": "URL-friendly identifier for the category",
|
|
160
|
+
"examples": ["developer-tools"]
|
|
161
|
+
})
|
|
162
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({
|
|
163
|
+
"description": "List of categories associated with this toolkit",
|
|
164
|
+
"examples": [[{
|
|
165
|
+
"name": "Developer Tools",
|
|
166
|
+
"slug": "developer-tools"
|
|
167
|
+
}, {
|
|
168
|
+
"name": "Productivity",
|
|
169
|
+
"slug": "productivity"
|
|
170
|
+
}]]
|
|
171
|
+
}),
|
|
172
|
+
"triggers_count": Schema.Number.annotate({
|
|
173
|
+
"description": "Count of available triggers in this toolkit",
|
|
174
|
+
"examples": [5]
|
|
175
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
176
|
+
"tools_count": Schema.Number.annotate({
|
|
177
|
+
"description": "Count of available tools in this toolkit",
|
|
178
|
+
"examples": [12]
|
|
179
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
180
|
+
"version": Schema.String.annotate({
|
|
181
|
+
"description": "Version of the toolkit",
|
|
182
|
+
"examples": ["20250905_00"]
|
|
183
|
+
}),
|
|
184
|
+
"available_versions": Schema.Array(Schema.String).annotate({
|
|
185
|
+
"description": "Available versions of the toolkit",
|
|
186
|
+
"examples": [["20250905_00", "20250906_00"]]
|
|
187
|
+
})
|
|
188
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Comprehensive metadata for the toolkit including dates, descriptions, and statistics" }),
|
|
189
|
+
"get_current_user_endpoint": Schema.optionalKey(Schema.String.annotate({ "description": "Endpoint to get the current user" })),
|
|
190
|
+
"get_current_user_endpoint_method": Schema.optionalKey(Schema.String.annotate({
|
|
191
|
+
"description": "HTTP method to use when calling the get current user endpoint (e.g., GET, POST)",
|
|
192
|
+
"examples": ["GET"]
|
|
193
|
+
})),
|
|
194
|
+
"deprecated": Schema.StructWithRest(Schema.Struct({
|
|
195
|
+
"toolkitId": Schema.String,
|
|
196
|
+
"getCurrentUserEndpoint": Schema.optionalKey(Schema.String),
|
|
197
|
+
"rawProxyInfoByAuthSchemes": Schema.Array(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })))
|
|
198
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])
|
|
199
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Detailed information about a single toolkit" });
|
|
200
|
+
|
|
201
|
+
//#endregion
|
|
202
|
+
export { ToolkitRetrieveResponse };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tools/execute.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/{tool_slug}`, which `client.tools.execute` answers with. */
|
|
4
|
+
declare const ToolExecuteResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
6
|
+
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7
|
+
readonly successful: Schema.Boolean;
|
|
8
|
+
readonly session_info: Schema.optionalKey<Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>>;
|
|
9
|
+
readonly log_id: Schema.optionalKey<Schema.String>;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ToolExecuteResponse };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/execute.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/{tool_slug}`, which `client.tools.execute` answers with. */
|
|
5
|
+
const ToolExecuteResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"data": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
7
|
+
"description": "Tool execution output data that varies based on the specific tool",
|
|
8
|
+
"examples": [{
|
|
9
|
+
"run_id": 12345678,
|
|
10
|
+
"status": "queued",
|
|
11
|
+
"created_at": "2023-01-01T12:00:00Z",
|
|
12
|
+
"html_url": "https://github.com/octocat/Hello-World/actions/runs/12345678"
|
|
13
|
+
}]
|
|
14
|
+
}),
|
|
15
|
+
"error": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Error message if the tool execution was not successful (null if successful)" }),
|
|
16
|
+
"successful": Schema.Boolean.annotate({
|
|
17
|
+
"description": "Indicates if the tool execution was successful",
|
|
18
|
+
"examples": [true]
|
|
19
|
+
}),
|
|
20
|
+
"session_info": Schema.optionalKey(Schema.Union([Schema.Json.annotate({
|
|
21
|
+
"expected": "JSON value",
|
|
22
|
+
"description": "Optional session information for tools that return session context",
|
|
23
|
+
"examples": [{
|
|
24
|
+
"session_id": "session-12345",
|
|
25
|
+
"expires_at": "2023-01-01T13:00:00Z"
|
|
26
|
+
}]
|
|
27
|
+
}), Schema.Null])),
|
|
28
|
+
"log_id": Schema.optionalKey(Schema.String.annotate({
|
|
29
|
+
"description": "Unique identifier for the execution log (useful for debugging and support)",
|
|
30
|
+
"examples": ["log_1a2b3c4d5e6f"]
|
|
31
|
+
}))
|
|
32
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ToolExecuteResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tools/get-input.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/{tool_slug}/input`, which `client.tools.getInput` answers with. */
|
|
4
|
+
declare const ToolGetInputResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly arguments: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
6
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ToolGetInputResponse };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/get-input.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/{tool_slug}/input`, which `client.tools.getInput` answers with. */
|
|
5
|
+
const ToolGetInputResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"arguments": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
7
|
+
"description": "Key-value pairs of arguments required by the tool to accomplish the described task",
|
|
8
|
+
"examples": [{
|
|
9
|
+
"repository": "octocat/Hello-World",
|
|
10
|
+
"workflow_id": "main.yml",
|
|
11
|
+
"ref": "main",
|
|
12
|
+
"inputs": { "environment": "production" }
|
|
13
|
+
}]
|
|
14
|
+
})),
|
|
15
|
+
"error": Schema.optionalKey(Schema.String.annotate({
|
|
16
|
+
"description": "Error message if the arguments could not be generated (null if successful)",
|
|
17
|
+
"examples": ["Unable to determine the repository name from the provided description"]
|
|
18
|
+
}))
|
|
19
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ToolGetInputResponse };
|