five9types

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACDState added in v0.0.7

type ACDState struct {
	ID                      QueueID `json:"id"`
	CallsInQueue            uint64  `json:"callsInQueue"`
	CallbacksInQueue        uint64  `json:"callbacksInQueue"`
	VoicemailsInQueue       uint64  `json:"voicemailsInQueue"`
	VoicemailsInProgress    uint64  `json:"voicemailsInProgress"`
	VoicemailsTotal         uint64  `json:"voicemailsTotal"`
	AgentsInVoicemailQueue  uint64  `json:"agentsInVoicemailQueue"`
	AgentsActive            uint64  `json:"agentsActive"`
	AgentsLoggedIn          uint64  `json:"agentsLoggedIn"`
	AgentsInQueue           uint64  `json:"agentsInQueue"`
	AgentsOnCall            uint64  `json:"agentsOnCall"`
	AgentsNotReadyForCalls  uint64  `json:"agentsNotReadyForCalls"`
	LongestQueueTime        uint64  `json:"longestQueueTime"`
	CurrentLongestQueueTime uint64  `json:"currentLongestQueueTime"`
	VivrCallsInQueue        uint64  `json:"vivrCallsInQueue"`
}

type AgentInfo

type AgentInfo struct {
	ID       UserID   `json:"id"`
	UserName UserName `json:"userName"`
}

type AgentState

type AgentState struct {
	ID                         UserID                   `json:"id"`
	CallType                   any                      `json:"callType"`
	CampaignID                 *CampaignID              `json:"campaignId"`
	Customer                   any                      `json:"customer"`
	MediaAvailability          string                   `json:"mediaAvailability"`
	ParkedCallsCount           uint64                   `json:"parkedCallsCount"`
	ReasonCodeID               ReasonCodeID             `json:"reasonCodeId"`
	State                      UserState                `json:"state"`
	StateSince                 uint64                   `json:"stateSince"`
	StateDuration              uint64                   `json:"stateDuration"`
	OnHoldStateSince           uint64                   `json:"onHoldStateSince"`
	OnHoldStateDuration        uint64                   `json:"onHoldStateDuration"`
	OnParkStateSince           uint64                   `json:"onParkStateSince"`
	OnParkStateDuration        uint64                   `json:"onParkStateDuration"`
	ReasonCodeSince            uint64                   `json:"reasonCodeSince"`
	ReasonCodeDuration         uint64                   `json:"reasonCodeDuration"`
	AfterCallWorkStateSince    uint64                   `json:"afterCallWorkStateSince"`
	AfterCallWorkStateDuration uint64                   `json:"afterCallWorkStateDuration"`
	LoggedOutStateSince        uint64                   `json:"loggedOutStateSince"`
	LoggedOutStateDuration     uint64                   `json:"loggedOutStateDuration"`
	NotReadyStateSince         uint64                   `json:"notReadyStateSince"`
	NotReadyStateDuration      uint64                   `json:"notReadyStateDuration"`
	OnCallStateSince           uint64                   `json:"onCallStateSince"`
	OnCallStateDuration        uint64                   `json:"onCallStateDuration"`
	ReadyStateSince            uint64                   `json:"readyStateSince"`
	ReadyStateDuration         uint64                   `json:"readyStateDuration"`
	PermanentRecording         bool                     `json:"permanentRecording"`
	SessionRecording           bool                     `json:"sessionRecording"`
	ReadyChannels              string                   `json:"readyChannels"`
	Presence                   Presence                 `json:"presence"`
	ChannelAvailability        map[Channel]ChannelState `json:"channelAvailability"`
}

type AgentStatistics added in v0.0.7

