Built motion from commit 00bf23f6.|2.6.16
[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 _0xc811=['describe','show','post','create','/:id','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','/describe'];(function(_0x82d2d1,_0xbac430){var _0xb2dd3d=function(_0x2efb47){while(--_0x2efb47){_0x82d2d1['push'](_0x82d2d1['shift']());}};_0xb2dd3d(++_0xbac430);}(_0xc811,0x1d0));var _0x1c81=function(_0x599480,_0x302642){_0x599480=_0x599480-0x0;var _0x1215a4=_0xc811[_0x599480];return _0x1215a4;};'use strict';var multer=require('multer');var util=require(_0x1c81('0x0'));var path=require(_0x1c81('0x1'));var timeout=require(_0x1c81('0x2'));var express=require(_0x1c81('0x3'));var router=express[_0x1c81('0x4')]();var fs_extra=require(_0x1c81('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x1c81('0x6'));var config=require('../../config/environment');var controller=require(_0x1c81('0x7'));router[_0x1c81('0x8')]('/',auth[_0x1c81('0x9')](),controller['index']);router[_0x1c81('0x8')](_0x1c81('0xa'),auth['isAuthenticated'](),controller[_0x1c81('0xb')]);router[_0x1c81('0x8')]('/:id',auth[_0x1c81('0x9')](),controller[_0x1c81('0xc')]);router[_0x1c81('0xd')]('/',auth[_0x1c81('0x9')](),controller[_0x1c81('0xe')]);router['put'](_0x1c81('0xf'),auth['isAuthenticated'](),controller[_0x1c81('0x10')]);router[_0x1c81('0x11')](_0x1c81('0xf'),auth[_0x1c81('0x9')](),controller[_0x1c81('0x12')]);module['exports']=router;