30c4e2f7acbaf0857432b138ee0ab1ba9fe1e374
[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 _0x2931=['Request','UpdateChatInteraction','addTags','addTagsToChatInteraction','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2931,0x171));var _0x1293=function(_0x5bf03d,_0x3e6660){_0x5bf03d=_0x5bf03d-0x0;var _0x522b25=_0x2931[_0x5bf03d];return _0x522b25;};'use strict';var client=require('../client');exports[_0x1293('0x0')]=function(_0x27f475,_0x276cb5){return client[_0x1293('0x1')](_0x1293('0x2'),{'body':_0x276cb5,'options':{'where':{'id':_0x27f475}},'log':'updateChatInteraction'});};exports[_0x1293('0x3')]=function(_0x38a580,_0x138fd6){return client['Request']('AddTagsToChatInteraction',{'body':_0x138fd6,'options':{'where':{'id':_0x38a580}},'log':_0x1293('0x4')});};