d69808afcfa80c1a2a0112d3912840fb4a62688e
[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 _0x307f=['get','isAuthenticated','show','post','create','put','/:id','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','index'];(function(_0x29736e,_0x2ca086){var _0x4333a3=function(_0x29f418){while(--_0x29f418){_0x29736e['push'](_0x29736e['shift']());}};_0x4333a3(++_0x2ca086);}(_0x307f,0x87));var _0xf307=function(_0x582144,_0x5a7219){_0x582144=_0x582144-0x0;var _0x42b043=_0x307f[_0x582144];return _0x42b043;};'use strict';var multer=require(_0xf307('0x0'));var util=require(_0xf307('0x1'));var path=require('path');var timeout=require(_0xf307('0x2'));var express=require(_0xf307('0x3'));var router=express['Router']();var auth=require(_0xf307('0x4'));var interaction=require(_0xf307('0x5'));var config=require(_0xf307('0x6'));var controller=require(_0xf307('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xf307('0x8')]);router[_0xf307('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xf307('0x9')]('/:id',auth[_0xf307('0xa')](),controller[_0xf307('0xb')]);router[_0xf307('0xc')]('/',auth[_0xf307('0xa')](),controller[_0xf307('0xd')]);router[_0xf307('0xe')](_0xf307('0xf'),auth[_0xf307('0xa')](),controller['update']);router[_0xf307('0x10')](_0xf307('0xf'),auth['isAuthenticated'](),controller[_0xf307('0x11')]);module['exports']=router;