X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FfaxApplication%2Findex.js;h=f794870b9cd77f972d5d83e67f02891997e522e0;hb=5a8e02cd20cb48fdbc240736658fd4afd650c896;hp=2376a2cf36655db540f8dc82cf07d836a6338672;hpb=795c8454f12f8a41fb2cd31a1270c087e5e59e94;p=motion2.git diff --git a/server/api/faxApplication/index.js b/server/api/faxApplication/index.js index 2376a2c..f794870 100644 --- a/server/api/faxApplication/index.js +++ b/server/api/faxApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd4a2=['../../components/auth/service','../../config/environment','./faxApplication.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','exports','multer','connect-timeout','Router'];(function(_0x3f70e4,_0x238b50){var _0xf1a1e=function(_0x3eaca4){while(--_0x3eaca4){_0x3f70e4['push'](_0x3f70e4['shift']());}};_0xf1a1e(++_0x238b50);}(_0xd4a2,0x173));var _0x2d4a=function(_0x5876bb,_0x217b08){_0x5876bb=_0x5876bb-0x0;var _0x11630a=_0xd4a2[_0x5876bb];return _0x11630a;};'use strict';var multer=require(_0x2d4a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x2d4a('0x1'));var express=require('express');var router=express[_0x2d4a('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x2d4a('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x2d4a('0x4'));var controller=require(_0x2d4a('0x5'));router[_0x2d4a('0x6')]('/',auth[_0x2d4a('0x7')](),controller[_0x2d4a('0x8')]);router['get'](_0x2d4a('0x9'),auth[_0x2d4a('0x7')](),controller[_0x2d4a('0xa')]);router[_0x2d4a('0xb')]('/',auth[_0x2d4a('0x7')](),controller[_0x2d4a('0xc')]);router[_0x2d4a('0xd')](_0x2d4a('0x9'),auth[_0x2d4a('0x7')](),controller[_0x2d4a('0xe')]);router[_0x2d4a('0xf')](_0x2d4a('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0x2d4a('0x10')]=router; \ No newline at end of file +var _0xb03e=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxApplication.controller','get','isAuthenticated','/:id','show','post','put','delete','destroy','exports','util','path','connect-timeout'];(function(_0x29fd8a,_0x5ecabf){var _0x19bdc6=function(_0x36e072){while(--_0x36e072){_0x29fd8a['push'](_0x29fd8a['shift']());}};_0x19bdc6(++_0x5ecabf);}(_0xb03e,0x1eb));var _0xeb03=function(_0x1f4f9c,_0x14507b){_0x1f4f9c=_0x1f4f9c-0x0;var _0x233779=_0xb03e[_0x1f4f9c];return _0x233779;};'use strict';var multer=require('multer');var util=require(_0xeb03('0x0'));var path=require(_0xeb03('0x1'));var timeout=require(_0xeb03('0x2'));var express=require(_0xeb03('0x3'));var router=express[_0xeb03('0x4')]();var fs_extra=require(_0xeb03('0x5'));var auth=require(_0xeb03('0x6'));var interaction=require(_0xeb03('0x7'));var config=require(_0xeb03('0x8'));var controller=require(_0xeb03('0x9'));router[_0xeb03('0xa')]('/',auth[_0xeb03('0xb')](),controller['index']);router[_0xeb03('0xa')](_0xeb03('0xc'),auth[_0xeb03('0xb')](),controller[_0xeb03('0xd')]);router[_0xeb03('0xe')]('/',auth[_0xeb03('0xb')](),controller['create']);router[_0xeb03('0xf')](_0xeb03('0xc'),auth[_0xeb03('0xb')](),controller['update']);router[_0xeb03('0x10')]('/:id',auth[_0xeb03('0xb')](),controller[_0xeb03('0x11')]);module[_0xeb03('0x12')]=router; \ No newline at end of file