24d8ff2f3dac4e58e5be8dbe26132736aa4f29be
[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 _0x9bd9=['../client','update','Request','UpdateWhatsappInteraction','addTags','addTagsToWhatsappInteraction'];(function(_0x1e1965,_0x55785c){var _0x1a2e96=function(_0x27d366){while(--_0x27d366){_0x1e1965['push'](_0x1e1965['shift']());}};_0x1a2e96(++_0x55785c);}(_0x9bd9,0x1a4));var _0x99bd=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x9bd9[_0x40a045];return _0x1a687c;};'use strict';var client=require(_0x99bd('0x0'));exports[_0x99bd('0x1')]=function(_0x2a3101,_0x3ed553){return client[_0x99bd('0x2')](_0x99bd('0x3'),{'body':_0x3ed553,'options':{'where':{'id':_0x2a3101}},'log':'updateWhatsappInteraction'});};exports[_0x99bd('0x4')]=function(_0x4a0491,_0x204fbb){return client[_0x99bd('0x2')]('AddTagsToWhatsappInteraction',{'body':_0x204fbb,'options':{'where':{'id':_0x4a0491}},'log':_0x99bd('0x5')});};