archetecture security fix

This commit is contained in:
root
2026-06-11 03:22:12 -04:00
parent 6def9993da
commit 9483750161
3126 changed files with 177194 additions and 37211 deletions
+32
View File
@@ -0,0 +1,32 @@
import { NotificationType, NotificationChannel } from '@rentaldrivego/database';
import type { NotificationTemplateVariables } from './notificationLocalizationService';
interface SendNotificationOptions {
type: NotificationType;
title?: string;
body?: string;
data?: Record<string, unknown>;
companyId?: string;
employeeId?: string;
renterId?: string;
billingAccountId?: string;
email?: string;
phone?: string;
fcmToken?: string;
channels: NotificationChannel[];
locale?: string;
templateKey?: string;
templateVariables?: NotificationTemplateVariables;
}
export declare function sendNotification(opts: SendNotificationOptions): Promise<{
channel: NotificationChannel;
success: boolean;
error?: string;
}[]>;
export declare function sendTransactionalEmail(opts: {
to: string;
subject: string;
html: string;
text: string;
}): Promise<void>;
export {};
//# sourceMappingURL=notificationService.d.ts.map