Built motion from commit e6806ed6.|2.6.0
[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 _0x87f7=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','/:id','create','put','update','delete','util','path','connect-timeout','express'];(function(_0x288d86,_0xc939b5){var _0x57e415=function(_0x29f046){while(--_0x29f046){_0x288d86['push'](_0x288d86['shift']());}};_0x57e415(++_0xc939b5);}(_0x87f7,0xb2));var _0x787f=function(_0x737b03,_0xd349e5){_0x737b03=_0x737b03-0x0;var _0x54d56f=_0x87f7[_0x737b03];return _0x54d56f;};'use strict';var multer=require('multer');var util=require(_0x787f('0x0'));var path=require(_0x787f('0x1'));var timeout=require(_0x787f('0x2'));var express=require(_0x787f('0x3'));var router=express[_0x787f('0x4')]();var fs_extra=require(_0x787f('0x5'));var auth=require(_0x787f('0x6'));var interaction=require(_0x787f('0x7'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router['get']('/',auth[_0x787f('0x8')](),controller['index']);router['get']('/describe',auth[_0x787f('0x8')](),controller['describe']);router['get'](_0x787f('0x9'),auth[_0x787f('0x8')](),controller['show']);router['post']('/',auth[_0x787f('0x8')](),controller[_0x787f('0xa')]);router[_0x787f('0xb')](_0x787f('0x9'),auth[_0x787f('0x8')](),controller[_0x787f('0xc')]);router[_0x787f('0xd')](_0x787f('0x9'),auth[_0x787f('0x8')](),controller['destroy']);module['exports']=router;