Built motion from commit (unavailable).|2.5.0
[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 _0x82cf=['create','put','/:id','update','destroy','util','path','Router','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','download','post'];(function(_0x44268d,_0xad8443){var _0x4be92d=function(_0x8a57ff){while(--_0x8a57ff){_0x44268d['push'](_0x44268d['shift']());}};_0x4be92d(++_0xad8443);}(_0x82cf,0xc8));var _0xf82c=function(_0x16a637,_0x5eb627){_0x16a637=_0x16a637-0x0;var _0x25126d=_0x82cf[_0x16a637];return _0x25126d;};'use strict';var multer=require('multer');var util=require(_0xf82c('0x0'));var path=require(_0xf82c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf82c('0x2')]();var auth=require(_0xf82c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xf82c('0x4'));var controller=require(_0xf82c('0x5'));router[_0xf82c('0x6')]('/',auth[_0xf82c('0x7')](),controller['index']);router['get']('/:id',auth[_0xf82c('0x7')](),controller['show']);router[_0xf82c('0x6')]('/:id/download',auth[_0xf82c('0x7')](),controller[_0xf82c('0x8')]);router[_0xf82c('0x9')]('/',auth[_0xf82c('0x7')](),controller[_0xf82c('0xa')]);router[_0xf82c('0xb')](_0xf82c('0xc'),auth[_0xf82c('0x7')](),controller[_0xf82c('0xd')]);router['delete'](_0xf82c('0xc'),auth[_0xf82c('0x7')](),controller[_0xf82c('0xe')]);module['exports']=router;