Built motion from commit (unavailable).|2.5.23
[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 _0xff57=['get','isAuthenticated','/describe','describe','/:id','post','create','put','update','destroy','exports','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x205e5a,_0x5c19fb){var _0x10da58=function(_0x1ba35d){while(--_0x1ba35d){_0x205e5a['push'](_0x205e5a['shift']());}};_0x10da58(++_0x5c19fb);}(_0xff57,0x8b));var _0x7ff5=function(_0x287c33,_0x487a30){_0x287c33=_0x287c33-0x0;var _0x1efa3b=_0xff57[_0x287c33];return _0x1efa3b;};'use strict';var multer=require('multer');var util=require(_0x7ff5('0x0'));var path=require(_0x7ff5('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x7ff5('0x2'));var interaction=require(_0x7ff5('0x3'));var config=require(_0x7ff5('0x4'));var controller=require('./mailQueueReport.controller');router[_0x7ff5('0x5')]('/',auth[_0x7ff5('0x6')](),controller['index']);router[_0x7ff5('0x5')](_0x7ff5('0x7'),auth[_0x7ff5('0x6')](),controller[_0x7ff5('0x8')]);router[_0x7ff5('0x5')](_0x7ff5('0x9'),auth[_0x7ff5('0x6')](),controller['show']);router[_0x7ff5('0xa')]('/',auth[_0x7ff5('0x6')](),controller[_0x7ff5('0xb')]);router[_0x7ff5('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x7ff5('0xd')]);router['delete']('/:id',auth[_0x7ff5('0x6')](),controller[_0x7ff5('0xe')]);module[_0x7ff5('0xf')]=router;