e64cf15ca99a87fa7764feaa7155c6e123a4d315
[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 _0x8b61=['Request','CreateChatMessage','createChatMessage','../client'];(function(_0x38b396,_0x5353aa){var _0x5daa5f=function(_0x2f4fd3){while(--_0x2f4fd3){_0x38b396['push'](_0x38b396['shift']());}};_0x5daa5f(++_0x5353aa);}(_0x8b61,0x1cb));var _0x18b6=function(_0x287519,_0x19a781){_0x287519=_0x287519-0x0;var _0x3d7c20=_0x8b61[_0x287519];return _0x3d7c20;};'use strict';var client=require(_0x18b6('0x0'));exports['create']=function(_0x3d6d34){return client[_0x18b6('0x1')](_0x18b6('0x2'),{'body':_0x3d6d34,'log':_0x18b6('0x3')});};