573b2e73c3d3c10df85dc0149b4caea922f1d5a9
[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 _0xf653=['CreateCmContact','getContacts','GetCmContact','../client','createContact','Request'];(function(_0x5d6564,_0x524a19){var _0x160b88=function(_0x2e4343){while(--_0x2e4343){_0x5d6564['push'](_0x5d6564['shift']());}};_0x160b88(++_0x524a19);}(_0xf653,0xe1));var _0x3f65=function(_0x17999e,_0x2d53ab){_0x17999e=_0x17999e-0x0;var _0x2c9ccb=_0xf653[_0x17999e];return _0x2c9ccb;};'use strict';var client=require(_0x3f65('0x0'));exports[_0x3f65('0x1')]=function(_0x58f36c){return function(){return client[_0x3f65('0x2')](_0x3f65('0x3'),{'body':_0x58f36c,'log':'CreateCmContact'});};};exports[_0x3f65('0x4')]=function(_0x2e6677){return function(){return client[_0x3f65('0x2')]('GetCmContact',{'options':_0x2e6677,'log':_0x3f65('0x5')});};};