Built motion from commit (unavailable).|2.5.22
[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 _0xe19a=['update','delete','exports','multer','path','Router','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/:id','show','post','put'];(function(_0x184800,_0x13f14e){var _0x58e20b=function(_0x481e55){while(--_0x481e55){_0x184800['push'](_0x184800['shift']());}};_0x58e20b(++_0x13f14e);}(_0xe19a,0x73));var _0xae19=function(_0x5b24e7,_0x171047){_0x5b24e7=_0x5b24e7-0x0;var _0x5f20cb=_0xe19a[_0x5b24e7];return _0x5f20cb;};'use strict';var multer=require(_0xae19('0x0'));var util=require('util');var path=require(_0xae19('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xae19('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xae19('0x3'));var config=require(_0xae19('0x4'));var controller=require(_0xae19('0x5'));router[_0xae19('0x6')]('/',auth[_0xae19('0x7')](),controller[_0xae19('0x8')]);router[_0xae19('0x6')]('/describe',auth[_0xae19('0x7')](),controller['describe']);router[_0xae19('0x6')](_0xae19('0x9'),auth[_0xae19('0x7')](),controller[_0xae19('0xa')]);router[_0xae19('0xb')]('/',auth[_0xae19('0x7')](),controller['create']);router[_0xae19('0xc')](_0xae19('0x9'),auth[_0xae19('0x7')](),controller[_0xae19('0xd')]);router[_0xae19('0xe')](_0xae19('0x9'),auth[_0xae19('0x7')](),controller['destroy']);module[_0xae19('0xf')]=router;