X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesAccount%2Findex.js;h=a8f18a5f0a2fadc6abc1a03238abdef542826a71;hb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;hp=d621e91f41e63125bd78e2e0baa1275c9f210e2b;hpb=9a44dbf63247346f18777cf5ec4c91e11165c4b0;p=motion2.git diff --git a/server/api/intFreshsalesAccount/index.js b/server/api/intFreshsalesAccount/index.js index d621e91..a8f18a5 100644 --- a/server/api/intFreshsalesAccount/index.js +++ b/server/api/intFreshsalesAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x45ae=['./intFreshsalesAccount.controller','get','/:id','isAuthenticated','show','/:id/configurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x4af026,_0x3b2855){var _0x510fce=function(_0x5345e3){while(--_0x5345e3){_0x4af026['push'](_0x4af026['shift']());}};_0x510fce(++_0x3b2855);}(_0x45ae,0x189));var _0xe45a=function(_0x120295,_0x103efe){_0x120295=_0x120295-0x0;var _0x13a826=_0x45ae[_0x120295];return _0x13a826;};'use strict';var multer=require(_0xe45a('0x0'));var util=require(_0xe45a('0x1'));var path=require(_0xe45a('0x2'));var timeout=require(_0xe45a('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xe45a('0x4'));var interaction=require(_0xe45a('0x5'));var config=require('../../config/environment');var controller=require(_0xe45a('0x6'));router[_0xe45a('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xe45a('0x8'),auth[_0xe45a('0x9')](),controller[_0xe45a('0xa')]);router['get'](_0xe45a('0xb'),auth[_0xe45a('0x9')](),controller['getConfigurations']);router[_0xe45a('0x7')](_0xe45a('0xc'),auth[_0xe45a('0x9')](),controller[_0xe45a('0xd')]);router['post']('/',auth[_0xe45a('0x9')](),controller['create']);router[_0xe45a('0xe')](_0xe45a('0xb'),auth[_0xe45a('0x9')](),controller[_0xe45a('0xf')]);router[_0xe45a('0x10')](_0xe45a('0x8'),auth[_0xe45a('0x9')](),controller[_0xe45a('0x11')]);router[_0xe45a('0x12')]('/:id',auth[_0xe45a('0x9')](),controller[_0xe45a('0x13')]);module[_0xe45a('0x14')]=router; \ No newline at end of file +var _0xdb94=['isAuthenticated','getConfigurations','/:id/fields','getFields','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','./intFreshsalesAccount.controller','index','/:id','show','get','/:id/configurations'];(function(_0x3bac51,_0x3be5d6){var _0x4e5525=function(_0x4a9e32){while(--_0x4a9e32){_0x3bac51['push'](_0x3bac51['shift']());}};_0x4e5525(++_0x3be5d6);}(_0xdb94,0xab));var _0x4db9=function(_0x112c73,_0x13e985){_0x112c73=_0x112c73-0x0;var _0x3644e8=_0xdb94[_0x112c73];return _0x3644e8;};'use strict';var multer=require(_0x4db9('0x0'));var util=require(_0x4db9('0x1'));var path=require(_0x4db9('0x2'));var timeout=require(_0x4db9('0x3'));var express=require(_0x4db9('0x4'));var router=express['Router']();var fs_extra=require(_0x4db9('0x5'));var auth=require(_0x4db9('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4db9('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x4db9('0x8')]);router['get'](_0x4db9('0x9'),auth['isAuthenticated'](),controller[_0x4db9('0xa')]);router[_0x4db9('0xb')](_0x4db9('0xc'),auth[_0x4db9('0xd')](),controller[_0x4db9('0xe')]);router[_0x4db9('0xb')](_0x4db9('0xf'),auth[_0x4db9('0xd')](),controller[_0x4db9('0x10')]);router[_0x4db9('0x11')]('/',auth[_0x4db9('0xd')](),controller['create']);router[_0x4db9('0x11')](_0x4db9('0xc'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0x4db9('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x4db9('0x13')]);router[_0x4db9('0x14')]('/:id',auth[_0x4db9('0xd')](),controller[_0x4db9('0x15')]);module[_0x4db9('0x16')]=router; \ No newline at end of file