Built motion from commit (unavailable).|2.5.3
[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 _0xffdc=['create','/:id','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','./mailTransferReport.controller','get','isAuthenticated','index','describe','show','post'];(function(_0x465d8c,_0x101ece){var _0x28f93e=function(_0x2584d8){while(--_0x2584d8){_0x465d8c['push'](_0x465d8c['shift']());}};_0x28f93e(++_0x101ece);}(_0xffdc,0x71));var _0xcffd=function(_0x40d5c8,_0x411c6e){_0x40d5c8=_0x40d5c8-0x0;var _0x5f294f=_0xffdc[_0x40d5c8];return _0x5f294f;};'use strict';var multer=require(_0xcffd('0x0'));var util=require(_0xcffd('0x1'));var path=require(_0xcffd('0x2'));var timeout=require('connect-timeout');var express=require(_0xcffd('0x3'));var router=express[_0xcffd('0x4')]();var auth=require(_0xcffd('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcffd('0x6'));router[_0xcffd('0x7')]('/',auth[_0xcffd('0x8')](),controller[_0xcffd('0x9')]);router['get']('/describe',auth[_0xcffd('0x8')](),controller[_0xcffd('0xa')]);router[_0xcffd('0x7')]('/:id',auth[_0xcffd('0x8')](),controller[_0xcffd('0xb')]);router[_0xcffd('0xc')]('/',auth[_0xcffd('0x8')](),controller[_0xcffd('0xd')]);router['put'](_0xcffd('0xe'),auth[_0xcffd('0x8')](),controller[_0xcffd('0xf')]);router[_0xcffd('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xcffd('0x11')]);module['exports']=router;