Gestiona grupos de email y asignación por escenario en BD (natur_reservas.notification_groups / notification_scenario_recipients) en lugar de variables de entorno hardcodeadas. Incluye pantalla de ajustes, endpoint admin protegido, envío de prueba y niveles reducida/completa. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
14 lines
801 B
TypeScript
14 lines
801 B
TypeScript
// Types
|
|
export type { Reservation, NewReservation, ReservationOrigin, Property, PricingSnapshot, WebhookPayload } from './types/reservation.js';
|
|
export type { UserRole, UserProfile } from './types/user.js';
|
|
export type { PricingInput, PricingResult } from './types/pricing.js';
|
|
export type { NotificationEventType, NotificationStatus, NotificationEvent, NotificationLevel, NotificationGroup, NotificationConfig, NotificationScenarioMeta } from './types/notification.js';
|
|
|
|
// Constants
|
|
export { CONFIGURABLE_SCENARIOS } from './types/notification.js';
|
|
export { PROPERTY_CONFIG, PROPERTIES, DEFAULT_IGIC_RATE, getExtraPersonRate } from './constants/properties.js';
|
|
export { ORIGIN_CONFIG } from './constants/origins.js';
|
|
|
|
// Utils
|
|
export { calculateNaturPrice, formatPrice } from './utils/pricing.js';
|