5b6304e317fad9140c048cf91c47ca7b7b46a306
[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 _0x251b=['Request','CreateCmContact','getContacts','GetCmContact','../client','createContact'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x251b,0x118));var _0xb251=function(_0x55e08b,_0x421620){_0x55e08b=_0x55e08b-0x0;var _0xd1a7ff=_0x251b[_0x55e08b];return _0xd1a7ff;};'use strict';var client=require(_0xb251('0x0'));exports[_0xb251('0x1')]=function(_0x2a3131){return function(){return client[_0xb251('0x2')](_0xb251('0x3'),{'body':_0x2a3131,'log':_0xb251('0x3')});};};exports[_0xb251('0x4')]=function(_0x2e23f2){return function(){return client[_0xb251('0x2')]('GetCmContact',{'options':_0x2e23f2,'log':_0xb251('0x5')});};};