2fd3bbce2d05a396317407f7d72612525ed3bea7
[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 _0x613d=['show','download','post','create','put','update','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id'];(function(_0x37df7f,_0x4c827d){var _0x59fd67=function(_0x3069ce){while(--_0x3069ce){_0x37df7f['push'](_0x37df7f['shift']());}};_0x59fd67(++_0x4c827d);}(_0x613d,0x6c));var _0xd613=function(_0x55d6d9,_0x4b0d00){_0x55d6d9=_0x55d6d9-0x0;var _0x2cdb30=_0x613d[_0x55d6d9];return _0x2cdb30;};'use strict';var multer=require(_0xd613('0x0'));var util=require(_0xd613('0x1'));var path=require('path');var timeout=require(_0xd613('0x2'));var express=require(_0xd613('0x3'));var router=express[_0xd613('0x4')]();var fs_extra=require(_0xd613('0x5'));var auth=require(_0xd613('0x6'));var interaction=require(_0xd613('0x7'));var config=require(_0xd613('0x8'));var controller=require('./analyticExtractedReport.controller');router[_0xd613('0x9')]('/',auth[_0xd613('0xa')](),controller['index']);router[_0xd613('0x9')](_0xd613('0xb'),auth[_0xd613('0xa')](),controller[_0xd613('0xc')]);router[_0xd613('0x9')]('/:id/download',auth[_0xd613('0xa')](),controller[_0xd613('0xd')]);router[_0xd613('0xe')]('/',auth[_0xd613('0xa')](),controller[_0xd613('0xf')]);router[_0xd613('0x10')](_0xd613('0xb'),auth[_0xd613('0xa')](),controller[_0xd613('0x11')]);router[_0xd613('0x12')](_0xd613('0xb'),auth[_0xd613('0xa')](),controller['destroy']);module[_0xd613('0x13')]=router;