Built motion from commit 85f716e9.|2.6.8
[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 _0x6864=['create','createChatMessage','../client'];(function(_0x279ce4,_0x13a3c8){var _0x3e8bcd=function(_0x122463){while(--_0x122463){_0x279ce4['push'](_0x279ce4['shift']());}};_0x3e8bcd(++_0x13a3c8);}(_0x6864,0x128));var _0x4686=function(_0x4d62e8,_0x37057e){_0x4d62e8=_0x4d62e8-0x0;var _0x5d6f18=_0x6864[_0x4d62e8];return _0x5d6f18;};'use strict';var client=require(_0x4686('0x0'));exports[_0x4686('0x1')]=function(_0x1bdf24){return client['Request']('CreateChatMessage',{'body':_0x1bdf24,'log':_0x4686('0x2')});};