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