diff --git a/CHANGELOG.md b/CHANGELOG.md index 99e1f72..6129474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 08.09.2022, Version 2.2.2 + +- add fields for multiple responders in escalation rule (escalation policy) + ## 06.09.2022, Version 2.2.1 - fix alert action search method diff --git a/escalationpolicy.go b/escalationpolicy.go index 35125ba..9004d27 100644 --- a/escalationpolicy.go +++ b/escalationpolicy.go @@ -18,9 +18,11 @@ type EscalationPolicy struct { // EscalationRule definition type EscalationRule struct { - User *User `json:"user,omitempty"` - Schedule *Schedule `json:"schedule,omitempty"` - EscalationTimeout int `json:"escalationTimeout"` + User *User `json:"user,omitempty"` + Users []User `json:"users,omitempty"` + Schedule *Schedule `json:"schedule,omitempty"` + Schedules []Schedule `json:"schedules,omitempty"` + EscalationTimeout int `json:"escalationTimeout"` } // CreateEscalationPolicyInput represents the input of a CreateEscalationPolicy operation. diff --git a/version.go b/version.go index eff169a..c895dfa 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package ilert // Version package version -const Version = "v2.2.1" +const Version = "v2.2.2"