You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v5.0.2: fix notification campaign class enum missing values (#36)
## Problem
Notification's campaign entity is built on top of Campaign's original `StateEnum`, but extending it with a few more calculated-derived states for communicating those to the consumers.
These are not part of the original enum and therefore the constructor of the Campaign Class fails when initiating such instances
## Solution
Extend the `StateEnum` to support the full range of values:
- `ENABLED` : enabled
- `DISABLED` : disabled
- `ARCHIVED` : archived
- `EXPIRED` : expired
- `SCHEDULED` : scheduled
- `RUNNING` : running
- `DRAFT` : draft
Co-authored-by: Kristina Kupreeva <kristine.kupreeva@gmail.com>
0 commit comments