1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6451=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','create','put','delete','/:id','exports','path','connect-timeout','express','Router','fs-extra'];(function(_0x1910bf,_0x5d5002){var _0x8151f5=function(_0x4f4051){while(--_0x4f4051){_0x1910bf['push'](_0x1910bf['shift']());}};_0x8151f5(++_0x5d5002);}(_0x6451,0x13f));var _0x1645=function(_0x5d0a1d,_0x56b68e){_0x5d0a1d=_0x5d0a1d-0x0;var _0x5020cc=_0x6451[_0x5d0a1d];return _0x5020cc;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1645('0x0'));var timeout=require(_0x1645('0x1'));var express=require(_0x1645('0x2'));var router=express[_0x1645('0x3')]();var fs_extra=require(_0x1645('0x4'));var auth=require(_0x1645('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1645('0x6'));var controller=require('./faxQueueReport.controller');router[_0x1645('0x7')]('/',auth[_0x1645('0x8')](),controller[_0x1645('0x9')]);router['get'](_0x1645('0xa'),auth['isAuthenticated'](),controller[_0x1645('0xb')]);router[_0x1645('0x7')]('/:id',auth[_0x1645('0x8')](),controller[_0x1645('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1645('0xd')]);router[_0x1645('0xe')]('/:id',auth[_0x1645('0x8')](),controller['update']);router[_0x1645('0xf')](_0x1645('0x10'),auth[_0x1645('0x8')](),controller['destroy']);module[_0x1645('0x11')]=router;