fef4af28425e406d2878865d1ad64c6c253b88f4
[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 _0xac1f=['CreateCmContact','getContacts','GetCmContact','../client','createContact','Request'];(function(_0x22cd3a,_0x247c6d){var _0x54a645=function(_0x590d89){while(--_0x590d89){_0x22cd3a['push'](_0x22cd3a['shift']());}};_0x54a645(++_0x247c6d);}(_0xac1f,0x1a7));var _0xfac1=function(_0x306334,_0x482970){_0x306334=_0x306334-0x0;var _0x49e21a=_0xac1f[_0x306334];return _0x49e21a;};'use strict';var client=require(_0xfac1('0x0'));exports[_0xfac1('0x1')]=function(_0x2a6e2b){return function(){return client[_0xfac1('0x2')](_0xfac1('0x3'),{'body':_0x2a6e2b,'log':_0xfac1('0x3')});};};exports[_0xfac1('0x4')]=function(_0x3e8c82){return function(){return client['Request'](_0xfac1('0x5'),{'options':_0x3e8c82,'log':_0xfac1('0x5')});};};