75de86b89a8e10ce4892056d4c05f10326d75ed6
[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 _0x8d76=['../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','index','/:id','show','download','post','create','update','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x564207,_0x5e2363){var _0x395385=function(_0x20e425){while(--_0x20e425){_0x564207['push'](_0x564207['shift']());}};_0x395385(++_0x5e2363);}(_0x8d76,0x14f));var _0x68d7=function(_0x880285,_0x1c81e9){_0x880285=_0x880285-0x0;var _0x3f52d0=_0x8d76[_0x880285];return _0x3f52d0;};'use strict';var multer=require(_0x68d7('0x0'));var util=require(_0x68d7('0x1'));var path=require(_0x68d7('0x2'));var timeout=require(_0x68d7('0x3'));var express=require(_0x68d7('0x4'));var router=express[_0x68d7('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x68d7('0x6'));var config=require(_0x68d7('0x7'));var controller=require(_0x68d7('0x8'));router[_0x68d7('0x9')]('/',auth[_0x68d7('0xa')](),controller[_0x68d7('0xb')]);router[_0x68d7('0x9')](_0x68d7('0xc'),auth[_0x68d7('0xa')](),controller[_0x68d7('0xd')]);router[_0x68d7('0x9')]('/:id/download',auth[_0x68d7('0xa')](),controller[_0x68d7('0xe')]);router[_0x68d7('0xf')]('/',auth[_0x68d7('0xa')](),controller[_0x68d7('0x10')]);router['put'](_0x68d7('0xc'),auth[_0x68d7('0xa')](),controller[_0x68d7('0x11')]);router['delete'](_0x68d7('0xc'),auth[_0x68d7('0xa')](),controller['destroy']);module[_0x68d7('0x12')]=router;