ed96688fbc2ddd64cb2d11af4b4162e8ae7e2c19
[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 _0x8f9d=['Request','GetCmContact','../client','CreateCmContact','getContacts'];(function(_0x1992f1,_0x5c61f0){var _0x413dfe=function(_0x2136e5){while(--_0x2136e5){_0x1992f1['push'](_0x1992f1['shift']());}};_0x413dfe(++_0x5c61f0);}(_0x8f9d,0x93));var _0xd8f9=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x8f9d[_0x4a9fb1];return _0x348672;};'use strict';var client=require(_0xd8f9('0x0'));exports['createContact']=function(_0xb507ea){return function(){return client['Request'](_0xd8f9('0x1'),{'body':_0xb507ea,'log':_0xd8f9('0x1')});};};exports[_0xd8f9('0x2')]=function(_0x354c26){return function(){return client[_0xd8f9('0x3')](_0xd8f9('0x4'),{'options':_0x354c26,'log':_0xd8f9('0x4')});};};