c7fca7005fcb3e32ee8660ea5fd4c331269a5d44
[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 _0x321d=['addTags','Request','AddTagsToChatInteraction','../client','UpdateChatInteraction'];(function(_0x431ff8,_0x4085dd){var _0x84ccd4=function(_0x1fd1b5){while(--_0x1fd1b5){_0x431ff8['push'](_0x431ff8['shift']());}};_0x84ccd4(++_0x4085dd);}(_0x321d,0x1ed));var _0xd321=function(_0x24db8a,_0x4b8606){_0x24db8a=_0x24db8a-0x0;var _0x3f04a1=_0x321d[_0x24db8a];return _0x3f04a1;};'use strict';var client=require(_0xd321('0x0'));exports['update']=function(_0x1865ca,_0x349f64){return client['Request'](_0xd321('0x1'),{'body':_0x349f64,'options':{'where':{'id':_0x1865ca}},'log':'updateChatInteraction'});};exports[_0xd321('0x2')]=function(_0x45619d,_0x5cbd33){return client[_0xd321('0x3')](_0xd321('0x4'),{'body':_0x5cbd33,'options':{'where':{'id':_0x45619d}},'log':'addTagsToChatInteraction'});};