f92b952d5b0b4de4d4b1aa97c27a9aa217d75303
[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 _0x4fb4=['UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','update','Request'];(function(_0x2044cb,_0x17bf63){var _0xfa55af=function(_0x20c72b){while(--_0x20c72b){_0x2044cb['push'](_0x2044cb['shift']());}};_0xfa55af(++_0x17bf63);}(_0x4fb4,0x190));var _0x44fb=function(_0x59812f,_0x1ea9ce){_0x59812f=_0x59812f-0x0;var _0x23ec66=_0x4fb4[_0x59812f];return _0x23ec66;};'use strict';var client=require('../client');exports[_0x44fb('0x0')]=function(_0x34418d,_0x343eab){return client[_0x44fb('0x1')](_0x44fb('0x2'),{'body':_0x343eab,'options':{'where':{'id':_0x34418d}},'log':_0x44fb('0x3')});};exports['addTags']=function(_0xec6dce,_0x953327){return client[_0x44fb('0x1')](_0x44fb('0x4'),{'body':_0x953327,'options':{'where':{'id':_0xec6dce}},'log':_0x44fb('0x5')});};