Interface UpdateAccountInfoPayload

interface UpdateAccountInfoPayload {
    approvedSignInMethods?: {
        addresses?: {
            address: string;
            scopes: OAuthScopeDetails[];
        }[];
        discord?: {
            discriminator?: string;
            id: string;
            scopes: OAuthScopeDetails[];
            username: string;
        };
        github?: {
            id: string;
            scopes: OAuthScopeDetails[];
            username: string;
        };
        google?: {
            id: string;
            scopes: OAuthScopeDetails[];
            username: string;
        };
        passwords?: {
            password?: string;
            passwordHash: string;
            salt: string;
            scopes: OAuthScopeDetails[];
        }[];
        twitter?: {
            id: string;
            scopes: OAuthScopeDetails[];
            username: string;
        };
    };
    bannerImage?: string;
    customLinks?: iCustomLink[];
    customPages?: {
        attestations: iCustomListPage[];
        badges: iCustomPage<NumberType>[];
        lists: iCustomListPage[];
    };
    discord?: string;
    github?: string;
    hiddenBadges?: iBatchBadgeDetails<NumberType>[];
    hiddenLists?: string[];
    notifications?: {
        antiPhishingCode?: string;
        discord?: {
            discriminator: undefined | string;
            id: string;
            username: string;
        };
        email?: string;
        preferences?: {
            claimAlerts?: boolean;
            ignoreIfInitiator?: boolean;
            listActivity?: boolean;
            transferActivity?: boolean;
        };
    };
    profilePicImageFile?: any;
    profilePicUrl?: string;
    readme?: string;
    seenActivity?: NumberType;
    socialConnections?: iSocialConnections<NumberType>;
    telegram?: string;
    twitter?: string;
    username?: string;
    watchlists?: {
        attestations: iCustomListPage[];
        badges: iCustomPage<NumberType>[];
        lists: iCustomListPage[];
    };
}

Properties

approvedSignInMethods?: {
    addresses?: {
        address: string;
        scopes: OAuthScopeDetails[];
    }[];
    discord?: {
        discriminator?: string;
        id: string;
        scopes: OAuthScopeDetails[];
        username: string;
    };
    github?: {
        id: string;
        scopes: OAuthScopeDetails[];
        username: string;
    };
    google?: {
        id: string;
        scopes: OAuthScopeDetails[];
        username: string;
    };
    passwords?: {
        password?: string;
        passwordHash: string;
        salt: string;
        scopes: OAuthScopeDetails[];
    }[];
    twitter?: {
        id: string;
        scopes: OAuthScopeDetails[];
        username: string;
    };
}

Approved sign in methods. Only returned if user is authenticated with full access.

bannerImage?: string

The banner image URL.

customLinks?: iCustomLink[]

Custom URL links to display on the user's portfolio.

customPages?: {
    attestations: iCustomListPage[];
    badges: iCustomPage<NumberType>[];
    lists: iCustomListPage[];
}

An array of custom pages on the user's portolio. Used to customize, sort, and group badges / lists into pages.

discord?: string

The Discord username.

github?: string

The GitHub username.

hiddenBadges?: iBatchBadgeDetails<NumberType>[]

The badges to hide and not view for this profile's portfolio

hiddenLists?: string[]

The lists to hide and not view for this profile's portfolio

notifications?: {
    antiPhishingCode?: string;
    discord?: {
        discriminator: undefined | string;
        id: string;
        username: string;
    };
    email?: string;
    preferences?: {
        claimAlerts?: boolean;
        ignoreIfInitiator?: boolean;
        listActivity?: boolean;
        transferActivity?: boolean;
    };
}

The notification preferences for the user. Will only be returned if user is authenticated with full access.

profilePicImageFile?: any

The profile picture image file to set. We will then upload to our CDN.

profilePicUrl?: string

The profile picture URL.

readme?: string

The README details (markdown supported).

seenActivity?: NumberType

The last seen activity timestamp.

socialConnections?: iSocialConnections<NumberType>

The social connections for the user. Only returned if user is authenticated with full access.

telegram?: string

The Telegram username.

twitter?: string

The Twitter username.

username?: string

The username.

watchlists?: {
    attestations: iCustomListPage[];
    badges: iCustomPage<NumberType>[];
    lists: iCustomListPage[];
}

The watchlist of badges / lists