Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / intServicenowAccount / index.js
index 5e63bcd..a973dd6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf12f=['create','addConfiguration','update','delete','util','path','connect-timeout','fs-extra','../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post'];(function(_0x5c403,_0x1fbbf9){var _0x57696a=function(_0x242b77){while(--_0x242b77){_0x5c403['push'](_0x5c403['shift']());}};_0x57696a(++_0x1fbbf9);}(_0xf12f,0x9c));var _0xff12=function(_0x12786e,_0x121447){_0x12786e=_0x12786e-0x0;var _0xb65e70=_0xf12f[_0x12786e];return _0xb65e70;};'use strict';var multer=require('multer');var util=require(_0xff12('0x0'));var path=require(_0xff12('0x1'));var timeout=require(_0xff12('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xff12('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xff12('0x4'));var controller=require(_0xff12('0x5'));router[_0xff12('0x6')]('/',auth[_0xff12('0x7')](),controller[_0xff12('0x8')]);router[_0xff12('0x6')](_0xff12('0x9'),auth[_0xff12('0x7')](),controller['show']);router['get'](_0xff12('0xa'),auth['isAuthenticated'](),controller[_0xff12('0xb')]);router[_0xff12('0x6')](_0xff12('0xc'),auth['isAuthenticated'](),controller[_0xff12('0xd')]);router[_0xff12('0xe')]('/',auth[_0xff12('0x7')](),controller[_0xff12('0xf')]);router['post'](_0xff12('0xa'),auth[_0xff12('0x7')](),controller[_0xff12('0x10')]);router['put'](_0xff12('0x9'),auth['isAuthenticated'](),controller[_0xff12('0x11')]);router[_0xff12('0x12')](_0xff12('0x9'),auth[_0xff12('0x7')](),controller['destroy']);module['exports']=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