058796348df7613106b0610487678ea394554c25
[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 _0xa846=['isAuthenticated','index','get','/:id','show','/:id/download','download','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller'];(function(_0x5812d7,_0x241b39){var _0xb101af=function(_0x22b39c){while(--_0x22b39c){_0x5812d7['push'](_0x5812d7['shift']());}};_0xb101af(++_0x241b39);}(_0xa846,0x70));var _0x6a84=function(_0x326109,_0x2055e0){_0x326109=_0x326109-0x0;var _0x3302d4=_0xa846[_0x326109];return _0x3302d4;};'use strict';var multer=require('multer');var util=require(_0x6a84('0x0'));var path=require(_0x6a84('0x1'));var timeout=require(_0x6a84('0x2'));var express=require(_0x6a84('0x3'));var router=express[_0x6a84('0x4')]();var auth=require(_0x6a84('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6a84('0x6'));var controller=require(_0x6a84('0x7'));router['get']('/',auth[_0x6a84('0x8')](),controller[_0x6a84('0x9')]);router[_0x6a84('0xa')](_0x6a84('0xb'),auth['isAuthenticated'](),controller[_0x6a84('0xc')]);router['get'](_0x6a84('0xd'),auth['isAuthenticated'](),controller[_0x6a84('0xe')]);router['post']('/',auth[_0x6a84('0x8')](),controller[_0x6a84('0xf')]);router[_0x6a84('0x10')](_0x6a84('0xb'),auth[_0x6a84('0x8')](),controller[_0x6a84('0x11')]);router[_0x6a84('0x12')]('/:id',auth[_0x6a84('0x8')](),controller[_0x6a84('0x13')]);module['exports']=router;