31181351770b59e172f121d75942ed57ba223150
[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 _0xb5df=['get','/:id','show','post','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','isAuthenticated','index','/describe','describe'];(function(_0x29d94e,_0xf386d6){var _0x106237=function(_0x327501){while(--_0x327501){_0x29d94e['push'](_0x29d94e['shift']());}};_0x106237(++_0xf386d6);}(_0xb5df,0x86));var _0xfb5d=function(_0x57a83c,_0xe9385c){_0x57a83c=_0x57a83c-0x0;var _0x23b46d=_0xb5df[_0x57a83c];return _0x23b46d;};'use strict';var multer=require(_0xfb5d('0x0'));var util=require(_0xfb5d('0x1'));var path=require('path');var timeout=require(_0xfb5d('0x2'));var express=require(_0xfb5d('0x3'));var router=express[_0xfb5d('0x4')]();var fs_extra=require(_0xfb5d('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfb5d('0x6'));var config=require(_0xfb5d('0x7'));var controller=require(_0xfb5d('0x8'));router['get']('/',auth[_0xfb5d('0x9')](),controller[_0xfb5d('0xa')]);router['get'](_0xfb5d('0xb'),auth['isAuthenticated'](),controller[_0xfb5d('0xc')]);router[_0xfb5d('0xd')](_0xfb5d('0xe'),auth[_0xfb5d('0x9')](),controller[_0xfb5d('0xf')]);router[_0xfb5d('0x10')]('/',auth[_0xfb5d('0x9')](),controller['create']);router[_0xfb5d('0x11')]('/:id',auth[_0xfb5d('0x9')](),controller['update']);router[_0xfb5d('0x12')](_0xfb5d('0xe'),auth['isAuthenticated'](),controller[_0xfb5d('0x13')]);module[_0xfb5d('0x14')]=router;