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