type AgentStatistics struct {
	ID                              UserID            `json:"id"`
	TotalCallsCount                 uint64            `json:"totalCallsCount"`
	AgentCallsCount                 uint64            `json:"agentCallsCount"`
	TotalCallsWithoutInternalsCount uint64            `json:"totalCallsWithoutInternalsCount"`
	BreaksCount                     uint64            `json:"breaksCount"`
	AverageBreakTime                uint64            `json:"averageBreakTime"`
	AverageCallTime                 uint64            `json:"averageCallTime"`
	AverageHoldTime                 uint64            `json:"averageHoldTime"`
	AverageIdleTime                 uint64            `json:"averageIdleTime"`
	InternalCallsCount              uint64            `json:"internalCallsCount"`
	AverageInternalCallTime         uint64            `json:"averageInternalCallTime"`
	PreviewCallsCount               uint64            `json:"previewCallsCount"`
	PreviewTime                     uint64            `json:"previewTime"`
	AveragePreviewTime              uint64            `json:"averagePreviewTime"`
	AverageHandleTime               uint64            `json:"averageHandleTime"`
	ProcessedVoicemailCount         uint64            `json:"processedVoicemailCount"`
	AverageVoicemailProcessingTime  uint64            `json:"averageVoicemailProcessingTime"`
	AverageVoicemailReadyTime       uint64            `json:"averageVoicemailReadyTime"`
	AverageWrapTime                 uint64            `json:"averageWrapTime"`
	CallCharges                     float64           `json:"callCharges"`
	SkippedInPreviewCallsCount      uint64            `json:"skippedInPreviewCallsCount"`
	Dispositions                    map[string]uint64 `json:"dispositions"`
	FirstCallResolution             uint64            `json:"firstCallResolution"`
	InboundCallsCount               uint64            `json:"inboundCallsCount"`
	SuccessfulInternalCallsCount    uint64            `json:"successfulInternalCallsCount"`
	LoginTime                       uint64            `json:"loginTime"`
	Occupancy                       float64           `json:"occupancy"`
	OutboundCallsCount              uint64            `json:"outboundCallsCount"`
	OffBreakTime                    uint64            `json:"offBreakTime"`
	Utilization                     float64           `json:"utilization"`
}

type AuthenticationTokenID

type AuthenticationTokenID string

type CampaignID

type CampaignID string

type CampaignMode

type CampaignMode string
const (
	CampaignModeBasic    CampaignMode = "BASIC"
	CampaignModeAdvanced CampaignMode = "ADVANCED"
)

type CampaignStateLabel

type CampaignStateLabel string
const (
	CampaignStateLabelRunning    CampaignStateLabel = "RUNNING"
	CampaignStateLabelNotRunning CampaignStateLabel = "NOT_RUNNING"
)

type Channel

type Channel string
const (
	ChannelVideo     Channel = "Video"
	ChannelTotal     Channel = "Total"
	ChannelChat      Channel = "Chat"
	ChannelVoicemail Channel = "Voicemail"
	ChannelVoice     Channel = "Voice"
)

type ChannelAvailability added in v0.0.7

type ChannelAvailability struct {
	Video     ChannelState `json:"Video"`
	Total     ChannelState `json:"Total"`
	Chat      ChannelState `json:"Chat"`
	Voicemail ChannelState `json:"Voicemail"`
	Voice     ChannelState `json:"Voice"`
}

type ChannelState added in v0.0.7

type ChannelState struct {
	Current uint64 `json:"current"`
	Max     uint64 `json:"max"`
	Status  string `json:"status"`
}

type CorrelationID

type CorrelationID string

type DataCenter

type DataCenter struct {
	Name   string   `json:"name"`
	UI     []server `json:"uiUrls"`
	API    []server `json:"apiUrls"`
	Login  []server `json:"loginUrls"`
	Active bool     `json:"active"`
}

type DataSource

