a014780cf52688d8ea7da5c1bb26b9783ad751c1
[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 _0xd96a=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','getVoiceQueuesReport','/:id','show','post','put','update','delete','destroy','exports','multer'];(function(_0x1f7962,_0x181f16){var _0x3af491=function(_0x504ecf){while(--_0x504ecf){_0x1f7962['push'](_0x1f7962['shift']());}};_0x3af491(++_0x181f16);}(_0xd96a,0x186));var _0xad96=function(_0x509c0b,_0x4d4553){_0x509c0b=_0x509c0b-0x0;var _0x5f0415=_0xd96a[_0x509c0b];return _0x5f0415;};'use strict';var multer=require(_0xad96('0x0'));var util=require('util');var path=require(_0xad96('0x1'));var timeout=require(_0xad96('0x2'));var express=require(_0xad96('0x3'));var router=express[_0xad96('0x4')]();var fs_extra=require(_0xad96('0x5'));var auth=require(_0xad96('0x6'));var interaction=require(_0xad96('0x7'));var config=require(_0xad96('0x8'));var controller=require('./voiceQueueReport.controller');router['get']('/',auth[_0xad96('0x9')](),controller[_0xad96('0xa')]);router['get'](_0xad96('0xb'),auth[_0xad96('0x9')](),controller[_0xad96('0xc')]);router[_0xad96('0xd')]('/index',auth[_0xad96('0x9')](),controller[_0xad96('0xe')]);router[_0xad96('0xd')](_0xad96('0xf'),auth[_0xad96('0x9')](),controller[_0xad96('0x10')]);router[_0xad96('0x11')]('/',auth[_0xad96('0x9')](),controller['create']);router[_0xad96('0x12')](_0xad96('0xf'),auth[_0xad96('0x9')](),controller[_0xad96('0x13')]);router[_0xad96('0x14')](_0xad96('0xf'),auth[_0xad96('0x9')](),controller[_0xad96('0x15')]);module[_0xad96('0x16')]=router;