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 _0xf8f1=['/describe','describe','show','post','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated'];(function(_0x4f2217,_0x5c53b9){var _0x38ea66=function(_0x457fbc){while(--_0x457fbc){_0x4f2217['push'](_0x4f2217['shift']());}};_0x38ea66(++_0x5c53b9);}(_0xf8f1,0x81));var _0x1f8f=function(_0x380af2,_0x36cf66){_0x380af2=_0x380af2-0x0;var _0x1789dc=_0xf8f1[_0x380af2];return _0x1789dc;};'use strict';var multer=require(_0x1f8f('0x0'));var util=require(_0x1f8f('0x1'));var path=require(_0x1f8f('0x2'));var timeout=require(_0x1f8f('0x3'));var express=require('express');var router=express[_0x1f8f('0x4')]();var auth=require(_0x1f8f('0x5'));var interaction=require(_0x1f8f('0x6'));var config=require(_0x1f8f('0x7'));var controller=require(_0x1f8f('0x8'));router[_0x1f8f('0x9')]('/',auth[_0x1f8f('0xa')](),controller['index']);router['get'](_0x1f8f('0xb'),auth[_0x1f8f('0xa')](),controller[_0x1f8f('0xc')]);router[_0x1f8f('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x1f8f('0xd')]);router[_0x1f8f('0xe')]('/',auth[_0x1f8f('0xa')](),controller['create']);router[_0x1f8f('0xf')](_0x1f8f('0x10'),auth['isAuthenticated'](),controller[_0x1f8f('0x11')]);router['delete']('/:id',auth[_0x1f8f('0xa')](),controller[_0x1f8f('0x12')]);module[_0x1f8f('0x13')]=router;