3d76a7eba9ea92908da9fbbb3b87c5e4c3fc2eb6
[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 _0x13d3=['get','/describe','describe','/index','getVoiceQueuesReport','/:id','show','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','isAuthenticated','index'];(function(_0x28c33c,_0x65ef7d){var _0x49f10=function(_0x4c77e1){while(--_0x4c77e1){_0x28c33c['push'](_0x28c33c['shift']());}};_0x49f10(++_0x65ef7d);}(_0x13d3,0x1e7));var _0x313d=function(_0x28c77c,_0x53070a){_0x28c77c=_0x28c77c-0x0;var _0x152ffb=_0x13d3[_0x28c77c];return _0x152ffb;};'use strict';var multer=require(_0x313d('0x0'));var util=require(_0x313d('0x1'));var path=require(_0x313d('0x2'));var timeout=require(_0x313d('0x3'));var express=require(_0x313d('0x4'));var router=express[_0x313d('0x5')]();var fs_extra=require(_0x313d('0x6'));var auth=require(_0x313d('0x7'));var interaction=require(_0x313d('0x8'));var config=require(_0x313d('0x9'));var controller=require(_0x313d('0xa'));router['get']('/',auth[_0x313d('0xb')](),controller[_0x313d('0xc')]);router[_0x313d('0xd')](_0x313d('0xe'),auth[_0x313d('0xb')](),controller[_0x313d('0xf')]);router[_0x313d('0xd')](_0x313d('0x10'),auth[_0x313d('0xb')](),controller[_0x313d('0x11')]);router['get'](_0x313d('0x12'),auth[_0x313d('0xb')](),controller[_0x313d('0x13')]);router['post']('/',auth['isAuthenticated'](),controller[_0x313d('0x14')]);router['put'](_0x313d('0x12'),auth[_0x313d('0xb')](),controller[_0x313d('0x15')]);router[_0x313d('0x16')](_0x313d('0x12'),auth['isAuthenticated'](),controller[_0x313d('0x17')]);module[_0x313d('0x18')]=router;