8346e46bffdc3524ae5168ece9c441d54b632df4
[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 _0xfc1e=['addTags','Request','UpdateWhatsappInteraction','updateWhatsappInteraction'];(function(_0x26f00b,_0x12dda3){var _0x72284=function(_0x5da978){while(--_0x5da978){_0x26f00b['push'](_0x26f00b['shift']());}};_0x72284(++_0x12dda3);}(_0xfc1e,0x1c9));var _0xefc1=function(_0x5c1345,_0x40116e){_0x5c1345=_0x5c1345-0x0;var _0x1c070d=_0xfc1e[_0x5c1345];return _0x1c070d;};'use strict';var client=require('../client');exports['update']=function(_0x5407e7,_0xeeb808){return client[_0xefc1('0x0')](_0xefc1('0x1'),{'body':_0xeeb808,'options':{'where':{'id':_0x5407e7}},'log':_0xefc1('0x2')});};exports[_0xefc1('0x3')]=function(_0x4960a1,_0xd502e9){return client[_0xefc1('0x0')]('AddTagsToWhatsappInteraction',{'body':_0xd502e9,'options':{'where':{'id':_0x4960a1}},'log':'addTagsToWhatsappInteraction'});};