Built motion from commit a61a4a20.|2.5.46
[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 _0xd396=['../client','update','addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction'];(function(_0x4218ed,_0x1e7a03){var _0x5adf1c=function(_0x23f029){while(--_0x23f029){_0x4218ed['push'](_0x4218ed['shift']());}};_0x5adf1c(++_0x1e7a03);}(_0xd396,0x11a));var _0x6d39=function(_0x1ab758,_0x3dbede){_0x1ab758=_0x1ab758-0x0;var _0x5788a0=_0xd396[_0x1ab758];return _0x5788a0;};'use strict';var client=require(_0x6d39('0x0'));exports[_0x6d39('0x1')]=function(_0x520608,_0x5f2698){return client['Request']('UpdateChatInteraction',{'body':_0x5f2698,'options':{'where':{'id':_0x520608}},'log':'updateChatInteraction'});};exports[_0x6d39('0x2')]=function(_0x178a56,_0x246558){return client[_0x6d39('0x3')](_0x6d39('0x4'),{'body':_0x246558,'options':{'where':{'id':_0x178a56}},'log':_0x6d39('0x5')});};