340da7dab7d8a44d3ff603553e03ac53f5fa2708
[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 _0x1542=['addTags','AddTagsToWhatsappInteraction','../client','update','Request','updateWhatsappInteraction'];(function(_0x24237f,_0x4cf32c){var _0x48298e=function(_0x3f7511){while(--_0x3f7511){_0x24237f['push'](_0x24237f['shift']());}};_0x48298e(++_0x4cf32c);}(_0x1542,0x116));var _0x2154=function(_0x174c9d,_0x5d0fc2){_0x174c9d=_0x174c9d-0x0;var _0x13bf70=_0x1542[_0x174c9d];return _0x13bf70;};'use strict';var client=require(_0x2154('0x0'));exports[_0x2154('0x1')]=function(_0x24448e,_0x2dd755){return client[_0x2154('0x2')]('UpdateWhatsappInteraction',{'body':_0x2dd755,'options':{'where':{'id':_0x24448e}},'log':_0x2154('0x3')});};exports[_0x2154('0x4')]=function(_0x13e41b,_0x4ded8a){return client[_0x2154('0x2')](_0x2154('0x5'),{'body':_0x4ded8a,'options':{'where':{'id':_0x13e41b}},'log':'addTagsToWhatsappInteraction'});};