Built motion from commit e6806ed6.|2.6.0
[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 _0x6333=['updateWhatsappInteraction','Request','AddTagsToWhatsappInteraction','UpdateWhatsappInteraction'];(function(_0x263a74,_0xc31414){var _0x2aa86c=function(_0x382896){while(--_0x382896){_0x263a74['push'](_0x263a74['shift']());}};_0x2aa86c(++_0xc31414);}(_0x6333,0x83));var _0x3633=function(_0xe641a2,_0x339cdb){_0xe641a2=_0xe641a2-0x0;var _0x5049cc=_0x6333[_0xe641a2];return _0x5049cc;};'use strict';var client=require('../client');exports['update']=function(_0x5e5d69,_0x2aa20f){return client['Request'](_0x3633('0x0'),{'body':_0x2aa20f,'options':{'where':{'id':_0x5e5d69}},'log':_0x3633('0x1')});};exports['addTags']=function(_0x3e0961,_0x5cb6c6){return client[_0x3633('0x2')](_0x3633('0x3'),{'body':_0x5cb6c6,'options':{'where':{'id':_0x3e0961}},'log':'addTagsToWhatsappInteraction'});};