Built motion from commit 9d0783e6.|2.6.13
[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 _0x51c1=['create','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index','/describe','/:id','post'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x51c1,0x79));var _0x151c=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0x51c1[_0x4dbaad];return _0x226c72;};'use strict';var multer=require(_0x151c('0x0'));var util=require('util');var path=require(_0x151c('0x1'));var timeout=require(_0x151c('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x151c('0x3'));var auth=require(_0x151c('0x4'));var interaction=require(_0x151c('0x5'));var config=require(_0x151c('0x6'));var controller=require(_0x151c('0x7'));router[_0x151c('0x8')]('/',auth[_0x151c('0x9')](),controller[_0x151c('0xa')]);router[_0x151c('0x8')](_0x151c('0xb'),auth[_0x151c('0x9')](),controller['describe']);router[_0x151c('0x8')](_0x151c('0xc'),auth[_0x151c('0x9')](),controller['show']);router[_0x151c('0xd')]('/',auth[_0x151c('0x9')](),controller[_0x151c('0xe')]);router['put'](_0x151c('0xc'),auth[_0x151c('0x9')](),controller['update']);router['delete'](_0x151c('0xc'),auth[_0x151c('0x9')](),controller['destroy']);module['exports']=router;