X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesConfiguration%2Findex.js;h=d78a0da93b36b9897d919eb9c06f804fc98a51e3;hb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;hp=804dfbb3122aec390726f2233b2221fa090f770b;hpb=7b947914a77b8347fb1d6de0275fa1bbfcdf6ff9;p=motion2.git diff --git a/server/api/intFreshsalesConfiguration/index.js b/server/api/intFreshsalesConfiguration/index.js index 804dfbb..d78a0da 100644 --- a/server/api/intFreshsalesConfiguration/index.js +++ b/server/api/intFreshsalesConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x04f8=['util','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshsalesConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/subjects','getSubjects','/:id/fields','getFields','post','create','put','update','destroy','exports'];(function(_0x5a2426,_0x109f36){var _0x2142be=function(_0x2f0227){while(--_0x2f0227){_0x5a2426['push'](_0x5a2426['shift']());}};_0x2142be(++_0x109f36);}(_0x04f8,0xfc));var _0x804f=function(_0x31657e,_0x57f1fd){_0x31657e=_0x31657e-0x0;var _0xff9920=_0x04f8[_0x31657e];return _0xff9920;};'use strict';var multer=require('multer');var util=require(_0x804f('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x804f('0x1')]();var fs_extra=require(_0x804f('0x2'));var auth=require(_0x804f('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x804f('0x4'));var controller=require(_0x804f('0x5'));router[_0x804f('0x6')]('/',auth[_0x804f('0x7')](),controller[_0x804f('0x8')]);router[_0x804f('0x6')](_0x804f('0x9'),auth[_0x804f('0x7')](),controller[_0x804f('0xa')]);router['get'](_0x804f('0xb'),auth[_0x804f('0x7')](),controller[_0x804f('0xc')]);router[_0x804f('0x6')]('/:id/descriptions',auth[_0x804f('0x7')](),controller['getDescriptions']);router[_0x804f('0x6')](_0x804f('0xd'),auth[_0x804f('0x7')](),controller[_0x804f('0xe')]);router[_0x804f('0xf')]('/',auth[_0x804f('0x7')](),controller[_0x804f('0x10')]);router[_0x804f('0x11')](_0x804f('0x9'),auth['isAuthenticated'](),controller[_0x804f('0x12')]);router['delete'](_0x804f('0x9'),auth[_0x804f('0x7')](),controller[_0x804f('0x13')]);module[_0x804f('0x14')]=router; \ No newline at end of file +var _0xd5f4=['post','put','/:id','update','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','./intFreshsalesConfiguration.controller','get','isAuthenticated','index','show','/:id/subjects','getSubjects','getDescriptions','/:id/fields','getFields'];(function(_0x52e685,_0x2f2504){var _0x33bc19=function(_0x586957){while(--_0x586957){_0x52e685['push'](_0x52e685['shift']());}};_0x33bc19(++_0x2f2504);}(_0xd5f4,0xe2));var _0x4d5f=function(_0x2112d4,_0x3c863c){_0x2112d4=_0x2112d4-0x0;var _0x434972=_0xd5f4[_0x2112d4];return _0x434972;};'use strict';var multer=require('multer');var util=require(_0x4d5f('0x0'));var path=require(_0x4d5f('0x1'));var timeout=require('connect-timeout');var express=require(_0x4d5f('0x2'));var router=express[_0x4d5f('0x3')]();var fs_extra=require(_0x4d5f('0x4'));var auth=require(_0x4d5f('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4d5f('0x6'));router[_0x4d5f('0x7')]('/',auth[_0x4d5f('0x8')](),controller[_0x4d5f('0x9')]);router[_0x4d5f('0x7')]('/:id',auth[_0x4d5f('0x8')](),controller[_0x4d5f('0xa')]);router[_0x4d5f('0x7')](_0x4d5f('0xb'),auth[_0x4d5f('0x8')](),controller[_0x4d5f('0xc')]);router['get']('/:id/descriptions',auth[_0x4d5f('0x8')](),controller[_0x4d5f('0xd')]);router[_0x4d5f('0x7')](_0x4d5f('0xe'),auth[_0x4d5f('0x8')](),controller[_0x4d5f('0xf')]);router[_0x4d5f('0x10')]('/',auth[_0x4d5f('0x8')](),controller['create']);router[_0x4d5f('0x11')](_0x4d5f('0x12'),auth[_0x4d5f('0x8')](),controller[_0x4d5f('0x13')]);router['delete'](_0x4d5f('0x12'),auth[_0x4d5f('0x8')](),controller[_0x4d5f('0x14')]);module[_0x4d5f('0x15')]=router; \ No newline at end of file