18846901315572d943fc606bb24858b5dfff4e0c
[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 _0xde90=['update','Request','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0x446771,_0x57ecf7){var _0x39f4ff=function(_0x3ad619){while(--_0x3ad619){_0x446771['push'](_0x446771['shift']());}};_0x39f4ff(++_0x57ecf7);}(_0xde90,0xb9));var _0x0de9=function(_0x409d34,_0x400f1d){_0x409d34=_0x409d34-0x0;var _0x1a38bc=_0xde90[_0x409d34];return _0x1a38bc;};'use strict';var client=require(_0x0de9('0x0'));exports[_0x0de9('0x1')]=function(_0x132077,_0x5a6924){return client[_0x0de9('0x2')]('UpdateChatInteraction',{'body':_0x5a6924,'options':{'where':{'id':_0x132077}},'log':'updateChatInteraction'});};exports[_0x0de9('0x3')]=function(_0x19e1a9,_0x1d44a7){return client[_0x0de9('0x2')](_0x0de9('0x4'),{'body':_0x1d44a7,'options':{'where':{'id':_0x19e1a9}},'log':_0x0de9('0x5')});};