fe677022d2558f7d06ed58e0efe409827727a89d
[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 _0x188e=['delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','isAuthenticated','index','get','/describe','describe','show','post','create','put','/:id','update'];(function(_0x47fa12,_0x5c51cf){var _0x63746=function(_0x527db0){while(--_0x527db0){_0x47fa12['push'](_0x47fa12['shift']());}};_0x63746(++_0x5c51cf);}(_0x188e,0x1cf));var _0xe188=function(_0x5f489c,_0x799f53){_0x5f489c=_0x5f489c-0x0;var _0x147023=_0x188e[_0x5f489c];return _0x147023;};'use strict';var multer=require('multer');var util=require(_0xe188('0x0'));var path=require(_0xe188('0x1'));var timeout=require('connect-timeout');var express=require(_0xe188('0x2'));var router=express[_0xe188('0x3')]();var fs_extra=require(_0xe188('0x4'));var auth=require(_0xe188('0x5'));var interaction=require(_0xe188('0x6'));var config=require(_0xe188('0x7'));var controller=require(_0xe188('0x8'));router['get']('/',auth[_0xe188('0x9')](),controller[_0xe188('0xa')]);router[_0xe188('0xb')](_0xe188('0xc'),auth[_0xe188('0x9')](),controller[_0xe188('0xd')]);router[_0xe188('0xb')]('/:id',auth[_0xe188('0x9')](),controller[_0xe188('0xe')]);router[_0xe188('0xf')]('/',auth[_0xe188('0x9')](),controller[_0xe188('0x10')]);router[_0xe188('0x11')](_0xe188('0x12'),auth['isAuthenticated'](),controller[_0xe188('0x13')]);router[_0xe188('0x14')](_0xe188('0x12'),auth['isAuthenticated'](),controller[_0xe188('0x15')]);module[_0xe188('0x16')]=router;