@composio/client 2.0.0-rc.9 → 2.0.1
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 +503 -39
- package/dist/{session-configs-DC9dblKH.d.mts → _internal-tzmCmYGo.d.mts} +2495 -1747
- package/dist/_internal-u674nU6P.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/create-toolkit.d.mts +13 -0
- package/dist/effect/schemas/custom/create-toolkit.mjs +21 -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/update-toolkits.d.mts +8 -0
- package/dist/effect/schemas/custom/update-toolkits.mjs +8 -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 +9933 -0
- package/dist/effect/schemas.mjs +134 -0
- package/dist/effect.d.mts +509 -0
- package/dist/effect.mjs +1642 -0
- package/dist/environments-B7_vTiMY.d.mts +19 -0
- package/dist/environments-C4RXCqEC.mjs +230 -0
- package/dist/{error-DLB1uKM3.mjs → error-Bw7_G2NZ.mjs} +16 -8
- package/dist/{generated-operations-BDdFa2UY.mjs → generated-operations-D0eOQLVJ.mjs} +629 -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 +43 -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 +55 -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,45 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/session-configs/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/session_configs/{session_config_id}`, which `client.sessionConfigs.retrieve` answers with. */
|
|
4
|
+
declare const SessionConfigsRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8
|
+
readonly archived: Schema.Boolean;
|
|
9
|
+
readonly config: Schema.Struct<{
|
|
10
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
11
|
+
readonly enable: Schema.$Array<Schema.String>;
|
|
12
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
13
|
+
}>, Schema.Struct<{
|
|
14
|
+
readonly disable: Schema.$Array<Schema.String>;
|
|
15
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
}>, Schema.Struct<{
|
|
17
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
18
|
+
}>]>>;
|
|
19
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
20
|
+
readonly enable: Schema.$Array<Schema.String>;
|
|
21
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
22
|
+
}>, Schema.Struct<{
|
|
23
|
+
readonly disable: Schema.$Array<Schema.String>;
|
|
24
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
25
|
+
}>, Schema.Struct<{
|
|
26
|
+
readonly tags: Schema.Struct<{
|
|
27
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
28
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
29
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
30
|
+
}>;
|
|
31
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
32
|
+
}>, Schema.Struct<{
|
|
33
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
34
|
+
}>]>>>;
|
|
35
|
+
readonly tags: Schema.optionalKey<Schema.Struct<{
|
|
36
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
37
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
38
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
39
|
+
}>>;
|
|
40
|
+
}>;
|
|
41
|
+
readonly created_at: Schema.String;
|
|
42
|
+
readonly updated_at: Schema.String;
|
|
43
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { SessionConfigsRetrieveResponse };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/session-configs/retrieve.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/session_configs/{session_config_id}`, which `client.sessionConfigs.retrieve` answers with. */
|
|
5
|
+
const SessionConfigsRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({
|
|
7
|
+
"description": "Stable public identifier of the Session config.",
|
|
8
|
+
"format": "sessionConfigId"
|
|
9
|
+
}),
|
|
10
|
+
"name": Schema.String.annotate({ "description": "Project-unique display name." }),
|
|
11
|
+
"description": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Optional description of when the config should be used." }),
|
|
12
|
+
"archived": Schema.Boolean.annotate({ "description": "Whether the config is archived." }),
|
|
13
|
+
"config": Schema.Struct({
|
|
14
|
+
"toolkits": Schema.optionalKey(Schema.Union([
|
|
15
|
+
Schema.Struct({
|
|
16
|
+
"enable": Schema.Array(Schema.String),
|
|
17
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }))
|
|
18
|
+
}),
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
"disable": Schema.Array(Schema.String),
|
|
21
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }))
|
|
22
|
+
}),
|
|
23
|
+
Schema.Struct({ "require_approval": Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }) })
|
|
24
|
+
])),
|
|
25
|
+
"tools": Schema.optionalKey(Schema.Record(Schema.String, Schema.Union([
|
|
26
|
+
Schema.Struct({
|
|
27
|
+
"enable": Schema.Array(Schema.String),
|
|
28
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }))
|
|
29
|
+
}),
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
"disable": Schema.Array(Schema.String),
|
|
32
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }))
|
|
33
|
+
}),
|
|
34
|
+
Schema.Struct({
|
|
35
|
+
"tags": Schema.Struct({
|
|
36
|
+
"enable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
37
|
+
"readOnlyHint",
|
|
38
|
+
"createHint",
|
|
39
|
+
"updateHint",
|
|
40
|
+
"destructiveHint",
|
|
41
|
+
"idempotentHint",
|
|
42
|
+
"openWorldHint"
|
|
43
|
+
]))),
|
|
44
|
+
"disable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
45
|
+
"readOnlyHint",
|
|
46
|
+
"createHint",
|
|
47
|
+
"updateHint",
|
|
48
|
+
"destructiveHint",
|
|
49
|
+
"idempotentHint",
|
|
50
|
+
"openWorldHint"
|
|
51
|
+
]))),
|
|
52
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
53
|
+
"readOnlyHint",
|
|
54
|
+
"createHint",
|
|
55
|
+
"updateHint",
|
|
56
|
+
"destructiveHint",
|
|
57
|
+
"idempotentHint",
|
|
58
|
+
"openWorldHint"
|
|
59
|
+
])).annotate({ "description": "Tags whose tools need the user's approval before they run." }))
|
|
60
|
+
}),
|
|
61
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }))
|
|
62
|
+
}),
|
|
63
|
+
Schema.Struct({ "require_approval": Schema.Array(Schema.String).annotate({ "description": "What in this entry needs the user's approval before it runs." }) })
|
|
64
|
+
]))),
|
|
65
|
+
"tags": Schema.optionalKey(Schema.Struct({
|
|
66
|
+
"enable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
67
|
+
"readOnlyHint",
|
|
68
|
+
"createHint",
|
|
69
|
+
"updateHint",
|
|
70
|
+
"destructiveHint",
|
|
71
|
+
"idempotentHint",
|
|
72
|
+
"openWorldHint"
|
|
73
|
+
]))),
|
|
74
|
+
"disable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
75
|
+
"readOnlyHint",
|
|
76
|
+
"createHint",
|
|
77
|
+
"updateHint",
|
|
78
|
+
"destructiveHint",
|
|
79
|
+
"idempotentHint",
|
|
80
|
+
"openWorldHint"
|
|
81
|
+
]))),
|
|
82
|
+
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
83
|
+
"readOnlyHint",
|
|
84
|
+
"createHint",
|
|
85
|
+
"updateHint",
|
|
86
|
+
"destructiveHint",
|
|
87
|
+
"idempotentHint",
|
|
88
|
+
"openWorldHint"
|
|
89
|
+
])).annotate({ "description": "Tags whose tools need the user's approval before they run." }))
|
|
90
|
+
}))
|
|
91
|
+
}).annotate({ "description": "Stored Session access policy using the same enable/disable wire shape accepted on create and update, with any require_approval lists." }),
|
|
92
|
+
"created_at": Schema.String.annotate({
|
|
93
|
+
"description": "Creation time in ISO 8601.",
|
|
94
|
+
"format": "date-time"
|
|
95
|
+
}),
|
|
96
|
+
"updated_at": Schema.String.annotate({
|
|
97
|
+
"description": "Last update time in ISO 8601.",
|
|
98
|
+
"format": "date-time"
|
|
99
|
+
})
|
|
100
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
101
|
+
|
|
102
|
+
//#endregion
|
|
103
|
+
export { SessionConfigsRetrieveResponse };
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/tool-router/session/attach.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/tool_router/session/{session_id}/attach`, which `client.toolRouter.session.attach` answers with. */
|
|
4
|
+
declare const SessionAttachResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly session_id: Schema.String;
|
|
6
|
+
readonly mcp: Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly type: Schema.Literal<"http">;
|
|
8
|
+
readonly url: Schema.String;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
10
|
+
readonly tool_router_tools: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly config: Schema.StructWithRest<Schema.Struct<{
|
|
12
|
+
readonly user_id: Schema.String;
|
|
13
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
14
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
15
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
}>, Schema.Struct<{
|
|
17
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
18
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
19
|
+
}>, Schema.Struct<{
|
|
20
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
21
|
+
}>]>>;
|
|
22
|
+
readonly auth_configs: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
23
|
+
readonly instant: Schema.Union<readonly [Schema.Literal<false>, Schema.Struct<{
|
|
24
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
25
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
26
|
+
}>, Schema.Struct<{
|
|
27
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
28
|
+
}>]>>;
|
|
29
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
30
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
31
|
+
}>, Schema.Struct<{
|
|
32
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
33
|
+
}>]>>>;
|
|
34
|
+
readonly return_instant_charge: Schema.Boolean;
|
|
35
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
36
|
+
}>]>;
|
|
37
|
+
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
38
|
+
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
39
|
+
readonly callback_url: Schema.optionalKey<Schema.String>;
|
|
40
|
+
readonly enable_wait_for_connections: Schema.optionalKey<Schema.Boolean>;
|
|
41
|
+
readonly enable_connection_removal: Schema.optionalKey<Schema.Boolean>;
|
|
42
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
43
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
44
|
+
readonly enabled: Schema.$Array<Schema.String>;
|
|
45
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
46
|
+
}>, Schema.Struct<{
|
|
47
|
+
readonly disabled: Schema.$Array<Schema.String>;
|
|
48
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
49
|
+
}>, Schema.Struct<{
|
|
50
|
+
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
51
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
54
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
55
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
56
|
+
}>, Schema.Struct<{
|
|
57
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
58
|
+
}>]>>>;
|
|
59
|
+
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
60
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
63
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
64
|
+
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
65
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
66
|
+
readonly tool_execution_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
67
|
+
readonly proxy_execution_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
68
|
+
readonly auto_offload_threshold: Schema.optionalKey<Schema.Number>;
|
|
69
|
+
readonly sandbox_size: Schema.optionalKey<Schema.Literals<readonly ["standard", "medium", "large", "xlarge"]>>;
|
|
70
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
71
|
+
readonly multi_account: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
72
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
73
|
+
readonly max_accounts_per_toolkit: Schema.optionalKey<Schema.Number>;
|
|
74
|
+
readonly require_explicit_selection: Schema.optionalKey<Schema.Boolean>;
|
|
75
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
76
|
+
readonly proxy_execute: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
77
|
+
readonly enable: Schema.Boolean;
|
|
78
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
79
|
+
readonly hooks: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
80
|
+
readonly type: Schema.Literal<"before_execute">;
|
|
81
|
+
readonly id: Schema.String;
|
|
82
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
83
|
+
readonly applies_to: Schema.Union<readonly [Schema.Literal<"all">, Schema.Struct<{
|
|
84
|
+
readonly toolkits: Schema.$Array<Schema.String>;
|
|
85
|
+
}>]>;
|
|
86
|
+
readonly handler: Schema.Struct<{
|
|
87
|
+
readonly type: Schema.Literal<"condition_check">;
|
|
88
|
+
readonly condition: Schema.String;
|
|
89
|
+
readonly action: Schema.Literal<"block">;
|
|
90
|
+
}>;
|
|
91
|
+
}>, Schema.Struct<{
|
|
92
|
+
readonly type: Schema.Literal<"after_execute">;
|
|
93
|
+
readonly id: Schema.String;
|
|
94
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
95
|
+
readonly applies_to: Schema.Union<readonly [Schema.Literal<"all">, Schema.Struct<{
|
|
96
|
+
readonly toolkits: Schema.$Array<Schema.String>;
|
|
97
|
+
}>]>;
|
|
98
|
+
readonly handler: Schema.Union<readonly [Schema.Struct<{
|
|
99
|
+
readonly type: Schema.Literal<"condition_check">;
|
|
100
|
+
readonly condition: Schema.String;
|
|
101
|
+
readonly action: Schema.Literal<"block">;
|
|
102
|
+
}>, Schema.Struct<{
|
|
103
|
+
readonly type: Schema.Literal<"prompt_injection_check">;
|
|
104
|
+
readonly action: Schema.Literal<"block">;
|
|
105
|
+
}>]>;
|
|
106
|
+
}>]>>>;
|
|
107
|
+
readonly preload: Schema.Struct<{
|
|
108
|
+
readonly tools: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Literal<"all">]>;
|
|
109
|
+
}>;
|
|
110
|
+
readonly connected_accounts: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
|
|
111
|
+
readonly search: Schema.StructWithRest<Schema.Struct<{
|
|
112
|
+
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
113
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
114
|
+
readonly execute: Schema.StructWithRest<Schema.Struct<{
|
|
115
|
+
readonly enable_multi_execute: Schema.optionalKey<Schema.Boolean>;
|
|
116
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
117
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
118
|
+
readonly config_version: Schema.Number;
|
|
119
|
+
readonly experimental: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
120
|
+
readonly assistive_prompt: Schema.optionalKey<Schema.String>;
|
|
121
|
+
readonly custom_toolkits: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
122
|
+
readonly slug: Schema.String;
|
|
123
|
+
readonly name: Schema.String;
|
|
124
|
+
readonly description: Schema.String;
|
|
125
|
+
readonly tools: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
126
|
+
readonly slug: Schema.String;
|
|
127
|
+
readonly name: Schema.String;
|
|
128
|
+
readonly description: Schema.String;
|
|
129
|
+
readonly input_schema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
130
|
+
readonly output_schema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
131
|
+
readonly original_slug: Schema.String;
|
|
132
|
+
readonly preload: Schema.optionalKey<Schema.Boolean>;
|
|
133
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
134
|
+
readonly preload: Schema.optionalKey<Schema.Boolean>;
|
|
135
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
136
|
+
readonly custom_tools: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
137
|
+
readonly slug: Schema.String;
|
|
138
|
+
readonly name: Schema.String;
|
|
139
|
+
readonly description: Schema.String;
|
|
140
|
+
readonly input_schema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
141
|
+
readonly output_schema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
142
|
+
readonly extends_toolkit: Schema.optionalKey<Schema.String>;
|
|
143
|
+
readonly original_slug: Schema.String;
|
|
144
|
+
readonly preload: Schema.optionalKey<Schema.Boolean>;
|
|
145
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
146
|
+
readonly no_elicitation_support_fallback: Schema.optionalKey<Schema.Literals<readonly ["deny", "allow"]>>;
|
|
147
|
+
readonly source_session_config: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
148
|
+
readonly id: Schema.String;
|
|
149
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
150
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
151
|
+
readonly warnings: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
152
|
+
readonly code: Schema.Literal<"PRELOAD_TOOLS_HIGH_CONTEXT_USAGE">;
|
|
153
|
+
readonly message: Schema.String;
|
|
154
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>>;
|
|
155
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
156
|
+
//#endregion
|
|
157
|
+
export { SessionAttachResponse };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SessionCreateResponseConfig } from "../../components/session-create-response-config.mjs";
|
|
2
|
+
import { SessionCreateResponseWarnings } from "../../components/session-create-response-warnings.mjs";
|
|
3
|
+
import { SessionRetrieveResponseExperimental } from "../../components/session-retrieve-response-experimental.mjs";
|
|
4
|
+
import * as Schema from "effect/Schema";
|
|
5
|
+
|
|
6
|
+
//#region src/effect/generated/schemas/tool-router/session/attach.ts
|
|
7
|
+
/** The 200 response of `POST /api/v3.1/tool_router/session/{session_id}/attach`, which `client.toolRouter.session.attach` answers with. */
|
|
8
|
+
const SessionAttachResponse = Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"session_id": Schema.String.annotate({
|
|
10
|
+
"description": "The identifier of the session",
|
|
11
|
+
"examples": ["trs_1a2b3c4d5e6f"],
|
|
12
|
+
"format": "toolRouterSessionId"
|
|
13
|
+
}),
|
|
14
|
+
"mcp": Schema.StructWithRest(Schema.Struct({
|
|
15
|
+
"type": Schema.Literal("http").annotate({ "description": "The type of the MCP server. Can be http" }),
|
|
16
|
+
"url": Schema.String.annotate({
|
|
17
|
+
"description": "The URL of the MCP server",
|
|
18
|
+
"examples": ["https://app.composio.dev/tool_router/v3/trs_1a2b3c4d5e6f/mcp"],
|
|
19
|
+
"format": "uri"
|
|
20
|
+
})
|
|
21
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]),
|
|
22
|
+
"tool_router_tools": Schema.Array(Schema.String).annotate({ "description": "List of available tools in this session" }),
|
|
23
|
+
"config": SessionCreateResponseConfig,
|
|
24
|
+
"config_version": Schema.Number.annotate({ "description": "Monotonic version of the config. Incremented on each PATCH. Use for optimistic concurrency control." }).check(Schema.isInt().annotate({ "expected": "an integer" })),
|
|
25
|
+
"experimental": Schema.optionalKey(SessionRetrieveResponseExperimental),
|
|
26
|
+
"warnings": Schema.optionalKey(SessionCreateResponseWarnings)
|
|
27
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { SessionAttachResponse };
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
//#region src/effect/generated/schemas/tool-router/session/config-history.d.ts
|
|
2
|
+
/** The 200 response of `GET /api/v3.1/tool_router/session/{session_id}/config_history`, which `client.toolRouter.session.configHistory` answers with. */
|
|
3
|
+
declare const SessionConfigHistoryResponse: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
4
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
5
|
+
readonly version: import("effect/Schema").Number;
|
|
6
|
+
readonly created_at: import("effect/Schema").String;
|
|
7
|
+
readonly config: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
8
|
+
readonly user_id: import("effect/Schema").String;
|
|
9
|
+
readonly toolkits: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
10
|
+
readonly enabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
11
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
12
|
+
}>, import("effect/Schema").Struct<{
|
|
13
|
+
readonly disabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
14
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
15
|
+
}>, import("effect/Schema").Struct<{
|
|
16
|
+
readonly require_approval: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
17
|
+
}>]>>;
|
|
18
|
+
readonly auth_configs: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
19
|
+
readonly instant: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<false>, import("effect/Schema").Struct<{
|
|
20
|
+
readonly toolkits: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
21
|
+
readonly enabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
22
|
+
}>, import("effect/Schema").Struct<{
|
|
23
|
+
readonly disabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
24
|
+
}>]>>;
|
|
25
|
+
readonly tools: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
26
|
+
readonly enabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
27
|
+
}>, import("effect/Schema").Struct<{
|
|
28
|
+
readonly disabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
29
|
+
}>]>>>;
|
|
30
|
+
readonly return_instant_charge: import("effect/Schema").Boolean;
|
|
31
|
+
readonly return_prices_in_search: import("effect/Schema").Boolean;
|
|
32
|
+
}>]>;
|
|
33
|
+
readonly manage_connections: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
34
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
35
|
+
readonly callback_url: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
36
|
+
readonly enable_wait_for_connections: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
37
|
+
readonly enable_connection_removal: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
38
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
39
|
+
readonly tools: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
40
|
+
readonly enabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
41
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
42
|
+
}>, import("effect/Schema").Struct<{
|
|
43
|
+
readonly disabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
44
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
45
|
+
}>, import("effect/Schema").Struct<{
|
|
46
|
+
readonly tags: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
47
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
48
|
+
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
49
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
50
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
51
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
52
|
+
}>, import("effect/Schema").Struct<{
|
|
53
|
+
readonly require_approval: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
54
|
+
}>]>>>;
|
|
55
|
+
readonly tags: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
56
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
57
|
+
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
58
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
59
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
60
|
+
readonly workbench: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
61
|
+
readonly enable: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
62
|
+
readonly tool_execution_enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
63
|
+
readonly proxy_execution_enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
64
|
+
readonly auto_offload_threshold: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
|
|
65
|
+
readonly sandbox_size: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["standard", "medium", "large", "xlarge"]>>;
|
|
66
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
67
|
+
readonly multi_account: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
68
|
+
readonly enable: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
69
|
+
readonly max_accounts_per_toolkit: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
|
|
70
|
+
readonly require_explicit_selection: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
71
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
72
|
+
readonly proxy_execute: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
73
|
+
readonly enable: import("effect/Schema").Boolean;
|
|
74
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
75
|
+
readonly hooks: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
76
|
+
readonly type: import("effect/Schema").Literal<"before_execute">;
|
|
77
|
+
readonly id: import("effect/Schema").String;
|
|
78
|
+
readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
79
|
+
readonly applies_to: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"all">, import("effect/Schema").Struct<{
|
|
80
|
+
readonly toolkits: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
81
|
+
}>]>;
|
|
82
|
+
readonly handler: import("effect/Schema").Struct<{
|
|
83
|
+
readonly type: import("effect/Schema").Literal<"condition_check">;
|
|
84
|
+
readonly condition: import("effect/Schema").String;
|
|
85
|
+
readonly action: import("effect/Schema").Literal<"block">;
|
|
86
|
+
}>;
|
|
87
|
+
}>, import("effect/Schema").Struct<{
|
|
88
|
+
readonly type: import("effect/Schema").Literal<"after_execute">;
|
|
89
|
+
readonly id: import("effect/Schema").String;
|
|
90
|
+
readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
91
|
+
readonly applies_to: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"all">, import("effect/Schema").Struct<{
|
|
92
|
+
readonly toolkits: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
93
|
+
}>]>;
|
|
94
|
+
readonly handler: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
95
|
+
readonly type: import("effect/Schema").Literal<"condition_check">;
|
|
96
|
+
readonly condition: import("effect/Schema").String;
|
|
97
|
+
readonly action: import("effect/Schema").Literal<"block">;
|
|
98
|
+
}>, import("effect/Schema").Struct<{
|
|
99
|
+
readonly type: import("effect/Schema").Literal<"prompt_injection_check">;
|
|
100
|
+
readonly action: import("effect/Schema").Literal<"block">;
|
|
101
|
+
}>]>;
|
|
102
|
+
}>]>>>;
|
|
103
|
+
readonly preload: import("effect/Schema").Struct<{
|
|
104
|
+
readonly tools: import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").String>, import("effect/Schema").Literal<"all">]>;
|
|
105
|
+
}>;
|
|
106
|
+
readonly connected_accounts: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
107
|
+
readonly search: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
108
|
+
readonly enable: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
109
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
110
|
+
readonly execute: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
111
|
+
readonly enable_multi_execute: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
112
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
113
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
114
|
+
readonly is_current: import("effect/Schema").Boolean;
|
|
115
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
116
|
+
readonly next_cursor: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>>;
|
|
117
|
+
readonly total_pages: import("effect/Schema").Finite;
|
|
118
|
+
readonly current_page: import("effect/Schema").Finite;
|
|
119
|
+
readonly total_items: import("effect/Schema").Finite;
|
|
120
|
+
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
121
|
+
//#endregion
|
|
122
|
+
export { SessionConfigHistoryResponse };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ToolRouterSessionV31ConfigHistoryListResponse } from "../../components/tool-router-session-v31-config-history-list-response.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/tool-router/session/config-history.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/tool_router/session/{session_id}/config_history`, which `client.toolRouter.session.configHistory` answers with. */
|
|
5
|
+
const SessionConfigHistoryResponse = ToolRouterSessionV31ConfigHistoryListResponse;
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { SessionConfigHistoryResponse };
|