Built motion from commit (unavailable).|2.5.15
[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 _0x24a7=['describe','/:id','post','destroy','exports','multer','path','connect-timeout','express','Router','../../config/environment','./mailQueueReport.controller','index','get','/describe','isAuthenticated'];(function(_0x487ffb,_0x545f8d){var _0x3296f7=function(_0x27e579){while(--_0x27e579){_0x487ffb['push'](_0x487ffb['shift']());}};_0x3296f7(++_0x545f8d);}(_0x24a7,0xf5));var _0x724a=function(_0x3addcd,_0x3f1969){_0x3addcd=_0x3addcd-0x0;var _0x37c24a=_0x24a7[_0x3addcd];return _0x37c24a;};'use strict';var multer=require(_0x724a('0x0'));var util=require('util');var path=require(_0x724a('0x1'));var timeout=require(_0x724a('0x2'));var express=require(_0x724a('0x3'));var router=express[_0x724a('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x724a('0x5'));var controller=require(_0x724a('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x724a('0x7')]);router[_0x724a('0x8')](_0x724a('0x9'),auth[_0x724a('0xa')](),controller[_0x724a('0xb')]);router[_0x724a('0x8')](_0x724a('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x724a('0xd')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x724a('0xc'),auth[_0x724a('0xa')](),controller['update']);router['delete'](_0x724a('0xc'),auth[_0x724a('0xa')](),controller[_0x724a('0xe')]);module[_0x724a('0xf')]=router;