136d934d551be6c701caad376a7b1ca266d52516
[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 _0xc197=['path','connect-timeout','express','Router','get','index','/describe','isAuthenticated','/:id','show','post','create','put','delete','exports','multer','util'];(function(_0x220677,_0x1213ff){var _0x4c5f46=function(_0xc3be60){while(--_0xc3be60){_0x220677['push'](_0x220677['shift']());}};_0x4c5f46(++_0x1213ff);}(_0xc197,0x86));var _0x7c19=function(_0x485f23,_0x4b55de){_0x485f23=_0x485f23-0x0;var _0x4f45db=_0xc197[_0x485f23];return _0x4f45db;};'use strict';var multer=require(_0x7c19('0x0'));var util=require(_0x7c19('0x1'));var path=require(_0x7c19('0x2'));var timeout=require(_0x7c19('0x3'));var express=require(_0x7c19('0x4'));var router=express[_0x7c19('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./mailQueueReport.controller');router[_0x7c19('0x6')]('/',auth['isAuthenticated'](),controller[_0x7c19('0x7')]);router[_0x7c19('0x6')](_0x7c19('0x8'),auth[_0x7c19('0x9')](),controller['describe']);router[_0x7c19('0x6')](_0x7c19('0xa'),auth[_0x7c19('0x9')](),controller[_0x7c19('0xb')]);router[_0x7c19('0xc')]('/',auth['isAuthenticated'](),controller[_0x7c19('0xd')]);router[_0x7c19('0xe')](_0x7c19('0xa'),auth[_0x7c19('0x9')](),controller['update']);router[_0x7c19('0xf')](_0x7c19('0xa'),auth[_0x7c19('0x9')](),controller['destroy']);module[_0x7c19('0x10')]=router;