polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
78 lines • 1.85 kB
TypeScript
export interface SessionServiceConfig {
baseUrl: string;
timeout: number;
debug: boolean;
}
export interface SessionListOptions {
channelId?: string;
page?: number;
pageSize?: number;
startDate?: string;
endDate?: string;
output?: 'table' | 'json';
}
export interface SessionGetOptions {
channelId: string;
sessionId: string;
output?: 'table' | 'json';
}
export interface SessionDisplayItem {
sessionId: string;
channelId: string;
name?: string;
status: string;
startTime?: string | number;
endTime?: number;
createdTime?: number;
planStartTime?: number;
planEndTime?: number;
streamType?: string;
pushClient?: string;
watchUrl?: string;
userId?: string;
splashImg?: string;
splashLargeImg?: string;
}
export interface SessionListResponse {
contents: SessionDisplayItem[];
pageNumber: number;
pageSize: number;
totalItems: number;
totalPages: number;
}
export declare const SessionServiceConfig: {
baseUrl: string;
timeout: number;
debug: boolean;
};
export declare const SessionListOptions: {
channelId?: string;
page?: number;
pageSize?: number;
startDate?: string;
endDate?: string;
output?: 'table' | 'json';
};
export declare const SessionGetOptions: {
channelId: string;
sessionId: string;
output?: 'table' | 'json';
};
export declare const SessionDisplayItem: {
sessionId: string;
channelId: string;
name?: string;
status: string;
startTime?: string | number;
endTime?: number;
createdTime?: number;
planStartTime?: number;
planEndTime?: number;
streamType?: string;
pushClient?: string;
watchUrl?: string;
userId?: string;
splashImg?: string;
splashLargeImg?: string;
};
//# sourceMappingURL=session.d.ts.map