Built motion from commit (unavailable).|2.3.1
[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 _0x2e23=['isAuthenticated','index','/describe','describe','/:id','show','post','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get'];(function(_0x846dab,_0x6919da){var _0x590ba9=function(_0x7687aa){while(--_0x7687aa){_0x846dab['push'](_0x846dab['shift']());}};_0x590ba9(++_0x6919da);}(_0x2e23,0x161));var _0x32e2=function(_0x4e9628,_0x250573){_0x4e9628=_0x4e9628-0x0;var _0x27bc8c=_0x2e23[_0x4e9628];return _0x27bc8c;};'use strict';var multer=require(_0x32e2('0x0'));var util=require('util');var path=require(_0x32e2('0x1'));var timeout=require(_0x32e2('0x2'));var express=require(_0x32e2('0x3'));var router=express[_0x32e2('0x4')]();var auth=require(_0x32e2('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x32e2('0x6'));var controller=require('./mailQueueReport.controller');router[_0x32e2('0x7')]('/',auth[_0x32e2('0x8')](),controller[_0x32e2('0x9')]);router['get'](_0x32e2('0xa'),auth['isAuthenticated'](),controller[_0x32e2('0xb')]);router['get'](_0x32e2('0xc'),auth[_0x32e2('0x8')](),controller[_0x32e2('0xd')]);router[_0x32e2('0xe')]('/',auth[_0x32e2('0x8')](),controller['create']);router[_0x32e2('0xf')](_0x32e2('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x32e2('0x10')]('/:id',auth[_0x32e2('0x8')](),controller[_0x32e2('0x11')]);module[_0x32e2('0x12')]=router;