deb42ce997e2ac08453088d6ccbefc8f7c76a8b5
[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 _0x052f=['post','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./voiceQueueReport.controller','get','index','isAuthenticated','describe','/index','getVoiceQueuesReport','/:id','show'];(function(_0x274e0e,_0x3aace4){var _0x4ca356=function(_0x59e7a3){while(--_0x59e7a3){_0x274e0e['push'](_0x274e0e['shift']());}};_0x4ca356(++_0x3aace4);}(_0x052f,0x17c));var _0xf052=function(_0x57d71b,_0x2fd938){_0x57d71b=_0x57d71b-0x0;var _0x613e79=_0x052f[_0x57d71b];return _0x613e79;};'use strict';var multer=require('multer');var util=require(_0xf052('0x0'));var path=require(_0xf052('0x1'));var timeout=require(_0xf052('0x2'));var express=require(_0xf052('0x3'));var router=express[_0xf052('0x4')]();var fs_extra=require(_0xf052('0x5'));var auth=require(_0xf052('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf052('0x7'));router[_0xf052('0x8')]('/',auth['isAuthenticated'](),controller[_0xf052('0x9')]);router[_0xf052('0x8')]('/describe',auth[_0xf052('0xa')](),controller[_0xf052('0xb')]);router[_0xf052('0x8')](_0xf052('0xc'),auth['isAuthenticated'](),controller[_0xf052('0xd')]);router[_0xf052('0x8')](_0xf052('0xe'),auth[_0xf052('0xa')](),controller[_0xf052('0xf')]);router[_0xf052('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf052('0x11')](_0xf052('0xe'),auth[_0xf052('0xa')](),controller[_0xf052('0x12')]);router[_0xf052('0x13')]('/:id',auth[_0xf052('0xa')](),controller[_0xf052('0x14')]);module[_0xf052('0x15')]=router;