Built motion from commit 85328c08.|2.5.50
[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 _0xf115=['../../config/environment','./mailQueueReport.controller','index','get','/describe','describe','/:id','isAuthenticated','show','post','create','put','update','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x565c49,_0x54acd0){var _0x20ca34=function(_0x42f7e1){while(--_0x42f7e1){_0x565c49['push'](_0x565c49['shift']());}};_0x20ca34(++_0x54acd0);}(_0xf115,0x15e));var _0x5f11=function(_0x7ea25d,_0x238911){_0x7ea25d=_0x7ea25d-0x0;var _0x1ce750=_0xf115[_0x7ea25d];return _0x1ce750;};'use strict';var multer=require(_0x5f11('0x0'));var util=require(_0x5f11('0x1'));var path=require(_0x5f11('0x2'));var timeout=require(_0x5f11('0x3'));var express=require(_0x5f11('0x4'));var router=express[_0x5f11('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x5f11('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5f11('0x7'));var controller=require(_0x5f11('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x5f11('0x9')]);router[_0x5f11('0xa')](_0x5f11('0xb'),auth['isAuthenticated'](),controller[_0x5f11('0xc')]);router[_0x5f11('0xa')](_0x5f11('0xd'),auth[_0x5f11('0xe')](),controller[_0x5f11('0xf')]);router[_0x5f11('0x10')]('/',auth[_0x5f11('0xe')](),controller[_0x5f11('0x11')]);router[_0x5f11('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x5f11('0x13')]);router['delete'](_0x5f11('0xd'),auth[_0x5f11('0xe')](),controller[_0x5f11('0x14')]);module['exports']=router;