f5a22dfdd7b30cdf92b598a5535db2732c145aeb
[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 _0x5a51=['Request','UpdateChatInteraction','updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update'];(function(_0x412d8b,_0x54ea50){var _0x1c82b4=function(_0x2b1435){while(--_0x2b1435){_0x412d8b['push'](_0x412d8b['shift']());}};_0x1c82b4(++_0x54ea50);}(_0x5a51,0x9f));var _0x15a5=function(_0x31cb9e,_0x378a09){_0x31cb9e=_0x31cb9e-0x0;var _0x1752ac=_0x5a51[_0x31cb9e];return _0x1752ac;};'use strict';var client=require(_0x15a5('0x0'));exports[_0x15a5('0x1')]=function(_0x497cc4,_0x317f47){return client[_0x15a5('0x2')](_0x15a5('0x3'),{'body':_0x317f47,'options':{'where':{'id':_0x497cc4}},'log':_0x15a5('0x4')});};exports['addTags']=function(_0x8fa7b5,_0x12af31){return client[_0x15a5('0x2')](_0x15a5('0x5'),{'body':_0x12af31,'options':{'where':{'id':_0x8fa7b5}},'log':_0x15a5('0x6')});};