ebed859b776357595aaf46e99f4498159f280c82
[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 _0x384d=['CreateCmContact','getContacts','GetCmContact','../client','createContact','Request'];(function(_0x45b89f,_0x1112f7){var _0xa2d3a6=function(_0x186d45){while(--_0x186d45){_0x45b89f['push'](_0x45b89f['shift']());}};_0xa2d3a6(++_0x1112f7);}(_0x384d,0xab));var _0xd384=function(_0x5efc69,_0x1d90fe){_0x5efc69=_0x5efc69-0x0;var _0xf44b79=_0x384d[_0x5efc69];return _0xf44b79;};'use strict';var client=require(_0xd384('0x0'));exports[_0xd384('0x1')]=function(_0x14acdf){return function(){return client[_0xd384('0x2')]('CreateCmContact',{'body':_0x14acdf,'log':_0xd384('0x3')});};};exports[_0xd384('0x4')]=function(_0x1b401d){return function(){return client[_0xd384('0x2')](_0xd384('0x5'),{'options':_0x1b401d,'log':'GetCmContact'});};};