f8165a315b87cb63e0b3b39ea783dbd2eb8d76d1
[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 _0x45fd=['CreateCmContact','Request','GetCmContact','../client','createContact'];(function(_0x1f7fb2,_0x116309){var _0x61fc27=function(_0x4b981c){while(--_0x4b981c){_0x1f7fb2['push'](_0x1f7fb2['shift']());}};_0x61fc27(++_0x116309);}(_0x45fd,0xbc));var _0xd45f=function(_0x5b0723,_0x4cd328){_0x5b0723=_0x5b0723-0x0;var _0x4a8180=_0x45fd[_0x5b0723];return _0x4a8180;};'use strict';var client=require(_0xd45f('0x0'));exports[_0xd45f('0x1')]=function(_0x529a6f){return function(){return client['Request']('CreateCmContact',{'body':_0x529a6f,'log':_0xd45f('0x2')});};};exports['getContacts']=function(_0x4c4db8){return function(){return client[_0xd45f('0x3')](_0xd45f('0x4'),{'options':_0x4c4db8,'log':_0xd45f('0x4')});};};