Built motion from commit 67e5df37.|2.0.66
[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 _0x1852=['download','post','create','update','destroy','exports','multer','path','express','Router','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','show','/:id/download'];(function(_0x205bf3,_0x52d9f0){var _0x499c1c=function(_0xc101e7){while(--_0xc101e7){_0x205bf3['push'](_0x205bf3['shift']());}};_0x499c1c(++_0x52d9f0);}(_0x1852,0xfd));var _0x2185=function(_0x3fe61b,_0x4a23d4){_0x3fe61b=_0x3fe61b-0x0;var _0x42ca26=_0x1852[_0x3fe61b];return _0x42ca26;};'use strict';var multer=require(_0x2185('0x0'));var util=require('util');var path=require(_0x2185('0x1'));var express=require(_0x2185('0x2'));var router=express[_0x2185('0x3')]();var auth=require(_0x2185('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2185('0x5'));var controller=require(_0x2185('0x6'));router[_0x2185('0x7')]('/',auth[_0x2185('0x8')](),controller[_0x2185('0x9')]);router['get'](_0x2185('0xa'),auth['isAuthenticated'](),controller[_0x2185('0xb')]);router['get'](_0x2185('0xc'),auth[_0x2185('0x8')](),controller[_0x2185('0xd')]);router[_0x2185('0xe')]('/',auth[_0x2185('0x8')](),controller[_0x2185('0xf')]);router['put'](_0x2185('0xa'),auth['isAuthenticated'](),controller[_0x2185('0x10')]);router['delete'](_0x2185('0xa'),auth[_0x2185('0x8')](),controller[_0x2185('0x11')]);module[_0x2185('0x12')]=router;