96a2ea616441d3d6c9c8523f04705a46715e34dd
[motion-next.git] / server / api / intSugarcrmAccount / index.js
1 const a305_0x21e1=['/:id/configurations','../../components/auth/service','update','get','post','exports','./intSugarcrmAccount.controller','Router','express','isAuthenticated','delete','/:id','create','destroy','addConfiguration','put','show','getFields','getConfigurations'];(function(_0x583c1b,_0x21e1dc){const _0x599ec8=function(_0x41bfd0){while(--_0x41bfd0){_0x583c1b['push'](_0x583c1b['shift']());}};_0x599ec8(++_0x21e1dc);}(a305_0x21e1,0xdf));const a305_0x599e=function(_0x583c1b,_0x21e1dc){_0x583c1b=_0x583c1b-0x0;let _0x599ec8=a305_0x21e1[_0x583c1b];return _0x599ec8;};const _0x42507b=a305_0x599e;'use strict';const express=require(_0x42507b('0xd')),router=express[_0x42507b('0xc')](),auth=require(_0x42507b('0x6')),controller=require(_0x42507b('0xb'));router['get']('/',auth['isAuthenticated'](),controller['index']),router['get']('/:id',auth[_0x42507b('0xe')](),controller[_0x42507b('0x2')]),router['get'](_0x42507b('0x5'),auth['isAuthenticated'](),controller[_0x42507b('0x4')]),router[_0x42507b('0x8')]('/:id/fields',auth[_0x42507b('0xe')](),controller[_0x42507b('0x3')]),router[_0x42507b('0x9')]('/',auth['isAuthenticated'](),controller[_0x42507b('0x11')]),router['post']('/:id/configurations',auth[_0x42507b('0xe')](),controller[_0x42507b('0x0')]),router[_0x42507b('0x1')](_0x42507b('0x10'),auth[_0x42507b('0xe')](),controller[_0x42507b('0x7')]),router[_0x42507b('0xf')](_0x42507b('0x10'),auth[_0x42507b('0xe')](),controller[_0x42507b('0x12')]),module[_0x42507b('0xa')]=router;