1ebb3cc995d7ba3e8e983c8077c0ded0503f0a48
[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 _0x2b95=['../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','show','/:id/download','download','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service'];(function(_0x4b9366,_0xdfd555){var _0x1537b4=function(_0x1abbcf){while(--_0x1abbcf){_0x4b9366['push'](_0x4b9366['shift']());}};_0x1537b4(++_0xdfd555);}(_0x2b95,0x8e));var _0x52b9=function(_0x391c55,_0x168617){_0x391c55=_0x391c55-0x0;var _0xa434e0=_0x2b95[_0x391c55];return _0xa434e0;};'use strict';var multer=require(_0x52b9('0x0'));var util=require(_0x52b9('0x1'));var path=require(_0x52b9('0x2'));var timeout=require(_0x52b9('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x52b9('0x4'));var interaction=require(_0x52b9('0x5'));var config=require(_0x52b9('0x6'));var controller=require(_0x52b9('0x7'));router[_0x52b9('0x8')]('/',auth[_0x52b9('0x9')](),controller[_0x52b9('0xa')]);router['get'](_0x52b9('0xb'),auth[_0x52b9('0x9')](),controller[_0x52b9('0xc')]);router[_0x52b9('0x8')](_0x52b9('0xd'),auth[_0x52b9('0x9')](),controller[_0x52b9('0xe')]);router[_0x52b9('0xf')]('/',auth[_0x52b9('0x9')](),controller[_0x52b9('0x10')]);router[_0x52b9('0x11')]('/:id',auth[_0x52b9('0x9')](),controller[_0x52b9('0x12')]);router[_0x52b9('0x13')](_0x52b9('0xb'),auth[_0x52b9('0x9')](),controller[_0x52b9('0x14')]);module['exports']=router;