0ffc39c3e8d69176fe1a67f5ffbcd84f45ee6660
[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 _0xaa42=['get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller'];(function(_0x4a1a17,_0x6d9b5a){var _0x534940=function(_0x20662d){while(--_0x20662d){_0x4a1a17['push'](_0x4a1a17['shift']());}};_0x534940(++_0x6d9b5a);}(_0xaa42,0xc5));var _0x2aa4=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0xaa42[_0x27af45];return _0x18df21;};'use strict';var multer=require('multer');var util=require(_0x2aa4('0x0'));var path=require(_0x2aa4('0x1'));var timeout=require(_0x2aa4('0x2'));var express=require(_0x2aa4('0x3'));var router=express[_0x2aa4('0x4')]();var fs_extra=require(_0x2aa4('0x5'));var auth=require(_0x2aa4('0x6'));var interaction=require(_0x2aa4('0x7'));var config=require(_0x2aa4('0x8'));var controller=require(_0x2aa4('0x9'));router[_0x2aa4('0xa')]('/',auth[_0x2aa4('0xb')](),controller['index']);router[_0x2aa4('0xa')](_0x2aa4('0xc'),auth['isAuthenticated'](),controller[_0x2aa4('0xd')]);router[_0x2aa4('0xa')](_0x2aa4('0xe'),auth[_0x2aa4('0xb')](),controller[_0x2aa4('0xf')]);router[_0x2aa4('0x10')]('/',auth[_0x2aa4('0xb')](),controller[_0x2aa4('0x11')]);router[_0x2aa4('0x12')](_0x2aa4('0xe'),auth[_0x2aa4('0xb')](),controller[_0x2aa4('0x13')]);router[_0x2aa4('0x14')](_0x2aa4('0xe'),auth[_0x2aa4('0xb')](),controller[_0x2aa4('0x15')]);module[_0x2aa4('0x16')]=router;