Built motion from commit (unavailable).|2.5.17
[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 _0xd72d=['show','/:id/download','download','post','create','put','/:id','update','delete','exports','multer','path','connect-timeout','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index'];(function(_0x1ff8c7,_0x20f4ae){var _0x430589=function(_0x162562){while(--_0x162562){_0x1ff8c7['push'](_0x1ff8c7['shift']());}};_0x430589(++_0x20f4ae);}(_0xd72d,0xbe));var _0xdd72=function(_0x1abbdd,_0x2c6f71){_0x1abbdd=_0x1abbdd-0x0;var _0x55df23=_0xd72d[_0x1abbdd];return _0x55df23;};'use strict';var multer=require(_0xdd72('0x0'));var util=require('util');var path=require(_0xdd72('0x1'));var timeout=require(_0xdd72('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xdd72('0x3'));var controller=require(_0xdd72('0x4'));router[_0xdd72('0x5')]('/',auth[_0xdd72('0x6')](),controller[_0xdd72('0x7')]);router['get']('/:id',auth[_0xdd72('0x6')](),controller[_0xdd72('0x8')]);router['get'](_0xdd72('0x9'),auth[_0xdd72('0x6')](),controller[_0xdd72('0xa')]);router[_0xdd72('0xb')]('/',auth['isAuthenticated'](),controller[_0xdd72('0xc')]);router[_0xdd72('0xd')](_0xdd72('0xe'),auth[_0xdd72('0x6')](),controller[_0xdd72('0xf')]);router[_0xdd72('0x10')](_0xdd72('0xe'),auth[_0xdd72('0x6')](),controller['destroy']);module[_0xdd72('0x11')]=router;