Built motion from commit e0fa946e.|2.6.5
[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 _0xba5a=['addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','updateChatInteraction'];(function(_0x401eed,_0x2efa15){var _0x1a78c5=function(_0x3850d6){while(--_0x3850d6){_0x401eed['push'](_0x401eed['shift']());}};_0x1a78c5(++_0x2efa15);}(_0xba5a,0x12a));var _0xaba5=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xba5a[_0xa464c9];return _0x3d73c4;};'use strict';var client=require(_0xaba5('0x0'));exports[_0xaba5('0x1')]=function(_0xb05731,_0x3ce0b6){return client['Request']('UpdateChatInteraction',{'body':_0x3ce0b6,'options':{'where':{'id':_0xb05731}},'log':_0xaba5('0x2')});};exports[_0xaba5('0x3')]=function(_0xce24a9,_0x51c969){return client[_0xaba5('0x4')](_0xaba5('0x5'),{'body':_0x51c969,'options':{'where':{'id':_0xce24a9}},'log':_0xaba5('0x6')});};