@composio/client 2.0.0-rc.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/MIGRATION.md +164 -0
- package/README.md +499 -39
- package/dist/{session-configs-DC9dblKH.d.mts → _internal-BBZ8gsxI.d.mts} +2297 -1749
- package/dist/_internal-C4YQE9nG.d.mts +281 -0
- package/dist/effect/internal.d.mts +9 -0
- package/dist/effect/internal.mjs +1 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/create-codact-failure.mjs +17 -0
- package/dist/effect/schemas/_internal/cli/create-session.d.mts +12 -0
- package/dist/effect/schemas/_internal/cli/create-session.mjs +26 -0
- package/dist/effect/schemas/_internal/cli/get-session.d.mts +18 -0
- package/dist/effect/schemas/_internal/cli/get-session.mjs +48 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.d.mts +9 -0
- package/dist/effect/schemas/_internal/cli/realtime/auth.mjs +11 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.d.mts +10 -0
- package/dist/effect/schemas/_internal/cli/realtime/credentials.mjs +12 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +13 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +20 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.d.mts +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list-fields.mjs +13 -0
- package/dist/effect/schemas/_internal/logs/tools/list.d.mts +28 -0
- package/dist/effect/schemas/_internal/logs/tools/list.mjs +33 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +60 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +74 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.d.mts +34 -0
- package/dist/effect/schemas/_internal/logs/triggers/list.mjs +12 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.d.mts +33 -0
- package/dist/effect/schemas/_internal/logs/triggers/retrieve.mjs +9 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.d.mts +8 -0
- package/dist/effect/schemas/_internal/org/consumer/list-connected-toolkits.mjs +8 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.d.mts +20 -0
- package/dist/effect/schemas/_internal/org/consumer/project/resolve.mjs +31 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +10 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +18 -0
- package/dist/effect/schemas/api-key-revocation/create.d.mts +8 -0
- package/dist/effect/schemas/api-key-revocation/create.mjs +8 -0
- package/dist/effect/schemas/auth/session/retrieve-info.d.mts +56 -0
- package/dist/effect/schemas/auth/session/retrieve-info.mjs +174 -0
- package/dist/effect/schemas/auth-configs/create.d.mts +16 -0
- package/dist/effect/schemas/auth-configs/create.mjs +22 -0
- package/dist/effect/schemas/auth-configs/delete.d.mts +10 -0
- package/dist/effect/schemas/auth-configs/delete.mjs +15 -0
- package/dist/effect/schemas/auth-configs/list.d.mts +55 -0
- package/dist/effect/schemas/auth-configs/list.mjs +67 -0
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +49 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +61 -0
- package/dist/effect/schemas/auth-configs/update-status.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update-status.mjs +11 -0
- package/dist/effect/schemas/auth-configs/update.d.mts +9 -0
- package/dist/effect/schemas/auth-configs/update.mjs +11 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.d.mts +17 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-expected-input-fields.mjs +22 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.d.mts +9 -0
- package/dist/effect/schemas/components/auth-config-retrieve-response-tool-access-config.mjs +20 -0
- package/dist/effect/schemas/components/block-reason.d.mts +12 -0
- package/dist/effect/schemas/components/block-reason.mjs +14 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option1.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option4.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.d.mts +32 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1-val-option5.mjs +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.d.mts +179 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option1.mjs +113 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.d.mts +168 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option10.mjs +104 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.d.mts +140 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option11.mjs +76 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option12.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.d.mts +202 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option13.mjs +130 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.d.mts +193 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option14.mjs +211 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.d.mts +176 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option15.mjs +86 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.d.mts +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option1.mjs +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.d.mts +35 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option5.mjs +37 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.d.mts +34 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2-val-option6.mjs +36 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.d.mts +231 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option2.mjs +160 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option2.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.d.mts +31 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3-val-option6.mjs +33 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.d.mts +171 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option3.mjs +108 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option4.mjs +74 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.d.mts +136 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option5.mjs +72 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.d.mts +139 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option6.mjs +98 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.d.mts +159 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7-val.mjs +69 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option7.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.d.mts +162 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option8.mjs +12 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.d.mts +167 -0
- package/dist/effect/schemas/components/connected-account-create-response-connection-data-option9.mjs +101 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.d.mts +2443 -0
- package/dist/effect/schemas/components/connected-account-retrieve-response-state.mjs +42 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.d.mts +8 -0
- package/dist/effect/schemas/components/deprecated-toolkit-info.mjs +12 -0
- package/dist/effect/schemas/components/execute-blocked.d.mts +30 -0
- package/dist/effect/schemas/components/execute-blocked.mjs +24 -0
- package/dist/effect/schemas/components/execute-completed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-completed.mjs +29 -0
- package/dist/effect/schemas/components/execute-failed.d.mts +24 -0
- package/dist/effect/schemas/components/execute-failed.mjs +29 -0
- package/dist/effect/schemas/components/execute-requires-user-input.d.mts +15 -0
- package/dist/effect/schemas/components/execute-requires-user-input.mjs +16 -0
- package/dist/effect/schemas/components/hook-result.d.mts +13 -0
- package/dist/effect/schemas/components/hook-result.mjs +15 -0
- package/dist/effect/schemas/components/instant-account.d.mts +12 -0
- package/dist/effect/schemas/components/instant-account.mjs +15 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.d.mts +10 -0
- package/dist/effect/schemas/components/mcp-create-response-commands.mjs +24 -0
- package/dist/effect/schemas/components/mcp-list-response-items.d.mts +23 -0
- package/dist/effect/schemas/components/mcp-list-response-items.mjs +96 -0
- package/dist/effect/schemas/components/project-list-response-data.d.mts +21 -0
- package/dist/effect/schemas/components/project-list-response-data.mjs +74 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +24 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.mjs +18 -0
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +25 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +38 -0
- package/dist/effect/schemas/components/session-create-response-config.d.mts +112 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +167 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.d.mts +20 -0
- package/dist/effect/schemas/components/session-create-response-experimental-custom-toolkits.mjs +25 -0
- package/dist/effect/schemas/components/session-create-response-warnings.d.mts +9 -0
- package/dist/effect/schemas/components/session-create-response-warnings.mjs +25 -0
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +13 -0
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +18 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.d.mts +37 -0
- package/dist/effect/schemas/components/session-retrieve-response-experimental.mjs +27 -0
- package/dist/effect/schemas/components/tool-details.d.mts +51 -0
- package/dist/effect/schemas/components/tool-details.mjs +144 -0
- package/dist/effect/schemas/components/tool-pricing.d.mts +9 -0
- package/dist/effect/schemas/components/tool-pricing.mjs +14 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +123 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +178 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.d.mts +34 -0
- package/dist/effect/schemas/components/tool-router-toolkits-list-response.mjs +45 -0
- package/dist/effect/schemas/components/tool.d.mts +51 -0
- package/dist/effect/schemas/components/tool.mjs +144 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.d.mts +36 -0
- package/dist/effect/schemas/components/toolkit-list-response-items.mjs +101 -0
- package/dist/effect/schemas/components/tools-paginated.d.mts +57 -0
- package/dist/effect/schemas/components/tools-paginated.mjs +15 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.d.mts +31 -0
- package/dist/effect/schemas/components/trigger-retrieve-response-log.mjs +39 -0
- package/dist/effect/schemas/components/user-input-request.d.mts +11 -0
- package/dist/effect/schemas/components/user-input-request.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/complete-auth.mjs +11 -0
- package/dist/effect/schemas/connected-accounts/create.d.mts +2457 -0
- package/dist/effect/schemas/connected-accounts/create.mjs +58 -0
- package/dist/effect/schemas/connected-accounts/delete.d.mts +9 -0
- package/dist/effect/schemas/connected-accounts/delete.mjs +17 -0
- package/dist/effect/schemas/connected-accounts/list.d.mts +2480 -0
- package/dist/effect/schemas/connected-accounts/list.mjs +84 -0
- package/dist/effect/schemas/connected-accounts/patch.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/patch.mjs +19 -0
- package/dist/effect/schemas/connected-accounts/refresh.d.mts +10 -0
- package/dist/effect/schemas/connected-accounts/refresh.mjs +27 -0
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +2477 -0
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +81 -0
- package/dist/effect/schemas/connected-accounts/revoke.d.mts +12 -0
- package/dist/effect/schemas/connected-accounts/revoke.mjs +35 -0
- package/dist/effect/schemas/connected-accounts/update-status.d.mts +8 -0
- package/dist/effect/schemas/connected-accounts/update-status.mjs +11 -0
- package/dist/effect/schemas/custom/delete-toolkit.d.mts +12 -0
- package/dist/effect/schemas/custom/delete-toolkit.mjs +17 -0
- package/dist/effect/schemas/custom/sync.d.mts +10 -0
- package/dist/effect/schemas/custom/sync.mjs +21 -0
- package/dist/effect/schemas/custom/upsert.d.mts +8 -0
- package/dist/effect/schemas/custom/upsert.mjs +11 -0
- package/dist/effect/schemas/files/create-presigned-url.d.mts +15 -0
- package/dist/effect/schemas/files/create-presigned-url.mjs +15 -0
- package/dist/effect/schemas/files/list.d.mts +18 -0
- package/dist/effect/schemas/files/list.mjs +20 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.d.mts +17 -0
- package/dist/effect/schemas/keyring/list-transfer-keys.mjs +19 -0
- package/dist/effect/schemas/link/create.d.mts +19 -0
- package/dist/effect/schemas/link/create.mjs +18 -0
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +25 -0
- package/dist/effect/schemas/logs/create-tool-execution.mjs +39 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +37 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +51 -0
- package/dist/effect/schemas/mcp/create-instance.d.mts +12 -0
- package/dist/effect/schemas/mcp/create-instance.mjs +29 -0
- package/dist/effect/schemas/mcp/create.d.mts +23 -0
- package/dist/effect/schemas/mcp/create.mjs +67 -0
- package/dist/effect/schemas/mcp/custom/create.d.mts +17 -0
- package/dist/effect/schemas/mcp/custom/create.mjs +48 -0
- package/dist/effect/schemas/mcp/delete-instance.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete-instance.mjs +11 -0
- package/dist/effect/schemas/mcp/delete.d.mts +9 -0
- package/dist/effect/schemas/mcp/delete.mjs +17 -0
- package/dist/effect/schemas/mcp/generate/url.d.mts +10 -0
- package/dist/effect/schemas/mcp/generate/url.mjs +21 -0
- package/dist/effect/schemas/mcp/list-instances.d.mts +18 -0
- package/dist/effect/schemas/mcp/list-instances.mjs +56 -0
- package/dist/effect/schemas/mcp/list.d.mts +27 -0
- package/dist/effect/schemas/mcp/list.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve-app.d.mts +27 -0
- package/dist/effect/schemas/mcp/retrieve-app.mjs +19 -0
- package/dist/effect/schemas/mcp/retrieve.d.mts +24 -0
- package/dist/effect/schemas/mcp/retrieve.mjs +68 -0
- package/dist/effect/schemas/mcp/update.d.mts +24 -0
- package/dist/effect/schemas/mcp/update.mjs +68 -0
- package/dist/effect/schemas/org/list.d.mts +17 -0
- package/dist/effect/schemas/org/list.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/create.d.mts +10 -0
- package/dist/effect/schemas/org/owner/project/create.mjs +22 -0
- package/dist/effect/schemas/org/owner/project/delete.d.mts +9 -0
- package/dist/effect/schemas/org/owner/project/delete.mjs +17 -0
- package/dist/effect/schemas/org/owner/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/list.mjs +15 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.d.mts +14 -0
- package/dist/effect/schemas/org/owner/project/regenerate-api-key.mjs +31 -0
- package/dist/effect/schemas/org/owner/project/retrieve.d.mts +27 -0
- package/dist/effect/schemas/org/owner/project/retrieve.mjs +93 -0
- package/dist/effect/schemas/org/project/list.d.mts +27 -0
- package/dist/effect/schemas/org/project/list.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/org/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/org/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/org/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.d.mts +13 -0
- package/dist/effect/schemas/project/usage/retrieve-summary.mjs +15 -0
- package/dist/effect/schemas/project/usage/retrieve.d.mts +16 -0
- package/dist/effect/schemas/project/usage/retrieve.mjs +18 -0
- package/dist/effect/schemas/session-configs/list.d.mts +15 -0
- package/dist/effect/schemas/session-configs/list.mjs +26 -0
- package/dist/effect/schemas/session-configs/retrieve.d.mts +45 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +103 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/attach.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +122 -0
- package/dist/effect/schemas/tool-router/session/config-history.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/create.mjs +45 -0
- package/dist/effect/schemas/tool-router/session/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/delete.mjs +18 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +75 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +17 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-download-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.d.mts +11 -0
- package/dist/effect/schemas/tool-router/session/files/create-upload-url.mjs +13 -0
- package/dist/effect/schemas/tool-router/session/files/delete.d.mts +9 -0
- package/dist/effect/schemas/tool-router/session/files/delete.mjs +11 -0
- package/dist/effect/schemas/tool-router/session/files/list.d.mts +14 -0
- package/dist/effect/schemas/tool-router/session/files/list.mjs +16 -0
- package/dist/effect/schemas/tool-router/session/link.d.mts +18 -0
- package/dist/effect/schemas/tool-router/session/link.mjs +25 -0
- package/dist/effect/schemas/tool-router/session/patch.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/patch.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +52 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +15 -0
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +157 -0
- package/dist/effect/schemas/tool-router/session/retrieve.mjs +30 -0
- package/dist/effect/schemas/tool-router/session/search.d.mts +80 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +78 -0
- package/dist/effect/schemas/tool-router/session/toolkits.d.mts +33 -0
- package/dist/effect/schemas/tool-router/session/toolkits.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/tools.d.mts +56 -0
- package/dist/effect/schemas/tool-router/session/tools.mjs +8 -0
- package/dist/effect/schemas/toolkits/list.d.mts +42 -0
- package/dist/effect/schemas/toolkits/list.mjs +15 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.d.mts +19 -0
- package/dist/effect/schemas/toolkits/recommend-scopes.mjs +21 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-categories.mjs +23 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.d.mts +16 -0
- package/dist/effect/schemas/toolkits/retrieve-changelog.mjs +16 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.d.mts +42 -0
- package/dist/effect/schemas/toolkits/retrieve-multi.mjs +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.d.mts +15 -0
- package/dist/effect/schemas/toolkits/retrieve-scopes-grant-context.mjs +17 -0
- package/dist/effect/schemas/toolkits/retrieve.d.mts +110 -0
- package/dist/effect/schemas/toolkits/retrieve.mjs +202 -0
- package/dist/effect/schemas/tools/execute.d.mts +12 -0
- package/dist/effect/schemas/tools/execute.mjs +35 -0
- package/dist/effect/schemas/tools/get-input.d.mts +9 -0
- package/dist/effect/schemas/tools/get-input.mjs +22 -0
- package/dist/effect/schemas/tools/list.d.mts +56 -0
- package/dist/effect/schemas/tools/list.mjs +8 -0
- package/dist/effect/schemas/tools/proxy.d.mts +16 -0
- package/dist/effect/schemas/tools/proxy.mjs +36 -0
- package/dist/effect/schemas/tools/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/tools/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.d.mts +22 -0
- package/dist/effect/schemas/tools/retrieve-required-scopes.mjs +33 -0
- package/dist/effect/schemas/tools/retrieve.d.mts +50 -0
- package/dist/effect/schemas/tools/retrieve.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/list-active.d.mts +37 -0
- package/dist/effect/schemas/trigger-instances/list-active.mjs +49 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/delete.mjs +11 -0
- package/dist/effect/schemas/trigger-instances/manage/update.d.mts +8 -0
- package/dist/effect/schemas/trigger-instances/manage/update.mjs +8 -0
- package/dist/effect/schemas/trigger-instances/upsert.d.mts +11 -0
- package/dist/effect/schemas/trigger-instances/upsert.mjs +22 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +28 -0
- package/dist/effect/schemas/triggers-types/list.mjs +90 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.d.mts +6 -0
- package/dist/effect/schemas/triggers-types/retrieve-enum.mjs +8 -0
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +22 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +84 -0
- package/dist/effect/schemas/webhook-endpoints/create.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/create.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/list.d.mts +12 -0
- package/dist/effect/schemas/webhook-endpoints/list.mjs +12 -0
- package/dist/effect/schemas/webhook-endpoints/replace.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/replace.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/retrieve.mjs +15 -0
- package/dist/effect/schemas/webhook-endpoints/update.d.mts +13 -0
- package/dist/effect/schemas/webhook-endpoints/update.mjs +15 -0
- package/dist/effect/schemas/webhook-subscriptions/create.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/create.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.d.mts +8 -0
- package/dist/effect/schemas/webhook-subscriptions/delete.mjs +8 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.d.mts +12 -0
- package/dist/effect/schemas/webhook-subscriptions/list-event-types.mjs +16 -0
- package/dist/effect/schemas/webhook-subscriptions/list.d.mts +20 -0
- package/dist/effect/schemas/webhook-subscriptions/list.mjs +29 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/retrieve.mjs +23 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.d.mts +9 -0
- package/dist/effect/schemas/webhook-subscriptions/rotate-secret.mjs +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.d.mts +14 -0
- package/dist/effect/schemas/webhook-subscriptions/update.mjs +23 -0
- package/dist/effect/schemas.d.mts +9922 -0
- package/dist/effect/schemas.mjs +132 -0
- package/dist/effect.d.mts +505 -0
- package/dist/effect.mjs +1632 -0
- package/dist/environments-BFGXNbF0.mjs +230 -0
- package/dist/environments-cVbMu7FC.d.mts +19 -0
- package/dist/{error-DLB1uKM3.mjs → error-Bw7_G2NZ.mjs} +16 -8
- package/dist/{generated-operations-BDdFa2UY.mjs → generated-operations-DXMQK5w5.mjs} +617 -275
- package/dist/index.d.mts +3 -5
- package/dist/index.mjs +132 -425
- package/dist/internal.d.mts +9 -0
- package/dist/internal.mjs +1 -0
- package/dist/pagination-rules-CMnBwktJ.mjs +36 -0
- package/dist/pagination.mjs +5 -9
- package/dist/resources/_internal/_internal.d.mts +2 -0
- package/dist/resources/_internal/_internal.mjs +16 -0
- package/dist/resources/_internal/cli/cli.d.mts +2 -0
- package/dist/resources/_internal/cli/cli.mjs +33 -0
- package/dist/resources/_internal/cli/realtime.d.mts +2 -0
- package/dist/resources/_internal/cli/realtime.mjs +20 -0
- package/dist/resources/_internal/cli.d.mts +2 -0
- package/dist/resources/_internal/cli.mjs +1 -0
- package/dist/resources/_internal/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer/consumer.mjs +8 -0
- package/dist/resources/_internal/consumer/permissions.d.mts +2 -0
- package/dist/resources/_internal/consumer/permissions.mjs +14 -0
- package/dist/resources/_internal/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer.mjs +1 -0
- package/dist/resources/_internal/logs/logs.d.mts +2 -0
- package/dist/resources/_internal/logs/logs.mjs +12 -0
- package/dist/resources/_internal/logs/tools.d.mts +2 -0
- package/dist/resources/_internal/logs/tools.mjs +24 -0
- package/dist/resources/_internal/logs/triggers.d.mts +2 -0
- package/dist/resources/_internal/logs/triggers.mjs +20 -0
- package/dist/resources/_internal/logs.d.mts +2 -0
- package/dist/resources/_internal/logs.mjs +1 -0
- package/dist/resources/_internal/org/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/consumer.mjs +26 -0
- package/dist/resources/_internal/org/consumer/project.d.mts +2 -0
- package/dist/resources/_internal/org/consumer/project.mjs +15 -0
- package/dist/resources/_internal/org/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer.mjs +1 -0
- package/dist/resources/_internal/org/org.d.mts +2 -0
- package/dist/resources/_internal/org/org.mjs +8 -0
- package/dist/resources/_internal/org.d.mts +2 -0
- package/dist/resources/_internal/org.mjs +1 -0
- package/dist/resources/_internal.d.mts +2 -0
- package/dist/resources/_internal.mjs +1 -0
- package/dist/resources/api-key-revocation.d.mts +2 -2
- package/dist/resources/api-key-revocation.mjs +13 -2
- package/dist/resources/auth/auth.d.mts +2 -2
- package/dist/resources/auth/auth.mjs +7 -2
- package/dist/resources/auth/session.d.mts +2 -2
- package/dist/resources/auth/session.mjs +10 -2
- package/dist/resources/auth-configs.d.mts +2 -2
- package/dist/resources/auth-configs.mjs +45 -2
- package/dist/resources/auth.d.mts +2 -2
- package/dist/resources/auth.mjs +1 -5
- package/dist/resources/connected-accounts.d.mts +2 -2
- package/dist/resources/connected-accounts.mjs +70 -2
- package/dist/resources/custom.d.mts +2 -2
- package/dist/resources/custom.mjs +29 -2
- package/dist/resources/files.d.mts +2 -2
- package/dist/resources/files.mjs +22 -2
- package/dist/resources/keyring.d.mts +2 -2
- package/dist/resources/keyring.mjs +10 -2
- package/dist/resources/link.d.mts +2 -2
- package/dist/resources/link.mjs +13 -2
- package/dist/resources/logs/logs.d.mts +2 -2
- package/dist/resources/logs/logs.mjs +19 -2
- package/dist/resources/logs.d.mts +2 -2
- package/dist/resources/logs.mjs +1 -6
- package/dist/resources/mcp/custom.d.mts +2 -2
- package/dist/resources/mcp/custom.mjs +13 -2
- package/dist/resources/mcp/generate.d.mts +2 -2
- package/dist/resources/mcp/generate.mjs +13 -2
- package/dist/resources/mcp/mcp.d.mts +2 -2
- package/dist/resources/mcp/mcp.mjs +67 -2
- package/dist/resources/mcp.d.mts +2 -2
- package/dist/resources/mcp.mjs +1 -6
- package/dist/resources/org/org.d.mts +2 -2
- package/dist/resources/org/org.mjs +21 -2
- package/dist/resources/org/owner/owner.d.mts +2 -2
- package/dist/resources/org/owner/owner.mjs +7 -2
- package/dist/resources/org/owner/project.d.mts +2 -2
- package/dist/resources/org/owner/project.mjs +37 -2
- package/dist/resources/org/owner.d.mts +2 -2
- package/dist/resources/org/owner.mjs +1 -5
- package/dist/resources/org/project.d.mts +2 -2
- package/dist/resources/org/project.mjs +13 -2
- package/dist/resources/org/usage.d.mts +2 -2
- package/dist/resources/org/usage.mjs +22 -2
- package/dist/resources/org.d.mts +2 -2
- package/dist/resources/org.mjs +1 -9
- package/dist/resources/project/project.d.mts +2 -2
- package/dist/resources/project/project.mjs +7 -2
- package/dist/resources/project/usage.d.mts +2 -2
- package/dist/resources/project/usage.mjs +22 -2
- package/dist/resources/project.d.mts +2 -3
- package/dist/resources/project.mjs +1 -5
- package/dist/resources/session-configs.d.mts +2 -2
- package/dist/resources/session-configs.mjs +8 -12
- package/dist/resources/tool-router/session/files.d.mts +2 -2
- package/dist/resources/tool-router/session/files.mjs +40 -2
- package/dist/resources/tool-router/session/session.d.mts +2 -2
- package/dist/resources/tool-router/session/session.mjs +95 -2
- package/dist/resources/tool-router/session.d.mts +2 -2
- package/dist/resources/tool-router/session.mjs +1 -5
- package/dist/resources/tool-router/tool-router.d.mts +2 -2
- package/dist/resources/tool-router/tool-router.mjs +7 -2
- package/dist/resources/tool-router.d.mts +2 -2
- package/dist/resources/tool-router.mjs +1 -5
- package/dist/resources/toolkits.d.mts +2 -2
- package/dist/resources/toolkits.mjs +51 -2
- package/dist/resources/tools.d.mts +2 -2
- package/dist/resources/tools.mjs +56 -2
- package/dist/resources/trigger-instances/manage.d.mts +2 -2
- package/dist/resources/trigger-instances/manage.mjs +19 -2
- package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances/trigger-instances.mjs +24 -2
- package/dist/resources/trigger-instances.d.mts +2 -2
- package/dist/resources/trigger-instances.mjs +1 -5
- package/dist/resources/triggers-types.d.mts +2 -2
- package/dist/resources/triggers-types.mjs +26 -2
- package/dist/resources/webhook-endpoints.d.mts +2 -2
- package/dist/resources/webhook-endpoints.mjs +40 -2
- package/dist/resources/webhook-subscriptions.d.mts +2 -2
- package/dist/resources/webhook-subscriptions.mjs +45 -2
- package/package.json +42 -34
- package/dist/api-key-revocation-C9gI3mxD.mjs +0 -25
- package/dist/auth-configs-AfPOIrp_.mjs +0 -54
- package/dist/auth-mNBmShhc.mjs +0 -17
- package/dist/clanker-DuDWRKms.mjs +0 -24
- package/dist/cli-BL3iy1cn.mjs +0 -45
- package/dist/config-BLBbhLe1.mjs +0 -10
- package/dist/config-DnyMhILW.d.mts +0 -9
- package/dist/connected-accounts-CDAYy93Y.mjs +0 -82
- package/dist/consumer-xMnRU0C0.mjs +0 -34
- package/dist/custom-CG287eyS.mjs +0 -24
- package/dist/custom-D5-KtFkx.mjs +0 -31
- package/dist/files-7nQzcAPu.mjs +0 -49
- package/dist/files-DfXyjBsv.mjs +0 -31
- package/dist/generate-Deely-Rs.mjs +0 -24
- package/dist/keyring-BU1WNke6.mjs +0 -17
- package/dist/link-BgM_kX73.mjs +0 -23
- package/dist/logs-CvGKikGY.mjs +0 -38
- package/dist/manage-D3woWCHa.mjs +0 -28
- package/dist/mcp-C9lPgg0I.mjs +0 -91
- package/dist/migration-CBhnoN-Y.mjs +0 -10
- package/dist/migration-CKGKuRO3.d.mts +0 -9
- package/dist/org-D490cmfQ.mjs +0 -45
- package/dist/owner-DUnkjEA9.mjs +0 -17
- package/dist/project-61Vi9ABS.mjs +0 -47
- package/dist/project-BmLu0B1A.mjs +0 -22
- package/dist/project-BoZ_FkAd.mjs +0 -25
- package/dist/project-DJCRMUWP.mjs +0 -29
- package/dist/realtime-D92CAeH1.mjs +0 -28
- package/dist/resources/auth/index.d.mts +0 -2
- package/dist/resources/auth/index.mjs +0 -4
- package/dist/resources/cli/cli.d.mts +0 -2
- package/dist/resources/cli/cli.mjs +0 -3
- package/dist/resources/cli/index.d.mts +0 -2
- package/dist/resources/cli/index.mjs +0 -4
- package/dist/resources/cli/realtime.d.mts +0 -2
- package/dist/resources/cli/realtime.mjs +0 -3
- package/dist/resources/cli.d.mts +0 -2
- package/dist/resources/cli.mjs +0 -5
- package/dist/resources/index.d.mts +0 -3
- package/dist/resources/index.mjs +0 -16
- package/dist/resources/logs/index.d.mts +0 -2
- package/dist/resources/logs/index.mjs +0 -5
- package/dist/resources/logs/tools.d.mts +0 -2
- package/dist/resources/logs/tools.mjs +0 -3
- package/dist/resources/logs/triggers.d.mts +0 -2
- package/dist/resources/logs/triggers.mjs +0 -3
- package/dist/resources/mcp/index.d.mts +0 -2
- package/dist/resources/mcp/index.mjs +0 -5
- package/dist/resources/migration.d.mts +0 -2
- package/dist/resources/migration.mjs +0 -3
- package/dist/resources/org/clanker.d.mts +0 -2
- package/dist/resources/org/clanker.mjs +0 -3
- package/dist/resources/org/consumer/consumer.d.mts +0 -2
- package/dist/resources/org/consumer/consumer.mjs +0 -3
- package/dist/resources/org/consumer/index.d.mts +0 -2
- package/dist/resources/org/consumer/index.mjs +0 -4
- package/dist/resources/org/consumer/project.d.mts +0 -2
- package/dist/resources/org/consumer/project.mjs +0 -3
- package/dist/resources/org/consumer.d.mts +0 -2
- package/dist/resources/org/consumer.mjs +0 -5
- package/dist/resources/org/index.d.mts +0 -2
- package/dist/resources/org/index.mjs +0 -8
- package/dist/resources/org/owner/index.d.mts +0 -2
- package/dist/resources/org/owner/index.mjs +0 -4
- package/dist/resources/project/config.d.mts +0 -2
- package/dist/resources/project/config.mjs +0 -3
- package/dist/resources/project/index.d.mts +0 -3
- package/dist/resources/project/index.mjs +0 -4
- package/dist/resources/tool-router/index.d.mts +0 -2
- package/dist/resources/tool-router/index.mjs +0 -4
- package/dist/resources/tool-router/session/index.d.mts +0 -2
- package/dist/resources/tool-router/session/index.mjs +0 -4
- package/dist/resources/trigger-instances/index.d.mts +0 -2
- package/dist/resources/trigger-instances/index.mjs +0 -4
- package/dist/session-CuxeTn6B.mjs +0 -22
- package/dist/session-Ko7BIjgq.mjs +0 -110
- package/dist/tool-router-CBKKosNd.mjs +0 -14
- package/dist/toolkits-3DF2HJzj.mjs +0 -62
- package/dist/tools-CHZz5vhP.mjs +0 -33
- package/dist/tools-CZ866I6_.mjs +0 -68
- package/dist/trigger-instances-Db9jhHWY.mjs +0 -35
- package/dist/triggers-CDhM0b24.mjs +0 -28
- package/dist/triggers-types-C6SEunIK.mjs +0 -34
- package/dist/usage-7j_ne9rG.mjs +0 -31
- package/dist/usage-CE6S407C.mjs +0 -31
- package/dist/webhook-endpoints-DWS1Ycp6.mjs +0 -51
- package/dist/webhook-subscriptions-DgL5Qp1f.mjs +0 -55
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/list.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/org/list`, which `client.org.list` answers with. */
|
|
5
|
+
const OrgListResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"organizations": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"id": Schema.String.annotate({
|
|
8
|
+
"description": "Unique identifier for the organization",
|
|
9
|
+
"format": "orgId"
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.String.annotate({ "description": "Name of the organization" }),
|
|
12
|
+
"created_at": Schema.String.annotate({ "description": "When the organization was created" }),
|
|
13
|
+
"updated_at": Schema.String.annotate({ "description": "When the organization was last updated" })
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
15
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
16
|
+
"total_pages": Schema.Finite,
|
|
17
|
+
"current_page": Schema.Finite,
|
|
18
|
+
"total_items": Schema.Finite
|
|
19
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { OrgListResponse };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/owner/project/create.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/org/owner/project/new`, which `client.org.owner.project.create` answers with. */
|
|
4
|
+
declare const ProjectCreateResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly api_key: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ProjectCreateResponse };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/owner/project/create.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/org/owner/project/new`, which `client.org.owner.project.create` answers with. */
|
|
5
|
+
const ProjectCreateResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({
|
|
7
|
+
"description": "Unique identifier for the project",
|
|
8
|
+
"examples": ["pr_1a2b3c4d5e6f"],
|
|
9
|
+
"format": "projectId"
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.optionalKey(Schema.String.annotate({
|
|
12
|
+
"description": "Name of the project",
|
|
13
|
+
"examples": ["My Awesome Project"]
|
|
14
|
+
})),
|
|
15
|
+
"api_key": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
16
|
+
"description": "API key for the project",
|
|
17
|
+
"examples": ["ak_a1b2c3d4e5f6g7h8i9j0"]
|
|
18
|
+
})
|
|
19
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ProjectCreateResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/owner/project/delete.d.ts
|
|
3
|
+
/** The 200 response of `DELETE /api/v3.1/org/owner/project/{nano_id}`, which `client.org.owner.project.delete` answers with. */
|
|
4
|
+
declare const ProjectDeleteResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly status: Schema.Literal<"success">;
|
|
6
|
+
readonly revoke_job_id: Schema.optionalKey<Schema.String>;
|
|
7
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ProjectDeleteResponse };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/owner/project/delete.ts
|
|
4
|
+
/** The 200 response of `DELETE /api/v3.1/org/owner/project/{nano_id}`, which `client.org.owner.project.delete` answers with. */
|
|
5
|
+
const ProjectDeleteResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"status": Schema.Literal("success").annotate({
|
|
7
|
+
"description": "Status indicating successful deletion",
|
|
8
|
+
"examples": ["success"]
|
|
9
|
+
}),
|
|
10
|
+
"revoke_job_id": Schema.optionalKey(Schema.String.annotate({
|
|
11
|
+
"description": "Identifier of the background revoke job started for this delete. Present only when `revoke_on_delete=true`. Track the job and its per-connection results from the Composio dashboard — a programmatic endpoint to poll this job is not yet generally available.",
|
|
12
|
+
"examples": ["oj_1a2b3c4d5e6f"]
|
|
13
|
+
}))
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Response indicating successful project deletion" });
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ProjectDeleteResponse };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/owner/project/list.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/org/owner/project/list`, which `client.org.owner.project.list` answers with. */
|
|
4
|
+
declare const ProjectListResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly data: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly org_id: Schema.String;
|
|
8
|
+
readonly name: Schema.String;
|
|
9
|
+
readonly email: Schema.String;
|
|
10
|
+
readonly created_at: Schema.String;
|
|
11
|
+
readonly updated_at: Schema.String;
|
|
12
|
+
readonly webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly event_webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14
|
+
readonly webhook_secret: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
15
|
+
readonly triggers_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
16
|
+
readonly last_subscribed_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
17
|
+
readonly is_new_webhook: Schema.optionalKey<Schema.Boolean>;
|
|
18
|
+
readonly webhook_version: Schema.Literals<readonly ["V1", "V2", "V3"]>;
|
|
19
|
+
readonly deleted: Schema.Boolean;
|
|
20
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
21
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22
|
+
readonly total_pages: Schema.Finite;
|
|
23
|
+
readonly current_page: Schema.Finite;
|
|
24
|
+
readonly total_items: Schema.Finite;
|
|
25
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ProjectListResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProjectListResponseData } from "../../../components/project-list-response-data.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/org/owner/project/list.ts
|
|
5
|
+
/** The 200 response of `GET /api/v3.1/org/owner/project/list`, which `client.org.owner.project.list` answers with. */
|
|
6
|
+
const ProjectListResponse = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"data": ProjectListResponseData,
|
|
8
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
9
|
+
"total_pages": Schema.Finite,
|
|
10
|
+
"current_page": Schema.Finite,
|
|
11
|
+
"total_items": Schema.Finite
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ProjectListResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/owner/project/regenerate-api-key.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/org/owner/project/{nano_id}/regenerate_api_key`, which `client.org.owner.project.regenerateAPIKey` answers with. */
|
|
4
|
+
declare const ProjectRegenerateAPIKeyResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly api_key: Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly key: Schema.String;
|
|
9
|
+
readonly created_at: Schema.String;
|
|
10
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
11
|
+
readonly message: Schema.String;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ProjectRegenerateAPIKeyResponse };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/owner/project/regenerate-api-key.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/org/owner/project/{nano_id}/regenerate_api_key`, which `client.org.owner.project.regenerateAPIKey` answers with. */
|
|
5
|
+
const ProjectRegenerateAPIKeyResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"api_key": Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"id": Schema.String.annotate({
|
|
8
|
+
"description": "Unique identifier for the API key",
|
|
9
|
+
"examples": ["01H4DKRF5SMP7NQCA3BWT0JYB6"]
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.String.annotate({
|
|
12
|
+
"description": "Name of the API key",
|
|
13
|
+
"examples": ["epic_avatar"]
|
|
14
|
+
}),
|
|
15
|
+
"key": Schema.String.annotate({
|
|
16
|
+
"description": "The newly generated API key value",
|
|
17
|
+
"examples": ["ak_a1b2c3d4e5f6g7h8i9j0"]
|
|
18
|
+
}),
|
|
19
|
+
"created_at": Schema.String.annotate({
|
|
20
|
+
"description": "ISO timestamp when the API key was created",
|
|
21
|
+
"examples": ["2023-05-16T14:30:00.000Z"]
|
|
22
|
+
})
|
|
23
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "The newly generated API key for this project" }),
|
|
24
|
+
"message": Schema.String.annotate({
|
|
25
|
+
"description": "Success message",
|
|
26
|
+
"examples": ["API key regenerated successfully"]
|
|
27
|
+
})
|
|
28
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ProjectRegenerateAPIKeyResponse };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/owner/project/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/org/owner/project/{nano_id}`, which `client.org.owner.project.retrieve` answers with. */
|
|
4
|
+
declare const ProjectRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly org_id: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly email: Schema.String;
|
|
9
|
+
readonly created_at: Schema.String;
|
|
10
|
+
readonly updated_at: Schema.String;
|
|
11
|
+
readonly webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
12
|
+
readonly event_webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly webhook_secret: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14
|
+
readonly triggers_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
readonly last_subscribed_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
16
|
+
readonly is_new_webhook: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly webhook_version: Schema.Literals<readonly ["V1", "V2", "V3"]>;
|
|
18
|
+
readonly deleted: Schema.Boolean;
|
|
19
|
+
readonly api_keys: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
20
|
+
readonly id: Schema.String;
|
|
21
|
+
readonly name: Schema.String;
|
|
22
|
+
readonly key: Schema.String;
|
|
23
|
+
readonly created_at: Schema.String;
|
|
24
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
25
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ProjectRetrieveResponse };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/owner/project/retrieve.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/org/owner/project/{nano_id}`, which `client.org.owner.project.retrieve` answers with. */
|
|
5
|
+
const ProjectRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"id": Schema.String.annotate({
|
|
7
|
+
"description": "Unique identifier for the project",
|
|
8
|
+
"examples": ["pr_1a2b3c4d5e6f"],
|
|
9
|
+
"format": "projectId"
|
|
10
|
+
}),
|
|
11
|
+
"org_id": Schema.String.annotate({
|
|
12
|
+
"description": "Identifier of the organization that owns this project",
|
|
13
|
+
"examples": ["ok_1a2b3c4d5e6f"],
|
|
14
|
+
"format": "orgId"
|
|
15
|
+
}),
|
|
16
|
+
"name": Schema.String.annotate({
|
|
17
|
+
"description": "Name of the project",
|
|
18
|
+
"examples": ["My Awesome Project"]
|
|
19
|
+
}),
|
|
20
|
+
"email": Schema.String.annotate({
|
|
21
|
+
"description": "Email address associated with the project",
|
|
22
|
+
"examples": ["project-123@composio.dev"]
|
|
23
|
+
}),
|
|
24
|
+
"created_at": Schema.String.annotate({
|
|
25
|
+
"description": "ISO timestamp when the project was created",
|
|
26
|
+
"examples": ["2023-05-16T14:30:00.000Z"]
|
|
27
|
+
}),
|
|
28
|
+
"updated_at": Schema.String.annotate({
|
|
29
|
+
"description": "ISO timestamp when the project was last updated",
|
|
30
|
+
"examples": ["2023-05-18T09:15:30.000Z"]
|
|
31
|
+
}),
|
|
32
|
+
"webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
33
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook URL.",
|
|
34
|
+
"examples": ["https://example.com/webhook"],
|
|
35
|
+
"format": "uri"
|
|
36
|
+
}),
|
|
37
|
+
"event_webhook_url": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
38
|
+
"description": "DEPRECATED: No longer used.",
|
|
39
|
+
"examples": ["https://example.com/events"],
|
|
40
|
+
"format": "uri"
|
|
41
|
+
}),
|
|
42
|
+
"webhook_secret": Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
43
|
+
"description": "DEPRECATED: Use GET /api/v3/webhook_subscriptions instead. Legacy project-level webhook secret.",
|
|
44
|
+
"examples": ["whsec_abcdef123456789"]
|
|
45
|
+
}),
|
|
46
|
+
"triggers_enabled": Schema.optionalKey(Schema.Boolean.annotate({
|
|
47
|
+
"description": "Whether triggers are enabled for this project",
|
|
48
|
+
"examples": [true]
|
|
49
|
+
})),
|
|
50
|
+
"last_subscribed_at": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
51
|
+
"description": "ISO timestamp when the project last subscribed to updates",
|
|
52
|
+
"examples": ["2023-05-17T10:00:00.000Z"],
|
|
53
|
+
"format": "date-time"
|
|
54
|
+
})),
|
|
55
|
+
"is_new_webhook": Schema.optionalKey(Schema.Boolean.annotate({
|
|
56
|
+
"description": "Deprecated: Please refer to webhook_version instead. True indicates if the webhook configuration is using the previous new format (V2). False indicates the oldest format (V1)",
|
|
57
|
+
"examples": [true]
|
|
58
|
+
})),
|
|
59
|
+
"webhook_version": Schema.Literals([
|
|
60
|
+
"V1",
|
|
61
|
+
"V2",
|
|
62
|
+
"V3"
|
|
63
|
+
]).annotate({
|
|
64
|
+
"description": "Payload format version for Pusher real-time events only. For webhook configuration, use GET /api/v3/webhook_subscriptions.",
|
|
65
|
+
"examples": ["V2"]
|
|
66
|
+
}),
|
|
67
|
+
"deleted": Schema.Boolean.annotate({
|
|
68
|
+
"description": "Whether this project has been deleted",
|
|
69
|
+
"examples": [false]
|
|
70
|
+
}),
|
|
71
|
+
"api_keys": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
72
|
+
"id": Schema.String.annotate({
|
|
73
|
+
"description": "Unique identifier for the API key",
|
|
74
|
+
"examples": ["01H4DKRF5SMP7NQCA3BWT0JYB6"]
|
|
75
|
+
}),
|
|
76
|
+
"name": Schema.String.annotate({
|
|
77
|
+
"description": "User-defined name for the API key",
|
|
78
|
+
"examples": ["Production Server Key"]
|
|
79
|
+
}),
|
|
80
|
+
"key": Schema.String.annotate({
|
|
81
|
+
"description": "Masked API key value",
|
|
82
|
+
"examples": ["ak_**6j0z"]
|
|
83
|
+
}),
|
|
84
|
+
"created_at": Schema.String.annotate({
|
|
85
|
+
"description": "ISO 8601 timestamp when the API key was created",
|
|
86
|
+
"examples": ["2023-07-15T14:30:00.000Z"],
|
|
87
|
+
"format": "date-time"
|
|
88
|
+
})
|
|
89
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Array of API keys for the project, including their properties" })
|
|
90
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
export { ProjectRetrieveResponse };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/project/list.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/org/project/list`, which `client.org.project.list` answers with. */
|
|
4
|
+
declare const ProjectListResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly data: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly org_id: Schema.String;
|
|
8
|
+
readonly name: Schema.String;
|
|
9
|
+
readonly email: Schema.String;
|
|
10
|
+
readonly created_at: Schema.String;
|
|
11
|
+
readonly updated_at: Schema.String;
|
|
12
|
+
readonly webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
readonly event_webhook_url: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14
|
+
readonly webhook_secret: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
15
|
+
readonly triggers_enabled: Schema.optionalKey<Schema.Boolean>;
|
|
16
|
+
readonly last_subscribed_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
17
|
+
readonly is_new_webhook: Schema.optionalKey<Schema.Boolean>;
|
|
18
|
+
readonly webhook_version: Schema.Literals<readonly ["V1", "V2", "V3"]>;
|
|
19
|
+
readonly deleted: Schema.Boolean;
|
|
20
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
21
|
+
readonly next_cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22
|
+
readonly total_pages: Schema.Finite;
|
|
23
|
+
readonly current_page: Schema.Finite;
|
|
24
|
+
readonly total_items: Schema.Finite;
|
|
25
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ProjectListResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProjectListResponseData } from "../../components/project-list-response-data.mjs";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
|
|
4
|
+
//#region src/effect/generated/schemas/org/project/list.ts
|
|
5
|
+
/** The 200 response of `GET /api/v3.1/org/project/list`, which `client.org.project.list` answers with. */
|
|
6
|
+
const ProjectListResponse = Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"data": ProjectListResponseData,
|
|
8
|
+
"next_cursor": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
9
|
+
"total_pages": Schema.Finite,
|
|
10
|
+
"current_page": Schema.Finite,
|
|
11
|
+
"total_items": Schema.Finite
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ProjectListResponse };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/usage/retrieve-summary.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/org/usage/summary`, which `client.org.usage.retrieveSummary` answers with. */
|
|
4
|
+
declare const UsageRetrieveSummaryResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly entities: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly unit: Schema.String;
|
|
7
|
+
readonly total_quantity: Schema.String;
|
|
8
|
+
readonly event_count: Schema.Int;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
10
|
+
readonly instant_charge: Schema.String;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { UsageRetrieveSummaryResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/usage/retrieve-summary.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/org/usage/summary`, which `client.org.usage.retrieveSummary` answers with. */
|
|
5
|
+
const UsageRetrieveSummaryResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"entities": Schema.Record(Schema.String, Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"unit": Schema.String,
|
|
8
|
+
"total_quantity": Schema.String,
|
|
9
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" }))
|
|
10
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
11
|
+
"instant_charge": Schema.String.annotate({ "description": "Total Instant charge over this window, as an exact USD amount. Zero when nothing in it was charged." })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { UsageRetrieveSummaryResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/org/usage/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/org/usage/{entity_type}`, which `client.org.usage.retrieve` answers with. */
|
|
4
|
+
declare const UsageRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly entity_type: Schema.String;
|
|
6
|
+
readonly unit: Schema.String;
|
|
7
|
+
readonly total_quantity: Schema.String;
|
|
8
|
+
readonly event_count: Schema.Int;
|
|
9
|
+
readonly groups: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly key: Schema.String;
|
|
11
|
+
readonly total_quantity: Schema.String;
|
|
12
|
+
readonly event_count: Schema.Int;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { UsageRetrieveResponse };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/org/usage/retrieve.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/org/usage/{entity_type}`, which `client.org.usage.retrieve` answers with. */
|
|
5
|
+
const UsageRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"entity_type": Schema.String,
|
|
7
|
+
"unit": Schema.String,
|
|
8
|
+
"total_quantity": Schema.String,
|
|
9
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" })),
|
|
10
|
+
"groups": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
11
|
+
"key": Schema.String,
|
|
12
|
+
"total_quantity": Schema.String,
|
|
13
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" }))
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]))
|
|
15
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { UsageRetrieveResponse };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/project/usage/retrieve-summary.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/project/usage/summary`, which `client.project.usage.retrieveSummary` answers with. */
|
|
4
|
+
declare const UsageRetrieveSummaryResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly entities: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly unit: Schema.String;
|
|
7
|
+
readonly total_quantity: Schema.String;
|
|
8
|
+
readonly event_count: Schema.Int;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
10
|
+
readonly instant_charge: Schema.String;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { UsageRetrieveSummaryResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/project/usage/retrieve-summary.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/project/usage/summary`, which `client.project.usage.retrieveSummary` answers with. */
|
|
5
|
+
const UsageRetrieveSummaryResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"entities": Schema.Record(Schema.String, Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"unit": Schema.String,
|
|
8
|
+
"total_quantity": Schema.String,
|
|
9
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" }))
|
|
10
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])),
|
|
11
|
+
"instant_charge": Schema.String.annotate({ "description": "Total Instant charge over this window, as an exact USD amount. Zero when nothing in it was charged." })
|
|
12
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { UsageRetrieveSummaryResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/project/usage/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `POST /api/v3.1/project/usage/{entity_type}`, which `client.project.usage.retrieve` answers with. */
|
|
4
|
+
declare const UsageRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly entity_type: Schema.String;
|
|
6
|
+
readonly unit: Schema.String;
|
|
7
|
+
readonly total_quantity: Schema.String;
|
|
8
|
+
readonly event_count: Schema.Int;
|
|
9
|
+
readonly groups: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
10
|
+
readonly key: Schema.String;
|
|
11
|
+
readonly total_quantity: Schema.String;
|
|
12
|
+
readonly event_count: Schema.Int;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
14
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { UsageRetrieveResponse };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/project/usage/retrieve.ts
|
|
4
|
+
/** The 200 response of `POST /api/v3.1/project/usage/{entity_type}`, which `client.project.usage.retrieve` answers with. */
|
|
5
|
+
const UsageRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"entity_type": Schema.String,
|
|
7
|
+
"unit": Schema.String,
|
|
8
|
+
"total_quantity": Schema.String,
|
|
9
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" })),
|
|
10
|
+
"groups": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
11
|
+
"key": Schema.String,
|
|
12
|
+
"total_quantity": Schema.String,
|
|
13
|
+
"event_count": Schema.Int.check(Schema.isGreaterThanOrEqualTo(0).annotate({ "expected": "a value greater than or equal to 0" }))
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]))
|
|
15
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { UsageRetrieveResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/session-configs/list.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/session_configs`, which `client.sessionConfigs.list` answers with. */
|
|
4
|
+
declare const SessionConfigsListResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly items: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly archived: Schema.Boolean;
|
|
9
|
+
readonly created_at: Schema.String;
|
|
10
|
+
readonly updated_at: Schema.String;
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
12
|
+
readonly next_cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { SessionConfigsListResponse };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
//#region src/effect/generated/schemas/session-configs/list.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/session_configs`, which `client.sessionConfigs.list` answers with. */
|
|
5
|
+
const SessionConfigsListResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"items": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
7
|
+
"id": Schema.String.annotate({
|
|
8
|
+
"description": "Stable public identifier of the Session config.",
|
|
9
|
+
"format": "sessionConfigId"
|
|
10
|
+
}),
|
|
11
|
+
"name": Schema.String.annotate({ "description": "Project-unique display name." }),
|
|
12
|
+
"archived": Schema.Boolean.annotate({ "description": "Whether the config is archived." }),
|
|
13
|
+
"created_at": Schema.String.annotate({
|
|
14
|
+
"description": "Creation time in ISO 8601.",
|
|
15
|
+
"format": "date-time"
|
|
16
|
+
}),
|
|
17
|
+
"updated_at": Schema.String.annotate({
|
|
18
|
+
"description": "Last update time in ISO 8601.",
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
})
|
|
21
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Config summaries. Retrieve a config by ID for its description and access policy." }),
|
|
22
|
+
"next_cursor": Schema.Union([Schema.String, Schema.Null]).annotate({ "description": "Opaque cursor for the next page, or null when there are no more results." })
|
|
23
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { SessionConfigsListResponse };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
//#region src/effect/generated/schemas/session-configs/retrieve.d.ts
|
|
3
|
+
/** The 200 response of `GET /api/v3.1/session_configs/{session_config_id}`, which `client.sessionConfigs.retrieve` answers with. */
|
|
4
|
+
declare const SessionConfigsRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
5
|
+
readonly id: Schema.String;
|
|
6
|
+
readonly name: Schema.String;
|
|
7
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8
|
+
readonly archived: Schema.Boolean;
|
|
9
|
+
readonly config: Schema.Struct<{
|
|
10
|
+
readonly toolkits: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
11
|
+
readonly enable: Schema.$Array<Schema.String>;
|
|
12
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
13
|
+
}>, Schema.Struct<{
|
|
14
|
+
readonly disable: Schema.$Array<Schema.String>;
|
|
15
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
}>, Schema.Struct<{
|
|
17
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
18
|
+
}>]>>;
|
|
19
|
+
readonly tools: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
20
|
+
readonly enable: Schema.$Array<Schema.String>;
|
|
21
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
22
|
+
}>, Schema.Struct<{
|
|
23
|
+
readonly disable: Schema.$Array<Schema.String>;
|
|
24
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
25
|
+
}>, Schema.Struct<{
|
|
26
|
+
readonly tags: Schema.Struct<{
|
|
27
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
28
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
29
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
30
|
+
}>;
|
|
31
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
32
|
+
}>, Schema.Struct<{
|
|
33
|
+
readonly require_approval: Schema.$Array<Schema.String>;
|
|
34
|
+
}>]>>>;
|
|
35
|
+
readonly tags: Schema.optionalKey<Schema.Struct<{
|
|
36
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
37
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
38
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
39
|
+
}>>;
|
|
40
|
+
}>;
|
|
41
|
+
readonly created_at: Schema.String;
|
|
42
|
+
readonly updated_at: Schema.String;
|
|
43
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { SessionConfigsRetrieveResponse };
|