Built motion from commit (unavailable).|2.5.14
[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 _0xc67f=['delete','destroy','exports','multer','util','path','connect-timeout','Router','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','describe','/:id','show','put','update'];(function(_0x1f2204,_0x2c6d0f){var _0x35439e=function(_0x4ef2e3){while(--_0x4ef2e3){_0x1f2204['push'](_0x1f2204['shift']());}};_0x35439e(++_0x2c6d0f);}(_0xc67f,0xdb));var _0xfc67=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc67f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xfc67('0x0'));var util=require(_0xfc67('0x1'));var path=require(_0xfc67('0x2'));var timeout=require(_0xfc67('0x3'));var express=require('express');var router=express[_0xfc67('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfc67('0x5'));var controller=require(_0xfc67('0x6'));router[_0xfc67('0x7')]('/',auth[_0xfc67('0x8')](),controller[_0xfc67('0x9')]);router[_0xfc67('0x7')]('/describe',auth[_0xfc67('0x8')](),controller[_0xfc67('0xa')]);router[_0xfc67('0x7')](_0xfc67('0xb'),auth[_0xfc67('0x8')](),controller[_0xfc67('0xc')]);router['post']('/',auth[_0xfc67('0x8')](),controller['create']);router[_0xfc67('0xd')](_0xfc67('0xb'),auth[_0xfc67('0x8')](),controller[_0xfc67('0xe')]);router[_0xfc67('0xf')]('/:id',auth[_0xfc67('0x8')](),controller[_0xfc67('0x10')]);module[_0xfc67('0x11')]=router;