Built motion from commit 753c950e.|2.5.42
[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 _0x36ae=['update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./faxTransferReport.controller','isAuthenticated','get','/describe','/:id','show','post','put'];(function(_0x2a24b2,_0x171540){var _0x2ed7d3=function(_0x49a1e7){while(--_0x49a1e7){_0x2a24b2['push'](_0x2a24b2['shift']());}};_0x2ed7d3(++_0x171540);}(_0x36ae,0x1a5));var _0xe36a=function(_0x120123,_0x4eff59){_0x120123=_0x120123-0x0;var _0x3bec4c=_0x36ae[_0x120123];return _0x3bec4c;};'use strict';var multer=require(_0xe36a('0x0'));var util=require(_0xe36a('0x1'));var path=require(_0xe36a('0x2'));var timeout=require(_0xe36a('0x3'));var express=require(_0xe36a('0x4'));var router=express[_0xe36a('0x5')]();var fs_extra=require(_0xe36a('0x6'));var auth=require(_0xe36a('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe36a('0x8'));router['get']('/',auth[_0xe36a('0x9')](),controller['index']);router[_0xe36a('0xa')](_0xe36a('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xe36a('0xa')](_0xe36a('0xc'),auth['isAuthenticated'](),controller[_0xe36a('0xd')]);router[_0xe36a('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe36a('0xf')](_0xe36a('0xc'),auth[_0xe36a('0x9')](),controller[_0xe36a('0x10')]);router[_0xe36a('0x11')](_0xe36a('0xc'),auth[_0xe36a('0x9')](),controller[_0xe36a('0x12')]);module['exports']=router;