Built motion from commit b5996064.|2.6.21
[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 _0x6011=['addTagsToWhatsappInteraction','UpdateWhatsappInteraction','updateWhatsappInteraction','Request','AddTagsToWhatsappInteraction'];(function(_0x2e5375,_0x59b067){var _0x24c8b1=function(_0x2aa74a){while(--_0x2aa74a){_0x2e5375['push'](_0x2e5375['shift']());}};_0x24c8b1(++_0x59b067);}(_0x6011,0x196));var _0x1601=function(_0x3e1f63,_0x4fbb1f){_0x3e1f63=_0x3e1f63-0x0;var _0x1251f3=_0x6011[_0x3e1f63];return _0x1251f3;};'use strict';var client=require('../client');exports['update']=function(_0x48defa,_0x55f0f0){return client['Request'](_0x1601('0x0'),{'body':_0x55f0f0,'options':{'where':{'id':_0x48defa}},'log':_0x1601('0x1')});};exports['addTags']=function(_0x23ed9e,_0x2ede55){return client[_0x1601('0x2')](_0x1601('0x3'),{'body':_0x2ede55,'options':{'where':{'id':_0x23ed9e}},'log':_0x1601('0x4')});};