037ff57cb2b5f069251ffa6538f8f76e5a73c40b
[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 _0x5879=['createChatMessage','create','Request'];(function(_0x5bfea1,_0x494abb){var _0x42d2fa=function(_0x33261d){while(--_0x33261d){_0x5bfea1['push'](_0x5bfea1['shift']());}};_0x42d2fa(++_0x494abb);}(_0x5879,0x1bd));var _0x9587=function(_0x50488b,_0x5b8887){_0x50488b=_0x50488b-0x0;var _0x4ad4c7=_0x5879[_0x50488b];return _0x4ad4c7;};'use strict';var client=require('../client');exports[_0x9587('0x0')]=function(_0x5e067e){return client[_0x9587('0x1')]('CreateChatMessage',{'body':_0x5e067e,'log':_0x9587('0x2')});};