Built motion from commit (unavailable).|2.5.11
[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 _0x0bfc=['../../components/interaction/service','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','destroy','exports','multer','path','express','Router'];(function(_0x454ce7,_0x37129d){var _0x36d959=function(_0x1cced1){while(--_0x1cced1){_0x454ce7['push'](_0x454ce7['shift']());}};_0x36d959(++_0x37129d);}(_0x0bfc,0xb7));var _0xc0bf=function(_0x47b58b,_0x41a189){_0x47b58b=_0x47b58b-0x0;var _0x46bebe=_0x0bfc[_0x47b58b];return _0x46bebe;};'use strict';var multer=require(_0xc0bf('0x0'));var util=require('util');var path=require(_0xc0bf('0x1'));var timeout=require('connect-timeout');var express=require(_0xc0bf('0x2'));var router=express[_0xc0bf('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xc0bf('0x4'));var config=require('../../config/environment');var controller=require(_0xc0bf('0x5'));router[_0xc0bf('0x6')]('/',auth[_0xc0bf('0x7')](),controller[_0xc0bf('0x8')]);router['get'](_0xc0bf('0x9'),auth[_0xc0bf('0x7')](),controller[_0xc0bf('0xa')]);router[_0xc0bf('0x6')](_0xc0bf('0xb'),auth['isAuthenticated'](),controller[_0xc0bf('0xc')]);router['post']('/',auth[_0xc0bf('0x7')](),controller[_0xc0bf('0xd')]);router[_0xc0bf('0xe')](_0xc0bf('0xb'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xc0bf('0xb'),auth['isAuthenticated'](),controller[_0xc0bf('0xf')]);module[_0xc0bf('0x10')]=router;