Built motion from commit d1eab355.|2.6.28
[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 _0xe06c=['delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./analyticExtractedReport.controller','get','isAuthenticated','/:id','show','download','post','create','put'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xe06c,0x17e));var _0xce06=function(_0x496ee0,_0x5e592f){_0x496ee0=_0x496ee0-0x0;var _0x5bc3f9=_0xe06c[_0x496ee0];return _0x5bc3f9;};'use strict';var multer=require(_0xce06('0x0'));var util=require(_0xce06('0x1'));var path=require(_0xce06('0x2'));var timeout=require(_0xce06('0x3'));var express=require(_0xce06('0x4'));var router=express[_0xce06('0x5')]();var fs_extra=require(_0xce06('0x6'));var auth=require(_0xce06('0x7'));var interaction=require(_0xce06('0x8'));var config=require('../../config/environment');var controller=require(_0xce06('0x9'));router[_0xce06('0xa')]('/',auth[_0xce06('0xb')](),controller['index']);router[_0xce06('0xa')](_0xce06('0xc'),auth[_0xce06('0xb')](),controller[_0xce06('0xd')]);router[_0xce06('0xa')]('/:id/download',auth[_0xce06('0xb')](),controller[_0xce06('0xe')]);router[_0xce06('0xf')]('/',auth[_0xce06('0xb')](),controller[_0xce06('0x10')]);router[_0xce06('0x11')](_0xce06('0xc'),auth[_0xce06('0xb')](),controller['update']);router[_0xce06('0x12')]('/:id',auth[_0xce06('0xb')](),controller['destroy']);module[_0xce06('0x13')]=router;