Built motion from commit f67b3b02.|2.6.31
[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 _0x6555=['UpdateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x40414e,_0x1d03b1){var _0x5b39a7=function(_0x46d93b){while(--_0x46d93b){_0x40414e['push'](_0x40414e['shift']());}};_0x5b39a7(++_0x1d03b1);}(_0x6555,0x1ae));var _0x5655=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x6555[_0x40a045];return _0x1a687c;};'use strict';var client=require(_0x5655('0x0'));exports['update']=function(_0x1dbdc4,_0x4340a8){return client[_0x5655('0x1')](_0x5655('0x2'),{'body':_0x4340a8,'options':{'where':{'id':_0x1dbdc4}},'log':'updateChatInteraction'});};exports[_0x5655('0x3')]=function(_0x2ab59c,_0x44de57){return client[_0x5655('0x1')](_0x5655('0x4'),{'body':_0x44de57,'options':{'where':{'id':_0x2ab59c}},'log':_0x5655('0x5')});};