@composio/client 2.0.0-rc.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/MIGRATION.md +164 -0
- package/README.md +499 -39
- package/dist/{session-configs-DC9dblKH.d.mts → _internal-BBZ8gsxI.d.mts} +2297 -1749
- package/dist/_internal-C4YQE9nG.d.mts +281 -0
- package/dist/effect/internal.d.mts +9 -0
- package/dist/effect/internal.mjs +1 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +17 -0
- package/dist/effect/schemas/_internal/cli/create-session.d.mts +12 -0
- package/dist/effect/schemas/_internal/cli/create-session.mjs +26 -0
- package/dist/effect/schemas/_internal/cli/get-session.d.mts +18 -0
- package/dist/effect/schemas/_internal/cli/get-session.mjs +48 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +11 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +10 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +12 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +13 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +20 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list.d.mts +28 -0
- package/dist/effect/schemas/_internal/logs/tools/list.mjs +33 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +60 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +74 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +34 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.mjs +12 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +33 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +9 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +8 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +8 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +20 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +31 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +10 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +18 -0
- package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
- package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
- package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
- package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
- package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
- package/dist/effect/schemas/auth-configs/create.mjs +22 -0
- package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
- package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
- package/dist/effect/schemas/auth-configs/list.d.mts +55 -0
- package/dist/effect/schemas/auth-configs/list.mjs +67 -0
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +49 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +61 -0
- package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
- package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update.mjs +11 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
- package/dist/effect/schemas/components/block-reason.d.mts +12 -0
- package/dist/effect/schemas/components/block-reason.mjs +14 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
- package/dist/effect/schemas/components/execute-blocked.d.mts +30 -0
- package/dist/effect/schemas/components/execute-blocked.mjs +24 -0
- package/dist/effect/schemas/components/execute-completed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-completed.mjs +29 -0
- package/dist/effect/schemas/components/execute-failed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-failed.mjs +29 -0
- package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
- package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
- package/dist/effect/schemas/components/hook-result.d.mts +13 -0
- package/dist/effect/schemas/components/hook-result.mjs +15 -0
- package/dist/effect/schemas/components/instant-account.d.mts +12 -0
- package/dist/effect/schemas/components/instant-account.mjs +15 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
- package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
- package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
- package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
- package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +24 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.mjs +18 -0
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +25 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +38 -0
- package/dist/effect/schemas/components/session-create-response-config.d.mts +112 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +167 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
- package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
- package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
- package/dist/effect/schemas/components/tool-details.d.mts +51 -0
- package/dist/effect/schemas/components/tool-details.mjs +144 -0
- package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
- package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +123 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +178 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
- package/dist/effect/schemas/components/tool.d.mts +51 -0
- package/dist/effect/schemas/components/tool.mjs +144 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
- package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
- package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
- package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
- package/dist/effect/schemas/components/user-input-request.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
- package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
- package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
- package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
- package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
- package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
- package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
- package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
- package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
- package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
- package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
- package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
- package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
- package/dist/effect/schemas/custom/sync.d.mts +10 -0
- package/dist/effect/schemas/custom/sync.mjs +21 -0
- package/dist/effect/schemas/custom/upsert.d.mts +8 -0
- package/dist/effect/schemas/custom/upsert.mjs +11 -0
- package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
- package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
- package/dist/effect/schemas/files/list.d.mts +18 -0
- package/dist/effect/schemas/files/list.mjs +20 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
- package/dist/effect/schemas/link/create.d.mts +19 -0
- package/dist/effect/schemas/link/create.mjs +18 -0
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
- package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
- package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
- package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
- package/dist/effect/schemas/mcp/create.d.mts +23 -0
- package/dist/effect/schemas/mcp/create.mjs +67 -0
- package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
- package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
- package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
- package/dist/effect/schemas/mcp/delete.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete.mjs +17 -0
- package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
- package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
- package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
- package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
- package/dist/effect/schemas/mcp/list.d.mts +27 -0
- package/dist/effect/schemas/mcp/list.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
- package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
- package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
- package/dist/effect/schemas/mcp/update.d.mts +24 -0
- package/dist/effect/schemas/mcp/update.mjs +68 -0
- package/dist/effect/schemas/org/list.d.mts +17 -0
- package/dist/effect/schemas/org/list.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
- package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
- package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
- package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
- package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
- package/dist/effect/schemas/org/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/project/list.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/session-configs/list.d.mts +15 -0
- package/dist/effect/schemas/session-configs/list.mjs +26 -0
- package/dist/effect/schemas/session-configs/retrieve.d.mts +45 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +103 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +122 -0
- package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
- package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
- package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
- package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
- package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
- package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
- package/dist/effect/schemas/tool-router/session/patch.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +52 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/search.d.mts +80 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +78 -0
- package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
- package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
- package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
- package/dist/effect/schemas/toolkits/list.d.mts +42 -0
- package/dist/effect/schemas/toolkits/list.mjs +15 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
- package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
- package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
- package/dist/effect/schemas/tools/execute.d.mts +12 -0
- package/dist/effect/schemas/tools/execute.mjs +35 -0
- package/dist/effect/schemas/tools/get-input.d.mts +9 -0
- package/dist/effect/schemas/tools/get-input.mjs +22 -0
- package/dist/effect/schemas/tools/list.d.mts +56 -0
- package/dist/effect/schemas/tools/list.mjs +8 -0
- package/dist/effect/schemas/tools/proxy.d.mts +16 -0
- package/dist/effect/schemas/tools/proxy.mjs +36 -0
- package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
- package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
- package/dist/effect/schemas/tools/retrieve.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/list-active.d.mts +37 -0
- package/dist/effect/schemas/trigger-instances/list-active.mjs +49 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
- package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.d.mts +11 -0
- package/dist/effect/schemas/trigger-instances/upsert.mjs +22 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +28 -0
- package/dist/effect/schemas/triggers-types/list.mjs +90 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +22 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +84 -0
- package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
- package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
- package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
- package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
- package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
- package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
- package/dist/effect/schemas.d.mts +9922 -0
- package/dist/effect/schemas.mjs +132 -0
- package/dist/effect.d.mts +505 -0
- package/dist/effect.mjs +1632 -0
- package/dist/environments-BFGXNbF0.mjs +230 -0
- package/dist/environments-cVbMu7FC.d.mts +19 -0
- package/dist/{error-DLB1uKM3.mjs → error-Bw7_G2NZ.mjs} +16 -8
- package/dist/{generated-operations-BDdFa2UY.mjs → generated-operations-DXMQK5w5.mjs} +617 -275
- package/dist/index.d.mts +3 -5
- package/dist/index.mjs +132 -425
- package/dist/internal.d.mts +9 -0
- package/dist/internal.mjs +1 -0
- package/dist/pagination-rules-CMnBwktJ.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/resources/_internal/_internal.d.mts +2 -0
- package/dist/resources/_internal/_internal.mjs +16 -0
- package/dist/resources/_internal/cli/cli.d.mts +2 -0
- package/dist/resources/_internal/cli/cli.mjs +33 -0
- package/dist/resources/_internal/cli/realtime.d.mts +2 -0
- package/dist/resources/_internal/cli/realtime.mjs +20 -0
- package/dist/resources/_internal/cli.d.mts +2 -0
- package/dist/resources/_internal/cli.mjs +1 -0
- package/dist/resources/_internal/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer/consumer.mjs +8 -0
- package/dist/resources/_internal/consumer/permissions.d.mts +2 -0
- package/dist/resources/_internal/consumer/permissions.mjs +14 -0
- package/dist/resources/_internal/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer.mjs +1 -0
- package/dist/resources/_internal/logs/logs.d.mts +2 -0
- package/dist/resources/_internal/logs/logs.mjs +12 -0
- package/dist/resources/_internal/logs/tools.d.mts +2 -0
- package/dist/resources/_internal/logs/tools.mjs +24 -0
- package/dist/resources/_internal/logs/triggers.d.mts +2 -0
- package/dist/resources/_internal/logs/triggers.mjs +20 -0
- package/dist/resources/_internal/logs.d.mts +2 -0
- package/dist/resources/_internal/logs.mjs +1 -0
- package/dist/resources/_internal/org/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/consumer.mjs +26 -0
- package/dist/resources/_internal/org/consumer/project.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/project.mjs +15 -0
- package/dist/resources/_internal/org/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer.mjs +1 -0
- package/dist/resources/_internal/org/org.d.mts +2 -0
- package/dist/resources/_internal/org/org.mjs +8 -0
- package/dist/resources/_internal/org.d.mts +2 -0
- package/dist/resources/_internal/org.mjs +1 -0
- package/dist/resources/_internal.d.mts +2 -0
- package/dist/resources/_internal.mjs +1 -0
- package/dist/resources/api-key-revocation.d.mts +2 -2
- package/dist/resources/api-key-revocation.mjs +13 -2
- package/dist/resources/auth/auth.d.mts +2 -2
- package/dist/resources/auth/auth.mjs +7 -2
- package/dist/resources/auth/session.d.mts +2 -2
- package/dist/resources/auth/session.mjs +10 -2
- package/dist/resources/auth-configs.d.mts +2 -2
- package/dist/resources/auth-configs.mjs +45 -2
- package/dist/resources/auth.d.mts +2 -2
- package/dist/resources/auth.mjs +1 -5
- package/dist/resources/connected-accounts.d.mts +2 -2
- package/dist/resources/connected-accounts.mjs +70 -2
- package/dist/resources/custom.d.mts +2 -2
- package/dist/resources/custom.mjs +29 -2
- package/dist/resources/files.d.mts +2 -2
- package/dist/resources/files.mjs +22 -2
- package/dist/resources/keyring.d.mts +2 -2
- package/dist/resources/keyring.mjs +10 -2
- package/dist/resources/link.d.mts +2 -2
- package/dist/resources/link.mjs +13 -2
- package/dist/resources/logs/logs.d.mts +2 -2
- package/dist/resources/logs/logs.mjs +19 -2
- package/dist/resources/logs.d.mts +2 -2
- package/dist/resources/logs.mjs +1 -6
- package/dist/resources/mcp/custom.d.mts +2 -2
- package/dist/resources/mcp/custom.mjs +13 -2
- package/dist/resources/mcp/generate.d.mts +2 -2
- package/dist/resources/mcp/generate.mjs +13 -2
- package/dist/resources/mcp/mcp.d.mts +2 -2
- package/dist/resources/mcp/mcp.mjs +67 -2
- package/dist/resources/mcp.d.mts +2 -2
- package/dist/resources/mcp.mjs +1 -6
- package/dist/resources/org/org.d.mts +2 -2
- package/dist/resources/org/org.mjs +21 -2
- package/dist/resources/org/owner/owner.d.mts +2 -2
- package/dist/resources/org/owner/owner.mjs +7 -2
- package/dist/resources/org/owner/project.d.mts +2 -2
- package/dist/resources/org/owner/project.mjs +37 -2
- package/dist/resources/org/owner.d.mts +2 -2
- package/dist/resources/org/owner.mjs +1 -5
- package/dist/resources/org/project.d.mts +2 -2
- package/dist/resources/org/project.mjs +13 -2
- package/dist/resources/org/usage.d.mts +2 -2
- package/dist/resources/org/usage.mjs +22 -2
- package/dist/resources/org.d.mts +2 -2
- package/dist/resources/org.mjs +1 -9
- package/dist/resources/project/project.d.mts +2 -2
- package/dist/resources/project/project.mjs +7 -2
- package/dist/resources/project/usage.d.mts +2 -2
- package/dist/resources/project/usage.mjs +22 -2
- package/dist/resources/project.d.mts +2 -3
- package/dist/resources/project.mjs +1 -5
- package/dist/resources/session-configs.d.mts +2 -2
- package/dist/resources/session-configs.mjs +8 -12
- package/dist/resources/tool-router/session/files.d.mts +2 -2
- package/dist/resources/tool-router/session/files.mjs +40 -2
- package/dist/resources/tool-router/session/session.d.mts +2 -2
- package/dist/resources/tool-router/session/session.mjs +95 -2
- package/dist/resources/tool-router/session.d.mts +2 -2
- package/dist/resources/tool-router/session.mjs +1 -5
- package/dist/resources/tool-router/tool-router.d.mts +2 -2
- package/dist/resources/tool-router/tool-router.mjs +7 -2
- package/dist/resources/tool-router.d.mts +2 -2
- package/dist/resources/tool-router.mjs +1 -5
- package/dist/resources/toolkits.d.mts +2 -2
- package/dist/resources/toolkits.mjs +51 -2
- package/dist/resources/tools.d.mts +2 -2
- package/dist/resources/tools.mjs +56 -2
- package/dist/resources/trigger-instances/manage.d.mts +2 -2
- package/dist/resources/trigger-instances/manage.mjs +19 -2
- package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances/trigger-instances.mjs +24 -2
- package/dist/resources/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances.mjs +1 -5
- package/dist/resources/triggers-types.d.mts +2 -2
- package/dist/resources/triggers-types.mjs +26 -2
- package/dist/resources/webhook-endpoints.d.mts +2 -2
- package/dist/resources/webhook-endpoints.mjs +40 -2
- package/dist/resources/webhook-subscriptions.d.mts +2 -2
- package/dist/resources/webhook-subscriptions.mjs +45 -2
- package/package.json +42 -34
- package/dist/api-key-revocation-C9gI3mxD.mjs +0 -25
- package/dist/auth-configs-AfPOIrp_.mjs +0 -54
- package/dist/auth-mNBmShhc.mjs +0 -17
- package/dist/clanker-DuDWRKms.mjs +0 -24
- package/dist/cli-BL3iy1cn.mjs +0 -45
- package/dist/config-BLBbhLe1.mjs +0 -10
- package/dist/config-DnyMhILW.d.mts +0 -9
- package/dist/connected-accounts-CDAYy93Y.mjs +0 -82
- package/dist/consumer-xMnRU0C0.mjs +0 -34
- package/dist/custom-CG287eyS.mjs +0 -24
- package/dist/custom-D5-KtFkx.mjs +0 -31
- package/dist/files-7nQzcAPu.mjs +0 -49
- package/dist/files-DfXyjBsv.mjs +0 -31
- package/dist/generate-Deely-Rs.mjs +0 -24
- package/dist/keyring-BU1WNke6.mjs +0 -17
- package/dist/link-BgM_kX73.mjs +0 -23
- package/dist/logs-CvGKikGY.mjs +0 -38
- package/dist/manage-D3woWCHa.mjs +0 -28
- package/dist/mcp-C9lPgg0I.mjs +0 -91
- package/dist/migration-CBhnoN-Y.mjs +0 -10
- package/dist/migration-CKGKuRO3.d.mts +0 -9
- package/dist/org-D490cmfQ.mjs +0 -45
- package/dist/owner-DUnkjEA9.mjs +0 -17
- package/dist/project-61Vi9ABS.mjs +0 -47
- package/dist/project-BmLu0B1A.mjs +0 -22
- package/dist/project-BoZ_FkAd.mjs +0 -25
- package/dist/project-DJCRMUWP.mjs +0 -29
- package/dist/realtime-D92CAeH1.mjs +0 -28
- package/dist/resources/auth/index.d.mts +0 -2
- package/dist/resources/auth/index.mjs +0 -4
- package/dist/resources/cli/cli.d.mts +0 -2
- package/dist/resources/cli/cli.mjs +0 -3
- package/dist/resources/cli/index.d.mts +0 -2
- package/dist/resources/cli/index.mjs +0 -4
- package/dist/resources/cli/realtime.d.mts +0 -2
- package/dist/resources/cli/realtime.mjs +0 -3
- package/dist/resources/cli.d.mts +0 -2
- package/dist/resources/cli.mjs +0 -5
- package/dist/resources/index.d.mts +0 -3
- package/dist/resources/index.mjs +0 -16
- package/dist/resources/logs/index.d.mts +0 -2
- package/dist/resources/logs/index.mjs +0 -5
- package/dist/resources/logs/tools.d.mts +0 -2
- package/dist/resources/logs/tools.mjs +0 -3
- package/dist/resources/logs/triggers.d.mts +0 -2
- package/dist/resources/logs/triggers.mjs +0 -3
- package/dist/resources/mcp/index.d.mts +0 -2
- package/dist/resources/mcp/index.mjs +0 -5
- package/dist/resources/migration.d.mts +0 -2
- package/dist/resources/migration.mjs +0 -3
- package/dist/resources/org/clanker.d.mts +0 -2
- package/dist/resources/org/clanker.mjs +0 -3
- package/dist/resources/org/consumer/consumer.d.mts +0 -2
- package/dist/resources/org/consumer/consumer.mjs +0 -3
- package/dist/resources/org/consumer/index.d.mts +0 -2
- package/dist/resources/org/consumer/index.mjs +0 -4
- package/dist/resources/org/consumer/project.d.mts +0 -2
- package/dist/resources/org/consumer/project.mjs +0 -3
- package/dist/resources/org/consumer.d.mts +0 -2
- package/dist/resources/org/consumer.mjs +0 -5
- package/dist/resources/org/index.d.mts +0 -2
- package/dist/resources/org/index.mjs +0 -8
- package/dist/resources/org/owner/index.d.mts +0 -2
- package/dist/resources/org/owner/index.mjs +0 -4
- package/dist/resources/project/config.d.mts +0 -2
- package/dist/resources/project/config.mjs +0 -3
- package/dist/resources/project/index.d.mts +0 -3
- package/dist/resources/project/index.mjs +0 -4
- package/dist/resources/tool-router/index.d.mts +0 -2
- package/dist/resources/tool-router/index.mjs +0 -4
- package/dist/resources/tool-router/session/index.d.mts +0 -2
- package/dist/resources/tool-router/session/index.mjs +0 -4
- package/dist/resources/trigger-instances/index.d.mts +0 -2
- package/dist/resources/trigger-instances/index.mjs +0 -4
- package/dist/session-CuxeTn6B.mjs +0 -22
- package/dist/session-Ko7BIjgq.mjs +0 -110
- package/dist/tool-router-CBKKosNd.mjs +0 -14
- package/dist/toolkits-3DF2HJzj.mjs +0 -62
- package/dist/tools-CHZz5vhP.mjs +0 -33
- package/dist/tools-CZ866I6_.mjs +0 -68
- package/dist/trigger-instances-Db9jhHWY.mjs +0 -35
- package/dist/triggers-CDhM0b24.mjs +0 -28
- package/dist/triggers-types-C6SEunIK.mjs +0 -34
- package/dist/usage-7j_ne9rG.mjs +0 -31
- package/dist/usage-CE6S407C.mjs +0 -31
- package/dist/webhook-endpoints-DWS1Ycp6.mjs +0 -51
- package/dist/webhook-subscriptions-DgL5Qp1f.mjs +0 -55
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/auth-configs/delete.d.ts
|
|
3
|
+
/** The 200 response of `DELETE /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.delete` answers with. */
|
|
4
|
+
declare const AuthConfigDeleteResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly success: Schema.Boolean;
|
|
6
|
+
readonly message: Schema.String;
|
|
7
|
+
readonly revoke_job_id: Schema.optionalKey<Schema.String>;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { AuthConfigDeleteResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/auth-configs/delete.ts
|
|
4
|
+
/** The 200 response of `DELETE /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.delete` answers with. */
|
|
5
|
+
const AuthConfigDeleteResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"success": Schema.Boolean.annotate({ "description": "Whether the auth config was deleted" }),
|
|
7
|
+
"message": Schema.String.annotate({ "description": "A human-readable result message" }),
|
|
8
|
+
"revoke_job_id": Schema.optionalKey(Schema.String.annotate({
|
|
9
|
+
"description": "Identifier of the background revoke job started for this delete. Present only when `revoke_on_delete=true`. Track the job and its per-connection results from the Composio dashboard — a programmatic endpoint to poll this job is not yet generally available.",
|
|
10
|
+
"examples": ["pj_1a2b3c4d5e6f"]
|
|
11
|
+
}))
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { AuthConfigDeleteResponse };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/auth-configs/list.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/auth_configs`, which `client.authConfigs.list` answers with. */
|
|
4
|
+
declare const AuthConfigListResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly uuid: Schema.String;
|
|
8
|
+
readonly type: Schema.Literals<readonly ["default", "custom"]>;
|
|
9
|
+
readonly toolkit: Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly slug: Schema.String;
|
|
11
|
+
readonly logo: Schema.String;
|
|
12
|
+
readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13
|
+
readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
readonly name: Schema.String;
|
|
16
|
+
readonly auth_scheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
|
|
17
|
+
readonly is_composio_managed: Schema.optionalKey<Schema.Boolean>;
|
|
18
|
+
readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
19
|
+
readonly proxy_config: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
20
|
+
readonly proxy_url: Schema.String;
|
|
21
|
+
readonly proxy_auth_key: Schema.optionalKey<Schema.String>;
|
|
22
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>>;
|
|
23
|
+
readonly status: Schema.Literals<readonly ["ENABLED", "DISABLED"]>;
|
|
24
|
+
readonly created_by: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly last_updated_at: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly no_of_connections: Schema.Number;
|
|
28
|
+
readonly expected_input_fields: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
29
|
+
readonly name: Schema.String;
|
|
30
|
+
readonly displayName: Schema.String;
|
|
31
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
32
|
+
readonly type: Schema.String;
|
|
33
|
+
readonly description: Schema.String;
|
|
34
|
+
readonly required: Schema.Boolean;
|
|
35
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
36
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
37
|
+
readonly user_visible: Schema.Boolean;
|
|
38
|
+
readonly is_available_as_shared_credentials: Schema.optionalKey<Schema.Boolean>;
|
|
39
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
40
|
+
readonly restrict_to_following_tools: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
41
|
+
readonly tool_access_config: Schema.StructWithRest<Schema.Struct<{
|
|
42
|
+
readonly tools_for_connected_account_creation: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
43
|
+
readonly tools_available_for_execution: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
44
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
45
|
+
readonly shared_credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
46
|
+
readonly shared_connection_fields: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
47
|
+
readonly is_enabled_for_tool_router: Schema.optionalKey<Schema.Boolean>;
|
|
48
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
49
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
50
|
+
readonly total_pages: Schema.Finite;
|
|
51
|
+
readonly current_page: Schema.Finite;
|
|
52
|
+
readonly total_items: Schema.Finite;
|
|
53
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
54
|
+
//#endregion
|
|
55
|
+
export { AuthConfigListResponse };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AuthConfigRetrieveResponseExpectedInputFields } from "../components/auth-config-retrieve-response-expected-input-fields.mjs";
|
|
2
|
+
import { AuthConfigRetrieveResponseToolAccessConfig } from "../components/auth-config-retrieve-response-tool-access-config.mjs";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
|
|
5
|
+
//#region src/effect/generated/schemas/auth-configs/list.ts
|
|
6
|
+
/** The 200 response of `GET /api/v3.1/auth_configs`, which `client.authConfigs.list` answers with. */
|
|
7
|
+
const AuthConfigListResponse = Schema.StructWithRest(Schema.Struct({
|
|
8
|
+
"items": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"id": Schema.String.annotate({
|
|
10
|
+
"description": "The unique ID of the authentication configuration",
|
|
11
|
+
"format": "authConfigId"
|
|
12
|
+
}),
|
|
13
|
+
"uuid": Schema.String.annotate({ "description": "The UUID of the authentication configuration (for backward compatibility)" }),
|
|
14
|
+
"type": Schema.Literals(["default", "custom"]).annotate({ "description": "The type of the authentication configuration (custom or default)" }),
|
|
15
|
+
"toolkit": Schema.StructWithRest(Schema.Struct({
|
|
16
|
+
"slug": Schema.String.annotate({ "description": "The unique identifier of the integration app" }),
|
|
17
|
+
"logo": Schema.String.annotate({ "description": "The URL to the integration app's logo image" }),
|
|
18
|
+
"auth_guide_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a guide page with authentication setup instructions" })),
|
|
19
|
+
"auth_hint_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a page where users can obtain or configure credentials" }))
|
|
20
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Information about the associated integration" }),
|
|
21
|
+
"name": Schema.String.annotate({ "description": "The display name of the authentication configuration" }),
|
|
22
|
+
"auth_scheme": Schema.optionalKey(Schema.Literals([
|
|
23
|
+
"OAUTH2",
|
|
24
|
+
"OAUTH1",
|
|
25
|
+
"API_KEY",
|
|
26
|
+
"BASIC",
|
|
27
|
+
"BILLCOM_AUTH",
|
|
28
|
+
"BEARER_TOKEN",
|
|
29
|
+
"GOOGLE_SERVICE_ACCOUNT",
|
|
30
|
+
"NO_AUTH",
|
|
31
|
+
"BASIC_WITH_JWT",
|
|
32
|
+
"CALCOM_AUTH",
|
|
33
|
+
"SERVICE_ACCOUNT",
|
|
34
|
+
"SAML",
|
|
35
|
+
"DCR_OAUTH",
|
|
36
|
+
"CIMD_OAUTH",
|
|
37
|
+
"S2S_OAUTH2"
|
|
38
|
+
]).annotate({ "description": "The authentication scheme used (e.g., OAuth2, API Key, etc.)" })),
|
|
39
|
+
"is_composio_managed": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this authentication configuration is managed by Composio or the user" })),
|
|
40
|
+
"credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "The authentication credentials (tokens, keys, etc.) - may be partially hidden for security" })),
|
|
41
|
+
"proxy_config": Schema.optionalKey(Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
42
|
+
"proxy_url": Schema.String.annotate({
|
|
43
|
+
"description": "The url of the auth proxy",
|
|
44
|
+
"format": "uri"
|
|
45
|
+
}),
|
|
46
|
+
"proxy_auth_key": Schema.optionalKey(Schema.String.annotate({ "description": "The auth key for the auth proxy" }))
|
|
47
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null])),
|
|
48
|
+
"status": Schema.Literals(["ENABLED", "DISABLED"]).annotate({ "description": "Current status of the authentication configuration" }),
|
|
49
|
+
"created_by": Schema.optionalKey(Schema.String.annotate({ "description": "The identifier of the user who created the auth config" })),
|
|
50
|
+
"created_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was created" })),
|
|
51
|
+
"last_updated_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was last updated" })),
|
|
52
|
+
"no_of_connections": Schema.Number.annotate({ "description": "The number of active connections using this auth config" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
53
|
+
"expected_input_fields": Schema.optionalKey(AuthConfigRetrieveResponseExpectedInputFields),
|
|
54
|
+
"restrict_to_following_tools": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "List of tool slugs this auth config is restricted to use with. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`." })),
|
|
55
|
+
"tool_access_config": AuthConfigRetrieveResponseToolAccessConfig,
|
|
56
|
+
"shared_credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "Shared credentials that will be inherited by all connected accounts using this auth config. DEPRECATED: use `shared_connection_fields` instead. It takes the same value and behaves the same way." })),
|
|
57
|
+
"shared_connection_fields": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "Connection field values inherited by every connected account created under this auth config. Same value as shared_credentials; secret values are redacted." })),
|
|
58
|
+
"is_enabled_for_tool_router": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this auth config is enabled for tool router" }))
|
|
59
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
60
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
61
|
+
"total_pages": Schema.Finite,
|
|
62
|
+
"current_page": Schema.Finite,
|
|
63
|
+
"total_items": Schema.Finite
|
|
64
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
export { AuthConfigListResponse };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/auth-configs/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.retrieve` answers with. */
|
|
4
|
+
declare const AuthConfigRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly uuid: Schema.String;
|
|
7
|
+
readonly type: Schema.Literals<readonly ["default", "custom"]>;
|
|
8
|
+
readonly toolkit: Schema.StructWithRest<Schema.Struct<{
|
|
9
|
+
readonly slug: Schema.String;
|
|
10
|
+
readonly logo: Schema.String;
|
|
11
|
+
readonly auth_guide_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12
|
+
readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
readonly name: Schema.String;
|
|
15
|
+
readonly auth_scheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
|
|
16
|
+
readonly is_composio_managed: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
18
|
+
readonly proxy_config: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly proxy_url: Schema.String;
|
|
20
|
+
readonly proxy_auth_key: Schema.optionalKey<Schema.String>;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>>;
|
|
22
|
+
readonly status: Schema.Literals<readonly ["ENABLED", "DISABLED"]>;
|
|
23
|
+
readonly created_by: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly created_at: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly last_updated_at: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly no_of_connections: Schema.Number;
|
|
27
|
+
readonly expected_input_fields: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
28
|
+
readonly name: Schema.String;
|
|
29
|
+
readonly displayName: Schema.String;
|
|
30
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
31
|
+
readonly type: Schema.String;
|
|
32
|
+
readonly description: Schema.String;
|
|
33
|
+
readonly required: Schema.Boolean;
|
|
34
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
35
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
36
|
+
readonly user_visible: Schema.Boolean;
|
|
37
|
+
readonly is_available_as_shared_credentials: Schema.optionalKey<Schema.Boolean>;
|
|
38
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
39
|
+
readonly restrict_to_following_tools: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
40
|
+
readonly tool_access_config: Schema.StructWithRest<Schema.Struct<{
|
|
41
|
+
readonly tools_for_connected_account_creation: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
42
|
+
readonly tools_available_for_execution: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
43
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
44
|
+
readonly shared_credentials: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
45
|
+
readonly shared_connection_fields: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
46
|
+
readonly is_enabled_for_tool_router: Schema.optionalKey<Schema.Boolean>;
|
|
47
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { AuthConfigRetrieveResponse };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AuthConfigRetrieveResponseExpectedInputFields } from "../components/auth-config-retrieve-response-expected-input-fields.mjs";
|
|
2
|
+
import { AuthConfigRetrieveResponseToolAccessConfig } from "../components/auth-config-retrieve-response-tool-access-config.mjs";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
|
|
5
|
+
//#region src/effect/generated/schemas/auth-configs/retrieve.ts
|
|
6
|
+
/** The 200 response of `GET /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.retrieve` answers with. */
|
|
7
|
+
const AuthConfigRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
8
|
+
"id": Schema.String.annotate({
|
|
9
|
+
"description": "The unique ID of the authentication configuration",
|
|
10
|
+
"format": "authConfigId"
|
|
11
|
+
}),
|
|
12
|
+
"uuid": Schema.String.annotate({ "description": "The UUID of the authentication configuration (for backward compatibility)" }),
|
|
13
|
+
"type": Schema.Literals(["default", "custom"]).annotate({ "description": "The type of the authentication configuration (custom or default)" }),
|
|
14
|
+
"toolkit": Schema.StructWithRest(Schema.Struct({
|
|
15
|
+
"slug": Schema.String.annotate({ "description": "The unique identifier of the integration app" }),
|
|
16
|
+
"logo": Schema.String.annotate({ "description": "The URL to the integration app's logo image" }),
|
|
17
|
+
"auth_guide_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a guide page with authentication setup instructions" })),
|
|
18
|
+
"auth_hint_url": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "URL to a page where users can obtain or configure credentials" }))
|
|
19
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Information about the associated integration" }),
|
|
20
|
+
"name": Schema.String.annotate({ "description": "The display name of the authentication configuration" }),
|
|
21
|
+
"auth_scheme": Schema.optionalKey(Schema.Literals([
|
|
22
|
+
"OAUTH2",
|
|
23
|
+
"OAUTH1",
|
|
24
|
+
"API_KEY",
|
|
25
|
+
"BASIC",
|
|
26
|
+
"BILLCOM_AUTH",
|
|
27
|
+
"BEARER_TOKEN",
|
|
28
|
+
"GOOGLE_SERVICE_ACCOUNT",
|
|
29
|
+
"NO_AUTH",
|
|
30
|
+
"BASIC_WITH_JWT",
|
|
31
|
+
"CALCOM_AUTH",
|
|
32
|
+
"SERVICE_ACCOUNT",
|
|
33
|
+
"SAML",
|
|
34
|
+
"DCR_OAUTH",
|
|
35
|
+
"CIMD_OAUTH",
|
|
36
|
+
"S2S_OAUTH2"
|
|
37
|
+
]).annotate({ "description": "The authentication scheme used (e.g., OAuth2, API Key, etc.)" })),
|
|
38
|
+
"is_composio_managed": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this authentication configuration is managed by Composio or the user" })),
|
|
39
|
+
"credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "The authentication credentials (tokens, keys, etc.) - may be partially hidden for security" })),
|
|
40
|
+
"proxy_config": Schema.optionalKey(Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
41
|
+
"proxy_url": Schema.String.annotate({
|
|
42
|
+
"description": "The url of the auth proxy",
|
|
43
|
+
"format": "uri"
|
|
44
|
+
}),
|
|
45
|
+
"proxy_auth_key": Schema.optionalKey(Schema.String.annotate({ "description": "The auth key for the auth proxy" }))
|
|
46
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.Null])),
|
|
47
|
+
"status": Schema.Literals(["ENABLED", "DISABLED"]).annotate({ "description": "Current status of the authentication configuration" }),
|
|
48
|
+
"created_by": Schema.optionalKey(Schema.String.annotate({ "description": "The identifier of the user who created the auth config" })),
|
|
49
|
+
"created_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was created" })),
|
|
50
|
+
"last_updated_at": Schema.optionalKey(Schema.String.annotate({ "description": "ISO 8601 date-time when the auth config was last updated" })),
|
|
51
|
+
"no_of_connections": Schema.Number.annotate({ "description": "The number of active connections using this auth config" }).check(Schema.isFinite().annotate({ "expected": "a finite number" })),
|
|
52
|
+
"expected_input_fields": Schema.optionalKey(AuthConfigRetrieveResponseExpectedInputFields),
|
|
53
|
+
"restrict_to_following_tools": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "List of tool slugs this auth config is restricted to use with. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`." })),
|
|
54
|
+
"tool_access_config": AuthConfigRetrieveResponseToolAccessConfig,
|
|
55
|
+
"shared_credentials": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "Shared credentials that will be inherited by all connected accounts using this auth config. DEPRECATED: use `shared_connection_fields` instead. It takes the same value and behaves the same way." })),
|
|
56
|
+
"shared_connection_fields": Schema.optionalKey(Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })).annotate({ "description": "Connection field values inherited by every connected account created under this auth config. Same value as shared_credentials; secret values are redacted." })),
|
|
57
|
+
"is_enabled_for_tool_router": Schema.optionalKey(Schema.Boolean.annotate({ "description": "Whether this auth config is enabled for tool router" }))
|
|
58
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
61
|
+
export { AuthConfigRetrieveResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/auth-configs/update-status.d.ts
|
|
3
|
+
/** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}/{status}`, which `client.authConfigs.updateStatus` answers with. */
|
|
4
|
+
declare const AuthConfigUpdateStatusResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly success: Schema.Boolean;
|
|
6
|
+
readonly message: Schema.String;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { AuthConfigUpdateStatusResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/auth-configs/update-status.ts
|
|
4
|
+
/** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}/{status}`, which `client.authConfigs.updateStatus` answers with. */
|
|
5
|
+
const AuthConfigUpdateStatusResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"success": Schema.Boolean.annotate({ "description": "Whether the status update succeeded" }),
|
|
7
|
+
"message": Schema.String.annotate({ "description": "A human-readable result message" })
|
|
8
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AuthConfigUpdateStatusResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/auth-configs/update.d.ts
|
|
3
|
+
/** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.update` answers with. */
|
|
4
|
+
declare const AuthConfigUpdateResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly success: Schema.Boolean;
|
|
6
|
+
readonly message: Schema.String;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { AuthConfigUpdateResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/auth-configs/update.ts
|
|
4
|
+
/** The 200 response of `PATCH /api/v3.1/auth_configs/{nanoid}`, which `client.authConfigs.update` answers with. */
|
|
5
|
+
const AuthConfigUpdateResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"success": Schema.Boolean.annotate({ "description": "Whether the auth config was updated" }),
|
|
7
|
+
"message": Schema.String.annotate({ "description": "A human-readable result message" })
|
|
8
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AuthConfigUpdateResponse };
|
package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/auth-config-retrieve-response-expected-input-fields.d.ts
|
|
3
|
+
/** The `AuthConfigRetrieveResponseExpectedInputFields` component schema. */
|
|
4
|
+
declare const AuthConfigRetrieveResponseExpectedInputFields: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly name: Schema.String;
|
|
6
|
+
readonly displayName: Schema.String;
|
|
7
|
+
readonly default: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8
|
+
readonly type: Schema.String;
|
|
9
|
+
readonly description: Schema.String;
|
|
10
|
+
readonly required: Schema.Boolean;
|
|
11
|
+
readonly is_secret: Schema.optionalKey<Schema.Boolean>;
|
|
12
|
+
readonly legacy_template_name: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly user_visible: Schema.Boolean;
|
|
14
|
+
readonly is_available_as_shared_credentials: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AuthConfigRetrieveResponseExpectedInputFields };
|
package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/auth-config-retrieve-response-expected-input-fields.ts
|
|
4
|
+
/** The `AuthConfigRetrieveResponseExpectedInputFields` component schema. */
|
|
5
|
+
const AuthConfigRetrieveResponseExpectedInputFields = Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"name": Schema.String,
|
|
7
|
+
"displayName": Schema.String,
|
|
8
|
+
"default": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
9
|
+
"type": Schema.String,
|
|
10
|
+
"description": Schema.String,
|
|
11
|
+
"required": Schema.Boolean,
|
|
12
|
+
"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." })),
|
|
13
|
+
"legacy_template_name": Schema.optionalKey(Schema.String),
|
|
14
|
+
"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)." }),
|
|
15
|
+
"is_available_as_shared_credentials": Schema.optionalKey(Schema.Boolean)
|
|
16
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({
|
|
17
|
+
"description": "Fields expected during connection initialization",
|
|
18
|
+
"identifier": "AuthConfigRetrieveResponseExpectedInputFields"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { AuthConfigRetrieveResponseExpectedInputFields };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/auth-config-retrieve-response-tool-access-config.d.ts
|
|
3
|
+
/** The `AuthConfigRetrieveResponseToolAccessConfig` component schema. */
|
|
4
|
+
declare const AuthConfigRetrieveResponseToolAccessConfig: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly tools_for_connected_account_creation: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
6
|
+
readonly tools_available_for_execution: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { AuthConfigRetrieveResponseToolAccessConfig };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/auth-config-retrieve-response-tool-access-config.ts
|
|
4
|
+
/** The `AuthConfigRetrieveResponseToolAccessConfig` component schema. */
|
|
5
|
+
const AuthConfigRetrieveResponseToolAccessConfig = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"tools_for_connected_account_creation": Schema.optionalKey(Schema.Array(Schema.String).annotate({
|
|
7
|
+
"description": "Tools used to generate the minimum required scopes for the auth config (only valid for OAuth). If passed, this will update the scopes. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`.",
|
|
8
|
+
"default": []
|
|
9
|
+
})),
|
|
10
|
+
"tools_available_for_execution": Schema.optionalKey(Schema.Array(Schema.String).annotate({
|
|
11
|
+
"description": "The actions that the user can perform on the auth config. If passed, this will update the actions that the user can perform on the auth config. DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`.",
|
|
12
|
+
"default": []
|
|
13
|
+
}))
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({
|
|
15
|
+
"description": "DEPRECATED: use [Get required scopes](https://docs.composio.dev/reference/api-reference/toolkits/recommendToolkitScopes) to resolve the scopes for the tools you need, then pass those scopes in `credentials.scopes`.",
|
|
16
|
+
"identifier": "AuthConfigRetrieveResponseToolAccessConfig"
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { AuthConfigRetrieveResponseToolAccessConfig };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/block-reason.d.ts
|
|
3
|
+
/** The `BlockReason` component schema. */
|
|
4
|
+
declare const BlockReason: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly type: Schema.Literal<"request_blocked">;
|
|
6
|
+
readonly hook_id: Schema.String;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.StructWithRest<Schema.Struct<{
|
|
8
|
+
readonly type: Schema.Literal<"response_blocked">;
|
|
9
|
+
readonly hook_id: Schema.String;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>]>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { BlockReason };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/block-reason.ts
|
|
4
|
+
/** The `BlockReason` component schema. */
|
|
5
|
+
const BlockReason = Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"type": Schema.Literal("request_blocked").annotate({ "description": "A before_execute hook stopped the call. The tool did not run." }),
|
|
7
|
+
"hook_id": Schema.String
|
|
8
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]), Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"type": Schema.Literal("response_blocked").annotate({ "description": "An after_execute hook stopped the call. The tool ran; its response was withheld." }),
|
|
10
|
+
"hook_id": Schema.String
|
|
11
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])], { mode: "oneOf" }).annotate({ "identifier": "BlockReason" });
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { BlockReason };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.ts
|
|
3
|
+
/** The `ConnectedAccountCreateResponseConnectionDataOption1ValOption1` component schema. */
|
|
4
|
+
declare const ConnectedAccountCreateResponseConnectionDataOption1ValOption1: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly subdomain: Schema.optionalKey<Schema.String>;
|
|
6
|
+
readonly "your-domain": Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly region: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly shop: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly account_url: Schema.optionalKey<Schema.String>;
|
|
10
|
+
readonly COMPANYDOMAIN: Schema.optionalKey<Schema.String>;
|
|
11
|
+
readonly extension: Schema.optionalKey<Schema.String>;
|
|
12
|
+
readonly form_api_base_url: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly instanceEndpoint: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly api_url: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly borneo_dashboard_url: Schema.optionalKey<Schema.String>;
|
|
16
|
+
readonly proxy_username: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly proxy_password: Schema.optionalKey<Schema.String>;
|
|
18
|
+
readonly domain: Schema.optionalKey<Schema.String>;
|
|
19
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
20
|
+
readonly dc: Schema.optionalKey<Schema.String>;
|
|
21
|
+
readonly site_name: Schema.optionalKey<Schema.String>;
|
|
22
|
+
readonly instanceName: Schema.optionalKey<Schema.String>;
|
|
23
|
+
readonly account_id: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly your_server: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly server_location: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly base_url: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly displayName: Schema.optionalKey<Schema.String>;
|
|
28
|
+
readonly status: Schema.Literal<"INITIALIZING">;
|
|
29
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ConnectedAccountCreateResponseConnectionDataOption1ValOption1 };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/connected-account-create-response-connection-data-option1-val-option1.ts
|
|
4
|
+
/** The `ConnectedAccountCreateResponseConnectionDataOption1ValOption1` component schema. */
|
|
5
|
+
const ConnectedAccountCreateResponseConnectionDataOption1ValOption1 = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"subdomain": Schema.optionalKey(Schema.String),
|
|
7
|
+
"your-domain": Schema.optionalKey(Schema.String),
|
|
8
|
+
"region": Schema.optionalKey(Schema.String),
|
|
9
|
+
"shop": Schema.optionalKey(Schema.String),
|
|
10
|
+
"account_url": Schema.optionalKey(Schema.String),
|
|
11
|
+
"COMPANYDOMAIN": Schema.optionalKey(Schema.String),
|
|
12
|
+
"extension": Schema.optionalKey(Schema.String),
|
|
13
|
+
"form_api_base_url": Schema.optionalKey(Schema.String),
|
|
14
|
+
"instanceEndpoint": Schema.optionalKey(Schema.String),
|
|
15
|
+
"api_url": Schema.optionalKey(Schema.String),
|
|
16
|
+
"borneo_dashboard_url": Schema.optionalKey(Schema.String),
|
|
17
|
+
"proxy_username": Schema.optionalKey(Schema.String),
|
|
18
|
+
"proxy_password": Schema.optionalKey(Schema.String),
|
|
19
|
+
"domain": Schema.optionalKey(Schema.String),
|
|
20
|
+
"version": Schema.optionalKey(Schema.String),
|
|
21
|
+
"dc": Schema.optionalKey(Schema.String),
|
|
22
|
+
"site_name": Schema.optionalKey(Schema.String),
|
|
23
|
+
"instanceName": Schema.optionalKey(Schema.String),
|
|
24
|
+
"account_id": Schema.optionalKey(Schema.String),
|
|
25
|
+
"your_server": Schema.optionalKey(Schema.String),
|
|
26
|
+
"server_location": Schema.optionalKey(Schema.String),
|
|
27
|
+
"base_url": Schema.optionalKey(Schema.String),
|
|
28
|
+
"displayName": Schema.optionalKey(Schema.String),
|
|
29
|
+
"status": Schema.Literal("INITIALIZING")
|
|
30
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ConnectedAccountCreateResponseConnectionDataOption1ValOption1" });
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ConnectedAccountCreateResponseConnectionDataOption1ValOption1 };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.ts
|
|
3
|
+
/** The `ConnectedAccountCreateResponseConnectionDataOption1ValOption4` component schema. */
|
|
4
|
+
declare const ConnectedAccountCreateResponseConnectionDataOption1ValOption4: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly subdomain: Schema.optionalKey<Schema.String>;
|
|
6
|
+
readonly "your-domain": Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly region: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly shop: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly account_url: Schema.optionalKey<Schema.String>;
|
|
10
|
+
readonly COMPANYDOMAIN: Schema.optionalKey<Schema.String>;
|
|
11
|
+
readonly extension: Schema.optionalKey<Schema.String>;
|
|
12
|
+
readonly form_api_base_url: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly instanceEndpoint: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly api_url: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly borneo_dashboard_url: Schema.optionalKey<Schema.String>;
|
|
16
|
+
readonly proxy_username: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly proxy_password: Schema.optionalKey<Schema.String>;
|
|
18
|
+
readonly domain: Schema.optionalKey<Schema.String>;
|
|
19
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
20
|
+
readonly dc: Schema.optionalKey<Schema.String>;
|
|
21
|
+
readonly site_name: Schema.optionalKey<Schema.String>;
|
|
22
|
+
readonly instanceName: Schema.optionalKey<Schema.String>;
|
|
23
|
+
readonly account_id: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly your_server: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly server_location: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly base_url: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly displayName: Schema.optionalKey<Schema.String>;
|
|
28
|
+
readonly status: Schema.Literal<"FAILED">;
|
|
29
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
30
|
+
readonly error_description: Schema.optionalKey<Schema.String>;
|
|
31
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ConnectedAccountCreateResponseConnectionDataOption1ValOption4 };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/components/connected-account-create-response-connection-data-option1-val-option4.ts
|
|
4
|
+
/** The `ConnectedAccountCreateResponseConnectionDataOption1ValOption4` component schema. */
|
|
5
|
+
const ConnectedAccountCreateResponseConnectionDataOption1ValOption4 = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"subdomain": Schema.optionalKey(Schema.String),
|
|
7
|
+
"your-domain": Schema.optionalKey(Schema.String),
|
|
8
|
+
"region": Schema.optionalKey(Schema.String),
|
|
9
|
+
"shop": Schema.optionalKey(Schema.String),
|
|
10
|
+
"account_url": Schema.optionalKey(Schema.String),
|
|
11
|
+
"COMPANYDOMAIN": Schema.optionalKey(Schema.String),
|
|
12
|
+
"extension": Schema.optionalKey(Schema.String),
|
|
13
|
+
"form_api_base_url": Schema.optionalKey(Schema.String),
|
|
14
|
+
"instanceEndpoint": Schema.optionalKey(Schema.String),
|
|
15
|
+
"api_url": Schema.optionalKey(Schema.String),
|
|
16
|
+
"borneo_dashboard_url": Schema.optionalKey(Schema.String),
|
|
17
|
+
"proxy_username": Schema.optionalKey(Schema.String),
|
|
18
|
+
"proxy_password": Schema.optionalKey(Schema.String),
|
|
19
|
+
"domain": Schema.optionalKey(Schema.String),
|
|
20
|
+
"version": Schema.optionalKey(Schema.String),
|
|
21
|
+
"dc": Schema.optionalKey(Schema.String),
|
|
22
|
+
"site_name": Schema.optionalKey(Schema.String),
|
|
23
|
+
"instanceName": Schema.optionalKey(Schema.String),
|
|
24
|
+
"account_id": Schema.optionalKey(Schema.String),
|
|
25
|
+
"your_server": Schema.optionalKey(Schema.String),
|
|
26
|
+
"server_location": Schema.optionalKey(Schema.String),
|
|
27
|
+
"base_url": Schema.optionalKey(Schema.String),
|
|
28
|
+
"displayName": Schema.optionalKey(Schema.String),
|
|
29
|
+
"status": Schema.Literal("FAILED"),
|
|
30
|
+
"error": Schema.optionalKey(Schema.String),
|
|
31
|
+
"error_description": Schema.optionalKey(Schema.String)
|
|
32
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "identifier": "ConnectedAccountCreateResponseConnectionDataOption1ValOption4" });
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ConnectedAccountCreateResponseConnectionDataOption1ValOption4 };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.ts
|
|
3
|
+
/** The `ConnectedAccountCreateResponseConnectionDataOption1ValOption5` component schema. */
|
|
4
|
+
declare const ConnectedAccountCreateResponseConnectionDataOption1ValOption5: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly subdomain: Schema.optionalKey<Schema.String>;
|
|
6
|
+
readonly "your-domain": Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly region: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly shop: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly account_url: Schema.optionalKey<Schema.String>;
|
|
10
|
+
readonly COMPANYDOMAIN: Schema.optionalKey<Schema.String>;
|
|
11
|
+
readonly extension: Schema.optionalKey<Schema.String>;
|
|
12
|
+
readonly form_api_base_url: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly instanceEndpoint: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly api_url: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly borneo_dashboard_url: Schema.optionalKey<Schema.String>;
|
|
16
|
+
readonly proxy_username: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly proxy_password: Schema.optionalKey<Schema.String>;
|
|
18
|
+
readonly domain: Schema.optionalKey<Schema.String>;
|
|
19
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
20
|
+
readonly dc: Schema.optionalKey<Schema.String>;
|
|
21
|
+
readonly site_name: Schema.optionalKey<Schema.String>;
|
|
22
|
+
readonly instanceName: Schema.optionalKey<Schema.String>;
|
|
23
|
+
readonly account_id: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly your_server: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly server_location: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly base_url: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly displayName: Schema.optionalKey<Schema.String>;
|
|
28
|
+
readonly status: Schema.Literal<"EXPIRED">;
|
|
29
|
+
readonly expired_at: Schema.optionalKey<Schema.String>;
|
|
30
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ConnectedAccountCreateResponseConnectionDataOption1ValOption5 };
|