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