@devries-cameron20 / composio-1 / commits / e471edf8b
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(core): define patchable auth schemes enum explicitly

Dhawal Upadhyay committed Apr 10, 2026 at 11:13 UTC e471edf8b37c7b4900543ba5ab97760a7cb05763
1 file changed +8 -1
ts/packages/core/src/types/connectedAccounts.types.ts
+8 -1
@@ -221,7 +221,14 @@ export const UpdateConnectedAccountParamsSchema = z.object({
221 connection: z
222 .object({
223 state: z.object({
224 - authScheme: AuthSchemeEnum,
224 + authScheme: z.enum([
225 + 'BEARER_TOKEN',
226 + 'API_KEY',
227 + 'BASIC',
228 + 'BASIC_WITH_JWT',
229 + 'GOOGLE_SERVICE_ACCOUNT',
230 + 'SERVICE_ACCOUNT',
231 + ]),
232 val: z.record(z.unknown()),
233 }),
234 })