4bfd36fdee7e2e88880756505a3a370f993244bc
[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 _0xe8ef=['../../config/environment','get','/describe','isAuthenticated','/index','getVoiceQueuesReport','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x59f60c,_0xf4ba83){var _0x4e7a26=function(_0xeb1721){while(--_0xeb1721){_0x59f60c['push'](_0x59f60c['shift']());}};_0x4e7a26(++_0xf4ba83);}(_0xe8ef,0x6a));var _0xfe8e=function(_0xe025f1,_0x763d28){_0xe025f1=_0xe025f1-0x0;var _0x28b10b=_0xe8ef[_0xe025f1];return _0x28b10b;};'use strict';var multer=require(_0xfe8e('0x0'));var util=require(_0xfe8e('0x1'));var path=require(_0xfe8e('0x2'));var timeout=require(_0xfe8e('0x3'));var express=require('express');var router=express[_0xfe8e('0x4')]();var fs_extra=require(_0xfe8e('0x5'));var auth=require(_0xfe8e('0x6'));var interaction=require(_0xfe8e('0x7'));var config=require(_0xfe8e('0x8'));var controller=require('./voiceQueueReport.controller');router[_0xfe8e('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xfe8e('0x9')](_0xfe8e('0xa'),auth[_0xfe8e('0xb')](),controller['describe']);router['get'](_0xfe8e('0xc'),auth[_0xfe8e('0xb')](),controller[_0xfe8e('0xd')]);router[_0xfe8e('0x9')]('/:id',auth[_0xfe8e('0xb')](),controller['show']);router['post']('/',auth[_0xfe8e('0xb')](),controller['create']);router[_0xfe8e('0xe')](_0xfe8e('0xf'),auth[_0xfe8e('0xb')](),controller[_0xfe8e('0x10')]);router[_0xfe8e('0x11')](_0xfe8e('0xf'),auth[_0xfe8e('0xb')](),controller[_0xfe8e('0x12')]);module['exports']=router;