7ec5d71e1179fb1f3e330e41601d2475db31016d
[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 _0x2f74=['UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','../client','Request'];(function(_0x1644f2,_0x2884e8){var _0x1fcb31=function(_0x41773c){while(--_0x41773c){_0x1644f2['push'](_0x1644f2['shift']());}};_0x1fcb31(++_0x2884e8);}(_0x2f74,0x7b));var _0x42f7=function(_0x727f82,_0x29531d){_0x727f82=_0x727f82-0x0;var _0x324e51=_0x2f74[_0x727f82];return _0x324e51;};'use strict';var client=require(_0x42f7('0x0'));exports['update']=function(_0x216970,_0x32d116){return client[_0x42f7('0x1')](_0x42f7('0x2'),{'body':_0x32d116,'options':{'where':{'id':_0x216970}},'log':_0x42f7('0x3')});};exports[_0x42f7('0x4')]=function(_0x43a650,_0x16d639){return client['Request']('AddTagsToWhatsappInteraction',{'body':_0x16d639,'options':{'where':{'id':_0x43a650}},'log':'addTagsToWhatsappInteraction'});};