d0131513563f910717b54f4bea6406775462f82e
[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 _0x0295=['addTags','Request','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','updateWhatsappInteraction'];(function(_0x418bb9,_0x14cb6a){var _0x237bc2=function(_0x32bc41){while(--_0x32bc41){_0x418bb9['push'](_0x418bb9['shift']());}};_0x237bc2(++_0x14cb6a);}(_0x0295,0x1f0));var _0x5029=function(_0x135573,_0x479526){_0x135573=_0x135573-0x0;var _0x13ea56=_0x0295[_0x135573];return _0x13ea56;};'use strict';var client=require(_0x5029('0x0'));exports['update']=function(_0x5e71d0,_0x2dfab1){return client['Request']('UpdateWhatsappInteraction',{'body':_0x2dfab1,'options':{'where':{'id':_0x5e71d0}},'log':_0x5029('0x1')});};exports[_0x5029('0x2')]=function(_0x157a4f,_0x3d0af1){return client[_0x5029('0x3')](_0x5029('0x4'),{'body':_0x3d0af1,'options':{'where':{'id':_0x157a4f}},'log':_0x5029('0x5')});};