Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / intSugarcrmAccount / index.js
1 const a305_0x17bd=['addConfiguration','update','/:id','create','get','isAuthenticated','getFields','/:id/fields','exports','post','./intSugarcrmAccount.controller','/:id/configurations','destroy'];(function(_0x55a3f7,_0x17bd0e){const _0x1a93ed=function(_0x4ece26){while(--_0x4ece26){_0x55a3f7['push'](_0x55a3f7['shift']());}};_0x1a93ed(++_0x17bd0e);}(a305_0x17bd,0x11d));const a305_0x1a93=function(_0x55a3f7,_0x17bd0e){_0x55a3f7=_0x55a3f7-0x0;let _0x1a93ed=a305_0x17bd[_0x55a3f7];return _0x1a93ed;};const _0x542239=a305_0x1a93;'use strict';const express=require('express'),router=express['Router'](),auth=require('../../components/auth/service'),controller=require(_0x542239('0xb'));router['get']('/',auth['isAuthenticated'](),controller['index']),router[_0x542239('0x5')]('/:id',auth[_0x542239('0x6')](),controller['show']),router['get'](_0x542239('0xc'),auth[_0x542239('0x6')](),controller['getConfigurations']),router[_0x542239('0x5')](_0x542239('0x8'),auth['isAuthenticated'](),controller[_0x542239('0x7')]),router[_0x542239('0xa')]('/',auth[_0x542239('0x6')](),controller[_0x542239('0x4')]),router[_0x542239('0xa')](_0x542239('0xc'),auth['isAuthenticated'](),controller[_0x542239('0x1')]),router['put'](_0x542239('0x3'),auth[_0x542239('0x6')](),controller[_0x542239('0x2')]),router['delete'](_0x542239('0x3'),auth[_0x542239('0x6')](),controller[_0x542239('0x0')]),module[_0x542239('0x9')]=router;