e57c49dfe039286105c293584a24fc0c967ee72c
[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 _0x2525=['../client','update','Request','UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction'];(function(_0x5f1332,_0x59acb2){var _0x2c422c=function(_0x4f3c98){while(--_0x4f3c98){_0x5f1332['push'](_0x5f1332['shift']());}};_0x2c422c(++_0x59acb2);}(_0x2525,0x1f0));var _0x5252=function(_0x1b828b,_0x344400){_0x1b828b=_0x1b828b-0x0;var _0x98da1a=_0x2525[_0x1b828b];return _0x98da1a;};'use strict';var client=require(_0x5252('0x0'));exports[_0x5252('0x1')]=function(_0x5de98b,_0x166a72){return client[_0x5252('0x2')](_0x5252('0x3'),{'body':_0x166a72,'options':{'where':{'id':_0x5de98b}},'log':_0x5252('0x4')});};exports[_0x5252('0x5')]=function(_0x28efdd,_0x4907eb){return client['Request'](_0x5252('0x6'),{'body':_0x4907eb,'options':{'where':{'id':_0x28efdd}},'log':_0x5252('0x7')});};