43ec332b4fec082b0cf938a7bda1e1ab64a69eda
[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 _0xef17=['Request','CreateCmContact','getContacts','GetCmContact','../client','createContact'];(function(_0x263275,_0x1304c8){var _0x39aea6=function(_0x48327b){while(--_0x48327b){_0x263275['push'](_0x263275['shift']());}};_0x39aea6(++_0x1304c8);}(_0xef17,0x136));var _0x7ef1=function(_0x4dde73,_0x281a14){_0x4dde73=_0x4dde73-0x0;var _0x100b55=_0xef17[_0x4dde73];return _0x100b55;};'use strict';var client=require(_0x7ef1('0x0'));exports[_0x7ef1('0x1')]=function(_0x465d19){return function(){return client[_0x7ef1('0x2')](_0x7ef1('0x3'),{'body':_0x465d19,'log':_0x7ef1('0x3')});};};exports[_0x7ef1('0x4')]=function(_0x19a10d){return function(){return client[_0x7ef1('0x2')]('GetCmContact',{'options':_0x19a10d,'log':_0x7ef1('0x5')});};};