ded3a45dadde20769bc2c565254a2261512de91b
[motion-next.git] / server / api / intDeskAccount / index.js
1 const a227_0x2068=['update','getConfigurations','/:id','put','Router','isAuthenticated','../../components/auth/service','express','get','post','/:id/fields','index','exports','addConfiguration','/:id/configurations','show','create'];(function(_0x539b6d,_0x20687d){const _0x42f3e9=function(_0x417903){while(--_0x417903){_0x539b6d['push'](_0x539b6d['shift']());}};_0x42f3e9(++_0x20687d);}(a227_0x2068,0x11c));const a227_0x42f3=function(_0x539b6d,_0x20687d){_0x539b6d=_0x539b6d-0x0;let _0x42f3e9=a227_0x2068[_0x539b6d];return _0x42f3e9;};const _0x1ac0d8=a227_0x42f3;'use strict';const express=require(_0x1ac0d8('0xc')),router=express[_0x1ac0d8('0x9')](),auth=require(_0x1ac0d8('0xb')),controller=require('./intDeskAccount.controller');router['get']('/',auth[_0x1ac0d8('0xa')](),controller[_0x1ac0d8('0x10')]),router[_0x1ac0d8('0xd')]('/:id',auth['isAuthenticated'](),controller[_0x1ac0d8('0x3')]),router[_0x1ac0d8('0xd')](_0x1ac0d8('0x2'),auth[_0x1ac0d8('0xa')](),controller[_0x1ac0d8('0x6')]),router['get'](_0x1ac0d8('0xf'),auth[_0x1ac0d8('0xa')](),controller['getFields']),router[_0x1ac0d8('0xe')]('/',auth[_0x1ac0d8('0xa')](),controller[_0x1ac0d8('0x4')]),router['post']('/:id/configurations',auth[_0x1ac0d8('0xa')](),controller[_0x1ac0d8('0x1')]),router[_0x1ac0d8('0x8')](_0x1ac0d8('0x7'),auth[_0x1ac0d8('0xa')](),controller[_0x1ac0d8('0x5')]),router['delete']('/:id',auth[_0x1ac0d8('0xa')](),controller['destroy']),module[_0x1ac0d8('0x0')]=router;