Built motion from commit 3e059bc2.|2.5.32
[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 _0x6a1a=['describe','get','/index','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','isAuthenticated','index'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6a1a,0x8a));var _0xa6a1=function(_0x59bcb1,_0x5a4b6c){_0x59bcb1=_0x59bcb1-0x0;var _0x4a737f=_0x6a1a[_0x59bcb1];return _0x4a737f;};'use strict';var multer=require(_0xa6a1('0x0'));var util=require('util');var path=require(_0xa6a1('0x1'));var timeout=require(_0xa6a1('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa6a1('0x3'));var auth=require(_0xa6a1('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xa6a1('0x5'));var controller=require(_0xa6a1('0x6'));router['get']('/',auth[_0xa6a1('0x7')](),controller[_0xa6a1('0x8')]);router['get']('/describe',auth[_0xa6a1('0x7')](),controller[_0xa6a1('0x9')]);router[_0xa6a1('0xa')](_0xa6a1('0xb'),auth[_0xa6a1('0x7')](),controller['getVoiceQueuesReport']);router[_0xa6a1('0xa')](_0xa6a1('0xc'),auth['isAuthenticated'](),controller[_0xa6a1('0xd')]);router[_0xa6a1('0xe')]('/',auth[_0xa6a1('0x7')](),controller[_0xa6a1('0xf')]);router[_0xa6a1('0x10')](_0xa6a1('0xc'),auth[_0xa6a1('0x7')](),controller[_0xa6a1('0x11')]);router[_0xa6a1('0x12')]('/:id',auth[_0xa6a1('0x7')](),controller[_0xa6a1('0x13')]);module[_0xa6a1('0x14')]=router;