f21dda4ad0407d19aaa83a49fc1ec89e3c16f55e
[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 _0x7291=['CreateChatMessage','createChatMessage','create','Request'];(function(_0x1a8076,_0x270397){var _0x3df2d8=function(_0x22ffb3){while(--_0x22ffb3){_0x1a8076['push'](_0x1a8076['shift']());}};_0x3df2d8(++_0x270397);}(_0x7291,0x1de));var _0x1729=function(_0x229a3f,_0x16f232){_0x229a3f=_0x229a3f-0x0;var _0x1835cb=_0x7291[_0x229a3f];return _0x1835cb;};'use strict';var client=require('../client');exports[_0x1729('0x0')]=function(_0x4ea51b){return client[_0x1729('0x1')](_0x1729('0x2'),{'body':_0x4ea51b,'log':_0x1729('0x3')});};