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