Built motion from commit 0900f080.|2.5.45
[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 _0x8a31=['../client','update','UpdateChatInteraction','updateChatInteraction','addTags','Request'];(function(_0x2851c8,_0x670458){var _0x514e70=function(_0x395da0){while(--_0x395da0){_0x2851c8['push'](_0x2851c8['shift']());}};_0x514e70(++_0x670458);}(_0x8a31,0xba));var _0x18a3=function(_0x4cbf20,_0x1bfa66){_0x4cbf20=_0x4cbf20-0x0;var _0x582ae4=_0x8a31[_0x4cbf20];return _0x582ae4;};'use strict';var client=require(_0x18a3('0x0'));exports[_0x18a3('0x1')]=function(_0x1093bb,_0x16a158){return client['Request'](_0x18a3('0x2'),{'body':_0x16a158,'options':{'where':{'id':_0x1093bb}},'log':_0x18a3('0x3')});};exports[_0x18a3('0x4')]=function(_0x4c1c81,_0x5c2f75){return client[_0x18a3('0x5')]('AddTagsToChatInteraction',{'body':_0x5c2f75,'options':{'where':{'id':_0x4c1c81}},'log':'addTagsToChatInteraction'});};