444da8e5d0bc2af58c7a4b95077990e1337b9611
[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 _0xb706=['CreateChatMessage','../client','create','Request'];(function(_0x19b40d,_0x29b8d7){var _0x52eacb=function(_0x525f8f){while(--_0x525f8f){_0x19b40d['push'](_0x19b40d['shift']());}};_0x52eacb(++_0x29b8d7);}(_0xb706,0xe1));var _0x6b70=function(_0x408cda,_0x19f12c){_0x408cda=_0x408cda-0x0;var _0x3701b0=_0xb706[_0x408cda];return _0x3701b0;};'use strict';var client=require(_0x6b70('0x0'));exports[_0x6b70('0x1')]=function(_0x21cbf7){return client[_0x6b70('0x2')](_0x6b70('0x3'),{'body':_0x21cbf7,'log':'createChatMessage'});};