Built motion from commit (unavailable).|2.5.11
[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 _0x782e=['AddTagsToWhatsappInteraction','UpdateWhatsappInteraction','updateWhatsappInteraction','Request'];(function(_0x551022,_0x83d9c6){var _0x3778be=function(_0x5abf9f){while(--_0x5abf9f){_0x551022['push'](_0x551022['shift']());}};_0x3778be(++_0x83d9c6);}(_0x782e,0xb9));var _0xe782=function(_0x581db6,_0x3f053d){_0x581db6=_0x581db6-0x0;var _0x13931c=_0x782e[_0x581db6];return _0x13931c;};'use strict';var client=require('../client');exports['update']=function(_0x120c31,_0x15b01d){return client['Request'](_0xe782('0x0'),{'body':_0x15b01d,'options':{'where':{'id':_0x120c31}},'log':_0xe782('0x1')});};exports['addTags']=function(_0x26f960,_0x6726f){return client[_0xe782('0x2')](_0xe782('0x3'),{'body':_0x6726f,'options':{'where':{'id':_0x26f960}},'log':'addTagsToWhatsappInteraction'});};