btcpay-greenfield-node-client
Version:
## Installation
46 lines (45 loc) • 1.55 kB
TypeScript
import type { NotificationData } from '../models/NotificationData';
import type { UpdateNotification } from '../models/UpdateNotification';
export declare class NotificationsCurrentUserService {
/**
* Get notifications
* View current user's notifications
* @returns NotificationData list of notifications
* @throws ApiError
*/
static notificationsGetNotifications({ seen, }: {
/** filter by seen notifications **/
seen?: string | null;
}): Promise<NotificationData>;
/**
* Get notification
* View information about the specified notification
* @returns NotificationData specified notification
* @throws ApiError
*/
static notificationsGetInvoice({ id, }: {
/** The notification to fetch **/
id: string;
}): Promise<NotificationData>;
/**
* Update notification
* Updates the notification
* @returns NotificationData updated notification
* @throws ApiError
*/
static notificationsUpdateNotification({ id, requestBody, }: {
/** The notification to update **/
id: string;
requestBody: UpdateNotification;
}): Promise<NotificationData>;
/**
* Remove Notification
* Removes the specified notification.
* @returns any The notification has been deleted
* @throws ApiError
*/
static notificationsDeleteNotification({ id, }: {
/** The notification to remove **/
id: string;
}): Promise<any>;
}