File size: 1,179 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package notification

import "github.com/target/goalert/notification/nfymsg"

type (
	Alert               = nfymsg.Alert
	AlertStatus         = nfymsg.AlertStatus
	AlertBundle         = nfymsg.AlertBundle
	Message             = nfymsg.Message
	Test                = nfymsg.Test
	Verification        = nfymsg.Verification
	SignalMessage       = nfymsg.SignalMessage
	ScheduleOnCallUsers = nfymsg.ScheduleOnCallUsers

	State = nfymsg.State
	User  = nfymsg.User

	Status      = nfymsg.Status
	SendResult  = nfymsg.SendResult
	SentMessage = nfymsg.SentMessage

	AlertState = nfymsg.AlertState
)

const (
	StateSending    = nfymsg.StateSending
	StateFailedPerm = nfymsg.StateFailedPerm
	StateFailedTemp = nfymsg.StateFailedTemp
	StateDelivered  = nfymsg.StateDelivered
	StateRead       = nfymsg.StateRead
	StateSent       = nfymsg.StateSent
	StateBundled    = nfymsg.StateBundled
	StateUnknown    = nfymsg.StateUnknown
	StatePending    = nfymsg.StatePending

	AlertStateUnknown        = nfymsg.AlertStateUnknown
	AlertStateUnacknowledged = nfymsg.AlertStateUnacknowledged
	AlertStateAcknowledged   = nfymsg.AlertStateAcknowledged
	AlertStateClosed         = nfymsg.AlertStateClosed
)