UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

49 lines 1.36 kB
import type { AuthType } from 'polyv-live-api-sdk'; export declare const VALID_AUTH_TYPES: readonly AuthType[]; export declare const AUTH_TYPE_LABELS: Record<AuthType, string>; export interface WatchConditionServiceConfig { baseUrl?: string; timeout?: number; debug?: boolean; } export interface WatchConditionGetOptions { channelId?: string; output?: 'table' | 'json'; } export interface WatchConditionSetOptions { channelId?: string; rank?: 1 | 2; authType?: AuthType; enabled?: 'Y' | 'N'; authCode?: string; price?: number; configFile?: string; output?: 'table' | 'json'; } export interface ConfigAuthSetting { rank: 1 | 2; authType?: AuthType; enabled?: 'Y' | 'N'; authCode?: string; payAmount?: number; infoFields?: ConfigInfoField[]; subAuthType?: 'public' | 'wx'; externalKey?: string; externalUri?: string; externalRedirectUri?: string; externalButtonEnabled?: 'Y' | 'N'; customKey?: string; customUri?: string; directKey?: string; } export interface ConfigInfoField { type: 'text' | 'number' | 'option' | 'name' | 'mobile'; name: string; options?: string; placeholder?: string; sms?: 'Y' | 'N'; } export interface WatchConditionConfig { authSettings: ConfigAuthSetting[]; } //# sourceMappingURL=watch-condition.d.ts.map