Built motion from commit a61a4a20.|2.5.46
[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 _0xa3f8=['./mailQueueReport.controller','isAuthenticated','get','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x23cba3,_0x3fd1a5){var _0x1721db=function(_0x53d318){while(--_0x53d318){_0x23cba3['push'](_0x23cba3['shift']());}};_0x1721db(++_0x3fd1a5);}(_0xa3f8,0x14d));var _0x8a3f=function(_0x435b2f,_0x4c44da){_0x435b2f=_0x435b2f-0x0;var _0x181648=_0xa3f8[_0x435b2f];return _0x181648;};'use strict';var multer=require(_0x8a3f('0x0'));var util=require(_0x8a3f('0x1'));var path=require('path');var timeout=require(_0x8a3f('0x2'));var express=require(_0x8a3f('0x3'));var router=express[_0x8a3f('0x4')]();var fs_extra=require(_0x8a3f('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8a3f('0x6'));var config=require('../../config/environment');var controller=require(_0x8a3f('0x7'));router['get']('/',auth[_0x8a3f('0x8')](),controller['index']);router[_0x8a3f('0x9')](_0x8a3f('0xa'),auth['isAuthenticated'](),controller[_0x8a3f('0xb')]);router[_0x8a3f('0x9')](_0x8a3f('0xc'),auth[_0x8a3f('0x8')](),controller[_0x8a3f('0xd')]);router['post']('/',auth[_0x8a3f('0x8')](),controller[_0x8a3f('0xe')]);router[_0x8a3f('0xf')]('/:id',auth[_0x8a3f('0x8')](),controller[_0x8a3f('0x10')]);router[_0x8a3f('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x8a3f('0x12')]);module[_0x8a3f('0x13')]=router;