c5320a8574691f13cea3e86571fdf477a1a3a032
[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 _0xe422=['create','createChatMessage'];(function(_0xfe7644,_0x2f083e){var _0x2a3f13=function(_0x8f3c94){while(--_0x8f3c94){_0xfe7644['push'](_0xfe7644['shift']());}};_0x2a3f13(++_0x2f083e);}(_0xe422,0xf4));var _0x2e42=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xe422[_0x4a9fb1];return _0x348672;};'use strict';var client=require('../client');exports[_0x2e42('0x0')]=function(_0x5b96a8){return client['Request']('CreateChatMessage',{'body':_0x5b96a8,'log':_0x2e42('0x1')});};