Built motion from commit f3da74b7.|2.5.36
[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 _0xb298=['../client','update','Request','UpdateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction'];(function(_0x5df8aa,_0x1a857f){var _0x3dd86f=function(_0x45ef66){while(--_0x45ef66){_0x5df8aa['push'](_0x5df8aa['shift']());}};_0x3dd86f(++_0x1a857f);}(_0xb298,0x168));var _0x8b29=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb298[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x8b29('0x0'));exports[_0x8b29('0x1')]=function(_0x1ca16d,_0x19edb0){return client[_0x8b29('0x2')](_0x8b29('0x3'),{'body':_0x19edb0,'options':{'where':{'id':_0x1ca16d}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x3b452a,_0x3dd867){return client['Request'](_0x8b29('0x4'),{'body':_0x3dd867,'options':{'where':{'id':_0x3b452a}},'log':_0x8b29('0x5')});};