Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / api / intSugarcrmConfiguration / index.js
1 const a310_0x5186=['./intSugarcrmConfiguration.controller','getFields','../../components/auth/service','/:id/descriptions','destroy','/:id','create','express','get','/:id/subjects','show','/:id/fields','isAuthenticated','update','delete','getSubjects'];(function(_0x255238,_0x5186d8){const _0x14eda7=function(_0x17fbc2){while(--_0x17fbc2){_0x255238['push'](_0x255238['shift']());}};_0x14eda7(++_0x5186d8);}(a310_0x5186,0x177));const a310_0x14ed=function(_0x255238,_0x5186d8){_0x255238=_0x255238-0x0;let _0x14eda7=a310_0x5186[_0x255238];return _0x14eda7;};const _0x260050=a310_0x14ed;'use strict';const express=require(_0x260050('0x0')),router=express['Router'](),auth=require(_0x260050('0xb')),controller=require(_0x260050('0x9'));router[_0x260050('0x1')]('/',auth[_0x260050('0x5')](),controller['index']),router[_0x260050('0x1')](_0x260050('0xe'),auth[_0x260050('0x5')](),controller[_0x260050('0x3')]),router['get'](_0x260050('0x4'),auth[_0x260050('0x5')](),controller[_0x260050('0xa')]),router['get'](_0x260050('0x2'),auth[_0x260050('0x5')](),controller[_0x260050('0x8')]),router[_0x260050('0x1')](_0x260050('0xc'),auth[_0x260050('0x5')](),controller['getDescriptions']),router['post']('/',auth['isAuthenticated'](),controller[_0x260050('0xf')]),router['put'](_0x260050('0xe'),auth[_0x260050('0x5')](),controller[_0x260050('0x6')]),router[_0x260050('0x7')](_0x260050('0xe'),auth[_0x260050('0x5')](),controller[_0x260050('0xd')]),module['exports']=router;