920b8e5a219ce06745aaea0b0e473a360e3ac1fc
[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 _0xeb79=['Request','updateWhatsappInteraction','AddTagsToWhatsappInteraction'];(function(_0x1b5b7a,_0x2ae121){var _0x38b3c7=function(_0x20e378){while(--_0x20e378){_0x1b5b7a['push'](_0x1b5b7a['shift']());}};_0x38b3c7(++_0x2ae121);}(_0xeb79,0x87));var _0x9eb7=function(_0x2cf8ff,_0x42ecad){_0x2cf8ff=_0x2cf8ff-0x0;var _0x253448=_0xeb79[_0x2cf8ff];return _0x253448;};'use strict';var client=require('../client');exports['update']=function(_0x21baca,_0x58e9b8){return client[_0x9eb7('0x0')]('UpdateWhatsappInteraction',{'body':_0x58e9b8,'options':{'where':{'id':_0x21baca}},'log':_0x9eb7('0x1')});};exports['addTags']=function(_0x3ee5c6,_0x2987e1){return client[_0x9eb7('0x0')](_0x9eb7('0x2'),{'body':_0x2987e1,'options':{'where':{'id':_0x3ee5c6}},'log':'addTagsToWhatsappInteraction'});};