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 _0x3cc4=['express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','/describe','show','post','create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x3cc4,0x1eb));var _0x43cc=function(_0xdf117,_0x26f037){_0xdf117=_0xdf117-0x0;var _0x3a93bf=_0x3cc4[_0xdf117];return _0x3a93bf;};'use strict';var multer=require('multer');var util=require(_0x43cc('0x0'));var path=require(_0x43cc('0x1'));var timeout=require(_0x43cc('0x2'));var express=require(_0x43cc('0x3'));var router=express[_0x43cc('0x4')]();var fs_extra=require(_0x43cc('0x5'));var auth=require(_0x43cc('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router[_0x43cc('0x7')]('/',auth[_0x43cc('0x8')](),controller['index']);router[_0x43cc('0x7')](_0x43cc('0x9'),auth[_0x43cc('0x8')](),controller['describe']);router[_0x43cc('0x7')]('/:id',auth[_0x43cc('0x8')](),controller[_0x43cc('0xa')]);router[_0x43cc('0xb')]('/',auth[_0x43cc('0x8')](),controller[_0x43cc('0xc')]);router[_0x43cc('0xd')](_0x43cc('0xe'),auth[_0x43cc('0x8')](),controller[_0x43cc('0xf')]);router[_0x43cc('0x10')](_0x43cc('0xe'),auth['isAuthenticated'](),controller[_0x43cc('0x11')]);module[_0x43cc('0x12')]=router;