Type alias Interaction

Interaction: {
    callFlowParams: Record<string, {
        description: string;
        name: string;
        qualifier: string;
        value: string;
        valueDataType: string;
    }>;
    callProcessingDetails: {
        BLIND_TRANSFER_IN_PROGRESS?: boolean;
        CONTINUE_RECORDING_ON_TRANSFER?: string;
        EP_ID?: string;
        IvrPath: string;
        QMgrName: string;
        QueueId: string;
        ROUTING_TYPE?: string;
        ani: string;
        appUser: string;
        category: string;
        childInteractionId?: string;
        consultDestinationAgentJoined?: boolean | string;
        consultDestinationAgentName?: string;
        convIvrTranscript?: string;
        ctqInProgress?: string;
        customerName: string;
        customerNumber: string;
        displayAni: string;
        dnis: string;
        fcDesktopView?: string;
        fceRegisteredEvents?: string;
        fromAddress: string;
        isConferencing?: string;
        isParked?: string;
        isPaused?: string;
        mohFileName?: string;
        monitorType?: string;
        monitoringInvisibleMode?: string;
        monitoringRequestId?: string;
        monitoringState?: string;
        outdialAgentId?: string;
        outdialTransferToQueueEnabled?: string;
        parentInteractionId?: string;
        parent_ANI?: string;
        parent_Agent_DN?: string;
        parent_Agent_Name?: string;
        parent_Agent_TeamName?: string;
        parent_DNIS?: string;
        participantInviteTimeout?: string;
        pathId: string;
        pauseDuration?: string;
        pauseResumeEnabled?: string;
        priority?: string;
        reason: string;
        reasonCode: string;
        recordInProgress?: string;
        recordingStarted?: string;
        relationshipType?: string;
        ronaTimeout: string;
        routingStrategyId?: string;
        sourceNumber: string;
        sourcePage: string;
        taskToBeSelfServiced: string;
        tenantId: string;
        virtualTeamName: string;
        vteamId: string;
        workflowId?: string;
        workflowName?: string;
    };
    contactDirection: {
        type: string;
    };
    createdTimestamp?: number;
    currentVTeam: string;
    interactionId: string;
    isFcManaged: boolean;
    isTerminated: boolean;
    isWrapUpAssist?: boolean;
    mainInteractionId?: string;
    media: Record<string, {
        holdTimestamp: number | null;
        isHold: boolean;
        mType: string;
        mediaMgr: string;
        mediaResourceId: string;
        mediaType: MEDIA_CHANNEL;
        participants: string[];
    }>;
    mediaChannel: MEDIA_CHANNEL;
    mediaType: MEDIA_CHANNEL;
    orgId: string;
    outboundType?: string;
    owner: string;
    participants: any;
    previousVTeams: string[];
    state: string;
}

Represents a customer interaction within the contact center system Contains comprehensive details about an ongoing customer interaction

