Built motion from commit 52c8a02d.|2.6.29
[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 _0xd5ea=['Request','getContacts','GetCmContact','../client','createContact'];(function(_0x28ac3b,_0x3e2bef){var _0x4f487f=function(_0x24a36f){while(--_0x24a36f){_0x28ac3b['push'](_0x28ac3b['shift']());}};_0x4f487f(++_0x3e2bef);}(_0xd5ea,0x157));var _0xad5e=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xd5ea[_0x1cc8fe];return _0x230054;};'use strict';var client=require(_0xad5e('0x0'));exports[_0xad5e('0x1')]=function(_0x5ed796){return function(){return client[_0xad5e('0x2')]('CreateCmContact',{'body':_0x5ed796,'log':'CreateCmContact'});};};exports[_0xad5e('0x3')]=function(_0x16f91f){return function(){return client[_0xad5e('0x2')]('GetCmContact',{'options':_0x16f91f,'log':_0xad5e('0x4')});};};