d41a71b5a9580321267cd4e248c219c5f9340164
[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 _0x9085=['create','Request','createChatMessage'];(function(_0x4a5026,_0x2706eb){var _0x206d29=function(_0x521965){while(--_0x521965){_0x4a5026['push'](_0x4a5026['shift']());}};_0x206d29(++_0x2706eb);}(_0x9085,0x105));var _0x5908=function(_0x80ab9e,_0x32c636){_0x80ab9e=_0x80ab9e-0x0;var _0x7605e6=_0x9085[_0x80ab9e];return _0x7605e6;};'use strict';var client=require('../client');exports[_0x5908('0x0')]=function(_0xdb472e){return client[_0x5908('0x1')]('CreateChatMessage',{'body':_0xdb472e,'log':_0x5908('0x2')});};