e8d9b652b10374c062c96cbf325838169ee1e9e2
[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 _0x0d2c=['describe','post','create','put','/:id','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','/describe'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0x0d2c,0xaf));var _0xc0d2=function(_0x34179d,_0x2ac36f){_0x34179d=_0x34179d-0x0;var _0x186bf5=_0x0d2c[_0x34179d];return _0x186bf5;};'use strict';var multer=require(_0xc0d2('0x0'));var util=require(_0xc0d2('0x1'));var path=require(_0xc0d2('0x2'));var timeout=require(_0xc0d2('0x3'));var express=require(_0xc0d2('0x4'));var router=express['Router']();var fs_extra=require(_0xc0d2('0x5'));var auth=require(_0xc0d2('0x6'));var interaction=require(_0xc0d2('0x7'));var config=require(_0xc0d2('0x8'));var controller=require(_0xc0d2('0x9'));router[_0xc0d2('0xa')]('/',auth[_0xc0d2('0xb')](),controller[_0xc0d2('0xc')]);router[_0xc0d2('0xa')](_0xc0d2('0xd'),auth['isAuthenticated'](),controller[_0xc0d2('0xe')]);router[_0xc0d2('0xa')]('/:id',auth[_0xc0d2('0xb')](),controller['show']);router[_0xc0d2('0xf')]('/',auth[_0xc0d2('0xb')](),controller[_0xc0d2('0x10')]);router[_0xc0d2('0x11')](_0xc0d2('0x12'),auth[_0xc0d2('0xb')](),controller['update']);router[_0xc0d2('0x13')](_0xc0d2('0x12'),auth['isAuthenticated'](),controller[_0xc0d2('0x14')]);module['exports']=router;