- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.1 KiB
TypeScript
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>;
|
|
}
|