Built motion from commit (unavailable).|2.5.8
[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 _0xafc4=['../client','CreateCmContact','getContacts'];(function(_0x1bc415,_0x3254a5){var _0x5d2bda=function(_0xd709b2){while(--_0xd709b2){_0x1bc415['push'](_0x1bc415['shift']());}};_0x5d2bda(++_0x3254a5);}(_0xafc4,0x69));var _0x4afc=function(_0x49e55b,_0x49c897){_0x49e55b=_0x49e55b-0x0;var _0x507761=_0xafc4[_0x49e55b];return _0x507761;};'use strict';var client=require(_0x4afc('0x0'));exports['createContact']=function(_0x2604d4){return function(){return client['Request'](_0x4afc('0x1'),{'body':_0x2604d4,'log':_0x4afc('0x1')});};};exports[_0x4afc('0x2')]=function(_0x237ea0){return function(){return client['Request']('GetCmContact',{'options':_0x237ea0,'log':'GetCmContact'});};};