1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3e6d=['show','post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','isAuthenticated','get','/:id'];(function(_0x1a72f3,_0x217011){var _0x57ef47=function(_0x20123d){while(--_0x20123d){_0x1a72f3['push'](_0x1a72f3['shift']());}};_0x57ef47(++_0x217011);}(_0x3e6d,0x1bc));var _0xd3e6=function(_0x5d1caf,_0x3117e1){_0x5d1caf=_0x5d1caf-0x0;var _0xef37c6=_0x3e6d[_0x5d1caf];return _0xef37c6;};'use strict';var multer=require(_0xd3e6('0x0'));var util=require(_0xd3e6('0x1'));var path=require(_0xd3e6('0x2'));var timeout=require(_0xd3e6('0x3'));var express=require(_0xd3e6('0x4'));var router=express['Router']();var auth=require(_0xd3e6('0x5'));var interaction=require(_0xd3e6('0x6'));var config=require(_0xd3e6('0x7'));var controller=require(_0xd3e6('0x8'));router['get']('/',auth[_0xd3e6('0x9')](),controller['index']);router[_0xd3e6('0xa')](_0xd3e6('0xb'),auth['isAuthenticated'](),controller[_0xd3e6('0xc')]);router[_0xd3e6('0xd')]('/',auth[_0xd3e6('0x9')](),controller[_0xd3e6('0xe')]);router[_0xd3e6('0xf')](_0xd3e6('0xb'),auth[_0xd3e6('0x9')](),controller[_0xd3e6('0x10')]);router['delete'](_0xd3e6('0xb'),auth['isAuthenticated'](),controller[_0xd3e6('0x11')]);module[_0xd3e6('0x12')]=router;