Built motion from commit (unavailable).|2.5.25
[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 _0x476f=['post','create','/:id','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show'];(function(_0x295f9c,_0x2259ad){var _0x42b83f=function(_0x235bda){while(--_0x235bda){_0x295f9c['push'](_0x295f9c['shift']());}};_0x42b83f(++_0x2259ad);}(_0x476f,0x153));var _0xf476=function(_0x5661c7,_0x3add99){_0x5661c7=_0x5661c7-0x0;var _0x3dce92=_0x476f[_0x5661c7];return _0x3dce92;};'use strict';var multer=require(_0xf476('0x0'));var util=require(_0xf476('0x1'));var path=require(_0xf476('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf476('0x3')]();var auth=require(_0xf476('0x4'));var interaction=require(_0xf476('0x5'));var config=require(_0xf476('0x6'));var controller=require('./faxTransferReport.controller');router[_0xf476('0x7')]('/',auth[_0xf476('0x8')](),controller[_0xf476('0x9')]);router[_0xf476('0x7')](_0xf476('0xa'),auth[_0xf476('0x8')](),controller[_0xf476('0xb')]);router[_0xf476('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xf476('0xc')]);router[_0xf476('0xd')]('/',auth[_0xf476('0x8')](),controller[_0xf476('0xe')]);router['put'](_0xf476('0xf'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xf476('0xf'),auth[_0xf476('0x8')](),controller['destroy']);module['exports']=router;