type DataSource string
const (
	DataSourceACDStatus                  DataSource = "ACD_STATUS"
	DataSourceAgentState                 DataSource = "AGENT_STATE"
	DataSourceAgentStatistic             DataSource = "AGENT_STATISTIC"
	DataSourceCampaignState              DataSource = "CAMPAIGN_STATE"
	DataSourceInboundCampaignStatistics  DataSource = "INBOUND_CAMPAIGN_STATISTICS"
	DataSourceStations                   DataSource = "STATIONS"
	DataSourceOutboundCampaignStatistics DataSource = "OUTBOUND_CAMPAIGN_STATISTICS"
	DataSourceOutboundCampaignManager    DataSource = "OUTBOUND_CAMPAIGN_MANAGER"
	DataSourceUserSession                DataSource = "USER_SESSION"
)

type EventID

type EventID string
const (
	EventIDServerConnected                    EventID = "1010"
	EventIDDuplicateConnection                EventID = "1020"
	EventIDPongReceived                       EventID = "1202" // Pong response to ping request
	EventIDSupervisorStats                    EventID = "5000" // Statistics data has been received.
	EventIDDispositionsInvalidated            EventID = "5002" // Disposition has been removed or	created, or disposition name has been changed.
	EventIDSkillsInvalidated                  EventID = "5003" // Skill has been removed or created, or	queue name has been changed.
	EventIDAgentGroupsInvalidated             EventID = "5004"
	EventIDCampaignsInvalidated               EventID = "5005"
	EventIDUsersInvalidated                   EventID = "5006"
	EventIDReasonCodesInvalidated             EventID = "5007"
	EventIDCampaignProfilesInvalidated        EventID = "5008"
	EventIDCampaignOutOfNumbers               EventID = "5009"
	EventIDListsInvalidated                   EventID = "5010"
	EventIDCampaignListsChanged               EventID = "5011"
	EventIDIncrementalStatsUpdate             EventID = "5012"
	EventIDIncrementalUserProfilesUpdate      EventID = "5013"
	EventIDFilterSettingsUpdated              EventID = "6001"
	EventIDAgentsInvalidated                  EventID = "6002"
	EventIDPermissionsUpdated                 EventID = "6003"
	EventIDResetCampaignDispositionsCompleted EventID = "6004"
	EventIDMonitoringStateUpdated             EventID = "6005"
	EventIDRandomMonitoringStarted            EventID = "6006"
	EventIDFdsRealTime                        EventID = "6007"
	EventIDIncrementalInteractions            EventID = "6008"
)

type EventReason

type EventReason string
const (
	EventReasonConnectionSuccessful EventReason = "Successful WebSocket Connection"
	EventReasonUpdated              EventReason = "UPDATED"
)

type FarmID

type FarmID string

type FilterSettingsSelectionType added in v0.0.7

type FilterSettingsSelectionType string
const (
	SelectAll     FilterSettingsSelectionType = "ALL"     // Show statistics for all the queues or agent groups
	SelectMy      FilterSettingsSelectionType = "MY"      // Show statistics for the user's queues or agent groups
	SelectSpecify FilterSettingsSelectionType = "SPECIFY" // Show statistics for the specified queue or agent groups.

)

type LoginPayload

type LoginPayload struct {
	PasswordCredentials PasswordCredentials `json:"passwordCredentials"`
	AppKey              string              `json:"appKey"`
	Policy              Policy              `json:"policy"`
}

type LoginResponse

type LoginResponse struct {
	TokenID   AuthenticationTokenID `json:"tokenID"`
	SessionID SessionID             `json:"sessionId"`
	OrgID     OrganizationID        `json:"orgID"`
	UserID    UserID                `json:"userID"`
	Context   SessionContext        `json:"context"`
	Metadata  SessionMetadata       `json:"metadata"`
}

func (LoginResponse) GetAPIHost

func (v LoginResponse) GetAPIHost() string

type MaintenanceNoticeID

type MaintenanceNoticeID string

type MaintenanceNoticeInfo

type MaintenanceNoticeInfo struct {
	Accepted   bool                `json:"accepted"`
	Annotation string              `json:"annotation"`
	ID         MaintenanceNoticeID `json:"id"`
	Text       string              `json:"text"`
}

