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