Built motion from commit (unavailable).|2.5.11
[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 _0xafc4=['../client','CreateCmContact','getContacts'];(function(_0x5db80a,_0x4de4bf){var _0x59ac99=function(_0xd6faab){while(--_0xd6faab){_0x5db80a['push'](_0x5db80a['shift']());}};_0x59ac99(++_0x4de4bf);}(_0xafc4,0x69));var _0x4afc=function(_0xe0603,_0x576660){_0xe0603=_0xe0603-0x0;var _0xff825d=_0xafc4[_0xe0603];return _0xff825d;};'use strict';var client=require(_0x4afc('0x0'));exports['createContact']=function(_0x2604d4){return function(){return client['Request'](_0x4afc('0x1'),{'body':_0x2604d4,'log':_0x4afc('0x1')});};};exports[_0x4afc('0x2')]=function(_0x237ea0){return function(){return client['Request']('GetCmContact',{'options':_0x237ea0,'log':'GetCmContact'});};};