b723f88a3762eaaa7005f36b61b14fc2ccf26092
[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 _0x04eb=['addTags','AddTagsToChatInteraction','../client','update','Request','updateChatInteraction'];(function(_0x424c0f,_0x31a27d){var _0x265bf4=function(_0x419f69){while(--_0x419f69){_0x424c0f['push'](_0x424c0f['shift']());}};_0x265bf4(++_0x31a27d);}(_0x04eb,0xe6));var _0xb04e=function(_0x480bdc,_0x4d7be3){_0x480bdc=_0x480bdc-0x0;var _0x3de225=_0x04eb[_0x480bdc];return _0x3de225;};'use strict';var client=require(_0xb04e('0x0'));exports[_0xb04e('0x1')]=function(_0x55fcdf,_0x6b9dcc){return client[_0xb04e('0x2')]('UpdateChatInteraction',{'body':_0x6b9dcc,'options':{'where':{'id':_0x55fcdf}},'log':_0xb04e('0x3')});};exports[_0xb04e('0x4')]=function(_0xc67e7a,_0x1384e2){return client[_0xb04e('0x2')](_0xb04e('0x5'),{'body':_0x1384e2,'options':{'where':{'id':_0xc67e7a}},'log':'addTagsToChatInteraction'});};