10f78d15b052c811f0ffec4a0604a86b4d7db112
[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 _0xebd2=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','index','/describe','isAuthenticated','/:id','show','post','create','update','delete','exports','util','path','connect-timeout'];(function(_0x263401,_0x35259d){var _0x4b5b75=function(_0x478e64){while(--_0x478e64){_0x263401['push'](_0x263401['shift']());}};_0x4b5b75(++_0x35259d);}(_0xebd2,0xce));var _0x2ebd=function(_0x52fc73,_0xabb299){_0x52fc73=_0x52fc73-0x0;var _0x1b1110=_0xebd2[_0x52fc73];return _0x1b1110;};'use strict';var multer=require('multer');var util=require(_0x2ebd('0x0'));var path=require(_0x2ebd('0x1'));var timeout=require(_0x2ebd('0x2'));var express=require('express');var router=express[_0x2ebd('0x3')]();var auth=require(_0x2ebd('0x4'));var interaction=require(_0x2ebd('0x5'));var config=require(_0x2ebd('0x6'));var controller=require(_0x2ebd('0x7'));router[_0x2ebd('0x8')]('/',auth['isAuthenticated'](),controller[_0x2ebd('0x9')]);router[_0x2ebd('0x8')](_0x2ebd('0xa'),auth[_0x2ebd('0xb')](),controller['describe']);router[_0x2ebd('0x8')](_0x2ebd('0xc'),auth[_0x2ebd('0xb')](),controller[_0x2ebd('0xd')]);router[_0x2ebd('0xe')]('/',auth[_0x2ebd('0xb')](),controller[_0x2ebd('0xf')]);router['put'](_0x2ebd('0xc'),auth['isAuthenticated'](),controller[_0x2ebd('0x10')]);router[_0x2ebd('0x11')](_0x2ebd('0xc'),auth[_0x2ebd('0xb')](),controller['destroy']);module[_0x2ebd('0x12')]=router;