@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Enumeration InteractionCommSubType

    The direction (sub-communication type) of an interaction.

    The SDK supports two well-known directions today - inbound and outbound. Server-reported values that the SDK does not handle (e.g. callback, voicemail) are normalised to InteractionCommSubType.UNKNOWN so consumers can branch safely without a string match against an open-ended set. Read from InteractionTrait.communicationSubType.

    if (interaction.communicationSubType === InteractionCommSubType.OUTBOUND) {
    console.log("Agent-initiated outbound call");
    }
    Index

    Enumeration Members

    Enumeration Members

    INBOUND: "inbound"

    A customer-initiated (inbound) interaction.

    OUTBOUND: "outbound"

    An agent-initiated (outbound) interaction.

    UNKNOWN: "unknown"

    The received sub-communication type did not match any value the SDK handles.