2021-01-20 13:47:20 +01:00
|
|
|
# Idées
|
|
|
|
|
|
|
|
RuleSet
|
|
|
|
* name
|
|
|
|
* description
|
|
|
|
* enabled?
|
2021-01-23 18:09:55 +01:00
|
|
|
* rule_set_id (pour imbriquer des règles)
|
2021-01-20 13:47:20 +01:00
|
|
|
* rules_logic (AND, OR, XOR…)
|
|
|
|
|
|
|
|
Rule
|
2021-01-23 18:09:55 +01:00
|
|
|
* rule_set_id
|
2021-01-20 13:47:20 +01:00
|
|
|
* name
|
|
|
|
* enabled?
|
|
|
|
* criteria_type (Header, Body…)
|
|
|
|
* criteria_value
|
2021-01-22 14:50:56 +01:00
|
|
|
* operator (match, equal, start, end, contain, exist, empty)
|
2021-01-20 13:47:20 +01:00
|
|
|
* operator_inverted?
|
|
|
|
* value
|
|
|
|
|
|
|
|
Action
|
2021-01-23 18:09:55 +01:00
|
|
|
* rule_set_id
|
2021-01-20 13:47:20 +01:00
|
|
|
* name
|
|
|
|
* enabled?
|
|
|
|
* klass (EmailAction::MetadataMapping, EmailAction::TicketMapping…)
|