template-saas/apps/backend/dist/modules/notifications/dto/create-notification.dto.d.ts
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00

25 lines
637 B
TypeScript

export declare class CreateNotificationDto {
userId: string;
type?: string;
channel?: string;
title: string;
message: string;
data?: Record<string, any>;
actionUrl?: 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>;
}