665fb024a763df2ba9ef092f6a8c16d191738198
[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 _0x0e76=['updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','UpdateWhatsappInteraction'];(function(_0x1cfacc,_0x167cca){var _0x5e8766=function(_0x49819e){while(--_0x49819e){_0x1cfacc['push'](_0x1cfacc['shift']());}};_0x5e8766(++_0x167cca);}(_0x0e76,0xc4));var _0x60e7=function(_0x46e1b0,_0x145a6d){_0x46e1b0=_0x46e1b0-0x0;var _0x31520a=_0x0e76[_0x46e1b0];return _0x31520a;};'use strict';var client=require(_0x60e7('0x0'));exports['update']=function(_0x4f9548,_0x259dcb){return client['Request'](_0x60e7('0x1'),{'body':_0x259dcb,'options':{'where':{'id':_0x4f9548}},'log':_0x60e7('0x2')});};exports[_0x60e7('0x3')]=function(_0xd3886,_0x2f1ad1){return client['Request'](_0x60e7('0x4'),{'body':_0x2f1ad1,'options':{'where':{'id':_0xd3886}},'log':_0x60e7('0x5')});};