UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

115 lines 2.81 kB
export interface DocumentServiceConfig { baseUrl: string; timeout: number; debug: boolean; } export interface DocumentListOptions { channelId: string; status?: 'normal' | 'waitUpload' | 'failUpload' | 'waitConvert' | 'failConvert'; page?: number; pageSize?: number; output?: 'table' | 'json'; } export interface DocumentUploadOptions { channelId: string; url: string; type?: 'common' | 'animate'; docName?: string; callbackUrl?: string; output?: 'table' | 'json'; } export interface DocumentDeleteOptions { channelId: string; fileId: string; type?: 'old' | 'new'; force?: boolean; output?: 'table' | 'json'; } export interface DocumentStatusOptions { channelId: string; fileId: string; output?: 'table' | 'json'; } export interface DocumentDisplayItem { fileId: string; fileName: string; fileUrl?: string | undefined; fileType: string; totalPage: number; channelId?: string | undefined; status: string; createTime: number; convertType: string; type: string; } export interface DocumentUploadResult { fileId: string; status: string; type: string; } export interface DocumentStatusItem { fileId: string; convertStatus: string; type: string; totalPage: number; imageCount: number; htmlUrl?: string; } export declare const DocumentServiceConfig: { baseUrl: string; timeout: number; debug: boolean; }; export declare const DocumentListOptions: { channelId: string; status?: 'normal' | 'waitUpload' | 'failUpload' | 'waitConvert' | 'failConvert'; page?: number; pageSize?: number; output?: 'table' | 'json'; }; export declare const DocumentUploadOptions: { channelId: string; url: string; type?: 'common' | 'animate'; docName?: string; callbackUrl?: string; output?: 'table' | 'json'; }; export declare const DocumentDeleteOptions: { channelId: string; fileId: string; type?: 'old' | 'new'; force?: boolean; output?: 'table' | 'json'; }; export declare const DocumentStatusOptions: { channelId: string; fileId: string; output?: 'table' | 'json'; }; export declare const DocumentDisplayItem: { fileId: string; fileName: string; fileUrl?: string | undefined; fileType: string; totalPage: number; channelId?: string | undefined; status: string; createTime: number; convertType: string; type: string; }; export declare const DocumentUploadResult: { fileId: string; status: string; type: string; }; export declare const DocumentStatusItem: { fileId: string; convertStatus: string; type: string; totalPage: number; imageCount: number; htmlUrl?: string; }; //# sourceMappingURL=document.d.ts.map