a37fee95633e2fbf795a9dbeb66e3a5126475dd0
[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 _0x8d80=['../client','update','UpdateChatInteraction','updateChatInteraction','Request','AddTagsToChatInteraction','addTagsToChatInteraction'];(function(_0x3ccdf8,_0x584ceb){var _0x243dab=function(_0x1a90d1){while(--_0x1a90d1){_0x3ccdf8['push'](_0x3ccdf8['shift']());}};_0x243dab(++_0x584ceb);}(_0x8d80,0xa1));var _0x08d8=function(_0xf970ae,_0x3f974f){_0xf970ae=_0xf970ae-0x0;var _0x351fc2=_0x8d80[_0xf970ae];return _0x351fc2;};'use strict';var client=require(_0x08d8('0x0'));exports[_0x08d8('0x1')]=function(_0x5d185c,_0x576c8a){return client['Request'](_0x08d8('0x2'),{'body':_0x576c8a,'options':{'where':{'id':_0x5d185c}},'log':_0x08d8('0x3')});};exports['addTags']=function(_0x34414d,_0x102df9){return client[_0x08d8('0x4')](_0x08d8('0x5'),{'body':_0x102df9,'options':{'where':{'id':_0x34414d}},'log':_0x08d8('0x6')});};