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 _0x55cf=['/describe','describe','/:id','show','post','put','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index'];(function(_0x259ab5,_0x4babe6){var _0x47b8c2=function(_0x9ed325){while(--_0x9ed325){_0x259ab5['push'](_0x259ab5['shift']());}};_0x47b8c2(++_0x4babe6);}(_0x55cf,0xab));var _0xf55c=function(_0x1a8f86,_0x5ed9c4){_0x1a8f86=_0x1a8f86-0x0;var _0x20d876=_0x55cf[_0x1a8f86];return _0x20d876;};'use strict';var multer=require(_0xf55c('0x0'));var util=require(_0xf55c('0x1'));var path=require(_0xf55c('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf55c('0x3')]();var auth=require(_0xf55c('0x4'));var interaction=require(_0xf55c('0x5'));var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router[_0xf55c('0x6')]('/',auth[_0xf55c('0x7')](),controller[_0xf55c('0x8')]);router[_0xf55c('0x6')](_0xf55c('0x9'),auth[_0xf55c('0x7')](),controller[_0xf55c('0xa')]);router[_0xf55c('0x6')](_0xf55c('0xb'),auth['isAuthenticated'](),controller[_0xf55c('0xc')]);router[_0xf55c('0xd')]('/',auth[_0xf55c('0x7')](),controller['create']);router[_0xf55c('0xe')](_0xf55c('0xb'),auth[_0xf55c('0x7')](),controller['update']);router[_0xf55c('0xf')](_0xf55c('0xb'),auth[_0xf55c('0x7')](),controller[_0xf55c('0x10')]);module[_0xf55c('0x11')]=router;