Built motion from commit (unavailable).|2.5.5
[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 _0xfbe8=['../../components/interaction/service','isAuthenticated','index','get','/describe','describe','/:id','show','post','update','delete','destroy','multer','util','express','Router'];(function(_0x48f7d2,_0x15afd2){var _0xe726da=function(_0x2b70f4){while(--_0x2b70f4){_0x48f7d2['push'](_0x48f7d2['shift']());}};_0xe726da(++_0x15afd2);}(_0xfbe8,0x14c));var _0x8fbe=function(_0x50a0c2,_0x4befab){_0x50a0c2=_0x50a0c2-0x0;var _0x5ebadd=_0xfbe8[_0x50a0c2];return _0x5ebadd;};'use strict';var multer=require(_0x8fbe('0x0'));var util=require(_0x8fbe('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8fbe('0x2'));var router=express[_0x8fbe('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x8fbe('0x4'));var config=require('../../config/environment');var controller=require('./mailQueueReport.controller');router['get']('/',auth[_0x8fbe('0x5')](),controller[_0x8fbe('0x6')]);router[_0x8fbe('0x7')](_0x8fbe('0x8'),auth['isAuthenticated'](),controller[_0x8fbe('0x9')]);router[_0x8fbe('0x7')](_0x8fbe('0xa'),auth['isAuthenticated'](),controller[_0x8fbe('0xb')]);router[_0x8fbe('0xc')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x8fbe('0xa'),auth[_0x8fbe('0x5')](),controller[_0x8fbe('0xd')]);router[_0x8fbe('0xe')](_0x8fbe('0xa'),auth[_0x8fbe('0x5')](),controller[_0x8fbe('0xf')]);module['exports']=router;