Built motion from commit 85328c08.|2.5.50
[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 _0xbb8b=['exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id/download','download','post','create','put','/:id','delete'];(function(_0x33c74d,_0x122066){var _0x47d4f0=function(_0x5ea937){while(--_0x5ea937){_0x33c74d['push'](_0x33c74d['shift']());}};_0x47d4f0(++_0x122066);}(_0xbb8b,0x151));var _0xbbb8=function(_0x3b02b7,_0xd2a9f0){_0x3b02b7=_0x3b02b7-0x0;var _0x5cf8d8=_0xbb8b[_0x3b02b7];return _0x5cf8d8;};'use strict';var multer=require(_0xbbb8('0x0'));var util=require(_0xbbb8('0x1'));var path=require(_0xbbb8('0x2'));var timeout=require('connect-timeout');var express=require(_0xbbb8('0x3'));var router=express[_0xbbb8('0x4')]();var fs_extra=require(_0xbbb8('0x5'));var auth=require(_0xbbb8('0x6'));var interaction=require(_0xbbb8('0x7'));var config=require(_0xbbb8('0x8'));var controller=require(_0xbbb8('0x9'));router[_0xbbb8('0xa')]('/',auth[_0xbbb8('0xb')](),controller[_0xbbb8('0xc')]);router[_0xbbb8('0xa')]('/:id',auth[_0xbbb8('0xb')](),controller['show']);router[_0xbbb8('0xa')](_0xbbb8('0xd'),auth[_0xbbb8('0xb')](),controller[_0xbbb8('0xe')]);router[_0xbbb8('0xf')]('/',auth[_0xbbb8('0xb')](),controller[_0xbbb8('0x10')]);router[_0xbbb8('0x11')](_0xbbb8('0x12'),auth['isAuthenticated'](),controller['update']);router[_0xbbb8('0x13')](_0xbbb8('0x12'),auth[_0xbbb8('0xb')](),controller['destroy']);module[_0xbbb8('0x14')]=router;