Built motion from commit 775e2a94.|2.6.3
[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 _0x2f54=['CreateCmContact','getContacts','Request','GetCmContact','../client','createContact'];(function(_0x59459c,_0x580b04){var _0x51cd6a=function(_0x2cb050){while(--_0x2cb050){_0x59459c['push'](_0x59459c['shift']());}};_0x51cd6a(++_0x580b04);}(_0x2f54,0x14e));var _0x42f5=function(_0x45c5f9,_0x1ad8c9){_0x45c5f9=_0x45c5f9-0x0;var _0x22cc60=_0x2f54[_0x45c5f9];return _0x22cc60;};'use strict';var client=require(_0x42f5('0x0'));exports[_0x42f5('0x1')]=function(_0x290518){return function(){return client['Request'](_0x42f5('0x2'),{'body':_0x290518,'log':_0x42f5('0x2')});};};exports[_0x42f5('0x3')]=function(_0x2cdc33){return function(){return client[_0x42f5('0x4')](_0x42f5('0x5'),{'options':_0x2cdc33,'log':_0x42f5('0x5')});};};