Built motion from commit 14588770.|2.5.38
[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 _0x70db=['Request','CreateCmContact','GetCmContact','../client','createContact'];(function(_0x88249c,_0x24124e){var _0x951993=function(_0x4bb993){while(--_0x4bb993){_0x88249c['push'](_0x88249c['shift']());}};_0x951993(++_0x24124e);}(_0x70db,0xfd));var _0xb70d=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x70db[_0x6c993a];return _0x27f547;};'use strict';var client=require(_0xb70d('0x0'));exports[_0xb70d('0x1')]=function(_0x3c13ef){return function(){return client[_0xb70d('0x2')](_0xb70d('0x3'),{'body':_0x3c13ef,'log':_0xb70d('0x3')});};};exports['getContacts']=function(_0xefc391){return function(){return client[_0xb70d('0x2')](_0xb70d('0x4'),{'options':_0xefc391,'log':_0xb70d('0x4')});};};