2fd413809d5bca08d28e1d490c350169dbb3a69a
[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 _0xc575=['updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','update'];(function(_0x3042d5,_0x349534){var _0x1acfef=function(_0x5a920f){while(--_0x5a920f){_0x3042d5['push'](_0x3042d5['shift']());}};_0x1acfef(++_0x349534);}(_0xc575,0xe7));var _0x5c57=function(_0x4a4a43,_0x115ccf){_0x4a4a43=_0x4a4a43-0x0;var _0x5893a6=_0xc575[_0x4a4a43];return _0x5893a6;};'use strict';var client=require('../client');exports[_0x5c57('0x0')]=function(_0x23e18b,_0x54294e){return client['Request']('UpdateChatInteraction',{'body':_0x54294e,'options':{'where':{'id':_0x23e18b}},'log':_0x5c57('0x1')});};exports['addTags']=function(_0x47bc66,_0xdd904d){return client['Request'](_0x5c57('0x2'),{'body':_0xdd904d,'options':{'where':{'id':_0x47bc66}},'log':_0x5c57('0x3')});};