fae3c5c685e9a10022f03f92a69b33ae544cf996
[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 _0xe196=['multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','update','destroy'];(function(_0x2586df,_0x17558e){var _0x5bc581=function(_0x2f6b47){while(--_0x2f6b47){_0x2586df['push'](_0x2586df['shift']());}};_0x5bc581(++_0x17558e);}(_0xe196,0x168));var _0x6e19=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xe196[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0x6e19('0x0'));var util=require(_0x6e19('0x1'));var path=require(_0x6e19('0x2'));var timeout=require(_0x6e19('0x3'));var express=require(_0x6e19('0x4'));var router=express['Router']();var fs_extra=require(_0x6e19('0x5'));var auth=require(_0x6e19('0x6'));var interaction=require(_0x6e19('0x7'));var config=require(_0x6e19('0x8'));var controller=require(_0x6e19('0x9'));router[_0x6e19('0xa')]('/',auth[_0x6e19('0xb')](),controller['index']);router[_0x6e19('0xa')](_0x6e19('0xc'),auth[_0x6e19('0xb')](),controller[_0x6e19('0xd')]);router[_0x6e19('0xa')](_0x6e19('0xe'),auth[_0x6e19('0xb')](),controller[_0x6e19('0xf')]);router[_0x6e19('0x10')]('/',auth[_0x6e19('0xb')](),controller[_0x6e19('0x11')]);router['put'](_0x6e19('0xe'),auth[_0x6e19('0xb')](),controller[_0x6e19('0x12')]);router['delete'](_0x6e19('0xe'),auth[_0x6e19('0xb')](),controller[_0x6e19('0x13')]);module['exports']=router;