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 _0x7a58=['describe','create','/:id','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index','/describe'];(function(_0x5bf2b3,_0x56c90c){var _0x49e16e=function(_0x1fca48){while(--_0x1fca48){_0x5bf2b3['push'](_0x5bf2b3['shift']());}};_0x49e16e(++_0x56c90c);}(_0x7a58,0x1bb));var _0x87a5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7a58[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0x87a5('0x0'));var path=require(_0x87a5('0x1'));var timeout=require(_0x87a5('0x2'));var express=require(_0x87a5('0x3'));var router=express[_0x87a5('0x4')]();var fs_extra=require(_0x87a5('0x5'));var auth=require(_0x87a5('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x87a5('0x7'));var controller=require(_0x87a5('0x8'));router[_0x87a5('0x9')]('/',auth[_0x87a5('0xa')](),controller[_0x87a5('0xb')]);router[_0x87a5('0x9')](_0x87a5('0xc'),auth[_0x87a5('0xa')](),controller[_0x87a5('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x87a5('0xa')](),controller[_0x87a5('0xe')]);router['put'](_0x87a5('0xf'),auth[_0x87a5('0xa')](),controller[_0x87a5('0x10')]);router[_0x87a5('0x11')](_0x87a5('0xf'),auth['isAuthenticated'](),controller['destroy']);module[_0x87a5('0x12')]=router;