92b0dda590dfcc4274447273c4a84569e8091d99
[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 _0x190a=['path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/download','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x414e86,_0x26a55b){var _0x22bb4a=function(_0x55a2b8){while(--_0x55a2b8){_0x414e86['push'](_0x414e86['shift']());}};_0x22bb4a(++_0x26a55b);}(_0x190a,0x1cc));var _0xa190=function(_0x22e34e,_0x598a1d){_0x22e34e=_0x22e34e-0x0;var _0x411e59=_0x190a[_0x22e34e];return _0x411e59;};'use strict';var multer=require(_0xa190('0x0'));var util=require(_0xa190('0x1'));var path=require(_0xa190('0x2'));var timeout=require(_0xa190('0x3'));var express=require('express');var router=express[_0xa190('0x4')]();var fs_extra=require(_0xa190('0x5'));var auth=require(_0xa190('0x6'));var interaction=require(_0xa190('0x7'));var config=require(_0xa190('0x8'));var controller=require('./analyticExtractedReport.controller');router[_0xa190('0x9')]('/',auth[_0xa190('0xa')](),controller[_0xa190('0xb')]);router[_0xa190('0x9')](_0xa190('0xc'),auth[_0xa190('0xa')](),controller[_0xa190('0xd')]);router[_0xa190('0x9')](_0xa190('0xe'),auth['isAuthenticated'](),controller['download']);router[_0xa190('0xf')]('/',auth[_0xa190('0xa')](),controller[_0xa190('0x10')]);router[_0xa190('0x11')](_0xa190('0xc'),auth[_0xa190('0xa')](),controller[_0xa190('0x12')]);router[_0xa190('0x13')](_0xa190('0xc'),auth[_0xa190('0xa')](),controller[_0xa190('0x14')]);module[_0xa190('0x15')]=router;