53168750af4d3ccf508333145207008e1b8c5b97
[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 _0x4787=['multer','path','express','Router','fs-extra','../../components/interaction/service','./faxQueueReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','update','destroy','exports'];(function(_0x400b43,_0x55da4e){var _0x3c330f=function(_0x5bbd52){while(--_0x5bbd52){_0x400b43['push'](_0x400b43['shift']());}};_0x3c330f(++_0x55da4e);}(_0x4787,0x176));var _0x7478=function(_0x266618,_0x18f637){_0x266618=_0x266618-0x0;var _0x54dbf5=_0x4787[_0x266618];return _0x54dbf5;};'use strict';var multer=require(_0x7478('0x0'));var util=require('util');var path=require(_0x7478('0x1'));var timeout=require('connect-timeout');var express=require(_0x7478('0x2'));var router=express[_0x7478('0x3')]();var fs_extra=require(_0x7478('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x7478('0x5'));var config=require('../../config/environment');var controller=require(_0x7478('0x6'));router[_0x7478('0x7')]('/',auth[_0x7478('0x8')](),controller['index']);router['get'](_0x7478('0x9'),auth[_0x7478('0x8')](),controller['describe']);router['get'](_0x7478('0xa'),auth[_0x7478('0x8')](),controller[_0x7478('0xb')]);router[_0x7478('0xc')]('/',auth[_0x7478('0x8')](),controller[_0x7478('0xd')]);router['put'](_0x7478('0xa'),auth['isAuthenticated'](),controller[_0x7478('0xe')]);router['delete'](_0x7478('0xa'),auth[_0x7478('0x8')](),controller[_0x7478('0xf')]);module[_0x7478('0x10')]=router;