Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / intFreshsalesField / index.js
index 70f02cc..b5c23d6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc301=['create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated','/:id','post'];(function(_0x51657b,_0x31369a){var _0x5d5c49=function(_0x563eb8){while(--_0x563eb8){_0x51657b['push'](_0x51657b['shift']());}};_0x5d5c49(++_0x31369a);}(_0xc301,0xa6));var _0x1c30=function(_0x1d9aa0,_0x272488){_0x1d9aa0=_0x1d9aa0-0x0;var _0x226868=_0xc301[_0x1d9aa0];return _0x226868;};'use strict';var multer=require(_0x1c30('0x0'));var util=require(_0x1c30('0x1'));var path=require('path');var timeout=require(_0x1c30('0x2'));var express=require(_0x1c30('0x3'));var router=express[_0x1c30('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1c30('0x5'));var config=require('../../config/environment');var controller=require('./intFreshsalesField.controller');router[_0x1c30('0x6')]('/',auth[_0x1c30('0x7')](),controller['index']);router[_0x1c30('0x6')](_0x1c30('0x8'),auth[_0x1c30('0x7')](),controller['show']);router[_0x1c30('0x9')]('/',auth['isAuthenticated'](),controller[_0x1c30('0xa')]);router[_0x1c30('0xb')]('/:id',auth[_0x1c30('0x7')](),controller[_0x1c30('0xc')]);router[_0x1c30('0xd')](_0x1c30('0x8'),auth['isAuthenticated'](),controller[_0x1c30('0xe')]);module[_0x1c30('0xf')]=router;
\ No newline at end of file
+var _0x261b=['./intFreshsalesField.controller','isAuthenticated','index','get','/:id','show','post','create','update','delete','multer','util','fs-extra','../../components/interaction/service'];(function(_0x12d351,_0x52a9ee){var _0x212971=function(_0x47899b){while(--_0x47899b){_0x12d351['push'](_0x12d351['shift']());}};_0x212971(++_0x52a9ee);}(_0x261b,0x15a));var _0xb261=function(_0x395d0b,_0x12bb0a){_0x395d0b=_0x395d0b-0x0;var _0x255c55=_0x261b[_0x395d0b];return _0x255c55;};'use strict';var multer=require(_0xb261('0x0'));var util=require(_0xb261('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xb261('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xb261('0x3'));var config=require('../../config/environment');var controller=require(_0xb261('0x4'));router['get']('/',auth[_0xb261('0x5')](),controller[_0xb261('0x6')]);router[_0xb261('0x7')](_0xb261('0x8'),auth['isAuthenticated'](),controller[_0xb261('0x9')]);router[_0xb261('0xa')]('/',auth[_0xb261('0x5')](),controller[_0xb261('0xb')]);router['put'](_0xb261('0x8'),auth[_0xb261('0x5')](),controller[_0xb261('0xc')]);router[_0xb261('0xd')](_0xb261('0x8'),auth[_0xb261('0x5')](),controller['destroy']);module['exports']=router;
\ No newline at end of file