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 _0xb647=['fs-extra','./faxQueueReport.controller','isAuthenticated','index','get','/:id','post','create','update','delete','destroy','exports','multer','util','express','Router'];(function(_0x4ac228,_0x307a85){var _0x3c55ef=function(_0x15ff5f){while(--_0x15ff5f){_0x4ac228['push'](_0x4ac228['shift']());}};_0x3c55ef(++_0x307a85);}(_0xb647,0xdc));var _0x7b64=function(_0x51d646,_0xba537d){_0x51d646=_0x51d646-0x0;var _0x33c5dd=_0xb647[_0x51d646];return _0x33c5dd;};'use strict';var multer=require(_0x7b64('0x0'));var util=require(_0x7b64('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7b64('0x2'));var router=express[_0x7b64('0x3')]();var fs_extra=require(_0x7b64('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7b64('0x5'));router['get']('/',auth[_0x7b64('0x6')](),controller[_0x7b64('0x7')]);router[_0x7b64('0x8')]('/describe',auth[_0x7b64('0x6')](),controller['describe']);router[_0x7b64('0x8')](_0x7b64('0x9'),auth[_0x7b64('0x6')](),controller['show']);router[_0x7b64('0xa')]('/',auth['isAuthenticated'](),controller[_0x7b64('0xb')]);router['put'](_0x7b64('0x9'),auth['isAuthenticated'](),controller[_0x7b64('0xc')]);router[_0x7b64('0xd')]('/:id',auth[_0x7b64('0x6')](),controller[_0x7b64('0xe')]);module[_0x7b64('0xf')]=router;