Built motion from commit 97153652.|2.6.26
[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 _0x277c=['updateWhatsappInteraction','addTags','addTagsToWhatsappInteraction','../client','Request','UpdateWhatsappInteraction'];(function(_0x1ce8cf,_0x38f192){var _0x5b0a5d=function(_0x47e3a9){while(--_0x47e3a9){_0x1ce8cf['push'](_0x1ce8cf['shift']());}};_0x5b0a5d(++_0x38f192);}(_0x277c,0x153));var _0xc277=function(_0x2c7bf4,_0x1eaf6f){_0x2c7bf4=_0x2c7bf4-0x0;var _0x2dc505=_0x277c[_0x2c7bf4];return _0x2dc505;};'use strict';var client=require(_0xc277('0x0'));exports['update']=function(_0x2bb260,_0x3420cf){return client[_0xc277('0x1')](_0xc277('0x2'),{'body':_0x3420cf,'options':{'where':{'id':_0x2bb260}},'log':_0xc277('0x3')});};exports[_0xc277('0x4')]=function(_0x72f952,_0x29f81d){return client['Request']('AddTagsToWhatsappInteraction',{'body':_0x29f81d,'options':{'where':{'id':_0x72f952}},'log':_0xc277('0x5')});};