Built motion from commit (unavailable).|2.5.4
[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 _0x11a9=['download','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','show','/:id/download'];(function(_0x190c49,_0x17a01a){var _0x1831c3=function(_0x28af0e){while(--_0x28af0e){_0x190c49['push'](_0x190c49['shift']());}};_0x1831c3(++_0x17a01a);}(_0x11a9,0x11b));var _0x911a=function(_0xceec30,_0x43c4e5){_0xceec30=_0xceec30-0x0;var _0x259b0c=_0x11a9[_0xceec30];return _0x259b0c;};'use strict';var multer=require(_0x911a('0x0'));var util=require(_0x911a('0x1'));var path=require(_0x911a('0x2'));var timeout=require(_0x911a('0x3'));var express=require(_0x911a('0x4'));var router=express[_0x911a('0x5')]();var auth=require(_0x911a('0x6'));var interaction=require(_0x911a('0x7'));var config=require(_0x911a('0x8'));var controller=require(_0x911a('0x9'));router[_0x911a('0xa')]('/',auth[_0x911a('0xb')](),controller[_0x911a('0xc')]);router['get'](_0x911a('0xd'),auth['isAuthenticated'](),controller[_0x911a('0xe')]);router[_0x911a('0xa')](_0x911a('0xf'),auth[_0x911a('0xb')](),controller[_0x911a('0x10')]);router[_0x911a('0x11')]('/',auth[_0x911a('0xb')](),controller[_0x911a('0x12')]);router[_0x911a('0x13')](_0x911a('0xd'),auth['isAuthenticated'](),controller[_0x911a('0x14')]);router[_0x911a('0x15')](_0x911a('0xd'),auth[_0x911a('0xb')](),controller['destroy']);module[_0x911a('0x16')]=router;