Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / api / cmCompany / index.js
1 const a124_0x4f6f=['addContacts','./cmCompany.controller','create','/:id','destroy','describe','index','update','put','/:id/contacts','Router','/describe','show','isAuthenticated','post','get'];(function(_0x3756ef,_0x4f6fac){const _0x56d207=function(_0x596e0e){while(--_0x596e0e){_0x3756ef['push'](_0x3756ef['shift']());}};_0x56d207(++_0x4f6fac);}(a124_0x4f6f,0x1cb));const a124_0x56d2=function(_0x3756ef,_0x4f6fac){_0x3756ef=_0x3756ef-0x0;let _0x56d207=a124_0x4f6f[_0x3756ef];return _0x56d207;};const _0x51db80=a124_0x56d2;'use strict';const express=require('express'),router=express[_0x51db80('0xf')](),auth=require('../../components/auth/service'),controller=require(_0x51db80('0x6'));router['get']('/',auth[_0x51db80('0x2')](),controller[_0x51db80('0xb')]),router[_0x51db80('0x4')](_0x51db80('0x0'),auth[_0x51db80('0x2')](),controller[_0x51db80('0xa')]),router['get'](_0x51db80('0x8'),auth['isAuthenticated'](),controller[_0x51db80('0x1')]),router[_0x51db80('0x4')](_0x51db80('0xe'),auth[_0x51db80('0x2')](),controller['getContacts']),router['post']('/',auth[_0x51db80('0x2')](),controller[_0x51db80('0x7')]),router[_0x51db80('0x3')]('/:id/contacts',auth[_0x51db80('0x2')](),controller[_0x51db80('0x5')]),router[_0x51db80('0xd')]('/:id',auth[_0x51db80('0x2')](),controller[_0x51db80('0xc')]),router['delete'](_0x51db80('0x8'),auth[_0x51db80('0x2')](),controller[_0x51db80('0x9')]),module['exports']=router;