Built motion from commit da617fac.|2.6.6
[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 _0x5d16=['update','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','index','describe','/:id','isAuthenticated','show','post','put'];(function(_0x195dc4,_0x23a16c){var _0x56cbe1=function(_0x33cbd6){while(--_0x33cbd6){_0x195dc4['push'](_0x195dc4['shift']());}};_0x56cbe1(++_0x23a16c);}(_0x5d16,0xa4));var _0x65d1=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5d16[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x65d1('0x0'));var util=require(_0x65d1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x65d1('0x2'));var router=express[_0x65d1('0x3')]();var fs_extra=require(_0x65d1('0x4'));var auth=require(_0x65d1('0x5'));var interaction=require(_0x65d1('0x6'));var config=require(_0x65d1('0x7'));var controller=require(_0x65d1('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x65d1('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x65d1('0xa')]);router['get'](_0x65d1('0xb'),auth[_0x65d1('0xc')](),controller[_0x65d1('0xd')]);router[_0x65d1('0xe')]('/',auth[_0x65d1('0xc')](),controller['create']);router[_0x65d1('0xf')](_0x65d1('0xb'),auth[_0x65d1('0xc')](),controller[_0x65d1('0x10')]);router[_0x65d1('0x11')]('/:id',auth[_0x65d1('0xc')](),controller[_0x65d1('0x12')]);module[_0x65d1('0x13')]=router;