eeda9a3a6dca68a77f9354a5311e8cc85dc6135a
[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 _0x89b2=['createContact','Request','CreateCmContact','getContacts','GetCmContact','../client'];(function(_0x47cde9,_0x19d013){var _0x26fdf1=function(_0x32fb69){while(--_0x32fb69){_0x47cde9['push'](_0x47cde9['shift']());}};_0x26fdf1(++_0x19d013);}(_0x89b2,0x191));var _0x289b=function(_0x51a8b3,_0x35a867){_0x51a8b3=_0x51a8b3-0x0;var _0x370673=_0x89b2[_0x51a8b3];return _0x370673;};'use strict';var client=require(_0x289b('0x0'));exports[_0x289b('0x1')]=function(_0xf9fcbf){return function(){return client[_0x289b('0x2')]('CreateCmContact',{'body':_0xf9fcbf,'log':_0x289b('0x3')});};};exports[_0x289b('0x4')]=function(_0x2c0ea0){return function(){return client[_0x289b('0x2')]('GetCmContact',{'options':_0x2c0ea0,'log':_0x289b('0x5')});};};