Built motion from commit (unavailable).|2.5.7
[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 _0x2750=['updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','../client','Request','UpdateWhatsappInteraction'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x2750,0x13b));var _0x0275=function(_0x24d3a8,_0x448949){_0x24d3a8=_0x24d3a8-0x0;var _0x408048=_0x2750[_0x24d3a8];return _0x408048;};'use strict';var client=require(_0x0275('0x0'));exports['update']=function(_0xf4568,_0xf2ae71){return client[_0x0275('0x1')](_0x0275('0x2'),{'body':_0xf2ae71,'options':{'where':{'id':_0xf4568}},'log':_0x0275('0x3')});};exports[_0x0275('0x4')]=function(_0x20273d,_0x4960){return client[_0x0275('0x1')](_0x0275('0x5'),{'body':_0x4960,'options':{'where':{'id':_0x20273d}},'log':'addTagsToWhatsappInteraction'});};