13509cecf8b0a64dbde8c933055fda277aec43cb
[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 _0xfe7a=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','describe','/index','getVoiceQueuesReport','/:id','show','post','create','delete','destroy','exports','multer','util','path','Router'];(function(_0x4d734c,_0x58a26d){var _0x2696be=function(_0x13b96d){while(--_0x13b96d){_0x4d734c['push'](_0x4d734c['shift']());}};_0x2696be(++_0x58a26d);}(_0xfe7a,0x1c8));var _0xafe7=function(_0x58217c,_0x2aea63){_0x58217c=_0x58217c-0x0;var _0x4de8d6=_0xfe7a[_0x58217c];return _0x4de8d6;};'use strict';var multer=require(_0xafe7('0x0'));var util=require(_0xafe7('0x1'));var path=require(_0xafe7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xafe7('0x3')]();var fs_extra=require(_0xafe7('0x4'));var auth=require(_0xafe7('0x5'));var interaction=require(_0xafe7('0x6'));var config=require(_0xafe7('0x7'));var controller=require(_0xafe7('0x8'));router[_0xafe7('0x9')]('/',auth[_0xafe7('0xa')](),controller[_0xafe7('0xb')]);router[_0xafe7('0x9')](_0xafe7('0xc'),auth[_0xafe7('0xa')](),controller[_0xafe7('0xd')]);router[_0xafe7('0x9')](_0xafe7('0xe'),auth['isAuthenticated'](),controller[_0xafe7('0xf')]);router[_0xafe7('0x9')](_0xafe7('0x10'),auth[_0xafe7('0xa')](),controller[_0xafe7('0x11')]);router[_0xafe7('0x12')]('/',auth[_0xafe7('0xa')](),controller[_0xafe7('0x13')]);router['put'](_0xafe7('0x10'),auth['isAuthenticated'](),controller['update']);router[_0xafe7('0x14')]('/:id',auth[_0xafe7('0xa')](),controller[_0xafe7('0x15')]);module[_0xafe7('0x16')]=router;