Built motion from commit ede67897.|2.6.29
[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 _0x3c56=['create','put','/:id','update','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','./mailTransferReport.controller','get','isAuthenticated','/describe','describe','show'];(function(_0x3bbd98,_0x100ea8){var _0x1af896=function(_0x432287){while(--_0x432287){_0x3bbd98['push'](_0x3bbd98['shift']());}};_0x1af896(++_0x100ea8);}(_0x3c56,0xa8));var _0x63c5=function(_0x190175,_0x5ef202){_0x190175=_0x190175-0x0;var _0x196995=_0x3c56[_0x190175];return _0x196995;};'use strict';var multer=require(_0x63c5('0x0'));var util=require('util');var path=require(_0x63c5('0x1'));var timeout=require(_0x63c5('0x2'));var express=require('express');var router=express[_0x63c5('0x3')]();var fs_extra=require(_0x63c5('0x4'));var auth=require(_0x63c5('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x63c5('0x6'));router[_0x63c5('0x7')]('/',auth[_0x63c5('0x8')](),controller['index']);router[_0x63c5('0x7')](_0x63c5('0x9'),auth[_0x63c5('0x8')](),controller[_0x63c5('0xa')]);router[_0x63c5('0x7')]('/:id',auth[_0x63c5('0x8')](),controller[_0x63c5('0xb')]);router['post']('/',auth[_0x63c5('0x8')](),controller[_0x63c5('0xc')]);router[_0x63c5('0xd')](_0x63c5('0xe'),auth[_0x63c5('0x8')](),controller[_0x63c5('0xf')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x63c5('0x10')]);module[_0x63c5('0x11')]=router;