16c3e735ba74f8e9ac45f5c76c6697f011e86b9d
[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 _0xb8c3=['CreateCmContact','Request','ShowCmContact','../client','createContact'];(function(_0x299518,_0x208bd3){var _0xa82a16=function(_0x30a8f8){while(--_0x30a8f8){_0x299518['push'](_0x299518['shift']());}};_0xa82a16(++_0x208bd3);}(_0xb8c3,0x152));var _0x3b8c=function(_0x506db2,_0x1ab1f3){_0x506db2=_0x506db2-0x0;var _0x2a2ad3=_0xb8c3[_0x506db2];return _0x2a2ad3;};'use strict';var client=require(_0x3b8c('0x0'));exports[_0x3b8c('0x1')]=function(_0x33ae9b){return function(){return client['Request'](_0x3b8c('0x2'),{'body':_0x33ae9b,'log':_0x3b8c('0x2')});};};exports['showContact']=function(_0x311642){return function(){return client[_0x3b8c('0x3')](_0x3b8c('0x4'),{'options':_0x311642,'log':_0x3b8c('0x4')});};};