643ebdeacd1cee550ce7368f360950568c8324e7
[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 _0x8b4b=['update','UpdateChatInteraction','updateChatInteraction','addTags','Request','addTagsToChatInteraction','../client'];(function(_0x1df1c0,_0x5a275d){var _0x114afd=function(_0x1fe104){while(--_0x1fe104){_0x1df1c0['push'](_0x1df1c0['shift']());}};_0x114afd(++_0x5a275d);}(_0x8b4b,0xc3));var _0xb8b4=function(_0x293776,_0xcc13a0){_0x293776=_0x293776-0x0;var _0x9f8b49=_0x8b4b[_0x293776];return _0x9f8b49;};'use strict';var client=require(_0xb8b4('0x0'));exports[_0xb8b4('0x1')]=function(_0x382254,_0x5a51dc){return client['Request'](_0xb8b4('0x2'),{'body':_0x5a51dc,'options':{'where':{'id':_0x382254}},'log':_0xb8b4('0x3')});};exports[_0xb8b4('0x4')]=function(_0x7f4b1f,_0x34cf6a){return client[_0xb8b4('0x5')]('AddTagsToChatInteraction',{'body':_0x34cf6a,'options':{'where':{'id':_0x7f4b1f}},'log':_0xb8b4('0x6')});};