import { HttpService, AuthenticationService } from 'ew-common-lib'; import { Observable } from 'rxjs'; export declare class EwMaIntegrationService { private env; private httpService; private authenticationService; [x: string]: any; /** * @description * API token for authentication. */ private token; /** * @description * Event id to use in the library */ event_id: string; integration: any; environment: any; /** * @description * Inject services to use in this component. * @param env environment file for API base URLs. * @param httpService http service to call APIs. * @param authenticationService To get auth token. */ constructor(env: any, httpService: HttpService, authenticationService: AuthenticationService); /** * @description * Generates full url for API request. * @param url Resource name */ getUrl(url: string): string; getIntegtaionList(model: any): Observable; getIntegtaionAllData(model: any): Observable; /** * @description * SAve integration details to db * @param model Data to attach with API. */ saveIntegration(model: any): Observable; removeSelectedTag(model: any): Observable; disconnectIntegrationForEvent(model: any): Observable; saveCustomFields(model: any): Observable; saveWebinarCustomFields(model: any): Observable; relaodTagListCustomFields(model: any): Observable; saveSelectedList(model: any): Observable; /** * @description * Handle error * @param string operation * @param T result */ handleError(operation?: string, result?: T): (error: any) => Observable; /** * @description * V2 CDN * @param url Resource name */ getV2CDN(): any; }