Built motion from commit (unavailable).|2.5.19
[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 _0x54db=['express','Router','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','index','isAuthenticated','describe','get','/:id','show','post','create','put','update','delete','destroy','multer','connect-timeout'];(function(_0xcf39c9,_0x4c6fcf){var _0x4ca1ff=function(_0x51d051){while(--_0x51d051){_0xcf39c9['push'](_0xcf39c9['shift']());}};_0x4ca1ff(++_0x4c6fcf);}(_0x54db,0xf5));var _0xb54d=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0x54db[_0x487b0c];return _0x1adbdc;};'use strict';var multer=require(_0xb54d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb54d('0x1'));var express=require(_0xb54d('0x2'));var router=express[_0xb54d('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xb54d('0x4'));var config=require(_0xb54d('0x5'));var controller=require(_0xb54d('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xb54d('0x7')]);router['get']('/describe',auth[_0xb54d('0x8')](),controller[_0xb54d('0x9')]);router[_0xb54d('0xa')](_0xb54d('0xb'),auth[_0xb54d('0x8')](),controller[_0xb54d('0xc')]);router[_0xb54d('0xd')]('/',auth[_0xb54d('0x8')](),controller[_0xb54d('0xe')]);router[_0xb54d('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xb54d('0x10')]);router[_0xb54d('0x11')]('/:id',auth[_0xb54d('0x8')](),controller[_0xb54d('0x12')]);module['exports']=router;