8f72041a7de344c435780fa03bb9e7482e667560
[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 _0x557c=['addTags','addTagsToChatInteraction','../client','Request','UpdateChatInteraction','updateChatInteraction'];(function(_0x25cac0,_0xaf1505){var _0x3b834a=function(_0x18a4ce){while(--_0x18a4ce){_0x25cac0['push'](_0x25cac0['shift']());}};_0x3b834a(++_0xaf1505);}(_0x557c,0x19a));var _0xc557=function(_0x422b48,_0xf131fb){_0x422b48=_0x422b48-0x0;var _0x4a6f67=_0x557c[_0x422b48];return _0x4a6f67;};'use strict';var client=require(_0xc557('0x0'));exports['update']=function(_0x1d7f1a,_0x500eda){return client[_0xc557('0x1')](_0xc557('0x2'),{'body':_0x500eda,'options':{'where':{'id':_0x1d7f1a}},'log':_0xc557('0x3')});};exports[_0xc557('0x4')]=function(_0x41d2df,_0xab9308){return client[_0xc557('0x1')]('AddTagsToChatInteraction',{'body':_0xab9308,'options':{'where':{'id':_0x41d2df}},'log':_0xc557('0x5')});};