f91e207367442a1f71e8b22270fc1ba5b68e0214
[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 _0x7b14=['./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','/:id/download','post','create','put','delete','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2b0708,_0x5dcbdd){var _0x49e9b8=function(_0x12d427){while(--_0x12d427){_0x2b0708['push'](_0x2b0708['shift']());}};_0x49e9b8(++_0x5dcbdd);}(_0x7b14,0xdc));var _0x47b1=function(_0x590001,_0x3505fe){_0x590001=_0x590001-0x0;var _0x291888=_0x7b14[_0x590001];return _0x291888;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x47b1('0x0'));var timeout=require(_0x47b1('0x1'));var express=require(_0x47b1('0x2'));var router=express[_0x47b1('0x3')]();var fs_extra=require(_0x47b1('0x4'));var auth=require(_0x47b1('0x5'));var interaction=require(_0x47b1('0x6'));var config=require(_0x47b1('0x7'));var controller=require(_0x47b1('0x8'));router[_0x47b1('0x9')]('/',auth[_0x47b1('0xa')](),controller[_0x47b1('0xb')]);router[_0x47b1('0x9')](_0x47b1('0xc'),auth['isAuthenticated'](),controller['show']);router['get'](_0x47b1('0xd'),auth[_0x47b1('0xa')](),controller['download']);router[_0x47b1('0xe')]('/',auth[_0x47b1('0xa')](),controller[_0x47b1('0xf')]);router[_0x47b1('0x10')](_0x47b1('0xc'),auth[_0x47b1('0xa')](),controller['update']);router[_0x47b1('0x11')](_0x47b1('0xc'),auth[_0x47b1('0xa')](),controller['destroy']);module[_0x47b1('0x12')]=router;