Built motion from commit d5e4af8c.|2.6.23
[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 _0x27be=['describe','/:id','show','put','update','delete','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe'];(function(_0x3de230,_0x5184cc){var _0x16779e=function(_0x26d6e7){while(--_0x26d6e7){_0x3de230['push'](_0x3de230['shift']());}};_0x16779e(++_0x5184cc);}(_0x27be,0x1bc));var _0xe27b=function(_0x4ed481,_0x1aad66){_0x4ed481=_0x4ed481-0x0;var _0x553d22=_0x27be[_0x4ed481];return _0x553d22;};'use strict';var multer=require(_0xe27b('0x0'));var util=require(_0xe27b('0x1'));var path=require(_0xe27b('0x2'));var timeout=require(_0xe27b('0x3'));var express=require(_0xe27b('0x4'));var router=express['Router']();var fs_extra=require(_0xe27b('0x5'));var auth=require(_0xe27b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe27b('0x7'));var controller=require('./mailTransferReport.controller');router[_0xe27b('0x8')]('/',auth[_0xe27b('0x9')](),controller[_0xe27b('0xa')]);router['get'](_0xe27b('0xb'),auth[_0xe27b('0x9')](),controller[_0xe27b('0xc')]);router[_0xe27b('0x8')](_0xe27b('0xd'),auth[_0xe27b('0x9')](),controller[_0xe27b('0xe')]);router['post']('/',auth[_0xe27b('0x9')](),controller['create']);router[_0xe27b('0xf')](_0xe27b('0xd'),auth[_0xe27b('0x9')](),controller[_0xe27b('0x10')]);router[_0xe27b('0x11')](_0xe27b('0xd'),auth[_0xe27b('0x9')](),controller['destroy']);module[_0xe27b('0x12')]=router;