7de2de93322ff2f99300f1a9ca9759e7fb5eec4e
[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 _0x76d1=['Request','CreateCmContact','getContacts','GetCmContact','../client','createContact'];(function(_0xcb0a43,_0xf7efc2){var _0x84ec0a=function(_0x496f0f){while(--_0x496f0f){_0xcb0a43['push'](_0xcb0a43['shift']());}};_0x84ec0a(++_0xf7efc2);}(_0x76d1,0x1c6));var _0x176d=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x76d1[_0x59ee6f];return _0x4c0979;};'use strict';var client=require(_0x176d('0x0'));exports[_0x176d('0x1')]=function(_0x49a244){return function(){return client[_0x176d('0x2')](_0x176d('0x3'),{'body':_0x49a244,'log':'CreateCmContact'});};};exports[_0x176d('0x4')]=function(_0x19bd52){return function(){return client[_0x176d('0x2')]('GetCmContact',{'options':_0x19bd52,'log':_0x176d('0x5')});};};