12eb35e2d0b117031e6573d5706c1b3087c41ffd
[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 _0xba34=['addTagsToWhatsappInteraction','../client','update','Request','AddTagsToWhatsappInteraction'];(function(_0x21a2b3,_0x5d6564){var _0x4651a7=function(_0x285f59){while(--_0x285f59){_0x21a2b3['push'](_0x21a2b3['shift']());}};_0x4651a7(++_0x5d6564);}(_0xba34,0x119));var _0x4ba3=function(_0x3e175c,_0x34751e){_0x3e175c=_0x3e175c-0x0;var _0x7dfb09=_0xba34[_0x3e175c];return _0x7dfb09;};'use strict';var client=require(_0x4ba3('0x0'));exports[_0x4ba3('0x1')]=function(_0xb04f7b,_0x146253){return client[_0x4ba3('0x2')]('UpdateWhatsappInteraction',{'body':_0x146253,'options':{'where':{'id':_0xb04f7b}},'log':'updateWhatsappInteraction'});};exports['addTags']=function(_0x4592fc,_0x2947f2){return client[_0x4ba3('0x2')](_0x4ba3('0x3'),{'body':_0x2947f2,'options':{'where':{'id':_0x4592fc}},'log':_0x4ba3('0x4')});};