8d265c8f8cb662c6ecb18d1df6d04ba95cd4b04e
[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 _0xfcbe=['updateWhatsappInteraction','update','Request','UpdateWhatsappInteraction'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xfcbe,0x1b1));var _0xefcb=function(_0x1446c8,_0x240e7e){_0x1446c8=_0x1446c8-0x0;var _0x20aae6=_0xfcbe[_0x1446c8];return _0x20aae6;};'use strict';var client=require('../client');exports[_0xefcb('0x0')]=function(_0x35eabe,_0x1dc3ed){return client[_0xefcb('0x1')](_0xefcb('0x2'),{'body':_0x1dc3ed,'options':{'where':{'id':_0x35eabe}},'log':_0xefcb('0x3')});};exports['addTags']=function(_0xbfb8c6,_0x14f3b5){return client['Request']('AddTagsToWhatsappInteraction',{'body':_0x14f3b5,'options':{'where':{'id':_0xbfb8c6}},'log':'addTagsToWhatsappInteraction'});};