Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(core): define patchable auth schemes enum explicitly
Dhawal Upadhyaye471edf8b37c
diff --git a/ts/packages/core/src/types/connectedAccounts.types.ts b/ts/packages/core/src/types/connectedAccounts.types.tsindex 7ad235126..dba787736 100644--- a/ts/packages/core/src/types/connectedAccounts.types.ts+++ b/ts/packages/core/src/types/connectedAccounts.types.ts@@ -221,7 +221,14 @@ export const UpdateConnectedAccountParamsSchema = z.object({connection: z.object({state: z.object({- authScheme: AuthSchemeEnum,+ authScheme: z.enum([+ 'BEARER_TOKEN',+ 'API_KEY',+ 'BASIC',+ 'BASIC_WITH_JWT',+ 'GOOGLE_SERVICE_ACCOUNT',+ 'SERVICE_ACCOUNT',+ ]),val: z.record(z.unknown()),}),})