Built motion from commit 616d3211.|2.6.4
[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 _0x5cfa=['destroy','exports','multer','path','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','delete'];(function(_0x4a511b,_0xa312c3){var _0x11dc43=function(_0xe713d1){while(--_0xe713d1){_0x4a511b['push'](_0x4a511b['shift']());}};_0x11dc43(++_0xa312c3);}(_0x5cfa,0x18e));var _0xa5cf=function(_0x13a223,_0x30f285){_0x13a223=_0x13a223-0x0;var _0x3cf2f9=_0x5cfa[_0x13a223];return _0x3cf2f9;};'use strict';var multer=require(_0xa5cf('0x0'));var util=require('util');var path=require(_0xa5cf('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa5cf('0x2')]();var fs_extra=require(_0xa5cf('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa5cf('0x4'));var controller=require('./voiceAgentReport.controller');router[_0xa5cf('0x5')]('/',auth[_0xa5cf('0x6')](),controller[_0xa5cf('0x7')]);router[_0xa5cf('0x5')](_0xa5cf('0x8'),auth[_0xa5cf('0x6')](),controller['describe']);router['get'](_0xa5cf('0x9'),auth[_0xa5cf('0x6')](),controller[_0xa5cf('0xa')]);router[_0xa5cf('0xb')]('/',auth['isAuthenticated'](),controller[_0xa5cf('0xc')]);router[_0xa5cf('0xd')](_0xa5cf('0x9'),auth[_0xa5cf('0x6')](),controller[_0xa5cf('0xe')]);router[_0xa5cf('0xf')](_0xa5cf('0x9'),auth['isAuthenticated'](),controller[_0xa5cf('0x10')]);module[_0xa5cf('0x11')]=router;