Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / intSugarcrmAccount / index.js
index e840d15..359fb2c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1b66=['../../components/auth/service','../../config/environment','./intSugarcrmAccount.controller','get','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put','/:id','update','delete','destroy','express'];(function(_0x4bff96,_0x3a7ac0){var _0x1ffd8c=function(_0x6cc2ef){while(--_0x6cc2ef){_0x4bff96['push'](_0x4bff96['shift']());}};_0x1ffd8c(++_0x3a7ac0);}(_0x1b66,0xba));var _0x61b6=function(_0x11ed90,_0x11432a){_0x11ed90=_0x11ed90-0x0;var _0x23e98a=_0x1b66[_0x11ed90];return _0x23e98a;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x61b6('0x0'));var router=express['Router']();var auth=require(_0x61b6('0x1'));var interaction=require('../../components/interaction/service');var config=require(_0x61b6('0x2'));var controller=require(_0x61b6('0x3'));router[_0x61b6('0x4')]('/',auth[_0x61b6('0x5')](),controller['index']);router[_0x61b6('0x4')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x61b6('0x4')](_0x61b6('0x6'),auth['isAuthenticated'](),controller[_0x61b6('0x7')]);router[_0x61b6('0x4')](_0x61b6('0x8'),auth[_0x61b6('0x5')](),controller[_0x61b6('0x9')]);router[_0x61b6('0xa')]('/',auth[_0x61b6('0x5')](),controller[_0x61b6('0xb')]);router[_0x61b6('0xa')](_0x61b6('0x6'),auth[_0x61b6('0x5')](),controller['addConfiguration']);router[_0x61b6('0xc')](_0x61b6('0xd'),auth[_0x61b6('0x5')](),controller[_0x61b6('0xe')]);router[_0x61b6('0xf')](_0x61b6('0xd'),auth[_0x61b6('0x5')](),controller[_0x61b6('0x10')]);module['exports']=router;
\ No newline at end of file
+var _0xa9e0=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller','get','index','/:id','getConfigurations','/:id/fields','isAuthenticated','getFields','post','addConfiguration','put','update','destroy','exports','multer','util','path'];(function(_0x44b738,_0x3c9e38){var _0x49308b=function(_0x288ed2){while(--_0x288ed2){_0x44b738['push'](_0x44b738['shift']());}};_0x49308b(++_0x3c9e38);}(_0xa9e0,0x123));var _0x0a9e=function(_0x5037ab,_0x43209e){_0x5037ab=_0x5037ab-0x0;var _0x512adb=_0xa9e0[_0x5037ab];return _0x512adb;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0x8')]('/:id/configurations',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0x8')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post']('/:id/configurations',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0x11')](_0x0a9e('0xa'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x12')]);router['delete'](_0x0a9e('0xa'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x13')]);module[_0x0a9e('0x14')]=router;
\ No newline at end of file