b94d960078cfcb2ca058e55687533d49262236db
[motion2.git] / server / api / voiceQueueReport / 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 _0x94c1=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','isAuthenticated','get','/describe','/index','getVoiceQueuesReport','/:id','post','create','put','destroy','exports','multer','util','connect-timeout'];(function(_0x49f7be,_0x4eb902){var _0x41ccf4=function(_0x59b0ce){while(--_0x59b0ce){_0x49f7be['push'](_0x49f7be['shift']());}};_0x41ccf4(++_0x4eb902);}(_0x94c1,0x1c9));var _0x194c=function(_0x9ba869,_0x1980dd){_0x9ba869=_0x9ba869-0x0;var _0x582532=_0x94c1[_0x9ba869];return _0x582532;};'use strict';var multer=require(_0x194c('0x0'));var util=require(_0x194c('0x1'));var path=require('path');var timeout=require(_0x194c('0x2'));var express=require(_0x194c('0x3'));var router=express[_0x194c('0x4')]();var fs_extra=require(_0x194c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x194c('0x6'));var config=require(_0x194c('0x7'));var controller=require(_0x194c('0x8'));router['get']('/',auth[_0x194c('0x9')](),controller['index']);router[_0x194c('0xa')](_0x194c('0xb'),auth[_0x194c('0x9')](),controller['describe']);router[_0x194c('0xa')](_0x194c('0xc'),auth[_0x194c('0x9')](),controller[_0x194c('0xd')]);router['get'](_0x194c('0xe'),auth[_0x194c('0x9')](),controller['show']);router[_0x194c('0xf')]('/',auth[_0x194c('0x9')](),controller[_0x194c('0x10')]);router[_0x194c('0x11')](_0x194c('0xe'),auth[_0x194c('0x9')](),controller['update']);router['delete'](_0x194c('0xe'),auth[_0x194c('0x9')](),controller[_0x194c('0x12')]);module[_0x194c('0x13')]=router;