Built motion from commit da24aabd.|2.6.20
[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 _0x84ec=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','path','express'];(function(_0x1f1a63,_0x3b5924){var _0x21492a=function(_0x56c789){while(--_0x56c789){_0x1f1a63['push'](_0x1f1a63['shift']());}};_0x21492a(++_0x3b5924);}(_0x84ec,0x17a));var _0xc84e=function(_0x3946d8,_0x1ec847){_0x3946d8=_0x3946d8-0x0;var _0x46f7a1=_0x84ec[_0x3946d8];return _0x46f7a1;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc84e('0x0'));var timeout=require('connect-timeout');var express=require(_0xc84e('0x1'));var router=express['Router']();var fs_extra=require(_0xc84e('0x2'));var auth=require(_0xc84e('0x3'));var interaction=require(_0xc84e('0x4'));var config=require(_0xc84e('0x5'));var controller=require(_0xc84e('0x6'));router['get']('/',auth[_0xc84e('0x7')](),controller[_0xc84e('0x8')]);router[_0xc84e('0x9')](_0xc84e('0xa'),auth[_0xc84e('0x7')](),controller[_0xc84e('0xb')]);router[_0xc84e('0x9')](_0xc84e('0xc'),auth['isAuthenticated'](),controller[_0xc84e('0xd')]);router[_0xc84e('0xe')]('/',auth[_0xc84e('0x7')](),controller['create']);router[_0xc84e('0xf')](_0xc84e('0xc'),auth[_0xc84e('0x7')](),controller[_0xc84e('0x10')]);router[_0xc84e('0x11')](_0xc84e('0xc'),auth['isAuthenticated'](),controller[_0xc84e('0x12')]);module[_0xc84e('0x13')]=router;