cd3823d8677d7274c10773e77891da4954fa892c
[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 _0x63cd=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','index','get','/describe','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','multer','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x63cd,0x129));var _0xd63c=function(_0x38f68c,_0x25761f){_0x38f68c=_0x38f68c-0x0;var _0xea4d87=_0x63cd[_0x38f68c];return _0xea4d87;};'use strict';var multer=require(_0xd63c('0x0'));var util=require(_0xd63c('0x1'));var path=require(_0xd63c('0x2'));var timeout=require(_0xd63c('0x3'));var express=require(_0xd63c('0x4'));var router=express[_0xd63c('0x5')]();var fs_extra=require(_0xd63c('0x6'));var auth=require(_0xd63c('0x7'));var interaction=require(_0xd63c('0x8'));var config=require(_0xd63c('0x9'));var controller=require(_0xd63c('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0xd63c('0xb')]);router[_0xd63c('0xc')](_0xd63c('0xd'),auth[_0xd63c('0xe')](),controller['describe']);router['get']('/:id',auth[_0xd63c('0xe')](),controller[_0xd63c('0xf')]);router[_0xd63c('0x10')]('/',auth[_0xd63c('0xe')](),controller[_0xd63c('0x11')]);router[_0xd63c('0x12')](_0xd63c('0x13'),auth[_0xd63c('0xe')](),controller[_0xd63c('0x14')]);router[_0xd63c('0x15')](_0xd63c('0x13'),auth[_0xd63c('0xe')](),controller[_0xd63c('0x16')]);module['exports']=router;