Built motion from commit f7863d46.|2.5.41
[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 _0x0a1f=['./mailTransferReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../config/environment'];(function(_0x1b25c1,_0x2c6ce6){var _0x1e4447=function(_0xaaafca){while(--_0xaaafca){_0x1b25c1['push'](_0x1b25c1['shift']());}};_0x1e4447(++_0x2c6ce6);}(_0x0a1f,0xa9));var _0xf0a1=function(_0x25a3d3,_0x3106dc){_0x25a3d3=_0x25a3d3-0x0;var _0xbf2888=_0x0a1f[_0x25a3d3];return _0xbf2888;};'use strict';var multer=require(_0xf0a1('0x0'));var util=require(_0xf0a1('0x1'));var path=require('path');var timeout=require(_0xf0a1('0x2'));var express=require(_0xf0a1('0x3'));var router=express[_0xf0a1('0x4')]();var fs_extra=require(_0xf0a1('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf0a1('0x6'));var controller=require(_0xf0a1('0x7'));router[_0xf0a1('0x8')]('/',auth[_0xf0a1('0x9')](),controller[_0xf0a1('0xa')]);router['get'](_0xf0a1('0xb'),auth[_0xf0a1('0x9')](),controller[_0xf0a1('0xc')]);router['get']('/:id',auth[_0xf0a1('0x9')](),controller[_0xf0a1('0xd')]);router[_0xf0a1('0xe')]('/',auth[_0xf0a1('0x9')](),controller[_0xf0a1('0xf')]);router[_0xf0a1('0x10')](_0xf0a1('0x11'),auth[_0xf0a1('0x9')](),controller[_0xf0a1('0x12')]);router[_0xf0a1('0x13')](_0xf0a1('0x11'),auth[_0xf0a1('0x9')](),controller[_0xf0a1('0x14')]);module[_0xf0a1('0x15')]=router;