Built motion from commit 85328c08.|2.5.50
[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 _0x4f00=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','express'];(function(_0x190681,_0x590f58){var _0x4f2ada=function(_0x4556db){while(--_0x4556db){_0x190681['push'](_0x190681['shift']());}};_0x4f2ada(++_0x590f58);}(_0x4f00,0xf9));var _0x04f0=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x4f00[_0xbca1b1];return _0x4e1686;};'use strict';var multer=require(_0x04f0('0x0'));var util=require(_0x04f0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x04f0('0x2'));var router=express[_0x04f0('0x3')]();var fs_extra=require(_0x04f0('0x4'));var auth=require(_0x04f0('0x5'));var interaction=require(_0x04f0('0x6'));var config=require(_0x04f0('0x7'));var controller=require('./faxQueueReport.controller');router[_0x04f0('0x8')]('/',auth[_0x04f0('0x9')](),controller[_0x04f0('0xa')]);router[_0x04f0('0x8')](_0x04f0('0xb'),auth[_0x04f0('0x9')](),controller[_0x04f0('0xc')]);router[_0x04f0('0x8')](_0x04f0('0xd'),auth[_0x04f0('0x9')](),controller[_0x04f0('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x04f0('0xf')]);router[_0x04f0('0x10')](_0x04f0('0xd'),auth[_0x04f0('0x9')](),controller[_0x04f0('0x11')]);router[_0x04f0('0x12')]('/:id',auth[_0x04f0('0x9')](),controller[_0x04f0('0x13')]);module[_0x04f0('0x14')]=router;