Built motion from commit (unavailable).|2.4.18
[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 _0x9bf4=['isAuthenticated','show','/:id/download','create','/:id','delete','destroy','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get'];(function(_0x1c06f4,_0x2feba6){var _0x1a727e=function(_0x2e83af){while(--_0x2e83af){_0x1c06f4['push'](_0x1c06f4['shift']());}};_0x1a727e(++_0x2feba6);}(_0x9bf4,0xd7));var _0x49bf=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x9bf4[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x49bf('0x0'));var util=require(_0x49bf('0x1'));var path=require(_0x49bf('0x2'));var timeout=require('connect-timeout');var express=require(_0x49bf('0x3'));var router=express['Router']();var auth=require(_0x49bf('0x4'));var interaction=require(_0x49bf('0x5'));var config=require(_0x49bf('0x6'));var controller=require(_0x49bf('0x7'));router[_0x49bf('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x49bf('0x8')]('/:id',auth[_0x49bf('0x9')](),controller[_0x49bf('0xa')]);router[_0x49bf('0x8')](_0x49bf('0xb'),auth[_0x49bf('0x9')](),controller['download']);router['post']('/',auth[_0x49bf('0x9')](),controller[_0x49bf('0xc')]);router['put'](_0x49bf('0xd'),auth[_0x49bf('0x9')](),controller['update']);router[_0x49bf('0xe')](_0x49bf('0xd'),auth[_0x49bf('0x9')](),controller[_0x49bf('0xf')]);module['exports']=router;