Built motion from commit da617fac.|2.6.6
[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 _0x39c7=['updateWhatsappInteraction','update','Request','UpdateWhatsappInteraction'];(function(_0x542312,_0x54895d){var _0x4d73a0=function(_0x1196e5){while(--_0x1196e5){_0x542312['push'](_0x542312['shift']());}};_0x4d73a0(++_0x54895d);}(_0x39c7,0x85));var _0x739c=function(_0x479323,_0x1e0eae){_0x479323=_0x479323-0x0;var _0x260ea0=_0x39c7[_0x479323];return _0x260ea0;};'use strict';var client=require('../client');exports[_0x739c('0x0')]=function(_0x30270a,_0x11237b){return client[_0x739c('0x1')](_0x739c('0x2'),{'body':_0x11237b,'options':{'where':{'id':_0x30270a}},'log':_0x739c('0x3')});};exports['addTags']=function(_0x11c0a6,_0xff8215){return client[_0x739c('0x1')]('AddTagsToWhatsappInteraction',{'body':_0xff8215,'options':{'where':{'id':_0x11c0a6}},'log':'addTagsToWhatsappInteraction'});};