@composio/client 2.0.0-rc.10 → 2.0.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +336 -4
- package/dist/{api-key-revocation-CMby8GRJ.mjs → api-key-revocation-DJF8KL2o.mjs} +1 -1
- package/dist/{auth-Cogku2no.mjs → auth-CHlaMfu-.mjs} +1 -1
- package/dist/{auth-configs-Dgujwvul.mjs → auth-configs-sKOQG2Yw.mjs} +1 -1
- package/dist/{clanker-Ddf6to-5.mjs → clanker-DyM265dK.mjs} +1 -1
- package/dist/{cli-Bx3dRctN.mjs → cli-zrk9Qew1.mjs} +2 -2
- package/dist/{connected-accounts-DNOWcz-A.mjs → connected-accounts-a6ezLeaq.mjs} +1 -1
- package/dist/{consumer-B_ccSE7b.mjs → consumer-B0qaosDp.mjs} +2 -2
- package/dist/{custom-JHvAPJnl.mjs → custom-99mj4dPN.mjs} +1 -1
- package/dist/{custom-CEy4IB_M.mjs → custom-Ddfc8mtR.mjs} +1 -1
- package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
- package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
- package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
- package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
- package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
- package/dist/effect/schemas/auth-configs/create.mjs +22 -0
- package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
- package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
- package/dist/effect/schemas/auth-configs/list.d.mts +54 -0
- package/dist/effect/schemas/auth-configs/list.mjs +66 -0
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +48 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +60 -0
- package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
- package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update.mjs +11 -0
- package/dist/effect/schemas/cli/create-codact-failure.d.mts +9 -0
- package/dist/effect/schemas/cli/create-codact-failure.mjs +17 -0
- package/dist/effect/schemas/cli/create-session.d.mts +12 -0
- package/dist/effect/schemas/cli/create-session.mjs +26 -0
- package/dist/effect/schemas/cli/get-session.d.mts +18 -0
- package/dist/effect/schemas/cli/get-session.mjs +48 -0
- package/dist/effect/schemas/cli/realtime/auth.d.mts +9 -0
- package/dist/effect/schemas/cli/realtime/auth.mjs +11 -0
- package/dist/effect/schemas/cli/realtime/credentials.d.mts +10 -0
- package/dist/effect/schemas/cli/realtime/credentials.mjs +12 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
- package/dist/effect/schemas/components/execute-completed.d.mts +16 -0
- package/dist/effect/schemas/components/execute-completed.mjs +27 -0
- package/dist/effect/schemas/components/execute-failed.d.mts +16 -0
- package/dist/effect/schemas/components/execute-failed.mjs +27 -0
- package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
- package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
- package/dist/effect/schemas/components/instant-account.d.mts +12 -0
- package/dist/effect/schemas/components/instant-account.mjs +15 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
- package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
- package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
- package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
- package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +17 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +36 -0
- package/dist/effect/schemas/components/session-create-response-config.d.mts +83 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +130 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
- package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
- package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
- package/dist/effect/schemas/components/tool-details.d.mts +51 -0
- package/dist/effect/schemas/components/tool-details.mjs +144 -0
- package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
- package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +94 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +141 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
- package/dist/effect/schemas/components/tool.d.mts +51 -0
- package/dist/effect/schemas/components/tool.mjs +144 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
- package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
- package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
- package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
- package/dist/effect/schemas/components/user-input-request.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
- package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
- package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
- package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
- package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
- package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
- package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
- package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
- package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
- package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
- package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
- package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
- package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
- package/dist/effect/schemas/custom/sync.d.mts +10 -0
- package/dist/effect/schemas/custom/sync.mjs +21 -0
- package/dist/effect/schemas/custom/upsert.d.mts +8 -0
- package/dist/effect/schemas/custom/upsert.mjs +11 -0
- package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
- package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
- package/dist/effect/schemas/files/list.d.mts +18 -0
- package/dist/effect/schemas/files/list.mjs +20 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
- package/dist/effect/schemas/link/create.d.mts +19 -0
- package/dist/effect/schemas/link/create.mjs +18 -0
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
- package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
- package/dist/effect/schemas/logs/tools/list-fields.d.mts +13 -0
- package/dist/effect/schemas/logs/tools/list-fields.mjs +13 -0
- package/dist/effect/schemas/logs/tools/list.d.mts +28 -0
- package/dist/effect/schemas/logs/tools/list.mjs +33 -0
- package/dist/effect/schemas/logs/tools/retrieve.d.mts +60 -0
- package/dist/effect/schemas/logs/tools/retrieve.mjs +74 -0
- package/dist/effect/schemas/logs/triggers/list.d.mts +34 -0
- package/dist/effect/schemas/logs/triggers/list.mjs +12 -0
- package/dist/effect/schemas/logs/triggers/retrieve.d.mts +33 -0
- package/dist/effect/schemas/logs/triggers/retrieve.mjs +9 -0
- package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
- package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
- package/dist/effect/schemas/mcp/create.d.mts +23 -0
- package/dist/effect/schemas/mcp/create.mjs +67 -0
- package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
- package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
- package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
- package/dist/effect/schemas/mcp/delete.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete.mjs +17 -0
- package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
- package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
- package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
- package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
- package/dist/effect/schemas/mcp/list.d.mts +27 -0
- package/dist/effect/schemas/mcp/list.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
- package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
- package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
- package/dist/effect/schemas/mcp/update.d.mts +24 -0
- package/dist/effect/schemas/mcp/update.mjs +68 -0
- package/dist/effect/schemas/org/clanker/create-claim.d.mts +9 -0
- package/dist/effect/schemas/org/clanker/create-claim.mjs +14 -0
- package/dist/effect/schemas/org/consumer/list-connected-toolkits.d.mts +8 -0
- package/dist/effect/schemas/org/consumer/list-connected-toolkits.mjs +8 -0
- package/dist/effect/schemas/org/consumer/project/resolve.d.mts +19 -0
- package/dist/effect/schemas/org/consumer/project/resolve.mjs +30 -0
- package/dist/effect/schemas/org/list.d.mts +17 -0
- package/dist/effect/schemas/org/list.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
- package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
- package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
- package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
- package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
- package/dist/effect/schemas/org/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/project/list.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/session-configs/list.d.mts +15 -0
- package/dist/effect/schemas/session-configs/list.mjs +26 -0
- package/dist/effect/schemas/session-configs/retrieve.d.mts +34 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +59 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +93 -0
- package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
- package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +35 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +35 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
- package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
- package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
- package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
- package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
- package/dist/effect/schemas/tool-router/session/patch.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +26 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +10 -0
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +128 -0
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/search.d.mts +76 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +74 -0
- package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
- package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
- package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
- package/dist/effect/schemas/toolkits/list.d.mts +42 -0
- package/dist/effect/schemas/toolkits/list.mjs +15 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
- package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
- package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
- package/dist/effect/schemas/tools/execute.d.mts +12 -0
- package/dist/effect/schemas/tools/execute.mjs +35 -0
- package/dist/effect/schemas/tools/get-input.d.mts +9 -0
- package/dist/effect/schemas/tools/get-input.mjs +22 -0
- package/dist/effect/schemas/tools/list.d.mts +56 -0
- package/dist/effect/schemas/tools/list.mjs +8 -0
- package/dist/effect/schemas/tools/proxy.d.mts +16 -0
- package/dist/effect/schemas/tools/proxy.mjs +36 -0
- package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
- package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
- package/dist/effect/schemas/tools/retrieve.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/list-active.d.mts +34 -0
- package/dist/effect/schemas/trigger-instances/list-active.mjs +37 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
- package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.mjs +8 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +27 -0
- package/dist/effect/schemas/triggers-types/list.mjs +86 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +21 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +80 -0
- package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
- package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
- package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
- package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
- package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
- package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
- package/dist/effect/schemas.d.mts +9636 -0
- package/dist/effect/schemas.mjs +131 -0
- package/dist/effect.d.mts +749 -0
- package/dist/effect.mjs +1572 -0
- package/dist/{error-DLB1uKM3.mjs → error-D9cG225M.mjs} +15 -7
- package/dist/{files-C74URe8c.mjs → files-BkqUHaPL.mjs} +1 -1
- package/dist/{files-CxbSR_Qf.mjs → files-ITYv6j_c.mjs} +1 -1
- package/dist/{generate-Cfcp7BDV.mjs → generate-i93AYL8q.mjs} +1 -1
- package/dist/generated-deprecated-inputs-CQlAN1eH.mjs +201 -0
- package/dist/{generated-operations-DpYfIPgx.mjs → generated-operations-BguuMwpw.mjs} +5 -5
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +25 -212
- package/dist/{keyring-DPTbHLph.mjs → keyring-FoLfgtBi.mjs} +1 -1
- package/dist/{link-HtoYUvao.mjs → link-DdF0Mpaw.mjs} +1 -1
- package/dist/{logs-B1kxIBDI.mjs → logs-Bk1qx5Br.mjs} +3 -3
- package/dist/{manage-Cv_zl1Pa.mjs → manage-CAZEslDY.mjs} +1 -1
- package/dist/{mcp-DPHzA1Gg.mjs → mcp-B91r14RW.mjs} +3 -3
- package/dist/{org-DfPJHXZ4.mjs → org-JUdjHRmz.mjs} +6 -6
- package/dist/{owner-BOJ0ppd_.mjs → owner-BiP5UwSE.mjs} +1 -1
- package/dist/pagination-rules-uMUdPq_7.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/{project-CBh3olOE.mjs → project-B8d4M3Ut.mjs} +1 -1
- package/dist/{project-z2RqqvAR.mjs → project-BJ0ixr7M.mjs} +1 -1
- package/dist/{project-Cyn5wfjX.mjs → project-BqlCHKGr.mjs} +1 -1
- package/dist/{project-DgHmeDvz.mjs → project-D4uc18P5.mjs} +1 -1
- package/dist/{realtime-AhDHHK8s.mjs → realtime-BY6LAuSf.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-DN52ZBZa.mjs → session-BISWW6RD.mjs} +1 -1
- package/dist/{session-ZjgXXTor.mjs → session-BMaJyaay.mjs} +2 -2
- package/dist/{session-configs-DBYUrVm-.d.mts → session-configs-Uq4WDziI.d.mts} +182 -140
- package/dist/{tool-router-oEa6XLps.mjs → tool-router-CigDMyik.mjs} +1 -1
- package/dist/{toolkits-gnhAqP-a.mjs → toolkits-8jNDLM-m.mjs} +1 -1
- package/dist/{tools-CplwSMIX.mjs → tools-B8MskXI8.mjs} +1 -1
- package/dist/{tools-B6EBv0kQ.mjs → tools-Dl-mKUP6.mjs} +1 -1
- package/dist/{trigger-instances-BZyLCvgX.mjs → trigger-instances-DRUh_YQ4.mjs} +2 -2
- package/dist/{triggers-tFRN45MV.mjs → triggers-BrVLwzqY.mjs} +1 -1
- package/dist/{triggers-types-BOXTcipZ.mjs → triggers-types-c8LTfiyU.mjs} +1 -1
- package/dist/{usage-DsWhJVDd.mjs → usage-Bgc2EN82.mjs} +1 -1
- package/dist/{usage-qjodPLQq.mjs → usage-CMyLY8PR.mjs} +1 -1
- package/dist/version-D-eWgm6-.d.mts +4 -0
- package/dist/{webhook-endpoints-Cv2sK6HF.mjs → webhook-endpoints-BN8qcJuW.mjs} +1 -1
- package/dist/{webhook-subscriptions-BxPEYH5X.mjs → webhook-subscriptions-BOYXHSCR.mjs} +1 -1
- package/package.json +27 -5
|
@@ -281,18 +281,18 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
|
|
|
281
281
|
toolkits?: {
|
|
282
282
|
enabled: Array<string>;
|
|
283
283
|
/**
|
|
284
|
-
*
|
|
284
|
+
* Tool calls matched here pause until the user approves them.
|
|
285
285
|
*/
|
|
286
286
|
require_approval?: Array<string>;
|
|
287
287
|
} | {
|
|
288
288
|
disabled: Array<string>;
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Tool calls matched here pause until the user approves them.
|
|
291
291
|
*/
|
|
292
292
|
require_approval?: Array<string>;
|
|
293
293
|
} | {
|
|
294
294
|
/**
|
|
295
|
-
*
|
|
295
|
+
* Tool calls matched here pause until the user approves them.
|
|
296
296
|
*/
|
|
297
297
|
require_approval: Array<string>;
|
|
298
298
|
};
|
|
@@ -357,13 +357,13 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
|
|
|
357
357
|
[key: string]: {
|
|
358
358
|
enabled: Array<string>;
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
360
|
+
* Tool calls matched here pause until the user approves them.
|
|
361
361
|
*/
|
|
362
362
|
require_approval?: Array<string>;
|
|
363
363
|
} | {
|
|
364
364
|
disabled: Array<string>;
|
|
365
365
|
/**
|
|
366
|
-
*
|
|
366
|
+
* Tool calls matched here pause until the user approves them.
|
|
367
367
|
*/
|
|
368
368
|
require_approval?: Array<string>;
|
|
369
369
|
} | {
|
|
@@ -377,17 +377,17 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
|
|
|
377
377
|
*/
|
|
378
378
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Tool calls matched here pause until the user approves them.
|
|
381
381
|
*/
|
|
382
382
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
383
383
|
};
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* Tool calls matched here pause until the user approves them.
|
|
386
386
|
*/
|
|
387
387
|
require_approval?: Array<string>;
|
|
388
388
|
} | {
|
|
389
389
|
/**
|
|
390
|
-
*
|
|
390
|
+
* Tool calls matched here pause until the user approves them.
|
|
391
391
|
*/
|
|
392
392
|
require_approval: Array<string>;
|
|
393
393
|
};
|
|
@@ -405,7 +405,7 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
|
|
|
405
405
|
*/
|
|
406
406
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
407
407
|
/**
|
|
408
|
-
*
|
|
408
|
+
* Tool calls matched here pause until the user approves them.
|
|
409
409
|
*/
|
|
410
410
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
411
411
|
};
|
|
@@ -498,7 +498,11 @@ type ToolRouterSessionV31ConfigHistoryListResponse = {
|
|
|
498
498
|
current_page: number;
|
|
499
499
|
total_items: number;
|
|
500
500
|
};
|
|
501
|
-
type
|
|
501
|
+
type ExecuteCompleted = {
|
|
502
|
+
/**
|
|
503
|
+
* The tool ran and succeeded
|
|
504
|
+
*/
|
|
505
|
+
result_type: 'completed';
|
|
502
506
|
/**
|
|
503
507
|
* Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails.
|
|
504
508
|
*/
|
|
@@ -530,12 +534,12 @@ type ToolRouterSessionExecuteCompleted = {
|
|
|
530
534
|
* Unique identifier for the execution log
|
|
531
535
|
*/
|
|
532
536
|
log_id: string;
|
|
537
|
+
};
|
|
538
|
+
type ExecuteFailed = {
|
|
533
539
|
/**
|
|
534
|
-
* The tool ran and
|
|
540
|
+
* The tool ran and failed, or the user did not approve it
|
|
535
541
|
*/
|
|
536
|
-
result_type: '
|
|
537
|
-
};
|
|
538
|
-
type ToolRouterSessionExecuteFailed = {
|
|
542
|
+
result_type: 'failed';
|
|
539
543
|
/**
|
|
540
544
|
* Returned only when the session enables instant.return_instant_charge and a charge is available. Failed individual tool calls omit it. Multi-execute returns one aggregate of reported charges from eligible successful calls, even if another call fails.
|
|
541
545
|
*/
|
|
@@ -567,44 +571,64 @@ type ToolRouterSessionExecuteFailed = {
|
|
|
567
571
|
* Unique identifier for the execution log
|
|
568
572
|
*/
|
|
569
573
|
log_id: string;
|
|
570
|
-
/**
|
|
571
|
-
* The tool ran and failed
|
|
572
|
-
*/
|
|
573
|
-
result_type: 'failed';
|
|
574
574
|
};
|
|
575
|
-
|
|
575
|
+
/**
|
|
576
|
+
* A question for the user, in the shape of an MCP `elicitation/create` request in form mode (https://modelcontextprotocol.io/specification/2026-07-28/client/elicitation). Show `message` to the user and collect an answer that matches `requested_schema`.
|
|
577
|
+
*/
|
|
578
|
+
type UserInputRequest = {
|
|
576
579
|
/**
|
|
577
|
-
*
|
|
580
|
+
* Always `elicitation`
|
|
578
581
|
*/
|
|
579
582
|
type: 'elicitation';
|
|
580
583
|
/**
|
|
581
|
-
*
|
|
584
|
+
* Always `form`: collect the answer with a form built from `requested_schema`
|
|
582
585
|
*/
|
|
583
586
|
mode: 'form';
|
|
584
587
|
/**
|
|
585
|
-
*
|
|
588
|
+
* Text to show the user
|
|
586
589
|
*/
|
|
587
590
|
message: string;
|
|
588
591
|
/**
|
|
589
|
-
* JSON Schema for the answer
|
|
592
|
+
* JSON Schema for the answer. As in MCP form mode, it is a flat object whose fields are strings, numbers, booleans, or single- or multi-select enums.
|
|
590
593
|
*/
|
|
591
594
|
requested_schema: {
|
|
592
595
|
[key: string]: unknown;
|
|
593
596
|
};
|
|
594
597
|
};
|
|
595
|
-
|
|
598
|
+
/**
|
|
599
|
+
* The call needs the user's input before it runs. Returned only when the session is configured to ask for user approval before tool execution. Show each question in `input_requests` to the user, then repeat the same call with their answers in `input_responses`, along with this `request_state` if present.
|
|
600
|
+
*/
|
|
601
|
+
type ExecuteRequiresUserInput = {
|
|
602
|
+
/**
|
|
603
|
+
* The call needs the user's input before it runs
|
|
604
|
+
*/
|
|
596
605
|
result_type: 'input_required';
|
|
597
606
|
/**
|
|
598
607
|
* Questions for the user, keyed by an ID the answers must reuse
|
|
599
608
|
*/
|
|
600
609
|
input_requests: {
|
|
601
|
-
[key: string]:
|
|
610
|
+
[key: string]: UserInputRequest;
|
|
602
611
|
};
|
|
603
612
|
/**
|
|
604
|
-
*
|
|
613
|
+
* Send this back unchanged in `request_state` with the answers
|
|
605
614
|
*/
|
|
606
615
|
request_state?: string;
|
|
607
616
|
};
|
|
617
|
+
/**
|
|
618
|
+
* The user's answer to one question, in the shape of an MCP elicitation result (https://modelcontextprotocol.io/specification/2026-07-28/client/elicitation).
|
|
619
|
+
*/
|
|
620
|
+
type UserInputResponse = {
|
|
621
|
+
/**
|
|
622
|
+
* `accept` when the user submitted the form, `decline` when they said no, `cancel` when they dismissed it
|
|
623
|
+
*/
|
|
624
|
+
action: 'accept' | 'decline' | 'cancel';
|
|
625
|
+
/**
|
|
626
|
+
* With `accept`, the user's answer: fields matching the question's `requested_schema`
|
|
627
|
+
*/
|
|
628
|
+
content?: {
|
|
629
|
+
[key: string]: unknown;
|
|
630
|
+
};
|
|
631
|
+
};
|
|
608
632
|
type ComposioManagedAuthConfigCreate = {
|
|
609
633
|
type: 'use_composio_managed_auth';
|
|
610
634
|
/**
|
|
@@ -897,7 +921,11 @@ type PatchConnectedAccountBody = {
|
|
|
897
921
|
type DeprecatedToolkitInfo = {
|
|
898
922
|
toolkitId: string;
|
|
899
923
|
};
|
|
900
|
-
type
|
|
924
|
+
type ProxyExecuteCompleted = {
|
|
925
|
+
/**
|
|
926
|
+
* The request was sent and the proxied API responded
|
|
927
|
+
*/
|
|
928
|
+
result_type: 'completed';
|
|
901
929
|
/**
|
|
902
930
|
* The response data returned from the proxied API
|
|
903
931
|
*/
|
|
@@ -933,10 +961,6 @@ type ProxyExecuteForSessionCompleted = {
|
|
|
933
961
|
headers?: {
|
|
934
962
|
[key: string]: string;
|
|
935
963
|
};
|
|
936
|
-
/**
|
|
937
|
-
* The request was sent and the proxied API responded
|
|
938
|
-
*/
|
|
939
|
-
result_type: 'completed';
|
|
940
964
|
};
|
|
941
965
|
type ToolRouterToolkitsListResponse = {
|
|
942
966
|
items: Array<{
|
|
@@ -1523,7 +1547,7 @@ type PostApiV31ToolsExecuteByToolSlugData = {
|
|
|
1523
1547
|
*/
|
|
1524
1548
|
long_redirect_url?: boolean;
|
|
1525
1549
|
access_token: string;
|
|
1526
|
-
id_token?: string;
|
|
1550
|
+
id_token?: string | null;
|
|
1527
1551
|
token_type?: string;
|
|
1528
1552
|
refresh_token?: string | null;
|
|
1529
1553
|
expires_in?: number | string | null;
|
|
@@ -1585,7 +1609,7 @@ type PostApiV31ToolsExecuteByToolSlugData = {
|
|
|
1585
1609
|
*/
|
|
1586
1610
|
client_secret?: string;
|
|
1587
1611
|
access_token: string;
|
|
1588
|
-
id_token?: string;
|
|
1612
|
+
id_token?: string | null;
|
|
1589
1613
|
token_type?: string;
|
|
1590
1614
|
refresh_token?: string | null;
|
|
1591
1615
|
expires_in?: number | string | null;
|
|
@@ -1994,6 +2018,10 @@ type PostApiV31ToolsExecuteProxyData = {
|
|
|
1994
2018
|
* The ID of the connected account to use for authentication (if not provided, will use the default account for the project)
|
|
1995
2019
|
*/
|
|
1996
2020
|
connected_account_id?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* The user id (entity id) that owns connected_account_id. When the project has 2FA enabled, it is validated against the owner of that connection. Also selects which custom toolkits the request may use.
|
|
2023
|
+
*/
|
|
2024
|
+
user_id?: string;
|
|
1997
2025
|
/**
|
|
1998
2026
|
* The API endpoint to call (absolute URL or path relative to base URL of the connected account)
|
|
1999
2027
|
*/
|
|
@@ -2084,7 +2112,7 @@ type PostApiV31ToolsExecuteProxyData = {
|
|
|
2084
2112
|
*/
|
|
2085
2113
|
long_redirect_url?: boolean;
|
|
2086
2114
|
access_token: string;
|
|
2087
|
-
id_token?: string;
|
|
2115
|
+
id_token?: string | null;
|
|
2088
2116
|
token_type?: string;
|
|
2089
2117
|
refresh_token?: string | null;
|
|
2090
2118
|
expires_in?: number | string | null;
|
|
@@ -2146,7 +2174,7 @@ type PostApiV31ToolsExecuteProxyData = {
|
|
|
2146
2174
|
*/
|
|
2147
2175
|
client_secret?: string;
|
|
2148
2176
|
access_token: string;
|
|
2149
|
-
id_token?: string;
|
|
2177
|
+
id_token?: string | null;
|
|
2150
2178
|
token_type?: string;
|
|
2151
2179
|
refresh_token?: string | null;
|
|
2152
2180
|
expires_in?: number | string | null;
|
|
@@ -2820,7 +2848,7 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2820
2848
|
*/
|
|
2821
2849
|
enable: Array<string>;
|
|
2822
2850
|
/**
|
|
2823
|
-
*
|
|
2851
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2824
2852
|
*/
|
|
2825
2853
|
require_approval?: Array<string>;
|
|
2826
2854
|
} | {
|
|
@@ -2829,12 +2857,12 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2829
2857
|
*/
|
|
2830
2858
|
disable: Array<string>;
|
|
2831
2859
|
/**
|
|
2832
|
-
*
|
|
2860
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2833
2861
|
*/
|
|
2834
2862
|
require_approval?: Array<string>;
|
|
2835
2863
|
} | {
|
|
2836
2864
|
/**
|
|
2837
|
-
*
|
|
2865
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2838
2866
|
*/
|
|
2839
2867
|
require_approval: Array<string>;
|
|
2840
2868
|
};
|
|
@@ -2920,7 +2948,7 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2920
2948
|
*/
|
|
2921
2949
|
enable: Array<string>;
|
|
2922
2950
|
/**
|
|
2923
|
-
*
|
|
2951
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2924
2952
|
*/
|
|
2925
2953
|
require_approval?: Array<string>;
|
|
2926
2954
|
} | {
|
|
@@ -2929,7 +2957,7 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2929
2957
|
*/
|
|
2930
2958
|
disable: Array<string>;
|
|
2931
2959
|
/**
|
|
2932
|
-
*
|
|
2960
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2933
2961
|
*/
|
|
2934
2962
|
require_approval?: Array<string>;
|
|
2935
2963
|
} | {
|
|
@@ -2940,17 +2968,17 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2940
2968
|
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2941
2969
|
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2942
2970
|
/**
|
|
2943
|
-
*
|
|
2971
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2944
2972
|
*/
|
|
2945
2973
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2946
2974
|
};
|
|
2947
2975
|
/**
|
|
2948
|
-
*
|
|
2976
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2949
2977
|
*/
|
|
2950
2978
|
require_approval?: Array<string>;
|
|
2951
2979
|
} | {
|
|
2952
2980
|
/**
|
|
2953
|
-
*
|
|
2981
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2954
2982
|
*/
|
|
2955
2983
|
require_approval: Array<string>;
|
|
2956
2984
|
};
|
|
@@ -2962,7 +2990,7 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
2962
2990
|
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2963
2991
|
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2964
2992
|
/**
|
|
2965
|
-
*
|
|
2993
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
2966
2994
|
*/
|
|
2967
2995
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
2968
2996
|
};
|
|
@@ -3151,7 +3179,7 @@ type PostApiV31ToolRouterSessionData = {
|
|
|
3151
3179
|
enable?: boolean;
|
|
3152
3180
|
};
|
|
3153
3181
|
/**
|
|
3154
|
-
*
|
|
3182
|
+
* What session MCP does with a tool call that needs approval when the MCP client can't ask the user. deny (default) rejects the call; allow runs it without approval.
|
|
3155
3183
|
*/
|
|
3156
3184
|
no_elicitation_support_fallback?: 'deny' | 'allow';
|
|
3157
3185
|
/**
|
|
@@ -3216,18 +3244,18 @@ type PostApiV31ToolRouterSessionResponses = {
|
|
|
3216
3244
|
toolkits?: {
|
|
3217
3245
|
enabled: Array<string>;
|
|
3218
3246
|
/**
|
|
3219
|
-
*
|
|
3247
|
+
* Tool calls matched here pause until the user approves them.
|
|
3220
3248
|
*/
|
|
3221
3249
|
require_approval?: Array<string>;
|
|
3222
3250
|
} | {
|
|
3223
3251
|
disabled: Array<string>;
|
|
3224
3252
|
/**
|
|
3225
|
-
*
|
|
3253
|
+
* Tool calls matched here pause until the user approves them.
|
|
3226
3254
|
*/
|
|
3227
3255
|
require_approval?: Array<string>;
|
|
3228
3256
|
} | {
|
|
3229
3257
|
/**
|
|
3230
|
-
*
|
|
3258
|
+
* Tool calls matched here pause until the user approves them.
|
|
3231
3259
|
*/
|
|
3232
3260
|
require_approval: Array<string>;
|
|
3233
3261
|
};
|
|
@@ -3292,13 +3320,13 @@ type PostApiV31ToolRouterSessionResponses = {
|
|
|
3292
3320
|
[key: string]: {
|
|
3293
3321
|
enabled: Array<string>;
|
|
3294
3322
|
/**
|
|
3295
|
-
*
|
|
3323
|
+
* Tool calls matched here pause until the user approves them.
|
|
3296
3324
|
*/
|
|
3297
3325
|
require_approval?: Array<string>;
|
|
3298
3326
|
} | {
|
|
3299
3327
|
disabled: Array<string>;
|
|
3300
3328
|
/**
|
|
3301
|
-
*
|
|
3329
|
+
* Tool calls matched here pause until the user approves them.
|
|
3302
3330
|
*/
|
|
3303
3331
|
require_approval?: Array<string>;
|
|
3304
3332
|
} | {
|
|
@@ -3312,17 +3340,17 @@ type PostApiV31ToolRouterSessionResponses = {
|
|
|
3312
3340
|
*/
|
|
3313
3341
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3314
3342
|
/**
|
|
3315
|
-
*
|
|
3343
|
+
* Tool calls matched here pause until the user approves them.
|
|
3316
3344
|
*/
|
|
3317
3345
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3318
3346
|
};
|
|
3319
3347
|
/**
|
|
3320
|
-
*
|
|
3348
|
+
* Tool calls matched here pause until the user approves them.
|
|
3321
3349
|
*/
|
|
3322
3350
|
require_approval?: Array<string>;
|
|
3323
3351
|
} | {
|
|
3324
3352
|
/**
|
|
3325
|
-
*
|
|
3353
|
+
* Tool calls matched here pause until the user approves them.
|
|
3326
3354
|
*/
|
|
3327
3355
|
require_approval: Array<string>;
|
|
3328
3356
|
};
|
|
@@ -3340,7 +3368,7 @@ type PostApiV31ToolRouterSessionResponses = {
|
|
|
3340
3368
|
*/
|
|
3341
3369
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3342
3370
|
/**
|
|
3343
|
-
*
|
|
3371
|
+
* Tool calls matched here pause until the user approves them.
|
|
3344
3372
|
*/
|
|
3345
3373
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3346
3374
|
};
|
|
@@ -3573,18 +3601,18 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
3573
3601
|
toolkits?: {
|
|
3574
3602
|
enabled: Array<string>;
|
|
3575
3603
|
/**
|
|
3576
|
-
*
|
|
3604
|
+
* Tool calls matched here pause until the user approves them.
|
|
3577
3605
|
*/
|
|
3578
3606
|
require_approval?: Array<string>;
|
|
3579
3607
|
} | {
|
|
3580
3608
|
disabled: Array<string>;
|
|
3581
3609
|
/**
|
|
3582
|
-
*
|
|
3610
|
+
* Tool calls matched here pause until the user approves them.
|
|
3583
3611
|
*/
|
|
3584
3612
|
require_approval?: Array<string>;
|
|
3585
3613
|
} | {
|
|
3586
3614
|
/**
|
|
3587
|
-
*
|
|
3615
|
+
* Tool calls matched here pause until the user approves them.
|
|
3588
3616
|
*/
|
|
3589
3617
|
require_approval: Array<string>;
|
|
3590
3618
|
};
|
|
@@ -3649,13 +3677,13 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
3649
3677
|
[key: string]: {
|
|
3650
3678
|
enabled: Array<string>;
|
|
3651
3679
|
/**
|
|
3652
|
-
*
|
|
3680
|
+
* Tool calls matched here pause until the user approves them.
|
|
3653
3681
|
*/
|
|
3654
3682
|
require_approval?: Array<string>;
|
|
3655
3683
|
} | {
|
|
3656
3684
|
disabled: Array<string>;
|
|
3657
3685
|
/**
|
|
3658
|
-
*
|
|
3686
|
+
* Tool calls matched here pause until the user approves them.
|
|
3659
3687
|
*/
|
|
3660
3688
|
require_approval?: Array<string>;
|
|
3661
3689
|
} | {
|
|
@@ -3669,17 +3697,17 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
3669
3697
|
*/
|
|
3670
3698
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3671
3699
|
/**
|
|
3672
|
-
*
|
|
3700
|
+
* Tool calls matched here pause until the user approves them.
|
|
3673
3701
|
*/
|
|
3674
3702
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3675
3703
|
};
|
|
3676
3704
|
/**
|
|
3677
|
-
*
|
|
3705
|
+
* Tool calls matched here pause until the user approves them.
|
|
3678
3706
|
*/
|
|
3679
3707
|
require_approval?: Array<string>;
|
|
3680
3708
|
} | {
|
|
3681
3709
|
/**
|
|
3682
|
-
*
|
|
3710
|
+
* Tool calls matched here pause until the user approves them.
|
|
3683
3711
|
*/
|
|
3684
3712
|
require_approval: Array<string>;
|
|
3685
3713
|
};
|
|
@@ -3697,7 +3725,7 @@ type GetApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
3697
3725
|
*/
|
|
3698
3726
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3699
3727
|
/**
|
|
3700
|
-
*
|
|
3728
|
+
* Tool calls matched here pause until the user approves them.
|
|
3701
3729
|
*/
|
|
3702
3730
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
3703
3731
|
};
|
|
@@ -3889,7 +3917,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
3889
3917
|
*/
|
|
3890
3918
|
enable: Array<string>;
|
|
3891
3919
|
/**
|
|
3892
|
-
*
|
|
3920
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
3893
3921
|
*/
|
|
3894
3922
|
require_approval?: Array<string>;
|
|
3895
3923
|
} | {
|
|
@@ -3898,12 +3926,12 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
3898
3926
|
*/
|
|
3899
3927
|
disable: Array<string>;
|
|
3900
3928
|
/**
|
|
3901
|
-
*
|
|
3929
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
3902
3930
|
*/
|
|
3903
3931
|
require_approval?: Array<string>;
|
|
3904
3932
|
} | {
|
|
3905
3933
|
/**
|
|
3906
|
-
*
|
|
3934
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
3907
3935
|
*/
|
|
3908
3936
|
require_approval: Array<string>;
|
|
3909
3937
|
};
|
|
@@ -3986,7 +4014,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
3986
4014
|
*/
|
|
3987
4015
|
enable: Array<string>;
|
|
3988
4016
|
/**
|
|
3989
|
-
*
|
|
4017
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
3990
4018
|
*/
|
|
3991
4019
|
require_approval?: Array<string>;
|
|
3992
4020
|
} | {
|
|
@@ -3995,7 +4023,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
3995
4023
|
*/
|
|
3996
4024
|
disable: Array<string>;
|
|
3997
4025
|
/**
|
|
3998
|
-
*
|
|
4026
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
3999
4027
|
*/
|
|
4000
4028
|
require_approval?: Array<string>;
|
|
4001
4029
|
} | {
|
|
@@ -4006,17 +4034,17 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
4006
4034
|
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4007
4035
|
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4008
4036
|
/**
|
|
4009
|
-
*
|
|
4037
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
4010
4038
|
*/
|
|
4011
4039
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4012
4040
|
};
|
|
4013
4041
|
/**
|
|
4014
|
-
*
|
|
4042
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
4015
4043
|
*/
|
|
4016
4044
|
require_approval?: Array<string>;
|
|
4017
4045
|
} | {
|
|
4018
4046
|
/**
|
|
4019
|
-
*
|
|
4047
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
4020
4048
|
*/
|
|
4021
4049
|
require_approval: Array<string>;
|
|
4022
4050
|
};
|
|
@@ -4028,7 +4056,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
4028
4056
|
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4029
4057
|
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4030
4058
|
/**
|
|
4031
|
-
*
|
|
4059
|
+
* Tool calls matched here pause until the user approves them. A tool needs approval if its toolkit, the tool itself or any of its tags is listed.
|
|
4032
4060
|
*/
|
|
4033
4061
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4034
4062
|
};
|
|
@@ -4123,7 +4151,7 @@ type PatchApiV31ToolRouterSessionBySessionIdData = {
|
|
|
4123
4151
|
enable: boolean;
|
|
4124
4152
|
};
|
|
4125
4153
|
/**
|
|
4126
|
-
*
|
|
4154
|
+
* What session MCP does with a tool call that needs approval when the MCP client can't ask the user. deny (default) rejects the call; allow runs it without approval.
|
|
4127
4155
|
*/
|
|
4128
4156
|
no_elicitation_support_fallback?: 'deny' | 'allow';
|
|
4129
4157
|
/**
|
|
@@ -4178,18 +4206,18 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
4178
4206
|
toolkits?: {
|
|
4179
4207
|
enabled: Array<string>;
|
|
4180
4208
|
/**
|
|
4181
|
-
*
|
|
4209
|
+
* Tool calls matched here pause until the user approves them.
|
|
4182
4210
|
*/
|
|
4183
4211
|
require_approval?: Array<string>;
|
|
4184
4212
|
} | {
|
|
4185
4213
|
disabled: Array<string>;
|
|
4186
4214
|
/**
|
|
4187
|
-
*
|
|
4215
|
+
* Tool calls matched here pause until the user approves them.
|
|
4188
4216
|
*/
|
|
4189
4217
|
require_approval?: Array<string>;
|
|
4190
4218
|
} | {
|
|
4191
4219
|
/**
|
|
4192
|
-
*
|
|
4220
|
+
* Tool calls matched here pause until the user approves them.
|
|
4193
4221
|
*/
|
|
4194
4222
|
require_approval: Array<string>;
|
|
4195
4223
|
};
|
|
@@ -4254,13 +4282,13 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
4254
4282
|
[key: string]: {
|
|
4255
4283
|
enabled: Array<string>;
|
|
4256
4284
|
/**
|
|
4257
|
-
*
|
|
4285
|
+
* Tool calls matched here pause until the user approves them.
|
|
4258
4286
|
*/
|
|
4259
4287
|
require_approval?: Array<string>;
|
|
4260
4288
|
} | {
|
|
4261
4289
|
disabled: Array<string>;
|
|
4262
4290
|
/**
|
|
4263
|
-
*
|
|
4291
|
+
* Tool calls matched here pause until the user approves them.
|
|
4264
4292
|
*/
|
|
4265
4293
|
require_approval?: Array<string>;
|
|
4266
4294
|
} | {
|
|
@@ -4274,17 +4302,17 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
4274
4302
|
*/
|
|
4275
4303
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4276
4304
|
/**
|
|
4277
|
-
*
|
|
4305
|
+
* Tool calls matched here pause until the user approves them.
|
|
4278
4306
|
*/
|
|
4279
4307
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4280
4308
|
};
|
|
4281
4309
|
/**
|
|
4282
|
-
*
|
|
4310
|
+
* Tool calls matched here pause until the user approves them.
|
|
4283
4311
|
*/
|
|
4284
4312
|
require_approval?: Array<string>;
|
|
4285
4313
|
} | {
|
|
4286
4314
|
/**
|
|
4287
|
-
*
|
|
4315
|
+
* Tool calls matched here pause until the user approves them.
|
|
4288
4316
|
*/
|
|
4289
4317
|
require_approval: Array<string>;
|
|
4290
4318
|
};
|
|
@@ -4302,7 +4330,7 @@ type PatchApiV31ToolRouterSessionBySessionIdResponses = {
|
|
|
4302
4330
|
*/
|
|
4303
4331
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4304
4332
|
/**
|
|
4305
|
-
*
|
|
4333
|
+
* Tool calls matched here pause until the user approves them.
|
|
4306
4334
|
*/
|
|
4307
4335
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4308
4336
|
};
|
|
@@ -4628,18 +4656,18 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
|
|
|
4628
4656
|
toolkits?: {
|
|
4629
4657
|
enabled: Array<string>;
|
|
4630
4658
|
/**
|
|
4631
|
-
*
|
|
4659
|
+
* Tool calls matched here pause until the user approves them.
|
|
4632
4660
|
*/
|
|
4633
4661
|
require_approval?: Array<string>;
|
|
4634
4662
|
} | {
|
|
4635
4663
|
disabled: Array<string>;
|
|
4636
4664
|
/**
|
|
4637
|
-
*
|
|
4665
|
+
* Tool calls matched here pause until the user approves them.
|
|
4638
4666
|
*/
|
|
4639
4667
|
require_approval?: Array<string>;
|
|
4640
4668
|
} | {
|
|
4641
4669
|
/**
|
|
4642
|
-
*
|
|
4670
|
+
* Tool calls matched here pause until the user approves them.
|
|
4643
4671
|
*/
|
|
4644
4672
|
require_approval: Array<string>;
|
|
4645
4673
|
};
|
|
@@ -4704,13 +4732,13 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
|
|
|
4704
4732
|
[key: string]: {
|
|
4705
4733
|
enabled: Array<string>;
|
|
4706
4734
|
/**
|
|
4707
|
-
*
|
|
4735
|
+
* Tool calls matched here pause until the user approves them.
|
|
4708
4736
|
*/
|
|
4709
4737
|
require_approval?: Array<string>;
|
|
4710
4738
|
} | {
|
|
4711
4739
|
disabled: Array<string>;
|
|
4712
4740
|
/**
|
|
4713
|
-
*
|
|
4741
|
+
* Tool calls matched here pause until the user approves them.
|
|
4714
4742
|
*/
|
|
4715
4743
|
require_approval?: Array<string>;
|
|
4716
4744
|
} | {
|
|
@@ -4724,17 +4752,17 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
|
|
|
4724
4752
|
*/
|
|
4725
4753
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4726
4754
|
/**
|
|
4727
|
-
*
|
|
4755
|
+
* Tool calls matched here pause until the user approves them.
|
|
4728
4756
|
*/
|
|
4729
4757
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4730
4758
|
};
|
|
4731
4759
|
/**
|
|
4732
|
-
*
|
|
4760
|
+
* Tool calls matched here pause until the user approves them.
|
|
4733
4761
|
*/
|
|
4734
4762
|
require_approval?: Array<string>;
|
|
4735
4763
|
} | {
|
|
4736
4764
|
/**
|
|
4737
|
-
*
|
|
4765
|
+
* Tool calls matched here pause until the user approves them.
|
|
4738
4766
|
*/
|
|
4739
4767
|
require_approval: Array<string>;
|
|
4740
4768
|
};
|
|
@@ -4752,7 +4780,7 @@ type PostApiV31ToolRouterSessionBySessionIdAttachResponses = {
|
|
|
4752
4780
|
*/
|
|
4753
4781
|
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4754
4782
|
/**
|
|
4755
|
-
*
|
|
4783
|
+
* Tool calls matched here pause until the user approves them.
|
|
4756
4784
|
*/
|
|
4757
4785
|
require_approval?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
4758
4786
|
};
|
|
@@ -5402,13 +5430,13 @@ type PostApiV31ToolRouterSessionBySessionIdExecuteData = {
|
|
|
5402
5430
|
*/
|
|
5403
5431
|
enable_auto_workbench_offload?: boolean;
|
|
5404
5432
|
/**
|
|
5405
|
-
*
|
|
5433
|
+
* The user's answers to an `input_required` response, keyed by the ids in its `input_requests`. Send them by repeating the same call (same tool and arguments) with this field added, along with the response's `request_state` if present. An approved call runs; a denied or declined one returns `failed`.
|
|
5406
5434
|
*/
|
|
5407
5435
|
input_responses?: {
|
|
5408
|
-
[key: string]:
|
|
5436
|
+
[key: string]: UserInputResponse;
|
|
5409
5437
|
};
|
|
5410
5438
|
/**
|
|
5411
|
-
*
|
|
5439
|
+
* The `request_state` from the `input_required` response, sent back unchanged with `input_responses`.
|
|
5412
5440
|
*/
|
|
5413
5441
|
request_state?: string;
|
|
5414
5442
|
/**
|
|
@@ -5519,15 +5547,15 @@ type PostApiV31ToolRouterSessionBySessionIdExecuteData = {
|
|
|
5519
5547
|
};
|
|
5520
5548
|
type PostApiV31ToolRouterSessionBySessionIdExecuteResponses = {
|
|
5521
5549
|
/**
|
|
5522
|
-
*
|
|
5550
|
+
* The tool call completed, failed, or needs the user's input before it can run. The `result_type` field says which of these happened.
|
|
5523
5551
|
*/
|
|
5524
5552
|
200: ({
|
|
5525
5553
|
result_type: 'completed';
|
|
5526
|
-
} &
|
|
5554
|
+
} & ExecuteCompleted) | ({
|
|
5527
5555
|
result_type: 'failed';
|
|
5528
|
-
} &
|
|
5556
|
+
} & ExecuteFailed) | ({
|
|
5529
5557
|
result_type: 'input_required';
|
|
5530
|
-
} &
|
|
5558
|
+
} & ExecuteRequiresUserInput);
|
|
5531
5559
|
};
|
|
5532
5560
|
type PostApiV31ToolRouterSessionBySessionIdExecuteMetaData = {
|
|
5533
5561
|
body?: {
|
|
@@ -5542,13 +5570,13 @@ type PostApiV31ToolRouterSessionBySessionIdExecuteMetaData = {
|
|
|
5542
5570
|
[key: string]: unknown;
|
|
5543
5571
|
};
|
|
5544
5572
|
/**
|
|
5545
|
-
*
|
|
5573
|
+
* The user's answers to an `input_required` response, keyed by the ids in its `input_requests`. Send them by repeating the same call (same tool and arguments) with this field added, along with the response's `request_state` if present. An approved call runs; a denied or declined one returns `failed`.
|
|
5546
5574
|
*/
|
|
5547
5575
|
input_responses?: {
|
|
5548
|
-
[key: string]:
|
|
5576
|
+
[key: string]: UserInputResponse;
|
|
5549
5577
|
};
|
|
5550
5578
|
/**
|
|
5551
|
-
*
|
|
5579
|
+
* The `request_state` from the `input_required` response, sent back unchanged with `input_responses`.
|
|
5552
5580
|
*/
|
|
5553
5581
|
request_state?: string;
|
|
5554
5582
|
/**
|
|
@@ -5659,15 +5687,15 @@ type PostApiV31ToolRouterSessionBySessionIdExecuteMetaData = {
|
|
|
5659
5687
|
};
|
|
5660
5688
|
type PostApiV31ToolRouterSessionBySessionIdExecuteMetaResponses = {
|
|
5661
5689
|
/**
|
|
5662
|
-
*
|
|
5690
|
+
* The tool call completed, failed, or needs the user's input before it can run. The `result_type` field says which of these happened.
|
|
5663
5691
|
*/
|
|
5664
5692
|
200: ({
|
|
5665
5693
|
result_type: 'completed';
|
|
5666
|
-
} &
|
|
5694
|
+
} & ExecuteCompleted) | ({
|
|
5667
5695
|
result_type: 'failed';
|
|
5668
|
-
} &
|
|
5696
|
+
} & ExecuteFailed) | ({
|
|
5669
5697
|
result_type: 'input_required';
|
|
5670
|
-
} &
|
|
5698
|
+
} & ExecuteRequiresUserInput);
|
|
5671
5699
|
};
|
|
5672
5700
|
type PostApiV31OrgUsageSummaryData = {
|
|
5673
5701
|
body?: {
|
|
@@ -7189,7 +7217,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
7189
7217
|
*/
|
|
7190
7218
|
long_redirect_url?: boolean;
|
|
7191
7219
|
access_token: string;
|
|
7192
|
-
id_token?: string;
|
|
7220
|
+
id_token?: string | null;
|
|
7193
7221
|
token_type?: string;
|
|
7194
7222
|
refresh_token?: string | null;
|
|
7195
7223
|
expires_in?: number | string | null;
|
|
@@ -7240,7 +7268,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
7240
7268
|
*/
|
|
7241
7269
|
long_redirect_url?: boolean;
|
|
7242
7270
|
access_token: string;
|
|
7243
|
-
id_token?: string;
|
|
7271
|
+
id_token?: string | null;
|
|
7244
7272
|
token_type?: string;
|
|
7245
7273
|
refresh_token?: string | null;
|
|
7246
7274
|
expires_in?: number | string | null;
|
|
@@ -9032,7 +9060,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
9032
9060
|
*/
|
|
9033
9061
|
client_secret?: string;
|
|
9034
9062
|
access_token: string;
|
|
9035
|
-
id_token?: string;
|
|
9063
|
+
id_token?: string | null;
|
|
9036
9064
|
token_type?: string;
|
|
9037
9065
|
refresh_token?: string | null;
|
|
9038
9066
|
expires_in?: number | string | null;
|
|
@@ -9082,7 +9110,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
9082
9110
|
*/
|
|
9083
9111
|
client_secret?: string;
|
|
9084
9112
|
access_token: string;
|
|
9085
|
-
id_token?: string;
|
|
9113
|
+
id_token?: string | null;
|
|
9086
9114
|
token_type?: string;
|
|
9087
9115
|
refresh_token?: string | null;
|
|
9088
9116
|
expires_in?: number | string | null;
|
|
@@ -9278,7 +9306,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
9278
9306
|
*/
|
|
9279
9307
|
client_id: string;
|
|
9280
9308
|
access_token: string;
|
|
9281
|
-
id_token?: string;
|
|
9309
|
+
id_token?: string | null;
|
|
9282
9310
|
token_type?: string;
|
|
9283
9311
|
refresh_token?: string | null;
|
|
9284
9312
|
expires_in?: number | string | null;
|
|
@@ -9322,7 +9350,7 @@ type GetApiV31ConnectedAccountsResponses = {
|
|
|
9322
9350
|
*/
|
|
9323
9351
|
client_id: string;
|
|
9324
9352
|
access_token: string;
|
|
9325
|
-
id_token?: string;
|
|
9353
|
+
id_token?: string | null;
|
|
9326
9354
|
token_type?: string;
|
|
9327
9355
|
refresh_token?: string | null;
|
|
9328
9356
|
expires_in?: number | string | null;
|
|
@@ -9904,7 +9932,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
9904
9932
|
*/
|
|
9905
9933
|
long_redirect_url?: boolean;
|
|
9906
9934
|
access_token: string;
|
|
9907
|
-
id_token?: string;
|
|
9935
|
+
id_token?: string | null;
|
|
9908
9936
|
token_type?: string;
|
|
9909
9937
|
refresh_token?: string | null;
|
|
9910
9938
|
expires_in?: number | string | null;
|
|
@@ -9955,7 +9983,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
9955
9983
|
*/
|
|
9956
9984
|
long_redirect_url?: boolean;
|
|
9957
9985
|
access_token: string;
|
|
9958
|
-
id_token?: string;
|
|
9986
|
+
id_token?: string | null;
|
|
9959
9987
|
token_type?: string;
|
|
9960
9988
|
refresh_token?: string | null;
|
|
9961
9989
|
expires_in?: number | string | null;
|
|
@@ -11747,7 +11775,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
11747
11775
|
*/
|
|
11748
11776
|
client_secret?: string;
|
|
11749
11777
|
access_token: string;
|
|
11750
|
-
id_token?: string;
|
|
11778
|
+
id_token?: string | null;
|
|
11751
11779
|
token_type?: string;
|
|
11752
11780
|
refresh_token?: string | null;
|
|
11753
11781
|
expires_in?: number | string | null;
|
|
@@ -11797,7 +11825,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
11797
11825
|
*/
|
|
11798
11826
|
client_secret?: string;
|
|
11799
11827
|
access_token: string;
|
|
11800
|
-
id_token?: string;
|
|
11828
|
+
id_token?: string | null;
|
|
11801
11829
|
token_type?: string;
|
|
11802
11830
|
refresh_token?: string | null;
|
|
11803
11831
|
expires_in?: number | string | null;
|
|
@@ -11993,7 +12021,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
11993
12021
|
*/
|
|
11994
12022
|
client_id: string;
|
|
11995
12023
|
access_token: string;
|
|
11996
|
-
id_token?: string;
|
|
12024
|
+
id_token?: string | null;
|
|
11997
12025
|
token_type?: string;
|
|
11998
12026
|
refresh_token?: string | null;
|
|
11999
12027
|
expires_in?: number | string | null;
|
|
@@ -12037,7 +12065,7 @@ type PostApiV31ConnectedAccountsData = {
|
|
|
12037
12065
|
*/
|
|
12038
12066
|
client_id: string;
|
|
12039
12067
|
access_token: string;
|
|
12040
|
-
id_token?: string;
|
|
12068
|
+
id_token?: string | null;
|
|
12041
12069
|
token_type?: string;
|
|
12042
12070
|
refresh_token?: string | null;
|
|
12043
12071
|
expires_in?: number | string | null;
|
|
@@ -12656,7 +12684,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
12656
12684
|
*/
|
|
12657
12685
|
long_redirect_url?: boolean;
|
|
12658
12686
|
access_token: string;
|
|
12659
|
-
id_token?: string;
|
|
12687
|
+
id_token?: string | null;
|
|
12660
12688
|
token_type?: string;
|
|
12661
12689
|
refresh_token?: string | null;
|
|
12662
12690
|
expires_in?: number | string | null;
|
|
@@ -12707,7 +12735,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
12707
12735
|
*/
|
|
12708
12736
|
long_redirect_url?: boolean;
|
|
12709
12737
|
access_token: string;
|
|
12710
|
-
id_token?: string;
|
|
12738
|
+
id_token?: string | null;
|
|
12711
12739
|
token_type?: string;
|
|
12712
12740
|
refresh_token?: string | null;
|
|
12713
12741
|
expires_in?: number | string | null;
|
|
@@ -14499,7 +14527,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
14499
14527
|
*/
|
|
14500
14528
|
client_secret?: string;
|
|
14501
14529
|
access_token: string;
|
|
14502
|
-
id_token?: string;
|
|
14530
|
+
id_token?: string | null;
|
|
14503
14531
|
token_type?: string;
|
|
14504
14532
|
refresh_token?: string | null;
|
|
14505
14533
|
expires_in?: number | string | null;
|
|
@@ -14549,7 +14577,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
14549
14577
|
*/
|
|
14550
14578
|
client_secret?: string;
|
|
14551
14579
|
access_token: string;
|
|
14552
|
-
id_token?: string;
|
|
14580
|
+
id_token?: string | null;
|
|
14553
14581
|
token_type?: string;
|
|
14554
14582
|
refresh_token?: string | null;
|
|
14555
14583
|
expires_in?: number | string | null;
|
|
@@ -14745,7 +14773,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
14745
14773
|
*/
|
|
14746
14774
|
client_id: string;
|
|
14747
14775
|
access_token: string;
|
|
14748
|
-
id_token?: string;
|
|
14776
|
+
id_token?: string | null;
|
|
14749
14777
|
token_type?: string;
|
|
14750
14778
|
refresh_token?: string | null;
|
|
14751
14779
|
expires_in?: number | string | null;
|
|
@@ -14789,7 +14817,7 @@ type PostApiV31ConnectedAccountsResponses = {
|
|
|
14789
14817
|
*/
|
|
14790
14818
|
client_id: string;
|
|
14791
14819
|
access_token: string;
|
|
14792
|
-
id_token?: string;
|
|
14820
|
+
id_token?: string | null;
|
|
14793
14821
|
token_type?: string;
|
|
14794
14822
|
refresh_token?: string | null;
|
|
14795
14823
|
expires_in?: number | string | null;
|
|
@@ -15487,7 +15515,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
15487
15515
|
*/
|
|
15488
15516
|
long_redirect_url?: boolean;
|
|
15489
15517
|
access_token: string;
|
|
15490
|
-
id_token?: string;
|
|
15518
|
+
id_token?: string | null;
|
|
15491
15519
|
token_type?: string;
|
|
15492
15520
|
refresh_token?: string | null;
|
|
15493
15521
|
expires_in?: number | string | null;
|
|
@@ -15538,7 +15566,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
15538
15566
|
*/
|
|
15539
15567
|
long_redirect_url?: boolean;
|
|
15540
15568
|
access_token: string;
|
|
15541
|
-
id_token?: string;
|
|
15569
|
+
id_token?: string | null;
|
|
15542
15570
|
token_type?: string;
|
|
15543
15571
|
refresh_token?: string | null;
|
|
15544
15572
|
expires_in?: number | string | null;
|
|
@@ -17330,7 +17358,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
17330
17358
|
*/
|
|
17331
17359
|
client_secret?: string;
|
|
17332
17360
|
access_token: string;
|
|
17333
|
-
id_token?: string;
|
|
17361
|
+
id_token?: string | null;
|
|
17334
17362
|
token_type?: string;
|
|
17335
17363
|
refresh_token?: string | null;
|
|
17336
17364
|
expires_in?: number | string | null;
|
|
@@ -17380,7 +17408,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
17380
17408
|
*/
|
|
17381
17409
|
client_secret?: string;
|
|
17382
17410
|
access_token: string;
|
|
17383
|
-
id_token?: string;
|
|
17411
|
+
id_token?: string | null;
|
|
17384
17412
|
token_type?: string;
|
|
17385
17413
|
refresh_token?: string | null;
|
|
17386
17414
|
expires_in?: number | string | null;
|
|
@@ -17576,7 +17604,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
17576
17604
|
*/
|
|
17577
17605
|
client_id: string;
|
|
17578
17606
|
access_token: string;
|
|
17579
|
-
id_token?: string;
|
|
17607
|
+
id_token?: string | null;
|
|
17580
17608
|
token_type?: string;
|
|
17581
17609
|
refresh_token?: string | null;
|
|
17582
17610
|
expires_in?: number | string | null;
|
|
@@ -17620,7 +17648,7 @@ type GetApiV31ConnectedAccountsByNanoidResponses = {
|
|
|
17620
17648
|
*/
|
|
17621
17649
|
client_id: string;
|
|
17622
17650
|
access_token: string;
|
|
17623
|
-
id_token?: string;
|
|
17651
|
+
id_token?: string | null;
|
|
17624
17652
|
token_type?: string;
|
|
17625
17653
|
refresh_token?: string | null;
|
|
17626
17654
|
expires_in?: number | string | null;
|
|
@@ -18299,7 +18327,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
18299
18327
|
*/
|
|
18300
18328
|
long_redirect_url?: boolean;
|
|
18301
18329
|
access_token: string;
|
|
18302
|
-
id_token?: string;
|
|
18330
|
+
id_token?: string | null;
|
|
18303
18331
|
token_type?: string;
|
|
18304
18332
|
refresh_token?: string | null;
|
|
18305
18333
|
expires_in?: number | string | null;
|
|
@@ -18349,7 +18377,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
18349
18377
|
*/
|
|
18350
18378
|
long_redirect_url?: boolean;
|
|
18351
18379
|
access_token: string;
|
|
18352
|
-
id_token?: string;
|
|
18380
|
+
id_token?: string | null;
|
|
18353
18381
|
token_type?: string;
|
|
18354
18382
|
refresh_token?: string | null;
|
|
18355
18383
|
expires_in?: number | string | null;
|
|
@@ -20046,7 +20074,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
20046
20074
|
*/
|
|
20047
20075
|
client_secret?: string;
|
|
20048
20076
|
access_token: string;
|
|
20049
|
-
id_token?: string;
|
|
20077
|
+
id_token?: string | null;
|
|
20050
20078
|
token_type?: string;
|
|
20051
20079
|
refresh_token?: string | null;
|
|
20052
20080
|
expires_in?: number | string | null;
|
|
@@ -20095,7 +20123,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
20095
20123
|
*/
|
|
20096
20124
|
client_secret?: string;
|
|
20097
20125
|
access_token: string;
|
|
20098
|
-
id_token?: string;
|
|
20126
|
+
id_token?: string | null;
|
|
20099
20127
|
token_type?: string;
|
|
20100
20128
|
refresh_token?: string | null;
|
|
20101
20129
|
expires_in?: number | string | null;
|
|
@@ -20283,7 +20311,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
20283
20311
|
*/
|
|
20284
20312
|
client_id: string;
|
|
20285
20313
|
access_token: string;
|
|
20286
|
-
id_token?: string;
|
|
20314
|
+
id_token?: string | null;
|
|
20287
20315
|
token_type?: string;
|
|
20288
20316
|
refresh_token?: string | null;
|
|
20289
20317
|
expires_in?: number | string | null;
|
|
@@ -20326,7 +20354,7 @@ type PostApiV31ConnectedAccountsLinkData = {
|
|
|
20326
20354
|
*/
|
|
20327
20355
|
client_id: string;
|
|
20328
20356
|
access_token: string;
|
|
20329
|
-
id_token?: string;
|
|
20357
|
+
id_token?: string | null;
|
|
20330
20358
|
token_type?: string;
|
|
20331
20359
|
refresh_token?: string | null;
|
|
20332
20360
|
expires_in?: number | string | null;
|
|
@@ -21091,6 +21119,17 @@ type PostApiV31OrgOwnerProjectNewData = {
|
|
|
21091
21119
|
* Whether to create an API key for the project. If true, the API key will be created and returned in the response.
|
|
21092
21120
|
*/
|
|
21093
21121
|
should_create_api_key?: boolean;
|
|
21122
|
+
/**
|
|
21123
|
+
* IPv4 or IPv6 addresses allowed to use the project API key. Requires should_create_api_key to be true. Omit to allow requests from any IP address.
|
|
21124
|
+
*/
|
|
21125
|
+
api_key_allowed_ips?: Array<string>;
|
|
21126
|
+
/**
|
|
21127
|
+
* Permission levels for the project API key. Requires should_create_api_key to be true. Omit to create a full-access API key.
|
|
21128
|
+
*/
|
|
21129
|
+
api_key_permissions?: Array<{
|
|
21130
|
+
preset: 'tools' | 'tool_execution' | 'proxy_execute' | 'session_management' | 'session_tool_execution' | 'legacy_mcp' | 'connected_accounts' | 'auth_configs' | 'toolkits' | 'triggers' | 'webhooks' | 'observability' | 'sessions';
|
|
21131
|
+
access: 'none' | 'read' | 'write' | 'read_write';
|
|
21132
|
+
}>;
|
|
21094
21133
|
/**
|
|
21095
21134
|
* Configuration for the project. Use zdr_enabled for Zero Data Retention; log_visibility_setting remains supported for existing clients. Do not send both fields.
|
|
21096
21135
|
*/
|
|
@@ -24346,7 +24385,7 @@ type PostApiV31ToolRouterSessionBySessionIdProxyExecuteData = {
|
|
|
24346
24385
|
*/
|
|
24347
24386
|
long_redirect_url?: boolean;
|
|
24348
24387
|
access_token: string;
|
|
24349
|
-
id_token?: string;
|
|
24388
|
+
id_token?: string | null;
|
|
24350
24389
|
token_type?: string;
|
|
24351
24390
|
refresh_token?: string | null;
|
|
24352
24391
|
expires_in?: number | string | null;
|
|
@@ -24408,7 +24447,7 @@ type PostApiV31ToolRouterSessionBySessionIdProxyExecuteData = {
|
|
|
24408
24447
|
*/
|
|
24409
24448
|
client_secret?: string;
|
|
24410
24449
|
access_token: string;
|
|
24411
|
-
id_token?: string;
|
|
24450
|
+
id_token?: string | null;
|
|
24412
24451
|
token_type?: string;
|
|
24413
24452
|
refresh_token?: string | null;
|
|
24414
24453
|
expires_in?: number | string | null;
|
|
@@ -24721,9 +24760,9 @@ type PostApiV31ToolRouterSessionBySessionIdProxyExecuteResponses = {
|
|
|
24721
24760
|
*/
|
|
24722
24761
|
200: ({
|
|
24723
24762
|
result_type: 'completed';
|
|
24724
|
-
} &
|
|
24763
|
+
} & ProxyExecuteCompleted) | ({
|
|
24725
24764
|
result_type: 'input_required';
|
|
24726
|
-
} &
|
|
24765
|
+
} & ExecuteRequiresUserInput);
|
|
24727
24766
|
};
|
|
24728
24767
|
type GetApiV31ToolRouterSessionBySessionIdToolkitsData = {
|
|
24729
24768
|
body?: never;
|
|
@@ -25248,6 +25287,7 @@ declare namespace SessionExecuteParams {
|
|
|
25248
25287
|
type Tool = CustomToolkit['tools'][number];
|
|
25249
25288
|
}
|
|
25250
25289
|
}
|
|
25290
|
+
type InputResponses = NonNullable<SessionExecuteParamsGen['input_responses']>[string];
|
|
25251
25291
|
}
|
|
25252
25292
|
type SessionExecuteMetaParamsGen = NonNullable<PostApiV31ToolRouterSessionBySessionIdExecuteMetaData['body']>;
|
|
25253
25293
|
interface SessionExecuteMetaParams extends SessionExecuteMetaParamsGen {}
|
|
@@ -25260,6 +25300,7 @@ declare namespace SessionExecuteMetaParams {
|
|
|
25260
25300
|
type Tool = CustomToolkit['tools'][number];
|
|
25261
25301
|
}
|
|
25262
25302
|
}
|
|
25303
|
+
type InputResponses = NonNullable<SessionExecuteMetaParamsGen['input_responses']>[string];
|
|
25263
25304
|
}
|
|
25264
25305
|
type SessionLinkParamsGen = NonNullable<PostApiV31ToolRouterSessionBySessionIdLinkData['body']>;
|
|
25265
25306
|
interface SessionLinkParams extends SessionLinkParamsGen {}
|
|
@@ -26614,6 +26655,7 @@ declare namespace WebhookEndpoints {
|
|
|
26614
26655
|
type ProjectCreateParamsGen = NonNullable<PostApiV31OrgOwnerProjectNewData['body']>;
|
|
26615
26656
|
interface ProjectCreateParams extends ProjectCreateParamsGen {}
|
|
26616
26657
|
declare namespace ProjectCreateParams {
|
|
26658
|
+
type ApiKeyPermission = NonNullable<ProjectCreateParamsGen['api_key_permissions']>[number];
|
|
26617
26659
|
type Config = NonNullable<ProjectCreateParamsGen['config']>;
|
|
26618
26660
|
}
|
|
26619
26661
|
type ProjectListParamsGen$1 = NonNullable<GetApiV31OrgOwnerProjectListData['query']>;
|
|
@@ -27177,4 +27219,4 @@ declare namespace SessionConfigs {
|
|
|
27177
27219
|
export { type SessionConfigsRetrieveResponse, type SessionConfigsListResponse, type SessionConfigsListParams };
|
|
27178
27220
|
}
|
|
27179
27221
|
//#endregion
|
|
27180
|
-
export {
|
|
27222
|
+
export { ProjectRegenerateAPIKeyResponse as $, ToolkitRetrieveChangelogResponse as $n, SessionCreateResponse as $r, McpCreateInstanceParams as $t, ClankerCreateClaimResponse as A, createFetchTransport as Ai, TriggersTypeListParams as An, FileListResponse as Ar, LogRetrieveToolExecutionResponse as At, ConsumerListConnectedToolkitsParams as B, ConflictError as Bi, AuthConfigListParams as Bn, ToolRetrieveEnumResponse as Br, Triggers as Bt, Session as C, FileDeleteResponse as Ci, TriggerInstanceUpsertParams as Cn, ConnectedAccountRevokeResponse as Cr, Usage$1 as Ct, OrgListResponse as D, RequestOptions as Di, ManageDeleteResponse as Dn, FileCreatePresignedURLParams as Dr, UsageRetrieveSummaryResponse$1 as Dt, OrgListParams as E, Files$1 as Ei, Manage as En, ConnectedAccounts as Er, UsageRetrieveSummaryParams$1 as Et, UsageRetrieveSummaryResponse as F, APIErrorBody as Fi, TriggersTypes as Fn, ToolGetInputResponse as Fr, ToolRetrieveResponse as Ft, Owner as G, UnprocessableEntityError as Gi, AuthConfigUpdateStatusParams as Gn, Tools$1 as Gr, CliCreateSessionResponse as Gt, Project$2 as H, NotFoundError as Hi, AuthConfigRetrieveResponse as Hn, ToolRetrieveRequiredScopesParams as Hr, CliCreateCodactFailureParams as Ht, Project$1 as I, APIUserAbortError as Ii, AuthConfigCreateParams as In, ToolListParams$1 as Ir, Tools as It, ProjectCreateResponse as J, ToolkitListParams as Jn, SessionAttachParams as Jr, Realtime as Jt, Project$3 as K, APIPromise as Ki, AuthConfigUpdateStatusResponse as Kn, ToolRouter as Kr, CliGetSessionParams as Kt, ProjectListParams as L, AuthenticationError as Li, AuthConfigCreateResponse as Ln, ToolListResponse$1 as Lr, TriggerListParams as Lt, UsageRetrieveParams as M, APIConnectionError as Mi, TriggersTypeRetrieveEnumResponse as Mn, ToolExecuteParams as Mr, ToolListFieldsResponse as Mt, UsageRetrieveResponse as N, APIConnectionTimeoutError as Ni, TriggersTypeRetrieveParams as Nn, ToolExecuteResponse as Nr, ToolListParams as Nt, Clanker as O, FetchTransportDefaults as Oi, ManageUpdateParams as On, FileCreatePresignedURLResponse as Or, LogCreateToolExecutionParams as Ot, UsageRetrieveSummaryParams as P, APIError as Pi, TriggersTypeRetrieveResponse as Pn, ToolGetInputParams as Pr, ToolListResponse as Pt, ProjectListResponse$1 as Q, ToolkitRetrieveCategoriesResponse as Qn, SessionCreateParams as Qr, Mcp as Qt, ProjectListResponse as R, BadRequestError as Ri, AuthConfigDeleteParams as Rn, ToolProxyParams as Rr, TriggerListResponse as Rt, Auth as S, FileDeleteParams as Si, TriggerInstanceListActiveResponse as Sn, ConnectedAccountRetrieveResponse as Sr, Project$4 as St, Org as T, FileListResponse$1 as Ti, TriggerInstances as Tn, ConnectedAccountUpdateStatusResponse as Tr, UsageRetrieveResponse$1 as Tt, ProjectResolveParams as U, PermissionDeniedError as Ui, AuthConfigUpdateParams as Un, ToolRetrieveRequiredScopesResponse as Ur, CliCreateCodactFailureResponse as Ut, ConsumerListConnectedToolkitsResponse as V, InternalServerError as Vi, AuthConfigListResponse as Vn, ToolRetrieveParams as Vr, Cli as Vt, ProjectResolveResponse as W, RateLimitError as Wi, AuthConfigUpdateResponse as Wn, ToolRetrieveResponse$1 as Wr, CliCreateSessionParams as Wt, ProjectDeleteResponse as X, ToolkitRecommendScopesParams as Xn, SessionConfigHistoryParams as Xr, RealtimeAuthResponse as Xt, ProjectDeleteParams as Y, ToolkitListResponse as Yn, SessionAttachResponse as Yr, RealtimeAuthParams as Yt, ProjectListParams$1 as Z, ToolkitRecommendScopesResponse as Zn, SessionConfigHistoryResponse as Zr, RealtimeCredentialsResponse as Zt, CustomUpsertParams as _, SessionToolsResponse as _i, GenerateURLResponse as _n, ConnectedAccountListResponse as _r, WebhookSubscriptionRetrieveResponse as _t, ClientOptions as a, SessionLinkParams as ai, McpDeleteResponse as an, ToolkitRetrieveScopesGrantContextResponse as ar, WebhookEndpointReplaceParams as at, ApiKeyRevocationCreateParams as b, FileCreateUploadURLParams as bi, CustomCreateResponse as bn, ConnectedAccountRefreshParams as br, WebhookSubscriptionUpdateResponse as bt, LogLevel as c, SessionPatchResponse as ci, McpListParams as cn, LinkCreateParams as cr, WebhookEndpointUpdateParams as ct, KeyringListTransferKeysResponse as d, SessionRetrieveResponse as di, McpRetrieveAppResponse as dn, ConnectedAccountCompleteAuthResponse as dr, WebhookSubscriptionCreateParams as dt, SessionDeleteResponse as ei, McpCreateInstanceResponse as en, ToolkitRetrieveMultiParams as er, ProjectRetrieveResponse as et, Custom as f, SessionSearchParams as fi, McpRetrieveResponse as fn, ConnectedAccountCreateParams as fr, WebhookSubscriptionCreateResponse as ft, CustomSyncResponse as g, SessionToolsParams as gi, GenerateURLParams as gn, ConnectedAccountListParams as gr, WebhookSubscriptionListResponse as gt, CustomSyncParams as h, SessionToolkitsResponse as hi, Generate as hn, ConnectedAccountDeleteResponse as hr, WebhookSubscriptionListParams as ht, SessionConfigsRetrieveResponse as i, SessionExecuteResponse as ii, McpDeleteInstanceResponse as in, ToolkitRetrieveScopesGrantContextParams as ir, WebhookEndpointListResponse as it, Usage as j, HeadersLike as ji, TriggersTypeListResponse as jn, Files as jr, Logs as jt, ClankerCreateClaimParams as k, Transport as ki, ManageUpdateResponse as kn, FileListParams as kr, LogCreateToolExecutionResponse as kt, Logger as l, SessionProxyExecuteParams as li, McpListResponse as ln, LinkCreateResponse as lr, WebhookEndpointUpdateResponse as lt, CustomDeleteToolkitResponse as m, SessionToolkitsParams as mi, McpUpdateResponse as mn, ConnectedAccountDeleteParams as mr, WebhookSubscriptionListEventTypesResponse as mt, SessionConfigsListParams as n, SessionExecuteMetaResponse as ni, McpCreateResponse as nn, ToolkitRetrieveParams as nr, WebhookEndpointCreateResponse as nt, Composio as o, SessionLinkResponse as oi, McpListInstancesParams as on, Toolkits as or, WebhookEndpointReplaceResponse as ot, CustomDeleteToolkitParams as p, SessionSearchResponse as pi, McpUpdateParams as pn, ConnectedAccountCreateResponse as pr, WebhookSubscriptionDeleteResponse as pt, ProjectCreateParams as q, AuthConfigs as qn, Session$1 as qr, CliGetSessionResponse as qt, SessionConfigsListResponse as r, SessionExecuteParams as ri, McpDeleteInstanceParams as rn, ToolkitRetrieveResponse as rr, WebhookEndpointListParams as rt, EnvironmentMap as s, SessionPatchParams as si, McpListInstancesResponse as sn, Link as sr, WebhookEndpointRetrieveResponse as st, SessionConfigs as t, SessionExecuteMetaParams as ti, McpCreateParams as tn, ToolkitRetrieveMultiResponse as tr, WebhookEndpointCreateParams as tt, Keyring as u, SessionProxyExecuteResponse as ui, McpRetrieveAppParams as un, ConnectedAccountCompleteAuthParams as ur, WebhookEndpoints as ut, CustomUpsertResponse as v, FileCreateDownloadURLParams as vi, Custom$1 as vn, ConnectedAccountPatchParams as vr, WebhookSubscriptionRotateSecretResponse as vt, SessionRetrieveInfoResponse as w, FileListParams$1 as wi, TriggerInstanceUpsertResponse as wn, ConnectedAccountUpdateStatusParams as wr, UsageRetrieveParams$1 as wt, ApiKeyRevocationCreateResponse as x, FileCreateUploadURLResponse as xi, TriggerInstanceListActiveParams as xn, ConnectedAccountRefreshResponse as xr, WebhookSubscriptions as xt, ApiKeyRevocation as y, FileCreateDownloadURLResponse as yi, CustomCreateParams as yn, ConnectedAccountPatchResponse as yr, WebhookSubscriptionUpdateParams as yt, Consumer as z, ComposioError as zi, AuthConfigDeleteResponse as zn, ToolProxyResponse as zr, TriggerRetrieveResponse as zt };
|