3ed97df2c875b5189abea6a376c6b0704179a383
[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 _0x4407=['Request','UpdateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update'];(function(_0x371441,_0x4fa082){var _0x31aaff=function(_0x3d6970){while(--_0x3d6970){_0x371441['push'](_0x371441['shift']());}};_0x31aaff(++_0x4fa082);}(_0x4407,0x1b0));var _0x7440=function(_0x3c36f2,_0x3f856f){_0x3c36f2=_0x3c36f2-0x0;var _0x1f3f37=_0x4407[_0x3c36f2];return _0x1f3f37;};'use strict';var client=require(_0x7440('0x0'));exports[_0x7440('0x1')]=function(_0x4db94f,_0xdfcaef){return client[_0x7440('0x2')](_0x7440('0x3'),{'body':_0xdfcaef,'options':{'where':{'id':_0x4db94f}},'log':'updateChatInteraction'});};exports[_0x7440('0x4')]=function(_0x11a817,_0x49e5d5){return client[_0x7440('0x2')](_0x7440('0x5'),{'body':_0x49e5d5,'options':{'where':{'id':_0x11a817}},'log':_0x7440('0x6')});};