d86ecb2e1095dac33893b735aabc103487097df0
[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 _0xcf98=['addTagsToWhatsappInteraction','update','Request','UpdateWhatsappInteraction','AddTagsToWhatsappInteraction'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0xcf98,0x8d));var _0x8cf9=function(_0x2bc388,_0x409de1){_0x2bc388=_0x2bc388-0x0;var _0x42eb8e=_0xcf98[_0x2bc388];return _0x42eb8e;};'use strict';var client=require('../client');exports[_0x8cf9('0x0')]=function(_0x2565de,_0x299e1d){return client[_0x8cf9('0x1')](_0x8cf9('0x2'),{'body':_0x299e1d,'options':{'where':{'id':_0x2565de}},'log':'updateWhatsappInteraction'});};exports['addTags']=function(_0x2ebf57,_0x28ae77){return client[_0x8cf9('0x1')](_0x8cf9('0x3'),{'body':_0x28ae77,'options':{'where':{'id':_0x2ebf57}},'log':_0x8cf9('0x4')});};