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 _0x972c=['Request','AddTagsToWhatsappInteraction','UpdateWhatsappInteraction','updateWhatsappInteraction'];(function(_0x221a6f,_0x1674c8){var _0x3db53d=function(_0x4706a6){while(--_0x4706a6){_0x221a6f['push'](_0x221a6f['shift']());}};_0x3db53d(++_0x1674c8);}(_0x972c,0xf2));var _0xc972=function(_0x5e87a3,_0x348a63){_0x5e87a3=_0x5e87a3-0x0;var _0x100362=_0x972c[_0x5e87a3];return _0x100362;};'use strict';var client=require('../client');exports['update']=function(_0x3429a4,_0x19626d){return client['Request'](_0xc972('0x0'),{'body':_0x19626d,'options':{'where':{'id':_0x3429a4}},'log':_0xc972('0x1')});};exports['addTags']=function(_0x511ad4,_0x140e13){return client[_0xc972('0x2')](_0xc972('0x3'),{'body':_0x140e13,'options':{'where':{'id':_0x511ad4}},'log':'addTagsToWhatsappInteraction'});};