Built motion from commit 994c64e1.|2.6.1
[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 _0x615b=['show','post','create','put','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','/describe','/index','getVoiceQueuesReport','/:id'];(function(_0x3d5908,_0x5a5584){var _0x54eb64=function(_0x1dd0a1){while(--_0x1dd0a1){_0x3d5908['push'](_0x3d5908['shift']());}};_0x54eb64(++_0x5a5584);}(_0x615b,0x85));var _0xb615=function(_0x3b4670,_0x3b0d40){_0x3b4670=_0x3b4670-0x0;var _0x5443f9=_0x615b[_0x3b4670];return _0x5443f9;};'use strict';var multer=require(_0xb615('0x0'));var util=require(_0xb615('0x1'));var path=require(_0xb615('0x2'));var timeout=require('connect-timeout');var express=require(_0xb615('0x3'));var router=express[_0xb615('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb615('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb615('0x6'));var controller=require(_0xb615('0x7'));router[_0xb615('0x8')]('/',auth[_0xb615('0x9')](),controller['index']);router['get'](_0xb615('0xa'),auth[_0xb615('0x9')](),controller['describe']);router[_0xb615('0x8')](_0xb615('0xb'),auth[_0xb615('0x9')](),controller[_0xb615('0xc')]);router[_0xb615('0x8')](_0xb615('0xd'),auth[_0xb615('0x9')](),controller[_0xb615('0xe')]);router[_0xb615('0xf')]('/',auth[_0xb615('0x9')](),controller[_0xb615('0x10')]);router[_0xb615('0x11')]('/:id',auth[_0xb615('0x9')](),controller[_0xb615('0x12')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xb615('0x13')]);module[_0xb615('0x14')]=router;