11848f8cd0c167cf8a2e9a9e193be6a4f594cfd4
[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 _0x5d17=['../client','createContact','CreateCmContact','getContacts','Request','GetCmContact'];(function(_0x557e3d,_0x138a74){var _0x4bff6b=function(_0x25b553){while(--_0x25b553){_0x557e3d['push'](_0x557e3d['shift']());}};_0x4bff6b(++_0x138a74);}(_0x5d17,0x114));var _0x75d1=function(_0xc80bfc,_0x175b63){_0xc80bfc=_0xc80bfc-0x0;var _0x136fe0=_0x5d17[_0xc80bfc];return _0x136fe0;};'use strict';var client=require(_0x75d1('0x0'));exports[_0x75d1('0x1')]=function(_0x58fb6b){return function(){return client['Request'](_0x75d1('0x2'),{'body':_0x58fb6b,'log':_0x75d1('0x2')});};};exports[_0x75d1('0x3')]=function(_0x5b3267){return function(){return client[_0x75d1('0x4')](_0x75d1('0x5'),{'options':_0x5b3267,'log':_0x75d1('0x5')});};};