| @@ -697,8 +697,21 @@ | ||
| 697 | 697 | is_locked: boolean; |
| 698 | 698 | variables: string[]; |
| 699 | 699 | created_at?: string; |
| 700 | 700 | updated_at?: string; |
| 701 | + /** | |
| 702 | + * Pro Email Automation trip-specific overrides. `overrides` is the global | |
| 703 | + * template's key when this row is an override ("" otherwise); `targets` | |
| 704 | + * says which trips it applies to; `priority` orders overrides of the same | |
| 705 | + * global template; `effective_event_key` is the event the row fires on | |
| 706 | + * (an override's own event_key is stored empty). | |
| 707 | + */ | |
| 708 | + overrides?: string; | |
| 709 | + /** True when this global template may have trip-specific overrides. */ | |
| 710 | + overridable?: boolean; | |
| 711 | + targets?: { trips?: number[]; categories?: number[]; trip_types?: string[] }; | |
| 712 | + priority?: number; | |
| 713 | + effective_event_key?: string; | |
| 701 | 714 | }; |
| 702 | 715 | |
| 703 | 716 | export type BuildLocalTemplateRowsOptions = { |
| 704 | 717 | isProPluginActive: boolean; |