c20fc6f2b6453375723613b49f1b5c76cd13a10f
[motion-next.git] / server / api / intFreshsalesConfiguration / index.js
1 const a271_0x52fb=['show','/:id/subjects','getDescriptions','getSubjects','express','delete','exports','index','./intFreshsalesConfiguration.controller','update','/:id/descriptions','post','isAuthenticated','/:id','Router','destroy','put','get'];(function(_0x1dd1eb,_0x52fbb8){const _0x31d903=function(_0x468a1e){while(--_0x468a1e){_0x1dd1eb['push'](_0x1dd1eb['shift']());}};_0x31d903(++_0x52fbb8);}(a271_0x52fb,0x127));const a271_0x31d9=function(_0x1dd1eb,_0x52fbb8){_0x1dd1eb=_0x1dd1eb-0x0;let _0x31d903=a271_0x52fb[_0x1dd1eb];return _0x31d903;};const _0x28c8d2=a271_0x31d9;'use strict';const express=require(_0x28c8d2('0xf')),router=express[_0x28c8d2('0x7')](),auth=require('../../components/auth/service'),controller=require(_0x28c8d2('0x1'));router[_0x28c8d2('0xa')]('/',auth[_0x28c8d2('0x5')](),controller[_0x28c8d2('0x0')]),router[_0x28c8d2('0xa')](_0x28c8d2('0x6'),auth['isAuthenticated'](),controller[_0x28c8d2('0xb')]),router[_0x28c8d2('0xa')](_0x28c8d2('0xc'),auth[_0x28c8d2('0x5')](),controller[_0x28c8d2('0xe')]),router[_0x28c8d2('0xa')](_0x28c8d2('0x3'),auth[_0x28c8d2('0x5')](),controller[_0x28c8d2('0xd')]),router['get']('/:id/fields',auth[_0x28c8d2('0x5')](),controller['getFields']),router[_0x28c8d2('0x4')]('/',auth['isAuthenticated'](),controller['create']),router[_0x28c8d2('0x9')](_0x28c8d2('0x6'),auth[_0x28c8d2('0x5')](),controller[_0x28c8d2('0x2')]),router[_0x28c8d2('0x10')](_0x28c8d2('0x6'),auth[_0x28c8d2('0x5')](),controller[_0x28c8d2('0x8')]),module[_0x28c8d2('0x11')]=router;