2e69650808860932f55fd1b142e178e91df1029c
[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 _0x58ee=['../client','create','createChatMessage'];(function(_0x20e797,_0xb0e2a0){var _0x286ca8=function(_0x510112){while(--_0x510112){_0x20e797['push'](_0x20e797['shift']());}};_0x286ca8(++_0xb0e2a0);}(_0x58ee,0x123));var _0xe58e=function(_0x5ac412,_0x3ecf0f){_0x5ac412=_0x5ac412-0x0;var _0x4d8dbf=_0x58ee[_0x5ac412];return _0x4d8dbf;};'use strict';var client=require(_0xe58e('0x0'));exports[_0xe58e('0x1')]=function(_0x342115){return client['Request']('CreateChatMessage',{'body':_0x342115,'log':_0xe58e('0x2')});};