Built motion from commit b5413ace.|2.6.9
[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 _0x0d3f=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','/:id/download','download','post','create','put','delete','exports','multer','connect-timeout','Router'];(function(_0x5d53ea,_0x367d20){var _0x3a0a8b=function(_0x4b71e3){while(--_0x4b71e3){_0x5d53ea['push'](_0x5d53ea['shift']());}};_0x3a0a8b(++_0x367d20);}(_0x0d3f,0x10b));var _0xf0d3=function(_0x51b169,_0x5efbc2){_0x51b169=_0x51b169-0x0;var _0x12605a=_0x0d3f[_0x51b169];return _0x12605a;};'use strict';var multer=require(_0xf0d3('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf0d3('0x1'));var express=require('express');var router=express[_0xf0d3('0x2')]();var fs_extra=require(_0xf0d3('0x3'));var auth=require(_0xf0d3('0x4'));var interaction=require(_0xf0d3('0x5'));var config=require(_0xf0d3('0x6'));var controller=require('./analyticExtractedReport.controller');router[_0xf0d3('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf0d3('0x7')](_0xf0d3('0x8'),auth[_0xf0d3('0x9')](),controller[_0xf0d3('0xa')]);router[_0xf0d3('0x7')](_0xf0d3('0xb'),auth[_0xf0d3('0x9')](),controller[_0xf0d3('0xc')]);router[_0xf0d3('0xd')]('/',auth[_0xf0d3('0x9')](),controller[_0xf0d3('0xe')]);router[_0xf0d3('0xf')](_0xf0d3('0x8'),auth[_0xf0d3('0x9')](),controller['update']);router[_0xf0d3('0x10')](_0xf0d3('0x8'),auth[_0xf0d3('0x9')](),controller['destroy']);module[_0xf0d3('0x11')]=router;