/**
* Fields are key=>value pairs representing some useful information about visitor for your managers.
* With Fields you can tell your manaters whom they are speaking to:
* name, email, address, CRM status, internal ID etc.
*
* @see Visitor
* @see ChatixCore
* @property {string} name Unique text identifier for Field. Visitor can't have multiple Fields with equal names
* @property {string} value Field payload.
*/
class Field {
/**
* Field constructor
*
* @param {string} name unique name for Visitor field
* @param {string} value field payload
*/
constructor(name, value){
this.name = name;
this.value = value;
}
}
export default Field;