bfd8c70f1dd475bbec1f96de95075bf0de9e5309
[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 _0xae54=['/:id','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','show','/:id/download','download','create'];(function(_0x260c60,_0x1a6e8a){var _0x47b842=function(_0x5b6e37){while(--_0x5b6e37){_0x260c60['push'](_0x260c60['shift']());}};_0x47b842(++_0x1a6e8a);}(_0xae54,0x16d));var _0x4ae5=function(_0x326e79,_0x33dc91){_0x326e79=_0x326e79-0x0;var _0x37eb89=_0xae54[_0x326e79];return _0x37eb89;};'use strict';var multer=require(_0x4ae5('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4ae5('0x1'));var express=require(_0x4ae5('0x2'));var router=express[_0x4ae5('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x4ae5('0x4'));var interaction=require(_0x4ae5('0x5'));var config=require(_0x4ae5('0x6'));var controller=require(_0x4ae5('0x7'));router[_0x4ae5('0x8')]('/',auth[_0x4ae5('0x9')](),controller[_0x4ae5('0xa')]);router['get']('/:id',auth[_0x4ae5('0x9')](),controller[_0x4ae5('0xb')]);router['get'](_0x4ae5('0xc'),auth[_0x4ae5('0x9')](),controller[_0x4ae5('0xd')]);router['post']('/',auth[_0x4ae5('0x9')](),controller[_0x4ae5('0xe')]);router['put'](_0x4ae5('0xf'),auth[_0x4ae5('0x9')](),controller['update']);router[_0x4ae5('0x10')](_0x4ae5('0xf'),auth[_0x4ae5('0x9')](),controller[_0x4ae5('0x11')]);module[_0x4ae5('0x12')]=router;