Built motion from commit 1fd437e9.|2.6.19
[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 _0xdd5f=['addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','updateChatInteraction'];(function(_0x7770df,_0x4cbfc3){var _0x2109fd=function(_0x13c1e9){while(--_0x13c1e9){_0x7770df['push'](_0x7770df['shift']());}};_0x2109fd(++_0x4cbfc3);}(_0xdd5f,0x1e7));var _0xfdd5=function(_0x39e84d,_0x11931d){_0x39e84d=_0x39e84d-0x0;var _0x1991bc=_0xdd5f[_0x39e84d];return _0x1991bc;};'use strict';var client=require(_0xfdd5('0x0'));exports[_0xfdd5('0x1')]=function(_0x3cfbd1,_0x1a2def){return client['Request']('UpdateChatInteraction',{'body':_0x1a2def,'options':{'where':{'id':_0x3cfbd1}},'log':_0xfdd5('0x2')});};exports[_0xfdd5('0x3')]=function(_0x216bc2,_0xcf7750){return client[_0xfdd5('0x4')](_0xfdd5('0x5'),{'body':_0xcf7750,'options':{'where':{'id':_0x216bc2}},'log':_0xfdd5('0x6')});};