X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesAccount%2Findex.js;h=afe276d2ef31fb6a5ea08f264bb93e270823043b;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=17a669574cc8494da51a0250767c613392caef0a;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/api/intFreshsalesAccount/index.js b/server/api/intFreshsalesAccount/index.js index 17a6695..afe276d 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 _0x48ef=['/:id','isAuthenticated','show','getConfigurations','/:id/fields','post','create','addConfiguration','put','update','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./intFreshsalesAccount.controller','get','index'];(function(_0x51a321,_0x31df75){var _0x4b6b05=function(_0x1551a6){while(--_0x1551a6){_0x51a321['push'](_0x51a321['shift']());}};_0x4b6b05(++_0x31df75);}(_0x48ef,0x187));var _0xf48e=function(_0x10a0ab,_0x37b227){_0x10a0ab=_0x10a0ab-0x0;var _0x35f4c3=_0x48ef[_0x10a0ab];return _0x35f4c3;};'use strict';var multer=require(_0xf48e('0x0'));var util=require('util');var path=require(_0xf48e('0x1'));var timeout=require(_0xf48e('0x2'));var express=require('express');var router=express[_0xf48e('0x3')]();var auth=require(_0xf48e('0x4'));var interaction=require(_0xf48e('0x5'));var config=require('../../config/environment');var controller=require(_0xf48e('0x6'));router[_0xf48e('0x7')]('/',auth['isAuthenticated'](),controller[_0xf48e('0x8')]);router[_0xf48e('0x7')](_0xf48e('0x9'),auth[_0xf48e('0xa')](),controller[_0xf48e('0xb')]);router[_0xf48e('0x7')]('/:id/configurations',auth[_0xf48e('0xa')](),controller[_0xf48e('0xc')]);router[_0xf48e('0x7')](_0xf48e('0xd'),auth[_0xf48e('0xa')](),controller['getFields']);router[_0xf48e('0xe')]('/',auth[_0xf48e('0xa')](),controller[_0xf48e('0xf')]);router['post']('/:id/configurations',auth[_0xf48e('0xa')](),controller[_0xf48e('0x10')]);router[_0xf48e('0x11')](_0xf48e('0x9'),auth[_0xf48e('0xa')](),controller[_0xf48e('0x12')]);router['delete'](_0xf48e('0x9'),auth[_0xf48e('0xa')](),controller['destroy']);module[_0xf48e('0x13')]=router; \ No newline at end of file +var _0x4ec8=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','addConfiguration','put','update','delete','destroy','multer','util','Router','../../components/auth/service'];(function(_0x334841,_0x2bbc4c){var _0x5beb4b=function(_0x4bea72){while(--_0x4bea72){_0x334841['push'](_0x334841['shift']());}};_0x5beb4b(++_0x2bbc4c);}(_0x4ec8,0xec));var _0x84ec=function(_0x3691b9,_0x414b7d){_0x3691b9=_0x3691b9-0x0;var _0x359804=_0x4ec8[_0x3691b9];return _0x359804;};'use strict';var multer=require(_0x84ec('0x0'));var util=require(_0x84ec('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x84ec('0x2')]();var auth=require(_0x84ec('0x3'));var interaction=require(_0x84ec('0x4'));var config=require(_0x84ec('0x5'));var controller=require('./intFreshsalesAccount.controller');router[_0x84ec('0x6')]('/',auth[_0x84ec('0x7')](),controller[_0x84ec('0x8')]);router[_0x84ec('0x6')](_0x84ec('0x9'),auth[_0x84ec('0x7')](),controller[_0x84ec('0xa')]);router['get'](_0x84ec('0xb'),auth[_0x84ec('0x7')](),controller[_0x84ec('0xc')]);router[_0x84ec('0x6')](_0x84ec('0xd'),auth['isAuthenticated'](),controller[_0x84ec('0xe')]);router['post']('/',auth[_0x84ec('0x7')](),controller['create']);router['post'](_0x84ec('0xb'),auth['isAuthenticated'](),controller[_0x84ec('0xf')]);router[_0x84ec('0x10')](_0x84ec('0x9'),auth[_0x84ec('0x7')](),controller[_0x84ec('0x11')]);router[_0x84ec('0x12')](_0x84ec('0x9'),auth['isAuthenticated'](),controller[_0x84ec('0x13')]);module['exports']=router; \ No newline at end of file