Built motion from commit 6a09e18b.|2.6.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 _0xfb67=['UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','update','Request'];(function(_0x3fd3a3,_0x36c863){var _0xa3e4d5=function(_0x1fd03b){while(--_0x1fd03b){_0x3fd3a3['push'](_0x3fd3a3['shift']());}};_0xa3e4d5(++_0x36c863);}(_0xfb67,0xdd));var _0x7fb6=function(_0x5ef144,_0x34db1f){_0x5ef144=_0x5ef144-0x0;var _0x2933d3=_0xfb67[_0x5ef144];return _0x2933d3;};'use strict';var client=require(_0x7fb6('0x0'));exports[_0x7fb6('0x1')]=function(_0x1c5b8d,_0x3fc29d){return client[_0x7fb6('0x2')](_0x7fb6('0x3'),{'body':_0x3fc29d,'options':{'where':{'id':_0x1c5b8d}},'log':_0x7fb6('0x4')});};exports['addTags']=function(_0x40c3ce,_0x29dadc){return client[_0x7fb6('0x2')](_0x7fb6('0x5'),{'body':_0x29dadc,'options':{'where':{'id':_0x40c3ce}},'log':_0x7fb6('0x6')});};