Built motion from commit 8dca541896b0ff92bb88a36cc13f4f385b593b4b. Version 3.0.0...
[motion-next.git] / server / api / intSugarcrmAccount / index.js
1 const a305_0xfc22=['../../components/auth/service','update','show','delete','getFields','post','/:id','get','/:id/fields','express','isAuthenticated','exports','addConfiguration','Router','create'];(function(_0x2a7e58,_0xfc2226){const _0x1f65cb=function(_0x2ebfc5){while(--_0x2ebfc5){_0x2a7e58['push'](_0x2a7e58['shift']());}};_0x1f65cb(++_0xfc2226);}(a305_0xfc22,0x1b4));const a305_0x1f65=function(_0x2a7e58,_0xfc2226){_0x2a7e58=_0x2a7e58-0x0;let _0x1f65cb=a305_0xfc22[_0x2a7e58];return _0x1f65cb;};const _0x5485a4=a305_0x1f65;'use strict';const express=require(_0x5485a4('0x8')),router=express[_0x5485a4('0xc')](),auth=require(_0x5485a4('0xe')),controller=require('./intSugarcrmAccount.controller');router['get']('/',auth['isAuthenticated'](),controller['index']),router[_0x5485a4('0x6')](_0x5485a4('0x5'),auth[_0x5485a4('0x9')](),controller[_0x5485a4('0x1')]),router[_0x5485a4('0x6')]('/:id/configurations',auth[_0x5485a4('0x9')](),controller['getConfigurations']),router[_0x5485a4('0x6')](_0x5485a4('0x7'),auth['isAuthenticated'](),controller[_0x5485a4('0x3')]),router[_0x5485a4('0x4')]('/',auth[_0x5485a4('0x9')](),controller[_0x5485a4('0xd')]),router['post']('/:id/configurations',auth[_0x5485a4('0x9')](),controller[_0x5485a4('0xb')]),router['put'](_0x5485a4('0x5'),auth[_0x5485a4('0x9')](),controller[_0x5485a4('0x0')]),router[_0x5485a4('0x2')](_0x5485a4('0x5'),auth['isAuthenticated'](),controller['destroy']),module[_0x5485a4('0xa')]=router;