type MessageID

type MessageID string

type NotReadyReasonCode added in v0.0.7

type NotReadyReasonCode int

type OrganizationID

type OrganizationID string

type PasswordCredentials

type PasswordCredentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Policy

type Policy string
const (
	PolicyAttachExisting Policy = "AttachExisting"
	PolicyForceIn        Policy = "ForceIn"
)

type Presence

type Presence struct {
	OnVoice                  bool   `json:"onVoice"`
	OnSCC                    bool   `json:"onSCC"`
	ChangeTimestamp          uint64 `json:"changeTimestamp"`
	NextStateChangeTimestamp uint64 `json:"nextStateChangeTimestamp"`
	GracefulModeOn           bool   `json:"gracefulModeOn"`
	CurrentState             State  `json:"currentState"`
	PendingState             State  `json:"pendingState"`
}

type PresenceStateCode

type PresenceStateCode string
const (
	PresenceStateCodePendingState PresenceStateCode = "pendingState"
	PresenceStateCodeCurrentState PresenceStateCode = "currentState"
)

type ProfileID

type ProfileID string

type QueueID added in v0.0.7

type QueueID string

type QueueInfo added in v0.0.7

type QueueInfo struct {
	ID   QueueID `json:"id"`
	Name string  `json:"name"`
}

type ReasonCodeID

type ReasonCodeID string

type ReasonCodeInfo

type ReasonCodeInfo struct {
	ID         ReasonCodeID `json:"id"`
	Name       string       `json:"name"`
	Selectable bool         `json:"selectable"`
}

type SessionContext

type SessionContext struct {
	CloudClientURL string `json:"cloudClientUrl"`
	CloudTokenURL  string `json:"cloudTokenUrl"`
	FarmID         FarmID `json:"farmId"`
}

type SessionID

type SessionID string

type SessionMetadata

type SessionMetadata struct {
	FreedomURL  string       `json:"freedomUrl"`
	DataCenters []DataCenter `json:"dataCenters"`
}

type SkillID added in v0.0.7

type SkillID string

type State added in v0.0.7

type State struct {
	ReadyChannels      []string           `json:"readyChannels"`
	NotReadyReasonCode NotReadyReasonCode `json:"notReadyReasonCode"`
}

type StationID

type StationID string

type StationInfo

type StationInfo struct {
	StationID   string `json:"stationId"`
	StationType string `json:"stationType"`
}

type StatisticsRange added in v0.0.7

type StatisticsRange string // Enumeration of time periods to use as statistics filters.
const (
	RangeCurrentDay   StatisticsRange = "CURRENT_DAY"   // Current day
	RangeCurrentMonth StatisticsRange = "CURRENT_MONTH" // Current month
	RangeCurrentShift StatisticsRange = "CURRENT_SHIFT" // Current day shift by the number of hours specified in StatsFilterSettingsInfo
	RangeCurrentWeek  StatisticsRange = "CURRENT_WEEK"  // Current week
	RangeLifetime     StatisticsRange = "LIFETIME"      // All time
	RangeRollingHour  StatisticsRange = "ROLLING_HOUR"  // Last hour divided into five minute intervals
)

type StatisticsRollingPeriod added in v0.0.7

type StatisticsRollingPeriod string // Enumeration with the time period for the list and campaign statistics.
const (
	FiveMinutes    StatisticsRollingPeriod = "MINUTES5"
	TenMinutes     StatisticsRollingPeriod = "MINUTES10"
	FifteenMinutes StatisticsRollingPeriod = "MINUTES15"
	ThirtyMinutes  StatisticsRollingPeriod = "MINUTES30"
	OneHour        StatisticsRollingPeriod = "HOUR1"
	TwoHours       StatisticsRollingPeriod = "HOUR2"
	ThreeHours     StatisticsRollingPeriod = "HOUR3"
	Today          StatisticsRollingPeriod = "TODAY"
)

