Built motion from commit (unavailable).|2.5.8
[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 _0x54c4=['../../components/auth/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','describe','/:id','show','post','create','put','update','delete','exports','util','path','connect-timeout','Router'];(function(_0x5e4c05,_0xa9fea4){var _0x4d8826=function(_0x36b8de){while(--_0x36b8de){_0x5e4c05['push'](_0x5e4c05['shift']());}};_0x4d8826(++_0xa9fea4);}(_0x54c4,0x140));var _0x454c=function(_0x121db1,_0x3c80d1){_0x121db1=_0x121db1-0x0;var _0x417feb=_0x54c4[_0x121db1];return _0x417feb;};'use strict';var multer=require('multer');var util=require(_0x454c('0x0'));var path=require(_0x454c('0x1'));var timeout=require(_0x454c('0x2'));var express=require('express');var router=express[_0x454c('0x3')]();var auth=require(_0x454c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x454c('0x5'));var controller=require(_0x454c('0x6'));router[_0x454c('0x7')]('/',auth[_0x454c('0x8')](),controller['index']);router[_0x454c('0x7')]('/describe',auth[_0x454c('0x8')](),controller[_0x454c('0x9')]);router['get'](_0x454c('0xa'),auth[_0x454c('0x8')](),controller[_0x454c('0xb')]);router[_0x454c('0xc')]('/',auth['isAuthenticated'](),controller[_0x454c('0xd')]);router[_0x454c('0xe')](_0x454c('0xa'),auth[_0x454c('0x8')](),controller[_0x454c('0xf')]);router[_0x454c('0x10')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x454c('0x11')]=router;