Built motion from commit 9d7072cc.|2.5.39
[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 _0x53fa=['/describe','describe','/:id','show','post','create','put','update','delete','connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','index'];(function(_0x2fb418,_0x3b18df){var _0x2ff6c7=function(_0x169dc8){while(--_0x169dc8){_0x2fb418['push'](_0x2fb418['shift']());}};_0x2ff6c7(++_0x3b18df);}(_0x53fa,0x1e5));var _0xa53f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x53fa[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xa53f('0x0'));var express=require(_0xa53f('0x1'));var router=express[_0xa53f('0x2')]();var fs_extra=require(_0xa53f('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa53f('0x4'));var controller=require('./faxTransferReport.controller');router[_0xa53f('0x5')]('/',auth[_0xa53f('0x6')](),controller[_0xa53f('0x7')]);router['get'](_0xa53f('0x8'),auth[_0xa53f('0x6')](),controller[_0xa53f('0x9')]);router['get'](_0xa53f('0xa'),auth['isAuthenticated'](),controller[_0xa53f('0xb')]);router[_0xa53f('0xc')]('/',auth[_0xa53f('0x6')](),controller[_0xa53f('0xd')]);router[_0xa53f('0xe')]('/:id',auth[_0xa53f('0x6')](),controller[_0xa53f('0xf')]);router[_0xa53f('0x10')](_0xa53f('0xa'),auth[_0xa53f('0x6')](),controller['destroy']);module['exports']=router;