0c9ff211b149a0a6cdf6acea832081052b7dcbbb
[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 _0xb832=['AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','Request','updateChatInteraction','addTags'];(function(_0x66808a,_0x60f3bd){var _0x760006=function(_0x520c41){while(--_0x520c41){_0x66808a['push'](_0x66808a['shift']());}};_0x760006(++_0x60f3bd);}(_0xb832,0x10c));var _0x2b83=function(_0x524d23,_0x56ef89){_0x524d23=_0x524d23-0x0;var _0x6735b9=_0xb832[_0x524d23];return _0x6735b9;};'use strict';var client=require(_0x2b83('0x0'));exports[_0x2b83('0x1')]=function(_0xbbcd3d,_0x21cc04){return client[_0x2b83('0x2')]('UpdateChatInteraction',{'body':_0x21cc04,'options':{'where':{'id':_0xbbcd3d}},'log':_0x2b83('0x3')});};exports[_0x2b83('0x4')]=function(_0xae56a5,_0x20fff4){return client[_0x2b83('0x2')](_0x2b83('0x5'),{'body':_0x20fff4,'options':{'where':{'id':_0xae56a5}},'log':_0x2b83('0x6')});};