Built motion from commit (unavailable).|2.5.2
[motion2.git] / server / api / faxTransferReport / 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 _0x00b6=['express','../../config/environment','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','util','path'];(function(_0x555800,_0x489d4c){var _0x27a4ef=function(_0x22b64e){while(--_0x22b64e){_0x555800['push'](_0x555800['shift']());}};_0x27a4ef(++_0x489d4c);}(_0x00b6,0xd0));var _0x600b=function(_0x5834bc,_0x3d4801){_0x5834bc=_0x5834bc-0x0;var _0x3e183a=_0x00b6[_0x5834bc];return _0x3e183a;};'use strict';var multer=require('multer');var util=require(_0x600b('0x0'));var path=require(_0x600b('0x1'));var timeout=require('connect-timeout');var express=require(_0x600b('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x600b('0x3'));var controller=require('./faxTransferReport.controller');router[_0x600b('0x4')]('/',auth[_0x600b('0x5')](),controller[_0x600b('0x6')]);router[_0x600b('0x4')]('/describe',auth[_0x600b('0x5')](),controller['describe']);router[_0x600b('0x4')](_0x600b('0x7'),auth[_0x600b('0x5')](),controller['show']);router[_0x600b('0x8')]('/',auth[_0x600b('0x5')](),controller[_0x600b('0x9')]);router[_0x600b('0xa')](_0x600b('0x7'),auth[_0x600b('0x5')](),controller[_0x600b('0xb')]);router[_0x600b('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x600b('0xd')]);module[_0x600b('0xe')]=router;