9bd9af2986de96b061c5e2ab51b2a9894f20dabe
[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 _0xb6b6=['get','isAuthenticated','index','/describe','post','create','put','update','destroy','multer','util','path','../../components/auth/service','./faxTransferReport.controller'];(function(_0x48f779,_0x2b02a9){var _0x597e0a=function(_0x5733e6){while(--_0x5733e6){_0x48f779['push'](_0x48f779['shift']());}};_0x597e0a(++_0x2b02a9);}(_0xb6b6,0x105));var _0x6b6b=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xb6b6[_0x19950b];return _0x3c6b41;};'use strict';var multer=require(_0x6b6b('0x0'));var util=require(_0x6b6b('0x1'));var path=require(_0x6b6b('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x6b6b('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x6b6b('0x4'));router[_0x6b6b('0x5')]('/',auth[_0x6b6b('0x6')](),controller[_0x6b6b('0x7')]);router['get'](_0x6b6b('0x8'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0x6b6b('0x6')](),controller['show']);router[_0x6b6b('0x9')]('/',auth[_0x6b6b('0x6')](),controller[_0x6b6b('0xa')]);router[_0x6b6b('0xb')]('/:id',auth['isAuthenticated'](),controller[_0x6b6b('0xc')]);router['delete']('/:id',auth[_0x6b6b('0x6')](),controller[_0x6b6b('0xd')]);module['exports']=router;