6b5b5ee8a407a1de3cf94979c221f5505fd50826
[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 _0xa7e6=['util','path','express','Router','../../components/interaction/service','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','describe','/index','getVoiceQueuesReport','/:id','show','create','put','delete','exports'];(function(_0x50ceed,_0x2cf670){var _0x9034e2=function(_0x3a4747){while(--_0x3a4747){_0x50ceed['push'](_0x50ceed['shift']());}};_0x9034e2(++_0x2cf670);}(_0xa7e6,0xab));var _0x6a7e=function(_0x3b2f10,_0x34dc5f){_0x3b2f10=_0x3b2f10-0x0;var _0x563d79=_0xa7e6[_0x3b2f10];return _0x563d79;};'use strict';var multer=require('multer');var util=require(_0x6a7e('0x0'));var path=require(_0x6a7e('0x1'));var timeout=require('connect-timeout');var express=require(_0x6a7e('0x2'));var router=express[_0x6a7e('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x6a7e('0x4'));var config=require('../../config/environment');var controller=require(_0x6a7e('0x5'));router[_0x6a7e('0x6')]('/',auth[_0x6a7e('0x7')](),controller[_0x6a7e('0x8')]);router[_0x6a7e('0x6')](_0x6a7e('0x9'),auth[_0x6a7e('0x7')](),controller[_0x6a7e('0xa')]);router[_0x6a7e('0x6')](_0x6a7e('0xb'),auth[_0x6a7e('0x7')](),controller[_0x6a7e('0xc')]);router[_0x6a7e('0x6')](_0x6a7e('0xd'),auth[_0x6a7e('0x7')](),controller[_0x6a7e('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6a7e('0xf')]);router[_0x6a7e('0x10')](_0x6a7e('0xd'),auth[_0x6a7e('0x7')](),controller['update']);router[_0x6a7e('0x11')](_0x6a7e('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x6a7e('0x12')]=router;