0eb5f2a437398098ebf0e0237613c082c4d8901b
[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 _0x79c5=['CreateCmContact','Request','GetCmContact','../client','createContact'];(function(_0xf9fd7a,_0xbf1bb8){var _0xaa25bb=function(_0xa23508){while(--_0xa23508){_0xf9fd7a['push'](_0xf9fd7a['shift']());}};_0xaa25bb(++_0xbf1bb8);}(_0x79c5,0x1b6));var _0x579c=function(_0x4301c7,_0x34373b){_0x4301c7=_0x4301c7-0x0;var _0x167782=_0x79c5[_0x4301c7];return _0x167782;};'use strict';var client=require(_0x579c('0x0'));exports[_0x579c('0x1')]=function(_0x215d74){return function(){return client['Request'](_0x579c('0x2'),{'body':_0x215d74,'log':_0x579c('0x2')});};};exports['getContacts']=function(_0x35d7b8){return function(){return client[_0x579c('0x3')]('GetCmContact',{'options':_0x35d7b8,'log':_0x579c('0x4')});};};