Built motion from commit (unavailable).|2.5.8
[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 _0x7cf2=['express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0x7cf2,0x65));var _0x27cf=function(_0x81e59e,_0x5f082d){_0x81e59e=_0x81e59e-0x0;var _0x221350=_0x7cf2[_0x81e59e];return _0x221350;};'use strict';var multer=require(_0x27cf('0x0'));var util=require(_0x27cf('0x1'));var path=require(_0x27cf('0x2'));var timeout=require(_0x27cf('0x3'));var express=require(_0x27cf('0x4'));var router=express[_0x27cf('0x5')]();var auth=require(_0x27cf('0x6'));var interaction=require(_0x27cf('0x7'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router[_0x27cf('0x8')]('/',auth[_0x27cf('0x9')](),controller[_0x27cf('0xa')]);router[_0x27cf('0x8')](_0x27cf('0xb'),auth[_0x27cf('0x9')](),controller[_0x27cf('0xc')]);router[_0x27cf('0x8')](_0x27cf('0xd'),auth[_0x27cf('0x9')](),controller[_0x27cf('0xe')]);router[_0x27cf('0xf')]('/',auth[_0x27cf('0x9')](),controller['create']);router[_0x27cf('0x10')](_0x27cf('0xd'),auth[_0x27cf('0x9')](),controller[_0x27cf('0x11')]);router[_0x27cf('0x12')]('/:id',auth[_0x27cf('0x9')](),controller[_0x27cf('0x13')]);module[_0x27cf('0x14')]=router;