Built motion from commit 87cd5f02.|2.5.48
[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 _0x151b=['download','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller','get','index','/:id','isAuthenticated','show'];(function(_0x2a0346,_0x2c1300){var _0x1f5232=function(_0x345c8e){while(--_0x345c8e){_0x2a0346['push'](_0x2a0346['shift']());}};_0x1f5232(++_0x2c1300);}(_0x151b,0x1bf));var _0xb151=function(_0x16f017,_0x3dbfb2){_0x16f017=_0x16f017-0x0;var _0xbc7b28=_0x151b[_0x16f017];return _0xbc7b28;};'use strict';var multer=require(_0xb151('0x0'));var util=require(_0xb151('0x1'));var path=require(_0xb151('0x2'));var timeout=require(_0xb151('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb151('0x4'));var auth=require(_0xb151('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb151('0x6'));var controller=require(_0xb151('0x7'));router[_0xb151('0x8')]('/',auth['isAuthenticated'](),controller[_0xb151('0x9')]);router[_0xb151('0x8')](_0xb151('0xa'),auth[_0xb151('0xb')](),controller[_0xb151('0xc')]);router[_0xb151('0x8')]('/:id/download',auth[_0xb151('0xb')](),controller[_0xb151('0xd')]);router[_0xb151('0xe')]('/',auth[_0xb151('0xb')](),controller[_0xb151('0xf')]);router[_0xb151('0x10')](_0xb151('0xa'),auth[_0xb151('0xb')](),controller['update']);router[_0xb151('0x11')]('/:id',auth[_0xb151('0xb')](),controller[_0xb151('0x12')]);module[_0xb151('0x13')]=router;