UNPKG

@spartacus/core

Version:

Spartacus - the core framework

14 lines (13 loc) 948 B
import { UserInterestsAdapter } from './user-interests.adapter'; import { Observable } from 'rxjs'; import { ProductInterestSearchResult, ProductInterestEntryRelation, NotificationType } from '../../../model/product-interest.model'; import * as i0 from "@angular/core"; export declare class UserInterestsConnector { protected adapter: UserInterestsAdapter; constructor(adapter: UserInterestsAdapter); getInterests(userId: string, pageSize?: number, currentPage?: number, sort?: string, productCode?: string, notificationType?: NotificationType): Observable<ProductInterestSearchResult>; removeInterest(userId: string, item: ProductInterestEntryRelation): Observable<any[]>; addInterest(userId: string, productCode: string, notificationType: NotificationType): Observable<any>; static ɵfac: i0.ɵɵFactoryDeclaration<UserInterestsConnector, never>; static ɵprov: i0.ɵɵInjectableDeclaration<UserInterestsConnector>; }