VivochaHistory

Internal constructor, not to be used directly.

Constructor

new VivochaHistory()

Methods

(static) getVisit(vid, full, callback)

Get the visits details as a VisitData object, starting from the visit id. This function could be used to get the visit details from the CustomerHistory object obtained from VivochaCustomer.getHistory.

Parameters:
Name Type Description
vid string

The visit id.

full boolean

Get also the page views.

callback GenericCallback

Called when the search is terminated and return the VisitData instance for the specified customer id.

(static) getContact(cid, full, callback)

Get the contact details as a ContactData object, starting from the contact id. This function could be used to get the contact details from the CustomerHistory object obtained from VivochaCustomer.getHistory.

Parameters:
Name Type Description
cid string

The contact id.

full boolean

Get also the transcript.

callback GenericCallback

Called when the search is terminated and return the ContactData instance for the specified customer id.