Built motion from commit 85328c08.|2.5.50
[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 _0x7412=['UpdateWhatsappInteraction','addTagsToWhatsappInteraction','../client'];(function(_0x289e64,_0x5adb3c){var _0x30246c=function(_0x1bf7f6){while(--_0x1bf7f6){_0x289e64['push'](_0x289e64['shift']());}};_0x30246c(++_0x5adb3c);}(_0x7412,0x161));var _0x2741=function(_0x39c734,_0x2f3e06){_0x39c734=_0x39c734-0x0;var _0xb2a2f9=_0x7412[_0x39c734];return _0xb2a2f9;};'use strict';var client=require(_0x2741('0x0'));exports['update']=function(_0x5eff0c,_0x77f7f7){return client['Request'](_0x2741('0x1'),{'body':_0x77f7f7,'options':{'where':{'id':_0x5eff0c}},'log':'updateWhatsappInteraction'});};exports['addTags']=function(_0x509ce6,_0x552836){return client['Request']('AddTagsToWhatsappInteraction',{'body':_0x552836,'options':{'where':{'id':_0x509ce6}},'log':_0x2741('0x2')});};