02e7ff7f7f9feafd7ffc64c13026ede2636587af
[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 _0xc29b=['updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','UpdateChatInteraction'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0xc29b,0xe7));var _0xbc29=function(_0x30384a,_0x33458d){_0x30384a=_0x30384a-0x0;var _0x209749=_0xc29b[_0x30384a];return _0x209749;};'use strict';var client=require('../client');exports['update']=function(_0x5549a4,_0x2cefd0){return client['Request'](_0xbc29('0x0'),{'body':_0x2cefd0,'options':{'where':{'id':_0x5549a4}},'log':_0xbc29('0x1')});};exports['addTags']=function(_0x2ef08b,_0x4cc87a){return client['Request'](_0xbc29('0x2'),{'body':_0x4cc87a,'options':{'where':{'id':_0x2ef08b}},'log':_0xbc29('0x3')});};