@composio/client 2.0.0-rc.11 → 2.0.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +336 -4
- package/dist/{api-key-revocation-Dh-KSokR.mjs → api-key-revocation-Cepb5MPW.mjs} +2 -2
- package/dist/{auth-configs-yM05-r6r.mjs → auth-configs-DuClvjog.mjs} +1 -1
- package/dist/{auth-Drov-jN8.mjs → auth-g5G0n9oV.mjs} +2 -2
- package/dist/{clanker-BYmc69WC.mjs → clanker-D1NQWaPc.mjs} +2 -2
- package/dist/{cli-Ce8RT7yp.mjs → cli-CGKT5K03.mjs} +3 -3
- package/dist/{connected-accounts-D__sOoNZ.mjs → connected-accounts-C8CZoYC9.mjs} +3 -3
- package/dist/{consumer-DTh50Hih.mjs → consumer-C9YlbuuF.mjs} +3 -3
- package/dist/{custom-nlGufiDz.mjs → custom-C__H3Kph.mjs} +1 -1
- package/dist/{custom-CdC-6Y_i.mjs → custom-Dh-9BeLk.mjs} +1 -1
- 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 +54 -0
- package/dist/effect/schemas/auth-configs/list.mjs +66 -0
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +48 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +60 -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/cli/create-codact-failure.d.mts +9 -0
- package/dist/effect/schemas/cli/create-codact-failure.mjs +17 -0
- package/dist/effect/schemas/cli/create-session.d.mts +12 -0
- package/dist/effect/schemas/cli/create-session.mjs +26 -0
- package/dist/effect/schemas/cli/get-session.d.mts +18 -0
- package/dist/effect/schemas/cli/get-session.mjs +48 -0
- package/dist/effect/schemas/cli/realtime/auth.d.mts +9 -0
- package/dist/effect/schemas/cli/realtime/auth.mjs +11 -0
- package/dist/effect/schemas/cli/realtime/credentials.d.mts +10 -0
- package/dist/effect/schemas/cli/realtime/credentials.mjs +12 -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/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-completed.d.mts +16 -0
- package/dist/effect/schemas/components/execute-completed.mjs +27 -0
- package/dist/effect/schemas/components/execute-failed.d.mts +16 -0
- package/dist/effect/schemas/components/execute-failed.mjs +27 -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/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-completed.d.mts +17 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +36 -0
- package/dist/effect/schemas/components/session-create-response-config.d.mts +83 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +130 -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 +94 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +141 -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/logs/tools/list-fields.d.mts +13 -0
- package/dist/effect/schemas/logs/tools/list-fields.mjs +13 -0
- package/dist/effect/schemas/logs/tools/list.d.mts +28 -0
- package/dist/effect/schemas/logs/tools/list.mjs +33 -0
- package/dist/effect/schemas/logs/tools/retrieve.d.mts +60 -0
- package/dist/effect/schemas/logs/tools/retrieve.mjs +74 -0
- package/dist/effect/schemas/logs/triggers/list.d.mts +34 -0
- package/dist/effect/schemas/logs/triggers/list.mjs +12 -0
- package/dist/effect/schemas/logs/triggers/retrieve.d.mts +33 -0
- package/dist/effect/schemas/logs/triggers/retrieve.mjs +9 -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/clanker/create-claim.d.mts +9 -0
- package/dist/effect/schemas/org/clanker/create-claim.mjs +14 -0
- package/dist/effect/schemas/org/consumer/list-connected-toolkits.d.mts +8 -0
- package/dist/effect/schemas/org/consumer/list-connected-toolkits.mjs +8 -0
- package/dist/effect/schemas/org/consumer/project/resolve.d.mts +19 -0
- package/dist/effect/schemas/org/consumer/project/resolve.mjs +30 -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 +34 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +59 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +93 -0
- package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +128 -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 +35 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +35 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +15 -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 +128 -0
- package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +26 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +10 -0
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/search.d.mts +76 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +74 -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 +34 -0
- package/dist/effect/schemas/trigger-instances/list-active.mjs +37 -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 +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.mjs +8 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +27 -0
- package/dist/effect/schemas/triggers-types/list.mjs +86 -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 +21 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +80 -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 +9636 -0
- package/dist/effect/schemas.mjs +131 -0
- package/dist/effect.d.mts +749 -0
- package/dist/effect.mjs +1572 -0
- package/dist/{error-DLB1uKM3.mjs → error-D9cG225M.mjs} +15 -7
- package/dist/{files-RJPIH6iE.mjs → files-Azjc6Q8K.mjs} +1 -1
- package/dist/{files-DROCPzLP.mjs → files-D117G13q.mjs} +1 -1
- package/dist/{generate-mU4b3zJf.mjs → generate-CRTH0ELB.mjs} +1 -1
- package/dist/generated-deprecated-inputs-LDMdNcg5.mjs +201 -0
- package/dist/{generated-operations-CWhusMPU.mjs → generated-operations-CtVNMBUj.mjs} +13 -13
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +25 -212
- package/dist/{keyring-BzkcB1gu.mjs → keyring-Ct88j6tO.mjs} +1 -1
- package/dist/{link-CfIyH3nF.mjs → link-Cf--DVaO.mjs} +1 -1
- package/dist/{logs-D2wxXYiO.mjs → logs-Drxog1aA.mjs} +4 -5
- package/dist/{manage-Vc3jdRr_.mjs → manage-CE_6prdE.mjs} +1 -1
- package/dist/{mcp-DEe7xU7G.mjs → mcp-BH8R-5YV.mjs} +5 -5
- package/dist/{org-CYsl9O1u.mjs → org-Wf7f-Vv6.mjs} +7 -7
- package/dist/{owner-DmQb3AF5.mjs → owner-t5WgXUr3.mjs} +2 -2
- package/dist/pagination-rules-uMUdPq_7.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/{project-OSigfIdr.mjs → project-CbBPg2b6.mjs} +2 -2
- package/dist/{project-BVBWJzHm.mjs → project-CnnjwkO0.mjs} +2 -2
- package/dist/{project-DvSCDA9B.mjs → project-EfFVX-hX.mjs} +2 -2
- package/dist/{project-D-_r3H1_.mjs → project-p51XghZG.mjs} +2 -3
- package/dist/{realtime-Dsk1QGAl.mjs → realtime-BKG7w32e.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-BUYbl8BA.mjs → session-BmNXoUzp.mjs} +3 -3
- package/dist/{session-DfISYrbs.mjs → session-Dr2pfpgr.mjs} +2 -3
- package/dist/{session-configs-CipRvstF.d.mts → session-configs-BCEkl1E-.d.mts} +67 -67
- package/dist/{tool-router-DJQ12uhs.mjs → tool-router-DUl_FyWW.mjs} +1 -1
- package/dist/{toolkits-CbdyRtvr.mjs → toolkits-NqNU3W0c.mjs} +2 -2
- package/dist/{tools-a29E_8La.mjs → tools-N4xcs_0a.mjs} +1 -1
- package/dist/{tools-DiH6dAto.mjs → tools-tclheOeG.mjs} +2 -2
- package/dist/{trigger-instances-Bg0n7X-d.mjs → trigger-instances-93_0xLWQ.mjs} +2 -2
- package/dist/{triggers-BoSFNGss.mjs → triggers-AZd9nfc9.mjs} +1 -1
- package/dist/{triggers-types-BPtTEwUA.mjs → triggers-types-Cop2FUpI.mjs} +1 -1
- package/dist/{usage-Cs10eWCd.mjs → usage-CGagRqsM.mjs} +2 -2
- package/dist/{usage-CHVyZ3tm.mjs → usage-CrsH3XJs.mjs} +2 -2
- package/dist/version-CVZVY0oU.d.mts +4 -0
- package/dist/{webhook-endpoints-B4lZc5YC.mjs → webhook-endpoints-B2b3GF14.mjs} +2 -3
- package/dist/{webhook-subscriptions-DJTSJd6K.mjs → webhook-subscriptions-CSP2_-0w.mjs} +2 -2
- package/package.json +27 -5
|
@@ -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 };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
//#region src/effect/generated/schemas/tools/list.d.ts
|
|
2
|
+
/** The 200 response of `GET /api/v3.1/tools`, which `client.tools.list` answers with. */
|
|
3
|
+
declare const ToolListResponse: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
4
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
5
|
+
readonly slug: import("effect/Schema").String;
|
|
6
|
+
readonly name: import("effect/Schema").String;
|
|
7
|
+
readonly description: import("effect/Schema").String;
|
|
8
|
+
readonly toolkit: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
9
|
+
readonly slug: import("effect/Schema").String;
|
|
10
|
+
readonly name: import("effect/Schema").String;
|
|
11
|
+
readonly logo: import("effect/Schema").String;
|
|
12
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
13
|
+
readonly input_parameters: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>;
|
|
14
|
+
readonly no_auth: import("effect/Schema").Boolean;
|
|
15
|
+
readonly available_versions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
16
|
+
readonly version: import("effect/Schema").String;
|
|
17
|
+
readonly instant: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
18
|
+
readonly supported: import("effect/Schema").Literal<true>;
|
|
19
|
+
readonly price: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
20
|
+
readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
21
|
+
readonly discount: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>>;
|
|
22
|
+
}>>;
|
|
23
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
24
|
+
readonly output_parameters: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>;
|
|
25
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
26
|
+
readonly scope_requirements: import("effect/Schema").Union<readonly [import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
27
|
+
readonly all_of: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
28
|
+
readonly any_of: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
29
|
+
readonly all_of: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
30
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
31
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>]>>;
|
|
32
|
+
readonly when: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
33
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
34
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>]>>;
|
|
35
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
36
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>, import("effect/Schema").Null]>;
|
|
37
|
+
readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
38
|
+
readonly human_description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
39
|
+
readonly is_deprecated: import("effect/Schema").Boolean;
|
|
40
|
+
readonly deprecated: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
41
|
+
readonly displayName: import("effect/Schema").String;
|
|
42
|
+
readonly version: import("effect/Schema").String;
|
|
43
|
+
readonly available_versions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
44
|
+
readonly is_deprecated: import("effect/Schema").Boolean;
|
|
45
|
+
readonly toolkit: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
46
|
+
readonly logo: import("effect/Schema").String;
|
|
47
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
48
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
49
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
50
|
+
readonly next_cursor: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>>;
|
|
51
|
+
readonly total_pages: import("effect/Schema").Number;
|
|
52
|
+
readonly current_page: import("effect/Schema").Number;
|
|
53
|
+
readonly total_items: import("effect/Schema").Number;
|
|
54
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
55
|
+
//#endregion
|
|
56
|
+
export { ToolListResponse };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ToolsPaginated } from "../components/tools-paginated.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/list.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/tools`, which `client.tools.list` answers with. */
|
|
5
|
+
const ToolListResponse = ToolsPaginated;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ToolListResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tools/proxy.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/proxy`, which `client.tools.proxy` answers with. */
|
|
4
|
+
declare const ToolProxyResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly data: Schema.optionalKey<Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>>;
|
|
6
|
+
readonly binary_data: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly url: Schema.String;
|
|
8
|
+
readonly content_type: Schema.String;
|
|
9
|
+
readonly size: Schema.Number;
|
|
10
|
+
readonly expires_at: Schema.optionalKey<Schema.String>;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly status: Schema.Number;
|
|
13
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ToolProxyResponse };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/proxy.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/tools/execute/proxy`, which `client.tools.proxy` answers with. */
|
|
5
|
+
const ToolProxyResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"data": Schema.optionalKey(Schema.Union([Schema.Json.annotate({
|
|
7
|
+
"expected": "JSON value",
|
|
8
|
+
"description": "The response data returned from the proxied API",
|
|
9
|
+
"examples": [{
|
|
10
|
+
"id": "123",
|
|
11
|
+
"name": "Resource Name",
|
|
12
|
+
"created_at": "2023-01-01T00:00:00Z"
|
|
13
|
+
}]
|
|
14
|
+
}), Schema.Null])),
|
|
15
|
+
"binary_data": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
16
|
+
"url": Schema.String.annotate({ "description": "URL to download binary content" }),
|
|
17
|
+
"content_type": Schema.String.annotate({ "description": "Content-Type of the binary data" }),
|
|
18
|
+
"size": Schema.Number.annotate({ "description": "File size in bytes" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
19
|
+
"expires_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 timestamp when the URL expires" }))
|
|
20
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Binary body response data. Present when the response is a binary file." })),
|
|
21
|
+
"status": Schema.Number.annotate({
|
|
22
|
+
"description": "The HTTP status code returned from the proxied API",
|
|
23
|
+
"examples": [200]
|
|
24
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
25
|
+
"headers": Schema.optionalKey(Schema.Record(Schema.String, Schema.String).annotate({
|
|
26
|
+
"description": "The HTTP headers returned from the proxied API",
|
|
27
|
+
"examples": [{
|
|
28
|
+
"content-type": "application/json",
|
|
29
|
+
"cache-control": "no-cache",
|
|
30
|
+
"host": "api.example.com"
|
|
31
|
+
}]
|
|
32
|
+
}))
|
|
33
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ToolProxyResponse };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tools/retrieve-enum.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/tools/enum`, which `client.tools.retrieveEnum` answers with. */
|
|
4
|
+
declare const ToolRetrieveEnumResponse: Schema.$Array<Schema.String>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ToolRetrieveEnumResponse };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/retrieve-enum.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/tools/enum`, which `client.tools.retrieveEnum` answers with. */
|
|
5
|
+
const ToolRetrieveEnumResponse = Schema.Array(Schema.String).annotate({ "description": "JSON string containing all tool enum values from latest version of each toolkit" });
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ToolRetrieveEnumResponse };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tools/retrieve-required-scopes.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/tools/scopes/required`, which `client.tools.retrieveRequiredScopes` answers with. */
|
|
4
|
+
declare const ToolRetrieveRequiredScopesResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly scopes_required: Schema.$Array<Schema.String>;
|
|
6
|
+
readonly per_tool_requirements: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly tool: Schema.String;
|
|
8
|
+
readonly scope_requirements: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
9
|
+
readonly all_of: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly any_of: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
11
|
+
readonly all_of: Schema.$Array<Schema.String>;
|
|
12
|
+
readonly source: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>;
|
|
14
|
+
readonly when: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
|
|
15
|
+
readonly source: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>>;
|
|
17
|
+
readonly source: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>;
|
|
19
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
20
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ToolRetrieveRequiredScopesResponse };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/retrieve-required-scopes.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/tools/scopes/required`, which `client.tools.retrieveRequiredScopes` answers with. */
|
|
5
|
+
const ToolRetrieveRequiredScopesResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"scopes_required": Schema.Array(Schema.String).annotate({
|
|
7
|
+
"description": "A combined list of all unique scopes required by the specified tools",
|
|
8
|
+
"examples": [[
|
|
9
|
+
"channels:read",
|
|
10
|
+
"chat:write",
|
|
11
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
12
|
+
"repo",
|
|
13
|
+
"user:email"
|
|
14
|
+
]]
|
|
15
|
+
}),
|
|
16
|
+
"per_tool_requirements": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
17
|
+
"tool": Schema.String,
|
|
18
|
+
"scope_requirements": Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
19
|
+
"all_of": Schema.Array(Schema.Union([Schema.String, Schema.StructWithRest(Schema.Struct({
|
|
20
|
+
"any_of": Schema.Array(Schema.Union([Schema.String, Schema.StructWithRest(Schema.Struct({
|
|
21
|
+
"all_of": Schema.Array(Schema.String).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })),
|
|
22
|
+
"source": Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" }))).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })))
|
|
23
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])])).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })),
|
|
24
|
+
"when": Schema.optionalKey(Schema.Record(Schema.String, Schema.Array(Schema.String).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })))),
|
|
25
|
+
"source": Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" }))).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })))
|
|
26
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])])),
|
|
27
|
+
"source": Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" }))).check(Schema.isMinLength(1).annotate({ "expected": "a value with a length of at least 1" })))
|
|
28
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null])
|
|
29
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Per-tool structured scope requirements. Null scope_requirements marks unmigrated legacy tools." })
|
|
30
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ToolRetrieveRequiredScopesResponse };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region src/effect/generated/schemas/tools/retrieve.d.ts
|
|
2
|
+
/** The 200 response of `GET /api/v3.1/tools/{tool_slug}`, which `client.tools.retrieve` answers with. */
|
|
3
|
+
declare const ToolRetrieveResponse: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
4
|
+
readonly slug: import("effect/Schema").String;
|
|
5
|
+
readonly name: import("effect/Schema").String;
|
|
6
|
+
readonly description: import("effect/Schema").String;
|
|
7
|
+
readonly toolkit: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
8
|
+
readonly slug: import("effect/Schema").String;
|
|
9
|
+
readonly name: import("effect/Schema").String;
|
|
10
|
+
readonly logo: import("effect/Schema").String;
|
|
11
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
12
|
+
readonly input_parameters: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>;
|
|
13
|
+
readonly no_auth: import("effect/Schema").Boolean;
|
|
14
|
+
readonly available_versions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
15
|
+
readonly version: import("effect/Schema").String;
|
|
16
|
+
readonly instant: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
17
|
+
readonly supported: import("effect/Schema").Literal<true>;
|
|
18
|
+
readonly price: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
19
|
+
readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
20
|
+
readonly discount: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
23
|
+
readonly output_parameters: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>;
|
|
24
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
25
|
+
readonly scope_requirements: import("effect/Schema").Union<readonly [import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
26
|
+
readonly all_of: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
27
|
+
readonly any_of: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
28
|
+
readonly all_of: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
29
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
30
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>]>>;
|
|
31
|
+
readonly when: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
32
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
33
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>]>>;
|
|
34
|
+
readonly source: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
35
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>, import("effect/Schema").Null]>;
|
|
36
|
+
readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
37
|
+
readonly human_description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
38
|
+
readonly is_deprecated: import("effect/Schema").Boolean;
|
|
39
|
+
readonly deprecated: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
40
|
+
readonly displayName: import("effect/Schema").String;
|
|
41
|
+
readonly version: import("effect/Schema").String;
|
|
42
|
+
readonly available_versions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
43
|
+
readonly is_deprecated: import("effect/Schema").Boolean;
|
|
44
|
+
readonly toolkit: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
45
|
+
readonly logo: import("effect/Schema").String;
|
|
46
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
47
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
48
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { ToolRetrieveResponse };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ToolDetails } from "../components/tool-details.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tools/retrieve.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/tools/{tool_slug}`, which `client.tools.retrieve` answers with. */
|
|
5
|
+
const ToolRetrieveResponse = ToolDetails;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ToolRetrieveResponse };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/trigger-instances/list-active.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/trigger_instances/active`, which `client.triggerInstances.listActive` answers with. */
|
|
4
|
+
declare const TriggerInstanceListActiveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly uuid: Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly id: Schema.String;
|
|
8
|
+
readonly connected_account_id: Schema.String;
|
|
9
|
+
readonly trigger_name: Schema.String;
|
|
10
|
+
readonly connected_account_uuid: Schema.String;
|
|
11
|
+
readonly user_id: Schema.String;
|
|
12
|
+
readonly trigger_data: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly version: Schema.String;
|
|
14
|
+
readonly trigger_config: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
15
|
+
readonly egress_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
16
|
+
readonly state: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>, Schema.Null]>;
|
|
17
|
+
readonly updated_at: Schema.String;
|
|
18
|
+
readonly disabled_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
19
|
+
readonly disabledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
20
|
+
readonly connectedAccountId: Schema.String;
|
|
21
|
+
readonly triggerName: Schema.String;
|
|
22
|
+
readonly updatedAt: Schema.String;
|
|
23
|
+
readonly triggerConfig: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
24
|
+
readonly deprecated: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
25
|
+
readonly createdAt: Schema.String;
|
|
26
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
27
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
28
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
29
|
+
readonly total_pages: Schema.Number;
|
|
30
|
+
readonly current_page: Schema.Number;
|
|
31
|
+
readonly total_items: Schema.Number;
|
|
32
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { TriggerInstanceListActiveResponse };
|