UNPKG

@mediarithmics/plugins-nodejs-sdk

Version:

This is the mediarithmics nodejs to help plugin developers bootstrapping their plugin without having to deal with most of the plugin boilerplate

11 lines (10 loc) 829 B
import { ActivityAnalyzerBaseInstanceContext, BasePlugin, ActivityAnalyzerRequest, ActivityAnalyzer, ActivityAnalyzerPluginResponse, PluginProperty } from "../../../index"; export declare abstract class ActivityAnalyzerPlugin extends BasePlugin { instanceContext: Promise<ActivityAnalyzerBaseInstanceContext>; fetchActivityAnalyzer(activityAnalyzerId: string): Promise<ActivityAnalyzer>; fetchActivityAnalyzerProperties(activityAnalyzerId: string): Promise<PluginProperty[]>; protected instanceContextBuilder(activityAnalyzerId: string): Promise<ActivityAnalyzerBaseInstanceContext>; protected abstract onActivityAnalysis(request: ActivityAnalyzerRequest, instanceContext: ActivityAnalyzerBaseInstanceContext): Promise<ActivityAnalyzerPluginResponse>; private initActivityAnalysis(); constructor(); }