UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

27 lines 1.38 kB
import { PlayerServiceConfig, PlayerConfigGetOptions, PlayerConfigUpdateOptions, PlayerDecorateDisplayItem } from '../types/player'; import { AuthConfig } from '../types/auth'; export declare class PlayerServiceSdk { private readonly config; private readonly authConfig; constructor(authConfig: AuthConfig, serviceConfig: PlayerServiceConfig); getChannelDecorate(options: PlayerConfigGetOptions): Promise<PlayerDecorateDisplayItem>; updateChannelDecorate(options: PlayerConfigUpdateOptions): Promise<{ success: boolean; updatedFields: string[]; }>; getAntiRecordSettings(channelId?: string | number): Promise<any>; setAntiRecordSettings(channelId: string | number, params: any): Promise<any>; setMarqueeUrl(channelId: string | number, params: any): Promise<any>; updateHeadAdvert(channelId: string | number, params: any): Promise<any>; updateStopAdvert(channelId: string | number, params: any): Promise<any>; getWatchFeedbackList(params: any): Promise<any>; updatePlayerLogo(channelId: string | number, params: any): Promise<any>; updateWarmupSwitch(params: { channelId: string; warmUpEnabled: 'Y' | 'N'; }): Promise<any>; updateSkinBatch(params: any): Promise<any>; private validateGetOptions; private validateUpdateOptions; } //# sourceMappingURL=player.service.sdk.d.ts.map