Built motion from commit 10af8726.|2.6.34
[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 _0x054a=['./analyticExtractedReport.controller','isAuthenticated','get','/:id','/:id/download','download','post','put','update','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x361ca1,_0x1fef27){var _0x253fcb=function(_0x332285){while(--_0x332285){_0x361ca1['push'](_0x361ca1['shift']());}};_0x253fcb(++_0x1fef27);}(_0x054a,0x1bb));var _0xa054=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x054a[_0x20a584];return _0x4b41a8;};'use strict';var multer=require('multer');var util=require(_0xa054('0x0'));var path=require(_0xa054('0x1'));var timeout=require(_0xa054('0x2'));var express=require(_0xa054('0x3'));var router=express[_0xa054('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa054('0x5'));var interaction=require(_0xa054('0x6'));var config=require('../../config/environment');var controller=require(_0xa054('0x7'));router['get']('/',auth[_0xa054('0x8')](),controller['index']);router[_0xa054('0x9')](_0xa054('0xa'),auth[_0xa054('0x8')](),controller['show']);router[_0xa054('0x9')](_0xa054('0xb'),auth[_0xa054('0x8')](),controller[_0xa054('0xc')]);router[_0xa054('0xd')]('/',auth[_0xa054('0x8')](),controller['create']);router[_0xa054('0xe')]('/:id',auth[_0xa054('0x8')](),controller[_0xa054('0xf')]);router[_0xa054('0x10')](_0xa054('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xa054('0x11')]=router;