polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
15 lines • 872 B
TypeScript
import { AuthConfig } from '../types/auth';
import { DonateServiceConfig, GetDonateConfigParams, UpdateDonateConfigParams, ListRewardGiftParams, ListRewardLikeParams, DonateRecordApiResponse, DonateUpdateApiResponse } from '../types/donate';
export declare class DonateServiceSdk {
private readonly client;
private readonly v4Channel;
constructor(authConfig: AuthConfig, _serviceConfig?: DonateServiceConfig);
getDonateConfig(params: GetDonateConfigParams): Promise<any>;
updateDonateConfig(params: UpdateDonateConfigParams): Promise<DonateUpdateApiResponse>;
listRewardGift(params: ListRewardGiftParams): Promise<DonateRecordApiResponse>;
listRewardLikes(params: ListRewardLikeParams): Promise<any>;
private buildGiftDonateConfig;
private normalizeGiftDonateConfig;
private wrapError;
}
//# sourceMappingURL=donate-service.d.ts.map