if (typeof UserGroup != "function") { function UserGroup() { this.id = 0; this.group = null; this.user = null; } } if (typeof User != "function") { function User() { this.primaryOffice = null; this.id = 0; this.lastName = null; this.birthday = null; this.userGroups = null; this.phoneNumber = null; this.email = null; this.login = null; this.firstName = null; this.agent = null; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (CustomerInterface == null) var CustomerInterface = {}; CustomerInterface._path = '/dwr'; CustomerInterface.finalize = function(callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'finalize', callback); } CustomerInterface.save = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'save', p0, callback); } CustomerInterface.search = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'search', p0, callback); } CustomerInterface.getContacts = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'getContacts', p0, callback); } CustomerInterface.getSavedSearches = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'getSavedSearches', p0, callback); } CustomerInterface.saveSearch = function(p0, p1, p2, p3, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'saveSearch', p0, p1, p2, p3, callback); } CustomerInterface.getByEmail = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'getByEmail', p0, callback); } CustomerInterface.checkExists = function(p0, p1, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'checkExists', p0, p1, callback); } CustomerInterface.getActivity = function(p0, p1, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'getActivity', p0, p1, callback); } CustomerInterface.getSearchHistory = function(p0, p1, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'getSearchHistory', p0, p1, callback); } CustomerInterface.saveContact = function(p0, p1, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'saveContact', p0, p1, callback); } CustomerInterface.deleteContact = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'deleteContact', p0, callback); } CustomerInterface.deleteSearch = function(p0, callback) { dwr.engine._execute(CustomerInterface._path, 'CustomerInterface', 'deleteSearch', p0, callback); }