type StatsFilterSettingsInfo added in v0.0.7

type StatsFilterSettingsInfo struct {
	Groups               []string                    `json:"groups"`               // Array of agent groups. You set this when groupsSelectionType is set to SPECIFY
	GroupSelectionType   FilterSettingsSelectionType `json:"groupSelectionType"`   //
	Range                StatisticsRange             `json:"range"`                //
	RollingTimePeriod    StatisticsRollingPeriod     `json:"rollingTimePeriod"`    //
	ShiftHours           uint64                      `json:"shiftHours"`           // Number of hours to shift when range is set to CURRENT_SHIFT.
	Skills               []QueueID                   `json:"skills"`               // Array of queues available when skillsSelectionType is set to SPECIFY
	SkillsSelectionType  FilterSettingsSelectionType `json:"skillsSelectionType"`  //
	SubscribedHourOffset uint64                      `json:"subscribedHourOffset"` //
	TimeZone             *string                     `json:"timeZone"`             // Domain’s time zone. Default value is null
	TimeZoneID           *string                     `json:"timeZoneID"`           //
	UseAdminTimeZone     bool                        `json:"useAdminTimeZone"`     //
}

Information about the statistics filter settings.

type SupervisorUserInfo

type SupervisorUserInfo struct {
	Email    string   `json:"email"`
	ID       UserID   `json:"id"`
	UserName UserName `json:"userName"`
}

type TenantID

type TenantID string

type UserFullStateInfo added in v0.0.7

type UserFullStateInfo struct {
	CurrentState          Presence `json:"currentState"`
	CurrentStateTime      uint64   `json:"currentStateLong"`
	IsGracefulModeOn      bool     `json:"isGracefulModeOn"`
	PendingState          Presence `json:"pendingState"`
	PendingStateDelayTime uint64   `json:"pendingStateDelayTime"`
}

type UserID

type UserID string

type UserLoginState

type UserLoginState string
const (
	UserLoginStateWorking       UserLoginState = "WORKING"
	UserLoginStateSelectStation UserLoginState = "SELECT_STATION"
	UserLoginStateAcceptNotice  UserLoginState = "ACCEPT_NOTICE"
	UserLoginStateRelogin       UserLoginState = "RELOGIN"
)

type UserName

type UserName string

type UserRole

type UserRole string
const (
	UserRoleDomainAdmin      UserRole = "DomainAdmin"
	UserRoleDomainSupervisor UserRole = "DomainSupervisor"
	UserRoleAgent            UserRole = "Agent"
	UserRoleReporting        UserRole = "Reporting"
)

type UserState

type UserState string
const (
	UserStateAfterCallWork UserState = "ACW"
	UserStateLoggedOut     UserState = "LOGGED_OUT"
	UserStateNotReady      UserState = "NOT_READY"
	UserStateReady         UserState = "READY"
	UserStateOnCall        UserState = "ON_CALL"
	UserStateRinging       UserState = "RINGING"
)

type WebSocketIncrementalACDStateData added in v0.0.7

type WebSocketIncrementalACDStateData struct {
	DataSource DataSource `json:"dataSource"`
	Added      []ACDState `json:"added"`
	Updated    []ACDState `json:"updated"`
	Removed    []QueueID  `json:"removed"`
}

type WebSocketIncrementalAgentStateData added in v0.0.7

type WebSocketIncrementalAgentStateData struct {
	DataSource DataSource   `json:"dataSource"`
	Added      []AgentState `json:"added"`
	Updated    []AgentState `json:"updated"`
	Removed    []UserID     `json:"removed"`
}

type WebSocketIncrementalAgentStatisticsData added in v0.0.7

type WebSocketIncrementalAgentStatisticsData struct {
	DataSource DataSource        `json:"dataSource"`
	Added      []AgentStatistics `json:"added"`
	Updated    []AgentStatistics `json:"updated"`
	Removed    []UserID          `json:"removed"`
}

