Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / cmContact.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4860=['createContact','Request','CreateCmContact','../client'];(function(_0x11be9d,_0x26139e){var _0x377dd6=function(_0x519d00){while(--_0x519d00){_0x11be9d['push'](_0x11be9d['shift']());}};_0x377dd6(++_0x26139e);}(_0x4860,0x1bf));var _0x0486=function(_0x5d60ef,_0x5a6987){_0x5d60ef=_0x5d60ef-0x0;var _0x61abdc=_0x4860[_0x5d60ef];return _0x61abdc;};'use strict';var client=require(_0x0486('0x0'));exports[_0x0486('0x1')]=function(_0x40e9ed){return function(){return client[_0x0486('0x2')](_0x0486('0x3'),{'body':_0x40e9ed,'log':_0x0486('0x3')});};};exports['getContacts']=function(_0x2677a3){return function(){return client['Request']('GetCmContact',{'options':_0x2677a3,'log':'GetCmContact'});};};