548ce8ce5d370d310dd6e4c4f9f292d292de27ef
[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 _0xf583=['createChatMessage','../client','Request','CreateChatMessage'];(function(_0x365fe8,_0x5df6c8){var _0x59d121=function(_0x599557){while(--_0x599557){_0x365fe8['push'](_0x365fe8['shift']());}};_0x59d121(++_0x5df6c8);}(_0xf583,0xb1));var _0x3f58=function(_0x4b4f24,_0x5654a8){_0x4b4f24=_0x4b4f24-0x0;var _0x1c13d4=_0xf583[_0x4b4f24];return _0x1c13d4;};'use strict';var client=require(_0x3f58('0x0'));exports['create']=function(_0x595429){return client[_0x3f58('0x1')](_0x3f58('0x2'),{'body':_0x595429,'log':_0x3f58('0x3')});};