RuleConditionOption1
The RuleConditionOption1 type of the TypeScript SDK, part of RuleCondition.
type RuleConditionOption1 = {
field: ('from' | 'to' | 'cc' | 'toOrCc')
not?: boolean
op: ('contains' | 'is' | 'matches' | 'regex' | 'exists')
value?: string
}Fields
| Field | Type | Description |
|---|---|---|
field | ('from' | 'to' | 'cc' | 'toOrCc') | |
not | boolean | Optional. Invert this condition @default false |
op | ('contains' | 'is' | 'matches' | 'regex' | 'exists') | |
value | string | Optional. |