1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x0f78=['CreateCmContact','GetCmContact','Request'];(function(_0x53997f,_0x4a612f){var _0x3ba4a=function(_0x444b5d){while(--_0x444b5d){_0x53997f['push'](_0x53997f['shift']());}};_0x3ba4a(++_0x4a612f);}(_0x0f78,0x1d9));var _0x80f7=function(_0x23e416,_0x25419e){_0x23e416=_0x23e416-0x0;var _0x599196=_0x0f78[_0x23e416];return _0x599196;};'use strict';var client=require('../client');exports['createContact']=function(_0x5d51ac){return function(){return client[_0x80f7('0x0')](_0x80f7('0x1'),{'body':_0x5d51ac,'log':_0x80f7('0x1')});};};exports['getContacts']=function(_0x5473f8){return function(){return client[_0x80f7('0x0')]('GetCmContact',{'options':_0x5473f8,'log':_0x80f7('0x2')});};};