416b97b41cdc26fb329bb4a9ea909597cbe3cf65
[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 _0xb469=['../client','update','Request','UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction'];(function(_0x294726,_0x5db9e9){var _0x39e2e3=function(_0x50041d){while(--_0x50041d){_0x294726['push'](_0x294726['shift']());}};_0x39e2e3(++_0x5db9e9);}(_0xb469,0x13b));var _0x9b46=function(_0x5ca30a,_0x5927a4){_0x5ca30a=_0x5ca30a-0x0;var _0x4f457e=_0xb469[_0x5ca30a];return _0x4f457e;};'use strict';var client=require(_0x9b46('0x0'));exports[_0x9b46('0x1')]=function(_0x2d18d9,_0x34f477){return client[_0x9b46('0x2')](_0x9b46('0x3'),{'body':_0x34f477,'options':{'where':{'id':_0x2d18d9}},'log':_0x9b46('0x4')});};exports['addTags']=function(_0x31f853,_0x45322f){return client['Request'](_0x9b46('0x5'),{'body':_0x45322f,'options':{'where':{'id':_0x31f853}},'log':_0x9b46('0x6')});};