Built motion from commit 639a1a7f.|2.6.19
[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 _0xbf67=['create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','/:id','show','download','post'];(function(_0x469e9b,_0x44e1cf){var _0x2d6269=function(_0x24491e){while(--_0x24491e){_0x469e9b['push'](_0x469e9b['shift']());}};_0x2d6269(++_0x44e1cf);}(_0xbf67,0x1a4));var _0x7bf6=function(_0x3131bd,_0x4da42e){_0x3131bd=_0x3131bd-0x0;var _0x5355d8=_0xbf67[_0x3131bd];return _0x5355d8;};'use strict';var multer=require(_0x7bf6('0x0'));var util=require(_0x7bf6('0x1'));var path=require(_0x7bf6('0x2'));var timeout=require(_0x7bf6('0x3'));var express=require(_0x7bf6('0x4'));var router=express[_0x7bf6('0x5')]();var fs_extra=require(_0x7bf6('0x6'));var auth=require(_0x7bf6('0x7'));var interaction=require(_0x7bf6('0x8'));var config=require(_0x7bf6('0x9'));var controller=require(_0x7bf6('0xa'));router[_0x7bf6('0xb')]('/',auth[_0x7bf6('0xc')](),controller['index']);router[_0x7bf6('0xb')](_0x7bf6('0xd'),auth['isAuthenticated'](),controller[_0x7bf6('0xe')]);router['get']('/:id/download',auth['isAuthenticated'](),controller[_0x7bf6('0xf')]);router[_0x7bf6('0x10')]('/',auth[_0x7bf6('0xc')](),controller[_0x7bf6('0x11')]);router[_0x7bf6('0x12')](_0x7bf6('0xd'),auth[_0x7bf6('0xc')](),controller[_0x7bf6('0x13')]);router[_0x7bf6('0x14')](_0x7bf6('0xd'),auth['isAuthenticated'](),controller[_0x7bf6('0x15')]);module[_0x7bf6('0x16')]=router;