UNPKG

@spartacus/core

Version:

Spartacus - the core framework

20 lines (19 loc) 1.18 kB
import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { EntitiesModel } from '../../../model/misc.model'; import { CostCenter } from '../../../model/org-unit.model'; import { SearchConfig } from '../../../product/model/search-config'; import { UserCostCenterAdapter } from '../../../user/connectors/cost-center/user-cost-center.adapter'; import { ConverterService } from '../../../util/converter.service'; import { OccEndpointsService } from '../../services/occ-endpoints.service'; import * as i0 from "@angular/core"; export declare class OccUserCostCenterAdapter implements UserCostCenterAdapter { protected http: HttpClient; protected occEndpoints: OccEndpointsService; protected converter: ConverterService; constructor(http: HttpClient, occEndpoints: OccEndpointsService, converter: ConverterService); loadActiveList(userId: string): Observable<EntitiesModel<CostCenter>>; protected getCostCentersEndpoint(userId: string, params?: SearchConfig): string; static ɵfac: i0.ɵɵFactoryDeclaration<OccUserCostCenterAdapter, never>; static ɵprov: i0.ɵɵInjectableDeclaration<OccUserCostCenterAdapter>; }