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 _0xa753=['exports','multer','util','connect-timeout','express','Router','fs-extra','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','delete'];(function(_0x2fad8a,_0x26de69){var _0x494d7d=function(_0x52fe59){while(--_0x52fe59){_0x2fad8a['push'](_0x2fad8a['shift']());}};_0x494d7d(++_0x26de69);}(_0xa753,0xbf));var _0x3a75=function(_0x58ce6d,_0x3f868a){_0x58ce6d=_0x58ce6d-0x0;var _0x115495=_0xa753[_0x58ce6d];return _0x115495;};'use strict';var multer=require(_0x3a75('0x0'));var util=require(_0x3a75('0x1'));var path=require('path');var timeout=require(_0x3a75('0x2'));var express=require(_0x3a75('0x3'));var router=express[_0x3a75('0x4')]();var fs_extra=require(_0x3a75('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x3a75('0x6'));var controller=require(_0x3a75('0x7'));router[_0x3a75('0x8')]('/',auth[_0x3a75('0x9')](),controller[_0x3a75('0xa')]);router[_0x3a75('0x8')](_0x3a75('0xb'),auth[_0x3a75('0x9')](),controller[_0x3a75('0xc')]);router[_0x3a75('0x8')](_0x3a75('0xd'),auth['isAuthenticated'](),controller[_0x3a75('0xe')]);router[_0x3a75('0xf')]('/',auth[_0x3a75('0x9')](),controller['create']);router[_0x3a75('0x10')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x3a75('0x11')](_0x3a75('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x3a75('0x12')]=router;