Constants
The @signalwire/sdk package re-exports string constants for call states,
connect states, event types, and message states. Import any of them from the
package root:
Call States
Constants representing the lifecycle states of a RELAY call. A call progresses
through these states in order: created -> ringing -> answered -> ending -> ended.
Connect States
Constants representing the state of a call bridge (connect) operation. Used in
ConnectEvent.connectState.
Event Types
String constants for RELAY event types. Use these when registering event
handlers with Call.on() or when matching against
RelayEvent.eventType.
Calling Events
Messaging Events
Message States
Constants representing the lifecycle states of an SMS/MMS message. Outbound
messages progress through: queued -> initiated -> sent -> delivered
(or undelivered / failed). Inbound messages arrive with state received.