Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / mailTransferReport / 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 _0x23df=['path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','multer','util'];(function(_0x48d8ee,_0x458534){var _0x593af9=function(_0x282147){while(--_0x282147){_0x48d8ee['push'](_0x48d8ee['shift']());}};_0x593af9(++_0x458534);}(_0x23df,0x10f));var _0xf23d=function(_0x29b891,_0x2467f7){_0x29b891=_0x29b891-0x0;var _0x40e974=_0x23df[_0x29b891];return _0x40e974;};'use strict';var multer=require(_0xf23d('0x0'));var util=require(_0xf23d('0x1'));var path=require(_0xf23d('0x2'));var timeout=require(_0xf23d('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xf23d('0x4'));var interaction=require(_0xf23d('0x5'));var config=require(_0xf23d('0x6'));var controller=require(_0xf23d('0x7'));router[_0xf23d('0x8')]('/',auth[_0xf23d('0x9')](),controller[_0xf23d('0xa')]);router[_0xf23d('0x8')](_0xf23d('0xb'),auth[_0xf23d('0x9')](),controller[_0xf23d('0xc')]);router['get'](_0xf23d('0xd'),auth[_0xf23d('0x9')](),controller[_0xf23d('0xe')]);router[_0xf23d('0xf')]('/',auth[_0xf23d('0x9')](),controller[_0xf23d('0x10')]);router[_0xf23d('0x11')](_0xf23d('0xd'),auth[_0xf23d('0x9')](),controller['update']);router[_0xf23d('0x12')](_0xf23d('0xd'),auth[_0xf23d('0x9')](),controller[_0xf23d('0x13')]);module[_0xf23d('0x14')]=router;