Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / services / routing / rpc / whatsappInteraction.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 _0x8085=['UpdateWhatsappInteraction','updateWhatsappInteraction','addTagsToWhatsappInteraction','../client','Request'];(function(_0x45977c,_0x7eaed0){var _0x399413=function(_0x41cc76){while(--_0x41cc76){_0x45977c['push'](_0x45977c['shift']());}};_0x399413(++_0x7eaed0);}(_0x8085,0x71));var _0x5808=function(_0x100e36,_0x4da225){_0x100e36=_0x100e36-0x0;var _0x1df0c9=_0x8085[_0x100e36];return _0x1df0c9;};'use strict';var client=require(_0x5808('0x0'));exports['update']=function(_0x51b546,_0x8666b5){return client[_0x5808('0x1')](_0x5808('0x2'),{'body':_0x8666b5,'options':{'where':{'id':_0x51b546}},'log':_0x5808('0x3')});};exports['addTags']=function(_0x55952d,_0x46a877){return client[_0x5808('0x1')]('AddTagsToWhatsappInteraction',{'body':_0x46a877,'options':{'where':{'id':_0x55952d}},'log':_0x5808('0x4')});};