Built motion from commit d5e4af8c.|2.6.23
[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 _0x6ff3=['addTagsToChatInteraction','../client','Request','UpdateChatInteraction','AddTagsToChatInteraction'];(function(_0x5ddbc6,_0x49b8f4){var _0x5ca38f=function(_0x48f4be){while(--_0x48f4be){_0x5ddbc6['push'](_0x5ddbc6['shift']());}};_0x5ca38f(++_0x49b8f4);}(_0x6ff3,0x1b4));var _0x36ff=function(_0x1ca00f,_0x5ee88b){_0x1ca00f=_0x1ca00f-0x0;var _0x1d336c=_0x6ff3[_0x1ca00f];return _0x1d336c;};'use strict';var client=require(_0x36ff('0x0'));exports['update']=function(_0x47a28f,_0x312106){return client[_0x36ff('0x1')](_0x36ff('0x2'),{'body':_0x312106,'options':{'where':{'id':_0x47a28f}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x453af1,_0x5b6573){return client[_0x36ff('0x1')](_0x36ff('0x3'),{'body':_0x5b6573,'options':{'where':{'id':_0x453af1}},'log':_0x36ff('0x4')});};