@composio/client 2.1.36 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIGRATION.md +19 -1
- package/README.md +3 -3
- package/dist/{_internal-Cy7PQD45.d.mts → _internal-C4ZzriQ6.d.mts} +223 -139
- package/dist/{_internal-DB5i0KL3.d.mts → _internal-ChynSuwG.d.mts} +2 -32
- package/dist/effect/internal.d.mts +9 -3
- package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +2 -5
- package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +1 -2
- package/dist/effect/schemas/_internal/cli/create-session.d.mts +3 -5
- package/dist/effect/schemas/_internal/cli/create-session.mjs +3 -3
- package/dist/effect/schemas/_internal/cli/get-session.d.mts +2 -5
- package/dist/effect/schemas/_internal/cli/get-session.mjs +1 -2
- package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +2 -5
- package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +1 -2
- package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +2 -5
- package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +1 -2
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +2 -5
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +1 -2
- package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +2 -5
- package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +1 -2
- package/dist/effect/schemas/_internal/logs/tools/list.d.mts +2 -5
- package/dist/effect/schemas/_internal/logs/tools/list.mjs +1 -2
- package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +2 -5
- package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +1 -2
- package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +2 -5
- package/dist/effect/schemas/_internal/logs/triggers/list.mjs +2 -3
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +2 -5
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +2 -3
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +2 -5
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +1 -2
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +2 -5
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +1 -2
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +2 -5
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +1 -2
- package/dist/effect/schemas/api-key-revocation/create.d.mts +2 -5
- package/dist/effect/schemas/api-key-revocation/create.mjs +1 -2
- package/dist/effect/schemas/auth/session/retrieve-info.d.mts +2 -5
- package/dist/effect/schemas/auth/session/retrieve-info.mjs +1 -2
- package/dist/effect/schemas/auth-configs/create.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/create.mjs +1 -2
- package/dist/effect/schemas/auth-configs/delete.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/delete.mjs +1 -2
- package/dist/effect/schemas/auth-configs/list.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/list.mjs +2 -3
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/retrieve.mjs +2 -3
- package/dist/effect/schemas/auth-configs/update-status.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/update-status.mjs +1 -2
- package/dist/effect/schemas/auth-configs/update.d.mts +2 -5
- package/dist/effect/schemas/auth-configs/update.mjs +1 -2
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +2 -5
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +1 -2
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +2 -5
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +1 -2
- package/dist/effect/schemas/components/block-reason.d.mts +2 -5
- package/dist/effect/schemas/components/block-reason.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +1 -2
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +2 -3
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2 -5
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +2 -3
- package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +2 -5
- package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +1 -2
- package/dist/effect/schemas/components/execute-blocked.d.mts +3 -5
- package/dist/effect/schemas/components/execute-blocked.mjs +3 -4
- package/dist/effect/schemas/components/execute-completed.d.mts +3 -5
- package/dist/effect/schemas/components/execute-completed.mjs +3 -4
- package/dist/effect/schemas/components/execute-failed.d.mts +3 -5
- package/dist/effect/schemas/components/execute-failed.mjs +3 -4
- package/dist/effect/schemas/components/execute-requires-user-input.d.mts +2 -5
- package/dist/effect/schemas/components/execute-requires-user-input.mjs +2 -3
- package/dist/effect/schemas/components/hook-result.d.mts +3 -5
- package/dist/effect/schemas/components/hook-result.mjs +3 -3
- package/dist/effect/schemas/components/instant-account.d.mts +2 -5
- package/dist/effect/schemas/components/instant-account.mjs +2 -3
- package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +2 -5
- package/dist/effect/schemas/components/mcp-create-response-commands.mjs +1 -2
- package/dist/effect/schemas/components/mcp-list-response-items.d.mts +2 -5
- package/dist/effect/schemas/components/mcp-list-response-items.mjs +2 -3
- package/dist/effect/schemas/components/project-list-response-data.d.mts +2 -5
- package/dist/effect/schemas/components/project-list-response-data.mjs +1 -2
- package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +3 -5
- package/dist/effect/schemas/components/proxy-execute-blocked.mjs +3 -4
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +3 -5
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +3 -4
- package/dist/effect/schemas/components/session-create-response-config.d.mts +12 -7
- package/dist/effect/schemas/components/session-create-response-config.mjs +23 -12
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +2 -5
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +1 -2
- package/dist/effect/schemas/components/session-create-response-warnings.d.mts +2 -5
- package/dist/effect/schemas/components/session-create-response-warnings.mjs +1 -2
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +2 -5
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +1 -2
- package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +2 -5
- package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +2 -3
- package/dist/effect/schemas/components/tool-details.d.mts +2 -5
- package/dist/effect/schemas/components/tool-details.mjs +3 -4
- package/dist/effect/schemas/components/tool-pricing.d.mts +2 -5
- package/dist/effect/schemas/components/tool-pricing.mjs +1 -2
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +12 -7
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +23 -12
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +2 -5
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +1 -2
- package/dist/effect/schemas/components/tool.d.mts +2 -5
- package/dist/effect/schemas/components/tool.mjs +3 -4
- package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +2 -5
- package/dist/effect/schemas/components/toolkit-list-response-items.mjs +2 -3
- package/dist/effect/schemas/components/tools-paginated.d.mts +2 -5
- package/dist/effect/schemas/components/tools-paginated.mjs +2 -3
- package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +2 -5
- package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +1 -2
- package/dist/effect/schemas/components/user-input-request.d.mts +2 -5
- package/dist/effect/schemas/components/user-input-request.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/complete-auth.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/create.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/create.mjs +2 -3
- package/dist/effect/schemas/connected-accounts/delete.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/delete.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/list.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/list.mjs +2 -3
- package/dist/effect/schemas/connected-accounts/patch.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/patch.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/refresh.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/refresh.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +2 -3
- package/dist/effect/schemas/connected-accounts/revoke.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/revoke.mjs +1 -2
- package/dist/effect/schemas/connected-accounts/update-status.d.mts +2 -5
- package/dist/effect/schemas/connected-accounts/update-status.mjs +1 -2
- package/dist/effect/schemas/custom/create-toolkit.d.mts +2 -5
- package/dist/effect/schemas/custom/create-toolkit.mjs +1 -2
- package/dist/effect/schemas/custom/delete-toolkit.d.mts +2 -5
- package/dist/effect/schemas/custom/delete-toolkit.mjs +1 -2
- package/dist/effect/schemas/custom/sync.d.mts +2 -5
- package/dist/effect/schemas/custom/sync.mjs +1 -2
- package/dist/effect/schemas/custom/update-toolkits.d.mts +2 -5
- package/dist/effect/schemas/custom/update-toolkits.mjs +1 -2
- package/dist/effect/schemas/custom/upsert.d.mts +2 -5
- package/dist/effect/schemas/custom/upsert.mjs +1 -2
- package/dist/effect/schemas/files/create-presigned-url.d.mts +2 -5
- package/dist/effect/schemas/files/create-presigned-url.mjs +1 -2
- package/dist/effect/schemas/files/list.d.mts +2 -5
- package/dist/effect/schemas/files/list.mjs +1 -2
- package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +2 -5
- package/dist/effect/schemas/keyring/list-transfer-keys.mjs +1 -2
- package/dist/effect/schemas/link/create.d.mts +2 -5
- package/dist/effect/schemas/link/create.mjs +2 -3
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +2 -5
- package/dist/effect/schemas/logs/create-tool-execution.mjs +1 -2
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +2 -5
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +1 -2
- package/dist/effect/schemas/mcp/create-instance.d.mts +2 -5
- package/dist/effect/schemas/mcp/create-instance.mjs +1 -2
- package/dist/effect/schemas/mcp/create.d.mts +2 -5
- package/dist/effect/schemas/mcp/create.mjs +2 -3
- package/dist/effect/schemas/mcp/custom/create.d.mts +2 -5
- package/dist/effect/schemas/mcp/custom/create.mjs +1 -2
- package/dist/effect/schemas/mcp/delete-instance.d.mts +2 -5
- package/dist/effect/schemas/mcp/delete-instance.mjs +1 -2
- package/dist/effect/schemas/mcp/delete.d.mts +2 -5
- package/dist/effect/schemas/mcp/delete.mjs +1 -2
- package/dist/effect/schemas/mcp/generate/url.d.mts +2 -5
- package/dist/effect/schemas/mcp/generate/url.mjs +1 -2
- package/dist/effect/schemas/mcp/list-instances.d.mts +2 -5
- package/dist/effect/schemas/mcp/list-instances.mjs +1 -2
- package/dist/effect/schemas/mcp/list.d.mts +2 -5
- package/dist/effect/schemas/mcp/list.mjs +2 -3
- package/dist/effect/schemas/mcp/retrieve-app.d.mts +2 -5
- package/dist/effect/schemas/mcp/retrieve-app.mjs +2 -3
- package/dist/effect/schemas/mcp/retrieve.d.mts +2 -5
- package/dist/effect/schemas/mcp/retrieve.mjs +2 -3
- package/dist/effect/schemas/mcp/update.d.mts +2 -5
- package/dist/effect/schemas/mcp/update.mjs +2 -3
- package/dist/effect/schemas/org/list.d.mts +2 -5
- package/dist/effect/schemas/org/list.mjs +1 -2
- package/dist/effect/schemas/org/owner/project/create.d.mts +2 -5
- package/dist/effect/schemas/org/owner/project/create.mjs +1 -2
- package/dist/effect/schemas/org/owner/project/delete.d.mts +2 -5
- package/dist/effect/schemas/org/owner/project/delete.mjs +1 -2
- package/dist/effect/schemas/org/owner/project/list.d.mts +2 -5
- package/dist/effect/schemas/org/owner/project/list.mjs +2 -3
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +2 -5
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +1 -2
- package/dist/effect/schemas/org/owner/project/retrieve.d.mts +2 -5
- package/dist/effect/schemas/org/owner/project/retrieve.mjs +1 -2
- package/dist/effect/schemas/org/project/list.d.mts +2 -5
- package/dist/effect/schemas/org/project/list.mjs +2 -3
- package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +2 -5
- package/dist/effect/schemas/org/usage/retrieve-summary.mjs +1 -2
- package/dist/effect/schemas/org/usage/retrieve.d.mts +2 -5
- package/dist/effect/schemas/org/usage/retrieve.mjs +1 -2
- package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +2 -5
- package/dist/effect/schemas/project/usage/retrieve-summary.mjs +1 -2
- package/dist/effect/schemas/project/usage/retrieve.d.mts +2 -5
- package/dist/effect/schemas/project/usage/retrieve.mjs +1 -2
- package/dist/effect/schemas/session-configs/list.d.mts +2 -5
- package/dist/effect/schemas/session-configs/list.mjs +1 -2
- package/dist/effect/schemas/session-configs/retrieve.d.mts +2 -5
- package/dist/effect/schemas/session-configs/retrieve.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/attach.d.mts +12 -7
- package/dist/effect/schemas/tool-router/session/attach.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +12 -7
- package/dist/effect/schemas/tool-router/session/config-history.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/create.d.mts +12 -7
- package/dist/effect/schemas/tool-router/session/create.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/delete.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/delete.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +5 -5
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/execute.d.mts +5 -5
- package/dist/effect/schemas/tool-router/session/execute.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/files/delete.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/files/delete.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/files/list.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/files/list.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/link.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/link.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/patch.d.mts +12 -7
- package/dist/effect/schemas/tool-router/session/patch.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +4 -5
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +12 -7
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/search.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/search.mjs +2 -3
- package/dist/effect/schemas/tool-router/session/toolkits.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/toolkits.mjs +1 -2
- package/dist/effect/schemas/tool-router/session/tools.d.mts +2 -5
- package/dist/effect/schemas/tool-router/session/tools.mjs +1 -2
- package/dist/effect/schemas/toolkits/list.d.mts +2 -5
- package/dist/effect/schemas/toolkits/list.mjs +2 -3
- package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +2 -5
- package/dist/effect/schemas/toolkits/recommend-scopes.mjs +1 -2
- package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +2 -5
- package/dist/effect/schemas/toolkits/retrieve-categories.mjs +1 -2
- package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +2 -5
- package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +1 -2
- package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +2 -5
- package/dist/effect/schemas/toolkits/retrieve-multi.mjs +2 -3
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +2 -5
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +1 -2
- package/dist/effect/schemas/toolkits/retrieve.d.mts +8 -5
- package/dist/effect/schemas/toolkits/retrieve.mjs +8 -2
- package/dist/effect/schemas/tools/execute.d.mts +2 -5
- package/dist/effect/schemas/tools/execute.mjs +2 -3
- package/dist/effect/schemas/tools/get-input.d.mts +2 -5
- package/dist/effect/schemas/tools/get-input.mjs +1 -2
- package/dist/effect/schemas/tools/list.d.mts +2 -5
- package/dist/effect/schemas/tools/list.mjs +1 -2
- package/dist/effect/schemas/tools/proxy.d.mts +2 -5
- package/dist/effect/schemas/tools/proxy.mjs +1 -2
- package/dist/effect/schemas/tools/retrieve-enum.d.mts +1 -4
- package/dist/effect/schemas/tools/retrieve-enum.mjs +1 -2
- package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +2 -5
- package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +1 -2
- package/dist/effect/schemas/tools/retrieve.d.mts +2 -5
- package/dist/effect/schemas/tools/retrieve.mjs +1 -2
- package/dist/effect/schemas/trigger-instances/list-active.d.mts +2 -5
- package/dist/effect/schemas/trigger-instances/list-active.mjs +1 -2
- package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +2 -5
- package/dist/effect/schemas/trigger-instances/manage/delete.mjs +1 -2
- package/dist/effect/schemas/trigger-instances/manage/update.d.mts +2 -5
- package/dist/effect/schemas/trigger-instances/manage/update.mjs +1 -2
- package/dist/effect/schemas/trigger-instances/upsert.d.mts +2 -5
- package/dist/effect/schemas/trigger-instances/upsert.mjs +1 -2
- package/dist/effect/schemas/triggers-types/list.d.mts +2 -5
- package/dist/effect/schemas/triggers-types/list.mjs +1 -2
- package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +1 -4
- package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +1 -2
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +2 -5
- package/dist/effect/schemas/triggers-types/retrieve.mjs +1 -2
- package/dist/effect/schemas/webhook-endpoints/create.d.mts +2 -5
- package/dist/effect/schemas/webhook-endpoints/create.mjs +1 -2
- package/dist/effect/schemas/webhook-endpoints/list.d.mts +2 -5
- package/dist/effect/schemas/webhook-endpoints/list.mjs +1 -2
- package/dist/effect/schemas/webhook-endpoints/replace.d.mts +2 -5
- package/dist/effect/schemas/webhook-endpoints/replace.mjs +1 -2
- package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +2 -5
- package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +1 -2
- package/dist/effect/schemas/webhook-endpoints/update.d.mts +2 -5
- package/dist/effect/schemas/webhook-endpoints/update.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/create.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/create.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/delete.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/list.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/list.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +1 -2
- package/dist/effect/schemas/webhook-subscriptions/update.d.mts +2 -5
- package/dist/effect/schemas/webhook-subscriptions/update.mjs +1 -2
- package/dist/effect/schemas.d.mts +67 -15
- package/dist/effect/schemas.mjs +1 -2
- package/dist/effect.d.mts +19 -79
- package/dist/effect.mjs +61 -105
- package/dist/{environments-DX0kFMLp.mjs → environments-C90r_t8M.mjs} +5 -8
- package/dist/{environments-cAYB1XWL.d.mts → environments-j3Mor1h6.d.mts} +1 -5
- package/dist/{error-Bw7_G2NZ.mjs → error-hMgVE2qc.mjs} +1 -2
- package/dist/{generated-operations-qD1gteMo.mjs → generated-operations-Btwe6bGR.mjs} +13 -21
- package/dist/index.d.mts +10 -2
- package/dist/index.mjs +21 -23
- package/dist/internal.d.mts +15 -3
- package/dist/{pagination-rules-CMnBwktJ.mjs → pagination-rules-DMTBYzG_.mjs} +2 -3
- package/dist/pagination.d.mts +9 -12
- package/dist/pagination.mjs +2 -3
- package/dist/resources/_internal/_internal.d.mts +1 -1
- package/dist/resources/_internal/_internal.mjs +1 -2
- package/dist/resources/_internal/cli/cli.d.mts +1 -1
- package/dist/resources/_internal/cli/cli.mjs +6 -5
- package/dist/resources/_internal/cli/realtime.d.mts +1 -1
- package/dist/resources/_internal/cli/realtime.mjs +2 -3
- package/dist/resources/_internal/cli.d.mts +1 -1
- package/dist/resources/_internal/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/consumer/consumer.mjs +1 -2
- package/dist/resources/_internal/consumer/permissions.d.mts +1 -1
- package/dist/resources/_internal/consumer/permissions.mjs +2 -3
- package/dist/resources/_internal/consumer.d.mts +1 -1
- package/dist/resources/_internal/logs/logs.d.mts +1 -1
- package/dist/resources/_internal/logs/logs.mjs +1 -2
- package/dist/resources/_internal/logs/tools.d.mts +1 -1
- package/dist/resources/_internal/logs/tools.mjs +2 -3
- package/dist/resources/_internal/logs/triggers.d.mts +1 -1
- package/dist/resources/_internal/logs/triggers.mjs +2 -3
- package/dist/resources/_internal/logs.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.mjs +2 -3
- package/dist/resources/_internal/org/consumer/project.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/project.mjs +2 -3
- package/dist/resources/_internal/org/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/org.d.mts +1 -1
- package/dist/resources/_internal/org/org.mjs +1 -2
- package/dist/resources/_internal/org.d.mts +1 -1
- package/dist/resources/_internal.d.mts +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +2 -3
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +2 -3
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +2 -3
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +2 -3
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +2 -3
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +2 -3
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +2 -3
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +2 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +2 -3
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +2 -3
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +2 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +2 -3
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +2 -3
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -2
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +2 -3
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +2 -3
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +2 -3
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -2
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +2 -3
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +2 -3
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +2 -3
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +2 -3
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -2
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +2 -3
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +2 -3
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +2 -3
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +2 -3
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +2 -3
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +2 -3
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +2 -3
- package/package.json +17 -17
package/dist/index.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { makeAuth } from "./resources/auth/auth.mjs";
|
|
7
|
-
import { makeConnectedAccounts } from "./resources/connected-accounts.mjs";
|
|
8
|
-
import { makeCustom } from "./resources/custom.mjs";
|
|
1
|
+
import { n as GENERATED_DEPRECATED_INPUTS, r as APIPromise, t as ENVIRONMENTS } from "./environments-C90r_t8M.mjs";
|
|
2
|
+
import { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-Btwe6bGR.mjs";
|
|
3
|
+
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-hMgVE2qc.mjs";
|
|
4
|
+
import { makeToolRouter } from "./resources/tool-router/tool-router.mjs";
|
|
5
|
+
import { makeTools } from "./resources/tools.mjs";
|
|
9
6
|
import { makeFiles } from "./resources/files.mjs";
|
|
10
|
-
import {
|
|
7
|
+
import { makeConnectedAccounts } from "./resources/connected-accounts.mjs";
|
|
11
8
|
import { makeLink } from "./resources/link.mjs";
|
|
12
|
-
import { makeLogs } from "./resources/logs/logs.mjs";
|
|
13
|
-
import { makeMcp } from "./resources/mcp/mcp.mjs";
|
|
14
|
-
import { makeOrg } from "./resources/org/org.mjs";
|
|
15
|
-
import { makeProject } from "./resources/project/project.mjs";
|
|
16
|
-
import { makeSessionConfigs } from "./resources/session-configs.mjs";
|
|
17
|
-
import { makeToolRouter } from "./resources/tool-router/tool-router.mjs";
|
|
18
9
|
import { makeToolkits } from "./resources/toolkits.mjs";
|
|
19
|
-
import {
|
|
20
|
-
import { makeTriggerInstances } from "./resources/trigger-instances/trigger-instances.mjs";
|
|
10
|
+
import { makeAuthConfigs } from "./resources/auth-configs.mjs";
|
|
21
11
|
import { makeTriggersTypes } from "./resources/triggers-types.mjs";
|
|
22
|
-
import {
|
|
12
|
+
import { makeTriggerInstances } from "./resources/trigger-instances/trigger-instances.mjs";
|
|
13
|
+
import { makeMcp } from "./resources/mcp/mcp.mjs";
|
|
14
|
+
import { makeLogs } from "./resources/logs/logs.mjs";
|
|
15
|
+
import { makeProject } from "./resources/project/project.mjs";
|
|
23
16
|
import { makeWebhookSubscriptions } from "./resources/webhook-subscriptions.mjs";
|
|
24
|
-
import {
|
|
17
|
+
import { makeWebhookEndpoints } from "./resources/webhook-endpoints.mjs";
|
|
18
|
+
import { makeOrg } from "./resources/org/org.mjs";
|
|
19
|
+
import { makeAuth } from "./resources/auth/auth.mjs";
|
|
20
|
+
import { makeApiKeyRevocation } from "./resources/api-key-revocation.mjs";
|
|
21
|
+
import { makeInternal } from "./resources/_internal/_internal.mjs";
|
|
22
|
+
import { makeCustom } from "./resources/custom.mjs";
|
|
23
|
+
import { makeKeyring } from "./resources/keyring.mjs";
|
|
24
|
+
import { makeSessionConfigs } from "./resources/session-configs.mjs";
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
// src/compat/generated-resource-wiring.ts
|
|
27
27
|
const createClientResources = (client) => ({
|
|
28
28
|
toolRouter: makeToolRouter(client),
|
|
29
29
|
tools: makeTools(client),
|
|
@@ -48,8 +48,7 @@ const createClientResources = (client) => ({
|
|
|
48
48
|
sessionConfigs: makeSessionConfigs(client)
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
//#region src/compat/client.ts
|
|
51
|
+
// src/compat/client.ts
|
|
53
52
|
const DEFAULT_BASE_URL = ENVIRONMENTS.production;
|
|
54
53
|
const DEFAULT_TIMEOUT = 6e4;
|
|
55
54
|
/** A setting as `fromEnv` reads one: trimmed, and absent when empty. */
|
|
@@ -274,5 +273,4 @@ var Composio = class {
|
|
|
274
273
|
static UnprocessableEntityError = UnprocessableEntityError;
|
|
275
274
|
};
|
|
276
275
|
|
|
277
|
-
//#endregion
|
|
278
276
|
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, Auth, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, ENVIRONMENTS, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `@composio/client/internal`: types `client._internal`, the operations the API
|
|
3
|
+
* publishes for Composio's own CLI and SDKs (tagged `x-internal` in the spec).
|
|
4
|
+
*
|
|
5
|
+
* Every client has the property; importing this module is what lets the type
|
|
6
|
+
* checker see it, so it stays out of autocompletion for everyone else. Nothing
|
|
7
|
+
* under it carries a compatibility promise: it may change in any release.
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import type {} from '@composio/client/internal'
|
|
11
|
+
*
|
|
12
|
+
* const session = await client._internal.cli.getSession({ id })
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
import { t as Internal } from "./_internal-C4ZzriQ6.mjs";
|
|
3
16
|
declare module '@composio/client' {
|
|
4
17
|
interface Composio {
|
|
5
18
|
readonly _internal: Internal;
|
|
6
19
|
}
|
|
7
20
|
}
|
|
8
|
-
//#endregion
|
|
9
21
|
export type { Internal };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as ComposioError } from "./error-
|
|
1
|
+
import { s as ComposioError } from "./error-hMgVE2qc.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/pagination-rules.ts
|
|
4
4
|
/**
|
|
5
5
|
* The cursor rules of a paginated traversal, as pure functions: what the
|
|
6
6
|
* default adapter reads off a page, when a traversal is over, and what it
|
|
@@ -32,5 +32,4 @@ function assertPageItems(items) {
|
|
|
32
32
|
if (!Array.isArray(items)) throw new ComposioError("Pagination adapter items() must return an array");
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
//#endregion
|
|
36
35
|
export { standardNextCursor as i, assertPageItems as n, isFinalCursor as r, assertCursorAdvanced as t };
|
package/dist/pagination.d.mts
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
//#region src/pagination.d.ts
|
|
2
1
|
/** A stable cursor value that can be compared across independently decoded pages. */
|
|
3
|
-
type PaginationCursor = string | number;
|
|
2
|
+
export type PaginationCursor = string | number;
|
|
4
3
|
/** The position supplied to a paginated operation for one page request. */
|
|
5
|
-
interface PaginationRequest<Cursor extends PaginationCursor> {
|
|
4
|
+
export interface PaginationRequest<Cursor extends PaginationCursor> {
|
|
6
5
|
/** The continuation from the preceding response, absent on the first page. */
|
|
7
6
|
readonly cursor: Cursor | undefined;
|
|
8
7
|
}
|
|
9
8
|
/** A standard Composio cursor page. */
|
|
10
|
-
interface CursorPage<Item> {
|
|
9
|
+
export interface CursorPage<Item> {
|
|
11
10
|
readonly items: ReadonlyArray<Item>;
|
|
12
11
|
readonly next_cursor?: string | null;
|
|
13
12
|
}
|
|
14
13
|
/** Extracts the item carried by a standard Composio cursor page. */
|
|
15
|
-
type CursorPageItem<Page> = Page extends CursorPage<infer Item> ? Item : never;
|
|
14
|
+
export type CursorPageItem<Page> = Page extends CursorPage<infer Item> ? Item : never;
|
|
16
15
|
/** Fetches one page through a concrete SDK operation. */
|
|
17
|
-
type PageFetcher<Page, Cursor extends PaginationCursor> = (request: PaginationRequest<Cursor>) => PromiseLike<Page>;
|
|
16
|
+
export type PageFetcher<Page, Cursor extends PaginationCursor> = (request: PaginationRequest<Cursor>) => PromiseLike<Page>;
|
|
18
17
|
/** Adapts an operation-specific response envelope to pagination. */
|
|
19
|
-
interface PaginationAdapter<Page, Item, Cursor extends PaginationCursor> {
|
|
18
|
+
export interface PaginationAdapter<Page, Item, Cursor extends PaginationCursor> {
|
|
20
19
|
/** Returns the items carried by one response page. */
|
|
21
20
|
readonly items: (page: Page) => ReadonlyArray<Item>;
|
|
22
21
|
/** Returns the continuation for the next request, or nullish at the end. */
|
|
@@ -30,7 +29,7 @@ interface PaginationAdapter<Page, Item, Cursor extends PaginationCursor> {
|
|
|
30
29
|
* The supplied operation remains responsible for its query, page size, request
|
|
31
30
|
* options, cancellation, and normal client retry behavior.
|
|
32
31
|
*/
|
|
33
|
-
interface Pagination<Item, Page> extends AsyncIterable<Item> {
|
|
32
|
+
export interface Pagination<Item, Page> extends AsyncIterable<Item> {
|
|
34
33
|
[Symbol.asyncIterator](): AsyncIterableIterator<Item>;
|
|
35
34
|
/** Iterates complete response pages without flattening their items. */
|
|
36
35
|
iterPages(): AsyncIterable<Page>;
|
|
@@ -49,8 +48,6 @@ interface Pagination<Item, Page> extends AsyncIterable<Item> {
|
|
|
49
48
|
* for await (const tool of tools) console.log(tool.slug)
|
|
50
49
|
* ```
|
|
51
50
|
*/
|
|
52
|
-
declare function paginate<Page extends CursorPage<unknown>>(fetchPage: PageFetcher<Page, string>): Pagination<CursorPageItem<Page>, Page>;
|
|
51
|
+
export declare function paginate<Page extends CursorPage<unknown>>(fetchPage: PageFetcher<Page, string>): Pagination<CursorPageItem<Page>, Page>;
|
|
53
52
|
/** Lazily traverses an operation with an operation-specific response envelope. */
|
|
54
|
-
declare function paginate<Page, Item, Cursor extends PaginationCursor>(fetchPage: PageFetcher<Page, Cursor>, adapter: PaginationAdapter<Page, Item, Cursor>): Pagination<Item, Page>;
|
|
55
|
-
//#endregion
|
|
56
|
-
export { CursorPage, CursorPageItem, PageFetcher, Pagination, PaginationAdapter, PaginationCursor, PaginationRequest, paginate };
|
|
53
|
+
export declare function paginate<Page, Item, Cursor extends PaginationCursor>(fetchPage: PageFetcher<Page, Cursor>, adapter: PaginationAdapter<Page, Item, Cursor>): Pagination<Item, Page>;
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-
|
|
1
|
+
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-DMTBYzG_.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/pagination.ts
|
|
4
4
|
var PaginationTraversal = class {
|
|
5
5
|
fetchPage;
|
|
6
6
|
adapter;
|
|
@@ -42,5 +42,4 @@ function paginate(fetchPage, adapter) {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
//#endregion
|
|
46
45
|
export { paginate };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as makeInternal, t as Internal } from "../../_internal-
|
|
1
|
+
import { n as makeInternal, t as Internal } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Internal, makeInternal };
|
|
@@ -3,7 +3,7 @@ import { makeConsumer } from "./consumer/consumer.mjs";
|
|
|
3
3
|
import { makeLogs } from "./logs/logs.mjs";
|
|
4
4
|
import { makeOrg } from "./org/org.mjs";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/compat/resources/_internal/_internal.ts
|
|
7
7
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
8
8
|
const makeInternal = (client) => ({
|
|
9
9
|
cli: makeCli(client),
|
|
@@ -12,5 +12,4 @@ const makeInternal = (client) => ({
|
|
|
12
12
|
org: makeOrg(client)
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
//#endregion
|
|
16
15
|
export { makeInternal };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as makeCli, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, z as CliGetSessionResponse } from "../../../_internal-
|
|
1
|
+
import { B as makeCli, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, z as CliGetSessionResponse } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, makeCli };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { D as mergeHeaders, b as withOperation, n as generatedOperation } from "../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
import { makeRealtime } from "./realtime.mjs";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/compat/resources/_internal/cli/cli.ts
|
|
5
5
|
const OP_CREATE_CODACT_FAILURE = generatedOperation("_internal.cli.createCodactFailure");
|
|
6
6
|
const OP_CREATE_SESSION = generatedOperation("_internal.cli.createSession");
|
|
7
7
|
const OP_GET_SESSION = generatedOperation("_internal.cli.getSession");
|
|
@@ -21,13 +21,14 @@ const makeCli = (client) => ({
|
|
|
21
21
|
...options
|
|
22
22
|
}));
|
|
23
23
|
},
|
|
24
|
-
getSession(
|
|
24
|
+
getSession(params, options) {
|
|
25
|
+
const { "x-cli-session-secret": xCliSessionSecret, ...query } = params;
|
|
25
26
|
return client.get("/api/v3.1/cli/get-session", withOperation(OP_GET_SESSION, {
|
|
26
27
|
query,
|
|
27
|
-
...options
|
|
28
|
+
...options,
|
|
29
|
+
headers: mergeHeaders([{ ...xCliSessionSecret != null ? { "x-cli-session-secret": xCliSessionSecret } : void 0 }, options?.headers])
|
|
28
30
|
}));
|
|
29
31
|
}
|
|
30
32
|
});
|
|
31
33
|
|
|
32
|
-
//#endregion
|
|
33
34
|
export { makeCli };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-
|
|
1
|
+
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse, makeRealtime };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("_internal.cli.realtime.auth");
|
|
5
5
|
const OP_CREDENTIALS = generatedOperation("_internal.cli.realtime.credentials");
|
|
6
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
@@ -16,5 +16,4 @@ const makeRealtime = (client) => ({
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
//#endregion
|
|
20
19
|
export { makeRealtime };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { F as CliCreateCodactFailureResponse, H as RealtimeAuthParams, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse, z as CliGetSessionResponse } from "../../_internal-
|
|
1
|
+
import { F as CliCreateCodactFailureResponse, H as RealtimeAuthParams, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse, z as CliGetSessionResponse } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Consumer, O as makeConsumer } from "../../../_internal-
|
|
1
|
+
import { D as Consumer, O as makeConsumer } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Consumer, makeConsumer };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { makePermissions } from "./permissions.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/consumer/consumer.ts
|
|
4
4
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
5
5
|
const makeConsumer = (client) => ({ permissions: makePermissions(client) });
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { makeConsumer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Permissions, PermissionsResolveParams, PermissionsResolveResponse, makePermissions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/consumer/permissions.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("_internal.consumer.permissions.resolve");
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makePermissions = (client) => ({ resolve(body = {}, options) {
|
|
@@ -10,5 +10,4 @@ const makePermissions = (client) => ({ resolve(body = {}, options) {
|
|
|
10
10
|
}));
|
|
11
11
|
} });
|
|
12
12
|
|
|
13
|
-
//#endregion
|
|
14
13
|
export { makePermissions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Consumer, Permissions, PermissionsResolveParams, PermissionsResolveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as makeLogs, m as Logs } from "../../../_internal-
|
|
1
|
+
import { h as makeLogs, m as Logs } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Logs, makeLogs };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { makeTriggers } from "./triggers.mjs";
|
|
2
2
|
import { makeTools } from "./tools.mjs";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/compat/resources/_internal/logs/logs.ts
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makeLogs = (client) => ({
|
|
7
7
|
triggers: makeTriggers(client),
|
|
8
8
|
tools: makeTools(client)
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
//#endregion
|
|
12
11
|
export { makeLogs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, makeTools };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/logs/tools.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.tools.retrieve");
|
|
5
5
|
const OP_LIST = generatedOperation("_internal.logs.tools.list");
|
|
6
6
|
const OP_LIST_FIELDS = generatedOperation("_internal.logs.tools.listFields");
|
|
@@ -20,5 +20,4 @@ const makeTools = (client) => ({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
//#endregion
|
|
24
23
|
export { makeTools };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers, makeTriggers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/logs/triggers.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.triggers.retrieve");
|
|
5
5
|
const OP_LIST = generatedOperation("_internal.logs.triggers.list");
|
|
6
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
@@ -16,5 +16,4 @@ const makeTriggers = (client) => ({
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
//#endregion
|
|
20
19
|
export { makeTriggers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TriggerListResponse, S as TriggerListParams, T as Triggers, _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, m as Logs, v as ToolListResponse, w as TriggerRetrieveResponse, y as ToolRetrieveResponse } from "../../_internal-
|
|
1
|
+
import { C as TriggerListResponse, S as TriggerListParams, T as Triggers, _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, m as Logs, v as ToolListResponse, w as TriggerRetrieveResponse, y as ToolRetrieveResponse } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Logs, ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Consumer, c as ConsumerRetrieveConfigResponse, l as makeConsumer, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse } from "../../../../_internal-
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, l as makeConsumer, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse } from "../../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, makeConsumer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
import { makeProject } from "./project.mjs";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/compat/resources/_internal/org/consumer/consumer.ts
|
|
5
5
|
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("_internal.org.consumer.listConnectedToolkits");
|
|
6
6
|
const OP_RETRIEVE_CONFIG = generatedOperation("_internal.org.consumer.retrieveConfig");
|
|
7
7
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
@@ -22,5 +22,4 @@ const makeConsumer = (client) => ({
|
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
//#endregion
|
|
26
25
|
export { makeConsumer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as ProjectResolveParams, f as ProjectResolveResponse, p as makeProject, u as Project } from "../../../../_internal-
|
|
1
|
+
import { d as ProjectResolveParams, f as ProjectResolveResponse, p as makeProject, u as Project } from "../../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Project, ProjectResolveParams, ProjectResolveResponse, makeProject };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/org/consumer/project.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("_internal.org.consumer.project.resolve");
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makeProject = (client) => ({ resolve(params, options) {
|
|
@@ -11,5 +11,4 @@ const makeProject = (client) => ({ resolve(params, options) {
|
|
|
11
11
|
}));
|
|
12
12
|
} });
|
|
13
13
|
|
|
14
|
-
//#endregion
|
|
15
14
|
export { makeProject };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Consumer, c as ConsumerRetrieveConfigResponse, d as ProjectResolveParams, f as ProjectResolveResponse, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse, u as Project } from "../../../_internal-
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, d as ProjectResolveParams, f as ProjectResolveResponse, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse, u as Project } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Project, ProjectResolveParams, ProjectResolveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as makeOrg, r as Org } from "../../../_internal-
|
|
1
|
+
import { i as makeOrg, r as Org } from "../../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Org, makeOrg };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { makeConsumer } from "./consumer/consumer.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/_internal/org/org.ts
|
|
4
4
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
5
5
|
const makeOrg = (client) => ({ consumer: makeConsumer(client) });
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { makeOrg };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Consumer, c as ConsumerRetrieveConfigResponse, o as ConsumerListConnectedToolkitsParams, r as Org, s as ConsumerListConnectedToolkitsResponse } from "../../_internal-
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, o as ConsumerListConnectedToolkitsParams, r as Org, s as ConsumerListConnectedToolkitsResponse } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Org };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Consumer, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, m as Logs, r as Org, t as Internal, z as CliGetSessionResponse } from "../_internal-
|
|
1
|
+
import { D as Consumer, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, m as Logs, r as Org, t as Internal, z as CliGetSessionResponse } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Consumer, Internal, Logs, Org };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as ApiKeyRevocationCreateParams, gt as ApiKeyRevocation, vt as ApiKeyRevocationCreateResponse, yt as makeApiKeyRevocation } from "../_internal-
|
|
1
|
+
import { _t as ApiKeyRevocationCreateParams, gt as ApiKeyRevocation, vt as ApiKeyRevocationCreateResponse, yt as makeApiKeyRevocation } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { ApiKeyRevocation, ApiKeyRevocationCreateParams, ApiKeyRevocationCreateResponse, makeApiKeyRevocation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/api-key-revocation.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("apiKeyRevocation.create");
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makeApiKeyRevocation = (client) => ({ create(body, options) {
|
|
@@ -10,5 +10,4 @@ const makeApiKeyRevocation = (client) => ({ create(body, options) {
|
|
|
10
10
|
}));
|
|
11
11
|
} });
|
|
12
12
|
|
|
13
|
-
//#endregion
|
|
14
13
|
export { makeApiKeyRevocation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { bt as Auth, xt as makeAuth } from "../../_internal-
|
|
1
|
+
import { bt as Auth, xt as makeAuth } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Auth, makeAuth };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { makeSession } from "./session.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/auth/auth.ts
|
|
4
4
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
5
5
|
const makeAuth = (client) => ({ session: makeSession(client) });
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { makeAuth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as SessionRetrieveInfoResponse, St as Session, wt as makeSession } from "../../_internal-
|
|
1
|
+
import { Ct as SessionRetrieveInfoResponse, St as Session, wt as makeSession } from "../../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Session, SessionRetrieveInfoResponse, makeSession };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/auth/session.ts
|
|
4
4
|
const OP_RETRIEVE_INFO = generatedOperation("auth.session.retrieveInfo");
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makeSession = (client) => ({ retrieveInfo(options) {
|
|
7
7
|
return client.get("/api/v3.1/auth/session/info", withOperation(OP_RETRIEVE_INFO, { ...options }));
|
|
8
8
|
} });
|
|
9
9
|
|
|
10
|
-
//#endregion
|
|
11
10
|
export { makeSession };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as AuthConfigUpdateParams, Cr as AuthConfigCreateParams, Dr as AuthConfigListParams, Er as AuthConfigDeleteResponse, Fr as makeAuthConfigs, Mr as AuthConfigUpdateStatusParams, Nr as AuthConfigUpdateStatusResponse, Or as AuthConfigListResponse, Pr as AuthConfigs, Tr as AuthConfigDeleteParams, jr as AuthConfigUpdateResponse, kr as AuthConfigRetrieveResponse, wr as AuthConfigCreateResponse } from "../_internal-
|
|
1
|
+
import { Ar as AuthConfigUpdateParams, Cr as AuthConfigCreateParams, Dr as AuthConfigListParams, Er as AuthConfigDeleteResponse, Fr as makeAuthConfigs, Mr as AuthConfigUpdateStatusParams, Nr as AuthConfigUpdateStatusResponse, Or as AuthConfigListResponse, Pr as AuthConfigs, Tr as AuthConfigDeleteParams, jr as AuthConfigUpdateResponse, kr as AuthConfigRetrieveResponse, wr as AuthConfigCreateResponse } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { AuthConfigCreateParams, AuthConfigCreateResponse, AuthConfigDeleteParams, AuthConfigDeleteResponse, AuthConfigListParams, AuthConfigListResponse, AuthConfigRetrieveResponse, AuthConfigUpdateParams, AuthConfigUpdateResponse, AuthConfigUpdateStatusParams, AuthConfigUpdateStatusResponse, AuthConfigs, makeAuthConfigs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/auth-configs.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("authConfigs.create");
|
|
5
5
|
const OP_RETRIEVE = generatedOperation("authConfigs.retrieve");
|
|
6
6
|
const OP_UPDATE = generatedOperation("authConfigs.update");
|
|
@@ -42,5 +42,4 @@ const makeAuthConfigs = (client) => ({
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
//#endregion
|
|
46
45
|
export { makeAuthConfigs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as SessionRetrieveInfoResponse, St as Session, bt as Auth } from "../_internal-
|
|
1
|
+
import { Ct as SessionRetrieveInfoResponse, St as Session, bt as Auth } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export type { Auth, Session, SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as ConnectedAccounts, ai as ConnectedAccountDeleteParams, ci as ConnectedAccountListResponse, di as ConnectedAccountRefreshParams, fi as ConnectedAccountRefreshResponse, gi as ConnectedAccountUpdateStatusResponse, hi as ConnectedAccountUpdateStatusParams, ii as ConnectedAccountCreateResponse, li as ConnectedAccountPatchParams, mi as ConnectedAccountRevokeResponse, ni as ConnectedAccountCompleteAuthResponse, oi as ConnectedAccountDeleteResponse, pi as ConnectedAccountRetrieveResponse, ri as ConnectedAccountCreateParams, si as ConnectedAccountListParams, ti as ConnectedAccountCompleteAuthParams, ui as ConnectedAccountPatchResponse, vi as makeConnectedAccounts } from "../_internal-
|
|
1
|
+
import { _i as ConnectedAccounts, ai as ConnectedAccountDeleteParams, ci as ConnectedAccountListResponse, di as ConnectedAccountRefreshParams, fi as ConnectedAccountRefreshResponse, gi as ConnectedAccountUpdateStatusResponse, hi as ConnectedAccountUpdateStatusParams, ii as ConnectedAccountCreateResponse, li as ConnectedAccountPatchParams, mi as ConnectedAccountRevokeResponse, ni as ConnectedAccountCompleteAuthResponse, oi as ConnectedAccountDeleteResponse, pi as ConnectedAccountRetrieveResponse, ri as ConnectedAccountCreateParams, si as ConnectedAccountListParams, ti as ConnectedAccountCompleteAuthParams, ui as ConnectedAccountPatchResponse, vi as makeConnectedAccounts } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { ConnectedAccountCompleteAuthParams, ConnectedAccountCompleteAuthResponse, ConnectedAccountCreateParams, ConnectedAccountCreateResponse, ConnectedAccountDeleteParams, ConnectedAccountDeleteResponse, ConnectedAccountListParams, ConnectedAccountListResponse, ConnectedAccountPatchParams, ConnectedAccountPatchResponse, ConnectedAccountRefreshParams, ConnectedAccountRefreshResponse, ConnectedAccountRetrieveResponse, ConnectedAccountRevokeResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse, ConnectedAccounts, makeConnectedAccounts };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/connected-accounts.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("connectedAccounts.create");
|
|
5
5
|
const OP_RETRIEVE = generatedOperation("connectedAccounts.retrieve");
|
|
6
6
|
const OP_LIST = generatedOperation("connectedAccounts.list");
|
|
@@ -67,5 +67,4 @@ const makeConnectedAccounts = (client) => ({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
//#endregion
|
|
71
70
|
export { makeConnectedAccounts };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as CustomCreateToolkitParams, ct as CustomDeleteToolkitResponse, dt as CustomUpdateToolkitsParams, ft as CustomUpdateToolkitsResponse, ht as makeCustom, it as Custom, lt as CustomSyncParams, mt as CustomUpsertResponse, ot as CustomCreateToolkitResponse, pt as CustomUpsertParams, st as CustomDeleteToolkitParams, ut as CustomSyncResponse } from "../_internal-
|
|
1
|
+
import { at as CustomCreateToolkitParams, ct as CustomDeleteToolkitResponse, dt as CustomUpdateToolkitsParams, ft as CustomUpdateToolkitsResponse, ht as makeCustom, it as Custom, lt as CustomSyncParams, mt as CustomUpsertResponse, ot as CustomCreateToolkitResponse, pt as CustomUpsertParams, st as CustomDeleteToolkitParams, ut as CustomSyncResponse } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { Custom, CustomCreateToolkitParams, CustomCreateToolkitResponse, CustomDeleteToolkitParams, CustomDeleteToolkitResponse, CustomSyncParams, CustomSyncResponse, CustomUpdateToolkitsParams, CustomUpdateToolkitsResponse, CustomUpsertParams, CustomUpsertResponse, makeCustom };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/custom.ts
|
|
4
4
|
const OP_CREATE_TOOLKIT = generatedOperation("custom.createToolkit");
|
|
5
5
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
6
6
|
const OP_SYNC = generatedOperation("custom.sync");
|
|
@@ -40,5 +40,4 @@ const makeCustom = (client) => ({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
export { makeCustom };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as Files, Si as FileListResponse, bi as FileCreatePresignedURLResponse, wi as makeFiles, xi as FileListParams, yi as FileCreatePresignedURLParams } from "../_internal-
|
|
1
|
+
import { Ci as Files, Si as FileListResponse, bi as FileCreatePresignedURLResponse, wi as makeFiles, xi as FileListParams, yi as FileCreatePresignedURLParams } from "../_internal-C4ZzriQ6.mjs";
|
|
2
2
|
export { FileCreatePresignedURLParams, FileCreatePresignedURLResponse, FileListParams, FileListResponse, Files, makeFiles };
|
package/dist/resources/files.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-Btwe6bGR.mjs";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/compat/resources/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("files.list");
|
|
5
5
|
const OP_CREATE_PRESIGNED_URL = generatedOperation("files.createPresignedURL");
|
|
6
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
@@ -19,5 +19,4 @@ const makeFiles = (client) => ({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
//#endregion
|
|
23
22
|
export { makeFiles };
|