Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / api / intZohoConfiguration / index.js
1 const a349_0x4ca8=['./intZohoConfiguration.controller','getSubjects','show','get','post','create','getFields','/:id/fields','exports','/:id/descriptions','destroy','/:id','update','index','put','isAuthenticated','Router'];(function(_0x5330f1,_0x4ca8bc){const _0x47f558=function(_0x48339c){while(--_0x48339c){_0x5330f1['push'](_0x5330f1['shift']());}};_0x47f558(++_0x4ca8bc);}(a349_0x4ca8,0xa1));const a349_0x47f5=function(_0x5330f1,_0x4ca8bc){_0x5330f1=_0x5330f1-0x0;let _0x47f558=a349_0x4ca8[_0x5330f1];return _0x47f558;};const _0x295515=a349_0x47f5;'use strict';const express=require('express'),router=express[_0x295515('0x8')](),auth=require('../../components/auth/service'),controller=require(_0x295515('0x9'));router['get']('/',auth[_0x295515('0x7')](),controller[_0x295515('0x5')]),router[_0x295515('0xc')](_0x295515('0x3'),auth[_0x295515('0x7')](),controller[_0x295515('0xb')]),router[_0x295515('0xc')](_0x295515('0x10'),auth['isAuthenticated'](),controller[_0x295515('0xf')]),router['get']('/:id/subjects',auth['isAuthenticated'](),controller[_0x295515('0xa')]),router[_0x295515('0xc')](_0x295515('0x1'),auth['isAuthenticated'](),controller['getDescriptions']),router[_0x295515('0xd')]('/',auth[_0x295515('0x7')](),controller[_0x295515('0xe')]),router[_0x295515('0x6')](_0x295515('0x3'),auth[_0x295515('0x7')](),controller[_0x295515('0x4')]),router['delete'](_0x295515('0x3'),auth['isAuthenticated'](),controller[_0x295515('0x2')]),module[_0x295515('0x0')]=router;