10bd7621609ac4c92570278242fb40191a9af0bb
[motion2.git] / server / services / routing / rpc / chatMessage.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 _0x3ac3=['create','Request','createChatMessage','../client'];(function(_0x5c4e5e,_0x584b58){var _0x44a710=function(_0x5783f3){while(--_0x5783f3){_0x5c4e5e['push'](_0x5c4e5e['shift']());}};_0x44a710(++_0x584b58);}(_0x3ac3,0x1c7));var _0x33ac=function(_0x1c0991,_0x4f22d2){_0x1c0991=_0x1c0991-0x0;var _0x5034de=_0x3ac3[_0x1c0991];return _0x5034de;};'use strict';var client=require(_0x33ac('0x0'));exports[_0x33ac('0x1')]=function(_0x44aab4){return client[_0x33ac('0x2')]('CreateChatMessage',{'body':_0x44aab4,'log':_0x33ac('0x3')});};