145e4fe58c99b606db6e66ed7ed8f7aa9105fed2
[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 _0x741c=['GetCmContact','../client','createContact','Request','CreateCmContact'];(function(_0x1294a2,_0x255f2f){var _0x3478e8=function(_0x4e0549){while(--_0x4e0549){_0x1294a2['push'](_0x1294a2['shift']());}};_0x3478e8(++_0x255f2f);}(_0x741c,0x196));var _0xc741=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x741c[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0xc741('0x0'));exports[_0xc741('0x1')]=function(_0x9c2f8e){return function(){return client[_0xc741('0x2')](_0xc741('0x3'),{'body':_0x9c2f8e,'log':_0xc741('0x3')});};};exports['getContacts']=function(_0x5cee2e){return function(){return client[_0xc741('0x2')]('GetCmContact',{'options':_0x5cee2e,'log':_0xc741('0x4')});};};