Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | import type { AuthConfigItem } from 'src/models/auth-configs'; |
| 2 | |
| 3 | /** |
| 4 | * An enabled, Composio-managed Gmail auth config. Suites override only the |
| 5 | * fields their scenario is about. |
| 6 | */ |
| 7 | export const makeAuthConfigItem = (overrides: Partial<AuthConfigItem> = {}): AuthConfigItem => ({ |
| 8 | id: 'ac_gmail_default', |
| 9 | name: 'Gmail Default', |
| 10 | no_of_connections: 5, |
| 11 | status: 'ENABLED', |
| 12 | type: 'default', |
| 13 | uuid: 'uuid-1', |
| 14 | toolkit: { logo: '', slug: 'gmail' }, |
| 15 | auth_scheme: 'OAUTH2', |
| 16 | is_composio_managed: true, |
| 17 | is_enabled_for_tool_router: true, |
| 18 | created_at: '2026-01-01T00:00:00Z', |
| 19 | ...overrides, |
| 20 | }); |