Built motion from commit (unavailable).|2.5.20
[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 _0x4dfc=['../../config/environment','isAuthenticated','index','get','show','/:id/download','download','post','put','/:id','update','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service'];(function(_0x120fef,_0x56722c){var _0x5c58ee=function(_0x114435){while(--_0x114435){_0x120fef['push'](_0x120fef['shift']());}};_0x5c58ee(++_0x56722c);}(_0x4dfc,0xc1));var _0xc4df=function(_0x4d8dc3,_0x585fd1){_0x4d8dc3=_0x4d8dc3-0x0;var _0x9b03d9=_0x4dfc[_0x4d8dc3];return _0x9b03d9;};'use strict';var multer=require(_0xc4df('0x0'));var util=require(_0xc4df('0x1'));var path=require(_0xc4df('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xc4df('0x3'));var interaction=require(_0xc4df('0x4'));var config=require(_0xc4df('0x5'));var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0xc4df('0x6')](),controller[_0xc4df('0x7')]);router[_0xc4df('0x8')]('/:id',auth[_0xc4df('0x6')](),controller[_0xc4df('0x9')]);router[_0xc4df('0x8')](_0xc4df('0xa'),auth[_0xc4df('0x6')](),controller[_0xc4df('0xb')]);router[_0xc4df('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc4df('0xd')](_0xc4df('0xe'),auth[_0xc4df('0x6')](),controller[_0xc4df('0xf')]);router['delete']('/:id',auth[_0xc4df('0x6')](),controller[_0xc4df('0x10')]);module[_0xc4df('0x11')]=router;