e8bc3efb6c13132aa465b2918c5a920ae97252df
[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 _0xc24f=['Request','CreateCmContact','../client','createContact'];(function(_0x24baa4,_0x9e7bfd){var _0x210622=function(_0xdfaf23){while(--_0xdfaf23){_0x24baa4['push'](_0x24baa4['shift']());}};_0x210622(++_0x9e7bfd);}(_0xc24f,0x15a));var _0xfc24=function(_0x4d155a,_0x1a0a89){_0x4d155a=_0x4d155a-0x0;var _0xef1d51=_0xc24f[_0x4d155a];return _0xef1d51;};'use strict';var client=require(_0xfc24('0x0'));exports[_0xfc24('0x1')]=function(_0xd38a53){return function(){return client[_0xfc24('0x2')](_0xfc24('0x3'),{'body':_0xd38a53,'log':_0xfc24('0x3')});};};exports['getContacts']=function(_0x1a2eec){return function(){return client['Request']('GetCmContact',{'options':_0x1a2eec,'log':'GetCmContact'});};};