Built motion from commit (unavailable).|2.5.4
[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 _0xef13=['util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy'];(function(_0x4b89c4,_0x2b3646){var _0x16da63=function(_0x12405f){while(--_0x12405f){_0x4b89c4['push'](_0x4b89c4['shift']());}};_0x16da63(++_0x2b3646);}(_0xef13,0x156));var _0x3ef1=function(_0x1ebd40,_0x5bf84d){_0x1ebd40=_0x1ebd40-0x0;var _0x2298ee=_0xef13[_0x1ebd40];return _0x2298ee;};'use strict';var multer=require('multer');var util=require(_0x3ef1('0x0'));var path=require('path');var timeout=require(_0x3ef1('0x1'));var express=require('express');var router=express[_0x3ef1('0x2')]();var auth=require(_0x3ef1('0x3'));var interaction=require(_0x3ef1('0x4'));var config=require(_0x3ef1('0x5'));var controller=require(_0x3ef1('0x6'));router[_0x3ef1('0x7')]('/',auth[_0x3ef1('0x8')](),controller['index']);router[_0x3ef1('0x7')](_0x3ef1('0x9'),auth[_0x3ef1('0x8')](),controller[_0x3ef1('0xa')]);router['get'](_0x3ef1('0xb'),auth[_0x3ef1('0x8')](),controller[_0x3ef1('0xc')]);router[_0x3ef1('0xd')]('/',auth[_0x3ef1('0x8')](),controller[_0x3ef1('0xe')]);router[_0x3ef1('0xf')](_0x3ef1('0xb'),auth[_0x3ef1('0x8')](),controller[_0x3ef1('0x10')]);router[_0x3ef1('0x11')]('/:id',auth[_0x3ef1('0x8')](),controller[_0x3ef1('0x12')]);module['exports']=router;