@devries-cameron20 / composio-1 / commits / 382ffe5ee
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.

docs(connected-accounts): drop "set at creation time only" wording

Two more JSDoc spots — `ConnectedAccountTypes` and the `accountType` field on `CreateConnectedAccountLinkOptionsSchema` — claimed `accountType` was "set at creation time only — cannot be changed later". The wording has been removed from the corresponding API parameter description upstream, so the SDK shouldn't echo it independently. No behaviour changes — JSDoc-only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

venkat82 committed May 12, 2026 at 01:14 UTC 382ffe5ee940c7f50639ea298aa41efe57f5f83a
1 file changed +2 -3
ts/packages/core/src/types/connectedAccounts.types.ts
+2 -3
@@ -34,8 +34,7 @@ export type ConnectedAccountStatusEnum = z.infer<typeof ConnectedAccountStatusSc
34 * - `SHARED`: can be used by other `userId`s, but only when the connection
35 * is explicitly pinned in a tool-router session's config and only when
36 * the requesting `userId` passes the connection's ACL (see
37 - * `allowAllUsers` / `allowedUserIds` / `notAllowedUserIds`). Set at
38 - * creation time only — cannot be changed later.
37 + * `allowAllUsers` / `allowedUserIds` / `notAllowedUserIds`).
38 */
39 export const ConnectedAccountTypes = {
40 PRIVATE: 'PRIVATE',
@@ -298,7 +297,7 @@ export const CreateConnectedAccountLinkOptionsSchema = z.object({
297 * by the owning `userId`. `SHARED` can be used by other `userId`s — but
298 * only when the connection is explicitly pinned in a tool-router session's
299 * config and only when the requesting `userId` passes the connection's
301 - * ACL. Set at creation time only.
300 + * ACL.
301 */
302 accountType: ConnectedAccountTypeSchema.optional(),
303 /**