videosphere
    Preparing search index...
    • Update tokens and platform metadata (name, userId) for an existing connection. Use this on reconnection so the stored channel name/id stays current. Returns public shape (no tokens) so callers never receive secrets.

      Parameters

      • id: string
      • accessToken: string
      • refreshToken: string
      • tokenExpiry: string
      • platformUserId: string
      • platformName: string
      • OptionalsftpFields: {
            sftpHost: string;
            sftpPort: number;
            sftpRemotePath: string;
            sftpAuthMethod: SftpAuthMethod;
            sftpHostKeyFingerprint: string;
        }
      • OptionalsmbFields: { smbHost: string; smbShare: string; smbDomain?: string; smbRemotePath: string }
      • OptionalfacebookFields: { facebookTargetType: "page" | "profile"; facebookPageId?: string }

      Returns Promise<ConnectedAccountPublic>