UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

41 lines 2.71 kB
import { AuthConfig } from '../types/auth'; import { LotteryServiceConfig, CreateLotteryActivityParams, ListLotteryActivitiesParams, GetLotteryActivityParams, UpdateLotteryActivityParams, DeleteLotteryActivityParams, GetWinnerDetailParams, ListLotteryRecordsParams, ListChannelsLotteryParams, DownloadWinnerDetailParams, AddReceiveInfoV4Params } from '../types/lottery'; export declare class LotteryServiceSdk { private readonly client; private readonly v4Channel; private readonly liveInteraction; constructor(authConfig: AuthConfig, _serviceConfig?: LotteryServiceConfig); createLotteryActivity(params: CreateLotteryActivityParams): Promise<any>; listLotteryActivities(params: ListLotteryActivitiesParams): Promise<any>; getLotteryActivity(params: GetLotteryActivityParams): Promise<any>; updateLotteryActivity(params: UpdateLotteryActivityParams): Promise<any>; deleteLotteryActivity(params: DeleteLotteryActivityParams): Promise<any>; getWinnerDetail(params: GetWinnerDetailParams): Promise<any>; listLottery(params: ListLotteryRecordsParams): Promise<any>; listLegacyLottery(params: ListLotteryRecordsParams): Promise<any>; listChannelsLottery(params: ListChannelsLotteryParams): Promise<any>; downloadWinnerDetail(params: DownloadWinnerDetailParams): Promise<any>; addReceiveInfoV4(params: AddReceiveInfoV4Params): Promise<any>; createConditionWaitLottery(params: Record<string, unknown>): Promise<any>; listLotteryViewerGroups(params: Record<string, unknown>): Promise<any>; createLotteryViewerGroup(params: Record<string, unknown>): Promise<any>; updateLotteryViewerGroup(params: Record<string, unknown>): Promise<any>; deleteLotteryViewerGroup(params: Record<string, unknown>): Promise<any>; listLotteryGroupViewers(params: Record<string, unknown>): Promise<any>; createLotteryGroupViewers(params: Record<string, unknown>): Promise<any>; createLotteryGroupViewerNames(params: Record<string, unknown>): Promise<any>; deleteLotteryGroupViewers(params: Record<string, unknown>): Promise<any>; listLotteryBlacklistViewers(params: Record<string, unknown>): Promise<any>; createLotteryBlacklistViewers(params: Record<string, unknown>): Promise<any>; deleteLotteryBlacklistViewers(params: Record<string, unknown>): Promise<any>; listLuckyBagWinners(params: Record<string, unknown>): Promise<any>; private buildLotteryActivityUpdate; private buildLotteryActivityCreate; private copyDefined; private numberOrUndefined; private withDefaultLotteryTimeRange; private unwrapData; private successResponse; private wrapError; } //# sourceMappingURL=lottery-service.d.ts.map