Built motion from commit 3c2ce842.|2.6.31
[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 _0xe183=['createContact','CreateCmContact','getContacts','Request','GetCmContact','../client'];(function(_0x1ce67b,_0x5d1e9f){var _0xc64cb0=function(_0x376ce4){while(--_0x376ce4){_0x1ce67b['push'](_0x1ce67b['shift']());}};_0xc64cb0(++_0x5d1e9f);}(_0xe183,0x119));var _0x3e18=function(_0x274dd7,_0x2e6051){_0x274dd7=_0x274dd7-0x0;var _0x148829=_0xe183[_0x274dd7];return _0x148829;};'use strict';var client=require(_0x3e18('0x0'));exports[_0x3e18('0x1')]=function(_0x566df0){return function(){return client['Request'](_0x3e18('0x2'),{'body':_0x566df0,'log':'CreateCmContact'});};};exports[_0x3e18('0x3')]=function(_0x15f4ab){return function(){return client[_0x3e18('0x4')]('GetCmContact',{'options':_0x15f4ab,'log':_0x3e18('0x5')});};};