X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDynamics365Account%2Findex.js;fp=server%2Fapi%2FintDynamics365Account%2Findex.js;h=fcc2f5c746cf343a879105497e0c5baf49e9cc17;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=6f19a778ecc07f4335351e7287e5bdd69bb41912;hpb=142b2b07c26fb6697bb0d2f2a4a8c0253173e8fe;p=motion2.git diff --git a/server/api/intDynamics365Account/index.js b/server/api/intDynamics365Account/index.js index 6f19a77..fcc2f5c 100644 --- a/server/api/intDynamics365Account/index.js +++ b/server/api/intDynamics365Account/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a16=['../../components/interaction/service','../../config/environment','./intDynamics365Account.controller','isAuthenticated','index','get','/:id','show','getConfigurations','/:id/fields','getFields','post','/:id/configurations','addConfiguration','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x5d1ca6,_0x1283d8){var _0x5944ef=function(_0x8192f8){while(--_0x8192f8){_0x5d1ca6['push'](_0x5d1ca6['shift']());}};_0x5944ef(++_0x1283d8);}(_0x7a16,0x10d));var _0x67a1=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x7a16[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require('multer');var util=require(_0x67a1('0x0'));var path=require(_0x67a1('0x1'));var timeout=require(_0x67a1('0x2'));var express=require(_0x67a1('0x3'));var router=express[_0x67a1('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x67a1('0x5'));var interaction=require(_0x67a1('0x6'));var config=require(_0x67a1('0x7'));var controller=require(_0x67a1('0x8'));router['get']('/',auth[_0x67a1('0x9')](),controller[_0x67a1('0xa')]);router[_0x67a1('0xb')](_0x67a1('0xc'),auth[_0x67a1('0x9')](),controller[_0x67a1('0xd')]);router['get']('/:id/configurations',auth[_0x67a1('0x9')](),controller[_0x67a1('0xe')]);router['get'](_0x67a1('0xf'),auth[_0x67a1('0x9')](),controller[_0x67a1('0x10')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x67a1('0x11')](_0x67a1('0x12'),auth[_0x67a1('0x9')](),controller[_0x67a1('0x13')]);router[_0x67a1('0x14')](_0x67a1('0xc'),auth['isAuthenticated'](),controller[_0x67a1('0x15')]);router[_0x67a1('0x16')](_0x67a1('0xc'),auth[_0x67a1('0x9')](),controller[_0x67a1('0x17')]);module[_0x67a1('0x18')]=router; \ No newline at end of file +var _0x3aee=['/:id','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','addConfiguration','put','update','delete'];(function(_0x335d89,_0x15c1ad){var _0x93074e=function(_0x2594db){while(--_0x2594db){_0x335d89['push'](_0x335d89['shift']());}};_0x93074e(++_0x15c1ad);}(_0x3aee,0xab));var _0xe3ae=function(_0x79b649,_0x2115b3){_0x79b649=_0x79b649-0x0;var _0x1af9b1=_0x3aee[_0x79b649];return _0x1af9b1;};'use strict';var multer=require(_0xe3ae('0x0'));var util=require('util');var path=require(_0xe3ae('0x1'));var timeout=require(_0xe3ae('0x2'));var express=require('express');var router=express[_0xe3ae('0x3')]();var fs_extra=require(_0xe3ae('0x4'));var auth=require(_0xe3ae('0x5'));var interaction=require(_0xe3ae('0x6'));var config=require('../../config/environment');var controller=require('./intDynamics365Account.controller');router[_0xe3ae('0x7')]('/',auth[_0xe3ae('0x8')](),controller[_0xe3ae('0x9')]);router[_0xe3ae('0x7')]('/:id',auth[_0xe3ae('0x8')](),controller[_0xe3ae('0xa')]);router[_0xe3ae('0x7')](_0xe3ae('0xb'),auth[_0xe3ae('0x8')](),controller[_0xe3ae('0xc')]);router[_0xe3ae('0x7')](_0xe3ae('0xd'),auth[_0xe3ae('0x8')](),controller[_0xe3ae('0xe')]);router['post']('/',auth[_0xe3ae('0x8')](),controller[_0xe3ae('0xf')]);router[_0xe3ae('0x10')](_0xe3ae('0xb'),auth[_0xe3ae('0x8')](),controller[_0xe3ae('0x11')]);router[_0xe3ae('0x12')]('/:id',auth[_0xe3ae('0x8')](),controller[_0xe3ae('0x13')]);router[_0xe3ae('0x14')](_0xe3ae('0x15'),auth[_0xe3ae('0x8')](),controller[_0xe3ae('0x16')]);module[_0xe3ae('0x17')]=router; \ No newline at end of file