Socket.IO chat service 0.1.0

In client using https://www.npmjs.com/package/socket.io-client package | Url - ${baseUrl}/${channel}

Servers

Operations

  • SUB users

    Accepts one of the following messages:

    • #0NEW_USER
      object
      uid: user

      Examples

    • #1UPDATE_USER
      object
      uid: user

      Examples

  • PUB chats

    Accepts one of the following messages:

    • #0NEW_MESSAGE
      object

      Examples

    • #1UPDATE_MESSAGE
      object

      Examples

    • #2UPDATE_CONVERSATION_LAST_MESSAGE
      object

      Examples

  • SUB chats

    Accepts one of the following messages:

    • #0NEW_MESSAGE
      object
      uid: message

      Examples

    • #1UPDATE_MESSAGE
      object
      uid: message

      Examples

    • #2UPDATE_CONVERSATION_LAST_MESSAGE
      object

      Examples

  • PUB calls

    Accepts one of the following messages:

    • #0START_CALL
      object
      uid: start_call

      Examples

    • #1RESPONSE_INCOMING_CALL
      object
      uid: response_incoming_call

      Examples

    • #2END_CALL
      object
      uid: end_call

      Examples

    • #3AGENT_CALLBACK
      object
      uid: agent_callback

      Examples

    • #4RESPONSE_CALLBACK
      object
      uid: response_incoming_call

      Examples

    • #5TRANSFER_CALL
      object
      uid: transfer_call

      Examples

    • #6RESPONSE_TRANSFER_CALL
      object
      uid: response_incoming_call

      Examples

    • #7CANCEL_TRANSFER_CALL
      object
      uid: cancel_transfer_call

      Examples

    • #8UPDATE_TICKET_AGENT_ID
      object
      uid: update_ticket_agent_id

      Examples

  • SUB calls

    Accepts one of the following messages:

    • #0INCOMING
      object
      uid: incoming

      Examples

    • #1END_CALL
      object

      Examples

    • #2RESPONSE_INCOMING_CALL
      object

      Examples

    • #3RESPONSE_CALL_MULTIPLE_DEVICE
      object

      Examples

    • #4LEAVE_CALL
      object

      Examples

    • #5UPDATE_TICKET_AGENT_ID
      object
      uid: update_ticket_agent_id

      Examples

    • #6CANCEL_TRANSFER_CALL
      object

      Examples

    • #7RESPONSE_CALLBACK
      object

      Examples

    • #8END_CALLBACK
      object

      Examples

    • #9WRAP_UP
      object

      Examples

    • #10Partner network statusPARTNER_NETWORK_STATUS

      Listen for partners network status to know whether they are currently disconnected or connected

      object

      Examples

Messages

  • #1NEW_USER
    object
    uid: user
  • #2UPDATE_USER
    object
    uid: user
  • #3NEW_MESSAGE
    object
  • #4UPDATE_MESSAGE
    object
  • #5UPDATE_CONVERSATION_LAST_MESSAGE
    object
  • #6NEW_MESSAGE
    object
    uid: message
  • #7UPDATE_MESSAGE
    object
    uid: message
  • #8UPDATE_CONVERSATION_LAST_MESSAGE
    object
  • #9START_CALL
    object
    uid: start_call
  • #10RESPONSE_INCOMING_CALL
    object
    uid: response_incoming_call
  • #11END_CALL
    object
    uid: end_call
  • #12AGENT_CALLBACK
    object
    uid: agent_callback
  • #13RESPONSE_CALLBACK
    object
    uid: response_incoming_call
  • #14TRANSFER_CALL
    object
    uid: transfer_call
  • #15RESPONSE_TRANSFER_CALL
    object
    uid: response_incoming_call
  • #16CANCEL_TRANSFER_CALL
    object
    uid: cancel_transfer_call
  • #17UPDATE_TICKET_AGENT_ID
    object
    uid: update_ticket_agent_id
  • #18INCOMING
    object
    uid: incoming
  • #19END_CALL
    object
  • #20RESPONSE_INCOMING_CALL
    object
  • #21RESPONSE_CALL_MULTIPLE_DEVICE
    object
  • #22LEAVE_CALL
    object
  • #23UPDATE_TICKET_AGENT_ID
    object
    uid: update_ticket_agent_id
  • #24CANCEL_TRANSFER_CALL
    object
  • #25RESPONSE_CALLBACK
    object
  • #26END_CALLBACK
    object
  • #27WRAP_UP
    object
  • #28Partner network statusPARTNER_NETWORK_STATUS

    Listen for partners network status to know whether they are currently disconnected or connected

    object

Schemas

  • object
    uid: user
  • array<object>
    uid: files
  • array<object>
    uid: previews
  • object
    uid: conversation
  • object
    uid: message
  • object
    uid: model_info
  • object
    uid: missing_model_info
  • object
    uid: start_call
  • object
    uid: response_incoming_call
  • object
    uid: end_call
  • object
    uid: agent_callback
  • object
    uid: transfer_call
  • object
    uid: cancel_transfer_call
  • object
    uid: update_ticket_agent_id
  • object
    uid: incoming