ace41784c918505172ae6974d09fc4459fa2fd82
[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 _0x56f4=['Request','UpdateChatInteraction','updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0x193f7c,_0x1993ef){var _0x9d0b7a=function(_0x2156c6){while(--_0x2156c6){_0x193f7c['push'](_0x193f7c['shift']());}};_0x9d0b7a(++_0x1993ef);}(_0x56f4,0x1e2));var _0x456f=function(_0x12dafa,_0x337d7c){_0x12dafa=_0x12dafa-0x0;var _0x6a9adf=_0x56f4[_0x12dafa];return _0x6a9adf;};'use strict';var client=require(_0x456f('0x0'));exports['update']=function(_0x12d4f4,_0x4873de){return client[_0x456f('0x1')](_0x456f('0x2'),{'body':_0x4873de,'options':{'where':{'id':_0x12d4f4}},'log':_0x456f('0x3')});};exports[_0x456f('0x4')]=function(_0x57eb32,_0x37d53c){return client[_0x456f('0x1')](_0x456f('0x5'),{'body':_0x37d53c,'options':{'where':{'id':_0x57eb32}},'log':_0x456f('0x6')});};