Built motion from commit (unavailable).|2.5.24
[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 _0x20fa=['get','/:id','show','post','create','put','delete','exports','multer','connect-timeout','Router','../../components/interaction/service','./analyticExtractedReport.controller','isAuthenticated'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0x20fa,0x166));var _0xa20f=function(_0x7b484,_0x195ad4){_0x7b484=_0x7b484-0x0;var _0x2ae1cf=_0x20fa[_0x7b484];return _0x2ae1cf;};'use strict';var multer=require(_0xa20f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xa20f('0x1'));var express=require('express');var router=express[_0xa20f('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xa20f('0x3'));var config=require('../../config/environment');var controller=require(_0xa20f('0x4'));router['get']('/',auth[_0xa20f('0x5')](),controller['index']);router[_0xa20f('0x6')](_0xa20f('0x7'),auth[_0xa20f('0x5')](),controller[_0xa20f('0x8')]);router['get']('/:id/download',auth[_0xa20f('0x5')](),controller['download']);router[_0xa20f('0x9')]('/',auth[_0xa20f('0x5')](),controller[_0xa20f('0xa')]);router[_0xa20f('0xb')]('/:id',auth[_0xa20f('0x5')](),controller['update']);router[_0xa20f('0xc')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xa20f('0xd')]=router;