836f1a3d82d34438fd7be110dfe59eb8c49cb57f
[motion-next.git] / server / api / campaign / index.js
1 const a45_0x17a6=['get','./campaign.controller','/:id/lists','clone','show','/:id/hopper_finals','isAuthenticated','getLists','delete','removeBlackLists','destroy','addBlackLists','/:id/hopper_black','/:id','../../components/auth/service','/:id/clone','getBlackLists','getHopperHistories','/:id/blacklists','post','index','addLists','getHoppers','/:id/hopper_histories','express','exports','put','update','getHopperFinals','getHopperBlacks'];(function(_0x1c2778,_0x17a652){const _0x4f1a82=function(_0x10ac52){while(--_0x10ac52){_0x1c2778['push'](_0x1c2778['shift']());}};_0x4f1a82(++_0x17a652);}(a45_0x17a6,0x83));const a45_0x4f1a=function(_0x1c2778,_0x17a652){_0x1c2778=_0x1c2778-0x0;let _0x4f1a82=a45_0x17a6[_0x1c2778];return _0x4f1a82;};const _0x479362=a45_0x4f1a;'use strict';const express=require(_0x479362('0xd')),router=express['Router'](),auth=require(_0x479362('0x3')),controller=require(_0x479362('0x14'));router['get']('/',auth['isAuthenticated'](),controller[_0x479362('0x9')]),router[_0x479362('0x13')]('/:id',auth[_0x479362('0x19')](),controller[_0x479362('0x17')]),router[_0x479362('0x13')]('/:id/hoppers',auth[_0x479362('0x19')](),controller[_0x479362('0xb')]),router[_0x479362('0x13')](_0x479362('0xc'),auth['isAuthenticated'](),controller[_0x479362('0x6')]),router[_0x479362('0x13')](_0x479362('0x18'),auth[_0x479362('0x19')](),controller[_0x479362('0x11')]),router['get'](_0x479362('0x1'),auth[_0x479362('0x19')](),controller[_0x479362('0x12')]),router['get'](_0x479362('0x15'),auth[_0x479362('0x19')](),controller[_0x479362('0x1a')]),router['get']('/:id/blacklists',auth['isAuthenticated'](),controller[_0x479362('0x5')]),router['post']('/',auth[_0x479362('0x19')](),controller['create']),router['post'](_0x479362('0x4'),auth[_0x479362('0x19')](),controller[_0x479362('0x16')]),router['post'](_0x479362('0x15'),auth[_0x479362('0x19')](),controller[_0x479362('0xa')]),router[_0x479362('0x8')](_0x479362('0x7'),auth[_0x479362('0x19')](),controller[_0x479362('0x0')]),router[_0x479362('0xf')](_0x479362('0x2'),auth[_0x479362('0x19')](),controller[_0x479362('0x10')]),router[_0x479362('0x1b')](_0x479362('0x2'),auth[_0x479362('0x19')](),controller[_0x479362('0x1d')]),router[_0x479362('0x1b')](_0x479362('0x15'),auth['isAuthenticated'](),controller['removeLists']),router[_0x479362('0x1b')](_0x479362('0x7'),auth[_0x479362('0x19')](),controller[_0x479362('0x1c')]),module[_0x479362('0xe')]=router;