Interface ContactServiceQueue

Configuration for a contact service queue

interface ContactServiceQueue {
    active: boolean;
    agents?: QueueAgent[];
    agentsLastUpdatedByUserEmailPrefix?: string;
    agentsLastUpdatedByUserName?: string;
    agentsLastUpdatedTime?: number;
    assistantSkill?: AssistantSkillMapping;
    callDistributionGroups: CallDistributionGroup[];
    channelType: "EMAIL" | "CHAT" | "TELEPHONY" | "FAX" | "VIDEO" | "OTHERS" | "SOCIAL_CHANNEL";
    checkAgentAvailability: boolean;
    controlFlowScriptUrl: string;
    createdTime?: number;
    defaultMusicInQueueMediaFileId: string;
    description?: string;
    id?: string;
    ivrRequeueUrl: string;
    lastUpdatedTime?: number;
    maxActiveContacts: number;
    maxTimeInQueue: number;
    monitoringPermitted: boolean;
    name: string;
    organizationId?: string;
    outdialCampaignEnabled?: boolean;
    overflowNumber?: string;
    parkingPermitted: boolean;
    pauseRecordingPermitted: boolean;
    queueRoutingType: "TEAM_BASED" | "SKILL_BASED" | "AGENT_BASED";
    queueSkillRequirements?: QueueSkillRequirement[];
    queueType: "OUTBOUND" | "INBOUND";
    recordingAllCallsPermitted: boolean;
    recordingPauseDuration?: number;
    recordingPermitted: boolean;
    routingType: "LONGEST_AVAILABLE_AGENT" | "SKILLS_BASED" | "CIRCULAR" | "LINEAR";
    serviceLevelThreshold: number;
    skillBasedRoutingType?: "LONGEST_AVAILABLE_AGENT" | "BEST_AVAILABLE_AGENT";
    socialChannelType?: "WHATSAPP" | "MESSAGEBIRD" | "MESSENGER" | "APPLE_BUSINESS_CHAT" | "GOOGLE_BUSINESS_MESSAGES";
    subscriptionId?: string;
    systemDefault?: boolean;
    timezone?: string;
    vendorId?: string;
    version?: number;
    xspVersion?: string;
}

Properties

active: boolean

Whether the queue is active

agents?: QueueAgent[]

List of agents for agent-based queue

agentsLastUpdatedByUserEmailPrefix?: string

Email of user who last updated agents list

agentsLastUpdatedByUserName?: string

User who last updated agents list

agentsLastUpdatedTime?: number

When agents list was last updated

assistantSkill?: AssistantSkillMapping

Assistant skill mapping

callDistributionGroups: CallDistributionGroup[]

Call distribution groups

channelType: "EMAIL" | "CHAT" | "TELEPHONY" | "FAX" | "VIDEO" | "OTHERS" | "SOCIAL_CHANNEL"

Channel type (TELEPHONY, EMAIL, SOCIAL_CHANNEL, CHAT, etc.)

checkAgentAvailability: boolean

Whether to check agent availability

controlFlowScriptUrl: string

Control flow script URL

createdTime?: number

Creation timestamp in epoch millis

defaultMusicInQueueMediaFileId: string

Default music in queue media file ID

description?: string

Description of the queue

id?: string

Unique identifier for the queue

ivrRequeueUrl: string

IVR requeue URL

lastUpdatedTime?: number

Last updated timestamp in epoch millis

maxActiveContacts: number

Maximum number of simultaneous contacts

maxTimeInQueue: number

Maximum time in queue in seconds

monitoringPermitted: boolean

Whether monitoring is permitted

name: string

Name of the Contact Service Queue

organizationId?: string

Organization ID

outdialCampaignEnabled?: boolean

Whether outdial campaign is enabled

overflowNumber?: string

Overflow number for telephony

parkingPermitted: boolean

Whether parking is permitted

pauseRecordingPermitted: boolean

Whether pausing recording is permitted

queueRoutingType: "TEAM_BASED" | "SKILL_BASED" | "AGENT_BASED"

Queue routing type

queueSkillRequirements?: QueueSkillRequirement[]

Queue skill requirements

queueType: "OUTBOUND" | "INBOUND"

Queue type (INBOUND, OUTBOUND)

recordingAllCallsPermitted: boolean

Whether recording all calls is permitted

recordingPauseDuration?: number

Recording pause duration in seconds

recordingPermitted: boolean

Whether recording is permitted

routingType: "LONGEST_AVAILABLE_AGENT" | "SKILLS_BASED" | "CIRCULAR" | "LINEAR"

Routing type

serviceLevelThreshold: number

Service level threshold in seconds

skillBasedRoutingType?: "LONGEST_AVAILABLE_AGENT" | "BEST_AVAILABLE_AGENT"

Skills-based routing type

socialChannelType?: "WHATSAPP" | "MESSAGEBIRD" | "MESSENGER" | "APPLE_BUSINESS_CHAT" | "GOOGLE_BUSINESS_MESSAGES"

Social channel type for SOCIAL_CHANNEL channelType

subscriptionId?: string

Subscription ID

systemDefault?: boolean

Whether this is a system default queue

timezone?: string

Timezone for routing strategies

vendorId?: string

Vendor ID

version?: number

Version of the queue

xspVersion?: string

XSP version