Built motion from commit (unavailable).|2.5.0
[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 _0xcf20=['updateChatInteraction','addTags','../client','Request'];(function(_0x177cd0,_0x20fd68){var _0x1b1f51=function(_0x238149){while(--_0x238149){_0x177cd0['push'](_0x177cd0['shift']());}};_0x1b1f51(++_0x20fd68);}(_0xcf20,0x1a6));var _0x0cf2=function(_0x426c09,_0x44fbc8){_0x426c09=_0x426c09-0x0;var _0x3a2793=_0xcf20[_0x426c09];return _0x3a2793;};'use strict';var client=require(_0x0cf2('0x0'));exports['update']=function(_0x57f3da,_0x1fabf9){return client[_0x0cf2('0x1')]('UpdateChatInteraction',{'body':_0x1fabf9,'options':{'where':{'id':_0x57f3da}},'log':_0x0cf2('0x2')});};exports[_0x0cf2('0x3')]=function(_0x27a5c4,_0x551053){return client['Request']('AddTagsToChatInteraction',{'body':_0x551053,'options':{'where':{'id':_0x27a5c4}},'log':'addTagsToChatInteraction'});};