25 lines
1.1 KiB
TypeScript
25 lines
1.1 KiB
TypeScript
export declare function findCompany(companyId: string, unread?: string): any;
|
|
export declare function countUnread(companyId: string): any;
|
|
export declare function markRead(id: string, companyId: string): any;
|
|
export declare function markAllRead(companyId: string): any;
|
|
export declare function findEmployeePreferences(employeeId: string): any;
|
|
export declare function upsertEmployeePreferences(employeeId: string, prefs: Array<{
|
|
notificationType: string;
|
|
channel: string;
|
|
enabled: boolean;
|
|
}>): Promise<void>;
|
|
export declare function findCompanyHistory(companyId: string, opts?: {
|
|
channel?: string;
|
|
status?: string;
|
|
limit?: number;
|
|
}): any;
|
|
export declare function findRenter(renterId: string): any;
|
|
export declare function markRenterRead(id: string, renterId: string): any;
|
|
export declare function markAllRenterRead(renterId: string): any;
|
|
export declare function findRenterPreferences(renterId: string): any;
|
|
export declare function upsertRenterPreferences(renterId: string, prefs: Array<{
|
|
notificationType: string;
|
|
channel: string;
|
|
enabled: boolean;
|
|
}>): Promise<void>;
|
|
//# sourceMappingURL=notification.repo.d.ts.map
|