Built motion from commit (unavailable).|2.5.22
[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 _0x4c47=['show','post','create','put','delete','destroy','exports','multer','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','index','/describe','isAuthenticated'];(function(_0x91d019,_0x5223c4){var _0x19de1f=function(_0x3e1311){while(--_0x3e1311){_0x91d019['push'](_0x91d019['shift']());}};_0x19de1f(++_0x5223c4);}(_0x4c47,0xc2));var _0x74c4=function(_0x398c4a,_0x237aa4){_0x398c4a=_0x398c4a-0x0;var _0x20a473=_0x4c47[_0x398c4a];return _0x20a473;};'use strict';var multer=require(_0x74c4('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x74c4('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0x74c4('0x2'));var interaction=require(_0x74c4('0x3'));var config=require(_0x74c4('0x4'));var controller=require(_0x74c4('0x5'));router[_0x74c4('0x6')]('/',auth['isAuthenticated'](),controller[_0x74c4('0x7')]);router[_0x74c4('0x6')](_0x74c4('0x8'),auth[_0x74c4('0x9')](),controller['describe']);router[_0x74c4('0x6')]('/:id',auth[_0x74c4('0x9')](),controller[_0x74c4('0xa')]);router[_0x74c4('0xb')]('/',auth[_0x74c4('0x9')](),controller[_0x74c4('0xc')]);router[_0x74c4('0xd')]('/:id',auth[_0x74c4('0x9')](),controller['update']);router[_0x74c4('0xe')]('/:id',auth[_0x74c4('0x9')](),controller[_0x74c4('0xf')]);module[_0x74c4('0x10')]=router;