e1a267577bcb7a03e5943272094cbd19af4ca20f
[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 _0x60de=['Request','UpdateChatInteraction','updateChatInteraction','addTags','AddTagsToChatInteraction','../client','update'];(function(_0x2c0dc0,_0x19900d){var _0x4c0990=function(_0x530791){while(--_0x530791){_0x2c0dc0['push'](_0x2c0dc0['shift']());}};_0x4c0990(++_0x19900d);}(_0x60de,0x10f));var _0xe60d=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x60de[_0xfae23b];return _0x200640;};'use strict';var client=require(_0xe60d('0x0'));exports[_0xe60d('0x1')]=function(_0x81420d,_0x4dc469){return client[_0xe60d('0x2')](_0xe60d('0x3'),{'body':_0x4dc469,'options':{'where':{'id':_0x81420d}},'log':_0xe60d('0x4')});};exports[_0xe60d('0x5')]=function(_0x4a82db,_0x1cb9f2){return client[_0xe60d('0x2')](_0xe60d('0x6'),{'body':_0x1cb9f2,'options':{'where':{'id':_0x4a82db}},'log':'addTagsToChatInteraction'});};