diff --git a/apps/rowboat/src/application/lib/composio/types.ts b/apps/rowboat/src/application/lib/composio/types.ts index e7c12279..224696f3 100644 --- a/apps/rowboat/src/application/lib/composio/types.ts +++ b/apps/rowboat/src/application/lib/composio/types.ts @@ -1,5 +1,7 @@ import { z } from "zod"; +// NOTE: Some API responses may use the alias 'SERVICE_ACCOUNT'. +// Include it here for compatibility alongside the canonical 'GOOGLE_SERVICE_ACCOUNT'. export const ZAuthScheme = z.enum([ 'API_KEY', 'BASIC', @@ -8,6 +10,7 @@ export const ZAuthScheme = z.enum([ 'BILLCOM_AUTH', 'CALCOM_AUTH', 'COMPOSIO_LINK', + 'SERVICE_ACCOUNT', 'GOOGLE_SERVICE_ACCOUNT', 'NO_AUTH', 'OAUTH1', @@ -240,4 +243,4 @@ export const ZListResponse = (schema: T) => z.object({ total_pages: z.number(), current_page: z.number(), total_items: z.number(), -}); \ No newline at end of file +});