Built motion from commit (unavailable).|2.5.2
[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 _0x6e35=['/:id','show','post','put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index'];(function(_0x26749d,_0x19e96d){var _0x2a14b3=function(_0xf0f6bf){while(--_0xf0f6bf){_0x26749d['push'](_0x26749d['shift']());}};_0x2a14b3(++_0x19e96d);}(_0x6e35,0x1b8));var _0x56e3=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x6e35[_0x42cae2];return _0x5f256f;};'use strict';var multer=require(_0x56e3('0x0'));var util=require(_0x56e3('0x1'));var path=require(_0x56e3('0x2'));var timeout=require('connect-timeout');var express=require(_0x56e3('0x3'));var router=express[_0x56e3('0x4')]();var auth=require(_0x56e3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x56e3('0x6'));var controller=require('./mailTransferReport.controller');router[_0x56e3('0x7')]('/',auth[_0x56e3('0x8')](),controller[_0x56e3('0x9')]);router[_0x56e3('0x7')]('/describe',auth[_0x56e3('0x8')](),controller['describe']);router[_0x56e3('0x7')](_0x56e3('0xa'),auth[_0x56e3('0x8')](),controller[_0x56e3('0xb')]);router[_0x56e3('0xc')]('/',auth[_0x56e3('0x8')](),controller['create']);router[_0x56e3('0xd')](_0x56e3('0xa'),auth[_0x56e3('0x8')](),controller[_0x56e3('0xe')]);router[_0x56e3('0xf')]('/:id',auth[_0x56e3('0x8')](),controller[_0x56e3('0x10')]);module[_0x56e3('0x11')]=router;