Built motion from commit (unavailable).|2.2.0
[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 _0xa47c=['destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','show','/:id/download','download','post','create','put','/:id','delete'];(function(_0x3e51de,_0x4acd5d){var _0x11aae7=function(_0x44b86e){while(--_0x44b86e){_0x3e51de['push'](_0x3e51de['shift']());}};_0x11aae7(++_0x4acd5d);}(_0xa47c,0xd4));var _0xca47=function(_0x139ed8,_0x258711){_0x139ed8=_0x139ed8-0x0;var _0x2303ff=_0xa47c[_0x139ed8];return _0x2303ff;};'use strict';var multer=require(_0xca47('0x0'));var util=require(_0xca47('0x1'));var path=require(_0xca47('0x2'));var timeout=require(_0xca47('0x3'));var express=require(_0xca47('0x4'));var router=express[_0xca47('0x5')]();var auth=require(_0xca47('0x6'));var interaction=require(_0xca47('0x7'));var config=require(_0xca47('0x8'));var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0xca47('0x9')](),controller['index']);router[_0xca47('0xa')]('/:id',auth[_0xca47('0x9')](),controller[_0xca47('0xb')]);router[_0xca47('0xa')](_0xca47('0xc'),auth[_0xca47('0x9')](),controller[_0xca47('0xd')]);router[_0xca47('0xe')]('/',auth[_0xca47('0x9')](),controller[_0xca47('0xf')]);router[_0xca47('0x10')](_0xca47('0x11'),auth[_0xca47('0x9')](),controller['update']);router[_0xca47('0x12')](_0xca47('0x11'),auth[_0xca47('0x9')](),controller[_0xca47('0x13')]);module[_0xca47('0x14')]=router;