cee3e621dfc91e93831a346b10505e44185ab4d0
[motion2.git] / server / services / routing / rpc / chatInteraction.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 _0xe1ec=['UpdateChatInteraction','updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','Request'];(function(_0x28f4ff,_0x6dde8c){var _0x28c8eb=function(_0x3bf011){while(--_0x3bf011){_0x28f4ff['push'](_0x28f4ff['shift']());}};_0x28c8eb(++_0x6dde8c);}(_0xe1ec,0x7b));var _0xce1e=function(_0x28b941,_0x3ce7bc){_0x28b941=_0x28b941-0x0;var _0x3ef3ed=_0xe1ec[_0x28b941];return _0x3ef3ed;};'use strict';var client=require(_0xce1e('0x0'));exports[_0xce1e('0x1')]=function(_0x1390ce,_0xecafa){return client[_0xce1e('0x2')](_0xce1e('0x3'),{'body':_0xecafa,'options':{'where':{'id':_0x1390ce}},'log':_0xce1e('0x4')});};exports['addTags']=function(_0x506e67,_0x5834ff){return client['Request'](_0xce1e('0x5'),{'body':_0x5834ff,'options':{'where':{'id':_0x506e67}},'log':_0xce1e('0x6')});};