41bbb80578832b26bdda2490058c65cc8ae1eb06
[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 _0x1de8=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','post','create'];(function(_0x73b866,_0x44f23b){var _0x2d6b32=function(_0x230993){while(--_0x230993){_0x73b866['push'](_0x73b866['shift']());}};_0x2d6b32(++_0x44f23b);}(_0x1de8,0x182));var _0x81de=function(_0x311c35,_0x534915){_0x311c35=_0x311c35-0x0;var _0x5cc50c=_0x1de8[_0x311c35];return _0x5cc50c;};'use strict';var multer=require(_0x81de('0x0'));var util=require('util');var path=require(_0x81de('0x1'));var timeout=require(_0x81de('0x2'));var express=require(_0x81de('0x3'));var router=express[_0x81de('0x4')]();var auth=require(_0x81de('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x81de('0x6'));var controller=require('./mailTransferReport.controller');router[_0x81de('0x7')]('/',auth[_0x81de('0x8')](),controller['index']);router['get'](_0x81de('0x9'),auth[_0x81de('0x8')](),controller[_0x81de('0xa')]);router[_0x81de('0x7')](_0x81de('0xb'),auth[_0x81de('0x8')](),controller['show']);router[_0x81de('0xc')]('/',auth[_0x81de('0x8')](),controller[_0x81de('0xd')]);router['put'](_0x81de('0xb'),auth[_0x81de('0x8')](),controller['update']);router['delete'](_0x81de('0xb'),auth[_0x81de('0x8')](),controller[_0x81de('0xe')]);module[_0x81de('0xf')]=router;