Built motion from commit c1aa34a0.|2.6.28
[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 _0x1623=['updateWhatsappInteraction','addTags','addTagsToWhatsappInteraction','../client','Request','UpdateWhatsappInteraction'];(function(_0xb7b878,_0x5c3b92){var _0x3c84b9=function(_0x21d5a2){while(--_0x21d5a2){_0xb7b878['push'](_0xb7b878['shift']());}};_0x3c84b9(++_0x5c3b92);}(_0x1623,0xab));var _0x3162=function(_0x2f1f40,_0x29f142){_0x2f1f40=_0x2f1f40-0x0;var _0x2ca0a3=_0x1623[_0x2f1f40];return _0x2ca0a3;};'use strict';var client=require(_0x3162('0x0'));exports['update']=function(_0x5b17d4,_0x311951){return client[_0x3162('0x1')](_0x3162('0x2'),{'body':_0x311951,'options':{'where':{'id':_0x5b17d4}},'log':_0x3162('0x3')});};exports[_0x3162('0x4')]=function(_0x4ce2bd,_0x5d49d0){return client[_0x3162('0x1')]('AddTagsToWhatsappInteraction',{'body':_0x5d49d0,'options':{'where':{'id':_0x4ce2bd}},'log':_0x3162('0x5')});};