56587d0c64cdd8f78a12757917bf90d520fec4ed
[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 _0xa5bf=['/describe','isAuthenticated','describe','show','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./mailQueueReport.controller','get','index'];(function(_0x4f8e5c,_0x29af5c){var _0x917a18=function(_0x5ea553){while(--_0x5ea553){_0x4f8e5c['push'](_0x4f8e5c['shift']());}};_0x917a18(++_0x29af5c);}(_0xa5bf,0x146));var _0xfa5b=function(_0x53cf8e,_0x3d290f){_0x53cf8e=_0x53cf8e-0x0;var _0x459197=_0xa5bf[_0x53cf8e];return _0x459197;};'use strict';var multer=require(_0xfa5b('0x0'));var util=require(_0xfa5b('0x1'));var path=require(_0xfa5b('0x2'));var timeout=require(_0xfa5b('0x3'));var express=require(_0xfa5b('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xfa5b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xfa5b('0x6'));var controller=require(_0xfa5b('0x7'));router[_0xfa5b('0x8')]('/',auth['isAuthenticated'](),controller[_0xfa5b('0x9')]);router[_0xfa5b('0x8')](_0xfa5b('0xa'),auth[_0xfa5b('0xb')](),controller[_0xfa5b('0xc')]);router[_0xfa5b('0x8')]('/:id',auth[_0xfa5b('0xb')](),controller[_0xfa5b('0xd')]);router['post']('/',auth[_0xfa5b('0xb')](),controller[_0xfa5b('0xe')]);router[_0xfa5b('0xf')](_0xfa5b('0x10'),auth['isAuthenticated'](),controller[_0xfa5b('0x11')]);router[_0xfa5b('0x12')](_0xfa5b('0x10'),auth[_0xfa5b('0xb')](),controller[_0xfa5b('0x13')]);module[_0xfa5b('0x14')]=router;