@composio/client 2.0.0-rc.11 → 2.0.0-rc.12
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-DJF8KL2o.mjs} +1 -1
- package/dist/{auth-Drov-jN8.mjs → auth-CHlaMfu-.mjs} +1 -1
- package/dist/{auth-configs-yM05-r6r.mjs → auth-configs-sKOQG2Yw.mjs} +1 -1
- package/dist/{clanker-BYmc69WC.mjs → clanker-DyM265dK.mjs} +1 -1
- package/dist/{cli-Ce8RT7yp.mjs → cli-zrk9Qew1.mjs} +2 -2
- package/dist/{connected-accounts-D__sOoNZ.mjs → connected-accounts-a6ezLeaq.mjs} +1 -1
- package/dist/{consumer-DTh50Hih.mjs → consumer-B0qaosDp.mjs} +2 -2
- package/dist/{custom-CdC-6Y_i.mjs → custom-99mj4dPN.mjs} +1 -1
- package/dist/{custom-nlGufiDz.mjs → custom-Ddfc8mtR.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-DROCPzLP.mjs → files-BkqUHaPL.mjs} +1 -1
- package/dist/{files-RJPIH6iE.mjs → files-ITYv6j_c.mjs} +1 -1
- package/dist/{generate-mU4b3zJf.mjs → generate-i93AYL8q.mjs} +1 -1
- package/dist/generated-deprecated-inputs-CQlAN1eH.mjs +201 -0
- package/dist/{generated-operations-CWhusMPU.mjs → generated-operations-BguuMwpw.mjs} +5 -5
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +25 -212
- package/dist/{keyring-BzkcB1gu.mjs → keyring-FoLfgtBi.mjs} +1 -1
- package/dist/{link-CfIyH3nF.mjs → link-DdF0Mpaw.mjs} +1 -1
- package/dist/{logs-D2wxXYiO.mjs → logs-Bk1qx5Br.mjs} +3 -3
- package/dist/{manage-Vc3jdRr_.mjs → manage-CAZEslDY.mjs} +1 -1
- package/dist/{mcp-DEe7xU7G.mjs → mcp-B91r14RW.mjs} +3 -3
- package/dist/{org-CYsl9O1u.mjs → org-JUdjHRmz.mjs} +6 -6
- package/dist/{owner-DmQb3AF5.mjs → owner-BiP5UwSE.mjs} +1 -1
- package/dist/pagination-rules-uMUdPq_7.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/{project-D-_r3H1_.mjs → project-B8d4M3Ut.mjs} +1 -1
- package/dist/{project-BVBWJzHm.mjs → project-BJ0ixr7M.mjs} +1 -1
- package/dist/{project-OSigfIdr.mjs → project-BqlCHKGr.mjs} +1 -1
- package/dist/{project-DvSCDA9B.mjs → project-D4uc18P5.mjs} +1 -1
- package/dist/{realtime-Dsk1QGAl.mjs → realtime-BY6LAuSf.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-DfISYrbs.mjs → session-BISWW6RD.mjs} +1 -1
- package/dist/{session-BUYbl8BA.mjs → session-BMaJyaay.mjs} +2 -2
- package/dist/{session-configs-CipRvstF.d.mts → session-configs-Uq4WDziI.d.mts} +41 -37
- package/dist/{tool-router-DJQ12uhs.mjs → tool-router-CigDMyik.mjs} +1 -1
- package/dist/{toolkits-CbdyRtvr.mjs → toolkits-8jNDLM-m.mjs} +1 -1
- package/dist/{tools-DiH6dAto.mjs → tools-B8MskXI8.mjs} +1 -1
- package/dist/{tools-a29E_8La.mjs → tools-Dl-mKUP6.mjs} +1 -1
- package/dist/{trigger-instances-Bg0n7X-d.mjs → trigger-instances-DRUh_YQ4.mjs} +2 -2
- package/dist/{triggers-BoSFNGss.mjs → triggers-BrVLwzqY.mjs} +1 -1
- package/dist/{triggers-types-BPtTEwUA.mjs → triggers-types-c8LTfiyU.mjs} +1 -1
- package/dist/{usage-Cs10eWCd.mjs → usage-Bgc2EN82.mjs} +1 -1
- package/dist/{usage-CHVyZ3tm.mjs → usage-CMyLY8PR.mjs} +1 -1
- package/dist/version-D-eWgm6-.d.mts +4 -0
- package/dist/{webhook-endpoints-B4lZc5YC.mjs → webhook-endpoints-BN8qcJuW.mjs} +1 -1
- package/dist/{webhook-subscriptions-DJTSJd6K.mjs → webhook-subscriptions-BOYXHSCR.mjs} +1 -1
- package/package.json +27 -5
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ConnectedAccountCreateResponseConnectionDataOption1 } from "./connected-account-create-response-connection-data-option1.mjs";
|
|
2
|
+
import { ConnectedAccountCreateResponseConnectionDataOption10 } from "./connected-account-create-response-connection-data-option10.mjs";
|
|
3
|
+
import { ConnectedAccountCreateResponseConnectionDataOption11 } from "./connected-account-create-response-connection-data-option11.mjs";
|
|
4
|
+
import { ConnectedAccountCreateResponseConnectionDataOption12 } from "./connected-account-create-response-connection-data-option12.mjs";
|
|
5
|
+
import { ConnectedAccountCreateResponseConnectionDataOption13 } from "./connected-account-create-response-connection-data-option13.mjs";
|
|
6
|
+
import { ConnectedAccountCreateResponseConnectionDataOption14 } from "./connected-account-create-response-connection-data-option14.mjs";
|
|
7
|
+
import { ConnectedAccountCreateResponseConnectionDataOption15 } from "./connected-account-create-response-connection-data-option15.mjs";
|
|
8
|
+
import { ConnectedAccountCreateResponseConnectionDataOption2 } from "./connected-account-create-response-connection-data-option2.mjs";
|
|
9
|
+
import { ConnectedAccountCreateResponseConnectionDataOption3 } from "./connected-account-create-response-connection-data-option3.mjs";
|
|
10
|
+
import { ConnectedAccountCreateResponseConnectionDataOption4 } from "./connected-account-create-response-connection-data-option4.mjs";
|
|
11
|
+
import { ConnectedAccountCreateResponseConnectionDataOption5 } from "./connected-account-create-response-connection-data-option5.mjs";
|
|
12
|
+
import { ConnectedAccountCreateResponseConnectionDataOption6 } from "./connected-account-create-response-connection-data-option6.mjs";
|
|
13
|
+
import { ConnectedAccountCreateResponseConnectionDataOption7 } from "./connected-account-create-response-connection-data-option7.mjs";
|
|
14
|
+
import { ConnectedAccountCreateResponseConnectionDataOption8 } from "./connected-account-create-response-connection-data-option8.mjs";
|
|
15
|
+
import { ConnectedAccountCreateResponseConnectionDataOption9 } from "./connected-account-create-response-connection-data-option9.mjs";
|
|
16
|
+
import * as Schema from "effect/Schema";
|
|
17
|
+
|
|
18
|
+
//#region src/effect/generated/schemas/components/connected-account-retrieve-response-state.ts
|
|
19
|
+
/** The `ConnectedAccountRetrieveResponseState` component schema. */
|
|
20
|
+
const ConnectedAccountRetrieveResponseState = Schema.Union([
|
|
21
|
+
ConnectedAccountCreateResponseConnectionDataOption1,
|
|
22
|
+
ConnectedAccountCreateResponseConnectionDataOption2,
|
|
23
|
+
ConnectedAccountCreateResponseConnectionDataOption3,
|
|
24
|
+
ConnectedAccountCreateResponseConnectionDataOption4,
|
|
25
|
+
ConnectedAccountCreateResponseConnectionDataOption5,
|
|
26
|
+
ConnectedAccountCreateResponseConnectionDataOption6,
|
|
27
|
+
ConnectedAccountCreateResponseConnectionDataOption7,
|
|
28
|
+
ConnectedAccountCreateResponseConnectionDataOption8,
|
|
29
|
+
ConnectedAccountCreateResponseConnectionDataOption9,
|
|
30
|
+
ConnectedAccountCreateResponseConnectionDataOption10,
|
|
31
|
+
ConnectedAccountCreateResponseConnectionDataOption11,
|
|
32
|
+
ConnectedAccountCreateResponseConnectionDataOption12,
|
|
33
|
+
ConnectedAccountCreateResponseConnectionDataOption13,
|
|
34
|
+
ConnectedAccountCreateResponseConnectionDataOption14,
|
|
35
|
+
ConnectedAccountCreateResponseConnectionDataOption15
|
|
36
|
+
], { mode: "oneOf" }).annotate({
|
|
37
|
+
"description": "The state of the connection",
|
|
38
|
+
"identifier": "ConnectedAccountRetrieveResponseState"
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ConnectedAccountRetrieveResponseState };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/deprecated-toolkit-info.d.ts
|
|
3
|
+
/** The `DeprecatedToolkitInfo` component schema. */
|
|
4
|
+
declare const DeprecatedToolkitInfo: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly toolkitId: Schema.String;
|
|
6
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { DeprecatedToolkitInfo };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/deprecated-toolkit-info.ts
|
|
4
|
+
/** The `DeprecatedToolkitInfo` component schema. */
|
|
5
|
+
const DeprecatedToolkitInfo = Schema.StructWithRest(Schema.Struct({ "toolkitId": Schema.String }), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
6
|
+
"description": "Deprecated toolkit ID",
|
|
7
|
+
"examples": [{ "toolkitId": "550e8400-e29b-41d4-a716-446655440000" }],
|
|
8
|
+
"identifier": "DeprecatedToolkitInfo"
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { DeprecatedToolkitInfo };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-completed.d.ts
|
|
3
|
+
/** The `ExecuteCompleted` component schema. */
|
|
4
|
+
declare const ExecuteCompleted: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"completed">;
|
|
6
|
+
readonly instant_charge: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly amount: Schema.String;
|
|
8
|
+
readonly currency: Schema.Literal<"USD">;
|
|
9
|
+
readonly charged_by: Schema.Literal<"composio">;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
11
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
12
|
+
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly log_id: Schema.String;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ExecuteCompleted };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/execute-completed.ts
|
|
4
|
+
/** The `ExecuteCompleted` component schema. */
|
|
5
|
+
const ExecuteCompleted = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"result_type": Schema.Literal("completed").annotate({ "description": "The tool ran and succeeded" }),
|
|
7
|
+
"instant_charge": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
8
|
+
"amount": Schema.String.annotate({ "description": "Instant charge in USD as an exact non-negative decimal string, with up to 12 fractional digits." }).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(0|[1-9]\\d*)(\\.\\d{1,12})?$", "u")).annotate({ "expected": "a string matching the RegExp ^(0|[1-9]\\d*)(\\.\\d{1,12})?$" })),
|
|
9
|
+
"currency": Schema.Literal("USD").annotate({ "description": "Currency of the instant charge. Always USD." }),
|
|
10
|
+
"charged_by": Schema.Literal("composio").annotate({ "description": "Entity charging for instant usage. Always composio." })
|
|
11
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails." })),
|
|
12
|
+
"data": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
13
|
+
"description": "The data returned by the tool execution",
|
|
14
|
+
"examples": [{
|
|
15
|
+
"message": "Hello, World!",
|
|
16
|
+
"status": "success"
|
|
17
|
+
}]
|
|
18
|
+
}),
|
|
19
|
+
"error": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Error message if the execution failed, null otherwise" }),
|
|
20
|
+
"log_id": Schema.String.annotate({
|
|
21
|
+
"description": "Unique identifier for the execution log",
|
|
22
|
+
"examples": ["log_abc123xyz"]
|
|
23
|
+
})
|
|
24
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ExecuteCompleted" });
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ExecuteCompleted };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-failed.d.ts
|
|
3
|
+
/** The `ExecuteFailed` component schema. */
|
|
4
|
+
declare const ExecuteFailed: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"failed">;
|
|
6
|
+
readonly instant_charge: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly amount: Schema.String;
|
|
8
|
+
readonly currency: Schema.Literal<"USD">;
|
|
9
|
+
readonly charged_by: Schema.Literal<"composio">;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
11
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
12
|
+
readonly error: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly log_id: Schema.String;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ExecuteFailed };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/execute-failed.ts
|
|
4
|
+
/** The `ExecuteFailed` component schema. */
|
|
5
|
+
const ExecuteFailed = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"result_type": Schema.Literal("failed").annotate({ "description": "The tool ran and failed, or the user did not approve it" }),
|
|
7
|
+
"instant_charge": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
8
|
+
"amount": Schema.String.annotate({ "description": "Instant charge in USD as an exact non-negative decimal string, with up to 12 fractional digits." }).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(0|[1-9]\\d*)(\\.\\d{1,12})?$", "u")).annotate({ "expected": "a string matching the RegExp ^(0|[1-9]\\d*)(\\.\\d{1,12})?$" })),
|
|
9
|
+
"currency": Schema.Literal("USD").annotate({ "description": "Currency of the instant charge. Always USD." }),
|
|
10
|
+
"charged_by": Schema.Literal("composio").annotate({ "description": "Entity charging for instant usage. Always composio." })
|
|
11
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails." })),
|
|
12
|
+
"data": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({
|
|
13
|
+
"description": "The data returned by the tool execution",
|
|
14
|
+
"examples": [{
|
|
15
|
+
"message": "Hello, World!",
|
|
16
|
+
"status": "success"
|
|
17
|
+
}]
|
|
18
|
+
}),
|
|
19
|
+
"error": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Error message if the execution failed, null otherwise" }),
|
|
20
|
+
"log_id": Schema.String.annotate({
|
|
21
|
+
"description": "Unique identifier for the execution log",
|
|
22
|
+
"examples": ["log_abc123xyz"]
|
|
23
|
+
})
|
|
24
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ExecuteFailed" });
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ExecuteFailed };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/execute-requires-user-input.d.ts
|
|
3
|
+
/** The `ExecuteRequiresUserInput` component schema. */
|
|
4
|
+
declare const ExecuteRequiresUserInput: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"input_required">;
|
|
6
|
+
readonly input_requests: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly type: Schema.Literal<"elicitation">;
|
|
8
|
+
readonly mode: Schema.Literal<"form">;
|
|
9
|
+
readonly message: Schema.String;
|
|
10
|
+
readonly requested_schema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly request_state: Schema.optionalKey<Schema.String>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ExecuteRequiresUserInput };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UserInputRequest } from "./user-input-request.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/execute-requires-user-input.ts
|
|
5
|
+
/** The `ExecuteRequiresUserInput` component schema. */
|
|
6
|
+
const ExecuteRequiresUserInput = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"result_type": Schema.Literal("input_required").annotate({ "description": "The call needs the user's input before it runs" }),
|
|
8
|
+
"input_requests": Schema.Record(Schema.String, UserInputRequest).annotate({ "description": "Questions for the user, keyed by an ID the answers must reuse" }),
|
|
9
|
+
"request_state": Schema.optionalKey(Schema.String.annotate({ "description": "Send this back unchanged in `request_state` with the answers" }))
|
|
10
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
11
|
+
"description": "The call needs the user's input before it runs. Returned only when the session is configured to ask for user approval before tool execution. Show each question in `input_requests` to the user, then repeat the same call with their answers in `input_responses`, along with this `request_state` if present.",
|
|
12
|
+
"identifier": "ExecuteRequiresUserInput"
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ExecuteRequiresUserInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/instant-account.d.ts
|
|
3
|
+
/** The `InstantAccount` component schema. */
|
|
4
|
+
declare const InstantAccount: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly supported: Schema.Literal<true>;
|
|
6
|
+
readonly price: Schema.optionalKey<Schema.Struct<{
|
|
7
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly discount: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9
|
+
}>>;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { InstantAccount };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ToolPricing } from "./tool-pricing.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/instant-account.ts
|
|
5
|
+
/** The `InstantAccount` component schema. */
|
|
6
|
+
const InstantAccount = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"supported": Schema.Literal(true),
|
|
8
|
+
"price": Schema.optionalKey(ToolPricing)
|
|
9
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
10
|
+
"description": "Present only when the tool supports an Instant account and its selected toolkit version is the latest. Missing for older toolkit versions or ineligible tools.",
|
|
11
|
+
"identifier": "InstantAccount"
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { InstantAccount };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/mcp-create-response-commands.d.ts
|
|
3
|
+
/** The `McpCreateResponseCommands` component schema. */
|
|
4
|
+
declare const McpCreateResponseCommands: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly cursor: Schema.String;
|
|
6
|
+
readonly claude: Schema.String;
|
|
7
|
+
readonly windsurf: Schema.String;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { McpCreateResponseCommands };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/mcp-create-response-commands.ts
|
|
4
|
+
/** The `McpCreateResponseCommands` component schema. */
|
|
5
|
+
const McpCreateResponseCommands = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"cursor": Schema.String.annotate({
|
|
7
|
+
"description": "Command line instruction for Cursor client setup",
|
|
8
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client cursor"]
|
|
9
|
+
}),
|
|
10
|
+
"claude": Schema.String.annotate({
|
|
11
|
+
"description": "Command line instruction for Claude client setup",
|
|
12
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client claude"]
|
|
13
|
+
}),
|
|
14
|
+
"windsurf": Schema.String.annotate({
|
|
15
|
+
"description": "Command line instruction for Windsurf client setup",
|
|
16
|
+
"examples": ["npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"]
|
|
17
|
+
})
|
|
18
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
19
|
+
"description": "Set of command line instructions for connecting various clients to this MCP server",
|
|
20
|
+
"identifier": "McpCreateResponseCommands"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { McpCreateResponseCommands };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/mcp-list-response-items.d.ts
|
|
3
|
+
/** The `McpListResponseItems` component schema. */
|
|
4
|
+
declare const McpListResponseItems: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly auth_config_ids: Schema.$Array<Schema.String>;
|
|
8
|
+
readonly allowed_tools: Schema.$Array<Schema.String>;
|
|
9
|
+
readonly mcp_url: Schema.String;
|
|
10
|
+
readonly toolkits: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly toolkit_icons: Schema.$Record<Schema.String, Schema.String>;
|
|
12
|
+
readonly commands: Schema.StructWithRest<Schema.Struct<{
|
|
13
|
+
readonly cursor: Schema.String;
|
|
14
|
+
readonly claude: Schema.String;
|
|
15
|
+
readonly windsurf: Schema.String;
|
|
16
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
17
|
+
readonly updated_at: Schema.String;
|
|
18
|
+
readonly created_at: Schema.String;
|
|
19
|
+
readonly server_instance_count: Schema.Number;
|
|
20
|
+
readonly managed_auth_via_composio: Schema.Boolean;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { McpListResponseItems };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { McpCreateResponseCommands } from "./mcp-create-response-commands.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/components/mcp-list-response-items.ts
|
|
5
|
+
/** The `McpListResponseItems` component schema. */
|
|
6
|
+
const McpListResponseItems = Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"id": Schema.String.annotate({
|
|
8
|
+
"description": "UUID of the MCP server instance",
|
|
9
|
+
"examples": ["550e8400-e29b-41d4-a716-446655440000"]
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.String.annotate({
|
|
12
|
+
"description": "User-defined descriptive name for this MCP server",
|
|
13
|
+
"examples": ["GitHub Integration Server"]
|
|
14
|
+
}),
|
|
15
|
+
"auth_config_ids": Schema.Array(Schema.String).annotate({
|
|
16
|
+
"description": "ID references to the auth configurations used by this server",
|
|
17
|
+
"examples": [["ac_1a2b3c4d5e6f", "ac_7g8h9i0j1k2l"]]
|
|
18
|
+
}),
|
|
19
|
+
"allowed_tools": Schema.Array(Schema.String).annotate({
|
|
20
|
+
"description": "Array of tool slugs that this MCP server is allowed to use",
|
|
21
|
+
"examples": [[
|
|
22
|
+
"GITHUB_CREATE_AN_ISSUE",
|
|
23
|
+
"GITHUB_GET_A_REPOSITORY",
|
|
24
|
+
"GITHUB_LIST_PULL_REQUESTS"
|
|
25
|
+
]]
|
|
26
|
+
}),
|
|
27
|
+
"mcp_url": Schema.String.annotate({
|
|
28
|
+
"description": "[DEPRECATED] Please use the URL with user_id or connected_account_id query param",
|
|
29
|
+
"examples": ["https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john"]
|
|
30
|
+
}),
|
|
31
|
+
"toolkits": Schema.Array(Schema.String).annotate({
|
|
32
|
+
"description": "Array of toolkit slugs that this MCP server is allowed to use",
|
|
33
|
+
"examples": [[
|
|
34
|
+
"github",
|
|
35
|
+
"jira",
|
|
36
|
+
"slack"
|
|
37
|
+
]]
|
|
38
|
+
}),
|
|
39
|
+
"toolkit_icons": Schema.Record(Schema.String, Schema.String).annotate({
|
|
40
|
+
"description": "Object mapping each toolkit slug to its icon/logo URL for display purposes",
|
|
41
|
+
"examples": [{
|
|
42
|
+
"github": "https://assets.composio.dev/logos/github.png",
|
|
43
|
+
"jira": "https://assets.composio.dev/logos/jira.png",
|
|
44
|
+
"slack": "https://assets.composio.dev/logos/slack.png"
|
|
45
|
+
}]
|
|
46
|
+
}),
|
|
47
|
+
"commands": McpCreateResponseCommands,
|
|
48
|
+
"updated_at": Schema.String.annotate({
|
|
49
|
+
"description": "Date and time when this server configuration was last modified",
|
|
50
|
+
"examples": ["2023-06-15T14:30:00.000Z"]
|
|
51
|
+
}),
|
|
52
|
+
"created_at": Schema.String.annotate({
|
|
53
|
+
"description": "Date and time when this server was initially created",
|
|
54
|
+
"examples": ["2023-06-10T09:15:00.000Z"]
|
|
55
|
+
}),
|
|
56
|
+
"server_instance_count": Schema.Number.annotate({
|
|
57
|
+
"description": "Total count of active user instances connected to this server",
|
|
58
|
+
"examples": [5]
|
|
59
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
60
|
+
"managed_auth_via_composio": Schema.Boolean.annotate({
|
|
61
|
+
"description": "Whether the MCP server is managed by Composio",
|
|
62
|
+
"examples": [true]
|
|
63
|
+
})
|
|
64
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "MCP server configuration and connection details" })).annotate({
|
|
65
|
+
"description": "Array of MCP server configurations",
|
|
66
|
+
"examples": [[{
|
|
67
|
+
"id": "550e8400-e29b-41d4-a716-446655440000",
|
|
68
|
+
"name": "GitHub Integration Server",
|
|
69
|
+
"auth_config_ids": ["ac_1a2b3c4d5e6f", "ac_7g8h9i0j1k2l"],
|
|
70
|
+
"allowed_tools": ["GITHUB_CREATE_AN_ISSUE", "GITHUB_GET_A_REPOSITORY"],
|
|
71
|
+
"mcp_url": "https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john",
|
|
72
|
+
"commands": {
|
|
73
|
+
"cursor": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client cursor",
|
|
74
|
+
"claude": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client claude",
|
|
75
|
+
"windsurf": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"
|
|
76
|
+
},
|
|
77
|
+
"toolkits": [
|
|
78
|
+
"github",
|
|
79
|
+
"jira",
|
|
80
|
+
"slack"
|
|
81
|
+
],
|
|
82
|
+
"toolkit_icons": {
|
|
83
|
+
"github": "https://assets.composio.dev/logos/github.png",
|
|
84
|
+
"jira": "https://assets.composio.dev/logos/jira.png",
|
|
85
|
+
"slack": "https://assets.composio.dev/logos/slack.png"
|
|
86
|
+
},
|
|
87
|
+
"updated_at": "2023-06-15T14:30:00.000Z",
|
|
88
|
+
"created_at": "2023-06-10T09:15:00.000Z",
|
|
89
|
+
"server_instance_count": 5,
|
|
90
|
+
"managed_auth_via_composio": true
|
|
91
|
+
}]],
|
|
92
|
+
"identifier": "McpListResponseItems"
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
//#endregion
|
|
96
|
+
export { McpListResponseItems };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/project-list-response-data.d.ts
|
|
3
|
+
/** The `ProjectListResponseData` component schema. */
|
|
4
|
+
declare const ProjectListResponseData: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly org_id: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly email: Schema.String;
|
|
9
|
+
readonly created_at: Schema.String;
|
|
10
|
+
readonly updated_at: Schema.String;
|
|
11
|
+
readonly webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12
|
+
readonly event_webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly webhook_secret: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14
|
+
readonly triggers_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
readonly last_subscribed_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
16
|
+
readonly is_new_webhook: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly webhook_version: Schema.Literals<readonly ["V1", "V2", "V3"]>;
|
|
18
|
+
readonly deleted: Schema.Boolean;
|
|
19
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ProjectListResponseData };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/project-list-response-data.ts
|
|
4
|
+
/** The `ProjectListResponseData` component schema. */
|
|
5
|
+
const ProjectListResponseData = Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({
|
|
7
|
+
"description": "Unique identifier for the project",
|
|
8
|
+
"examples": ["pr_1a2b3c4d5e6f"],
|
|
9
|
+
"format": "projectId"
|
|
10
|
+
}),
|
|
11
|
+
"org_id": Schema.String.annotate({
|
|
12
|
+
"description": "Identifier of the organization that owns this project",
|
|
13
|
+
"examples": ["ok_1a2b3c4d5e6f"],
|
|
14
|
+
"format": "orgId"
|
|
15
|
+
}),
|
|
16
|
+
"name": Schema.String.annotate({
|
|
17
|
+
"description": "Name of the project",
|
|
18
|
+
"examples": ["My Awesome Project"]
|
|
19
|
+
}),
|
|
20
|
+
"email": Schema.String.annotate({
|
|
21
|
+
"description": "Email address associated with the project",
|
|
22
|
+
"examples": ["project-123@composio.dev"]
|
|
23
|
+
}),
|
|
24
|
+
"created_at": Schema.String.annotate({
|
|
25
|
+
"description": "ISO timestamp when the project was created",
|
|
26
|
+
"examples": ["2023-05-16T14:30:00.000Z"]
|
|
27
|
+
}),
|
|
28
|
+
"updated_at": Schema.String.annotate({
|
|
29
|
+
"description": "ISO timestamp when the project was last updated",
|
|
30
|
+
"examples": ["2023-05-18T09:15:30.000Z"]
|
|
31
|
+
}),
|
|
32
|
+
"webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
33
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook URL.",
|
|
34
|
+
"examples": ["https://example.com/webhook"],
|
|
35
|
+
"format": "uri"
|
|
36
|
+
}),
|
|
37
|
+
"event_webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
38
|
+
"description": "DEPRECATED: No longer used.",
|
|
39
|
+
"examples": ["https://example.com/events"],
|
|
40
|
+
"format": "uri"
|
|
41
|
+
}),
|
|
42
|
+
"webhook_secret": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
43
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook secret.",
|
|
44
|
+
"examples": ["whsec_abcdef123456789"]
|
|
45
|
+
}),
|
|
46
|
+
"triggers_enabled": Schema.optionalKey(Schema.Boolean.annotate({
|
|
47
|
+
"description": "Whether triggers are enabled for this project",
|
|
48
|
+
"examples": [true]
|
|
49
|
+
})),
|
|
50
|
+
"last_subscribed_at": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
51
|
+
"description": "ISO timestamp when the project last subscribed to updates",
|
|
52
|
+
"examples": ["2023-05-17T10:00:00.000Z"],
|
|
53
|
+
"format": "date-time"
|
|
54
|
+
})),
|
|
55
|
+
"is_new_webhook": Schema.optionalKey(Schema.Boolean.annotate({
|
|
56
|
+
"description": "Deprecated: Please refer to webhook_version instead. True indicates if the webhook configuration is using the previous new format (V2). False indicates the oldest format (V1)",
|
|
57
|
+
"examples": [true]
|
|
58
|
+
})),
|
|
59
|
+
"webhook_version": Schema.Literals([
|
|
60
|
+
"V1",
|
|
61
|
+
"V2",
|
|
62
|
+
"V3"
|
|
63
|
+
]).annotate({
|
|
64
|
+
"description": "Payload format version for Pusher real-time events only. For webhook configuration, use GET /api/v3/webhook_subscriptions.",
|
|
65
|
+
"examples": ["V2"]
|
|
66
|
+
}),
|
|
67
|
+
"deleted": Schema.Boolean.annotate({
|
|
68
|
+
"description": "Whether this project has been deleted",
|
|
69
|
+
"examples": [false]
|
|
70
|
+
})
|
|
71
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "identifier": "ProjectListResponseData" });
|
|
72
|
+
|
|
73
|
+
//#endregion
|
|
74
|
+
export { ProjectListResponseData };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/proxy-execute-completed.d.ts
|
|
3
|
+
/** The `ProxyExecuteCompleted` component schema. */
|
|
4
|
+
declare const ProxyExecuteCompleted: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly result_type: Schema.Literal<"completed">;
|
|
6
|
+
readonly data: Schema.optionalKey<Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>>;
|
|
7
|
+
readonly binary_data: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8
|
+
readonly url: Schema.String;
|
|
9
|
+
readonly content_type: Schema.String;
|
|
10
|
+
readonly size: Schema.Number;
|
|
11
|
+
readonly expires_at: Schema.optionalKey<Schema.String>;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
13
|
+
readonly status: Schema.Number;
|
|
14
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ProxyExecuteCompleted };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/proxy-execute-completed.ts
|
|
4
|
+
/** The `ProxyExecuteCompleted` component schema. */
|
|
5
|
+
const ProxyExecuteCompleted = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"result_type": Schema.Literal("completed").annotate({ "description": "The request was sent and the proxied API responded" }),
|
|
7
|
+
"data": Schema.optionalKey(Schema.Union([Schema.Json.annotate({
|
|
8
|
+
"expected": "JSON value",
|
|
9
|
+
"description": "The response data returned from the proxied API",
|
|
10
|
+
"examples": [{
|
|
11
|
+
"id": "123",
|
|
12
|
+
"name": "Resource Name",
|
|
13
|
+
"created_at": "2023-01-01T00:00:00Z"
|
|
14
|
+
}]
|
|
15
|
+
}), Schema.Null])),
|
|
16
|
+
"binary_data": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
17
|
+
"url": Schema.String.annotate({ "description": "URL to download binary content" }),
|
|
18
|
+
"content_type": Schema.String.annotate({ "description": "Content-Type of the binary data" }),
|
|
19
|
+
"size": Schema.Number.annotate({ "description": "File size in bytes" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
20
|
+
"expires_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 timestamp when the URL expires" }))
|
|
21
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Binary body response data. Present when the response is a binary file." })),
|
|
22
|
+
"status": Schema.Number.annotate({
|
|
23
|
+
"description": "The HTTP status code returned from the proxied API",
|
|
24
|
+
"examples": [200]
|
|
25
|
+
}).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
26
|
+
"headers": Schema.optionalKey(Schema.Record(Schema.String, Schema.String).annotate({
|
|
27
|
+
"description": "The HTTP headers returned from the proxied API",
|
|
28
|
+
"examples": [{
|
|
29
|
+
"content-type": "application/json",
|
|
30
|
+
"cache-control": "no-cache"
|
|
31
|
+
}]
|
|
32
|
+
}))
|
|
33
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ProxyExecuteCompleted" });
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ProxyExecuteCompleted };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/session-create-response-config.d.ts
|
|
3
|
+
/** The `SessionCreateResponseConfig` component schema. */
|
|
4
|
+
declare const SessionCreateResponseConfig: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly user_id: Schema.String;
|
|
6
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
7
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
8
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
9
|
+
}>, Schema.Struct<{
|
|
10
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
12
|
+
}>, Schema.Struct<{
|
|
13
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
14
|
+
}>]>>;
|
|
15
|
+
readonly auth_configs: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
16
|
+
readonly instant: Schema.Union<readonly [Schema.Literal<false>, Schema.Struct<{
|
|
17
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
18
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
19
|
+
}>, Schema.Struct<{
|
|
20
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
21
|
+
}>]>>;
|
|
22
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
23
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
24
|
+
}>, Schema.Struct<{
|
|
25
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
26
|
+
}>]>>>;
|
|
27
|
+
readonly return_instant_charge: Schema.Boolean;
|
|
28
|
+
}>]>;
|
|
29
|
+
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
30
|
+
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
31
|
+
readonly callback_url: Schema.optionalKey<Schema.String>;
|
|
32
|
+
readonly enable_wait_for_connections: Schema.optionalKey<Schema.Boolean>;
|
|
33
|
+
readonly enable_connection_removal: Schema.optionalKey<Schema.Boolean>;
|
|
34
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
35
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
36
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
37
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
38
|
+
}>, Schema.Struct<{
|
|
39
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
40
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
41
|
+
}>, Schema.Struct<{
|
|
42
|
+
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
43
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
44
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
45
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
46
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
47
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
|
+
}>, Schema.Struct<{
|
|
49
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
50
|
+
}>]>>>;
|
|
51
|
+
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
52
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
54
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
55
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
56
|
+
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
57
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
58
|
+
readonly tool_execution_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
59
|
+
readonly proxy_execution_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
60
|
+
readonly auto_offload_threshold: Schema.optionalKey<Schema.Number>;
|
|
61
|
+
readonly sandbox_size: Schema.optionalKey<Schema.Literals<readonly ["standard", "medium", "large", "xlarge"]>>;
|
|
62
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
63
|
+
readonly multi_account: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
64
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
65
|
+
readonly max_accounts_per_toolkit: Schema.optionalKey<Schema.Number>;
|
|
66
|
+
readonly require_explicit_selection: Schema.optionalKey<Schema.Boolean>;
|
|
67
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
68
|
+
readonly proxy_execute: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
69
|
+
readonly enable: Schema.Boolean;
|
|
70
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
71
|
+
readonly preload: Schema.Struct<{
|
|
72
|
+
readonly tools: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Literal<"all">]>;
|
|
73
|
+
}>;
|
|
74
|
+
readonly connected_accounts: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
|
|
75
|
+
readonly search: Schema.StructWithRest<Schema.Struct<{
|
|
76
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
77
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
78
|
+
readonly execute: Schema.StructWithRest<Schema.Struct<{
|
|
79
|
+
readonly enable_multi_execute: Schema.optionalKey<Schema.Boolean>;
|
|
80
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
81
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { SessionCreateResponseConfig };
|