15af1aaa3ddd5174e7f5f45242150c6d88ade255
[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 _0xc3eb=['util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','/describe','/:id','put','update','delete','destroy','exports'];(function(_0x45becd,_0x36b127){var _0x9a860f=function(_0x32d89f){while(--_0x32d89f){_0x45becd['push'](_0x45becd['shift']());}};_0x9a860f(++_0x36b127);}(_0xc3eb,0x72));var _0xbc3e=function(_0x55a89e,_0x1a05ab){_0x55a89e=_0x55a89e-0x0;var _0x3aa2bd=_0xc3eb[_0x55a89e];return _0x3aa2bd;};'use strict';var multer=require('multer');var util=require(_0xbc3e('0x0'));var path=require(_0xbc3e('0x1'));var timeout=require(_0xbc3e('0x2'));var express=require('express');var router=express[_0xbc3e('0x3')]();var fs_extra=require(_0xbc3e('0x4'));var auth=require(_0xbc3e('0x5'));var interaction=require(_0xbc3e('0x6'));var config=require(_0xbc3e('0x7'));var controller=require(_0xbc3e('0x8'));router[_0xbc3e('0x9')]('/',auth[_0xbc3e('0xa')](),controller[_0xbc3e('0xb')]);router['get'](_0xbc3e('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0xbc3e('0x9')](_0xbc3e('0xd'),auth[_0xbc3e('0xa')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xbc3e('0xe')](_0xbc3e('0xd'),auth['isAuthenticated'](),controller[_0xbc3e('0xf')]);router[_0xbc3e('0x10')](_0xbc3e('0xd'),auth[_0xbc3e('0xa')](),controller[_0xbc3e('0x11')]);module[_0xbc3e('0x12')]=router;