Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / api / campaign / index.js
1 const a45_0x42e2=['getLists','show','clone','/:id','isAuthenticated','destroy','addBlackLists','get','getHoppers','getHopperFinals','index','getHopperHistories','/:id/lists','/:id/hopper_black','create','/:id/hopper_finals','exports','removeLists','delete','../../components/auth/service','express','/:id/clone','./campaign.controller','post','/:id/hoppers','/:id/blacklists'];(function(_0x27113b,_0x42e294){const _0xe5f305=function(_0x11aa80){while(--_0x11aa80){_0x27113b['push'](_0x27113b['shift']());}};_0xe5f305(++_0x42e294);}(a45_0x42e2,0x8c));const a45_0xe5f3=function(_0x27113b,_0x42e294){_0x27113b=_0x27113b-0x0;let _0xe5f305=a45_0x42e2[_0x27113b];return _0xe5f305;};const _0x57763f=a45_0xe5f3;'use strict';const express=require(_0x57763f('0xa')),router=express['Router'](),auth=require(_0x57763f('0x9')),controller=require(_0x57763f('0xc'));router[_0x57763f('0x17')]('/',auth['isAuthenticated'](),controller[_0x57763f('0x0')]),router[_0x57763f('0x17')](_0x57763f('0x13'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x11')]),router[_0x57763f('0x17')](_0x57763f('0xe'),auth['isAuthenticated'](),controller[_0x57763f('0x18')]),router['get']('/:id/hopper_histories',auth[_0x57763f('0x14')](),controller[_0x57763f('0x1')]),router['get'](_0x57763f('0x5'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x19')]),router[_0x57763f('0x17')](_0x57763f('0x3'),auth['isAuthenticated'](),controller['getHopperBlacks']),router[_0x57763f('0x17')](_0x57763f('0x2'),auth['isAuthenticated'](),controller[_0x57763f('0x10')]),router[_0x57763f('0x17')](_0x57763f('0xf'),auth[_0x57763f('0x14')](),controller['getBlackLists']),router['post']('/',auth['isAuthenticated'](),controller[_0x57763f('0x4')]),router[_0x57763f('0xd')](_0x57763f('0xb'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x12')]),router['post'](_0x57763f('0x2'),auth['isAuthenticated'](),controller['addLists']),router[_0x57763f('0xd')](_0x57763f('0xf'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x16')]),router['put'](_0x57763f('0x13'),auth[_0x57763f('0x14')](),controller['update']),router['delete'](_0x57763f('0x13'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x15')]),router[_0x57763f('0x8')](_0x57763f('0x2'),auth[_0x57763f('0x14')](),controller[_0x57763f('0x7')]),router[_0x57763f('0x8')](_0x57763f('0xf'),auth[_0x57763f('0x14')](),controller['removeBlackLists']),module[_0x57763f('0x6')]=router;