Built motion from commit 00bf23f6.|2.6.16
[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 _0x69b0=['download','post','create','put','/:id','update','delete','destroy','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','show','/:id/download'];(function(_0x420f19,_0x18b435){var _0x41a58a=function(_0x2fecde){while(--_0x2fecde){_0x420f19['push'](_0x420f19['shift']());}};_0x41a58a(++_0x18b435);}(_0x69b0,0xc6));var _0x069b=function(_0x186222,_0x3bdfb0){_0x186222=_0x186222-0x0;var _0x226a38=_0x69b0[_0x186222];return _0x226a38;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x069b('0x0'));var router=express[_0x069b('0x1')]();var fs_extra=require(_0x069b('0x2'));var auth=require(_0x069b('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x069b('0x4'));var controller=require(_0x069b('0x5'));router[_0x069b('0x6')]('/',auth[_0x069b('0x7')](),controller[_0x069b('0x8')]);router[_0x069b('0x6')]('/:id',auth[_0x069b('0x7')](),controller[_0x069b('0x9')]);router[_0x069b('0x6')](_0x069b('0xa'),auth[_0x069b('0x7')](),controller[_0x069b('0xb')]);router[_0x069b('0xc')]('/',auth['isAuthenticated'](),controller[_0x069b('0xd')]);router[_0x069b('0xe')](_0x069b('0xf'),auth[_0x069b('0x7')](),controller[_0x069b('0x10')]);router[_0x069b('0x11')](_0x069b('0xf'),auth[_0x069b('0x7')](),controller[_0x069b('0x12')]);module['exports']=router;