aa68e0c4cbef397166c57b1c2fd4cfd0aa84c15b
[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 _0xe14b=['createContact','CreateCmContact','GetCmContact','../client'];(function(_0x56482c,_0x16118d){var _0x5aae7a=function(_0x52512f){while(--_0x52512f){_0x56482c['push'](_0x56482c['shift']());}};_0x5aae7a(++_0x16118d);}(_0xe14b,0x93));var _0xbe14=function(_0x4b5d65,_0x122e57){_0x4b5d65=_0x4b5d65-0x0;var _0x2f2cf2=_0xe14b[_0x4b5d65];return _0x2f2cf2;};'use strict';var client=require(_0xbe14('0x0'));exports[_0xbe14('0x1')]=function(_0x5012ac){return function(){return client['Request'](_0xbe14('0x2'),{'body':_0x5012ac,'log':_0xbe14('0x2')});};};exports['getContacts']=function(_0x7d3665){return function(){return client['Request']('GetCmContact',{'options':_0x7d3665,'log':_0xbe14('0x3')});};};