Built motion from commit (unavailable).|2.5.13
[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 _0x927f=['get','/describe','describe','show','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./mailTransferReport.controller','isAuthenticated'];(function(_0x275217,_0xad5a2c){var _0x5acd56=function(_0x11a806){while(--_0x11a806){_0x275217['push'](_0x275217['shift']());}};_0x5acd56(++_0xad5a2c);}(_0x927f,0x7b));var _0xf927=function(_0x35ed13,_0x4e5e9f){_0x35ed13=_0x35ed13-0x0;var _0x5d28a1=_0x927f[_0x35ed13];return _0x5d28a1;};'use strict';var multer=require(_0xf927('0x0'));var util=require(_0xf927('0x1'));var path=require(_0xf927('0x2'));var timeout=require(_0xf927('0x3'));var express=require(_0xf927('0x4'));var router=express[_0xf927('0x5')]();var auth=require(_0xf927('0x6'));var interaction=require(_0xf927('0x7'));var config=require('../../config/environment');var controller=require(_0xf927('0x8'));router['get']('/',auth[_0xf927('0x9')](),controller['index']);router[_0xf927('0xa')](_0xf927('0xb'),auth[_0xf927('0x9')](),controller[_0xf927('0xc')]);router[_0xf927('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xf927('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xf927('0xe')](_0xf927('0xf'),auth['isAuthenticated'](),controller[_0xf927('0x10')]);router['delete'](_0xf927('0xf'),auth['isAuthenticated'](),controller[_0xf927('0x11')]);module[_0xf927('0x12')]=router;