Built motion from commit b5413ace.|2.6.9
[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 _0xafc4=['../client','Request','UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction'];(function(_0x4b9f35,_0x287585){var _0x200ea1=function(_0x9bf668){while(--_0x9bf668){_0x4b9f35['push'](_0x4b9f35['shift']());}};_0x200ea1(++_0x287585);}(_0xafc4,0x69));var _0x4afc=function(_0x5aee26,_0x1a0e27){_0x5aee26=_0x5aee26-0x0;var _0x37f11c=_0xafc4[_0x5aee26];return _0x37f11c;};'use strict';var client=require(_0x4afc('0x0'));exports['update']=function(_0x2604d4,_0x52e4dd){return client[_0x4afc('0x1')](_0x4afc('0x2'),{'body':_0x52e4dd,'options':{'where':{'id':_0x2604d4}},'log':_0x4afc('0x3')});};exports[_0x4afc('0x4')]=function(_0x4d9dbd,_0x49f417){return client['Request'](_0x4afc('0x5'),{'body':_0x49f417,'options':{'where':{'id':_0x4d9dbd}},'log':_0x4afc('0x6')});};