3fe7299fb694f3d6c740eb0db8a7a093788625eb
[motion2.git] / server / api / faxQueueReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0291=['express','./faxQueueReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','update','delete','destroy','exports','multer','util','path'];(function(_0x200fb6,_0x533d95){var _0x38a14c=function(_0x5336d1){while(--_0x5336d1){_0x200fb6['push'](_0x200fb6['shift']());}};_0x38a14c(++_0x533d95);}(_0x0291,0x11d));var _0x1029=function(_0x487e88,_0x57c1ab){_0x487e88=_0x487e88-0x0;var _0x12c276=_0x0291[_0x487e88];return _0x12c276;};'use strict';var multer=require(_0x1029('0x0'));var util=require(_0x1029('0x1'));var path=require(_0x1029('0x2'));var timeout=require('connect-timeout');var express=require(_0x1029('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1029('0x4'));router[_0x1029('0x5')]('/',auth[_0x1029('0x6')](),controller['index']);router['get'](_0x1029('0x7'),auth['isAuthenticated'](),controller['describe']);router[_0x1029('0x5')](_0x1029('0x8'),auth[_0x1029('0x6')](),controller[_0x1029('0x9')]);router[_0x1029('0xa')]('/',auth[_0x1029('0x6')](),controller[_0x1029('0xb')]);router['put'](_0x1029('0x8'),auth[_0x1029('0x6')](),controller[_0x1029('0xc')]);router[_0x1029('0xd')]('/:id',auth[_0x1029('0x6')](),controller[_0x1029('0xe')]);module[_0x1029('0xf')]=router;