f6cbeaef95e35d99829574b91cb5ab237508e024
[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 _0x9589=['update','Request','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client'];(function(_0x5cb8a0,_0x5d55c2){var _0x7dcb3b=function(_0x31771c){while(--_0x31771c){_0x5cb8a0['push'](_0x5cb8a0['shift']());}};_0x7dcb3b(++_0x5d55c2);}(_0x9589,0xbc));var _0x9958=function(_0xd2bd1,_0x3ba7d6){_0xd2bd1=_0xd2bd1-0x0;var _0x9c70bd=_0x9589[_0xd2bd1];return _0x9c70bd;};'use strict';var client=require(_0x9958('0x0'));exports[_0x9958('0x1')]=function(_0x220175,_0x454fcd){return client[_0x9958('0x2')]('UpdateWhatsappInteraction',{'body':_0x454fcd,'options':{'where':{'id':_0x220175}},'log':_0x9958('0x3')});};exports[_0x9958('0x4')]=function(_0xe7c0e,_0x4845d4){return client[_0x9958('0x2')](_0x9958('0x5'),{'body':_0x4845d4,'options':{'where':{'id':_0xe7c0e}},'log':_0x9958('0x6')});};