Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / api / cmCompany / index.js
1 'use strict';const a149_0x341b=['4558948uwHcvn','index','update','get','80091ZPxVxa','isAuthenticated','343014mYrxyA','1veYvdG','show','post','73FZeznY','addContacts','2861xGoCEM','describe','Router','587987rVRwUj','11QwSgVk','destroy','exports','1434394dbatkg','/:id/contacts','delete','getContacts','/:id','/describe','9941wyCLOR','314igNhQS','@components/auth/service','express','./cmCompany.controller'];const a149_0x1e1c=function(_0x2443de,_0x4f9765){_0x2443de=_0x2443de-0x1ac;let _0x341b37=a149_0x341b[_0x2443de];return _0x341b37;};const a149_0x598c0e=a149_0x1e1c;(function(_0x492281,_0x10c3a7){const _0x14ef3f=a149_0x1e1c;while(!![]){try{const _0xb3fb19=parseInt(_0x14ef3f(0x1b5))*-parseInt(_0x14ef3f(0x1c7))+-parseInt(_0x14ef3f(0x1b8))+-parseInt(_0x14ef3f(0x1c9))+-parseInt(_0x14ef3f(0x1b4))*-parseInt(_0x14ef3f(0x1ac))+parseInt(_0x14ef3f(0x1af))*-parseInt(_0x14ef3f(0x1be))+-parseInt(_0x14ef3f(0x1b1))*parseInt(_0x14ef3f(0x1bf))+parseInt(_0x14ef3f(0x1c3));if(_0xb3fb19===_0x10c3a7)break;else _0x492281['push'](_0x492281['shift']());}catch(_0x4be145){_0x492281['push'](_0x492281['shift']());}}}(a149_0x341b,0xd30df));const express=require(a149_0x598c0e(0x1c1)),router=express[a149_0x598c0e(0x1b3)](),auth=require(a149_0x598c0e(0x1c0)),controller=require(a149_0x598c0e(0x1c2));router['get']('/',auth['isAuthenticated'](),controller[a149_0x598c0e(0x1c4)]),router[a149_0x598c0e(0x1c6)](a149_0x598c0e(0x1bd),auth[a149_0x598c0e(0x1c8)](),controller[a149_0x598c0e(0x1b2)]),router[a149_0x598c0e(0x1c6)](a149_0x598c0e(0x1bc),auth[a149_0x598c0e(0x1c8)](),controller[a149_0x598c0e(0x1ad)]),router['get']('/:id/contacts',auth[a149_0x598c0e(0x1c8)](),controller[a149_0x598c0e(0x1bb)]),router['post']('/',auth['isAuthenticated'](),controller['create']),router[a149_0x598c0e(0x1ae)](a149_0x598c0e(0x1b9),auth['isAuthenticated'](),controller[a149_0x598c0e(0x1b0)]),router['put'](a149_0x598c0e(0x1bc),auth[a149_0x598c0e(0x1c8)](),controller[a149_0x598c0e(0x1c5)]),router[a149_0x598c0e(0x1ba)](a149_0x598c0e(0x1bc),auth[a149_0x598c0e(0x1c8)](),controller[a149_0x598c0e(0x1b6)]),module[a149_0x598c0e(0x1b7)]=router;