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 _0x1a30=['../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x1e14f2,_0x3aec73){var _0x93a0df=function(_0x5155b7){while(--_0x5155b7){_0x1e14f2['push'](_0x1e14f2['shift']());}};_0x93a0df(++_0x3aec73);}(_0x1a30,0x8d));var _0x01a3=function(_0x3c1a12,_0x4792c6){_0x3c1a12=_0x3c1a12-0x0;var _0x3b28f3=_0x1a30[_0x3c1a12];return _0x3b28f3;};'use strict';var multer=require(_0x01a3('0x0'));var util=require(_0x01a3('0x1'));var path=require(_0x01a3('0x2'));var timeout=require('connect-timeout');var express=require(_0x01a3('0x3'));var router=express[_0x01a3('0x4')]();var fs_extra=require(_0x01a3('0x5'));var auth=require(_0x01a3('0x6'));var interaction=require(_0x01a3('0x7'));var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router['get']('/',auth[_0x01a3('0x8')](),controller[_0x01a3('0x9')]);router[_0x01a3('0xa')](_0x01a3('0xb'),auth[_0x01a3('0x8')](),controller[_0x01a3('0xc')]);router[_0x01a3('0xa')](_0x01a3('0xd'),auth['isAuthenticated'](),controller[_0x01a3('0xe')]);router['post']('/',auth[_0x01a3('0x8')](),controller[_0x01a3('0xf')]);router[_0x01a3('0x10')](_0x01a3('0xd'),auth[_0x01a3('0x8')](),controller[_0x01a3('0x11')]);router[_0x01a3('0x12')]('/:id',auth[_0x01a3('0x8')](),controller[_0x01a3('0x13')]);module[_0x01a3('0x14')]=router;