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