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 _0xb3aa=['exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','/describe','isAuthenticated','describe','show','put','/:id','update','delete','destroy'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xb3aa,0x79));var _0xab3a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xb3aa[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0xab3a('0x0'));var util=require(_0xab3a('0x1'));var path=require('path');var timeout=require(_0xab3a('0x2'));var express=require(_0xab3a('0x3'));var router=express[_0xab3a('0x4')]();var auth=require(_0xab3a('0x5'));var interaction=require(_0xab3a('0x6'));var config=require(_0xab3a('0x7'));var controller=require(_0xab3a('0x8'));router[_0xab3a('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xab3a('0xa'),auth[_0xab3a('0xb')](),controller[_0xab3a('0xc')]);router[_0xab3a('0x9')]('/:id',auth[_0xab3a('0xb')](),controller[_0xab3a('0xd')]);router['post']('/',auth[_0xab3a('0xb')](),controller['create']);router[_0xab3a('0xe')](_0xab3a('0xf'),auth['isAuthenticated'](),controller[_0xab3a('0x10')]);router[_0xab3a('0x11')]('/:id',auth[_0xab3a('0xb')](),controller[_0xab3a('0x12')]);module[_0xab3a('0x13')]=router;