c7ee5f92519d507928bac5cd5ed747b649528017
[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 _0x32f4=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','describe','/index','getVoiceQueuesReport','/:id','show','put','update','exports','multer','util'];(function(_0x92c289,_0x53cec8){var _0x518f5b=function(_0xdf101c){while(--_0xdf101c){_0x92c289['push'](_0x92c289['shift']());}};_0x518f5b(++_0x53cec8);}(_0x32f4,0x154));var _0x432f=function(_0x5a70df,_0x15ea76){_0x5a70df=_0x5a70df-0x0;var _0x18d29f=_0x32f4[_0x5a70df];return _0x18d29f;};'use strict';var multer=require(_0x432f('0x0'));var util=require(_0x432f('0x1'));var path=require(_0x432f('0x2'));var timeout=require(_0x432f('0x3'));var express=require('express');var router=express[_0x432f('0x4')]();var auth=require(_0x432f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x432f('0x6'));var controller=require(_0x432f('0x7'));router[_0x432f('0x8')]('/',auth[_0x432f('0x9')](),controller[_0x432f('0xa')]);router['get']('/describe',auth[_0x432f('0x9')](),controller[_0x432f('0xb')]);router['get'](_0x432f('0xc'),auth['isAuthenticated'](),controller[_0x432f('0xd')]);router[_0x432f('0x8')](_0x432f('0xe'),auth[_0x432f('0x9')](),controller[_0x432f('0xf')]);router['post']('/',auth[_0x432f('0x9')](),controller['create']);router[_0x432f('0x10')]('/:id',auth[_0x432f('0x9')](),controller[_0x432f('0x11')]);router['delete'](_0x432f('0xe'),auth[_0x432f('0x9')](),controller['destroy']);module[_0x432f('0x12')]=router;