Built motion from commit 9d1906d1.|2.5.40
[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 _0x0ef4=['updateWhatsappInteraction','addTags','Request','update'];(function(_0x222a0b,_0x55bc3c){var _0x1ce508=function(_0x116b03){while(--_0x116b03){_0x222a0b['push'](_0x222a0b['shift']());}};_0x1ce508(++_0x55bc3c);}(_0x0ef4,0xc7));var _0x40ef=function(_0xf34895,_0x21fb70){_0xf34895=_0xf34895-0x0;var _0x143f44=_0x0ef4[_0xf34895];return _0x143f44;};'use strict';var client=require('../client');exports[_0x40ef('0x0')]=function(_0x6e581d,_0x2d9889){return client['Request']('UpdateWhatsappInteraction',{'body':_0x2d9889,'options':{'where':{'id':_0x6e581d}},'log':_0x40ef('0x1')});};exports[_0x40ef('0x2')]=function(_0x85ee1d,_0x4a5798){return client[_0x40ef('0x3')]('AddTagsToWhatsappInteraction',{'body':_0x4a5798,'options':{'where':{'id':_0x85ee1d}},'log':'addTagsToWhatsappInteraction'});};