trender-client
Version:
Official Trender client API
10 lines (9 loc) • 532 B
TypeScript
import RequestEmitter, { requestParams } from '../utils/RequestEmitter';
import type { GlobalInterface, NotificationInterface } from './Interfaces';
declare class NotificationManager extends RequestEmitter {
constructor(params: requestParams);
fetch(params?: GlobalInterface.paginationParams): Promise<NotificationInterface.notificationFetchResponse>;
read(): Promise<GlobalInterface.successResponse>;
readOne(notification_id: string): Promise<GlobalInterface.successResponse>;
}
export default NotificationManager;