Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to make Personal Connection calls

Hierarchy

  • PersonalConnectionService

Index

Constructors

Properties

acdSession: ACDSessionManager = ...
auth: CXoneAuth
logger: Logger = ...
utilService: HttpUtilService = ...

Accessors

  • Method to create singleton object of the class

    @example
    const personalConnectionService = PersonalConnectionService.instance;

    Returns PersonalConnectionService

Methods

  • This call updates the contact state and allows subsequent calls to update the outcome status of the contact. The contact should have been routed to the Agent in a dialing state.

    example
    • callPlaced(123456)

    Parameters

    • contactId: string

      contact id

    Returns Promise<HttpResponse>

  • outcomeSelection(data: { contactId: string; outcome: string }): Promise<HttpResponse>
  • This method will update the outcome value of an independent call contact after the call is placed in a separate telephony system. This should only be called a single time on a contact to indicate the final outcome for the call.

    example
    • outcomeSelection(123456)

    Parameters

    • data: { contactId: string; outcome: string }
      • contactId: string
      • outcome: string

    Returns Promise<HttpResponse>

  • Service method to login to pc dialer

    example
    pcDialerLogin({ agentState: AgentState })
    

    Parameters

    • agentState: AgentState

      Log into the PC dialer skill

    Returns Promise<HttpResponse | CXoneSdkError>

    • response from the PC_DIALER_LOGIN api
  • Service method to logout of pc dialer

    example
    pcDialerLogout({ agentState: AgentState })
    

    Returns Promise<HttpResponse | CXoneSdkError>

    • response from the PC_DIALER_LOGOUT api
  • rescheduleCall(data: { callbackNumber: string; callbackTime: string; contactId: string; dispositionId: number; rescheduleCallNotes: string }): Promise<HttpResponse>
  • This method sets the primary and secondary dispositions on a contact after that contact has been disconnected. This API call allows you to select the Disposition, provide any notes as part of the dispositioning of the contact, and to provide a commitment amount, or a callback time and phone number.

    example
    • rescheduleSaveContact(123456)

    Parameters

    • data: { callbackNumber: string; callbackTime: string; contactId: string; dispositionId: number; rescheduleCallNotes: string }
      • callbackNumber: string
      • callbackTime: string
      • contactId: string
      • dispositionId: number
      • rescheduleCallNotes: string

    Returns Promise<HttpResponse>

  • Snoozes a preview personal connection contact. The contact will be delivered to another agent.

    example
    • snoozeContact(123456)

    Parameters

    • contactId: string

      contact id

    Returns Promise<HttpResponse>

Generated using TypeDoc