dood-stream-client
Version:
🚀 A feature-rich client for the DoodStream API with caching, logging, and error handling
39 lines (38 loc) • 1.21 kB
TypeScript
import { HttpClient } from "./http-client";
import { AccountInfoResponse, AccountStatsResponse, DmcaListResponse } from "../interfaces/api-responses";
import { AccountStatsParams, DmcaListParams } from "../interfaces/api-params";
/**
* 👤 Account-related API functionality
*/
export declare class AccountApi {
/**
* 🌐 HTTP client for making requests
*/
private client;
/**
* Create a new Account API instance
*
* @param client - HTTP client
*/
constructor(client: HttpClient);
/**
* 📊 Get account information
*
* @returns Promise with account info response
*/
getInfo(): Promise<AccountInfoResponse>;
/**
* 📈 Get account statistics/reports
*
* @param params - Optional parameters (last days, date range)
* @returns Promise with account statistics response
*/
getStats(params?: AccountStatsParams): Promise<AccountStatsResponse>;
/**
* 🚫 Get DMCA reported files list
*
* @param params - Optional parameters (pagination, results per page)
* @returns Promise with DMCA list response
*/
getDmcaList(params?: DmcaListParams): Promise<DmcaListResponse>;
}