Built motion from commit f7863d46.|2.5.41
[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 _0xecb2=['AddTagsToWhatsappInteraction','../client','updateWhatsappInteraction','addTags','Request'];(function(_0x4b49c9,_0x290d55){var _0xab2d67=function(_0x3a8e9c){while(--_0x3a8e9c){_0x4b49c9['push'](_0x4b49c9['shift']());}};_0xab2d67(++_0x290d55);}(_0xecb2,0xf6));var _0x2ecb=function(_0x86e095,_0x14278c){_0x86e095=_0x86e095-0x0;var _0x5c2019=_0xecb2[_0x86e095];return _0x5c2019;};'use strict';var client=require(_0x2ecb('0x0'));exports['update']=function(_0x524d76,_0x3ac728){return client['Request']('UpdateWhatsappInteraction',{'body':_0x3ac728,'options':{'where':{'id':_0x524d76}},'log':_0x2ecb('0x1')});};exports[_0x2ecb('0x2')]=function(_0x393e7c,_0x2a4fe5){return client[_0x2ecb('0x3')](_0x2ecb('0x4'),{'body':_0x2a4fe5,'options':{'where':{'id':_0x393e7c}},'log':'addTagsToWhatsappInteraction'});};