Built motion from commit 936e8062.|2.5.33
[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 _0x9a14=['Request','UpdateWhatsappInteraction','updateWhatsappInteraction','addTags'];(function(_0x2002b3,_0x11e91c){var _0x2756f0=function(_0x4bf0b3){while(--_0x4bf0b3){_0x2002b3['push'](_0x2002b3['shift']());}};_0x2756f0(++_0x11e91c);}(_0x9a14,0xa8));var _0x49a1=function(_0xf59653,_0x21f696){_0xf59653=_0xf59653-0x0;var _0x1571ac=_0x9a14[_0xf59653];return _0x1571ac;};'use strict';var client=require('../client');exports['update']=function(_0xece3f3,_0x3bfde6){return client[_0x49a1('0x0')](_0x49a1('0x1'),{'body':_0x3bfde6,'options':{'where':{'id':_0xece3f3}},'log':_0x49a1('0x2')});};exports[_0x49a1('0x3')]=function(_0x10de2e,_0x453ecf){return client['Request']('AddTagsToWhatsappInteraction',{'body':_0x453ecf,'options':{'where':{'id':_0x10de2e}},'log':'addTagsToWhatsappInteraction'});};