f54c5876391f5c9409f27f5f99e30069fc8e639d
[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 _0xbdfd=['updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','Request','UpdateWhatsappInteraction'];(function(_0x3eaa4c,_0x5ddfd3){var _0x2183cf=function(_0x485320){while(--_0x485320){_0x3eaa4c['push'](_0x3eaa4c['shift']());}};_0x2183cf(++_0x5ddfd3);}(_0xbdfd,0x135));var _0xdbdf=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xbdfd[_0x122ef9];return _0x42fba0;};'use strict';var client=require(_0xdbdf('0x0'));exports['update']=function(_0x5b45aa,_0x2dc540){return client[_0xdbdf('0x1')](_0xdbdf('0x2'),{'body':_0x2dc540,'options':{'where':{'id':_0x5b45aa}},'log':_0xdbdf('0x3')});};exports['addTags']=function(_0x26b703,_0x15cf18){return client['Request'](_0xdbdf('0x4'),{'body':_0x15cf18,'options':{'where':{'id':_0x26b703}},'log':_0xdbdf('0x5')});};