type WebSocketStatisticsAgentStateData

type WebSocketStatisticsAgentStateData struct {
	ID                         UserID                   `json:"id"`
	CallType                   any                      `json:"callType"`
	CampaignID                 *CampaignID              `json:"campaignId"`
	Customer                   any                      `json:"customer"`
	MediaAvailability          string                   `json:"mediaAvailability"`
	ParkedCallsCount           uint64                   `json:"parkedCallsCount"`
	ReasonCodeID               ReasonCodeID             `json:"reasonCodeId"`
	State                      UserState                `json:"state"`
	StateSince                 uint64                   `json:"stateSince"`
	StateDuration              uint64                   `json:"stateDuration"`
	OnHoldStateSince           uint64                   `json:"onHoldStateSince"`
	OnHoldStateDuration        uint64                   `json:"onHoldStateDuration"`
	OnParkStateSince           uint64                   `json:"onParkStateSince"`
	OnParkStateDuration        uint64                   `json:"onParkStateDuration"`
	ReasonCodeSince            uint64                   `json:"reasonCodeSince"`
	ReasonCodeDuration         uint64                   `json:"reasonCodeDuration"`
	AfterCallWorkStateSince    uint64                   `json:"afterCallWorkStateSince"`
	AfterCallWorkStateDuration uint64                   `json:"afterCallWorkStateDuration"`
	LoggedOutStateSince        uint64                   `json:"loggedOutStateSince"`
	LoggedOutStateDuration     uint64                   `json:"loggedOutStateDuration"`
	NotReadyStateSince         uint64                   `json:"notReadyStateSince"`
	NotReadyStateDuration      uint64                   `json:"notReadyStateDuration"`
	OnCallStateSince           uint64                   `json:"onCallStateSince"`
	OnCallStateDuration        uint64                   `json:"onCallStateDuration"`
	ReadyStateSince            uint64                   `json:"readyStateSince"`
	ReadyStateDuration         uint64                   `json:"readyStateDuration"`
	PermanentRecording         bool                     `json:"permanentRecording"`
	SessionRecording           bool                     `json:"sessionRecording"`
	ReadyChannels              string                   `json:"readyChannels"`
	NotReadyReasonCode         NotReadyReasonCode       `json:"notReadyReasonCode"`
	ChannelAvailability        map[Channel]ChannelState `json:"channelAvailability"`
}

type WebSocketStatisticsCampaignStateData

type WebSocketStatisticsCampaignStateData struct {
	ID            CampaignID         `json:"id"`
	CampaignState CampaignStateLabel `json:"campaignState"`
	Priority      *uint64            `json:"priority"`
	Ratio         *uint64            `json:"ratio"`
	CurrentAction string             `json:"currentAction"`
	StateSince    uint64             `json:"stateSince"`
	Mode          *CampaignMode      `json:"mode"`
	ProfileID     *ProfileID         `json:"profileId"`
}

type WebSocketStatisticsInboundCampaignStatisticsData

