dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
21 lines (20 loc) • 1.12 kB
TypeScript
import { LiveStreamEvent } from '../soap/liveStreamEvent';
import { UpdateResult } from '../soap/updateResult';
import { LiveStreamEventAction } from '../soap/liveStreamEventAction';
import { Statement } from '../soap/statement';
import { LiveStreamEventPage } from '../soap/liveStreamEventPage';
import { DfpService } from '../lib/dfpService';
import { DfpUser } from '../lib/dfpUser';
export declare class LiveStreamEventService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createLiveStreamEvents(liveStreamEvents: LiveStreamEvent[]): Promise<LiveStreamEvent[]>;
getLiveStreamEventsByStatement(filterStatement: Statement): Promise<LiveStreamEventPage>;
performLiveStreamEventAction(liveStreamEventAction: LiveStreamEventAction, filterStatement: Statement): Promise<UpdateResult>;
updateLiveStreamEvents(liveStreamEvents: LiveStreamEvent[]): Promise<LiveStreamEvent[]>;
registerSessionsForMonitoring(sessionIds: string[]): Promise<string[]>;
}