Built motion from commit (unavailable).|2.5.14
[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 _0xbb10=['destroy','exports','util','path','connect-timeout','../../components/interaction/service','./mailQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','post','create','update','delete'];(function(_0xaa0e63,_0x565934){var _0x122c76=function(_0x539dc4){while(--_0x539dc4){_0xaa0e63['push'](_0xaa0e63['shift']());}};_0x122c76(++_0x565934);}(_0xbb10,0x19a));var _0x0bb1=function(_0x56ce21,_0x5d766c){_0x56ce21=_0x56ce21-0x0;var _0x2ae675=_0xbb10[_0x56ce21];return _0x2ae675;};'use strict';var multer=require('multer');var util=require(_0x0bb1('0x0'));var path=require(_0x0bb1('0x1'));var timeout=require(_0x0bb1('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x0bb1('0x3'));var config=require('../../config/environment');var controller=require(_0x0bb1('0x4'));router[_0x0bb1('0x5')]('/',auth['isAuthenticated'](),controller[_0x0bb1('0x6')]);router[_0x0bb1('0x5')](_0x0bb1('0x7'),auth[_0x0bb1('0x8')](),controller[_0x0bb1('0x9')]);router[_0x0bb1('0x5')](_0x0bb1('0xa'),auth[_0x0bb1('0x8')](),controller['show']);router[_0x0bb1('0xb')]('/',auth[_0x0bb1('0x8')](),controller[_0x0bb1('0xc')]);router['put'](_0x0bb1('0xa'),auth[_0x0bb1('0x8')](),controller[_0x0bb1('0xd')]);router[_0x0bb1('0xe')](_0x0bb1('0xa'),auth[_0x0bb1('0x8')](),controller[_0x0bb1('0xf')]);module[_0x0bb1('0x10')]=router;