Built motion from commit 10af8726.|2.6.34
[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 _0xf565=['post','create','put','update','delete','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x44190b,_0x2446cc){var _0xe2f9f3=function(_0x112c1c){while(--_0x112c1c){_0x44190b['push'](_0x44190b['shift']());}};_0xe2f9f3(++_0x2446cc);}(_0xf565,0xc3));var _0x5f56=function(_0x317c25,_0xef40fc){_0x317c25=_0x317c25-0x0;var _0x4b2327=_0xf565[_0x317c25];return _0x4b2327;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5f56('0x0'));var timeout=require(_0x5f56('0x1'));var express=require('express');var router=express[_0x5f56('0x2')]();var fs_extra=require(_0x5f56('0x3'));var auth=require(_0x5f56('0x4'));var interaction=require(_0x5f56('0x5'));var config=require(_0x5f56('0x6'));var controller=require(_0x5f56('0x7'));router[_0x5f56('0x8')]('/',auth[_0x5f56('0x9')](),controller[_0x5f56('0xa')]);router[_0x5f56('0x8')](_0x5f56('0xb'),auth[_0x5f56('0x9')](),controller[_0x5f56('0xc')]);router[_0x5f56('0x8')](_0x5f56('0xd'),auth[_0x5f56('0x9')](),controller[_0x5f56('0xe')]);router[_0x5f56('0xf')]('/',auth['isAuthenticated'](),controller[_0x5f56('0x10')]);router[_0x5f56('0x11')](_0x5f56('0xd'),auth[_0x5f56('0x9')](),controller[_0x5f56('0x12')]);router[_0x5f56('0x13')](_0x5f56('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x5f56('0x14')]=router;