Built motion from commit (unavailable).|2.5.15
[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 _0xadb4=['destroy','multer','util','Router','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete'];(function(_0x57bb62,_0x83eb59){var _0x1dfc31=function(_0x38ec00){while(--_0x38ec00){_0x57bb62['push'](_0x57bb62['shift']());}};_0x1dfc31(++_0x83eb59);}(_0xadb4,0xde));var _0x4adb=function(_0x5c60bc,_0x2e7a88){_0x5c60bc=_0x5c60bc-0x0;var _0x228288=_0xadb4[_0x5c60bc];return _0x228288;};'use strict';var multer=require(_0x4adb('0x0'));var util=require(_0x4adb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4adb('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x4adb('0x3'));var config=require(_0x4adb('0x4'));var controller=require(_0x4adb('0x5'));router[_0x4adb('0x6')]('/',auth[_0x4adb('0x7')](),controller[_0x4adb('0x8')]);router[_0x4adb('0x6')]('/describe',auth[_0x4adb('0x7')](),controller['describe']);router[_0x4adb('0x6')](_0x4adb('0x9'),auth[_0x4adb('0x7')](),controller[_0x4adb('0xa')]);router[_0x4adb('0xb')]('/',auth[_0x4adb('0x7')](),controller[_0x4adb('0xc')]);router[_0x4adb('0xd')](_0x4adb('0x9'),auth[_0x4adb('0x7')](),controller[_0x4adb('0xe')]);router[_0x4adb('0xf')](_0x4adb('0x9'),auth['isAuthenticated'](),controller[_0x4adb('0x10')]);module['exports']=router;