import { UserId, UserModel } from './User'; import { UserPermissionType } from './UserPermission'; import { ObjectAny } from './common'; import { AccessRole, NotificationChannel, NotificationStatusType, NotificationType, } from './types'; export type NotificationReceiver = { accessRole: AccessRole; partnerId?: number; permissions?: Array; }; export interface NotificationWorkerModel { type: NotificationType; user: UserModel; params: ObjectAny; statusType: NotificationStatusType; excludeUsers: Array; link?: string; receivers: Array; channels: Array; }