UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

43 lines 2.76 kB
import type { AuthConfig } from '../types/auth'; import type { ApiServiceConfig } from '../utils/api-command'; export declare class WebServiceSdk { private readonly authConfig; private readonly config; constructor(authConfig: AuthConfig, config: ApiServiceConfig); getSplash(channelId: string): Promise<import("polyv-live-api-sdk/dist/types/web").GetSplashResponse>; setSplash(params: any): Promise<string>; setPublisher(params: any): Promise<string>; updateChannelName(params: any): Promise<boolean>; updateChannelLogo(params: any): Promise<string>; liveLikes(channelIds: string): Promise<import("polyv-live-api-sdk/dist/types/web").LiveLikesResponse>; updateLikes(params: any): Promise<string>; getCountdown(channelId: string): Promise<import("polyv-live-api-sdk/dist/types/web").GetCountdownResponse>; setCountdown(params: any): Promise<string>; getMenuList(params: any): Promise<import("polyv-live-api-sdk/dist/types/web").GetMenuListResponse>; addMenu(params: any): Promise<import("polyv-live-api-sdk/dist/types/web").AddMenuResponse>; deleteMenu(params: any): Promise<number>; updateMenu(params: any): Promise<string>; setMenu(params: any): Promise<string>; updateRank(params: any): Promise<string>; updateConsultingEnabled(params: any): Promise<string>; getTuwenList(params: any): Promise<import("polyv-live-api-sdk/dist/types/web").GetTuwenListResponse>; getDonate(channelId?: string): Promise<import("polyv-live-api-sdk/dist/types/web").GetDonateResponse>; updateCash(params: any): Promise<string>; updateGood(params: any): Promise<string>; getWeixinShare(channelId: string): Promise<import("polyv-live-api-sdk/dist/types/web").GetWeixinShareResponse>; updateWeixinShare(params: any): Promise<string>; updateGlobalEnabled(params: any): Promise<string>; uploadImage(params: any): Promise<import("polyv-live-api-sdk/dist/types/web").UploadImageResponse>; uploadWhiteList(params: any): Promise<string>; downloadWhiteList(params: any): Promise<ArrayBuffer>; setAuthType(params: any): Promise<string>; setExternalAuth(params: any): Promise<import("polyv-live-api-sdk").ExternalAuthSetting[]>; setAuthorizedAddress(params: any): Promise<import("polyv-live-api-sdk").ExternalAuthSetting[]>; updateAuthUrl(params: any): Promise<string>; getRecordField(params: any): Promise<import("polyv-live-api-sdk").RecordFieldResponse>; getRecordInfo(params: any): Promise<import("polyv-live-api-sdk").RecordInfoResponse>; enrollList(params: any): Promise<import("polyv-live-api-sdk").EnrollListResponse>; downloadRecordInfo(params: any): Promise<ArrayBuffer>; private readFile; } //# sourceMappingURL=web-service.d.ts.map