3c6fa9706219990b7313f56a743e6d80929f000e
[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 _0xc404=['createChatMessage','../client','Request'];(function(_0x3f6460,_0x3bdb9b){var _0x5d9ac6=function(_0x1ebb5e){while(--_0x1ebb5e){_0x3f6460['push'](_0x3f6460['shift']());}};_0x5d9ac6(++_0x3bdb9b);}(_0xc404,0x172));var _0x4c40=function(_0x30188e,_0x5a5b34){_0x30188e=_0x30188e-0x0;var _0x52046a=_0xc404[_0x30188e];return _0x52046a;};'use strict';var client=require(_0x4c40('0x0'));exports['create']=function(_0x51389f){return client[_0x4c40('0x1')]('CreateChatMessage',{'body':_0x51389f,'log':_0x4c40('0x2')});};