@astralibx/email-rule-engine 12.5.2 → 12.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -80,10 +80,13 @@ The factory returns an `EmailRuleEngine` instance with:
80
80
 
81
81
  - `routes` -- Express Router with all CRUD and runner endpoints
82
82
  - `runner` -- `RuleRunnerService` for triggering runs programmatically
83
- - `templateService` -- `TemplateService` for CRUD and preview
84
- - `ruleService` -- `RuleService` for CRUD and dry runs
83
+ - `scheduler` -- `SchedulerService` for cron-based scheduled rule execution
84
+ - `templateService` -- `TemplateService` for CRUD, preview, and cloning (`POST /templates/:id/clone`, `POST /templates/:id/preview-with-data`)
85
+ - `ruleService` -- `RuleService` for CRUD, dry runs, and cloning (`POST /rules/:id/clone`)
85
86
  - `models` -- Direct Mongoose model access (`EmailTemplate`, `EmailRule`, `EmailRuleSend`, `EmailRuleRunLog`, `EmailThrottleConfig`)
86
87
 
88
+ The `routes` router includes `GET /sends` for querying individual send log records and `schedule` field support on rules for cron-based execution.
89
+
87
90
  ## Configuration
88
91
 
89
92
  The `createEmailRuleEngine(config)` factory accepts an `EmailRuleEngineConfig` object validated at startup with Zod.