Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / api / intFreshsalesAccount / index.js
1 const a318_0x19b9=['index','get','show','Router','express','create','isAuthenticated','put','/:id/configurations','getFields','destroy','getConfigurations','/:id','exports','post'];(function(_0x1f7947,_0x46718c){const _0x19b924=function(_0x32d0fa){while(--_0x32d0fa){_0x1f7947['push'](_0x1f7947['shift']());}};_0x19b924(++_0x46718c);}(a318_0x19b9,0x103));const a318_0x32d0=function(_0x1f7947,_0x46718c){_0x1f7947=_0x1f7947-0x1bd;let _0x19b924=a318_0x19b9[_0x1f7947];return _0x19b924;};const a318_0x2e3f56=a318_0x32d0;'use strict';const express=require(a318_0x2e3f56(0x1bd)),router=express[a318_0x2e3f56(0x1cb)](),auth=require('../../components/auth/service'),controller=require('./intFreshsalesAccount.controller');router[a318_0x2e3f56(0x1c9)]('/',auth[a318_0x2e3f56(0x1bf)](),controller[a318_0x2e3f56(0x1c8)]),router['get'](a318_0x2e3f56(0x1c5),auth[a318_0x2e3f56(0x1bf)](),controller[a318_0x2e3f56(0x1ca)]),router[a318_0x2e3f56(0x1c9)]('/:id/configurations',auth[a318_0x2e3f56(0x1bf)](),controller[a318_0x2e3f56(0x1c4)]),router[a318_0x2e3f56(0x1c9)]('/:id/fields',auth['isAuthenticated'](),controller[a318_0x2e3f56(0x1c2)]),router[a318_0x2e3f56(0x1c7)]('/',auth[a318_0x2e3f56(0x1bf)](),controller[a318_0x2e3f56(0x1be)]),router[a318_0x2e3f56(0x1c7)](a318_0x2e3f56(0x1c1),auth['isAuthenticated'](),controller['addConfiguration']),router[a318_0x2e3f56(0x1c0)](a318_0x2e3f56(0x1c5),auth[a318_0x2e3f56(0x1bf)](),controller['update']),router['delete']('/:id',auth[a318_0x2e3f56(0x1bf)](),controller[a318_0x2e3f56(0x1c3)]),module[a318_0x2e3f56(0x1c6)]=router;