83774ece60504c7815d9a582d3fc65379c65b3de
[motion2.git] / server / api / voiceAgentReport / 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 _0x2b34=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','delete','destroy','multer','util','connect-timeout','express'];(function(_0x310198,_0x2d2575){var _0x3ee526=function(_0x4f61fe){while(--_0x4f61fe){_0x310198['push'](_0x310198['shift']());}};_0x3ee526(++_0x2d2575);}(_0x2b34,0xa7));var _0x42b3=function(_0x38782c,_0x5c9fef){_0x38782c=_0x38782c-0x0;var _0x3708bf=_0x2b34[_0x38782c];return _0x3708bf;};'use strict';var multer=require(_0x42b3('0x0'));var util=require(_0x42b3('0x1'));var path=require('path');var timeout=require(_0x42b3('0x2'));var express=require(_0x42b3('0x3'));var router=express[_0x42b3('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x42b3('0x5'));var interaction=require(_0x42b3('0x6'));var config=require(_0x42b3('0x7'));var controller=require('./voiceAgentReport.controller');router[_0x42b3('0x8')]('/',auth[_0x42b3('0x9')](),controller[_0x42b3('0xa')]);router[_0x42b3('0x8')](_0x42b3('0xb'),auth[_0x42b3('0x9')](),controller[_0x42b3('0xc')]);router[_0x42b3('0x8')](_0x42b3('0xd'),auth[_0x42b3('0x9')](),controller['show']);router[_0x42b3('0xe')]('/',auth[_0x42b3('0x9')](),controller[_0x42b3('0xf')]);router['put'](_0x42b3('0xd'),auth[_0x42b3('0x9')](),controller[_0x42b3('0x10')]);router[_0x42b3('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x42b3('0x12')]);module['exports']=router;