Built motion from commit da617fac.|2.6.6
[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 _0x7d27=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./faxQueueReport.controller','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x2a4d76,_0x57a9f1){var _0x8c1e17=function(_0x35c703){while(--_0x35c703){_0x2a4d76['push'](_0x2a4d76['shift']());}};_0x8c1e17(++_0x57a9f1);}(_0x7d27,0x139));var _0x77d2=function(_0x4a4a32,_0x2ba798){_0x4a4a32=_0x4a4a32-0x0;var _0x154d37=_0x7d27[_0x4a4a32];return _0x154d37;};'use strict';var multer=require(_0x77d2('0x0'));var util=require(_0x77d2('0x1'));var path=require(_0x77d2('0x2'));var timeout=require('connect-timeout');var express=require(_0x77d2('0x3'));var router=express[_0x77d2('0x4')]();var fs_extra=require(_0x77d2('0x5'));var auth=require(_0x77d2('0x6'));var interaction=require(_0x77d2('0x7'));var config=require('../../config/environment');var controller=require(_0x77d2('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x77d2('0x9')]);router['get'](_0x77d2('0xa'),auth[_0x77d2('0xb')](),controller[_0x77d2('0xc')]);router['get'](_0x77d2('0xd'),auth[_0x77d2('0xb')](),controller['show']);router[_0x77d2('0xe')]('/',auth[_0x77d2('0xb')](),controller[_0x77d2('0xf')]);router[_0x77d2('0x10')](_0x77d2('0xd'),auth['isAuthenticated'](),controller[_0x77d2('0x11')]);router[_0x77d2('0x12')]('/:id',auth[_0x77d2('0xb')](),controller[_0x77d2('0x13')]);module[_0x77d2('0x14')]=router;