Built motion from commit 25580385.|2.6.2
[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 _0x7ea9=['AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','update','Request','UpdateWhatsappInteraction','addTags'];(function(_0x4dc284,_0x445d66){var _0x3146d1=function(_0x1cf9c2){while(--_0x1cf9c2){_0x4dc284['push'](_0x4dc284['shift']());}};_0x3146d1(++_0x445d66);}(_0x7ea9,0xec));var _0x97ea=function(_0x5ee78e,_0x2d0dda){_0x5ee78e=_0x5ee78e-0x0;var _0x3ef330=_0x7ea9[_0x5ee78e];return _0x3ef330;};'use strict';var client=require('../client');exports[_0x97ea('0x0')]=function(_0x1b0376,_0x303e4d){return client[_0x97ea('0x1')](_0x97ea('0x2'),{'body':_0x303e4d,'options':{'where':{'id':_0x1b0376}},'log':'updateWhatsappInteraction'});};exports[_0x97ea('0x3')]=function(_0xd02076,_0x2c80e6){return client['Request'](_0x97ea('0x4'),{'body':_0x2c80e6,'options':{'where':{'id':_0xd02076}},'log':_0x97ea('0x5')});};