7a0b5e26c889c8e4f0582471439e9caccb843df5
[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 _0x2017=['CreateChatMessage','createChatMessage','create'];(function(_0x36f11e,_0x3abfd9){var _0x36b972=function(_0x3b5148){while(--_0x3b5148){_0x36f11e['push'](_0x36f11e['shift']());}};_0x36b972(++_0x3abfd9);}(_0x2017,0x143));var _0x7201=function(_0x3e112d,_0x2bb132){_0x3e112d=_0x3e112d-0x0;var _0x531c31=_0x2017[_0x3e112d];return _0x531c31;};'use strict';var client=require('../client');exports[_0x7201('0x0')]=function(_0x111af9){return client['Request'](_0x7201('0x1'),{'body':_0x111af9,'log':_0x7201('0x2')});};