dc84c7e13ba786d92f5e84bdff8205ed60239c2d
[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 _0x4cdf=['createContact','Request','CreateCmContact','showContact','ShowCmContact','../client'];(function(_0x22da97,_0x232257){var _0x5e222d=function(_0x547fb3){while(--_0x547fb3){_0x22da97['push'](_0x22da97['shift']());}};_0x5e222d(++_0x232257);}(_0x4cdf,0x65));var _0xf4cd=function(_0x3436da,_0x57326f){_0x3436da=_0x3436da-0x0;var _0x34da8b=_0x4cdf[_0x3436da];return _0x34da8b;};'use strict';var client=require(_0xf4cd('0x0'));exports[_0xf4cd('0x1')]=function(_0x38a895){return function(){return client[_0xf4cd('0x2')](_0xf4cd('0x3'),{'body':_0x38a895,'log':_0xf4cd('0x3')});};};exports[_0xf4cd('0x4')]=function(_0xf734f){return function(){return client['Request']('ShowCmContact',{'options':_0xf734f,'log':_0xf4cd('0x5')});};};