Built motion from commit b5996064.|2.6.21
[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 _0x2e9d=['multer','path','connect-timeout','fs-extra','../../config/environment','./voiceQueueReport.controller','index','get','/describe','isAuthenticated','/index','getVoiceQueuesReport','put','/:id','delete'];(function(_0x10f6e8,_0x351db6){var _0x35bb3c=function(_0x30a39b){while(--_0x30a39b){_0x10f6e8['push'](_0x10f6e8['shift']());}};_0x35bb3c(++_0x351db6);}(_0x2e9d,0x177));var _0xd2e9=function(_0x59d0cc,_0xa7c52b){_0x59d0cc=_0x59d0cc-0x0;var _0x2ae79f=_0x2e9d[_0x59d0cc];return _0x2ae79f;};'use strict';var multer=require(_0xd2e9('0x0'));var util=require('util');var path=require(_0xd2e9('0x1'));var timeout=require(_0xd2e9('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xd2e9('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd2e9('0x4'));var controller=require(_0xd2e9('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xd2e9('0x6')]);router[_0xd2e9('0x7')](_0xd2e9('0x8'),auth[_0xd2e9('0x9')](),controller['describe']);router['get'](_0xd2e9('0xa'),auth['isAuthenticated'](),controller[_0xd2e9('0xb')]);router['get']('/:id',auth[_0xd2e9('0x9')](),controller['show']);router['post']('/',auth[_0xd2e9('0x9')](),controller['create']);router[_0xd2e9('0xc')](_0xd2e9('0xd'),auth[_0xd2e9('0x9')](),controller['update']);router[_0xd2e9('0xe')]('/:id',auth[_0xd2e9('0x9')](),controller['destroy']);module['exports']=router;