1b49db328fb20a8eae5025272c7266330269c170
[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 _0x49b8=['../client','createContact','Request','CreateCmContact','getContacts','GetCmContact'];(function(_0x261eb9,_0x341093){var _0xb88d63=function(_0x4adc83){while(--_0x4adc83){_0x261eb9['push'](_0x261eb9['shift']());}};_0xb88d63(++_0x341093);}(_0x49b8,0xf6));var _0x849b=function(_0x16d644,_0x46545e){_0x16d644=_0x16d644-0x0;var _0xf808cc=_0x49b8[_0x16d644];return _0xf808cc;};'use strict';var client=require(_0x849b('0x0'));exports[_0x849b('0x1')]=function(_0x5adcad){return function(){return client[_0x849b('0x2')]('CreateCmContact',{'body':_0x5adcad,'log':_0x849b('0x3')});};};exports[_0x849b('0x4')]=function(_0x1a65d3){return function(){return client[_0x849b('0x2')](_0x849b('0x5'),{'options':_0x1a65d3,'log':_0x849b('0x5')});};};