775e33c7d3ecb1b1b8de717041e5380257dd80a4
[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 _0x8c32=['connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','post','create','put','delete','destroy','multer','util','path'];(function(_0x5485a3,_0x3ff799){var _0x4c1410=function(_0x3ddccb){while(--_0x3ddccb){_0x5485a3['push'](_0x5485a3['shift']());}};_0x4c1410(++_0x3ff799);}(_0x8c32,0x129));var _0x28c3=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0x8c32[_0x1928c9];return _0x51b5fb;};'use strict';var multer=require(_0x28c3('0x0'));var util=require(_0x28c3('0x1'));var path=require(_0x28c3('0x2'));var timeout=require(_0x28c3('0x3'));var express=require('express');var router=express[_0x28c3('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x28c3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x28c3('0x6'));var controller=require('./faxTransferReport.controller');router[_0x28c3('0x7')]('/',auth[_0x28c3('0x8')](),controller['index']);router[_0x28c3('0x7')]('/describe',auth[_0x28c3('0x8')](),controller['describe']);router[_0x28c3('0x7')](_0x28c3('0x9'),auth[_0x28c3('0x8')](),controller['show']);router[_0x28c3('0xa')]('/',auth[_0x28c3('0x8')](),controller[_0x28c3('0xb')]);router[_0x28c3('0xc')](_0x28c3('0x9'),auth[_0x28c3('0x8')](),controller['update']);router[_0x28c3('0xd')](_0x28c3('0x9'),auth[_0x28c3('0x8')](),controller[_0x28c3('0xe')]);module['exports']=router;