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 _0x1abe=['../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','show','/:id/download','download','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x260fcf,_0x44ea0c){var _0x5d1d08=function(_0xb234aa){while(--_0xb234aa){_0x260fcf['push'](_0x260fcf['shift']());}};_0x5d1d08(++_0x44ea0c);}(_0x1abe,0x1ec));var _0xe1ab=function(_0x5a2ab1,_0x26c3c8){_0x5a2ab1=_0x5a2ab1-0x0;var _0x5d4eb6=_0x1abe[_0x5a2ab1];return _0x5d4eb6;};'use strict';var multer=require(_0xe1ab('0x0'));var util=require(_0xe1ab('0x1'));var path=require(_0xe1ab('0x2'));var timeout=require(_0xe1ab('0x3'));var express=require(_0xe1ab('0x4'));var router=express[_0xe1ab('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xe1ab('0x6'));var interaction=require(_0xe1ab('0x7'));var config=require(_0xe1ab('0x8'));var controller=require(_0xe1ab('0x9'));router[_0xe1ab('0xa')]('/',auth[_0xe1ab('0xb')](),controller['index']);router[_0xe1ab('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe1ab('0xc')]);router[_0xe1ab('0xa')](_0xe1ab('0xd'),auth[_0xe1ab('0xb')](),controller[_0xe1ab('0xe')]);router['post']('/',auth[_0xe1ab('0xb')](),controller['create']);router[_0xe1ab('0xf')](_0xe1ab('0x10'),auth['isAuthenticated'](),controller[_0xe1ab('0x11')]);router[_0xe1ab('0x12')](_0xe1ab('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0xe1ab('0x13')]=router;