import type { APIClient } from '@wireapp/api-client' ; import type { Notification } from '@wireapp/api-client/src/notification/' ; export class NotificationBackendRepository { constructor ( private readonly apiClient ) { } public async getAllNotifications ( clientId ? , lastNotificationId ? ) { return this . apiClient . notification . api . getAllNotifications ( clientId , lastNotificationId ) ; } public getLastNotification ( clientId ? ) { return this . apiClient . notification . api . getLastNotification ( clientId ) ; } }