ce964a2185a74916a1531531433495da5a72b782
[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 _0xa453=['createChatMessage','../client','create','Request','CreateChatMessage'];(function(_0x4f964a,_0x41f80b){var _0x22142b=function(_0x2c969c){while(--_0x2c969c){_0x4f964a['push'](_0x4f964a['shift']());}};_0x22142b(++_0x41f80b);}(_0xa453,0xfb));var _0x3a45=function(_0x44bc35,_0x586d94){_0x44bc35=_0x44bc35-0x0;var _0x1dfa6c=_0xa453[_0x44bc35];return _0x1dfa6c;};'use strict';var client=require(_0x3a45('0x0'));exports[_0x3a45('0x1')]=function(_0x2527c7){return client[_0x3a45('0x2')](_0x3a45('0x3'),{'body':_0x2527c7,'log':_0x3a45('0x4')});};