1192f4c40191884daa880a555b223d2b0691a8d6
[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 _0xe13e=['Request','UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction'];(function(_0x2175f2,_0x255000){var _0x735a1e=function(_0x5f1267){while(--_0x5f1267){_0x2175f2['push'](_0x2175f2['shift']());}};_0x735a1e(++_0x255000);}(_0xe13e,0xde));var _0xee13=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xe13e[_0x321bb2];return _0x9c12ed;};'use strict';var client=require('../client');exports['update']=function(_0x4df8d5,_0x355e7c){return client[_0xee13('0x0')](_0xee13('0x1'),{'body':_0x355e7c,'options':{'where':{'id':_0x4df8d5}},'log':_0xee13('0x2')});};exports[_0xee13('0x3')]=function(_0x7a275f,_0x2fc6ff){return client[_0xee13('0x0')](_0xee13('0x4'),{'body':_0x2fc6ff,'options':{'where':{'id':_0x7a275f}},'log':_0xee13('0x5')});};