LWT JavaScript API
    Preparing search index...

    Variable ProfileApiConst

    ProfileApi: {
        changePassword(
            currentPassword: string,
            newPassword: string,
            confirmPassword: string,
        ): Promise<ApiResponse<ProfileMutationResponse>>;
        get(): Promise<ApiResponse<ProfileGetResponse>>;
        getPreferences(): Promise<ApiResponse<PreferencesGetResponse>>;
        savePreferences(
            settings: Record<string, string>,
        ): Promise<ApiResponse<ProfileMutationResponse>>;
        update(
            username: string,
            email: string,
        ): Promise<ApiResponse<ProfileMutationResponse>>;
    } = ...

    Profile API methods.

    Type Declaration