Type declaration

  • callFlowParams: Record<string, {
        description: string;
        name: string;
        qualifier: string;
        value: string;
        valueDataType: string;
    }>

    Parameters passed through the call flow

  • callProcessingDetails: {
        BLIND_TRANSFER_IN_PROGRESS?: boolean;
        CONTINUE_RECORDING_ON_TRANSFER?: string;
        EP_ID?: string;
        IvrPath: string;
        QMgrName: string;
        QueueId: string;
        ROUTING_TYPE?: string;
        ani: string;
        appUser: string;
        category: string;
        childInteractionId?: string;
        consultDestinationAgentJoined?: boolean | string;
        consultDestinationAgentName?: string;
        convIvrTranscript?: string;
        ctqInProgress?: string;
        customerName: string;
        customerNumber: string;
        displayAni: string;
        dnis: string;
        fcDesktopView?: string;
        fceRegisteredEvents?: string;
        fromAddress: string;
        isConferencing?: string;
        isParked?: string;
        isPaused?: string;
        mohFileName?: string;
        monitorType?: string;
        monitoringInvisibleMode?: string;
        monitoringRequestId?: string;
        monitoringState?: string;
        outdialAgentId?: string;
        outdialTransferToQueueEnabled?: string;
        parentInteractionId?: string;
        parent_ANI?: string;
        parent_Agent_DN?: string;
        parent_Agent_Name?: string;
        parent_Agent_TeamName?: string;
        parent_DNIS?: string;
        participantInviteTimeout?: string;
        pathId: string;
        pauseDuration?: string;
        pauseResumeEnabled?: string;
        priority?: string;
        reason: string;
        reasonCode: string;
        recordInProgress?: string;
        recordingStarted?: string;
        relationshipType?: string;
        ronaTimeout: string;
        routingStrategyId?: string;
        sourceNumber: string;
        sourcePage: string;
        taskToBeSelfServiced: string;
        tenantId: string;
        virtualTeamName: string;
        vteamId: string;
        workflowId?: string;
        workflowName?: string;
    }

    Detailed call processing information and metadata

    • Optional BLIND_TRANSFER_IN_PROGRESS?: boolean

      Indicates if blind transfer is in progress

    • Optional CONTINUE_RECORDING_ON_TRANSFER?: string

      Flag for continuing recording during transfer

    • Optional EP_ID?: string

      Entry point identifier

    • IvrPath: string

      Path taken through the IVR system

    • QMgrName: string

      Name of the Queue Manager handling this interaction

    • QueueId: string

      Queue identifier

    • Optional ROUTING_TYPE?: string

      Type of routing being used

    • ani: string

      Automatic Number Identification (caller's number)

    • appUser: string

      Application user identifier

    • category: string

      Category of the interaction

    • Optional childInteractionId?: string

      Identifier of the child interaction for related interactions

    • Optional consultDestinationAgentJoined?: boolean | string

      Indicates if the consulted destination agent has joined

    • Optional consultDestinationAgentName?: string

      Name of the destination agent for consultation

    • Optional convIvrTranscript?: string

      IVR conversation transcript

    • Optional ctqInProgress?: string

      Indicates if Consult to Queue is in progress

    • customerName: string

      Customer's name

    • customerNumber: string

      Customer's contact number

    • displayAni: string

      Display version of the ANI

    • dnis: string

      Dialed Number Identification Service number

    • Optional fcDesktopView?: string

      Desktop view configuration for Flow Control

    • Optional fceRegisteredEvents?: string

      Events registered with Flow Control Engine

    • fromAddress: string

      Email address or contact point that initiated the interaction

    • Optional isConferencing?: string

      Indicates if the interaction is in conference mode

    • Optional isParked?: string

      Indicates if the interaction is parked

    • Optional isPaused?: string

      Indicates if the interaction is currently paused

    • Optional mohFileName?: string

      Filename for music on hold

    • Optional monitorType?: string

      Type of monitoring being performed

    • Optional monitoringInvisibleMode?: string

      Indicates if monitoring is in invisible mode

    • Optional monitoringRequestId?: string

      Identifier for the monitoring request

    • Optional monitoringState?: string

      Current state of monitoring

    • Optional outdialAgentId?: string

      Agent ID who initiated the outdial call

    • Optional outdialTransferToQueueEnabled?: string

      Indicates if outdial transfer to queue is enabled

    • Optional parentInteractionId?: string

      Identifier of the parent interaction for related interactions

    • Optional parent_ANI?: string

      ANI of the parent interaction

    • Optional parent_Agent_DN?: string

      DN of the parent interaction's agent

    • Optional parent_Agent_Name?: string

      Name of the parent interaction's agent

    • Optional parent_Agent_TeamName?: string

      Team name of the parent interaction's agent

    • Optional parent_DNIS?: string

      DNIS of the parent interaction

    • Optional participantInviteTimeout?: string

      Timeout for participant invitation

    • pathId: string

      Identifier for the IVR path

    • Optional pauseDuration?: string

      Duration of pause in seconds

    • Optional pauseResumeEnabled?: string

      Indicates if pause/resume functionality is enabled

    • Optional priority?: string

      Priority level of the interaction

    • reason: string

      Reason for the interaction

    • reasonCode: string

      Code indicating the reason for interaction

    • Optional recordInProgress?: string

      Indicates if recording is in progress

    • Optional recordingStarted?: string

      Indicates if recording has started

    • Optional relationshipType?: string

      Type of relationship between parent and child interactions

    • ronaTimeout: string

      RONA (Redirection on No Answer) timeout in seconds

    • Optional routingStrategyId?: string

      Identifier for the routing strategy

    • sourceNumber: string

      Source number for the interaction

    • sourcePage: string

      Source page that initiated the interaction

    • taskToBeSelfServiced: string

      Indicates if the task should be self-serviced

    • tenantId: string

      Tenant identifier

    • virtualTeamName: string

      Name of the virtual team

    • vteamId: string

      Virtual team identifier

    • Optional workflowId?: string

      Identifier of the workflow

    • Optional workflowName?: string

      Name of the workflow being executed

  • contactDirection: {
        type: string;
    }

    Direction information for the contact

    • type: string
  • Optional createdTimestamp?: number

    Timestamp when the interaction was created

  • currentVTeam: string

    Current virtual team handling the interaction

  • interactionId: string

    Unique identifier for the interaction

  • isFcManaged: boolean

    Indicates if the interaction is managed by Flow Control

  • isTerminated: boolean

    Indicates if the interaction has been terminated

  • Optional isWrapUpAssist?: boolean

    Indicates if wrap-up assistance is enabled

  • Optional mainInteractionId?: string

    Main interaction identifier for related interactions

  • media: Record<string, {
        holdTimestamp: number | null;
        isHold: boolean;
        mType: string;
        mediaMgr: string;
        mediaResourceId: string;
        mediaType: MEDIA_CHANNEL;
        participants: string[];
    }>

    Media-specific information for the interaction

  • mediaChannel: MEDIA_CHANNEL

    Primary media channel for the interaction

  • mediaType: MEDIA_CHANNEL

    The type of media channel for this interaction

  • orgId: string

    Organization identifier

  • Optional outboundType?: string

    Type of outbound interaction

  • owner: string

    Owner of the interaction

  • participants: any

    List of participants in the interaction

  • previousVTeams: string[]

    List of previous virtual teams that handled this interaction

  • state: string

    Current state of the interaction