1d57c35196a8afd208c5e4502f3a61160f86a7ca
[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 _0x48aa=['/:id','show','post','create','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','isAuthenticated','index','get','/describe'];(function(_0x1e4360,_0x930b9b){var _0x31e6b4=function(_0x49dd8e){while(--_0x49dd8e){_0x1e4360['push'](_0x1e4360['shift']());}};_0x31e6b4(++_0x930b9b);}(_0x48aa,0x133));var _0xa48a=function(_0x4164f2,_0x38669f){_0x4164f2=_0x4164f2-0x0;var _0x2575c7=_0x48aa[_0x4164f2];return _0x2575c7;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa48a('0x0'));var timeout=require(_0xa48a('0x1'));var express=require(_0xa48a('0x2'));var router=express[_0xa48a('0x3')]();var fs_extra=require(_0xa48a('0x4'));var auth=require(_0xa48a('0x5'));var interaction=require(_0xa48a('0x6'));var config=require(_0xa48a('0x7'));var controller=require(_0xa48a('0x8'));router['get']('/',auth[_0xa48a('0x9')](),controller[_0xa48a('0xa')]);router[_0xa48a('0xb')](_0xa48a('0xc'),auth[_0xa48a('0x9')](),controller['describe']);router[_0xa48a('0xb')](_0xa48a('0xd'),auth[_0xa48a('0x9')](),controller[_0xa48a('0xe')]);router[_0xa48a('0xf')]('/',auth[_0xa48a('0x9')](),controller[_0xa48a('0x10')]);router['put'](_0xa48a('0xd'),auth['isAuthenticated'](),controller['update']);router[_0xa48a('0x11')](_0xa48a('0xd'),auth[_0xa48a('0x9')](),controller[_0xa48a('0x12')]);module[_0xa48a('0x13')]=router;