Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / api / cdr / index.js
1 const a53_0x43f1=['post','/:id','get','isAuthenticated','describe','show','../../components/auth/service','/describe','destroy','update'];(function(_0x2721ec,_0x43f1c5){const _0x108e06=function(_0x505915){while(--_0x505915){_0x2721ec['push'](_0x2721ec['shift']());}};_0x108e06(++_0x43f1c5);}(a53_0x43f1,0xb6));const a53_0x108e=function(_0x2721ec,_0x43f1c5){_0x2721ec=_0x2721ec-0x0;let _0x108e06=a53_0x43f1[_0x2721ec];return _0x108e06;};const _0x5349c7=a53_0x108e;'use strict';const express=require('express'),router=express['Router'](),auth=require(_0x5349c7('0x4')),controller=require('./cdr.controller');router[_0x5349c7('0x0')]('/',auth[_0x5349c7('0x1')](),controller['index']),router[_0x5349c7('0x0')](_0x5349c7('0x5'),auth['isAuthenticated'](),controller[_0x5349c7('0x2')]),router[_0x5349c7('0x0')](_0x5349c7('0x9'),auth['isAuthenticated'](),controller[_0x5349c7('0x3')]),router[_0x5349c7('0x8')]('/',auth[_0x5349c7('0x1')](),controller['create']),router['put'](_0x5349c7('0x9'),auth[_0x5349c7('0x1')](),controller[_0x5349c7('0x7')]),router['delete'](_0x5349c7('0x9'),auth[_0x5349c7('0x1')](),controller[_0x5349c7('0x6')]),module['exports']=router;