Built motion from commit d5e4af8c.|2.6.23
[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 _0x3081=['/describe','describe','isAuthenticated','getVoiceQueuesReport','/:id','show','post','create','put','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','index','get'];(function(_0x4a6d29,_0x33bd68){var _0x168c5d=function(_0x31e923){while(--_0x31e923){_0x4a6d29['push'](_0x4a6d29['shift']());}};_0x168c5d(++_0x33bd68);}(_0x3081,0x131));var _0x1308=function(_0x36785f,_0x3e631d){_0x36785f=_0x36785f-0x0;var _0x226396=_0x3081[_0x36785f];return _0x226396;};'use strict';var multer=require(_0x1308('0x0'));var util=require(_0x1308('0x1'));var path=require(_0x1308('0x2'));var timeout=require('connect-timeout');var express=require(_0x1308('0x3'));var router=express[_0x1308('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1308('0x5'));var config=require(_0x1308('0x6'));var controller=require(_0x1308('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x1308('0x8')]);router[_0x1308('0x9')](_0x1308('0xa'),auth['isAuthenticated'](),controller[_0x1308('0xb')]);router['get']('/index',auth[_0x1308('0xc')](),controller[_0x1308('0xd')]);router[_0x1308('0x9')](_0x1308('0xe'),auth[_0x1308('0xc')](),controller[_0x1308('0xf')]);router[_0x1308('0x10')]('/',auth[_0x1308('0xc')](),controller[_0x1308('0x11')]);router[_0x1308('0x12')](_0x1308('0xe'),auth[_0x1308('0xc')](),controller['update']);router['delete'](_0x1308('0xe'),auth[_0x1308('0xc')](),controller[_0x1308('0x13')]);module[_0x1308('0x14')]=router;