d62552e66705e9daedd023d73da9cf616ab0f416
[motion2.git] / server / api / analyticExtractedReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf6c5=['/:id','isAuthenticated','show','/:id/download','download','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','./analyticExtractedReport.controller','get','index'];(function(_0x381363,_0x3a2e29){var _0x81466a=function(_0x4b8481){while(--_0x4b8481){_0x381363['push'](_0x381363['shift']());}};_0x81466a(++_0x3a2e29);}(_0xf6c5,0x1c4));var _0x5f6c=function(_0x499fa3,_0x5f9a57){_0x499fa3=_0x499fa3-0x0;var _0x27199c=_0xf6c5[_0x499fa3];return _0x27199c;};'use strict';var multer=require(_0x5f6c('0x0'));var util=require(_0x5f6c('0x1'));var path=require(_0x5f6c('0x2'));var timeout=require(_0x5f6c('0x3'));var express=require(_0x5f6c('0x4'));var router=express['Router']();var fs_extra=require(_0x5f6c('0x5'));var auth=require(_0x5f6c('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5f6c('0x7'));router[_0x5f6c('0x8')]('/',auth['isAuthenticated'](),controller[_0x5f6c('0x9')]);router[_0x5f6c('0x8')](_0x5f6c('0xa'),auth[_0x5f6c('0xb')](),controller[_0x5f6c('0xc')]);router['get'](_0x5f6c('0xd'),auth[_0x5f6c('0xb')](),controller[_0x5f6c('0xe')]);router[_0x5f6c('0xf')]('/',auth[_0x5f6c('0xb')](),controller[_0x5f6c('0x10')]);router[_0x5f6c('0x11')](_0x5f6c('0xa'),auth['isAuthenticated'](),controller[_0x5f6c('0x12')]);router[_0x5f6c('0x13')](_0x5f6c('0xa'),auth['isAuthenticated'](),controller[_0x5f6c('0x14')]);module[_0x5f6c('0x15')]=router;