5313cb7426ec33d2a7f6a5b2ac55da19fe693d25
[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 _0x99d6=['Request','createChatMessage','create'];(function(_0x3fa37f,_0x397f16){var _0x5a01d5=function(_0xa23c65){while(--_0xa23c65){_0x3fa37f['push'](_0x3fa37f['shift']());}};_0x5a01d5(++_0x397f16);}(_0x99d6,0xf5));var _0x699d=function(_0x34bd34,_0x1444f7){_0x34bd34=_0x34bd34-0x0;var _0x4e36d6=_0x99d6[_0x34bd34];return _0x4e36d6;};'use strict';var client=require('../client');exports[_0x699d('0x0')]=function(_0x550a60){return client[_0x699d('0x1')]('CreateChatMessage',{'body':_0x550a60,'log':_0x699d('0x2')});};