027269bd4d9942945d827944d118eb834bcbafb4
[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 _0x51b3=['put','/:id','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','download','post','create'];(function(_0x286bb2,_0x1a3b93){var _0x20559c=function(_0x485e7b){while(--_0x485e7b){_0x286bb2['push'](_0x286bb2['shift']());}};_0x20559c(++_0x1a3b93);}(_0x51b3,0x6f));var _0x351b=function(_0x34a860,_0x5a8166){_0x34a860=_0x34a860-0x0;var _0x2a524a=_0x51b3[_0x34a860];return _0x2a524a;};'use strict';var multer=require(_0x351b('0x0'));var util=require(_0x351b('0x1'));var path=require(_0x351b('0x2'));var timeout=require('connect-timeout');var express=require(_0x351b('0x3'));var router=express[_0x351b('0x4')]();var fs_extra=require(_0x351b('0x5'));var auth=require(_0x351b('0x6'));var interaction=require(_0x351b('0x7'));var config=require(_0x351b('0x8'));var controller=require(_0x351b('0x9'));router[_0x351b('0xa')]('/',auth[_0x351b('0xb')](),controller['index']);router['get']('/:id',auth[_0x351b('0xb')](),controller['show']);router['get']('/:id/download',auth['isAuthenticated'](),controller[_0x351b('0xc')]);router[_0x351b('0xd')]('/',auth['isAuthenticated'](),controller[_0x351b('0xe')]);router[_0x351b('0xf')](_0x351b('0x10'),auth[_0x351b('0xb')](),controller[_0x351b('0x11')]);router[_0x351b('0x12')](_0x351b('0x10'),auth[_0x351b('0xb')](),controller[_0x351b('0x13')]);module[_0x351b('0x14')]=router;