f16f7007c6c5cd98f4ff23ea256e1d653a6e0eeb
[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 _0xb3ea=['update','Request','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client'];(function(_0x10bd9c,_0x324b9f){var _0x5c8df4=function(_0x587b33){while(--_0x587b33){_0x10bd9c['push'](_0x10bd9c['shift']());}};_0x5c8df4(++_0x324b9f);}(_0xb3ea,0x10d));var _0xab3e=function(_0x3a622d,_0x114216){_0x3a622d=_0x3a622d-0x0;var _0xd98d8c=_0xb3ea[_0x3a622d];return _0xd98d8c;};'use strict';var client=require(_0xab3e('0x0'));exports[_0xab3e('0x1')]=function(_0x1d7916,_0x55a623){return client[_0xab3e('0x2')]('UpdateWhatsappInteraction',{'body':_0x55a623,'options':{'where':{'id':_0x1d7916}},'log':_0xab3e('0x3')});};exports['addTags']=function(_0x30e8e6,_0x196c45){return client[_0xab3e('0x2')](_0xab3e('0x4'),{'body':_0x196c45,'options':{'where':{'id':_0x30e8e6}},'log':_0xab3e('0x5')});};