Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / intServicenowAccount / index.js
index 9d9af82..a973dd6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x191b=['util','path','connect-timeout','express','Router','isAuthenticated','index','get','/:id','getConfigurations','/:id/fields','create','/:id/configurations','addConfiguration','put','exports'];(function(_0x2db9fc,_0x12ed7f){var _0x2b5a00=function(_0x57f392){while(--_0x57f392){_0x2db9fc['push'](_0x2db9fc['shift']());}};_0x2b5a00(++_0x12ed7f);}(_0x191b,0x100));var _0xb191=function(_0x867c76,_0x189595){_0x867c76=_0x867c76-0x0;var _0x2cf797=_0x191b[_0x867c76];return _0x2cf797;};'use strict';var multer=require('multer');var util=require(_0xb191('0x0'));var path=require(_0xb191('0x1'));var timeout=require(_0xb191('0x2'));var express=require(_0xb191('0x3'));var router=express[_0xb191('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intServicenowAccount.controller');router['get']('/',auth[_0xb191('0x5')](),controller[_0xb191('0x6')]);router[_0xb191('0x7')](_0xb191('0x8'),auth[_0xb191('0x5')](),controller['show']);router['get']('/:id/configurations',auth[_0xb191('0x5')](),controller[_0xb191('0x9')]);router['get'](_0xb191('0xa'),auth[_0xb191('0x5')](),controller['getFields']);router['post']('/',auth[_0xb191('0x5')](),controller[_0xb191('0xb')]);router['post'](_0xb191('0xc'),auth[_0xb191('0x5')](),controller[_0xb191('0xd')]);router[_0xb191('0xe')]('/:id',auth[_0xb191('0x5')](),controller['update']);router['delete'](_0xb191('0x8'),auth[_0xb191('0x5')](),controller['destroy']);module[_0xb191('0xf')]=router;
\ No newline at end of file
+var _0x2cbd=['../../components/interaction/service','get','isAuthenticated','index','getConfigurations','/:id/fields','post','create','/:id/configurations','addConfiguration','put','/:id','update','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x176a4d,_0xa2aa0){var _0x40923a=function(_0x2dd930){while(--_0x2dd930){_0x176a4d['push'](_0x176a4d['shift']());}};_0x40923a(++_0xa2aa0);}(_0x2cbd,0x19e));var _0xd2cb=function(_0x3f4cd0,_0x303070){_0x3f4cd0=_0x3f4cd0-0x0;var _0x3f9f01=_0x2cbd[_0x3f4cd0];return _0x3f9f01;};'use strict';var multer=require(_0xd2cb('0x0'));var util=require(_0xd2cb('0x1'));var path=require('path');var timeout=require(_0xd2cb('0x2'));var express=require(_0xd2cb('0x3'));var router=express[_0xd2cb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd2cb('0x5'));var interaction=require(_0xd2cb('0x6'));var config=require('../../config/environment');var controller=require('./intServicenowAccount.controller');router[_0xd2cb('0x7')]('/',auth[_0xd2cb('0x8')](),controller[_0xd2cb('0x9')]);router[_0xd2cb('0x7')]('/:id',auth[_0xd2cb('0x8')](),controller['show']);router[_0xd2cb('0x7')]('/:id/configurations',auth[_0xd2cb('0x8')](),controller[_0xd2cb('0xa')]);router['get'](_0xd2cb('0xb'),auth[_0xd2cb('0x8')](),controller['getFields']);router[_0xd2cb('0xc')]('/',auth[_0xd2cb('0x8')](),controller[_0xd2cb('0xd')]);router[_0xd2cb('0xc')](_0xd2cb('0xe'),auth['isAuthenticated'](),controller[_0xd2cb('0xf')]);router[_0xd2cb('0x10')](_0xd2cb('0x11'),auth[_0xd2cb('0x8')](),controller[_0xd2cb('0x12')]);router['delete'](_0xd2cb('0x11'),auth[_0xd2cb('0x8')](),controller[_0xd2cb('0x13')]);module['exports']=router;
\ No newline at end of file