a1f58a3ae847c84e6938644c30b8f37d04fb9e75
[motion-next.git] / server / api / intVtigerAccount / index.js
1 const a318_0x501c=['../../components/auth/service','delete','express','getConfigurations','post','put','show','isAuthenticated','get','/:id','./intVtigerAccount.controller','destroy','/:id/fields','update','index','addConfiguration','/:id/configurations'];(function(_0x11d8ff,_0x501c91){const _0x1d08fe=function(_0x23ffd1){while(--_0x23ffd1){_0x11d8ff['push'](_0x11d8ff['shift']());}};_0x1d08fe(++_0x501c91);}(a318_0x501c,0x1a1));const a318_0x1d08=function(_0x11d8ff,_0x501c91){_0x11d8ff=_0x11d8ff-0x0;let _0x1d08fe=a318_0x501c[_0x11d8ff];return _0x1d08fe;};const _0x2b148f=a318_0x1d08;'use strict';const express=require(_0x2b148f('0xa')),router=express['Router'](),auth=require(_0x2b148f('0x8')),controller=require(_0x2b148f('0x1'));router['get']('/',auth['isAuthenticated'](),controller[_0x2b148f('0x5')]),router[_0x2b148f('0x10')](_0x2b148f('0x0'),auth[_0x2b148f('0xf')](),controller[_0x2b148f('0xe')]),router[_0x2b148f('0x10')](_0x2b148f('0x7'),auth[_0x2b148f('0xf')](),controller[_0x2b148f('0xb')]),router[_0x2b148f('0x10')](_0x2b148f('0x3'),auth[_0x2b148f('0xf')](),controller['getFields']),router[_0x2b148f('0xc')]('/',auth[_0x2b148f('0xf')](),controller['create']),router[_0x2b148f('0xc')]('/:id/configurations',auth[_0x2b148f('0xf')](),controller[_0x2b148f('0x6')]),router[_0x2b148f('0xd')](_0x2b148f('0x0'),auth['isAuthenticated'](),controller[_0x2b148f('0x4')]),router[_0x2b148f('0x9')]('/:id',auth[_0x2b148f('0xf')](),controller[_0x2b148f('0x2')]),module['exports']=router;