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