Built motion from commit 351e7f9c.|2.6.31
[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 _0xaea2=['isAuthenticated','/describe','describe','/:id','show','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get'];(function(_0x2b6538,_0x194ed5){var _0x49f0d5=function(_0x2ff7a7){while(--_0x2ff7a7){_0x2b6538['push'](_0x2b6538['shift']());}};_0x49f0d5(++_0x194ed5);}(_0xaea2,0x88));var _0x2aea=function(_0x23f3fe,_0x37a19c){_0x23f3fe=_0x23f3fe-0x0;var _0x1b1cb1=_0xaea2[_0x23f3fe];return _0x1b1cb1;};'use strict';var multer=require(_0x2aea('0x0'));var util=require(_0x2aea('0x1'));var path=require(_0x2aea('0x2'));var timeout=require(_0x2aea('0x3'));var express=require(_0x2aea('0x4'));var router=express[_0x2aea('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2aea('0x6'));var interaction=require(_0x2aea('0x7'));var config=require(_0x2aea('0x8'));var controller=require(_0x2aea('0x9'));router[_0x2aea('0xa')]('/',auth[_0x2aea('0xb')](),controller['index']);router['get'](_0x2aea('0xc'),auth[_0x2aea('0xb')](),controller[_0x2aea('0xd')]);router['get'](_0x2aea('0xe'),auth[_0x2aea('0xb')](),controller[_0x2aea('0xf')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x2aea('0x10')](_0x2aea('0xe'),auth[_0x2aea('0xb')](),controller[_0x2aea('0x11')]);router[_0x2aea('0x12')](_0x2aea('0xe'),auth[_0x2aea('0xb')](),controller[_0x2aea('0x13')]);module[_0x2aea('0x14')]=router;