Built motion from commit (unavailable).|2.5.28
[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 _0x2fa4=['/:id/download','download','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x2fa4,0x184));var _0x42fa=function(_0x525df3,_0x49756){_0x525df3=_0x525df3-0x0;var _0x4e8bb4=_0x2fa4[_0x525df3];return _0x4e8bb4;};'use strict';var multer=require(_0x42fa('0x0'));var util=require(_0x42fa('0x1'));var path=require(_0x42fa('0x2'));var timeout=require(_0x42fa('0x3'));var express=require(_0x42fa('0x4'));var router=express['Router']();var fs_extra=require(_0x42fa('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x42fa('0x6'));var config=require(_0x42fa('0x7'));var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0x42fa('0x8')](),controller[_0x42fa('0x9')]);router[_0x42fa('0xa')](_0x42fa('0xb'),auth[_0x42fa('0x8')](),controller['show']);router['get'](_0x42fa('0xc'),auth['isAuthenticated'](),controller[_0x42fa('0xd')]);router[_0x42fa('0xe')]('/',auth[_0x42fa('0x8')](),controller[_0x42fa('0xf')]);router['put'](_0x42fa('0xb'),auth['isAuthenticated'](),controller[_0x42fa('0x10')]);router[_0x42fa('0x11')](_0x42fa('0xb'),auth[_0x42fa('0x8')](),controller[_0x42fa('0x12')]);module[_0x42fa('0x13')]=router;