X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerConfiguration%2Findex.js;h=7b6b7af16b8bc627c76b6ec1f119251e90bbe002;hb=ed368fdfe923471c0749d5720e7df57649e4ed09;hp=2ff22bbf17970a3bbd00ede6dedf7d8f0a2835d3;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/intVtigerConfiguration/index.js b/server/api/intVtigerConfiguration/index.js index 2ff22bb..7b6b7af 100644 --- a/server/api/intVtigerConfiguration/index.js +++ b/server/api/intVtigerConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9ff2=['destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intVtigerConfiguration.controller','index','get','isAuthenticated','show','getSubjects','/:id/descriptions','post','create','put','/:id','update','delete'];(function(_0x1817b0,_0x3aaaa1){var _0x5c10e6=function(_0x9b3a2d){while(--_0x9b3a2d){_0x1817b0['push'](_0x1817b0['shift']());}};_0x5c10e6(++_0x3aaaa1);}(_0x9ff2,0x12d));var _0x29ff=function(_0x54d4a8,_0x585a59){_0x54d4a8=_0x54d4a8-0x0;var _0x3b321b=_0x9ff2[_0x54d4a8];return _0x3b321b;};'use strict';var multer=require(_0x29ff('0x0'));var util=require(_0x29ff('0x1'));var path=require('path');var timeout=require(_0x29ff('0x2'));var express=require(_0x29ff('0x3'));var router=express[_0x29ff('0x4')]();var fs_extra=require(_0x29ff('0x5'));var auth=require(_0x29ff('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x29ff('0x7'));var controller=require(_0x29ff('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x29ff('0x9')]);router[_0x29ff('0xa')]('/:id',auth[_0x29ff('0xb')](),controller[_0x29ff('0xc')]);router[_0x29ff('0xa')]('/:id/fields',auth[_0x29ff('0xb')](),controller['getFields']);router[_0x29ff('0xa')]('/:id/subjects',auth[_0x29ff('0xb')](),controller[_0x29ff('0xd')]);router['get'](_0x29ff('0xe'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x29ff('0xf')]('/',auth['isAuthenticated'](),controller[_0x29ff('0x10')]);router[_0x29ff('0x11')](_0x29ff('0x12'),auth[_0x29ff('0xb')](),controller[_0x29ff('0x13')]);router[_0x29ff('0x14')](_0x29ff('0x12'),auth[_0x29ff('0xb')](),controller[_0x29ff('0x15')]);module[_0x29ff('0x16')]=router; \ No newline at end of file +var _0xb76a=['isAuthenticated','getDescriptions','post','create','put','update','/:id','destroy','exports','multer','util','path','express','Router','../../components/auth/service','get','getFields','/:id/subjects'];(function(_0x3de12d,_0x59308b){var _0x19e15f=function(_0x1f1d2e){while(--_0x1f1d2e){_0x3de12d['push'](_0x3de12d['shift']());}};_0x19e15f(++_0x59308b);}(_0xb76a,0x15f));var _0xab76=function(_0x502de5,_0x2ea21c){_0x502de5=_0x502de5-0x0;var _0x586926=_0xb76a[_0x502de5];return _0x586926;};'use strict';var multer=require(_0xab76('0x0'));var util=require(_0xab76('0x1'));var path=require(_0xab76('0x2'));var timeout=require('connect-timeout');var express=require(_0xab76('0x3'));var router=express[_0xab76('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xab76('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intVtigerConfiguration.controller');router[_0xab76('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xab76('0x6')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xab76('0x6')]('/:id/fields',auth['isAuthenticated'](),controller[_0xab76('0x7')]);router[_0xab76('0x6')](_0xab76('0x8'),auth[_0xab76('0x9')](),controller['getSubjects']);router[_0xab76('0x6')]('/:id/descriptions',auth[_0xab76('0x9')](),controller[_0xab76('0xa')]);router[_0xab76('0xb')]('/',auth[_0xab76('0x9')](),controller[_0xab76('0xc')]);router[_0xab76('0xd')]('/:id',auth[_0xab76('0x9')](),controller[_0xab76('0xe')]);router['delete'](_0xab76('0xf'),auth[_0xab76('0x9')](),controller[_0xab76('0x10')]);module[_0xab76('0x11')]=router; \ No newline at end of file