Built motion from commit (unavailable).|2.4.4
[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 _0x5ae2=['isAuthenticated','index','show','post','create','put','/:id','update','destroy','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get'];(function(_0x56916d,_0x37b935){var _0x2b7f1f=function(_0x206eb1){while(--_0x206eb1){_0x56916d['push'](_0x56916d['shift']());}};_0x2b7f1f(++_0x37b935);}(_0x5ae2,0x183));var _0x25ae=function(_0x3e10c0,_0x385bdc){_0x3e10c0=_0x3e10c0-0x0;var _0x2fb415=_0x5ae2[_0x3e10c0];return _0x2fb415;};'use strict';var multer=require(_0x25ae('0x0'));var util=require(_0x25ae('0x1'));var path=require(_0x25ae('0x2'));var timeout=require('connect-timeout');var express=require(_0x25ae('0x3'));var router=express['Router']();var auth=require(_0x25ae('0x4'));var interaction=require(_0x25ae('0x5'));var config=require(_0x25ae('0x6'));var controller=require(_0x25ae('0x7'));router[_0x25ae('0x8')]('/',auth[_0x25ae('0x9')](),controller[_0x25ae('0xa')]);router[_0x25ae('0x8')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0x25ae('0x9')](),controller[_0x25ae('0xb')]);router[_0x25ae('0xc')]('/',auth[_0x25ae('0x9')](),controller[_0x25ae('0xd')]);router[_0x25ae('0xe')](_0x25ae('0xf'),auth[_0x25ae('0x9')](),controller[_0x25ae('0x10')]);router['delete'](_0x25ae('0xf'),auth[_0x25ae('0x9')](),controller[_0x25ae('0x11')]);module['exports']=router;