013642a38e8a0ed66d99aeba567664251f38af07
[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 _0xebb5=['../client','create','createChatMessage'];(function(_0x2ccf43,_0x309149){var _0x4c9b88=function(_0x135b17){while(--_0x135b17){_0x2ccf43['push'](_0x2ccf43['shift']());}};_0x4c9b88(++_0x309149);}(_0xebb5,0xcf));var _0x5ebb=function(_0x521826,_0x18cced){_0x521826=_0x521826-0x0;var _0x1faa01=_0xebb5[_0x521826];return _0x1faa01;};'use strict';var client=require(_0x5ebb('0x0'));exports[_0x5ebb('0x1')]=function(_0x29a0a2){return client['Request']('CreateChatMessage',{'body':_0x29a0a2,'log':_0x5ebb('0x2')});};