Built motion from commit ded33658aad58fc8de845a8299a9db59a88cc353. Version 3.0.0...
[motion-next.git] / server / api / automation / index.js
1 const a40_0xcb75=['show','get','express','../../components/auth/service','/:id/actions','put','/:id/conditions','destroy','addConditions','./automation.controller','delete','post','update','/:id','index','isAuthenticated','getActions','getConditions'];(function(_0x44080f,_0xcb756d){const _0xc948bd=function(_0x2ed0b5){while(--_0x2ed0b5){_0x44080f['push'](_0x44080f['shift']());}};_0xc948bd(++_0xcb756d);}(a40_0xcb75,0xcd));const a40_0xc948=function(_0x44080f,_0xcb756d){_0x44080f=_0x44080f-0x0;let _0xc948bd=a40_0xcb75[_0x44080f];return _0xc948bd;};const _0x261379=a40_0xc948;'use strict';const express=require(_0x261379('0xd')),router=express['Router'](),auth=require(_0x261379('0xe')),controller=require(_0x261379('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0x261379('0x7')]),router[_0x261379('0xc')](_0x261379('0x6'),auth['isAuthenticated'](),controller[_0x261379('0xb')]),router['get'](_0x261379('0x11'),auth[_0x261379('0x8')](),controller[_0x261379('0xa')]),router['get'](_0x261379('0xf'),auth[_0x261379('0x8')](),controller[_0x261379('0x9')]),router[_0x261379('0x4')]('/',auth[_0x261379('0x8')](),controller['create']),router[_0x261379('0x4')](_0x261379('0x11'),auth[_0x261379('0x8')](),controller[_0x261379('0x1')]),router[_0x261379('0x4')]('/:id/actions',auth[_0x261379('0x8')](),controller['addActions']),router[_0x261379('0x10')]('/:id',auth[_0x261379('0x8')](),controller[_0x261379('0x5')]),router[_0x261379('0x3')](_0x261379('0x6'),auth[_0x261379('0x8')](),controller[_0x261379('0x0')]),module['exports']=router;