type WebSocketStatisticsInboundCampaignStatisticsData struct {
	ID                               CampaignID        `json:"id"`
	AssociatedWithAgentsCallsCount   uint64            `json:"associatedWithAgentsCallsCount"`
	ConnectedPlusAbandonedCallsCount uint64            `json:"connectedPlusAbandonedCallsCount"`
	AbandonCallRate                  float64           `json:"abandonCallRate"`
	TotalCallsCount                  uint64            `json:"totalCallsCount"`
	AverageAvailabilityTime          uint64            `json:"averageAvailabilityTime"`
	AverageCallTime                  uint64            `json:"averageCallTime"`
	HandledCallsCount                uint64            `json:"handledCallsCount"`
	AverageHandleTime                uint64            `json:"averageHandleTime"`
	AverageSpeedOfAnswer             uint64            `json:"averageSpeedOfAnswer"`
	AverageWrapTime                  uint64            `json:"averageWrapTime"`
	CallCharges                      float64           `json:"callCharges"`
	AbandonedCallsCount              uint64            `json:"abandonedCallsCount"`
	ConnectedCallsCount              uint64            `json:"connectedCallsCount"`
	FinishedInIVRErrorCallsCount     uint64            `json:"finishedInIVRErrorCallsCount"`
	FinishedInIVRSuccessCallsCount   uint64            `json:"finishedInIVRSuccessCallsCount"`
	RejectedCallsCount               uint64            `json:"rejectedCallsCount"`
	Dispositions                     map[string]uint64 `json:"dispositions"`
	FirstCallResolution              uint64            `json:"firstCallResolution"`
	LongestHoldTime                  uint64            `json:"longestHoldTime"`
	LongestQueueTime                 uint64            `json:"longestQueueTime"`
	ServiceLevelQueue                float64           `json:"serviceLevelQueue"`
	ServiceLevelTalk                 float64           `json:"serviceLevelTalk"`
	VivrSessionsCounty               uint64            `json:"vivrSessionsCounty"`
}

type WebSocketStatisticsOutboundCampaignManagerData

type WebSocketStatisticsOutboundCampaignManagerData struct {
	ID                                CampaignID         `json:"id"`
	ReadyForCallAgentsCount           uint64             `json:"readyForCallAgentsCount"`
	DispositionedRecordsCount         uint64             `json:"dispositionedRecordsCount"`
	DialingAttemptsCount              uint64             `json:"dialingAttemptsCount"`
	ContactedCallsCount               uint64             `json:"contactedCallsCount"`
	SkippedInPreviewCallsCount        uint64             `json:"skippedInPreviewCallsCount"`
	CallsToAgentRatio                 float64            `json:"callsToAgentRatio"`
	CallsToAgentTargetRatio           float64            `json:"callsToAgentTargetRatio"`
	TotalRecordsCount                 uint64             `json:"totalRecordsCount"`
	AvailableRecordsCount             uint64             `json:"availableRecordsCount"`
	RedialedWithTimerRecordsCount     uint64             `json:"redialedWithTimerRecordsCount"`
	DialedWithoutTimerRecordsCount    uint64             `json:"dialedWithoutTimerRecordsCount"`
	DialedWithASAPRequestRecordsCount uint64             `json:"dialedWithASAPRequestRecordsCount"`
	NoPartyContactSystemCallsCount    uint64             `json:"noPartyContactSystemCallsCount"`
	AbandonedCallsCount               uint64             `json:"abandonedCallsCount"`
	UnreachableRecordsCount           uint64             `json:"unreachableRecordsCount"`
	CampaignState                     CampaignStateLabel `json:"campaignState"`
}

type WebSocketStatisticsUserSessionData

type WebSocketStatisticsUserSessionData struct {
	ID           SessionID `json:"id"`
	UserID       UserID    `json:"userId"`
	UserName     UserName  `json:"userName"`
	FullName     string    `json:"fullName"`
	Role         UserRole  `json:"role"`
	SessionStart uint64    `json:"sessionStart"`
	Station      StationID `json:"station"`
}

type WebsocketMessage

type WebsocketMessage struct {
	Context WebsocketMessageContext `json:"context"`
	Payload any                     `json:"payLoad"`
}

type WebsocketMessageContext

type WebsocketMessageContext struct {
	EventID EventID `json:"eventId"`
}

type WebsocketSupervisorACDData added in v0.0.7

type WebsocketSupervisorACDData struct {
	Data []ACDState `json:"data"`
}

type WebsocketSupervisorStateData added in v0.0.7

type WebsocketSupervisorStateData struct {
	Data []AgentState `json:"data"`
}

type WebsocketSupervisorStatisticsData added in v0.0.7

type WebsocketSupervisorStatisticsData struct {
	Data []AgentStatistics `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL