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 _0xf065=['destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','show','post','/:id'];(function(_0x4090ea,_0x3061ac){var _0x18c31c=function(_0x2a7883){while(--_0x2a7883){_0x4090ea['push'](_0x4090ea['shift']());}};_0x18c31c(++_0x3061ac);}(_0xf065,0x178));var _0x5f06=function(_0x2b71ce,_0x10a62b){_0x2b71ce=_0x2b71ce-0x0;var _0x371bef=_0xf065[_0x2b71ce];return _0x371bef;};'use strict';var multer=require('multer');var util=require(_0x5f06('0x0'));var path=require(_0x5f06('0x1'));var timeout=require(_0x5f06('0x2'));var express=require(_0x5f06('0x3'));var router=express[_0x5f06('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x5f06('0x5'));var interaction=require(_0x5f06('0x6'));var config=require(_0x5f06('0x7'));var controller=require(_0x5f06('0x8'));router['get']('/',auth[_0x5f06('0x9')](),controller[_0x5f06('0xa')]);router['get']('/describe',auth[_0x5f06('0x9')](),controller['describe']);router[_0x5f06('0xb')]('/:id',auth[_0x5f06('0x9')](),controller[_0x5f06('0xc')]);router[_0x5f06('0xd')]('/',auth[_0x5f06('0x9')](),controller['create']);router['put'](_0x5f06('0xe'),auth[_0x5f06('0x9')](),controller['update']);router['delete'](_0x5f06('0xe'),auth[_0x5f06('0x9')](),controller[_0x5f06('0xf')]);module[_0x5f06('0x10')]=router;