b5fb7b3d7faf963877e6abf36f3c00c1f0a7f62e
[motion2.git] / server / api / mailQueueReport / 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 _0x02ca=['./mailQueueReport.controller','get','index','isAuthenticated','/:id','show','post','put','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x20d290,_0x40fc11){var _0x2bfa8f=function(_0x2498e0){while(--_0x2498e0){_0x20d290['push'](_0x20d290['shift']());}};_0x2bfa8f(++_0x40fc11);}(_0x02ca,0xa3));var _0xa02c=function(_0x57204f,_0x111285){_0x57204f=_0x57204f-0x0;var _0x1366d1=_0x02ca[_0x57204f];return _0x1366d1;};'use strict';var multer=require('multer');var util=require(_0xa02c('0x0'));var path=require(_0xa02c('0x1'));var timeout=require(_0xa02c('0x2'));var express=require(_0xa02c('0x3'));var router=express[_0xa02c('0x4')]();var fs_extra=require(_0xa02c('0x5'));var auth=require(_0xa02c('0x6'));var interaction=require(_0xa02c('0x7'));var config=require('../../config/environment');var controller=require(_0xa02c('0x8'));router[_0xa02c('0x9')]('/',auth['isAuthenticated'](),controller[_0xa02c('0xa')]);router[_0xa02c('0x9')]('/describe',auth[_0xa02c('0xb')](),controller['describe']);router[_0xa02c('0x9')](_0xa02c('0xc'),auth[_0xa02c('0xb')](),controller[_0xa02c('0xd')]);router[_0xa02c('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa02c('0xf')](_0xa02c('0xc'),auth[_0xa02c('0xb')](),controller[_0xa02c('0x10')]);router[_0xa02c('0x11')](_0xa02c('0xc'),auth[_0xa02c('0xb')](),controller[_0xa02c('0x12')]);module['exports']=router;