Built motion from commit 953226e6.|2.6.32
[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 _0xfb1a=['express','fs-extra','../../components/interaction/service','./analyticExtractedReport.controller','get','index','/:id','show','/:id/download','isAuthenticated','download','post','create','put','update','destroy','multer','util'];(function(_0x1afe90,_0x13804a){var _0x5bcbae=function(_0x8e55b){while(--_0x8e55b){_0x1afe90['push'](_0x1afe90['shift']());}};_0x5bcbae(++_0x13804a);}(_0xfb1a,0x1ae));var _0xafb1=function(_0x1eb11c,_0x3f25f6){_0x1eb11c=_0x1eb11c-0x0;var _0x408a41=_0xfb1a[_0x1eb11c];return _0x408a41;};'use strict';var multer=require(_0xafb1('0x0'));var util=require(_0xafb1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xafb1('0x2'));var router=express['Router']();var fs_extra=require(_0xafb1('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xafb1('0x4'));var config=require('../../config/environment');var controller=require(_0xafb1('0x5'));router[_0xafb1('0x6')]('/',auth['isAuthenticated'](),controller[_0xafb1('0x7')]);router[_0xafb1('0x6')](_0xafb1('0x8'),auth['isAuthenticated'](),controller[_0xafb1('0x9')]);router[_0xafb1('0x6')](_0xafb1('0xa'),auth[_0xafb1('0xb')](),controller[_0xafb1('0xc')]);router[_0xafb1('0xd')]('/',auth[_0xafb1('0xb')](),controller[_0xafb1('0xe')]);router[_0xafb1('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xafb1('0x10')]);router['delete'](_0xafb1('0x8'),auth['isAuthenticated'](),controller[_0xafb1('0x11')]);module['exports']=router;