Built motion from commit 936e8062.|2.5.33
[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 _0xa2ae=['/:id','show','/:id/download','download','create','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get'];(function(_0x1c60eb,_0x366fef){var _0x295dbb=function(_0x1bc4be){while(--_0x1bc4be){_0x1c60eb['push'](_0x1c60eb['shift']());}};_0x295dbb(++_0x366fef);}(_0xa2ae,0x171));var _0xea2a=function(_0x37810c,_0x480382){_0x37810c=_0x37810c-0x0;var _0x44c4ef=_0xa2ae[_0x37810c];return _0x44c4ef;};'use strict';var multer=require('multer');var util=require(_0xea2a('0x0'));var path=require(_0xea2a('0x1'));var timeout=require(_0xea2a('0x2'));var express=require(_0xea2a('0x3'));var router=express[_0xea2a('0x4')]();var fs_extra=require(_0xea2a('0x5'));var auth=require(_0xea2a('0x6'));var interaction=require(_0xea2a('0x7'));var config=require('../../config/environment');var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0xea2a('0x8')](),controller[_0xea2a('0x9')]);router[_0xea2a('0xa')](_0xea2a('0xb'),auth[_0xea2a('0x8')](),controller[_0xea2a('0xc')]);router[_0xea2a('0xa')](_0xea2a('0xd'),auth[_0xea2a('0x8')](),controller[_0xea2a('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xea2a('0xf')]);router['put'](_0xea2a('0xb'),auth[_0xea2a('0x8')](),controller[_0xea2a('0x10')]);router[_0xea2a('0x11')](_0xea2a('0xb'),auth['isAuthenticated'](),controller[_0xea2a('0x12')]);module['exports']=router;