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 _0xcfa5=['describe','/:id','show','post','put','update','destroy','multer','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','isAuthenticated','index','get','/describe'];(function(_0x2fb866,_0x59bc0c){var _0x5d310f=function(_0x13bf75){while(--_0x13bf75){_0x2fb866['push'](_0x2fb866['shift']());}};_0x5d310f(++_0x59bc0c);}(_0xcfa5,0x127));var _0x5cfa=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xcfa5[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0x5cfa('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5cfa('0x1'));var router=express['Router']();var fs_extra=require(_0x5cfa('0x2'));var auth=require(_0x5cfa('0x3'));var interaction=require(_0x5cfa('0x4'));var config=require(_0x5cfa('0x5'));var controller=require(_0x5cfa('0x6'));router['get']('/',auth[_0x5cfa('0x7')](),controller[_0x5cfa('0x8')]);router[_0x5cfa('0x9')](_0x5cfa('0xa'),auth[_0x5cfa('0x7')](),controller[_0x5cfa('0xb')]);router[_0x5cfa('0x9')](_0x5cfa('0xc'),auth[_0x5cfa('0x7')](),controller[_0x5cfa('0xd')]);router[_0x5cfa('0xe')]('/',auth[_0x5cfa('0x7')](),controller['create']);router[_0x5cfa('0xf')]('/:id',auth[_0x5cfa('0x7')](),controller[_0x5cfa('0x10')]);router['delete']('/:id',auth[_0x5cfa('0x7')](),controller[_0x5cfa('0x11')]);module['exports']=router;