Built motion from commit (unavailable).|2.5.31
[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 _0xb7fc=['UpdateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','Request'];(function(_0x5adc06,_0x8f7cc){var _0x29ab0c=function(_0x34899e){while(--_0x34899e){_0x5adc06['push'](_0x5adc06['shift']());}};_0x29ab0c(++_0x8f7cc);}(_0xb7fc,0x1e3));var _0xcb7f=function(_0x49a57c,_0x2eb02c){_0x49a57c=_0x49a57c-0x0;var _0x4e0316=_0xb7fc[_0x49a57c];return _0x4e0316;};'use strict';var client=require(_0xcb7f('0x0'));exports['update']=function(_0x52c9f2,_0x189517){return client[_0xcb7f('0x1')](_0xcb7f('0x2'),{'body':_0x189517,'options':{'where':{'id':_0x52c9f2}},'log':'updateWhatsappInteraction'});};exports['addTags']=function(_0x23c877,_0x28247a){return client[_0xcb7f('0x1')](_0xcb7f('0x3'),{'body':_0x28247a,'options':{'where':{'id':_0x23c877}},'log':_0xcb7f('0x4')});};