719c7d4e3c52e59df966d89040bff5d595e12253
[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 _0x877d=['update','delete','destroy','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','isAuthenticated','index','/describe','describe','get','/:id','show','post','create'];(function(_0xa148b7,_0x2f3eb2){var _0x51efd3=function(_0x34bcec){while(--_0x34bcec){_0xa148b7['push'](_0xa148b7['shift']());}};_0x51efd3(++_0x2f3eb2);}(_0x877d,0xc0));var _0xd877=function(_0x279095,_0x15f37e){_0x279095=_0x279095-0x0;var _0x5a5cdb=_0x877d[_0x279095];return _0x5a5cdb;};'use strict';var multer=require('multer');var util=require(_0xd877('0x0'));var path=require('path');var timeout=require(_0xd877('0x1'));var express=require(_0xd877('0x2'));var router=express[_0xd877('0x3')]();var fs_extra=require(_0xd877('0x4'));var auth=require(_0xd877('0x5'));var interaction=require(_0xd877('0x6'));var config=require(_0xd877('0x7'));var controller=require(_0xd877('0x8'));router['get']('/',auth[_0xd877('0x9')](),controller[_0xd877('0xa')]);router['get'](_0xd877('0xb'),auth[_0xd877('0x9')](),controller[_0xd877('0xc')]);router[_0xd877('0xd')](_0xd877('0xe'),auth['isAuthenticated'](),controller[_0xd877('0xf')]);router[_0xd877('0x10')]('/',auth[_0xd877('0x9')](),controller[_0xd877('0x11')]);router['put']('/:id',auth[_0xd877('0x9')](),controller[_0xd877('0x12')]);router[_0xd877('0x13')](_0xd877('0xe'),auth[_0xd877('0x9')](),controller[_0xd877('0x14')]);module['exports']=router;