template-saas/apps/backend/dist/modules/notifications/dto/create-notification.dto.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

48 lines
1.1 KiB
TypeScript

export declare class CreateNotificationDto {
userId: string;
type?: string;
channel?: string;
title: string;
message: string;
data?: Record<string, any>;
actionUrl?: string;
email?: string;
userName?: string;
}
export declare class SendTemplateNotificationDto {
userId: string;
templateCode: string;
variables?: Record<string, any>;
}
export declare class UpdatePreferencesDto {
emailEnabled?: boolean;
pushEnabled?: boolean;
inAppEnabled?: boolean;
smsEnabled?: boolean;
marketingEmails?: boolean;
productUpdates?: boolean;
securityAlerts?: boolean;
categoryPreferences?: Record<string, boolean>;
}
export declare class RegisterDeviceDto {
deviceToken: string;
deviceType?: 'web' | 'mobile' | 'desktop';
deviceName?: string;
browser?: string;
browserVersion?: string;
os?: string;
osVersion?: string;
}
export declare class UpdateDeviceDto {
deviceName?: string;
isActive?: boolean;
}
export declare class SendPushNotificationDto {
userId: string;
title: string;
body: string;
url?: string;
icon?: string;
data?: Record<string, any>;
}