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 _0x6b07=['Router','fs-extra','../../components/interaction/service','./faxQueueReport.controller','get','/describe','isAuthenticated','describe','show','post','create','put','update','/:id','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x29b274,_0x1865c3){var _0x273473=function(_0x45d259){while(--_0x45d259){_0x29b274['push'](_0x29b274['shift']());}};_0x273473(++_0x1865c3);}(_0x6b07,0x79));var _0x76b0=function(_0x4aaf3c,_0x393fb9){_0x4aaf3c=_0x4aaf3c-0x0;var _0x174c6c=_0x6b07[_0x4aaf3c];return _0x174c6c;};'use strict';var multer=require(_0x76b0('0x0'));var util=require(_0x76b0('0x1'));var path=require(_0x76b0('0x2'));var timeout=require(_0x76b0('0x3'));var express=require(_0x76b0('0x4'));var router=express[_0x76b0('0x5')]();var fs_extra=require(_0x76b0('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x76b0('0x7'));var config=require('../../config/environment');var controller=require(_0x76b0('0x8'));router[_0x76b0('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x76b0('0xa'),auth[_0x76b0('0xb')](),controller[_0x76b0('0xc')]);router[_0x76b0('0x9')]('/:id',auth[_0x76b0('0xb')](),controller[_0x76b0('0xd')]);router[_0x76b0('0xe')]('/',auth[_0x76b0('0xb')](),controller[_0x76b0('0xf')]);router[_0x76b0('0x10')]('/:id',auth[_0x76b0('0xb')](),controller[_0x76b0('0x11')]);router['delete'](_0x76b0('0x12'),auth[_0x76b0('0xb')](),controller[_0x76b0('0x13')]);module[_0x76b0('0x14')]=router;