074f08c445ae6cc4018b72b5695940ffaeac972e
[motion-next.git] / server / api / cmCompany / index.js
1 const a124_0x1579=['put','exports','../../components/auth/service','./cmCompany.controller','index','destroy','isAuthenticated','express','/describe','get','create','update','delete','getContacts','describe','/:id/contacts','addContacts','Router','show','post'];(function(_0x3f1251,_0x1579e7){const _0x37af61=function(_0x38a2ee){while(--_0x38a2ee){_0x3f1251['push'](_0x3f1251['shift']());}};_0x37af61(++_0x1579e7);}(a124_0x1579,0x10e));const a124_0x37af=function(_0x3f1251,_0x1579e7){_0x3f1251=_0x3f1251-0x0;let _0x37af61=a124_0x1579[_0x3f1251];return _0x37af61;};const _0x2e48cb=a124_0x37af;'use strict';const express=require(_0x2e48cb('0x11')),router=express[_0x2e48cb('0x7')](),auth=require(_0x2e48cb('0xc')),controller=require(_0x2e48cb('0xd'));router[_0x2e48cb('0x13')]('/',auth['isAuthenticated'](),controller[_0x2e48cb('0xe')]),router[_0x2e48cb('0x13')](_0x2e48cb('0x12'),auth['isAuthenticated'](),controller[_0x2e48cb('0x4')]),router[_0x2e48cb('0x13')]('/:id',auth[_0x2e48cb('0x10')](),controller[_0x2e48cb('0x8')]),router[_0x2e48cb('0x13')](_0x2e48cb('0x5'),auth[_0x2e48cb('0x10')](),controller[_0x2e48cb('0x3')]),router[_0x2e48cb('0x9')]('/',auth[_0x2e48cb('0x10')](),controller[_0x2e48cb('0x0')]),router[_0x2e48cb('0x9')](_0x2e48cb('0x5'),auth['isAuthenticated'](),controller[_0x2e48cb('0x6')]),router[_0x2e48cb('0xa')]('/:id',auth[_0x2e48cb('0x10')](),controller[_0x2e48cb('0x1')]),router[_0x2e48cb('0x2')]('/:id',auth[_0x2e48cb('0x10')](),controller[_0x2e48cb('0xf')]),module[_0x2e48cb('0xb')]=router;