88e291309e476a18c712a7f0307d228d508eefa4
[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 _0x726a=['show','/:id/download','download','post','create','update','delete','/:id','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated'];(function(_0x408d39,_0x52ac5f){var _0x29b9bc=function(_0x28c289){while(--_0x28c289){_0x408d39['push'](_0x408d39['shift']());}};_0x29b9bc(++_0x52ac5f);}(_0x726a,0x17f));var _0xa726=function(_0x359fe4,_0x50f9e4){_0x359fe4=_0x359fe4-0x0;var _0x32e4a3=_0x726a[_0x359fe4];return _0x32e4a3;};'use strict';var multer=require(_0xa726('0x0'));var util=require(_0xa726('0x1'));var path=require(_0xa726('0x2'));var timeout=require(_0xa726('0x3'));var express=require(_0xa726('0x4'));var router=express[_0xa726('0x5')]();var fs_extra=require(_0xa726('0x6'));var auth=require(_0xa726('0x7'));var interaction=require(_0xa726('0x8'));var config=require(_0xa726('0x9'));var controller=require(_0xa726('0xa'));router[_0xa726('0xb')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa726('0xb')]('/:id',auth[_0xa726('0xc')](),controller[_0xa726('0xd')]);router[_0xa726('0xb')](_0xa726('0xe'),auth['isAuthenticated'](),controller[_0xa726('0xf')]);router[_0xa726('0x10')]('/',auth[_0xa726('0xc')](),controller[_0xa726('0x11')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xa726('0x12')]);router[_0xa726('0x13')](_0xa726('0x14'),auth[_0xa726('0xc')](),controller['destroy']);module[_0xa726('0x15')]=router;